@vitessce/feature-list 3.3.12 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +143 -117
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1303,7 +1303,8 @@ const ViewType = {
|
|
|
1303
1303
|
OBS_SETS: "obsSets",
|
|
1304
1304
|
OBS_SET_SIZES: "obsSetSizes",
|
|
1305
1305
|
OBS_SET_FEATURE_VALUE_DISTRIBUTION: "obsSetFeatureValueDistribution",
|
|
1306
|
-
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram"
|
|
1306
|
+
FEATURE_VALUE_HISTOGRAM: "featureValueHistogram",
|
|
1307
|
+
FEATURE_BAR_PLOT: "featureBarPlot"
|
|
1307
1308
|
};
|
|
1308
1309
|
const CoordinationType = {
|
|
1309
1310
|
META_COORDINATION_SCOPES: "metaCoordinationScopes",
|
|
@@ -1790,6 +1791,21 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
1790
1791
|
CoordinationType.FEATURE_FILTER,
|
|
1791
1792
|
CoordinationType.FEATURE_HIGHLIGHT,
|
|
1792
1793
|
CoordinationType.FEATURE_SELECTION
|
|
1794
|
+
],
|
|
1795
|
+
[ViewType.FEATURE_BAR_PLOT]: [
|
|
1796
|
+
CoordinationType.DATASET,
|
|
1797
|
+
CoordinationType.OBS_TYPE,
|
|
1798
|
+
CoordinationType.FEATURE_TYPE,
|
|
1799
|
+
CoordinationType.FEATURE_VALUE_TYPE,
|
|
1800
|
+
CoordinationType.FEATURE_SELECTION,
|
|
1801
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM,
|
|
1802
|
+
CoordinationType.FEATURE_VALUE_TRANSFORM_COEFFICIENT,
|
|
1803
|
+
CoordinationType.OBS_SET_SELECTION,
|
|
1804
|
+
CoordinationType.OBS_SET_HIGHLIGHT,
|
|
1805
|
+
CoordinationType.OBS_HIGHLIGHT,
|
|
1806
|
+
CoordinationType.OBS_SET_COLOR,
|
|
1807
|
+
CoordinationType.OBS_COLOR_ENCODING,
|
|
1808
|
+
CoordinationType.ADDITIONAL_OBS_SETS
|
|
1793
1809
|
]
|
|
1794
1810
|
};
|
|
1795
1811
|
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
@@ -3186,16 +3202,16 @@ function _extends$2() {
|
|
|
3186
3202
|
};
|
|
3187
3203
|
return _extends$2.apply(this, arguments);
|
|
3188
3204
|
}
|
|
3189
|
-
function _typeof$
|
|
3205
|
+
function _typeof$2(obj) {
|
|
3190
3206
|
"@babel/helpers - typeof";
|
|
3191
|
-
return _typeof$
|
|
3207
|
+
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
3192
3208
|
return typeof obj2;
|
|
3193
3209
|
} : function(obj2) {
|
|
3194
3210
|
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
3195
|
-
}, _typeof$
|
|
3211
|
+
}, _typeof$2(obj);
|
|
3196
3212
|
}
|
|
3197
3213
|
function isPlainObject(item) {
|
|
3198
|
-
return item && _typeof$
|
|
3214
|
+
return item && _typeof$2(item) === "object" && item.constructor === Object;
|
|
3199
3215
|
}
|
|
3200
3216
|
function deepmerge(target, source) {
|
|
3201
3217
|
var options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
@@ -3969,12 +3985,12 @@ function elementTypeAcceptingRef(props, propName, componentName, location, propF
|
|
|
3969
3985
|
}
|
|
3970
3986
|
const elementTypeAcceptingRef$1 = chainPropTypes(propTypesExports.elementType, elementTypeAcceptingRef);
|
|
3971
3987
|
function _toPrimitive(input, hint) {
|
|
3972
|
-
if (_typeof$
|
|
3988
|
+
if (_typeof$2(input) !== "object" || input === null)
|
|
3973
3989
|
return input;
|
|
3974
3990
|
var prim = input[Symbol.toPrimitive];
|
|
3975
3991
|
if (prim !== void 0) {
|
|
3976
3992
|
var res = prim.call(input, hint || "default");
|
|
3977
|
-
if (_typeof$
|
|
3993
|
+
if (_typeof$2(res) !== "object")
|
|
3978
3994
|
return res;
|
|
3979
3995
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
3980
3996
|
}
|
|
@@ -3982,7 +3998,7 @@ function _toPrimitive(input, hint) {
|
|
|
3982
3998
|
}
|
|
3983
3999
|
function _toPropertyKey(arg) {
|
|
3984
4000
|
var key = _toPrimitive(arg, "string");
|
|
3985
|
-
return _typeof$
|
|
4001
|
+
return _typeof$2(key) === "symbol" ? key : String(key);
|
|
3986
4002
|
}
|
|
3987
4003
|
function _defineProperty$1(obj, key, value) {
|
|
3988
4004
|
key = _toPropertyKey(key);
|
|
@@ -4231,7 +4247,7 @@ function getDisplayName(Component) {
|
|
|
4231
4247
|
if (typeof Component === "function") {
|
|
4232
4248
|
return getFunctionComponentName(Component, "Component");
|
|
4233
4249
|
}
|
|
4234
|
-
if (_typeof$
|
|
4250
|
+
if (_typeof$2(Component) === "object") {
|
|
4235
4251
|
switch (Component.$$typeof) {
|
|
4236
4252
|
case reactIsExports.ForwardRef:
|
|
4237
4253
|
return getWrappedName(Component, Component.render, "ForwardRef");
|
|
@@ -4398,7 +4414,7 @@ function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
|
4398
4414
|
}
|
|
4399
4415
|
return target;
|
|
4400
4416
|
}
|
|
4401
|
-
function _objectWithoutProperties(source, excluded) {
|
|
4417
|
+
function _objectWithoutProperties$1(source, excluded) {
|
|
4402
4418
|
if (source == null)
|
|
4403
4419
|
return {};
|
|
4404
4420
|
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
@@ -4438,7 +4454,7 @@ function createBreakpoints(breakpoints) {
|
|
|
4438
4454
|
md: 960,
|
|
4439
4455
|
lg: 1280,
|
|
4440
4456
|
xl: 1920
|
|
4441
|
-
} : _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(breakpoints, ["values", "unit", "step"]);
|
|
4457
|
+
} : _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$1(breakpoints, ["values", "unit", "step"]);
|
|
4442
4458
|
function up(key) {
|
|
4443
4459
|
var value = typeof values2[key] === "number" ? values2[key] : key;
|
|
4444
4460
|
return "@media (min-width:".concat(value).concat(unit, ")");
|
|
@@ -4610,7 +4626,7 @@ function createPalette(palette) {
|
|
|
4610
4626
|
light: green$1[300],
|
|
4611
4627
|
main: green$1[500],
|
|
4612
4628
|
dark: green$1[700]
|
|
4613
|
-
} : _palette$success, _palette$type = palette.type, type = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties(palette, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]);
|
|
4629
|
+
} : _palette$success, _palette$type = palette.type, type = _palette$type === void 0 ? "light" : _palette$type, _palette$contrastThre = palette.contrastThreshold, contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre, _palette$tonalOffset = palette.tonalOffset, tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset, other = _objectWithoutProperties$1(palette, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]);
|
|
4614
4630
|
function getContrastText(background) {
|
|
4615
4631
|
var contrastText = getContrastRatio(background, dark.text.primary) >= contrastThreshold ? dark.text.primary : light.text.primary;
|
|
4616
4632
|
{
|
|
@@ -4702,7 +4718,7 @@ var caseAllCaps = {
|
|
|
4702
4718
|
};
|
|
4703
4719
|
var defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
4704
4720
|
function createTypography(palette, typography) {
|
|
4705
|
-
var _ref = typeof typography === "function" ? typography(palette) : typography, _ref$fontFamily = _ref.fontFamily, fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref.fontSize, fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize, _ref$fontWeightLight = _ref.fontWeightLight, fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight, _ref$fontWeightRegula = _ref.fontWeightRegular, fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula, _ref$fontWeightMedium = _ref.fontWeightMedium, fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium, _ref$fontWeightBold = _ref.fontWeightBold, fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold, _ref$htmlFontSize = _ref.htmlFontSize, htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize, allVariants = _ref.allVariants, pxToRem2 = _ref.pxToRem, other = _objectWithoutProperties(_ref, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
|
|
4721
|
+
var _ref = typeof typography === "function" ? typography(palette) : typography, _ref$fontFamily = _ref.fontFamily, fontFamily = _ref$fontFamily === void 0 ? defaultFontFamily : _ref$fontFamily, _ref$fontSize = _ref.fontSize, fontSize = _ref$fontSize === void 0 ? 14 : _ref$fontSize, _ref$fontWeightLight = _ref.fontWeightLight, fontWeightLight = _ref$fontWeightLight === void 0 ? 300 : _ref$fontWeightLight, _ref$fontWeightRegula = _ref.fontWeightRegular, fontWeightRegular = _ref$fontWeightRegula === void 0 ? 400 : _ref$fontWeightRegula, _ref$fontWeightMedium = _ref.fontWeightMedium, fontWeightMedium = _ref$fontWeightMedium === void 0 ? 500 : _ref$fontWeightMedium, _ref$fontWeightBold = _ref.fontWeightBold, fontWeightBold = _ref$fontWeightBold === void 0 ? 700 : _ref$fontWeightBold, _ref$htmlFontSize = _ref.htmlFontSize, htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize, allVariants = _ref.allVariants, pxToRem2 = _ref.pxToRem, other = _objectWithoutProperties$1(_ref, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
|
|
4706
4722
|
{
|
|
4707
4723
|
if (typeof fontSize !== "number") {
|
|
4708
4724
|
console.error("Material-UI: `fontSize` is required to be a number.");
|
|
@@ -4774,9 +4790,8 @@ const responsivePropType$1 = responsivePropType;
|
|
|
4774
4790
|
function _arrayLikeToArray$1(arr, len) {
|
|
4775
4791
|
if (len == null || len > arr.length)
|
|
4776
4792
|
len = arr.length;
|
|
4777
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
4793
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
4778
4794
|
arr2[i] = arr[i];
|
|
4779
|
-
}
|
|
4780
4795
|
return arr2;
|
|
4781
4796
|
}
|
|
4782
4797
|
function _arrayWithoutHoles$1(arr) {
|
|
@@ -4806,52 +4821,6 @@ function _nonIterableSpread$1() {
|
|
|
4806
4821
|
function _toConsumableArray$1(arr) {
|
|
4807
4822
|
return _arrayWithoutHoles$1(arr) || _iterableToArray$1(arr) || _unsupportedIterableToArray$1(arr) || _nonIterableSpread$1();
|
|
4808
4823
|
}
|
|
4809
|
-
function _typeof$2(obj) {
|
|
4810
|
-
"@babel/helpers - typeof";
|
|
4811
|
-
return _typeof$2 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(obj2) {
|
|
4812
|
-
return typeof obj2;
|
|
4813
|
-
} : function(obj2) {
|
|
4814
|
-
return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
|
|
4815
|
-
}, _typeof$2(obj);
|
|
4816
|
-
}
|
|
4817
|
-
function _arrayWithHoles(arr) {
|
|
4818
|
-
if (Array.isArray(arr))
|
|
4819
|
-
return arr;
|
|
4820
|
-
}
|
|
4821
|
-
function _iterableToArrayLimit(arr, i) {
|
|
4822
|
-
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
4823
|
-
if (_i == null)
|
|
4824
|
-
return;
|
|
4825
|
-
var _arr = [];
|
|
4826
|
-
var _n = true;
|
|
4827
|
-
var _d = false;
|
|
4828
|
-
var _s, _e;
|
|
4829
|
-
try {
|
|
4830
|
-
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
4831
|
-
_arr.push(_s.value);
|
|
4832
|
-
if (i && _arr.length === i)
|
|
4833
|
-
break;
|
|
4834
|
-
}
|
|
4835
|
-
} catch (err) {
|
|
4836
|
-
_d = true;
|
|
4837
|
-
_e = err;
|
|
4838
|
-
} finally {
|
|
4839
|
-
try {
|
|
4840
|
-
if (!_n && _i["return"] != null)
|
|
4841
|
-
_i["return"]();
|
|
4842
|
-
} finally {
|
|
4843
|
-
if (_d)
|
|
4844
|
-
throw _e;
|
|
4845
|
-
}
|
|
4846
|
-
}
|
|
4847
|
-
return _arr;
|
|
4848
|
-
}
|
|
4849
|
-
function _nonIterableRest() {
|
|
4850
|
-
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
4851
|
-
}
|
|
4852
|
-
function _slicedToArray(arr, i) {
|
|
4853
|
-
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray$1(arr, i) || _nonIterableRest();
|
|
4854
|
-
}
|
|
4855
4824
|
var spacingKeys = ["m", "mt", "mr", "mb", "ml", "mx", "my", "p", "pt", "pr", "pb", "pl", "px", "py", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY"];
|
|
4856
4825
|
function createUnarySpacing(theme) {
|
|
4857
4826
|
var themeSpacing = theme.spacing || 8;
|
|
@@ -4968,7 +4937,7 @@ const transitions = {
|
|
|
4968
4937
|
create: function create() {
|
|
4969
4938
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ["all"];
|
|
4970
4939
|
var options = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
4971
|
-
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(options, ["duration", "easing", "delay"]);
|
|
4940
|
+
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$1(options, ["duration", "easing", "delay"]);
|
|
4972
4941
|
{
|
|
4973
4942
|
var isString = function isString2(value) {
|
|
4974
4943
|
return typeof value === "string";
|
|
@@ -5016,7 +4985,7 @@ var zIndex = {
|
|
|
5016
4985
|
const zIndex$1 = zIndex;
|
|
5017
4986
|
function createTheme() {
|
|
5018
4987
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5019
|
-
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(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
|
|
4988
|
+
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$1(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
|
|
5020
4989
|
var palette = createPalette(paletteInput);
|
|
5021
4990
|
var breakpoints = createBreakpoints(breakpointsInput);
|
|
5022
4991
|
var spacing = createSpacing(spacingInput);
|
|
@@ -7145,40 +7114,6 @@ function defaultUnit(options) {
|
|
|
7145
7114
|
onChangeValue: onChangeValue2
|
|
7146
7115
|
};
|
|
7147
7116
|
}
|
|
7148
|
-
function _arrayLikeToArray(arr, len) {
|
|
7149
|
-
if (len == null || len > arr.length)
|
|
7150
|
-
len = arr.length;
|
|
7151
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
7152
|
-
arr2[i] = arr[i];
|
|
7153
|
-
return arr2;
|
|
7154
|
-
}
|
|
7155
|
-
function _arrayWithoutHoles(arr) {
|
|
7156
|
-
if (Array.isArray(arr))
|
|
7157
|
-
return _arrayLikeToArray(arr);
|
|
7158
|
-
}
|
|
7159
|
-
function _iterableToArray(iter) {
|
|
7160
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
7161
|
-
return Array.from(iter);
|
|
7162
|
-
}
|
|
7163
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
7164
|
-
if (!o)
|
|
7165
|
-
return;
|
|
7166
|
-
if (typeof o === "string")
|
|
7167
|
-
return _arrayLikeToArray(o, minLen);
|
|
7168
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
7169
|
-
if (n === "Object" && o.constructor)
|
|
7170
|
-
n = o.constructor.name;
|
|
7171
|
-
if (n === "Map" || n === "Set")
|
|
7172
|
-
return Array.from(o);
|
|
7173
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
7174
|
-
return _arrayLikeToArray(o, minLen);
|
|
7175
|
-
}
|
|
7176
|
-
function _nonIterableSpread() {
|
|
7177
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
7178
|
-
}
|
|
7179
|
-
function _toConsumableArray(arr) {
|
|
7180
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
7181
|
-
}
|
|
7182
7117
|
var js = "";
|
|
7183
7118
|
var css = "";
|
|
7184
7119
|
var vendor = "";
|
|
@@ -7449,7 +7384,7 @@ var propertyDetectors = plugins.filter(function(p) {
|
|
|
7449
7384
|
var noPrefill = plugins.filter(function(p) {
|
|
7450
7385
|
return p.noPrefill;
|
|
7451
7386
|
}).reduce(function(a, p) {
|
|
7452
|
-
a.push.apply(a, _toConsumableArray(p.noPrefill));
|
|
7387
|
+
a.push.apply(a, _toConsumableArray$1(p.noPrefill));
|
|
7453
7388
|
return a;
|
|
7454
7389
|
}, []);
|
|
7455
7390
|
var el;
|
|
@@ -7625,13 +7560,31 @@ function jssPreset() {
|
|
|
7625
7560
|
]
|
|
7626
7561
|
};
|
|
7627
7562
|
}
|
|
7563
|
+
function _objectWithoutProperties(source, excluded) {
|
|
7564
|
+
if (source == null)
|
|
7565
|
+
return {};
|
|
7566
|
+
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
7567
|
+
var key, i;
|
|
7568
|
+
if (Object.getOwnPropertySymbols) {
|
|
7569
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
7570
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
7571
|
+
key = sourceSymbolKeys[i];
|
|
7572
|
+
if (excluded.indexOf(key) >= 0)
|
|
7573
|
+
continue;
|
|
7574
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key))
|
|
7575
|
+
continue;
|
|
7576
|
+
target[key] = source[key];
|
|
7577
|
+
}
|
|
7578
|
+
}
|
|
7579
|
+
return target;
|
|
7580
|
+
}
|
|
7628
7581
|
function mergeClasses() {
|
|
7629
7582
|
var options = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
7630
7583
|
var baseClasses = options.baseClasses, newClasses = options.newClasses, Component = options.Component;
|
|
7631
7584
|
if (!newClasses) {
|
|
7632
7585
|
return baseClasses;
|
|
7633
7586
|
}
|
|
7634
|
-
var nextClasses = _extends$
|
|
7587
|
+
var nextClasses = _extends$2({}, baseClasses);
|
|
7635
7588
|
{
|
|
7636
7589
|
if (typeof newClasses === "string") {
|
|
7637
7590
|
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"));
|
|
@@ -7703,7 +7656,7 @@ var injectFirstNode;
|
|
|
7703
7656
|
function StylesProvider(props) {
|
|
7704
7657
|
var children = 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(props, ["children", "injectFirst", "disableGeneration"]);
|
|
7705
7658
|
var outerOptions = React__default.useContext(StylesContext);
|
|
7706
|
-
var context = _extends$
|
|
7659
|
+
var context = _extends$2({}, outerOptions, {
|
|
7707
7660
|
disableGeneration
|
|
7708
7661
|
}, localOptions);
|
|
7709
7662
|
{
|
|
@@ -7829,7 +7782,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
|
7829
7782
|
return styles8;
|
|
7830
7783
|
}
|
|
7831
7784
|
var overrides = theme.overrides[name];
|
|
7832
|
-
var stylesWithOverrides = _extends$
|
|
7785
|
+
var stylesWithOverrides = _extends$2({}, styles8);
|
|
7833
7786
|
Object.keys(overrides).forEach(function(key) {
|
|
7834
7787
|
{
|
|
7835
7788
|
if (!stylesWithOverrides[key]) {
|
|
@@ -7890,7 +7843,7 @@ function attach(_ref2, props) {
|
|
|
7890
7843
|
};
|
|
7891
7844
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
|
7892
7845
|
}
|
|
7893
|
-
var options = _extends$
|
|
7846
|
+
var options = _extends$2({}, stylesCreator.options, stylesOptions, {
|
|
7894
7847
|
theme,
|
|
7895
7848
|
flip: typeof stylesOptions.flip === "boolean" ? stylesOptions.flip : theme.direction === "rtl"
|
|
7896
7849
|
});
|
|
@@ -7903,7 +7856,7 @@ function attach(_ref2, props) {
|
|
|
7903
7856
|
}
|
|
7904
7857
|
var styles8 = stylesCreator.create(theme, name);
|
|
7905
7858
|
if (!staticSheet) {
|
|
7906
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles8, _extends$
|
|
7859
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles8, _extends$2({
|
|
7907
7860
|
link: false
|
|
7908
7861
|
}, options));
|
|
7909
7862
|
staticSheet.attach();
|
|
@@ -7918,7 +7871,7 @@ function attach(_ref2, props) {
|
|
|
7918
7871
|
sheetManager.dynamicStyles = getDynamicStyles(styles8);
|
|
7919
7872
|
}
|
|
7920
7873
|
if (sheetManager.dynamicStyles) {
|
|
7921
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$
|
|
7874
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends$2({
|
|
7922
7875
|
link: true
|
|
7923
7876
|
}, options));
|
|
7924
7877
|
dynamicSheet.update(props);
|
|
@@ -8000,7 +7953,7 @@ function makeStyles$1(stylesOrCreator) {
|
|
|
8000
7953
|
var useStyles2 = function useStyles3() {
|
|
8001
7954
|
var props = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
8002
7955
|
var theme = useTheme() || defaultTheme2;
|
|
8003
|
-
var stylesOptions = _extends$
|
|
7956
|
+
var stylesOptions = _extends$2({}, React__default.useContext(StylesContext), stylesOptions2);
|
|
8004
7957
|
var instance = React__default.useRef();
|
|
8005
7958
|
var shouldUpdate = React__default.useRef();
|
|
8006
7959
|
useSynchronousEffect(function() {
|
|
@@ -8155,7 +8108,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
8155
8108
|
}
|
|
8156
8109
|
}
|
|
8157
8110
|
}
|
|
8158
|
-
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$
|
|
8111
|
+
var useStyles2 = makeStyles$1(stylesOrCreator, _extends$2({
|
|
8159
8112
|
defaultTheme: defaultTheme2,
|
|
8160
8113
|
Component,
|
|
8161
8114
|
name: name || Component.displayName,
|
|
@@ -8164,7 +8117,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
8164
8117
|
var WithStyles = /* @__PURE__ */ React__default.forwardRef(function WithStyles2(props, ref) {
|
|
8165
8118
|
props.classes;
|
|
8166
8119
|
var innerRef = props.innerRef, other = _objectWithoutProperties(props, ["classes", "innerRef"]);
|
|
8167
|
-
var classes = useStyles2(_extends$
|
|
8120
|
+
var classes = useStyles2(_extends$2({}, Component.defaultProps, props));
|
|
8168
8121
|
var theme;
|
|
8169
8122
|
var more = other;
|
|
8170
8123
|
if (typeof name === "string" || withTheme) {
|
|
@@ -8180,7 +8133,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
8180
8133
|
more.theme = theme;
|
|
8181
8134
|
}
|
|
8182
8135
|
}
|
|
8183
|
-
return /* @__PURE__ */ React__default.createElement(Component, _extends$
|
|
8136
|
+
return /* @__PURE__ */ React__default.createElement(Component, _extends$2({
|
|
8184
8137
|
ref: innerRef || ref,
|
|
8185
8138
|
classes
|
|
8186
8139
|
}, more));
|
|
@@ -8283,7 +8236,7 @@ var styles$7 = function styles(theme) {
|
|
|
8283
8236
|
};
|
|
8284
8237
|
};
|
|
8285
8238
|
var SvgIcon = /* @__PURE__ */ React.forwardRef(function SvgIcon2(props, ref) {
|
|
8286
|
-
var children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "inherit" : _props$color, _props$component = props.component, Component = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props.fontSize, fontSize = _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(props, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
|
|
8239
|
+
var children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _props$color === void 0 ? "inherit" : _props$color, _props$component = props.component, Component = _props$component === void 0 ? "svg" : _props$component, _props$fontSize = props.fontSize, fontSize = _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$1(props, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
|
|
8287
8240
|
return /* @__PURE__ */ React.createElement(Component, _extends$1({
|
|
8288
8241
|
className: clsx(classes.root, className, color !== "inherit" && classes["color".concat(capitalize(color))], fontSize !== "default" && fontSize !== "medium" && classes["fontSize".concat(capitalize(fontSize))]),
|
|
8289
8242
|
focusable: "false",
|
|
@@ -8520,6 +8473,69 @@ function useIsFocusVisible() {
|
|
|
8520
8473
|
ref
|
|
8521
8474
|
};
|
|
8522
8475
|
}
|
|
8476
|
+
function _arrayWithHoles(arr) {
|
|
8477
|
+
if (Array.isArray(arr))
|
|
8478
|
+
return arr;
|
|
8479
|
+
}
|
|
8480
|
+
function _iterableToArray(iter) {
|
|
8481
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null)
|
|
8482
|
+
return Array.from(iter);
|
|
8483
|
+
}
|
|
8484
|
+
function _arrayLikeToArray(arr, len) {
|
|
8485
|
+
if (len == null || len > arr.length)
|
|
8486
|
+
len = arr.length;
|
|
8487
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
8488
|
+
arr2[i] = arr[i];
|
|
8489
|
+
}
|
|
8490
|
+
return arr2;
|
|
8491
|
+
}
|
|
8492
|
+
function _unsupportedIterableToArray(o, minLen) {
|
|
8493
|
+
if (!o)
|
|
8494
|
+
return;
|
|
8495
|
+
if (typeof o === "string")
|
|
8496
|
+
return _arrayLikeToArray(o, minLen);
|
|
8497
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
8498
|
+
if (n === "Object" && o.constructor)
|
|
8499
|
+
n = o.constructor.name;
|
|
8500
|
+
if (n === "Map" || n === "Set")
|
|
8501
|
+
return Array.from(o);
|
|
8502
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
8503
|
+
return _arrayLikeToArray(o, minLen);
|
|
8504
|
+
}
|
|
8505
|
+
function _nonIterableRest() {
|
|
8506
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8507
|
+
}
|
|
8508
|
+
function _iterableToArrayLimit(arr, i) {
|
|
8509
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
8510
|
+
if (_i == null)
|
|
8511
|
+
return;
|
|
8512
|
+
var _arr = [];
|
|
8513
|
+
var _n = true;
|
|
8514
|
+
var _d = false;
|
|
8515
|
+
var _s, _e;
|
|
8516
|
+
try {
|
|
8517
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
8518
|
+
_arr.push(_s.value);
|
|
8519
|
+
if (i && _arr.length === i)
|
|
8520
|
+
break;
|
|
8521
|
+
}
|
|
8522
|
+
} catch (err) {
|
|
8523
|
+
_d = true;
|
|
8524
|
+
_e = err;
|
|
8525
|
+
} finally {
|
|
8526
|
+
try {
|
|
8527
|
+
if (!_n && _i["return"] != null)
|
|
8528
|
+
_i["return"]();
|
|
8529
|
+
} finally {
|
|
8530
|
+
if (_d)
|
|
8531
|
+
throw _e;
|
|
8532
|
+
}
|
|
8533
|
+
}
|
|
8534
|
+
return _arr;
|
|
8535
|
+
}
|
|
8536
|
+
function _slicedToArray(arr, i) {
|
|
8537
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
8538
|
+
}
|
|
8523
8539
|
const TransitionGroupContext = React__default.createContext(null);
|
|
8524
8540
|
function getChildMapping(children, mapFn) {
|
|
8525
8541
|
var mapper = function mapper2(child) {
|
|
@@ -8750,6 +8766,16 @@ TransitionGroup.propTypes = {
|
|
|
8750
8766
|
};
|
|
8751
8767
|
TransitionGroup.defaultProps = defaultProps;
|
|
8752
8768
|
const TransitionGroup$1 = TransitionGroup;
|
|
8769
|
+
function _arrayWithoutHoles(arr) {
|
|
8770
|
+
if (Array.isArray(arr))
|
|
8771
|
+
return _arrayLikeToArray(arr);
|
|
8772
|
+
}
|
|
8773
|
+
function _nonIterableSpread() {
|
|
8774
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
8775
|
+
}
|
|
8776
|
+
function _toConsumableArray(arr) {
|
|
8777
|
+
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
8778
|
+
}
|
|
8753
8779
|
var useEnhancedEffect = typeof window === "undefined" ? React.useEffect : React.useLayoutEffect;
|
|
8754
8780
|
function Ripple(props) {
|
|
8755
8781
|
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() {
|
|
@@ -8900,7 +8926,7 @@ var styles$6 = function styles2(theme) {
|
|
|
8900
8926
|
};
|
|
8901
8927
|
};
|
|
8902
8928
|
var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props, ref) {
|
|
8903
|
-
var _props$center = props.center, centerProp = _props$center === void 0 ? false : _props$center, classes = props.classes, className = props.className, other = _objectWithoutProperties(props, ["center", "classes", "className"]);
|
|
8929
|
+
var _props$center = props.center, centerProp = _props$center === void 0 ? false : _props$center, classes = props.classes, className = props.className, other = _objectWithoutProperties$1(props, ["center", "classes", "className"]);
|
|
8904
8930
|
var _React$useState = React.useState([]), ripples = _React$useState[0], setRipples = _React$useState[1];
|
|
8905
8931
|
var nextKey = React.useRef(0);
|
|
8906
8932
|
var rippleCallback = React.useRef(null);
|
|
@@ -8922,7 +8948,7 @@ var TouchRipple = /* @__PURE__ */ React.forwardRef(function TouchRipple2(props,
|
|
|
8922
8948
|
var startCommit = React.useCallback(function(params) {
|
|
8923
8949
|
var pulsate2 = params.pulsate, rippleX = params.rippleX, rippleY = params.rippleY, rippleSize = params.rippleSize, cb = params.cb;
|
|
8924
8950
|
setRipples(function(oldRipples) {
|
|
8925
|
-
return [].concat(_toConsumableArray
|
|
8951
|
+
return [].concat(_toConsumableArray(oldRipples), [/* @__PURE__ */ React.createElement(Ripple, {
|
|
8926
8952
|
key: nextKey.current,
|
|
8927
8953
|
classes,
|
|
8928
8954
|
timeout: DURATION,
|
|
@@ -9110,7 +9136,7 @@ var styles$5 = {
|
|
|
9110
9136
|
focusVisible: {}
|
|
9111
9137
|
};
|
|
9112
9138
|
var ButtonBase = /* @__PURE__ */ React.forwardRef(function ButtonBase2(props, ref) {
|
|
9113
|
-
var action = props.action, buttonRefProp = props.buttonRef, _props$centerRipple = props.centerRipple, centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple, children = 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, onMouseDown = 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, type = _props$type === void 0 ? "button" : _props$type, other = _objectWithoutProperties(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"]);
|
|
9139
|
+
var action = props.action, buttonRefProp = props.buttonRef, _props$centerRipple = props.centerRipple, centerRipple = _props$centerRipple === void 0 ? false : _props$centerRipple, children = 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, onMouseDown = 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, type = _props$type === void 0 ? "button" : _props$type, other = _objectWithoutProperties$1(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"]);
|
|
9114
9140
|
var buttonRef = React.useRef(null);
|
|
9115
9141
|
function getButtonNode() {
|
|
9116
9142
|
return ReactDOM.findDOMNode(buttonRef.current);
|
|
@@ -9503,7 +9529,7 @@ var styles$4 = function styles3(theme) {
|
|
|
9503
9529
|
};
|
|
9504
9530
|
};
|
|
9505
9531
|
var IconButton = /* @__PURE__ */ React.forwardRef(function IconButton2(props, ref) {
|
|
9506
|
-
var _props$edge = props.edge, edge = _props$edge === void 0 ? false : _props$edge, children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _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, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
|
|
9532
|
+
var _props$edge = props.edge, edge = _props$edge === void 0 ? false : _props$edge, children = props.children, classes = props.classes, className = props.className, _props$color = props.color, color = _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, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$1(props, ["edge", "children", "classes", "className", "color", "disabled", "disableFocusRipple", "size"]);
|
|
9507
9533
|
return /* @__PURE__ */ React.createElement(ButtonBase$1, _extends$1({
|
|
9508
9534
|
className: clsx(classes.root, className, color !== "default" && classes["color".concat(capitalize(color))], disabled && classes.disabled, size2 === "small" && classes["size".concat(capitalize(size2))], {
|
|
9509
9535
|
"start": classes.edgeStart,
|
|
@@ -9599,7 +9625,7 @@ var styles$3 = {
|
|
|
9599
9625
|
}
|
|
9600
9626
|
};
|
|
9601
9627
|
var SwitchBase = /* @__PURE__ */ React.forwardRef(function SwitchBase2(props, ref) {
|
|
9602
|
-
var autoFocus = props.autoFocus, checkedProp = props.checked, checkedIcon = props.checkedIcon, classes = props.classes, className = props.className, defaultChecked = props.defaultChecked, disabledProp = props.disabled, icon = props.icon, id = props.id, inputProps = props.inputProps, inputRef = props.inputRef, name = props.name, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, readOnly = props.readOnly, required = props.required, tabIndex = props.tabIndex, type = props.type, value = props.value, other = _objectWithoutProperties(props, ["autoFocus", "checked", "checkedIcon", "classes", "className", "defaultChecked", "disabled", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"]);
|
|
9628
|
+
var autoFocus = props.autoFocus, checkedProp = props.checked, checkedIcon = props.checkedIcon, classes = props.classes, className = props.className, defaultChecked = props.defaultChecked, disabledProp = props.disabled, icon = props.icon, id = props.id, inputProps = props.inputProps, inputRef = props.inputRef, name = props.name, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, readOnly = props.readOnly, required = props.required, tabIndex = props.tabIndex, type = props.type, value = props.value, other = _objectWithoutProperties$1(props, ["autoFocus", "checked", "checkedIcon", "classes", "className", "defaultChecked", "disabled", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"]);
|
|
9603
9629
|
var _useControlled = useControlled({
|
|
9604
9630
|
controlled: checkedProp,
|
|
9605
9631
|
default: Boolean(defaultChecked),
|
|
@@ -9812,7 +9838,7 @@ var defaultCheckedIcon = /* @__PURE__ */ React.createElement(CheckBoxIcon, null)
|
|
|
9812
9838
|
var defaultIcon = /* @__PURE__ */ React.createElement(CheckBoxOutlineBlankIcon, null);
|
|
9813
9839
|
var defaultIndeterminateIcon = /* @__PURE__ */ React.createElement(IndeterminateCheckBoxIcon, null);
|
|
9814
9840
|
var Checkbox = /* @__PURE__ */ React.forwardRef(function Checkbox2(props, ref) {
|
|
9815
|
-
var _props$checkedIcon = props.checkedIcon, checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon, classes = props.classes, _props$color = props.color, color = _props$color === void 0 ? "secondary" : _props$color, _props$icon = props.icon, iconProp = _props$icon === void 0 ? defaultIcon : _props$icon, _props$indeterminate = props.indeterminate, indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate, _props$indeterminateI = props.indeterminateIcon, indeterminateIconProp = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI, inputProps = props.inputProps, _props$size = props.size, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties(props, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
|
|
9841
|
+
var _props$checkedIcon = props.checkedIcon, checkedIcon = _props$checkedIcon === void 0 ? defaultCheckedIcon : _props$checkedIcon, classes = props.classes, _props$color = props.color, color = _props$color === void 0 ? "secondary" : _props$color, _props$icon = props.icon, iconProp = _props$icon === void 0 ? defaultIcon : _props$icon, _props$indeterminate = props.indeterminate, indeterminate = _props$indeterminate === void 0 ? false : _props$indeterminate, _props$indeterminateI = props.indeterminateIcon, indeterminateIconProp = _props$indeterminateI === void 0 ? defaultIndeterminateIcon : _props$indeterminateI, inputProps = props.inputProps, _props$size = props.size, size2 = _props$size === void 0 ? "medium" : _props$size, other = _objectWithoutProperties$1(props, ["checkedIcon", "classes", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size"]);
|
|
9816
9842
|
var icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
9817
9843
|
var indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
9818
9844
|
return /* @__PURE__ */ React.createElement(SwitchBase$1, _extends$1({
|
|
@@ -10019,7 +10045,7 @@ var styles$1 = function styles5(theme) {
|
|
|
10019
10045
|
};
|
|
10020
10046
|
};
|
|
10021
10047
|
var TableCell = /* @__PURE__ */ React.forwardRef(function TableCell2(props, ref) {
|
|
10022
|
-
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(props, ["align", "classes", "className", "component", "padding", "scope", "size", "sortDirection", "variant"]);
|
|
10048
|
+
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$1(props, ["align", "classes", "className", "component", "padding", "scope", "size", "sortDirection", "variant"]);
|
|
10023
10049
|
var table = React.useContext(TableContext$1);
|
|
10024
10050
|
var tablelvl2 = React.useContext(Tablelvl2Context$1);
|
|
10025
10051
|
var isHeadCell = tablelvl2 && tablelvl2.variant === "head";
|
|
@@ -10137,7 +10163,7 @@ var styles6 = function styles7(theme) {
|
|
|
10137
10163
|
};
|
|
10138
10164
|
var defaultComponent = "tr";
|
|
10139
10165
|
var TableRow = /* @__PURE__ */ React.forwardRef(function TableRow2(props, ref) {
|
|
10140
|
-
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(props, ["classes", "className", "component", "hover", "selected"]);
|
|
10166
|
+
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$1(props, ["classes", "className", "component", "hover", "selected"]);
|
|
10141
10167
|
var tablelvl2 = React.useContext(Tablelvl2Context$1);
|
|
10142
10168
|
return /* @__PURE__ */ React.createElement(Component, _extends$1({
|
|
10143
10169
|
ref,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/feature-list",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"react-virtualized": "^9.22.2",
|
|
23
23
|
"uuid": "^9.0.0",
|
|
24
24
|
"react-aria": "^3.28.0",
|
|
25
|
-
"@vitessce/utils": "3.
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
25
|
+
"@vitessce/utils": "3.4.0",
|
|
26
|
+
"@vitessce/vit-s": "3.4.0",
|
|
27
|
+
"@vitessce/constants-internal": "3.4.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^5.16.4",
|