@vitessce/biomarker-select 3.6.7 → 3.6.8
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 +813 -802
- package/dist-tsc/SampleSetPairManagerSubscriber.d.ts.map +1 -1
- package/dist-tsc/SampleSetPairManagerSubscriber.js +7 -2
- package/dist-tsc/select-specific.d.ts.map +1 -1
- package/dist-tsc/select-specific.js +2 -0
- package/package.json +5 -5
- package/src/SampleSetPairManagerSubscriber.js +9 -1
- package/src/select-specific.js +2 -0
package/dist/index.js
CHANGED
|
@@ -12488,6 +12488,586 @@ AccordionSummary.propTypes = {
|
|
|
12488
12488
|
*/
|
|
12489
12489
|
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
12490
12490
|
};
|
|
12491
|
+
function hasCorrectMainProperty(obj) {
|
|
12492
|
+
return typeof obj.main === "string";
|
|
12493
|
+
}
|
|
12494
|
+
function checkSimplePaletteColorValues(obj, additionalPropertiesToCheck = []) {
|
|
12495
|
+
if (!hasCorrectMainProperty(obj)) {
|
|
12496
|
+
return false;
|
|
12497
|
+
}
|
|
12498
|
+
for (const value of additionalPropertiesToCheck) {
|
|
12499
|
+
if (!obj.hasOwnProperty(value) || typeof obj[value] !== "string") {
|
|
12500
|
+
return false;
|
|
12501
|
+
}
|
|
12502
|
+
}
|
|
12503
|
+
return true;
|
|
12504
|
+
}
|
|
12505
|
+
function createSimplePaletteValueFilter(additionalPropertiesToCheck = []) {
|
|
12506
|
+
return ([, value]) => value && checkSimplePaletteColorValues(value, additionalPropertiesToCheck);
|
|
12507
|
+
}
|
|
12508
|
+
function getCircularProgressUtilityClass(slot) {
|
|
12509
|
+
return generateUtilityClass("MuiCircularProgress", slot);
|
|
12510
|
+
}
|
|
12511
|
+
generateUtilityClasses("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
12512
|
+
const SIZE = 44;
|
|
12513
|
+
const circularRotateKeyframe = keyframes`
|
|
12514
|
+
0% {
|
|
12515
|
+
transform: rotate(0deg);
|
|
12516
|
+
}
|
|
12517
|
+
|
|
12518
|
+
100% {
|
|
12519
|
+
transform: rotate(360deg);
|
|
12520
|
+
}
|
|
12521
|
+
`;
|
|
12522
|
+
const circularDashKeyframe = keyframes`
|
|
12523
|
+
0% {
|
|
12524
|
+
stroke-dasharray: 1px, 200px;
|
|
12525
|
+
stroke-dashoffset: 0;
|
|
12526
|
+
}
|
|
12527
|
+
|
|
12528
|
+
50% {
|
|
12529
|
+
stroke-dasharray: 100px, 200px;
|
|
12530
|
+
stroke-dashoffset: -15px;
|
|
12531
|
+
}
|
|
12532
|
+
|
|
12533
|
+
100% {
|
|
12534
|
+
stroke-dasharray: 1px, 200px;
|
|
12535
|
+
stroke-dashoffset: -126px;
|
|
12536
|
+
}
|
|
12537
|
+
`;
|
|
12538
|
+
const rotateAnimation = typeof circularRotateKeyframe !== "string" ? css`
|
|
12539
|
+
animation: ${circularRotateKeyframe} 1.4s linear infinite;
|
|
12540
|
+
` : null;
|
|
12541
|
+
const dashAnimation = typeof circularDashKeyframe !== "string" ? css`
|
|
12542
|
+
animation: ${circularDashKeyframe} 1.4s ease-in-out infinite;
|
|
12543
|
+
` : null;
|
|
12544
|
+
const useUtilityClasses$1r = (ownerState) => {
|
|
12545
|
+
const {
|
|
12546
|
+
classes: classes2,
|
|
12547
|
+
variant,
|
|
12548
|
+
color: color2,
|
|
12549
|
+
disableShrink
|
|
12550
|
+
} = ownerState;
|
|
12551
|
+
const slots = {
|
|
12552
|
+
root: ["root", variant, `color${capitalize(color2)}`],
|
|
12553
|
+
svg: ["svg"],
|
|
12554
|
+
circle: ["circle", `circle${capitalize(variant)}`, disableShrink && "circleDisableShrink"]
|
|
12555
|
+
};
|
|
12556
|
+
return composeClasses(slots, getCircularProgressUtilityClass, classes2);
|
|
12557
|
+
};
|
|
12558
|
+
const CircularProgressRoot = styled("span", {
|
|
12559
|
+
name: "MuiCircularProgress",
|
|
12560
|
+
slot: "Root",
|
|
12561
|
+
overridesResolver: (props, styles2) => {
|
|
12562
|
+
const {
|
|
12563
|
+
ownerState
|
|
12564
|
+
} = props;
|
|
12565
|
+
return [styles2.root, styles2[ownerState.variant], styles2[`color${capitalize(ownerState.color)}`]];
|
|
12566
|
+
}
|
|
12567
|
+
})(memoTheme(({
|
|
12568
|
+
theme
|
|
12569
|
+
}) => ({
|
|
12570
|
+
display: "inline-block",
|
|
12571
|
+
variants: [{
|
|
12572
|
+
props: {
|
|
12573
|
+
variant: "determinate"
|
|
12574
|
+
},
|
|
12575
|
+
style: {
|
|
12576
|
+
transition: theme.transitions.create("transform")
|
|
12577
|
+
}
|
|
12578
|
+
}, {
|
|
12579
|
+
props: {
|
|
12580
|
+
variant: "indeterminate"
|
|
12581
|
+
},
|
|
12582
|
+
style: rotateAnimation || {
|
|
12583
|
+
animation: `${circularRotateKeyframe} 1.4s linear infinite`
|
|
12584
|
+
}
|
|
12585
|
+
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
12586
|
+
props: {
|
|
12587
|
+
color: color2
|
|
12588
|
+
},
|
|
12589
|
+
style: {
|
|
12590
|
+
color: (theme.vars || theme).palette[color2].main
|
|
12591
|
+
}
|
|
12592
|
+
}))]
|
|
12593
|
+
})));
|
|
12594
|
+
const CircularProgressSVG = styled("svg", {
|
|
12595
|
+
name: "MuiCircularProgress",
|
|
12596
|
+
slot: "Svg"
|
|
12597
|
+
})({
|
|
12598
|
+
display: "block"
|
|
12599
|
+
// Keeps the progress centered
|
|
12600
|
+
});
|
|
12601
|
+
const CircularProgressCircle = styled("circle", {
|
|
12602
|
+
name: "MuiCircularProgress",
|
|
12603
|
+
slot: "Circle",
|
|
12604
|
+
overridesResolver: (props, styles2) => {
|
|
12605
|
+
const {
|
|
12606
|
+
ownerState
|
|
12607
|
+
} = props;
|
|
12608
|
+
return [styles2.circle, styles2[`circle${capitalize(ownerState.variant)}`], ownerState.disableShrink && styles2.circleDisableShrink];
|
|
12609
|
+
}
|
|
12610
|
+
})(memoTheme(({
|
|
12611
|
+
theme
|
|
12612
|
+
}) => ({
|
|
12613
|
+
stroke: "currentColor",
|
|
12614
|
+
variants: [{
|
|
12615
|
+
props: {
|
|
12616
|
+
variant: "determinate"
|
|
12617
|
+
},
|
|
12618
|
+
style: {
|
|
12619
|
+
transition: theme.transitions.create("stroke-dashoffset")
|
|
12620
|
+
}
|
|
12621
|
+
}, {
|
|
12622
|
+
props: {
|
|
12623
|
+
variant: "indeterminate"
|
|
12624
|
+
},
|
|
12625
|
+
style: {
|
|
12626
|
+
// Some default value that looks fine waiting for the animation to kicks in.
|
|
12627
|
+
strokeDasharray: "80px, 200px",
|
|
12628
|
+
strokeDashoffset: 0
|
|
12629
|
+
// Add the unit to fix a Edge 16 and below bug.
|
|
12630
|
+
}
|
|
12631
|
+
}, {
|
|
12632
|
+
props: ({
|
|
12633
|
+
ownerState
|
|
12634
|
+
}) => ownerState.variant === "indeterminate" && !ownerState.disableShrink,
|
|
12635
|
+
style: dashAnimation || {
|
|
12636
|
+
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
12637
|
+
animation: `${circularDashKeyframe} 1.4s ease-in-out infinite`
|
|
12638
|
+
}
|
|
12639
|
+
}]
|
|
12640
|
+
})));
|
|
12641
|
+
const CircularProgress = /* @__PURE__ */ React.forwardRef(function CircularProgress2(inProps, ref) {
|
|
12642
|
+
const props = useDefaultProps({
|
|
12643
|
+
props: inProps,
|
|
12644
|
+
name: "MuiCircularProgress"
|
|
12645
|
+
});
|
|
12646
|
+
const {
|
|
12647
|
+
className,
|
|
12648
|
+
color: color2 = "primary",
|
|
12649
|
+
disableShrink = false,
|
|
12650
|
+
size: size2 = 40,
|
|
12651
|
+
style: style2,
|
|
12652
|
+
thickness = 3.6,
|
|
12653
|
+
value = 0,
|
|
12654
|
+
variant = "indeterminate",
|
|
12655
|
+
...other
|
|
12656
|
+
} = props;
|
|
12657
|
+
const ownerState = {
|
|
12658
|
+
...props,
|
|
12659
|
+
color: color2,
|
|
12660
|
+
disableShrink,
|
|
12661
|
+
size: size2,
|
|
12662
|
+
thickness,
|
|
12663
|
+
value,
|
|
12664
|
+
variant
|
|
12665
|
+
};
|
|
12666
|
+
const classes2 = useUtilityClasses$1r(ownerState);
|
|
12667
|
+
const circleStyle = {};
|
|
12668
|
+
const rootStyle = {};
|
|
12669
|
+
const rootProps = {};
|
|
12670
|
+
if (variant === "determinate") {
|
|
12671
|
+
const circumference = 2 * Math.PI * ((SIZE - thickness) / 2);
|
|
12672
|
+
circleStyle.strokeDasharray = circumference.toFixed(3);
|
|
12673
|
+
rootProps["aria-valuenow"] = Math.round(value);
|
|
12674
|
+
circleStyle.strokeDashoffset = `${((100 - value) / 100 * circumference).toFixed(3)}px`;
|
|
12675
|
+
rootStyle.transform = "rotate(-90deg)";
|
|
12676
|
+
}
|
|
12677
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressRoot, {
|
|
12678
|
+
className: clsx$1(classes2.root, className),
|
|
12679
|
+
style: {
|
|
12680
|
+
width: size2,
|
|
12681
|
+
height: size2,
|
|
12682
|
+
...rootStyle,
|
|
12683
|
+
...style2
|
|
12684
|
+
},
|
|
12685
|
+
ownerState,
|
|
12686
|
+
ref,
|
|
12687
|
+
role: "progressbar",
|
|
12688
|
+
...rootProps,
|
|
12689
|
+
...other,
|
|
12690
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressSVG, {
|
|
12691
|
+
className: classes2.svg,
|
|
12692
|
+
ownerState,
|
|
12693
|
+
viewBox: `${SIZE / 2} ${SIZE / 2} ${SIZE} ${SIZE}`,
|
|
12694
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressCircle, {
|
|
12695
|
+
className: classes2.circle,
|
|
12696
|
+
style: circleStyle,
|
|
12697
|
+
ownerState,
|
|
12698
|
+
cx: SIZE,
|
|
12699
|
+
cy: SIZE,
|
|
12700
|
+
r: (SIZE - thickness) / 2,
|
|
12701
|
+
fill: "none",
|
|
12702
|
+
strokeWidth: thickness
|
|
12703
|
+
})
|
|
12704
|
+
})
|
|
12705
|
+
});
|
|
12706
|
+
});
|
|
12707
|
+
CircularProgress.propTypes = {
|
|
12708
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
12709
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
12710
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
12711
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
12712
|
+
/**
|
|
12713
|
+
* Override or extend the styles applied to the component.
|
|
12714
|
+
*/
|
|
12715
|
+
classes: PropTypes.object,
|
|
12716
|
+
/**
|
|
12717
|
+
* @ignore
|
|
12718
|
+
*/
|
|
12719
|
+
className: PropTypes.string,
|
|
12720
|
+
/**
|
|
12721
|
+
* The color of the component.
|
|
12722
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
12723
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
12724
|
+
* @default 'primary'
|
|
12725
|
+
*/
|
|
12726
|
+
color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes.string]),
|
|
12727
|
+
/**
|
|
12728
|
+
* If `true`, the shrink animation is disabled.
|
|
12729
|
+
* This only works if variant is `indeterminate`.
|
|
12730
|
+
* @default false
|
|
12731
|
+
*/
|
|
12732
|
+
disableShrink: chainPropTypes(PropTypes.bool, (props) => {
|
|
12733
|
+
if (props.disableShrink && props.variant && props.variant !== "indeterminate") {
|
|
12734
|
+
return new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.");
|
|
12735
|
+
}
|
|
12736
|
+
return null;
|
|
12737
|
+
}),
|
|
12738
|
+
/**
|
|
12739
|
+
* The size of the component.
|
|
12740
|
+
* If using a number, the pixel unit is assumed.
|
|
12741
|
+
* If using a string, you need to provide the CSS unit, for example '3rem'.
|
|
12742
|
+
* @default 40
|
|
12743
|
+
*/
|
|
12744
|
+
size: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
|
|
12745
|
+
/**
|
|
12746
|
+
* @ignore
|
|
12747
|
+
*/
|
|
12748
|
+
style: PropTypes.object,
|
|
12749
|
+
/**
|
|
12750
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
12751
|
+
*/
|
|
12752
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
12753
|
+
/**
|
|
12754
|
+
* The thickness of the circle.
|
|
12755
|
+
* @default 3.6
|
|
12756
|
+
*/
|
|
12757
|
+
thickness: PropTypes.number,
|
|
12758
|
+
/**
|
|
12759
|
+
* The value of the progress indicator for the determinate variant.
|
|
12760
|
+
* Value between 0 and 100.
|
|
12761
|
+
* @default 0
|
|
12762
|
+
*/
|
|
12763
|
+
value: PropTypes.number,
|
|
12764
|
+
/**
|
|
12765
|
+
* The variant to use.
|
|
12766
|
+
* Use indeterminate when there is no progress value.
|
|
12767
|
+
* @default 'indeterminate'
|
|
12768
|
+
*/
|
|
12769
|
+
variant: PropTypes.oneOf(["determinate", "indeterminate"])
|
|
12770
|
+
};
|
|
12771
|
+
function getIconButtonUtilityClass(slot) {
|
|
12772
|
+
return generateUtilityClass("MuiIconButton", slot);
|
|
12773
|
+
}
|
|
12774
|
+
const iconButtonClasses = generateUtilityClasses("MuiIconButton", ["root", "disabled", "colorInherit", "colorPrimary", "colorSecondary", "colorError", "colorInfo", "colorSuccess", "colorWarning", "edgeStart", "edgeEnd", "sizeSmall", "sizeMedium", "sizeLarge", "loading", "loadingIndicator", "loadingWrapper"]);
|
|
12775
|
+
const useUtilityClasses$1q = (ownerState) => {
|
|
12776
|
+
const {
|
|
12777
|
+
classes: classes2,
|
|
12778
|
+
disabled,
|
|
12779
|
+
color: color2,
|
|
12780
|
+
edge,
|
|
12781
|
+
size: size2,
|
|
12782
|
+
loading
|
|
12783
|
+
} = ownerState;
|
|
12784
|
+
const slots = {
|
|
12785
|
+
root: ["root", loading && "loading", disabled && "disabled", color2 !== "default" && `color${capitalize(color2)}`, edge && `edge${capitalize(edge)}`, `size${capitalize(size2)}`],
|
|
12786
|
+
loadingIndicator: ["loadingIndicator"],
|
|
12787
|
+
loadingWrapper: ["loadingWrapper"]
|
|
12788
|
+
};
|
|
12789
|
+
return composeClasses(slots, getIconButtonUtilityClass, classes2);
|
|
12790
|
+
};
|
|
12791
|
+
const IconButtonRoot = styled(ButtonBase, {
|
|
12792
|
+
name: "MuiIconButton",
|
|
12793
|
+
slot: "Root",
|
|
12794
|
+
overridesResolver: (props, styles2) => {
|
|
12795
|
+
const {
|
|
12796
|
+
ownerState
|
|
12797
|
+
} = props;
|
|
12798
|
+
return [styles2.root, ownerState.loading && styles2.loading, ownerState.color !== "default" && styles2[`color${capitalize(ownerState.color)}`], ownerState.edge && styles2[`edge${capitalize(ownerState.edge)}`], styles2[`size${capitalize(ownerState.size)}`]];
|
|
12799
|
+
}
|
|
12800
|
+
})(memoTheme(({
|
|
12801
|
+
theme
|
|
12802
|
+
}) => ({
|
|
12803
|
+
textAlign: "center",
|
|
12804
|
+
flex: "0 0 auto",
|
|
12805
|
+
fontSize: theme.typography.pxToRem(24),
|
|
12806
|
+
padding: 8,
|
|
12807
|
+
borderRadius: "50%",
|
|
12808
|
+
color: (theme.vars || theme).palette.action.active,
|
|
12809
|
+
transition: theme.transitions.create("background-color", {
|
|
12810
|
+
duration: theme.transitions.duration.shortest
|
|
12811
|
+
}),
|
|
12812
|
+
variants: [{
|
|
12813
|
+
props: (props) => !props.disableRipple,
|
|
12814
|
+
style: {
|
|
12815
|
+
"--IconButton-hoverBg": theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
12816
|
+
"&:hover": {
|
|
12817
|
+
backgroundColor: "var(--IconButton-hoverBg)",
|
|
12818
|
+
// Reset on touch devices, it doesn't add specificity
|
|
12819
|
+
"@media (hover: none)": {
|
|
12820
|
+
backgroundColor: "transparent"
|
|
12821
|
+
}
|
|
12822
|
+
}
|
|
12823
|
+
}
|
|
12824
|
+
}, {
|
|
12825
|
+
props: {
|
|
12826
|
+
edge: "start"
|
|
12827
|
+
},
|
|
12828
|
+
style: {
|
|
12829
|
+
marginLeft: -12
|
|
12830
|
+
}
|
|
12831
|
+
}, {
|
|
12832
|
+
props: {
|
|
12833
|
+
edge: "start",
|
|
12834
|
+
size: "small"
|
|
12835
|
+
},
|
|
12836
|
+
style: {
|
|
12837
|
+
marginLeft: -3
|
|
12838
|
+
}
|
|
12839
|
+
}, {
|
|
12840
|
+
props: {
|
|
12841
|
+
edge: "end"
|
|
12842
|
+
},
|
|
12843
|
+
style: {
|
|
12844
|
+
marginRight: -12
|
|
12845
|
+
}
|
|
12846
|
+
}, {
|
|
12847
|
+
props: {
|
|
12848
|
+
edge: "end",
|
|
12849
|
+
size: "small"
|
|
12850
|
+
},
|
|
12851
|
+
style: {
|
|
12852
|
+
marginRight: -3
|
|
12853
|
+
}
|
|
12854
|
+
}]
|
|
12855
|
+
})), memoTheme(({
|
|
12856
|
+
theme
|
|
12857
|
+
}) => ({
|
|
12858
|
+
variants: [{
|
|
12859
|
+
props: {
|
|
12860
|
+
color: "inherit"
|
|
12861
|
+
},
|
|
12862
|
+
style: {
|
|
12863
|
+
color: "inherit"
|
|
12864
|
+
}
|
|
12865
|
+
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
12866
|
+
props: {
|
|
12867
|
+
color: color2
|
|
12868
|
+
},
|
|
12869
|
+
style: {
|
|
12870
|
+
color: (theme.vars || theme).palette[color2].main
|
|
12871
|
+
}
|
|
12872
|
+
})), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
12873
|
+
props: {
|
|
12874
|
+
color: color2
|
|
12875
|
+
},
|
|
12876
|
+
style: {
|
|
12877
|
+
"--IconButton-hoverBg": theme.vars ? `rgba(${(theme.vars || theme).palette[color2].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha((theme.vars || theme).palette[color2].main, theme.palette.action.hoverOpacity)
|
|
12878
|
+
}
|
|
12879
|
+
})), {
|
|
12880
|
+
props: {
|
|
12881
|
+
size: "small"
|
|
12882
|
+
},
|
|
12883
|
+
style: {
|
|
12884
|
+
padding: 5,
|
|
12885
|
+
fontSize: theme.typography.pxToRem(18)
|
|
12886
|
+
}
|
|
12887
|
+
}, {
|
|
12888
|
+
props: {
|
|
12889
|
+
size: "large"
|
|
12890
|
+
},
|
|
12891
|
+
style: {
|
|
12892
|
+
padding: 12,
|
|
12893
|
+
fontSize: theme.typography.pxToRem(28)
|
|
12894
|
+
}
|
|
12895
|
+
}],
|
|
12896
|
+
[`&.${iconButtonClasses.disabled}`]: {
|
|
12897
|
+
backgroundColor: "transparent",
|
|
12898
|
+
color: (theme.vars || theme).palette.action.disabled
|
|
12899
|
+
},
|
|
12900
|
+
[`&.${iconButtonClasses.loading}`]: {
|
|
12901
|
+
color: "transparent"
|
|
12902
|
+
}
|
|
12903
|
+
})));
|
|
12904
|
+
const IconButtonLoadingIndicator = styled("span", {
|
|
12905
|
+
name: "MuiIconButton",
|
|
12906
|
+
slot: "LoadingIndicator"
|
|
12907
|
+
})(({
|
|
12908
|
+
theme
|
|
12909
|
+
}) => ({
|
|
12910
|
+
display: "none",
|
|
12911
|
+
position: "absolute",
|
|
12912
|
+
visibility: "visible",
|
|
12913
|
+
top: "50%",
|
|
12914
|
+
left: "50%",
|
|
12915
|
+
transform: "translate(-50%, -50%)",
|
|
12916
|
+
color: (theme.vars || theme).palette.action.disabled,
|
|
12917
|
+
variants: [{
|
|
12918
|
+
props: {
|
|
12919
|
+
loading: true
|
|
12920
|
+
},
|
|
12921
|
+
style: {
|
|
12922
|
+
display: "flex"
|
|
12923
|
+
}
|
|
12924
|
+
}]
|
|
12925
|
+
}));
|
|
12926
|
+
const IconButton = /* @__PURE__ */ React.forwardRef(function IconButton2(inProps, ref) {
|
|
12927
|
+
const props = useDefaultProps({
|
|
12928
|
+
props: inProps,
|
|
12929
|
+
name: "MuiIconButton"
|
|
12930
|
+
});
|
|
12931
|
+
const {
|
|
12932
|
+
edge = false,
|
|
12933
|
+
children,
|
|
12934
|
+
className,
|
|
12935
|
+
color: color2 = "default",
|
|
12936
|
+
disabled = false,
|
|
12937
|
+
disableFocusRipple = false,
|
|
12938
|
+
size: size2 = "medium",
|
|
12939
|
+
id: idProp,
|
|
12940
|
+
loading = null,
|
|
12941
|
+
loadingIndicator: loadingIndicatorProp,
|
|
12942
|
+
...other
|
|
12943
|
+
} = props;
|
|
12944
|
+
const loadingId = useId(idProp);
|
|
12945
|
+
const loadingIndicator = loadingIndicatorProp ?? /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgress, {
|
|
12946
|
+
"aria-labelledby": loadingId,
|
|
12947
|
+
color: "inherit",
|
|
12948
|
+
size: 16
|
|
12949
|
+
});
|
|
12950
|
+
const ownerState = {
|
|
12951
|
+
...props,
|
|
12952
|
+
edge,
|
|
12953
|
+
color: color2,
|
|
12954
|
+
disabled,
|
|
12955
|
+
disableFocusRipple,
|
|
12956
|
+
loading,
|
|
12957
|
+
loadingIndicator,
|
|
12958
|
+
size: size2
|
|
12959
|
+
};
|
|
12960
|
+
const classes2 = useUtilityClasses$1q(ownerState);
|
|
12961
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconButtonRoot, {
|
|
12962
|
+
id: loading ? loadingId : idProp,
|
|
12963
|
+
className: clsx$1(classes2.root, className),
|
|
12964
|
+
centerRipple: true,
|
|
12965
|
+
focusRipple: !disableFocusRipple,
|
|
12966
|
+
disabled: disabled || loading,
|
|
12967
|
+
ref,
|
|
12968
|
+
...other,
|
|
12969
|
+
ownerState,
|
|
12970
|
+
children: [typeof loading === "boolean" && // use plain HTML span to minimize the runtime overhead
|
|
12971
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", {
|
|
12972
|
+
className: classes2.loadingWrapper,
|
|
12973
|
+
style: {
|
|
12974
|
+
display: "contents"
|
|
12975
|
+
},
|
|
12976
|
+
children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconButtonLoadingIndicator, {
|
|
12977
|
+
className: classes2.loadingIndicator,
|
|
12978
|
+
ownerState,
|
|
12979
|
+
children: loading && loadingIndicator
|
|
12980
|
+
})
|
|
12981
|
+
}), children]
|
|
12982
|
+
});
|
|
12983
|
+
});
|
|
12984
|
+
IconButton.propTypes = {
|
|
12985
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
12986
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
12987
|
+
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
12988
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
12989
|
+
/**
|
|
12990
|
+
* The icon to display.
|
|
12991
|
+
*/
|
|
12992
|
+
children: chainPropTypes(PropTypes.node, (props) => {
|
|
12993
|
+
const found = React.Children.toArray(props.children).some((child) => /* @__PURE__ */ React.isValidElement(child) && child.props.onClick);
|
|
12994
|
+
if (found) {
|
|
12995
|
+
return new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join("\n"));
|
|
12996
|
+
}
|
|
12997
|
+
return null;
|
|
12998
|
+
}),
|
|
12999
|
+
/**
|
|
13000
|
+
* Override or extend the styles applied to the component.
|
|
13001
|
+
*/
|
|
13002
|
+
classes: PropTypes.object,
|
|
13003
|
+
/**
|
|
13004
|
+
* @ignore
|
|
13005
|
+
*/
|
|
13006
|
+
className: PropTypes.string,
|
|
13007
|
+
/**
|
|
13008
|
+
* The color of the component.
|
|
13009
|
+
* It supports both default and custom theme colors, which can be added as shown in the
|
|
13010
|
+
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
13011
|
+
* @default 'default'
|
|
13012
|
+
*/
|
|
13013
|
+
color: PropTypes.oneOfType([PropTypes.oneOf(["inherit", "default", "primary", "secondary", "error", "info", "success", "warning"]), PropTypes.string]),
|
|
13014
|
+
/**
|
|
13015
|
+
* If `true`, the component is disabled.
|
|
13016
|
+
* @default false
|
|
13017
|
+
*/
|
|
13018
|
+
disabled: PropTypes.bool,
|
|
13019
|
+
/**
|
|
13020
|
+
* If `true`, the keyboard focus ripple is disabled.
|
|
13021
|
+
* @default false
|
|
13022
|
+
*/
|
|
13023
|
+
disableFocusRipple: PropTypes.bool,
|
|
13024
|
+
/**
|
|
13025
|
+
* If `true`, the ripple effect is disabled.
|
|
13026
|
+
*
|
|
13027
|
+
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
13028
|
+
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
13029
|
+
* @default false
|
|
13030
|
+
*/
|
|
13031
|
+
disableRipple: PropTypes.bool,
|
|
13032
|
+
/**
|
|
13033
|
+
* If given, uses a negative margin to counteract the padding on one
|
|
13034
|
+
* side (this is often helpful for aligning the left or right
|
|
13035
|
+
* side of the icon with content above or below, without ruining the border
|
|
13036
|
+
* size and shape).
|
|
13037
|
+
* @default false
|
|
13038
|
+
*/
|
|
13039
|
+
edge: PropTypes.oneOf(["end", "start", false]),
|
|
13040
|
+
/**
|
|
13041
|
+
* @ignore
|
|
13042
|
+
*/
|
|
13043
|
+
id: PropTypes.string,
|
|
13044
|
+
/**
|
|
13045
|
+
* If `true`, the loading indicator is visible and the button is disabled.
|
|
13046
|
+
* If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
|
|
13047
|
+
* @default null
|
|
13048
|
+
*/
|
|
13049
|
+
loading: PropTypes.bool,
|
|
13050
|
+
/**
|
|
13051
|
+
* Element placed before the children if the button is in loading state.
|
|
13052
|
+
* The node should contain an element with `role="progressbar"` with an accessible name.
|
|
13053
|
+
* By default, it renders a `CircularProgress` that is labeled by the button itself.
|
|
13054
|
+
* @default <CircularProgress color="inherit" size={16} />
|
|
13055
|
+
*/
|
|
13056
|
+
loadingIndicator: PropTypes.node,
|
|
13057
|
+
/**
|
|
13058
|
+
* The size of the component.
|
|
13059
|
+
* `small` is equivalent to the dense button styling.
|
|
13060
|
+
* @default 'medium'
|
|
13061
|
+
*/
|
|
13062
|
+
size: PropTypes.oneOfType([PropTypes.oneOf(["small", "medium", "large"]), PropTypes.string]),
|
|
13063
|
+
/**
|
|
13064
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
13065
|
+
*/
|
|
13066
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
13067
|
+
};
|
|
13068
|
+
const ClearIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
|
|
13069
|
+
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
13070
|
+
}), "Close");
|
|
12491
13071
|
const usePreviousProps = (value) => {
|
|
12492
13072
|
const ref = React.useRef({});
|
|
12493
13073
|
React.useEffect(() => {
|
|
@@ -14915,7 +15495,7 @@ function isHTMLElement(element) {
|
|
|
14915
15495
|
function isVirtualElement(element) {
|
|
14916
15496
|
return !isHTMLElement(element);
|
|
14917
15497
|
}
|
|
14918
|
-
const useUtilityClasses$
|
|
15498
|
+
const useUtilityClasses$1p = (ownerState) => {
|
|
14919
15499
|
const {
|
|
14920
15500
|
classes: classes2
|
|
14921
15501
|
} = ownerState;
|
|
@@ -15024,7 +15604,7 @@ const PopperTooltip = /* @__PURE__ */ React.forwardRef(function PopperTooltip2(p
|
|
|
15024
15604
|
if (TransitionProps !== null) {
|
|
15025
15605
|
childProps.TransitionProps = TransitionProps;
|
|
15026
15606
|
}
|
|
15027
|
-
const classes2 = useUtilityClasses$
|
|
15607
|
+
const classes2 = useUtilityClasses$1p(props);
|
|
15028
15608
|
const Root = slots.root ?? "div";
|
|
15029
15609
|
const rootProps = useSlotProps({
|
|
15030
15610
|
elementType: Root,
|
|
@@ -15240,851 +15820,305 @@ const PopperRoot = styled(Popper$2, {
|
|
|
15240
15820
|
slot: "Root"
|
|
15241
15821
|
})({});
|
|
15242
15822
|
const Popper$1 = /* @__PURE__ */ React.forwardRef(function Popper22(inProps, ref) {
|
|
15243
|
-
const isRtl = useRtl();
|
|
15244
|
-
const props = useDefaultProps({
|
|
15245
|
-
props: inProps,
|
|
15246
|
-
name: "MuiPopper"
|
|
15247
|
-
});
|
|
15248
|
-
const {
|
|
15249
|
-
anchorEl,
|
|
15250
|
-
component,
|
|
15251
|
-
components,
|
|
15252
|
-
componentsProps,
|
|
15253
|
-
container,
|
|
15254
|
-
disablePortal,
|
|
15255
|
-
keepMounted,
|
|
15256
|
-
modifiers: modifiers2,
|
|
15257
|
-
open,
|
|
15258
|
-
placement,
|
|
15259
|
-
popperOptions,
|
|
15260
|
-
popperRef,
|
|
15261
|
-
transition: transition2,
|
|
15262
|
-
slots,
|
|
15263
|
-
slotProps,
|
|
15264
|
-
...other
|
|
15265
|
-
} = props;
|
|
15266
|
-
const RootComponent = (slots == null ? void 0 : slots.root) ?? (components == null ? void 0 : components.Root);
|
|
15267
|
-
const otherProps = {
|
|
15268
|
-
anchorEl,
|
|
15269
|
-
container,
|
|
15270
|
-
disablePortal,
|
|
15271
|
-
keepMounted,
|
|
15272
|
-
modifiers: modifiers2,
|
|
15273
|
-
open,
|
|
15274
|
-
placement,
|
|
15275
|
-
popperOptions,
|
|
15276
|
-
popperRef,
|
|
15277
|
-
transition: transition2,
|
|
15278
|
-
...other
|
|
15279
|
-
};
|
|
15280
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(PopperRoot, {
|
|
15281
|
-
as: component,
|
|
15282
|
-
direction: isRtl ? "rtl" : "ltr",
|
|
15283
|
-
slots: {
|
|
15284
|
-
root: RootComponent
|
|
15285
|
-
},
|
|
15286
|
-
slotProps: slotProps ?? componentsProps,
|
|
15287
|
-
...otherProps,
|
|
15288
|
-
ref
|
|
15289
|
-
});
|
|
15290
|
-
});
|
|
15291
|
-
Popper$1.propTypes = {
|
|
15292
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
15293
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
15294
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
15295
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
15296
|
-
/**
|
|
15297
|
-
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
15298
|
-
* or a function that returns either.
|
|
15299
|
-
* It's used to set the position of the popper.
|
|
15300
|
-
* The return value will passed as the reference object of the Popper instance.
|
|
15301
|
-
*/
|
|
15302
|
-
anchorEl: PropTypes.oneOfType([HTMLElementType, PropTypes.object, PropTypes.func]),
|
|
15303
|
-
/**
|
|
15304
|
-
* Popper render function or node.
|
|
15305
|
-
*/
|
|
15306
|
-
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
15307
|
-
/**
|
|
15308
|
-
* The component used for the root node.
|
|
15309
|
-
* Either a string to use a HTML element or a component.
|
|
15310
|
-
*/
|
|
15311
|
-
component: PropTypes.elementType,
|
|
15312
|
-
/**
|
|
15313
|
-
* The components used for each slot inside the Popper.
|
|
15314
|
-
* Either a string to use a HTML element or a component.
|
|
15315
|
-
*
|
|
15316
|
-
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
15317
|
-
* @default {}
|
|
15318
|
-
*/
|
|
15319
|
-
components: PropTypes.shape({
|
|
15320
|
-
Root: PropTypes.elementType
|
|
15321
|
-
}),
|
|
15322
|
-
/**
|
|
15323
|
-
* The props used for each slot inside the Popper.
|
|
15324
|
-
*
|
|
15325
|
-
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
15326
|
-
* @default {}
|
|
15327
|
-
*/
|
|
15328
|
-
componentsProps: PropTypes.shape({
|
|
15329
|
-
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
15330
|
-
}),
|
|
15331
|
-
/**
|
|
15332
|
-
* An HTML element or function that returns one.
|
|
15333
|
-
* The `container` will have the portal children appended to it.
|
|
15334
|
-
*
|
|
15335
|
-
* You can also provide a callback, which is called in a React layout effect.
|
|
15336
|
-
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
15337
|
-
*
|
|
15338
|
-
* By default, it uses the body of the top-level document object,
|
|
15339
|
-
* so it's simply `document.body` most of the time.
|
|
15340
|
-
*/
|
|
15341
|
-
container: PropTypes.oneOfType([HTMLElementType, PropTypes.func]),
|
|
15342
|
-
/**
|
|
15343
|
-
* The `children` will be under the DOM hierarchy of the parent component.
|
|
15344
|
-
* @default false
|
|
15345
|
-
*/
|
|
15346
|
-
disablePortal: PropTypes.bool,
|
|
15347
|
-
/**
|
|
15348
|
-
* Always keep the children in the DOM.
|
|
15349
|
-
* This prop can be useful in SEO situation or
|
|
15350
|
-
* when you want to maximize the responsiveness of the Popper.
|
|
15351
|
-
* @default false
|
|
15352
|
-
*/
|
|
15353
|
-
keepMounted: PropTypes.bool,
|
|
15354
|
-
/**
|
|
15355
|
-
* Popper.js is based on a "plugin-like" architecture,
|
|
15356
|
-
* most of its features are fully encapsulated "modifiers".
|
|
15357
|
-
*
|
|
15358
|
-
* A modifier is a function that is called each time Popper.js needs to
|
|
15359
|
-
* compute the position of the popper.
|
|
15360
|
-
* For this reason, modifiers should be very performant to avoid bottlenecks.
|
|
15361
|
-
* To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
|
|
15362
|
-
*/
|
|
15363
|
-
modifiers: PropTypes.arrayOf(PropTypes.shape({
|
|
15364
|
-
data: PropTypes.object,
|
|
15365
|
-
effect: PropTypes.func,
|
|
15366
|
-
enabled: PropTypes.bool,
|
|
15367
|
-
fn: PropTypes.func,
|
|
15368
|
-
name: PropTypes.any,
|
|
15369
|
-
options: PropTypes.object,
|
|
15370
|
-
phase: PropTypes.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
|
|
15371
|
-
requires: PropTypes.arrayOf(PropTypes.string),
|
|
15372
|
-
requiresIfExists: PropTypes.arrayOf(PropTypes.string)
|
|
15373
|
-
})),
|
|
15374
|
-
/**
|
|
15375
|
-
* If `true`, the component is shown.
|
|
15376
|
-
*/
|
|
15377
|
-
open: PropTypes.bool.isRequired,
|
|
15378
|
-
/**
|
|
15379
|
-
* Popper placement.
|
|
15380
|
-
* @default 'bottom'
|
|
15381
|
-
*/
|
|
15382
|
-
placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
15383
|
-
/**
|
|
15384
|
-
* Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
|
|
15385
|
-
* @default {}
|
|
15386
|
-
*/
|
|
15387
|
-
popperOptions: PropTypes.shape({
|
|
15388
|
-
modifiers: PropTypes.array,
|
|
15389
|
-
onFirstUpdate: PropTypes.func,
|
|
15390
|
-
placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
15391
|
-
strategy: PropTypes.oneOf(["absolute", "fixed"])
|
|
15392
|
-
}),
|
|
15393
|
-
/**
|
|
15394
|
-
* A ref that points to the used popper instance.
|
|
15395
|
-
*/
|
|
15396
|
-
popperRef: refType,
|
|
15397
|
-
/**
|
|
15398
|
-
* The props used for each slot inside the Popper.
|
|
15399
|
-
* @default {}
|
|
15400
|
-
*/
|
|
15401
|
-
slotProps: PropTypes.shape({
|
|
15402
|
-
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
15403
|
-
}),
|
|
15404
|
-
/**
|
|
15405
|
-
* The components used for each slot inside the Popper.
|
|
15406
|
-
* Either a string to use a HTML element or a component.
|
|
15407
|
-
* @default {}
|
|
15408
|
-
*/
|
|
15409
|
-
slots: PropTypes.shape({
|
|
15410
|
-
root: PropTypes.elementType
|
|
15411
|
-
}),
|
|
15412
|
-
/**
|
|
15413
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
15414
|
-
*/
|
|
15415
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
15416
|
-
/**
|
|
15417
|
-
* Help supporting a react-transition-group/Transition component.
|
|
15418
|
-
* @default false
|
|
15419
|
-
*/
|
|
15420
|
-
transition: PropTypes.bool
|
|
15421
|
-
};
|
|
15422
|
-
function getListSubheaderUtilityClass(slot) {
|
|
15423
|
-
return generateUtilityClass("MuiListSubheader", slot);
|
|
15424
|
-
}
|
|
15425
|
-
generateUtilityClasses("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]);
|
|
15426
|
-
const useUtilityClasses$1q = (ownerState) => {
|
|
15427
|
-
const {
|
|
15428
|
-
classes: classes2,
|
|
15429
|
-
color: color2,
|
|
15430
|
-
disableGutters,
|
|
15431
|
-
inset,
|
|
15432
|
-
disableSticky
|
|
15433
|
-
} = ownerState;
|
|
15434
|
-
const slots = {
|
|
15435
|
-
root: ["root", color2 !== "default" && `color${capitalize(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
|
|
15436
|
-
};
|
|
15437
|
-
return composeClasses(slots, getListSubheaderUtilityClass, classes2);
|
|
15438
|
-
};
|
|
15439
|
-
const ListSubheaderRoot = styled("li", {
|
|
15440
|
-
name: "MuiListSubheader",
|
|
15441
|
-
slot: "Root",
|
|
15442
|
-
overridesResolver: (props, styles2) => {
|
|
15443
|
-
const {
|
|
15444
|
-
ownerState
|
|
15445
|
-
} = props;
|
|
15446
|
-
return [styles2.root, ownerState.color !== "default" && styles2[`color${capitalize(ownerState.color)}`], !ownerState.disableGutters && styles2.gutters, ownerState.inset && styles2.inset, !ownerState.disableSticky && styles2.sticky];
|
|
15447
|
-
}
|
|
15448
|
-
})(memoTheme(({
|
|
15449
|
-
theme
|
|
15450
|
-
}) => ({
|
|
15451
|
-
boxSizing: "border-box",
|
|
15452
|
-
lineHeight: "48px",
|
|
15453
|
-
listStyle: "none",
|
|
15454
|
-
color: (theme.vars || theme).palette.text.secondary,
|
|
15455
|
-
fontFamily: theme.typography.fontFamily,
|
|
15456
|
-
fontWeight: theme.typography.fontWeightMedium,
|
|
15457
|
-
fontSize: theme.typography.pxToRem(14),
|
|
15458
|
-
variants: [{
|
|
15459
|
-
props: {
|
|
15460
|
-
color: "primary"
|
|
15461
|
-
},
|
|
15462
|
-
style: {
|
|
15463
|
-
color: (theme.vars || theme).palette.primary.main
|
|
15464
|
-
}
|
|
15465
|
-
}, {
|
|
15466
|
-
props: {
|
|
15467
|
-
color: "inherit"
|
|
15468
|
-
},
|
|
15469
|
-
style: {
|
|
15470
|
-
color: "inherit"
|
|
15471
|
-
}
|
|
15472
|
-
}, {
|
|
15473
|
-
props: ({
|
|
15474
|
-
ownerState
|
|
15475
|
-
}) => !ownerState.disableGutters,
|
|
15476
|
-
style: {
|
|
15477
|
-
paddingLeft: 16,
|
|
15478
|
-
paddingRight: 16
|
|
15479
|
-
}
|
|
15480
|
-
}, {
|
|
15481
|
-
props: ({
|
|
15482
|
-
ownerState
|
|
15483
|
-
}) => ownerState.inset,
|
|
15484
|
-
style: {
|
|
15485
|
-
paddingLeft: 72
|
|
15486
|
-
}
|
|
15487
|
-
}, {
|
|
15488
|
-
props: ({
|
|
15489
|
-
ownerState
|
|
15490
|
-
}) => !ownerState.disableSticky,
|
|
15491
|
-
style: {
|
|
15492
|
-
position: "sticky",
|
|
15493
|
-
top: 0,
|
|
15494
|
-
zIndex: 1,
|
|
15495
|
-
backgroundColor: (theme.vars || theme).palette.background.paper
|
|
15496
|
-
}
|
|
15497
|
-
}]
|
|
15498
|
-
})));
|
|
15499
|
-
const ListSubheader = /* @__PURE__ */ React.forwardRef(function ListSubheader2(inProps, ref) {
|
|
15500
|
-
const props = useDefaultProps({
|
|
15501
|
-
props: inProps,
|
|
15502
|
-
name: "MuiListSubheader"
|
|
15503
|
-
});
|
|
15504
|
-
const {
|
|
15505
|
-
className,
|
|
15506
|
-
color: color2 = "default",
|
|
15507
|
-
component = "li",
|
|
15508
|
-
disableGutters = false,
|
|
15509
|
-
disableSticky = false,
|
|
15510
|
-
inset = false,
|
|
15511
|
-
...other
|
|
15512
|
-
} = props;
|
|
15513
|
-
const ownerState = {
|
|
15514
|
-
...props,
|
|
15515
|
-
color: color2,
|
|
15516
|
-
component,
|
|
15517
|
-
disableGutters,
|
|
15518
|
-
disableSticky,
|
|
15519
|
-
inset
|
|
15520
|
-
};
|
|
15521
|
-
const classes2 = useUtilityClasses$1q(ownerState);
|
|
15522
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(ListSubheaderRoot, {
|
|
15523
|
-
as: component,
|
|
15524
|
-
className: clsx$1(classes2.root, className),
|
|
15525
|
-
ref,
|
|
15526
|
-
ownerState,
|
|
15527
|
-
...other
|
|
15528
|
-
});
|
|
15529
|
-
});
|
|
15530
|
-
if (ListSubheader) {
|
|
15531
|
-
ListSubheader.muiSkipListHighlight = true;
|
|
15532
|
-
}
|
|
15533
|
-
ListSubheader.propTypes = {
|
|
15534
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
15535
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
15536
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
15537
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
15538
|
-
/**
|
|
15539
|
-
* The content of the component.
|
|
15540
|
-
*/
|
|
15541
|
-
children: PropTypes.node,
|
|
15542
|
-
/**
|
|
15543
|
-
* Override or extend the styles applied to the component.
|
|
15544
|
-
*/
|
|
15545
|
-
classes: PropTypes.object,
|
|
15546
|
-
/**
|
|
15547
|
-
* @ignore
|
|
15548
|
-
*/
|
|
15549
|
-
className: PropTypes.string,
|
|
15550
|
-
/**
|
|
15551
|
-
* The color of the component. It supports those theme colors that make sense for this component.
|
|
15552
|
-
* @default 'default'
|
|
15553
|
-
*/
|
|
15554
|
-
color: PropTypes.oneOf(["default", "inherit", "primary"]),
|
|
15555
|
-
/**
|
|
15556
|
-
* The component used for the root node.
|
|
15557
|
-
* Either a string to use a HTML element or a component.
|
|
15558
|
-
*/
|
|
15559
|
-
component: PropTypes.elementType,
|
|
15560
|
-
/**
|
|
15561
|
-
* If `true`, the List Subheader will not have gutters.
|
|
15562
|
-
* @default false
|
|
15563
|
-
*/
|
|
15564
|
-
disableGutters: PropTypes.bool,
|
|
15565
|
-
/**
|
|
15566
|
-
* If `true`, the List Subheader will not stick to the top during scroll.
|
|
15567
|
-
* @default false
|
|
15568
|
-
*/
|
|
15569
|
-
disableSticky: PropTypes.bool,
|
|
15570
|
-
/**
|
|
15571
|
-
* If `true`, the List Subheader is indented.
|
|
15572
|
-
* @default false
|
|
15573
|
-
*/
|
|
15574
|
-
inset: PropTypes.bool,
|
|
15575
|
-
/**
|
|
15576
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
15577
|
-
*/
|
|
15578
|
-
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])
|
|
15579
|
-
};
|
|
15580
|
-
function hasCorrectMainProperty(obj) {
|
|
15581
|
-
return typeof obj.main === "string";
|
|
15582
|
-
}
|
|
15583
|
-
function checkSimplePaletteColorValues(obj, additionalPropertiesToCheck = []) {
|
|
15584
|
-
if (!hasCorrectMainProperty(obj)) {
|
|
15585
|
-
return false;
|
|
15586
|
-
}
|
|
15587
|
-
for (const value of additionalPropertiesToCheck) {
|
|
15588
|
-
if (!obj.hasOwnProperty(value) || typeof obj[value] !== "string") {
|
|
15589
|
-
return false;
|
|
15590
|
-
}
|
|
15591
|
-
}
|
|
15592
|
-
return true;
|
|
15593
|
-
}
|
|
15594
|
-
function createSimplePaletteValueFilter(additionalPropertiesToCheck = []) {
|
|
15595
|
-
return ([, value]) => value && checkSimplePaletteColorValues(value, additionalPropertiesToCheck);
|
|
15596
|
-
}
|
|
15597
|
-
function getCircularProgressUtilityClass(slot) {
|
|
15598
|
-
return generateUtilityClass("MuiCircularProgress", slot);
|
|
15599
|
-
}
|
|
15600
|
-
generateUtilityClasses("MuiCircularProgress", ["root", "determinate", "indeterminate", "colorPrimary", "colorSecondary", "svg", "circle", "circleDeterminate", "circleIndeterminate", "circleDisableShrink"]);
|
|
15601
|
-
const SIZE = 44;
|
|
15602
|
-
const circularRotateKeyframe = keyframes`
|
|
15603
|
-
0% {
|
|
15604
|
-
transform: rotate(0deg);
|
|
15605
|
-
}
|
|
15606
|
-
|
|
15607
|
-
100% {
|
|
15608
|
-
transform: rotate(360deg);
|
|
15609
|
-
}
|
|
15610
|
-
`;
|
|
15611
|
-
const circularDashKeyframe = keyframes`
|
|
15612
|
-
0% {
|
|
15613
|
-
stroke-dasharray: 1px, 200px;
|
|
15614
|
-
stroke-dashoffset: 0;
|
|
15615
|
-
}
|
|
15616
|
-
|
|
15617
|
-
50% {
|
|
15618
|
-
stroke-dasharray: 100px, 200px;
|
|
15619
|
-
stroke-dashoffset: -15px;
|
|
15620
|
-
}
|
|
15621
|
-
|
|
15622
|
-
100% {
|
|
15623
|
-
stroke-dasharray: 1px, 200px;
|
|
15624
|
-
stroke-dashoffset: -126px;
|
|
15625
|
-
}
|
|
15626
|
-
`;
|
|
15627
|
-
const rotateAnimation = typeof circularRotateKeyframe !== "string" ? css`
|
|
15628
|
-
animation: ${circularRotateKeyframe} 1.4s linear infinite;
|
|
15629
|
-
` : null;
|
|
15630
|
-
const dashAnimation = typeof circularDashKeyframe !== "string" ? css`
|
|
15631
|
-
animation: ${circularDashKeyframe} 1.4s ease-in-out infinite;
|
|
15632
|
-
` : null;
|
|
15633
|
-
const useUtilityClasses$1p = (ownerState) => {
|
|
15634
|
-
const {
|
|
15635
|
-
classes: classes2,
|
|
15636
|
-
variant,
|
|
15637
|
-
color: color2,
|
|
15638
|
-
disableShrink
|
|
15639
|
-
} = ownerState;
|
|
15640
|
-
const slots = {
|
|
15641
|
-
root: ["root", variant, `color${capitalize(color2)}`],
|
|
15642
|
-
svg: ["svg"],
|
|
15643
|
-
circle: ["circle", `circle${capitalize(variant)}`, disableShrink && "circleDisableShrink"]
|
|
15644
|
-
};
|
|
15645
|
-
return composeClasses(slots, getCircularProgressUtilityClass, classes2);
|
|
15646
|
-
};
|
|
15647
|
-
const CircularProgressRoot = styled("span", {
|
|
15648
|
-
name: "MuiCircularProgress",
|
|
15649
|
-
slot: "Root",
|
|
15650
|
-
overridesResolver: (props, styles2) => {
|
|
15651
|
-
const {
|
|
15652
|
-
ownerState
|
|
15653
|
-
} = props;
|
|
15654
|
-
return [styles2.root, styles2[ownerState.variant], styles2[`color${capitalize(ownerState.color)}`]];
|
|
15655
|
-
}
|
|
15656
|
-
})(memoTheme(({
|
|
15657
|
-
theme
|
|
15658
|
-
}) => ({
|
|
15659
|
-
display: "inline-block",
|
|
15660
|
-
variants: [{
|
|
15661
|
-
props: {
|
|
15662
|
-
variant: "determinate"
|
|
15663
|
-
},
|
|
15664
|
-
style: {
|
|
15665
|
-
transition: theme.transitions.create("transform")
|
|
15666
|
-
}
|
|
15667
|
-
}, {
|
|
15668
|
-
props: {
|
|
15669
|
-
variant: "indeterminate"
|
|
15670
|
-
},
|
|
15671
|
-
style: rotateAnimation || {
|
|
15672
|
-
animation: `${circularRotateKeyframe} 1.4s linear infinite`
|
|
15673
|
-
}
|
|
15674
|
-
}, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
15675
|
-
props: {
|
|
15676
|
-
color: color2
|
|
15677
|
-
},
|
|
15678
|
-
style: {
|
|
15679
|
-
color: (theme.vars || theme).palette[color2].main
|
|
15680
|
-
}
|
|
15681
|
-
}))]
|
|
15682
|
-
})));
|
|
15683
|
-
const CircularProgressSVG = styled("svg", {
|
|
15684
|
-
name: "MuiCircularProgress",
|
|
15685
|
-
slot: "Svg"
|
|
15686
|
-
})({
|
|
15687
|
-
display: "block"
|
|
15688
|
-
// Keeps the progress centered
|
|
15689
|
-
});
|
|
15690
|
-
const CircularProgressCircle = styled("circle", {
|
|
15691
|
-
name: "MuiCircularProgress",
|
|
15692
|
-
slot: "Circle",
|
|
15693
|
-
overridesResolver: (props, styles2) => {
|
|
15694
|
-
const {
|
|
15695
|
-
ownerState
|
|
15696
|
-
} = props;
|
|
15697
|
-
return [styles2.circle, styles2[`circle${capitalize(ownerState.variant)}`], ownerState.disableShrink && styles2.circleDisableShrink];
|
|
15698
|
-
}
|
|
15699
|
-
})(memoTheme(({
|
|
15700
|
-
theme
|
|
15701
|
-
}) => ({
|
|
15702
|
-
stroke: "currentColor",
|
|
15703
|
-
variants: [{
|
|
15704
|
-
props: {
|
|
15705
|
-
variant: "determinate"
|
|
15706
|
-
},
|
|
15707
|
-
style: {
|
|
15708
|
-
transition: theme.transitions.create("stroke-dashoffset")
|
|
15709
|
-
}
|
|
15710
|
-
}, {
|
|
15711
|
-
props: {
|
|
15712
|
-
variant: "indeterminate"
|
|
15713
|
-
},
|
|
15714
|
-
style: {
|
|
15715
|
-
// Some default value that looks fine waiting for the animation to kicks in.
|
|
15716
|
-
strokeDasharray: "80px, 200px",
|
|
15717
|
-
strokeDashoffset: 0
|
|
15718
|
-
// Add the unit to fix a Edge 16 and below bug.
|
|
15719
|
-
}
|
|
15720
|
-
}, {
|
|
15721
|
-
props: ({
|
|
15722
|
-
ownerState
|
|
15723
|
-
}) => ownerState.variant === "indeterminate" && !ownerState.disableShrink,
|
|
15724
|
-
style: dashAnimation || {
|
|
15725
|
-
// At runtime for Pigment CSS, `bufferAnimation` will be null and the generated keyframe will be used.
|
|
15726
|
-
animation: `${circularDashKeyframe} 1.4s ease-in-out infinite`
|
|
15727
|
-
}
|
|
15728
|
-
}]
|
|
15729
|
-
})));
|
|
15730
|
-
const CircularProgress = /* @__PURE__ */ React.forwardRef(function CircularProgress2(inProps, ref) {
|
|
15731
|
-
const props = useDefaultProps({
|
|
15732
|
-
props: inProps,
|
|
15733
|
-
name: "MuiCircularProgress"
|
|
15734
|
-
});
|
|
15735
|
-
const {
|
|
15736
|
-
className,
|
|
15737
|
-
color: color2 = "primary",
|
|
15738
|
-
disableShrink = false,
|
|
15739
|
-
size: size2 = 40,
|
|
15740
|
-
style: style2,
|
|
15741
|
-
thickness = 3.6,
|
|
15742
|
-
value = 0,
|
|
15743
|
-
variant = "indeterminate",
|
|
15823
|
+
const isRtl = useRtl();
|
|
15824
|
+
const props = useDefaultProps({
|
|
15825
|
+
props: inProps,
|
|
15826
|
+
name: "MuiPopper"
|
|
15827
|
+
});
|
|
15828
|
+
const {
|
|
15829
|
+
anchorEl,
|
|
15830
|
+
component,
|
|
15831
|
+
components,
|
|
15832
|
+
componentsProps,
|
|
15833
|
+
container,
|
|
15834
|
+
disablePortal,
|
|
15835
|
+
keepMounted,
|
|
15836
|
+
modifiers: modifiers2,
|
|
15837
|
+
open,
|
|
15838
|
+
placement,
|
|
15839
|
+
popperOptions,
|
|
15840
|
+
popperRef,
|
|
15841
|
+
transition: transition2,
|
|
15842
|
+
slots,
|
|
15843
|
+
slotProps,
|
|
15744
15844
|
...other
|
|
15745
15845
|
} = props;
|
|
15746
|
-
const
|
|
15747
|
-
|
|
15748
|
-
|
|
15749
|
-
|
|
15750
|
-
|
|
15751
|
-
|
|
15752
|
-
|
|
15753
|
-
|
|
15846
|
+
const RootComponent = (slots == null ? void 0 : slots.root) ?? (components == null ? void 0 : components.Root);
|
|
15847
|
+
const otherProps = {
|
|
15848
|
+
anchorEl,
|
|
15849
|
+
container,
|
|
15850
|
+
disablePortal,
|
|
15851
|
+
keepMounted,
|
|
15852
|
+
modifiers: modifiers2,
|
|
15853
|
+
open,
|
|
15854
|
+
placement,
|
|
15855
|
+
popperOptions,
|
|
15856
|
+
popperRef,
|
|
15857
|
+
transition: transition2,
|
|
15858
|
+
...other
|
|
15754
15859
|
};
|
|
15755
|
-
|
|
15756
|
-
|
|
15757
|
-
|
|
15758
|
-
|
|
15759
|
-
|
|
15760
|
-
const circumference = 2 * Math.PI * ((SIZE - thickness) / 2);
|
|
15761
|
-
circleStyle.strokeDasharray = circumference.toFixed(3);
|
|
15762
|
-
rootProps["aria-valuenow"] = Math.round(value);
|
|
15763
|
-
circleStyle.strokeDashoffset = `${((100 - value) / 100 * circumference).toFixed(3)}px`;
|
|
15764
|
-
rootStyle.transform = "rotate(-90deg)";
|
|
15765
|
-
}
|
|
15766
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressRoot, {
|
|
15767
|
-
className: clsx$1(classes2.root, className),
|
|
15768
|
-
style: {
|
|
15769
|
-
width: size2,
|
|
15770
|
-
height: size2,
|
|
15771
|
-
...rootStyle,
|
|
15772
|
-
...style2
|
|
15860
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(PopperRoot, {
|
|
15861
|
+
as: component,
|
|
15862
|
+
direction: isRtl ? "rtl" : "ltr",
|
|
15863
|
+
slots: {
|
|
15864
|
+
root: RootComponent
|
|
15773
15865
|
},
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
|
|
15777
|
-
...rootProps,
|
|
15778
|
-
...other,
|
|
15779
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressSVG, {
|
|
15780
|
-
className: classes2.svg,
|
|
15781
|
-
ownerState,
|
|
15782
|
-
viewBox: `${SIZE / 2} ${SIZE / 2} ${SIZE} ${SIZE}`,
|
|
15783
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressCircle, {
|
|
15784
|
-
className: classes2.circle,
|
|
15785
|
-
style: circleStyle,
|
|
15786
|
-
ownerState,
|
|
15787
|
-
cx: SIZE,
|
|
15788
|
-
cy: SIZE,
|
|
15789
|
-
r: (SIZE - thickness) / 2,
|
|
15790
|
-
fill: "none",
|
|
15791
|
-
strokeWidth: thickness
|
|
15792
|
-
})
|
|
15793
|
-
})
|
|
15866
|
+
slotProps: slotProps ?? componentsProps,
|
|
15867
|
+
...otherProps,
|
|
15868
|
+
ref
|
|
15794
15869
|
});
|
|
15795
15870
|
});
|
|
15796
|
-
|
|
15871
|
+
Popper$1.propTypes = {
|
|
15797
15872
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
15798
15873
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
15799
|
-
// │
|
|
15874
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
15800
15875
|
// └─────────────────────────────────────────────────────────────────────┘
|
|
15801
15876
|
/**
|
|
15802
|
-
*
|
|
15877
|
+
* An HTML element, [virtualElement](https://popper.js.org/docs/v2/virtual-elements/),
|
|
15878
|
+
* or a function that returns either.
|
|
15879
|
+
* It's used to set the position of the popper.
|
|
15880
|
+
* The return value will passed as the reference object of the Popper instance.
|
|
15803
15881
|
*/
|
|
15804
|
-
|
|
15882
|
+
anchorEl: PropTypes.oneOfType([HTMLElementType, PropTypes.object, PropTypes.func]),
|
|
15805
15883
|
/**
|
|
15806
|
-
*
|
|
15884
|
+
* Popper render function or node.
|
|
15807
15885
|
*/
|
|
15808
|
-
|
|
15886
|
+
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
15809
15887
|
/**
|
|
15810
|
-
* The
|
|
15811
|
-
*
|
|
15812
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
15813
|
-
* @default 'primary'
|
|
15888
|
+
* The component used for the root node.
|
|
15889
|
+
* Either a string to use a HTML element or a component.
|
|
15814
15890
|
*/
|
|
15815
|
-
|
|
15891
|
+
component: PropTypes.elementType,
|
|
15816
15892
|
/**
|
|
15817
|
-
*
|
|
15818
|
-
*
|
|
15819
|
-
*
|
|
15893
|
+
* The components used for each slot inside the Popper.
|
|
15894
|
+
* Either a string to use a HTML element or a component.
|
|
15895
|
+
*
|
|
15896
|
+
* @deprecated use the `slots` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
15897
|
+
* @default {}
|
|
15820
15898
|
*/
|
|
15821
|
-
|
|
15822
|
-
|
|
15823
|
-
return new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect.");
|
|
15824
|
-
}
|
|
15825
|
-
return null;
|
|
15899
|
+
components: PropTypes.shape({
|
|
15900
|
+
Root: PropTypes.elementType
|
|
15826
15901
|
}),
|
|
15827
15902
|
/**
|
|
15828
|
-
* The
|
|
15829
|
-
*
|
|
15830
|
-
*
|
|
15831
|
-
* @default
|
|
15903
|
+
* The props used for each slot inside the Popper.
|
|
15904
|
+
*
|
|
15905
|
+
* @deprecated use the `slotProps` prop instead. This prop will be removed in a future major release. [How to migrate](/material-ui/migration/migrating-from-deprecated-apis/).
|
|
15906
|
+
* @default {}
|
|
15832
15907
|
*/
|
|
15833
|
-
|
|
15908
|
+
componentsProps: PropTypes.shape({
|
|
15909
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
15910
|
+
}),
|
|
15834
15911
|
/**
|
|
15835
|
-
*
|
|
15912
|
+
* An HTML element or function that returns one.
|
|
15913
|
+
* The `container` will have the portal children appended to it.
|
|
15914
|
+
*
|
|
15915
|
+
* You can also provide a callback, which is called in a React layout effect.
|
|
15916
|
+
* This lets you set the container from a ref, and also makes server-side rendering possible.
|
|
15917
|
+
*
|
|
15918
|
+
* By default, it uses the body of the top-level document object,
|
|
15919
|
+
* so it's simply `document.body` most of the time.
|
|
15836
15920
|
*/
|
|
15837
|
-
|
|
15921
|
+
container: PropTypes.oneOfType([HTMLElementType, PropTypes.func]),
|
|
15838
15922
|
/**
|
|
15839
|
-
* The
|
|
15923
|
+
* The `children` will be under the DOM hierarchy of the parent component.
|
|
15924
|
+
* @default false
|
|
15840
15925
|
*/
|
|
15841
|
-
|
|
15926
|
+
disablePortal: PropTypes.bool,
|
|
15842
15927
|
/**
|
|
15843
|
-
*
|
|
15844
|
-
*
|
|
15928
|
+
* Always keep the children in the DOM.
|
|
15929
|
+
* This prop can be useful in SEO situation or
|
|
15930
|
+
* when you want to maximize the responsiveness of the Popper.
|
|
15931
|
+
* @default false
|
|
15845
15932
|
*/
|
|
15846
|
-
|
|
15933
|
+
keepMounted: PropTypes.bool,
|
|
15847
15934
|
/**
|
|
15848
|
-
*
|
|
15849
|
-
*
|
|
15850
|
-
*
|
|
15935
|
+
* Popper.js is based on a "plugin-like" architecture,
|
|
15936
|
+
* most of its features are fully encapsulated "modifiers".
|
|
15937
|
+
*
|
|
15938
|
+
* A modifier is a function that is called each time Popper.js needs to
|
|
15939
|
+
* compute the position of the popper.
|
|
15940
|
+
* For this reason, modifiers should be very performant to avoid bottlenecks.
|
|
15941
|
+
* To learn how to create a modifier, [read the modifiers documentation](https://popper.js.org/docs/v2/modifiers/).
|
|
15851
15942
|
*/
|
|
15852
|
-
|
|
15943
|
+
modifiers: PropTypes.arrayOf(PropTypes.shape({
|
|
15944
|
+
data: PropTypes.object,
|
|
15945
|
+
effect: PropTypes.func,
|
|
15946
|
+
enabled: PropTypes.bool,
|
|
15947
|
+
fn: PropTypes.func,
|
|
15948
|
+
name: PropTypes.any,
|
|
15949
|
+
options: PropTypes.object,
|
|
15950
|
+
phase: PropTypes.oneOf(["afterMain", "afterRead", "afterWrite", "beforeMain", "beforeRead", "beforeWrite", "main", "read", "write"]),
|
|
15951
|
+
requires: PropTypes.arrayOf(PropTypes.string),
|
|
15952
|
+
requiresIfExists: PropTypes.arrayOf(PropTypes.string)
|
|
15953
|
+
})),
|
|
15853
15954
|
/**
|
|
15854
|
-
*
|
|
15855
|
-
* Use indeterminate when there is no progress value.
|
|
15856
|
-
* @default 'indeterminate'
|
|
15955
|
+
* If `true`, the component is shown.
|
|
15857
15956
|
*/
|
|
15858
|
-
|
|
15957
|
+
open: PropTypes.bool.isRequired,
|
|
15958
|
+
/**
|
|
15959
|
+
* Popper placement.
|
|
15960
|
+
* @default 'bottom'
|
|
15961
|
+
*/
|
|
15962
|
+
placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
15963
|
+
/**
|
|
15964
|
+
* Options provided to the [`Popper.js`](https://popper.js.org/docs/v2/constructors/#options) instance.
|
|
15965
|
+
* @default {}
|
|
15966
|
+
*/
|
|
15967
|
+
popperOptions: PropTypes.shape({
|
|
15968
|
+
modifiers: PropTypes.array,
|
|
15969
|
+
onFirstUpdate: PropTypes.func,
|
|
15970
|
+
placement: PropTypes.oneOf(["auto-end", "auto-start", "auto", "bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
15971
|
+
strategy: PropTypes.oneOf(["absolute", "fixed"])
|
|
15972
|
+
}),
|
|
15973
|
+
/**
|
|
15974
|
+
* A ref that points to the used popper instance.
|
|
15975
|
+
*/
|
|
15976
|
+
popperRef: refType,
|
|
15977
|
+
/**
|
|
15978
|
+
* The props used for each slot inside the Popper.
|
|
15979
|
+
* @default {}
|
|
15980
|
+
*/
|
|
15981
|
+
slotProps: PropTypes.shape({
|
|
15982
|
+
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
15983
|
+
}),
|
|
15984
|
+
/**
|
|
15985
|
+
* The components used for each slot inside the Popper.
|
|
15986
|
+
* Either a string to use a HTML element or a component.
|
|
15987
|
+
* @default {}
|
|
15988
|
+
*/
|
|
15989
|
+
slots: PropTypes.shape({
|
|
15990
|
+
root: PropTypes.elementType
|
|
15991
|
+
}),
|
|
15992
|
+
/**
|
|
15993
|
+
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
15994
|
+
*/
|
|
15995
|
+
sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),
|
|
15996
|
+
/**
|
|
15997
|
+
* Help supporting a react-transition-group/Transition component.
|
|
15998
|
+
* @default false
|
|
15999
|
+
*/
|
|
16000
|
+
transition: PropTypes.bool
|
|
15859
16001
|
};
|
|
15860
|
-
function
|
|
15861
|
-
return generateUtilityClass("
|
|
16002
|
+
function getListSubheaderUtilityClass(slot) {
|
|
16003
|
+
return generateUtilityClass("MuiListSubheader", slot);
|
|
15862
16004
|
}
|
|
15863
|
-
|
|
16005
|
+
generateUtilityClasses("MuiListSubheader", ["root", "colorPrimary", "colorInherit", "gutters", "inset", "sticky"]);
|
|
15864
16006
|
const useUtilityClasses$1o = (ownerState) => {
|
|
15865
16007
|
const {
|
|
15866
16008
|
classes: classes2,
|
|
15867
|
-
disabled,
|
|
15868
16009
|
color: color2,
|
|
15869
|
-
|
|
15870
|
-
|
|
15871
|
-
|
|
16010
|
+
disableGutters,
|
|
16011
|
+
inset,
|
|
16012
|
+
disableSticky
|
|
15872
16013
|
} = ownerState;
|
|
15873
16014
|
const slots = {
|
|
15874
|
-
root: ["root",
|
|
15875
|
-
loadingIndicator: ["loadingIndicator"],
|
|
15876
|
-
loadingWrapper: ["loadingWrapper"]
|
|
16015
|
+
root: ["root", color2 !== "default" && `color${capitalize(color2)}`, !disableGutters && "gutters", inset && "inset", !disableSticky && "sticky"]
|
|
15877
16016
|
};
|
|
15878
|
-
return composeClasses(slots,
|
|
16017
|
+
return composeClasses(slots, getListSubheaderUtilityClass, classes2);
|
|
15879
16018
|
};
|
|
15880
|
-
const
|
|
15881
|
-
name: "
|
|
16019
|
+
const ListSubheaderRoot = styled("li", {
|
|
16020
|
+
name: "MuiListSubheader",
|
|
15882
16021
|
slot: "Root",
|
|
15883
16022
|
overridesResolver: (props, styles2) => {
|
|
15884
16023
|
const {
|
|
15885
16024
|
ownerState
|
|
15886
16025
|
} = props;
|
|
15887
|
-
return [styles2.root, ownerState.
|
|
16026
|
+
return [styles2.root, ownerState.color !== "default" && styles2[`color${capitalize(ownerState.color)}`], !ownerState.disableGutters && styles2.gutters, ownerState.inset && styles2.inset, !ownerState.disableSticky && styles2.sticky];
|
|
15888
16027
|
}
|
|
15889
16028
|
})(memoTheme(({
|
|
15890
16029
|
theme
|
|
15891
16030
|
}) => ({
|
|
15892
|
-
|
|
15893
|
-
|
|
15894
|
-
|
|
15895
|
-
|
|
15896
|
-
|
|
15897
|
-
|
|
15898
|
-
|
|
15899
|
-
duration: theme.transitions.duration.shortest
|
|
15900
|
-
}),
|
|
16031
|
+
boxSizing: "border-box",
|
|
16032
|
+
lineHeight: "48px",
|
|
16033
|
+
listStyle: "none",
|
|
16034
|
+
color: (theme.vars || theme).palette.text.secondary,
|
|
16035
|
+
fontFamily: theme.typography.fontFamily,
|
|
16036
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
16037
|
+
fontSize: theme.typography.pxToRem(14),
|
|
15901
16038
|
variants: [{
|
|
15902
|
-
props: (props) => !props.disableRipple,
|
|
15903
|
-
style: {
|
|
15904
|
-
"--IconButton-hoverBg": theme.vars ? `rgba(${theme.vars.palette.action.activeChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha(theme.palette.action.active, theme.palette.action.hoverOpacity),
|
|
15905
|
-
"&:hover": {
|
|
15906
|
-
backgroundColor: "var(--IconButton-hoverBg)",
|
|
15907
|
-
// Reset on touch devices, it doesn't add specificity
|
|
15908
|
-
"@media (hover: none)": {
|
|
15909
|
-
backgroundColor: "transparent"
|
|
15910
|
-
}
|
|
15911
|
-
}
|
|
15912
|
-
}
|
|
15913
|
-
}, {
|
|
15914
|
-
props: {
|
|
15915
|
-
edge: "start"
|
|
15916
|
-
},
|
|
15917
|
-
style: {
|
|
15918
|
-
marginLeft: -12
|
|
15919
|
-
}
|
|
15920
|
-
}, {
|
|
15921
|
-
props: {
|
|
15922
|
-
edge: "start",
|
|
15923
|
-
size: "small"
|
|
15924
|
-
},
|
|
15925
|
-
style: {
|
|
15926
|
-
marginLeft: -3
|
|
15927
|
-
}
|
|
15928
|
-
}, {
|
|
15929
16039
|
props: {
|
|
15930
|
-
|
|
16040
|
+
color: "primary"
|
|
15931
16041
|
},
|
|
15932
16042
|
style: {
|
|
15933
|
-
|
|
16043
|
+
color: (theme.vars || theme).palette.primary.main
|
|
15934
16044
|
}
|
|
15935
16045
|
}, {
|
|
15936
|
-
props: {
|
|
15937
|
-
edge: "end",
|
|
15938
|
-
size: "small"
|
|
15939
|
-
},
|
|
15940
|
-
style: {
|
|
15941
|
-
marginRight: -3
|
|
15942
|
-
}
|
|
15943
|
-
}]
|
|
15944
|
-
})), memoTheme(({
|
|
15945
|
-
theme
|
|
15946
|
-
}) => ({
|
|
15947
|
-
variants: [{
|
|
15948
16046
|
props: {
|
|
15949
16047
|
color: "inherit"
|
|
15950
16048
|
},
|
|
15951
16049
|
style: {
|
|
15952
16050
|
color: "inherit"
|
|
15953
16051
|
}
|
|
15954
|
-
},
|
|
15955
|
-
props: {
|
|
15956
|
-
|
|
15957
|
-
},
|
|
15958
|
-
style: {
|
|
15959
|
-
color: (theme.vars || theme).palette[color2].main
|
|
15960
|
-
}
|
|
15961
|
-
})), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter()).map(([color2]) => ({
|
|
15962
|
-
props: {
|
|
15963
|
-
color: color2
|
|
15964
|
-
},
|
|
15965
|
-
style: {
|
|
15966
|
-
"--IconButton-hoverBg": theme.vars ? `rgba(${(theme.vars || theme).palette[color2].mainChannel} / ${theme.vars.palette.action.hoverOpacity})` : alpha((theme.vars || theme).palette[color2].main, theme.palette.action.hoverOpacity)
|
|
15967
|
-
}
|
|
15968
|
-
})), {
|
|
15969
|
-
props: {
|
|
15970
|
-
size: "small"
|
|
15971
|
-
},
|
|
16052
|
+
}, {
|
|
16053
|
+
props: ({
|
|
16054
|
+
ownerState
|
|
16055
|
+
}) => !ownerState.disableGutters,
|
|
15972
16056
|
style: {
|
|
15973
|
-
|
|
15974
|
-
|
|
16057
|
+
paddingLeft: 16,
|
|
16058
|
+
paddingRight: 16
|
|
15975
16059
|
}
|
|
15976
16060
|
}, {
|
|
15977
|
-
props: {
|
|
15978
|
-
|
|
15979
|
-
},
|
|
16061
|
+
props: ({
|
|
16062
|
+
ownerState
|
|
16063
|
+
}) => ownerState.inset,
|
|
15980
16064
|
style: {
|
|
15981
|
-
|
|
15982
|
-
fontSize: theme.typography.pxToRem(28)
|
|
16065
|
+
paddingLeft: 72
|
|
15983
16066
|
}
|
|
15984
|
-
}
|
|
15985
|
-
|
|
15986
|
-
|
|
15987
|
-
|
|
15988
|
-
},
|
|
15989
|
-
[`&.${iconButtonClasses.loading}`]: {
|
|
15990
|
-
color: "transparent"
|
|
15991
|
-
}
|
|
15992
|
-
})));
|
|
15993
|
-
const IconButtonLoadingIndicator = styled("span", {
|
|
15994
|
-
name: "MuiIconButton",
|
|
15995
|
-
slot: "LoadingIndicator"
|
|
15996
|
-
})(({
|
|
15997
|
-
theme
|
|
15998
|
-
}) => ({
|
|
15999
|
-
display: "none",
|
|
16000
|
-
position: "absolute",
|
|
16001
|
-
visibility: "visible",
|
|
16002
|
-
top: "50%",
|
|
16003
|
-
left: "50%",
|
|
16004
|
-
transform: "translate(-50%, -50%)",
|
|
16005
|
-
color: (theme.vars || theme).palette.action.disabled,
|
|
16006
|
-
variants: [{
|
|
16007
|
-
props: {
|
|
16008
|
-
loading: true
|
|
16009
|
-
},
|
|
16067
|
+
}, {
|
|
16068
|
+
props: ({
|
|
16069
|
+
ownerState
|
|
16070
|
+
}) => !ownerState.disableSticky,
|
|
16010
16071
|
style: {
|
|
16011
|
-
|
|
16072
|
+
position: "sticky",
|
|
16073
|
+
top: 0,
|
|
16074
|
+
zIndex: 1,
|
|
16075
|
+
backgroundColor: (theme.vars || theme).palette.background.paper
|
|
16012
16076
|
}
|
|
16013
16077
|
}]
|
|
16014
|
-
}));
|
|
16015
|
-
const
|
|
16078
|
+
})));
|
|
16079
|
+
const ListSubheader = /* @__PURE__ */ React.forwardRef(function ListSubheader2(inProps, ref) {
|
|
16016
16080
|
const props = useDefaultProps({
|
|
16017
16081
|
props: inProps,
|
|
16018
|
-
name: "
|
|
16082
|
+
name: "MuiListSubheader"
|
|
16019
16083
|
});
|
|
16020
16084
|
const {
|
|
16021
|
-
edge = false,
|
|
16022
|
-
children,
|
|
16023
16085
|
className,
|
|
16024
16086
|
color: color2 = "default",
|
|
16025
|
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
|
|
16029
|
-
loading = null,
|
|
16030
|
-
loadingIndicator: loadingIndicatorProp,
|
|
16087
|
+
component = "li",
|
|
16088
|
+
disableGutters = false,
|
|
16089
|
+
disableSticky = false,
|
|
16090
|
+
inset = false,
|
|
16031
16091
|
...other
|
|
16032
16092
|
} = props;
|
|
16033
|
-
const loadingId = useId(idProp);
|
|
16034
|
-
const loadingIndicator = loadingIndicatorProp ?? /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgress, {
|
|
16035
|
-
"aria-labelledby": loadingId,
|
|
16036
|
-
color: "inherit",
|
|
16037
|
-
size: 16
|
|
16038
|
-
});
|
|
16039
16093
|
const ownerState = {
|
|
16040
16094
|
...props,
|
|
16041
|
-
edge,
|
|
16042
16095
|
color: color2,
|
|
16043
|
-
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
size: size2
|
|
16096
|
+
component,
|
|
16097
|
+
disableGutters,
|
|
16098
|
+
disableSticky,
|
|
16099
|
+
inset
|
|
16048
16100
|
};
|
|
16049
16101
|
const classes2 = useUtilityClasses$1o(ownerState);
|
|
16050
|
-
return /* @__PURE__ */ jsxRuntimeExports.
|
|
16051
|
-
|
|
16102
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsx(ListSubheaderRoot, {
|
|
16103
|
+
as: component,
|
|
16052
16104
|
className: clsx$1(classes2.root, className),
|
|
16053
|
-
centerRipple: true,
|
|
16054
|
-
focusRipple: !disableFocusRipple,
|
|
16055
|
-
disabled: disabled || loading,
|
|
16056
16105
|
ref,
|
|
16057
|
-
...other,
|
|
16058
16106
|
ownerState,
|
|
16059
|
-
|
|
16060
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", {
|
|
16061
|
-
className: classes2.loadingWrapper,
|
|
16062
|
-
style: {
|
|
16063
|
-
display: "contents"
|
|
16064
|
-
},
|
|
16065
|
-
children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconButtonLoadingIndicator, {
|
|
16066
|
-
className: classes2.loadingIndicator,
|
|
16067
|
-
ownerState,
|
|
16068
|
-
children: loading && loadingIndicator
|
|
16069
|
-
})
|
|
16070
|
-
}), children]
|
|
16107
|
+
...other
|
|
16071
16108
|
});
|
|
16072
16109
|
});
|
|
16073
|
-
|
|
16110
|
+
if (ListSubheader) {
|
|
16111
|
+
ListSubheader.muiSkipListHighlight = true;
|
|
16112
|
+
}
|
|
16113
|
+
ListSubheader.propTypes = {
|
|
16074
16114
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
16075
16115
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
16076
16116
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
16077
16117
|
// └─────────────────────────────────────────────────────────────────────┘
|
|
16078
16118
|
/**
|
|
16079
|
-
* The
|
|
16119
|
+
* The content of the component.
|
|
16080
16120
|
*/
|
|
16081
|
-
children:
|
|
16082
|
-
const found = React.Children.toArray(props.children).some((child) => /* @__PURE__ */ React.isValidElement(child) && child.props.onClick);
|
|
16083
|
-
if (found) {
|
|
16084
|
-
return new Error(["MUI: You are providing an onClick event listener to a child of a button element.", "Prefer applying it to the IconButton directly.", "This guarantees that the whole <button> will be responsive to click events."].join("\n"));
|
|
16085
|
-
}
|
|
16086
|
-
return null;
|
|
16087
|
-
}),
|
|
16121
|
+
children: PropTypes.node,
|
|
16088
16122
|
/**
|
|
16089
16123
|
* Override or extend the styles applied to the component.
|
|
16090
16124
|
*/
|
|
@@ -16094,61 +16128,30 @@ IconButton.propTypes = {
|
|
|
16094
16128
|
*/
|
|
16095
16129
|
className: PropTypes.string,
|
|
16096
16130
|
/**
|
|
16097
|
-
* The color of the component.
|
|
16098
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
|
16099
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
|
16131
|
+
* The color of the component. It supports those theme colors that make sense for this component.
|
|
16100
16132
|
* @default 'default'
|
|
16101
16133
|
*/
|
|
16102
|
-
color: PropTypes.
|
|
16134
|
+
color: PropTypes.oneOf(["default", "inherit", "primary"]),
|
|
16103
16135
|
/**
|
|
16104
|
-
*
|
|
16105
|
-
*
|
|
16136
|
+
* The component used for the root node.
|
|
16137
|
+
* Either a string to use a HTML element or a component.
|
|
16106
16138
|
*/
|
|
16107
|
-
|
|
16139
|
+
component: PropTypes.elementType,
|
|
16108
16140
|
/**
|
|
16109
|
-
* If `true`, the
|
|
16141
|
+
* If `true`, the List Subheader will not have gutters.
|
|
16110
16142
|
* @default false
|
|
16111
16143
|
*/
|
|
16112
|
-
|
|
16144
|
+
disableGutters: PropTypes.bool,
|
|
16113
16145
|
/**
|
|
16114
|
-
* If `true`, the
|
|
16115
|
-
*
|
|
16116
|
-
* ⚠️ Without a ripple there is no styling for :focus-visible by default. Be sure
|
|
16117
|
-
* to highlight the element by applying separate styles with the `.Mui-focusVisible` class.
|
|
16146
|
+
* If `true`, the List Subheader will not stick to the top during scroll.
|
|
16118
16147
|
* @default false
|
|
16119
16148
|
*/
|
|
16120
|
-
|
|
16149
|
+
disableSticky: PropTypes.bool,
|
|
16121
16150
|
/**
|
|
16122
|
-
* If
|
|
16123
|
-
* side (this is often helpful for aligning the left or right
|
|
16124
|
-
* side of the icon with content above or below, without ruining the border
|
|
16125
|
-
* size and shape).
|
|
16151
|
+
* If `true`, the List Subheader is indented.
|
|
16126
16152
|
* @default false
|
|
16127
16153
|
*/
|
|
16128
|
-
|
|
16129
|
-
/**
|
|
16130
|
-
* @ignore
|
|
16131
|
-
*/
|
|
16132
|
-
id: PropTypes.string,
|
|
16133
|
-
/**
|
|
16134
|
-
* If `true`, the loading indicator is visible and the button is disabled.
|
|
16135
|
-
* If `true | false`, the loading wrapper is always rendered before the children to prevent [Google Translation Crash](https://github.com/mui/material-ui/issues/27853).
|
|
16136
|
-
* @default null
|
|
16137
|
-
*/
|
|
16138
|
-
loading: PropTypes.bool,
|
|
16139
|
-
/**
|
|
16140
|
-
* Element placed before the children if the button is in loading state.
|
|
16141
|
-
* The node should contain an element with `role="progressbar"` with an accessible name.
|
|
16142
|
-
* By default, it renders a `CircularProgress` that is labeled by the button itself.
|
|
16143
|
-
* @default <CircularProgress color="inherit" size={16} />
|
|
16144
|
-
*/
|
|
16145
|
-
loadingIndicator: PropTypes.node,
|
|
16146
|
-
/**
|
|
16147
|
-
* The size of the component.
|
|
16148
|
-
* `small` is equivalent to the dense button styling.
|
|
16149
|
-
* @default 'medium'
|
|
16150
|
-
*/
|
|
16151
|
-
size: PropTypes.oneOfType([PropTypes.oneOf(["small", "medium", "large"]), PropTypes.string]),
|
|
16154
|
+
inset: PropTypes.bool,
|
|
16152
16155
|
/**
|
|
16153
16156
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
16154
16157
|
*/
|
|
@@ -17689,9 +17692,6 @@ const filledInputClasses = {
|
|
|
17689
17692
|
...inputBaseClasses,
|
|
17690
17693
|
...generateUtilityClasses("MuiFilledInput", ["root", "underline", "input", "adornedStart", "adornedEnd", "sizeSmall", "multiline", "hiddenLabel"])
|
|
17691
17694
|
};
|
|
17692
|
-
const CloseIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
|
|
17693
|
-
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
17694
|
-
}), "Close");
|
|
17695
17695
|
const ArrowDropDownIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
|
|
17696
17696
|
d: "M7 10l5 5 5-5z"
|
|
17697
17697
|
}), "ArrowDropDown");
|
|
@@ -18079,7 +18079,7 @@ const Autocomplete = /* @__PURE__ */ React.forwardRef(function Autocomplete2(inP
|
|
|
18079
18079
|
blurOnSelect = false,
|
|
18080
18080
|
ChipProps: ChipPropsProp,
|
|
18081
18081
|
className,
|
|
18082
|
-
clearIcon = _ClearIcon || (_ClearIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
18082
|
+
clearIcon = _ClearIcon || (_ClearIcon = /* @__PURE__ */ jsxRuntimeExports.jsx(ClearIcon, {
|
|
18083
18083
|
fontSize: "small"
|
|
18084
18084
|
})),
|
|
18085
18085
|
clearOnBlur = !props.freeSolo,
|
|
@@ -61734,6 +61734,7 @@ function SelectSpecific(props) {
|
|
|
61734
61734
|
});
|
|
61735
61735
|
const anyLoading = queries.some((q) => q.isFetching);
|
|
61736
61736
|
const anyError = queries.some((q) => q.isError);
|
|
61737
|
+
anyError ? queries.filter((q) => q.isError).map((q) => q.error) : [];
|
|
61737
61738
|
const dataStatus = anyLoading ? "loading" : anyError ? "error" : "success";
|
|
61738
61739
|
const data = queries.flatMap((q) => q.data).filter(Boolean);
|
|
61739
61740
|
const rows = useMemo(() => data.map((d) => ({
|
|
@@ -63045,7 +63046,13 @@ function SampleSetPairManagerSubscriber(props) {
|
|
|
63045
63046
|
{ sampleType }
|
|
63046
63047
|
);
|
|
63047
63048
|
const sampleSetsColumnNameMappingReversed = useColumnNameMapping(sampleSetsLoader, true);
|
|
63048
|
-
const [
|
|
63049
|
+
const [
|
|
63050
|
+
// eslint-disable-next-line no-unused-vars
|
|
63051
|
+
{ comparisonMetadata },
|
|
63052
|
+
cmpMetadataStatus,
|
|
63053
|
+
cmpMetadataUrls,
|
|
63054
|
+
cmpMetadataError
|
|
63055
|
+
] = useComparisonMetadata(
|
|
63049
63056
|
loaders,
|
|
63050
63057
|
dataset,
|
|
63051
63058
|
false,
|
|
@@ -63053,6 +63060,9 @@ function SampleSetPairManagerSubscriber(props) {
|
|
|
63053
63060
|
{},
|
|
63054
63061
|
{ obsType, sampleType }
|
|
63055
63062
|
);
|
|
63063
|
+
const errors = [
|
|
63064
|
+
cmpMetadataError
|
|
63065
|
+
];
|
|
63056
63066
|
const isReady = useReady([
|
|
63057
63067
|
cmpMetadataStatus
|
|
63058
63068
|
]);
|
|
@@ -63090,7 +63100,8 @@ function SampleSetPairManagerSubscriber(props) {
|
|
|
63090
63100
|
isScroll: true,
|
|
63091
63101
|
theme,
|
|
63092
63102
|
isReady,
|
|
63093
|
-
helpText
|
|
63103
|
+
helpText,
|
|
63104
|
+
errors
|
|
63094
63105
|
},
|
|
63095
63106
|
/* @__PURE__ */ React__default.createElement("ul", { className: classes2.pairUl }, stratificationOptions == null ? void 0 : stratificationOptions.map((pairObj) => {
|
|
63096
63107
|
const isSelected = Array.isArray(sampleSetSelection) && sampleSetSelection.length === 2 && (isEqual(pairObj.sampleSets, sampleSetSelection) || isEqual(pairObj.sampleSets, [sampleSetSelection == null ? void 0 : sampleSetSelection[1], sampleSetSelection == null ? void 0 : sampleSetSelection[0]]));
|