@nebula.js/stardust 4.7.0 → 4.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/esm/dev.js +497 -367
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +4 -4
- package/core/esm/index.js.map +1 -1
- package/core/package.json +2 -2
- package/dist/stardust.dev.js +575 -446
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +9 -9
- package/dist/stardust.js.map +1 -1
- package/package.json +12 -12
- package/types/index.d.ts +0 -2
package/dist/stardust.dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust v4.
|
|
2
|
+
* @nebula.js/stardust v4.8.1
|
|
3
3
|
* Copyright (c) 2023 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
@@ -6952,7 +6952,7 @@
|
|
|
6952
6952
|
}
|
|
6953
6953
|
|
|
6954
6954
|
/**
|
|
6955
|
-
* @mui/styled-engine v5.14.
|
|
6955
|
+
* @mui/styled-engine v5.14.18
|
|
6956
6956
|
*
|
|
6957
6957
|
* @license MIT
|
|
6958
6958
|
* This source code is licensed under the MIT license found in the
|
|
@@ -7000,7 +7000,7 @@
|
|
|
7000
7000
|
return target;
|
|
7001
7001
|
}
|
|
7002
7002
|
|
|
7003
|
-
const _excluded$
|
|
7003
|
+
const _excluded$S = ["values", "unit", "step"];
|
|
7004
7004
|
const sortBreakpointsValues = values => {
|
|
7005
7005
|
const breakpointsAsArray = Object.keys(values).map(key => ({
|
|
7006
7006
|
key,
|
|
@@ -7035,7 +7035,7 @@
|
|
|
7035
7035
|
unit = 'px',
|
|
7036
7036
|
step = 5
|
|
7037
7037
|
} = breakpoints,
|
|
7038
|
-
other = _objectWithoutPropertiesLoose$2(breakpoints, _excluded$
|
|
7038
|
+
other = _objectWithoutPropertiesLoose$2(breakpoints, _excluded$S);
|
|
7039
7039
|
const sortedValues = sortBreakpointsValues(values);
|
|
7040
7040
|
const keys = Object.keys(sortedValues);
|
|
7041
7041
|
function up(key) {
|
|
@@ -8088,7 +8088,7 @@
|
|
|
8088
8088
|
styleFunctionSx.filterProps = ['sx'];
|
|
8089
8089
|
var styleFunctionSx$1 = styleFunctionSx;
|
|
8090
8090
|
|
|
8091
|
-
const _excluded$
|
|
8091
|
+
const _excluded$R = ["breakpoints", "palette", "spacing", "shape"];
|
|
8092
8092
|
function createTheme$1(options = {}, ...args) {
|
|
8093
8093
|
const {
|
|
8094
8094
|
breakpoints: breakpointsInput = {},
|
|
@@ -8096,7 +8096,7 @@
|
|
|
8096
8096
|
spacing: spacingInput,
|
|
8097
8097
|
shape: shapeInput = {}
|
|
8098
8098
|
} = options,
|
|
8099
|
-
other = _objectWithoutPropertiesLoose$2(options, _excluded$
|
|
8099
|
+
other = _objectWithoutPropertiesLoose$2(options, _excluded$R);
|
|
8100
8100
|
const breakpoints = createBreakpoints(breakpointsInput);
|
|
8101
8101
|
const spacing = createSpacing(spacingInput);
|
|
8102
8102
|
let muiTheme = deepmerge({
|
|
@@ -8146,7 +8146,7 @@
|
|
|
8146
8146
|
});
|
|
8147
8147
|
}
|
|
8148
8148
|
|
|
8149
|
-
const _excluded$
|
|
8149
|
+
const _excluded$Q = ["sx"];
|
|
8150
8150
|
const splitProps = props => {
|
|
8151
8151
|
var _props$theme$unstable, _props$theme;
|
|
8152
8152
|
const result = {
|
|
@@ -8167,7 +8167,7 @@
|
|
|
8167
8167
|
const {
|
|
8168
8168
|
sx: inSx
|
|
8169
8169
|
} = props,
|
|
8170
|
-
other = _objectWithoutPropertiesLoose$2(props, _excluded$
|
|
8170
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$Q);
|
|
8171
8171
|
const {
|
|
8172
8172
|
systemProps,
|
|
8173
8173
|
otherProps
|
|
@@ -8193,7 +8193,7 @@
|
|
|
8193
8193
|
|
|
8194
8194
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function clsx(){for(var e,t,f=0,n="";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
8195
8195
|
|
|
8196
|
-
const _excluded$
|
|
8196
|
+
const _excluded$P = ["className", "component"];
|
|
8197
8197
|
function createBox(options = {}) {
|
|
8198
8198
|
const {
|
|
8199
8199
|
themeId,
|
|
@@ -8211,7 +8211,7 @@
|
|
|
8211
8211
|
className,
|
|
8212
8212
|
component = 'div'
|
|
8213
8213
|
} = _extendSxProp,
|
|
8214
|
-
other = _objectWithoutPropertiesLoose$2(_extendSxProp, _excluded$
|
|
8214
|
+
other = _objectWithoutPropertiesLoose$2(_extendSxProp, _excluded$P);
|
|
8215
8215
|
return /*#__PURE__*/jsxRuntimeExports.jsx(BoxRoot, _extends$3({
|
|
8216
8216
|
as: component,
|
|
8217
8217
|
ref: ref,
|
|
@@ -8222,7 +8222,7 @@
|
|
|
8222
8222
|
return Box;
|
|
8223
8223
|
}
|
|
8224
8224
|
|
|
8225
|
-
const _excluded$
|
|
8225
|
+
const _excluded$O = ["variant"];
|
|
8226
8226
|
function isEmpty$3(string) {
|
|
8227
8227
|
return string.length === 0;
|
|
8228
8228
|
}
|
|
@@ -8236,7 +8236,7 @@
|
|
|
8236
8236
|
const {
|
|
8237
8237
|
variant
|
|
8238
8238
|
} = props,
|
|
8239
|
-
other = _objectWithoutPropertiesLoose$2(props, _excluded$
|
|
8239
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$O);
|
|
8240
8240
|
let classKey = variant || '';
|
|
8241
8241
|
Object.keys(other).sort().forEach(key => {
|
|
8242
8242
|
if (key === 'color') {
|
|
@@ -8248,7 +8248,7 @@
|
|
|
8248
8248
|
return classKey;
|
|
8249
8249
|
}
|
|
8250
8250
|
|
|
8251
|
-
const _excluded$
|
|
8251
|
+
const _excluded$N = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
8252
8252
|
function isEmpty$2(obj) {
|
|
8253
8253
|
return Object.keys(obj).length === 0;
|
|
8254
8254
|
}
|
|
@@ -8385,7 +8385,7 @@
|
|
|
8385
8385
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
8386
8386
|
overridesResolver = defaultOverridesResolver(lowercaseFirstLetter(componentSlot))
|
|
8387
8387
|
} = inputOptions,
|
|
8388
|
-
options = _objectWithoutPropertiesLoose$2(inputOptions, _excluded$
|
|
8388
|
+
options = _objectWithoutPropertiesLoose$2(inputOptions, _excluded$N);
|
|
8389
8389
|
|
|
8390
8390
|
// if skipVariantsResolver option is defined, take the value, otherwise, true for root and false for other slots.
|
|
8391
8391
|
const skipVariantsResolver = inputSkipVariantsResolver !== undefined ? inputSkipVariantsResolver :
|
|
@@ -8888,7 +8888,7 @@
|
|
|
8888
8888
|
});
|
|
8889
8889
|
}
|
|
8890
8890
|
|
|
8891
|
-
const _excluded$
|
|
8891
|
+
const _excluded$M = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"];
|
|
8892
8892
|
const defaultTheme$3 = createTheme$1();
|
|
8893
8893
|
// widening Theme to any so that the consumer can own the theme structure.
|
|
8894
8894
|
const defaultCreateStyledComponent = systemStyled('div', {
|
|
@@ -9021,7 +9021,7 @@
|
|
|
9021
9021
|
className,
|
|
9022
9022
|
useFlexGap = false
|
|
9023
9023
|
} = props,
|
|
9024
|
-
other = _objectWithoutPropertiesLoose$2(props, _excluded$
|
|
9024
|
+
other = _objectWithoutPropertiesLoose$2(props, _excluded$M);
|
|
9025
9025
|
const ownerState = {
|
|
9026
9026
|
direction,
|
|
9027
9027
|
spacing,
|
|
@@ -9040,7 +9040,7 @@
|
|
|
9040
9040
|
return Stack;
|
|
9041
9041
|
}
|
|
9042
9042
|
|
|
9043
|
-
const _excluded$
|
|
9043
|
+
const _excluded$L = ["defaultProps", "mixins", "overrides", "palette", "props", "styleOverrides"],
|
|
9044
9044
|
_excluded2$4 = ["type", "mode"];
|
|
9045
9045
|
function adaptV4Theme(inputTheme) {
|
|
9046
9046
|
const {
|
|
@@ -9051,7 +9051,7 @@
|
|
|
9051
9051
|
props = {},
|
|
9052
9052
|
styleOverrides = {}
|
|
9053
9053
|
} = inputTheme,
|
|
9054
|
-
other = _objectWithoutPropertiesLoose$3(inputTheme, _excluded$
|
|
9054
|
+
other = _objectWithoutPropertiesLoose$3(inputTheme, _excluded$L);
|
|
9055
9055
|
const theme = _extends$5({}, other, {
|
|
9056
9056
|
components: {}
|
|
9057
9057
|
});
|
|
@@ -9264,7 +9264,7 @@
|
|
|
9264
9264
|
};
|
|
9265
9265
|
var green$1 = green;
|
|
9266
9266
|
|
|
9267
|
-
const _excluded$
|
|
9267
|
+
const _excluded$K = ["mode", "contrastThreshold", "tonalOffset"];
|
|
9268
9268
|
const light$1 = {
|
|
9269
9269
|
// The colors used to style the text.
|
|
9270
9270
|
text: {
|
|
@@ -9433,7 +9433,7 @@
|
|
|
9433
9433
|
contrastThreshold = 3,
|
|
9434
9434
|
tonalOffset = 0.2
|
|
9435
9435
|
} = palette,
|
|
9436
|
-
other = _objectWithoutPropertiesLoose$3(palette, _excluded$
|
|
9436
|
+
other = _objectWithoutPropertiesLoose$3(palette, _excluded$K);
|
|
9437
9437
|
const primary = palette.primary || getDefaultPrimary(mode);
|
|
9438
9438
|
const secondary = palette.secondary || getDefaultSecondary(mode);
|
|
9439
9439
|
const error = palette.error || getDefaultError(mode);
|
|
@@ -9532,7 +9532,7 @@
|
|
|
9532
9532
|
return paletteOutput;
|
|
9533
9533
|
}
|
|
9534
9534
|
|
|
9535
|
-
const _excluded$
|
|
9535
|
+
const _excluded$J = ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"];
|
|
9536
9536
|
function round$3(value) {
|
|
9537
9537
|
return Math.round(value * 1e5) / 1e5;
|
|
9538
9538
|
}
|
|
@@ -9563,7 +9563,7 @@
|
|
|
9563
9563
|
allVariants,
|
|
9564
9564
|
pxToRem: pxToRem2
|
|
9565
9565
|
} = _ref,
|
|
9566
|
-
other = _objectWithoutPropertiesLoose$3(_ref, _excluded$
|
|
9566
|
+
other = _objectWithoutPropertiesLoose$3(_ref, _excluded$J);
|
|
9567
9567
|
const coef = fontSize / 14;
|
|
9568
9568
|
const pxToRem = pxToRem2 || (size => `${size / htmlFontSize * coef}rem`);
|
|
9569
9569
|
const buildVariant = (fontWeight, size, lineHeight, letterSpacing, casing) => _extends$5({
|
|
@@ -9623,7 +9623,7 @@
|
|
|
9623
9623
|
const shadows = ['none', createShadow(0, 2, 1, -1, 0, 1, 1, 0, 0, 1, 3, 0), createShadow(0, 3, 1, -2, 0, 2, 2, 0, 0, 1, 5, 0), createShadow(0, 3, 3, -2, 0, 3, 4, 0, 0, 1, 8, 0), createShadow(0, 2, 4, -1, 0, 4, 5, 0, 0, 1, 10, 0), createShadow(0, 3, 5, -1, 0, 5, 8, 0, 0, 1, 14, 0), createShadow(0, 3, 5, -1, 0, 6, 10, 0, 0, 1, 18, 0), createShadow(0, 4, 5, -2, 0, 7, 10, 1, 0, 2, 16, 1), createShadow(0, 5, 5, -3, 0, 8, 10, 1, 0, 3, 14, 2), createShadow(0, 5, 6, -3, 0, 9, 12, 1, 0, 3, 16, 2), createShadow(0, 6, 6, -3, 0, 10, 14, 1, 0, 4, 18, 3), createShadow(0, 6, 7, -4, 0, 11, 15, 1, 0, 4, 20, 3), createShadow(0, 7, 8, -4, 0, 12, 17, 2, 0, 5, 22, 4), createShadow(0, 7, 8, -4, 0, 13, 19, 2, 0, 5, 24, 4), createShadow(0, 7, 9, -4, 0, 14, 21, 2, 0, 5, 26, 4), createShadow(0, 8, 9, -5, 0, 15, 22, 2, 0, 6, 28, 5), createShadow(0, 8, 10, -5, 0, 16, 24, 2, 0, 6, 30, 5), createShadow(0, 8, 11, -5, 0, 17, 26, 2, 0, 6, 32, 5), createShadow(0, 9, 11, -5, 0, 18, 28, 2, 0, 7, 34, 6), createShadow(0, 9, 12, -6, 0, 19, 29, 2, 0, 7, 36, 6), createShadow(0, 10, 13, -6, 0, 20, 31, 3, 0, 8, 38, 7), createShadow(0, 10, 13, -6, 0, 21, 33, 3, 0, 8, 40, 7), createShadow(0, 10, 14, -6, 0, 22, 35, 3, 0, 8, 42, 7), createShadow(0, 11, 14, -7, 0, 23, 36, 3, 0, 9, 44, 8), createShadow(0, 11, 15, -7, 0, 24, 38, 3, 0, 9, 46, 8)];
|
|
9624
9624
|
var shadows$1 = shadows;
|
|
9625
9625
|
|
|
9626
|
-
const _excluded$
|
|
9626
|
+
const _excluded$I = ["duration", "easing", "delay"];
|
|
9627
9627
|
// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves
|
|
9628
9628
|
// to learn the context in which each easing should be used.
|
|
9629
9629
|
const easing = {
|
|
@@ -9674,7 +9674,7 @@
|
|
|
9674
9674
|
easing: easingOption = mergedEasing.easeInOut,
|
|
9675
9675
|
delay = 0
|
|
9676
9676
|
} = options;
|
|
9677
|
-
_objectWithoutPropertiesLoose$3(options, _excluded$
|
|
9677
|
+
_objectWithoutPropertiesLoose$3(options, _excluded$I);
|
|
9678
9678
|
return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');
|
|
9679
9679
|
};
|
|
9680
9680
|
return _extends$5({
|
|
@@ -9700,7 +9700,7 @@
|
|
|
9700
9700
|
};
|
|
9701
9701
|
var zIndex$1 = zIndex;
|
|
9702
9702
|
|
|
9703
|
-
const _excluded$
|
|
9703
|
+
const _excluded$H = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
9704
9704
|
function createTheme(options = {}, ...args) {
|
|
9705
9705
|
const {
|
|
9706
9706
|
mixins: mixinsInput = {},
|
|
@@ -9708,7 +9708,7 @@
|
|
|
9708
9708
|
transitions: transitionsInput = {},
|
|
9709
9709
|
typography: typographyInput = {}
|
|
9710
9710
|
} = options,
|
|
9711
|
-
other = _objectWithoutPropertiesLoose$3(options, _excluded$
|
|
9711
|
+
other = _objectWithoutPropertiesLoose$3(options, _excluded$H);
|
|
9712
9712
|
if (options.vars) {
|
|
9713
9713
|
throw new Error(formatMuiErrorMessage(18));
|
|
9714
9714
|
}
|
|
@@ -9763,12 +9763,12 @@
|
|
|
9763
9763
|
});
|
|
9764
9764
|
var styled$1 = styled;
|
|
9765
9765
|
|
|
9766
|
-
const _excluded$
|
|
9766
|
+
const _excluded$G = ["theme"];
|
|
9767
9767
|
function ThemeProvider(_ref) {
|
|
9768
9768
|
let {
|
|
9769
9769
|
theme: themeInput
|
|
9770
9770
|
} = _ref,
|
|
9771
|
-
props = _objectWithoutPropertiesLoose$3(_ref, _excluded$
|
|
9771
|
+
props = _objectWithoutPropertiesLoose$3(_ref, _excluded$G);
|
|
9772
9772
|
const scopedTheme = themeInput[THEME_ID];
|
|
9773
9773
|
return /*#__PURE__*/jsxRuntimeExports.jsx(ThemeProvider$1, _extends$5({}, props, {
|
|
9774
9774
|
themeId: scopedTheme ? THEME_ID : undefined,
|
|
@@ -10593,7 +10593,7 @@
|
|
|
10593
10593
|
const touchRippleClasses = generateUtilityClasses('MuiTouchRipple', ['root', 'ripple', 'rippleVisible', 'ripplePulsate', 'child', 'childLeaving', 'childPulsate']);
|
|
10594
10594
|
var touchRippleClasses$1 = touchRippleClasses;
|
|
10595
10595
|
|
|
10596
|
-
const _excluded$
|
|
10596
|
+
const _excluded$F = ["center", "classes", "className"];
|
|
10597
10597
|
let _$1 = t => t,
|
|
10598
10598
|
_t$1,
|
|
10599
10599
|
_t2$1,
|
|
@@ -10722,7 +10722,7 @@
|
|
|
10722
10722
|
classes = {},
|
|
10723
10723
|
className
|
|
10724
10724
|
} = props,
|
|
10725
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
10725
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$F);
|
|
10726
10726
|
const [ripples, setRipples] = reactExports.useState([]);
|
|
10727
10727
|
const nextKey = reactExports.useRef(0);
|
|
10728
10728
|
const rippleCallback = reactExports.useRef(null);
|
|
@@ -10909,7 +10909,7 @@
|
|
|
10909
10909
|
const buttonBaseClasses = generateUtilityClasses('MuiButtonBase', ['root', 'disabled', 'focusVisible']);
|
|
10910
10910
|
var buttonBaseClasses$1 = buttonBaseClasses;
|
|
10911
10911
|
|
|
10912
|
-
const _excluded$
|
|
10912
|
+
const _excluded$E = ["action", "centerRipple", "children", "className", "component", "disabled", "disableRipple", "disableTouchRipple", "focusRipple", "focusVisibleClassName", "LinkComponent", "onBlur", "onClick", "onContextMenu", "onDragLeave", "onFocus", "onFocusVisible", "onKeyDown", "onKeyUp", "onMouseDown", "onMouseLeave", "onMouseUp", "onTouchEnd", "onTouchMove", "onTouchStart", "tabIndex", "TouchRippleProps", "touchRippleRef", "type"];
|
|
10913
10913
|
const useUtilityClasses$r = ownerState => {
|
|
10914
10914
|
const {
|
|
10915
10915
|
disabled,
|
|
@@ -11011,7 +11011,7 @@
|
|
|
11011
11011
|
touchRippleRef,
|
|
11012
11012
|
type
|
|
11013
11013
|
} = props,
|
|
11014
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
11014
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$E);
|
|
11015
11015
|
const buttonRef = reactExports.useRef(null);
|
|
11016
11016
|
const rippleRef = reactExports.useRef(null);
|
|
11017
11017
|
const handleRippleRef = useForkRef(rippleRef, touchRippleRef);
|
|
@@ -11221,7 +11221,7 @@
|
|
|
11221
11221
|
const ButtonGroupButtonContext = /*#__PURE__*/reactExports.createContext(undefined);
|
|
11222
11222
|
var ButtonGroupButtonContext$1 = ButtonGroupButtonContext;
|
|
11223
11223
|
|
|
11224
|
-
const _excluded$
|
|
11224
|
+
const _excluded$D = ["children", "color", "component", "className", "disabled", "disableElevation", "disableFocusRipple", "endIcon", "focusVisibleClassName", "fullWidth", "size", "startIcon", "type", "variant"];
|
|
11225
11225
|
const useUtilityClasses$q = ownerState => {
|
|
11226
11226
|
const {
|
|
11227
11227
|
color,
|
|
@@ -11448,7 +11448,7 @@
|
|
|
11448
11448
|
type,
|
|
11449
11449
|
variant = 'text'
|
|
11450
11450
|
} = props,
|
|
11451
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
11451
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$D);
|
|
11452
11452
|
const ownerState = _extends$5({}, props, {
|
|
11453
11453
|
color,
|
|
11454
11454
|
component,
|
|
@@ -11820,7 +11820,7 @@
|
|
|
11820
11820
|
return cache[key];
|
|
11821
11821
|
}
|
|
11822
11822
|
|
|
11823
|
-
const NEBULA_VERSION_HASH = "
|
|
11823
|
+
const NEBULA_VERSION_HASH = "cca9" ;
|
|
11824
11824
|
ClassNameGenerator$1.configure(componentName => {
|
|
11825
11825
|
return "njs-".concat(NEBULA_VERSION_HASH, "-").concat(componentName.replace('Mui', ''));
|
|
11826
11826
|
});
|
|
@@ -12081,7 +12081,7 @@
|
|
|
12081
12081
|
const appRef = React.createRef();
|
|
12082
12082
|
const element = document.createElement('div');
|
|
12083
12083
|
element.style.display = 'none';
|
|
12084
|
-
element.setAttribute('data-nebulajs-version', "4.
|
|
12084
|
+
element.setAttribute('data-nebulajs-version', "4.8.1" );
|
|
12085
12085
|
element.setAttribute('data-app-id', app.id);
|
|
12086
12086
|
document.body.appendChild(element);
|
|
12087
12087
|
if (context) {
|
|
@@ -12154,7 +12154,7 @@
|
|
|
12154
12154
|
}
|
|
12155
12155
|
generateUtilityClasses('MuiSvgIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
|
|
12156
12156
|
|
|
12157
|
-
const _excluded$
|
|
12157
|
+
const _excluded$C = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"];
|
|
12158
12158
|
const useUtilityClasses$p = ownerState => {
|
|
12159
12159
|
const {
|
|
12160
12160
|
color,
|
|
@@ -12222,7 +12222,7 @@
|
|
|
12222
12222
|
titleAccess,
|
|
12223
12223
|
viewBox = '0 0 24 24'
|
|
12224
12224
|
} = props,
|
|
12225
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
12225
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$C);
|
|
12226
12226
|
const hasSvgAsChild = /*#__PURE__*/reactExports.isValidElement(children) && children.type === 'svg';
|
|
12227
12227
|
const ownerState = _extends$5({}, props, {
|
|
12228
12228
|
color,
|
|
@@ -12319,7 +12319,7 @@
|
|
|
12319
12319
|
}
|
|
12320
12320
|
generateUtilityClasses('MuiPaper', ['root', 'rounded', 'outlined', 'elevation', 'elevation0', 'elevation1', 'elevation2', 'elevation3', 'elevation4', 'elevation5', 'elevation6', 'elevation7', 'elevation8', 'elevation9', 'elevation10', 'elevation11', 'elevation12', 'elevation13', 'elevation14', 'elevation15', 'elevation16', 'elevation17', 'elevation18', 'elevation19', 'elevation20', 'elevation21', 'elevation22', 'elevation23', 'elevation24']);
|
|
12321
12321
|
|
|
12322
|
-
const _excluded$
|
|
12322
|
+
const _excluded$B = ["className", "component", "elevation", "square", "variant"];
|
|
12323
12323
|
const useUtilityClasses$o = ownerState => {
|
|
12324
12324
|
const {
|
|
12325
12325
|
square,
|
|
@@ -12374,7 +12374,7 @@
|
|
|
12374
12374
|
square = false,
|
|
12375
12375
|
variant = 'elevation'
|
|
12376
12376
|
} = props,
|
|
12377
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
12377
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$B);
|
|
12378
12378
|
const ownerState = _extends$5({}, props, {
|
|
12379
12379
|
component,
|
|
12380
12380
|
elevation,
|
|
@@ -12397,7 +12397,7 @@
|
|
|
12397
12397
|
const iconButtonClasses = generateUtilityClasses('MuiIconButton', ['root', 'disabled', 'colorInherit', 'colorPrimary', 'colorSecondary', 'colorError', 'colorInfo', 'colorSuccess', 'colorWarning', 'edgeStart', 'edgeEnd', 'sizeSmall', 'sizeMedium', 'sizeLarge']);
|
|
12398
12398
|
var iconButtonClasses$1 = iconButtonClasses;
|
|
12399
12399
|
|
|
12400
|
-
const _excluded$
|
|
12400
|
+
const _excluded$A = ["edge", "children", "className", "color", "disabled", "disableFocusRipple", "size"];
|
|
12401
12401
|
const useUtilityClasses$n = ownerState => {
|
|
12402
12402
|
const {
|
|
12403
12403
|
classes,
|
|
@@ -12498,7 +12498,7 @@
|
|
|
12498
12498
|
disableFocusRipple = false,
|
|
12499
12499
|
size = 'medium'
|
|
12500
12500
|
} = props,
|
|
12501
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
12501
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$A);
|
|
12502
12502
|
const ownerState = _extends$5({}, props, {
|
|
12503
12503
|
edge,
|
|
12504
12504
|
color,
|
|
@@ -12525,7 +12525,7 @@
|
|
|
12525
12525
|
}
|
|
12526
12526
|
generateUtilityClasses('MuiTypography', ['root', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'subtitle1', 'subtitle2', 'body1', 'body2', 'inherit', 'button', 'caption', 'overline', 'alignLeft', 'alignRight', 'alignCenter', 'alignJustify', 'noWrap', 'gutterBottom', 'paragraph']);
|
|
12527
12527
|
|
|
12528
|
-
const _excluded$
|
|
12528
|
+
const _excluded$z = ["align", "className", "component", "gutterBottom", "noWrap", "paragraph", "variant", "variantMapping"];
|
|
12529
12529
|
const useUtilityClasses$m = ownerState => {
|
|
12530
12530
|
const {
|
|
12531
12531
|
align,
|
|
@@ -12612,7 +12612,7 @@
|
|
|
12612
12612
|
variant = 'body1',
|
|
12613
12613
|
variantMapping = defaultVariantMapping
|
|
12614
12614
|
} = props,
|
|
12615
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
12615
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$z);
|
|
12616
12616
|
const ownerState = _extends$5({}, props, {
|
|
12617
12617
|
align,
|
|
12618
12618
|
color,
|
|
@@ -12829,7 +12829,7 @@
|
|
|
12829
12829
|
};
|
|
12830
12830
|
}
|
|
12831
12831
|
|
|
12832
|
-
const _excluded$
|
|
12832
|
+
const _excluded$y = ["elementType", "externalSlotProps", "ownerState", "skipResolvingSlotProps"];
|
|
12833
12833
|
/**
|
|
12834
12834
|
* @ignore - do not document.
|
|
12835
12835
|
* Builds the props to be passed into the slot of an unstyled component.
|
|
@@ -12846,7 +12846,7 @@
|
|
|
12846
12846
|
ownerState,
|
|
12847
12847
|
skipResolvingSlotProps = false
|
|
12848
12848
|
} = parameters,
|
|
12849
|
-
rest = _objectWithoutPropertiesLoose(parameters, _excluded$
|
|
12849
|
+
rest = _objectWithoutPropertiesLoose(parameters, _excluded$y);
|
|
12850
12850
|
const resolvedComponentsProps = skipResolvingSlotProps ? {} : resolveComponentProps(externalSlotProps, ownerState);
|
|
12851
12851
|
const {
|
|
12852
12852
|
props: mergedProps,
|
|
@@ -15021,7 +15021,7 @@
|
|
|
15021
15021
|
}
|
|
15022
15022
|
generateUtilityClasses('MuiPopper', ['root']);
|
|
15023
15023
|
|
|
15024
|
-
const _excluded$
|
|
15024
|
+
const _excluded$x = ["anchorEl", "children", "direction", "disablePortal", "modifiers", "open", "placement", "popperOptions", "popperRef", "slotProps", "slots", "TransitionProps", "ownerState"],
|
|
15025
15025
|
_excluded2$3 = ["anchorEl", "children", "container", "direction", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "style", "transition", "slotProps", "slots"];
|
|
15026
15026
|
function flipPlacement(placement, direction) {
|
|
15027
15027
|
if (direction === 'ltr') {
|
|
@@ -15071,7 +15071,7 @@
|
|
|
15071
15071
|
// @ts-ignore internal logic
|
|
15072
15072
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
15073
15073
|
} = props,
|
|
15074
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
15074
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$x);
|
|
15075
15075
|
const tooltipRef = reactExports.useRef(null);
|
|
15076
15076
|
const ownRef = useForkRef(tooltipRef, forwardedRef);
|
|
15077
15077
|
const popperRef = reactExports.useRef(null);
|
|
@@ -15654,7 +15654,7 @@
|
|
|
15654
15654
|
};
|
|
15655
15655
|
}
|
|
15656
15656
|
|
|
15657
|
-
const _excluded$
|
|
15657
|
+
const _excluded$w = ["onChange", "maxRows", "minRows", "style", "value"];
|
|
15658
15658
|
function getStyleValue(value) {
|
|
15659
15659
|
return parseInt(value, 10) || 0;
|
|
15660
15660
|
}
|
|
@@ -15696,7 +15696,7 @@
|
|
|
15696
15696
|
style,
|
|
15697
15697
|
value
|
|
15698
15698
|
} = props,
|
|
15699
|
-
other = _objectWithoutPropertiesLoose(props, _excluded$
|
|
15699
|
+
other = _objectWithoutPropertiesLoose(props, _excluded$w);
|
|
15700
15700
|
const {
|
|
15701
15701
|
current: isControlled
|
|
15702
15702
|
} = reactExports.useRef(value != null);
|
|
@@ -15865,7 +15865,7 @@
|
|
|
15865
15865
|
});
|
|
15866
15866
|
});
|
|
15867
15867
|
|
|
15868
|
-
const _excluded$
|
|
15868
|
+
const _excluded$v = ["anchorEl", "component", "components", "componentsProps", "container", "disablePortal", "keepMounted", "modifiers", "open", "placement", "popperOptions", "popperRef", "transition", "slots", "slotProps"];
|
|
15869
15869
|
const PopperRoot = styled$1(Popper$2, {
|
|
15870
15870
|
name: 'MuiPopper',
|
|
15871
15871
|
slot: 'Root',
|
|
@@ -15908,7 +15908,7 @@
|
|
|
15908
15908
|
slots,
|
|
15909
15909
|
slotProps
|
|
15910
15910
|
} = props,
|
|
15911
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
15911
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$v);
|
|
15912
15912
|
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
15913
15913
|
const otherProps = _extends$5({
|
|
15914
15914
|
anchorEl,
|
|
@@ -15995,7 +15995,7 @@
|
|
|
15995
15995
|
const inputBaseClasses = generateUtilityClasses('MuiInputBase', ['root', 'formControl', 'focused', 'disabled', 'adornedStart', 'adornedEnd', 'error', 'sizeSmall', 'multiline', 'colorSecondary', 'fullWidth', 'hiddenLabel', 'readOnly', 'input', 'inputSizeSmall', 'inputMultiline', 'inputTypeSearch', 'inputAdornedStart', 'inputAdornedEnd', 'inputHiddenLabel']);
|
|
15996
15996
|
var inputBaseClasses$1 = inputBaseClasses;
|
|
15997
15997
|
|
|
15998
|
-
const _excluded$
|
|
15998
|
+
const _excluded$u = ["aria-describedby", "autoComplete", "autoFocus", "className", "color", "components", "componentsProps", "defaultValue", "disabled", "disableInjectingGlobalStyles", "endAdornment", "error", "fullWidth", "id", "inputComponent", "inputProps", "inputRef", "margin", "maxRows", "minRows", "multiline", "name", "onBlur", "onChange", "onClick", "onFocus", "onKeyDown", "onKeyUp", "placeholder", "readOnly", "renderSuffix", "rows", "size", "slotProps", "slots", "startAdornment", "type", "value"];
|
|
15999
15999
|
const rootOverridesResolver = (props, styles) => {
|
|
16000
16000
|
const {
|
|
16001
16001
|
ownerState
|
|
@@ -16226,7 +16226,7 @@
|
|
|
16226
16226
|
type = 'text',
|
|
16227
16227
|
value: valueProp
|
|
16228
16228
|
} = props,
|
|
16229
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
16229
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$u);
|
|
16230
16230
|
const value = inputPropsProp.value != null ? inputPropsProp.value : valueProp;
|
|
16231
16231
|
const {
|
|
16232
16232
|
current: isControlled
|
|
@@ -16439,7 +16439,7 @@
|
|
|
16439
16439
|
const outlinedInputClasses = _extends$5({}, inputBaseClasses$1, generateUtilityClasses('MuiOutlinedInput', ['root', 'notchedOutline', 'input']));
|
|
16440
16440
|
var outlinedInputClasses$1 = outlinedInputClasses;
|
|
16441
16441
|
|
|
16442
|
-
const _excluded$
|
|
16442
|
+
const _excluded$t = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
16443
16443
|
const styles$1 = {
|
|
16444
16444
|
entering: {
|
|
16445
16445
|
opacity: 1
|
|
@@ -16476,7 +16476,7 @@
|
|
|
16476
16476
|
// eslint-disable-next-line react/prop-types
|
|
16477
16477
|
TransitionComponent = Transition$1
|
|
16478
16478
|
} = props,
|
|
16479
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
16479
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$t);
|
|
16480
16480
|
const nodeRef = reactExports.useRef(null);
|
|
16481
16481
|
const handleRef = useForkRef(nodeRef, children.ref, ref);
|
|
16482
16482
|
const normalizedTransitionCallback = callback => maybeIsAppearing => {
|
|
@@ -16562,7 +16562,7 @@
|
|
|
16562
16562
|
}
|
|
16563
16563
|
generateUtilityClasses('MuiBackdrop', ['root', 'invisible']);
|
|
16564
16564
|
|
|
16565
|
-
const _excluded$
|
|
16565
|
+
const _excluded$s = ["children", "className", "component", "components", "componentsProps", "invisible", "open", "slotProps", "slots", "TransitionComponent", "transitionDuration"];
|
|
16566
16566
|
const useUtilityClasses$j = ownerState => {
|
|
16567
16567
|
const {
|
|
16568
16568
|
classes,
|
|
@@ -16617,7 +16617,7 @@
|
|
|
16617
16617
|
TransitionComponent = Fade$1,
|
|
16618
16618
|
transitionDuration
|
|
16619
16619
|
} = props,
|
|
16620
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
16620
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$s);
|
|
16621
16621
|
const ownerState = _extends$5({}, props, {
|
|
16622
16622
|
component,
|
|
16623
16623
|
invisible
|
|
@@ -16650,7 +16650,7 @@
|
|
|
16650
16650
|
'anchorOriginTopLeftCircular', 'anchorOriginTopLeftRectangular', 'anchorOriginTopRightCircular', 'anchorOriginTopRightRectangular', 'anchorOriginBottomLeftCircular', 'anchorOriginBottomLeftRectangular', 'anchorOriginBottomRightCircular', 'anchorOriginBottomRightRectangular']);
|
|
16651
16651
|
var badgeClasses$1 = badgeClasses;
|
|
16652
16652
|
|
|
16653
|
-
const _excluded$
|
|
16653
|
+
const _excluded$r = ["anchorOrigin", "className", "classes", "component", "components", "componentsProps", "children", "overlap", "color", "invisible", "max", "badgeContent", "slots", "slotProps", "showZero", "variant"];
|
|
16654
16654
|
const RADIUS_STANDARD = 10;
|
|
16655
16655
|
const RADIUS_DOT = 4;
|
|
16656
16656
|
const useUtilityClasses$i = ownerState => {
|
|
@@ -16818,7 +16818,7 @@
|
|
|
16818
16818
|
showZero = false,
|
|
16819
16819
|
variant: variantProp = 'standard'
|
|
16820
16820
|
} = props,
|
|
16821
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
16821
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$r);
|
|
16822
16822
|
const {
|
|
16823
16823
|
badgeContent,
|
|
16824
16824
|
invisible: invisibleFromHook,
|
|
@@ -16902,7 +16902,7 @@
|
|
|
16902
16902
|
}
|
|
16903
16903
|
generateUtilityClasses('PrivateSwitchBase', ['root', 'checked', 'disabled', 'input', 'edgeStart', 'edgeEnd']);
|
|
16904
16904
|
|
|
16905
|
-
const _excluded$
|
|
16905
|
+
const _excluded$q = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked", "disabled", "disableFocusRipple", "edge", "icon", "id", "inputProps", "inputRef", "name", "onBlur", "onChange", "onFocus", "readOnly", "required", "tabIndex", "type", "value"];
|
|
16906
16906
|
const useUtilityClasses$h = ownerState => {
|
|
16907
16907
|
const {
|
|
16908
16908
|
classes,
|
|
@@ -16968,7 +16968,7 @@
|
|
|
16968
16968
|
type,
|
|
16969
16969
|
value
|
|
16970
16970
|
} = props,
|
|
16971
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
16971
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$q);
|
|
16972
16972
|
const [checked, setCheckedState] = useControlled({
|
|
16973
16973
|
controlled: checkedProp,
|
|
16974
16974
|
default: Boolean(defaultChecked),
|
|
@@ -17071,7 +17071,7 @@
|
|
|
17071
17071
|
const checkboxClasses = generateUtilityClasses('MuiCheckbox', ['root', 'checked', 'disabled', 'indeterminate', 'colorPrimary', 'colorSecondary', 'sizeSmall', 'sizeMedium']);
|
|
17072
17072
|
var checkboxClasses$1 = checkboxClasses;
|
|
17073
17073
|
|
|
17074
|
-
const _excluded$
|
|
17074
|
+
const _excluded$p = ["checkedIcon", "color", "icon", "indeterminate", "indeterminateIcon", "inputProps", "size", "className"];
|
|
17075
17075
|
const useUtilityClasses$g = ownerState => {
|
|
17076
17076
|
const {
|
|
17077
17077
|
classes,
|
|
@@ -17135,7 +17135,7 @@
|
|
|
17135
17135
|
size = 'medium',
|
|
17136
17136
|
className
|
|
17137
17137
|
} = props,
|
|
17138
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
17138
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$p);
|
|
17139
17139
|
const icon = indeterminate ? indeterminateIconProp : iconProp;
|
|
17140
17140
|
const indeterminateIcon = indeterminate ? indeterminateIconProp : checkedIcon;
|
|
17141
17141
|
const ownerState = _extends$5({}, props, {
|
|
@@ -17169,7 +17169,7 @@
|
|
|
17169
17169
|
}
|
|
17170
17170
|
generateUtilityClasses('MuiCircularProgress', ['root', 'determinate', 'indeterminate', 'colorPrimary', 'colorSecondary', 'svg', 'circle', 'circleDeterminate', 'circleIndeterminate', 'circleDisableShrink']);
|
|
17171
17171
|
|
|
17172
|
-
const _excluded$
|
|
17172
|
+
const _excluded$o = ["className", "color", "disableShrink", "size", "style", "thickness", "value", "variant"];
|
|
17173
17173
|
let _ = t => t,
|
|
17174
17174
|
_t,
|
|
17175
17175
|
_t2,
|
|
@@ -17294,7 +17294,7 @@
|
|
|
17294
17294
|
value = 0,
|
|
17295
17295
|
variant = 'indeterminate'
|
|
17296
17296
|
} = props,
|
|
17297
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
17297
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$o);
|
|
17298
17298
|
const ownerState = _extends$5({}, props, {
|
|
17299
17299
|
color,
|
|
17300
17300
|
disableShrink,
|
|
@@ -17348,7 +17348,7 @@
|
|
|
17348
17348
|
}
|
|
17349
17349
|
generateUtilityClasses('MuiModal', ['root', 'hidden', 'backdrop']);
|
|
17350
17350
|
|
|
17351
|
-
const _excluded$
|
|
17351
|
+
const _excluded$n = ["BackdropComponent", "BackdropProps", "classes", "className", "closeAfterTransition", "children", "container", "component", "components", "componentsProps", "disableAutoFocus", "disableEnforceFocus", "disableEscapeKeyDown", "disablePortal", "disableRestoreFocus", "disableScrollLock", "hideBackdrop", "keepMounted", "onBackdropClick", "onClose", "onTransitionEnter", "onTransitionExited", "open", "slotProps", "slots", "theme"];
|
|
17352
17352
|
const useUtilityClasses$e = ownerState => {
|
|
17353
17353
|
const {
|
|
17354
17354
|
open,
|
|
@@ -17436,7 +17436,7 @@
|
|
|
17436
17436
|
slots
|
|
17437
17437
|
// eslint-disable-next-line react/prop-types
|
|
17438
17438
|
} = props,
|
|
17439
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
17439
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$n);
|
|
17440
17440
|
const propsWithDefaults = _extends$5({}, props, {
|
|
17441
17441
|
closeAfterTransition,
|
|
17442
17442
|
disableAutoFocus,
|
|
@@ -17539,7 +17539,7 @@
|
|
|
17539
17539
|
const dividerClasses = generateUtilityClasses('MuiDivider', ['root', 'absolute', 'fullWidth', 'inset', 'middle', 'flexItem', 'light', 'vertical', 'withChildren', 'withChildrenVertical', 'textAlignRight', 'textAlignLeft', 'wrapper', 'wrapperVertical']);
|
|
17540
17540
|
var dividerClasses$1 = dividerClasses;
|
|
17541
17541
|
|
|
17542
|
-
const _excluded$
|
|
17542
|
+
const _excluded$m = ["absolute", "children", "className", "component", "flexItem", "light", "orientation", "role", "textAlign", "variant"];
|
|
17543
17543
|
const useUtilityClasses$d = ownerState => {
|
|
17544
17544
|
const {
|
|
17545
17545
|
absolute,
|
|
@@ -17681,7 +17681,7 @@
|
|
|
17681
17681
|
textAlign = 'center',
|
|
17682
17682
|
variant = 'fullWidth'
|
|
17683
17683
|
} = props,
|
|
17684
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
17684
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$m);
|
|
17685
17685
|
const ownerState = _extends$5({}, props, {
|
|
17686
17686
|
absolute,
|
|
17687
17687
|
component,
|
|
@@ -17734,7 +17734,7 @@
|
|
|
17734
17734
|
const formControlLabelClasses = generateUtilityClasses('MuiFormControlLabel', ['root', 'labelPlacementStart', 'labelPlacementTop', 'labelPlacementBottom', 'disabled', 'label', 'error', 'required', 'asterisk']);
|
|
17735
17735
|
var formControlLabelClasses$1 = formControlLabelClasses;
|
|
17736
17736
|
|
|
17737
|
-
const _excluded$
|
|
17737
|
+
const _excluded$l = ["checked", "className", "componentsProps", "control", "disabled", "disableTypography", "inputRef", "label", "labelPlacement", "name", "onChange", "required", "slotProps", "value"];
|
|
17738
17738
|
const useUtilityClasses$c = ownerState => {
|
|
17739
17739
|
const {
|
|
17740
17740
|
classes,
|
|
@@ -17828,7 +17828,7 @@
|
|
|
17828
17828
|
required: requiredProp,
|
|
17829
17829
|
slotProps = {}
|
|
17830
17830
|
} = props,
|
|
17831
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
17831
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$l);
|
|
17832
17832
|
const muiFormControl = useFormControl();
|
|
17833
17833
|
const disabled = (_ref = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref : muiFormControl == null ? void 0 : muiFormControl.disabled;
|
|
17834
17834
|
const required = requiredProp != null ? requiredProp : control.props.required;
|
|
@@ -17869,8 +17869,7 @@
|
|
|
17869
17869
|
ref: ref
|
|
17870
17870
|
}, other, {
|
|
17871
17871
|
children: [/*#__PURE__*/reactExports.cloneElement(control, controlProps), required ? /*#__PURE__*/jsxRuntimeExports.jsxs(Stack$1, {
|
|
17872
|
-
|
|
17873
|
-
alignItems: "center",
|
|
17872
|
+
display: "block",
|
|
17874
17873
|
children: [label, /*#__PURE__*/jsxRuntimeExports.jsxs(AsteriskComponent, {
|
|
17875
17874
|
ownerState: ownerState,
|
|
17876
17875
|
"aria-hidden": true,
|
|
@@ -17905,7 +17904,7 @@
|
|
|
17905
17904
|
// grid sizes for all breakpoints
|
|
17906
17905
|
...GRID_SIZES.map(size => `grid-xs-${size}`), ...GRID_SIZES.map(size => `grid-sm-${size}`), ...GRID_SIZES.map(size => `grid-md-${size}`), ...GRID_SIZES.map(size => `grid-lg-${size}`), ...GRID_SIZES.map(size => `grid-xl-${size}`)]);
|
|
17907
17906
|
|
|
17908
|
-
const _excluded$
|
|
17907
|
+
const _excluded$k = ["className", "columns", "columnSpacing", "component", "container", "direction", "item", "rowSpacing", "spacing", "wrap", "zeroMinWidth"];
|
|
17909
17908
|
function getOffset$1(val) {
|
|
17910
17909
|
const parse = parseFloat(val);
|
|
17911
17910
|
return `${parse}${String(val).replace(String(parse), '') || 'px'}`;
|
|
@@ -18265,7 +18264,7 @@
|
|
|
18265
18264
|
wrap = 'wrap',
|
|
18266
18265
|
zeroMinWidth = false
|
|
18267
18266
|
} = props,
|
|
18268
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
18267
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$k);
|
|
18269
18268
|
const rowSpacing = rowSpacingProp || spacing;
|
|
18270
18269
|
const columnSpacing = columnSpacingProp || spacing;
|
|
18271
18270
|
const columnsContext = reactExports.useContext(GridContext$1);
|
|
@@ -18306,7 +18305,7 @@
|
|
|
18306
18305
|
});
|
|
18307
18306
|
var Grid$1 = Grid;
|
|
18308
18307
|
|
|
18309
|
-
const _excluded$
|
|
18308
|
+
const _excluded$j = ["addEndListener", "appear", "children", "easing", "in", "onEnter", "onEntered", "onEntering", "onExit", "onExited", "onExiting", "style", "timeout", "TransitionComponent"];
|
|
18310
18309
|
function getScale(value) {
|
|
18311
18310
|
return `scale(${value}, ${value ** 2})`;
|
|
18312
18311
|
}
|
|
@@ -18350,7 +18349,7 @@
|
|
|
18350
18349
|
// eslint-disable-next-line react/prop-types
|
|
18351
18350
|
TransitionComponent = Transition$1
|
|
18352
18351
|
} = props,
|
|
18353
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
18352
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$j);
|
|
18354
18353
|
const timer = reactExports.useRef();
|
|
18355
18354
|
const autoTimeout = reactExports.useRef();
|
|
18356
18355
|
const theme = useTheme$1();
|
|
@@ -18485,7 +18484,7 @@
|
|
|
18485
18484
|
}
|
|
18486
18485
|
generateUtilityClasses('MuiIcon', ['root', 'colorPrimary', 'colorSecondary', 'colorAction', 'colorError', 'colorDisabled', 'fontSizeInherit', 'fontSizeSmall', 'fontSizeMedium', 'fontSizeLarge']);
|
|
18487
18486
|
|
|
18488
|
-
const _excluded$
|
|
18487
|
+
const _excluded$i = ["baseClassName", "className", "color", "component", "fontSize"];
|
|
18489
18488
|
const useUtilityClasses$a = ownerState => {
|
|
18490
18489
|
const {
|
|
18491
18490
|
color,
|
|
@@ -18552,7 +18551,7 @@
|
|
|
18552
18551
|
component: Component = 'span',
|
|
18553
18552
|
fontSize = 'medium'
|
|
18554
18553
|
} = props,
|
|
18555
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
18554
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$i);
|
|
18556
18555
|
const ownerState = _extends$5({}, props, {
|
|
18557
18556
|
baseClassName,
|
|
18558
18557
|
color,
|
|
@@ -18581,7 +18580,7 @@
|
|
|
18581
18580
|
var inputAdornmentClasses$1 = inputAdornmentClasses;
|
|
18582
18581
|
|
|
18583
18582
|
var _span$1;
|
|
18584
|
-
const _excluded$
|
|
18583
|
+
const _excluded$h = ["children", "className", "component", "disablePointerEvents", "disableTypography", "position", "variant"];
|
|
18585
18584
|
const overridesResolver$2 = (props, styles) => {
|
|
18586
18585
|
const {
|
|
18587
18586
|
ownerState
|
|
@@ -18646,7 +18645,7 @@
|
|
|
18646
18645
|
position,
|
|
18647
18646
|
variant: variantProp
|
|
18648
18647
|
} = props,
|
|
18649
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
18648
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$h);
|
|
18650
18649
|
const muiFormControl = useFormControl() || {};
|
|
18651
18650
|
let variant = variantProp;
|
|
18652
18651
|
if (variantProp && muiFormControl.variant) ;
|
|
@@ -18694,7 +18693,7 @@
|
|
|
18694
18693
|
}
|
|
18695
18694
|
generateUtilityClasses('MuiList', ['root', 'padding', 'dense', 'subheader']);
|
|
18696
18695
|
|
|
18697
|
-
const _excluded$
|
|
18696
|
+
const _excluded$g = ["children", "className", "component", "dense", "disablePadding", "subheader"];
|
|
18698
18697
|
const useUtilityClasses$8 = ownerState => {
|
|
18699
18698
|
const {
|
|
18700
18699
|
classes,
|
|
@@ -18742,7 +18741,7 @@
|
|
|
18742
18741
|
disablePadding = false,
|
|
18743
18742
|
subheader
|
|
18744
18743
|
} = props,
|
|
18745
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
18744
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$g);
|
|
18746
18745
|
const context = reactExports.useMemo(() => ({
|
|
18747
18746
|
dense
|
|
18748
18747
|
}), [dense]);
|
|
@@ -18780,7 +18779,7 @@
|
|
|
18780
18779
|
}
|
|
18781
18780
|
generateUtilityClasses('MuiListItemSecondaryAction', ['root', 'disableGutters']);
|
|
18782
18781
|
|
|
18783
|
-
const _excluded$
|
|
18782
|
+
const _excluded$f = ["className"];
|
|
18784
18783
|
const useUtilityClasses$7 = ownerState => {
|
|
18785
18784
|
const {
|
|
18786
18785
|
disableGutters,
|
|
@@ -18822,7 +18821,7 @@
|
|
|
18822
18821
|
const {
|
|
18823
18822
|
className
|
|
18824
18823
|
} = props,
|
|
18825
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
18824
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$f);
|
|
18826
18825
|
const context = reactExports.useContext(ListContext$1);
|
|
18827
18826
|
const ownerState = _extends$5({}, props, {
|
|
18828
18827
|
disableGutters: context.disableGutters
|
|
@@ -18837,7 +18836,7 @@
|
|
|
18837
18836
|
ListItemSecondaryAction.muiName = 'ListItemSecondaryAction';
|
|
18838
18837
|
var ListItemSecondaryAction$1 = ListItemSecondaryAction;
|
|
18839
18838
|
|
|
18840
|
-
const _excluded$
|
|
18839
|
+
const _excluded$e = ["className"],
|
|
18841
18840
|
_excluded2$2 = ["alignItems", "autoFocus", "button", "children", "className", "component", "components", "componentsProps", "ContainerComponent", "ContainerProps", "dense", "disabled", "disableGutters", "disablePadding", "divider", "focusVisibleClassName", "secondaryAction", "selected", "slotProps", "slots"];
|
|
18842
18841
|
const overridesResolver$1 = (props, styles) => {
|
|
18843
18842
|
const {
|
|
@@ -18979,7 +18978,7 @@
|
|
|
18979
18978
|
slotProps = {},
|
|
18980
18979
|
slots = {}
|
|
18981
18980
|
} = props,
|
|
18982
|
-
ContainerProps = _objectWithoutPropertiesLoose$3(props.ContainerProps, _excluded$
|
|
18981
|
+
ContainerProps = _objectWithoutPropertiesLoose$3(props.ContainerProps, _excluded$e),
|
|
18983
18982
|
other = _objectWithoutPropertiesLoose$3(props, _excluded2$2);
|
|
18984
18983
|
const context = reactExports.useContext(ListContext$1);
|
|
18985
18984
|
const childContext = reactExports.useMemo(() => ({
|
|
@@ -19078,7 +19077,7 @@
|
|
|
19078
19077
|
const listItemIconClasses = generateUtilityClasses('MuiListItemIcon', ['root', 'alignItemsFlexStart']);
|
|
19079
19078
|
var listItemIconClasses$1 = listItemIconClasses;
|
|
19080
19079
|
|
|
19081
|
-
const _excluded$
|
|
19080
|
+
const _excluded$d = ["className"];
|
|
19082
19081
|
const useUtilityClasses$5 = ownerState => {
|
|
19083
19082
|
const {
|
|
19084
19083
|
alignItems,
|
|
@@ -19121,7 +19120,7 @@
|
|
|
19121
19120
|
const {
|
|
19122
19121
|
className
|
|
19123
19122
|
} = props,
|
|
19124
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
19123
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$d);
|
|
19125
19124
|
const context = reactExports.useContext(ListContext$1);
|
|
19126
19125
|
const ownerState = _extends$5({}, props, {
|
|
19127
19126
|
alignItems: context.alignItems
|
|
@@ -19138,7 +19137,7 @@
|
|
|
19138
19137
|
const listItemTextClasses = generateUtilityClasses('MuiListItemText', ['root', 'multiline', 'dense', 'inset', 'primary', 'secondary']);
|
|
19139
19138
|
var listItemTextClasses$1 = listItemTextClasses;
|
|
19140
19139
|
|
|
19141
|
-
const _excluded$
|
|
19140
|
+
const _excluded$c = ["actions", "autoFocus", "autoFocusItem", "children", "className", "disabledItemsFocusable", "disableListWrap", "onKeyDown", "variant"];
|
|
19142
19141
|
function nextItem(list, item, disableListWrap) {
|
|
19143
19142
|
if (list === item) {
|
|
19144
19143
|
return list.firstChild;
|
|
@@ -19220,7 +19219,7 @@
|
|
|
19220
19219
|
onKeyDown,
|
|
19221
19220
|
variant = 'selectedMenu'
|
|
19222
19221
|
} = props,
|
|
19223
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
19222
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$c);
|
|
19224
19223
|
const listRef = reactExports.useRef(null);
|
|
19225
19224
|
const textCriteriaRef = reactExports.useRef({
|
|
19226
19225
|
keys: [],
|
|
@@ -19363,7 +19362,7 @@
|
|
|
19363
19362
|
}
|
|
19364
19363
|
generateUtilityClasses('MuiPopover', ['root', 'paper']);
|
|
19365
19364
|
|
|
19366
|
-
const _excluded$
|
|
19365
|
+
const _excluded$b = ["onEntering"],
|
|
19367
19366
|
_excluded2$1 = ["action", "anchorEl", "anchorOrigin", "anchorPosition", "anchorReference", "children", "className", "container", "elevation", "marginThreshold", "open", "PaperProps", "slots", "slotProps", "transformOrigin", "TransitionComponent", "transitionDuration", "TransitionProps", "disableScrollLock"],
|
|
19368
19367
|
_excluded3 = ["slotProps"];
|
|
19369
19368
|
function getOffsetTop(rect, vertical) {
|
|
@@ -19461,7 +19460,7 @@
|
|
|
19461
19460
|
} = {},
|
|
19462
19461
|
disableScrollLock = false
|
|
19463
19462
|
} = props,
|
|
19464
|
-
TransitionProps = _objectWithoutPropertiesLoose$3(props.TransitionProps, _excluded$
|
|
19463
|
+
TransitionProps = _objectWithoutPropertiesLoose$3(props.TransitionProps, _excluded$b),
|
|
19465
19464
|
other = _objectWithoutPropertiesLoose$3(props, _excluded2$1);
|
|
19466
19465
|
const externalPaperSlotProps = (_slotProps$paper = slotProps == null ? void 0 : slotProps.paper) != null ? _slotProps$paper : PaperPropsProp;
|
|
19467
19466
|
const paperRef = reactExports.useRef();
|
|
@@ -19688,7 +19687,7 @@
|
|
|
19688
19687
|
const menuItemClasses = generateUtilityClasses('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);
|
|
19689
19688
|
var menuItemClasses$1 = menuItemClasses;
|
|
19690
19689
|
|
|
19691
|
-
const _excluded$
|
|
19690
|
+
const _excluded$a = ["autoFocus", "component", "dense", "divider", "disableGutters", "focusVisibleClassName", "role", "tabIndex", "className"];
|
|
19692
19691
|
const overridesResolver = (props, styles) => {
|
|
19693
19692
|
const {
|
|
19694
19693
|
ownerState
|
|
@@ -19810,7 +19809,7 @@
|
|
|
19810
19809
|
tabIndex: tabIndexProp,
|
|
19811
19810
|
className
|
|
19812
19811
|
} = props,
|
|
19813
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
19812
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$a);
|
|
19814
19813
|
const context = reactExports.useContext(ListContext$1);
|
|
19815
19814
|
const childContext = reactExports.useMemo(() => ({
|
|
19816
19815
|
dense: dense || context.dense || false,
|
|
@@ -19853,7 +19852,7 @@
|
|
|
19853
19852
|
var MenuItem$1 = MenuItem;
|
|
19854
19853
|
|
|
19855
19854
|
var _span;
|
|
19856
|
-
const _excluded$
|
|
19855
|
+
const _excluded$9 = ["children", "classes", "className", "label", "notched"];
|
|
19857
19856
|
const NotchedOutlineRoot$1 = styled$1('fieldset', {
|
|
19858
19857
|
shouldForwardProp: rootShouldForwardProp
|
|
19859
19858
|
})({
|
|
@@ -19930,7 +19929,7 @@
|
|
|
19930
19929
|
label,
|
|
19931
19930
|
notched
|
|
19932
19931
|
} = props,
|
|
19933
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
19932
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$9);
|
|
19934
19933
|
const withLabel = label != null && label !== '';
|
|
19935
19934
|
const ownerState = _extends$5({}, props, {
|
|
19936
19935
|
notched,
|
|
@@ -19954,7 +19953,7 @@
|
|
|
19954
19953
|
}));
|
|
19955
19954
|
}
|
|
19956
19955
|
|
|
19957
|
-
const _excluded$
|
|
19956
|
+
const _excluded$8 = ["components", "fullWidth", "inputComponent", "label", "multiline", "notched", "slots", "type"];
|
|
19958
19957
|
const useUtilityClasses$2 = ownerState => {
|
|
19959
19958
|
const {
|
|
19960
19959
|
classes
|
|
@@ -20073,7 +20072,7 @@
|
|
|
20073
20072
|
slots = {},
|
|
20074
20073
|
type = 'text'
|
|
20075
20074
|
} = props,
|
|
20076
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
20075
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$8);
|
|
20077
20076
|
const classes = useUtilityClasses$2(props);
|
|
20078
20077
|
const muiFormControl = useFormControl();
|
|
20079
20078
|
const fcs = formControlState({
|
|
@@ -20202,7 +20201,7 @@
|
|
|
20202
20201
|
const radioClasses = generateUtilityClasses('MuiRadio', ['root', 'checked', 'disabled', 'colorPrimary', 'colorSecondary', 'sizeSmall']);
|
|
20203
20202
|
var radioClasses$1 = radioClasses;
|
|
20204
20203
|
|
|
20205
|
-
const _excluded$
|
|
20204
|
+
const _excluded$7 = ["checked", "checkedIcon", "color", "icon", "name", "onChange", "size", "className"];
|
|
20206
20205
|
const useUtilityClasses$1 = ownerState => {
|
|
20207
20206
|
const {
|
|
20208
20207
|
classes,
|
|
@@ -20274,7 +20273,7 @@
|
|
|
20274
20273
|
size = 'medium',
|
|
20275
20274
|
className
|
|
20276
20275
|
} = props,
|
|
20277
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
20276
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$7);
|
|
20278
20277
|
const ownerState = _extends$5({}, props, {
|
|
20279
20278
|
color,
|
|
20280
20279
|
size
|
|
@@ -20317,7 +20316,7 @@
|
|
|
20317
20316
|
const tooltipClasses = generateUtilityClasses('MuiTooltip', ['popper', 'popperInteractive', 'popperArrow', 'popperClose', 'tooltip', 'tooltipArrow', 'touch', 'tooltipPlacementLeft', 'tooltipPlacementRight', 'tooltipPlacementTop', 'tooltipPlacementBottom', 'arrow']);
|
|
20318
20317
|
var tooltipClasses$1 = tooltipClasses;
|
|
20319
20318
|
|
|
20320
|
-
const _excluded$
|
|
20319
|
+
const _excluded$6 = ["arrow", "children", "classes", "components", "componentsProps", "describeChild", "disableFocusListener", "disableHoverListener", "disableInteractive", "disableTouchListener", "enterDelay", "enterNextDelay", "enterTouchDelay", "followCursor", "id", "leaveDelay", "leaveTouchDelay", "onClose", "onOpen", "open", "placement", "PopperComponent", "PopperProps", "slotProps", "slots", "title", "TransitionComponent", "TransitionProps"];
|
|
20321
20320
|
function round$1(value) {
|
|
20322
20321
|
return Math.round(value * 1e5) / 1e5;
|
|
20323
20322
|
}
|
|
@@ -20539,7 +20538,7 @@
|
|
|
20539
20538
|
TransitionComponent: TransitionComponentProp = Grow$1,
|
|
20540
20539
|
TransitionProps
|
|
20541
20540
|
} = props,
|
|
20542
|
-
other = _objectWithoutPropertiesLoose$3(props, _excluded$
|
|
20541
|
+
other = _objectWithoutPropertiesLoose$3(props, _excluded$6);
|
|
20543
20542
|
|
|
20544
20543
|
// to prevent runtime errors, developers will need to provide a child as a React element anyway.
|
|
20545
20544
|
const children = /*#__PURE__*/reactExports.isValidElement(childrenProp) ? childrenProp : /*#__PURE__*/jsxRuntimeExports.jsx("span", {
|
|
@@ -21985,6 +21984,7 @@
|
|
|
21985
21984
|
const GRID_ROW_HEIGHT = 32;
|
|
21986
21985
|
const LIST_ROW_HEIGHT = 29;
|
|
21987
21986
|
const DENSE_ROW_HEIGHT = 20; // same for both list and grid in dense mode
|
|
21987
|
+
const GRID_ITEM_PADDING = 4;
|
|
21988
21988
|
|
|
21989
21989
|
const joinClassNames = namesArray => namesArray.filter(c => !!c).join(' ').trim();
|
|
21990
21990
|
const getBarWidth = _ref => {
|
|
@@ -22000,6 +22000,7 @@
|
|
|
22000
22000
|
};
|
|
22001
22001
|
const getFrequencyText = qFrequency => qFrequency || frequencyTextNone;
|
|
22002
22002
|
|
|
22003
|
+
const _excluded$5 = ["backgroundColor"];
|
|
22003
22004
|
const getFreqFlexBasis = _ref => {
|
|
22004
22005
|
let {
|
|
22005
22006
|
sizes,
|
|
@@ -22081,8 +22082,8 @@
|
|
|
22081
22082
|
freqHitsValue,
|
|
22082
22083
|
styles
|
|
22083
22084
|
} = _ref4;
|
|
22084
|
-
const
|
|
22085
|
-
|
|
22085
|
+
const _styles$content = styles.content,
|
|
22086
|
+
contentFontStyles = _objectWithoutProperties(_styles$content, _excluded$5);
|
|
22086
22087
|
const selectStyle = getSelectedStyle({
|
|
22087
22088
|
theme,
|
|
22088
22089
|
styles,
|
|
@@ -22108,20 +22109,17 @@
|
|
|
22108
22109
|
outline: 'none'
|
|
22109
22110
|
}
|
|
22110
22111
|
},
|
|
22111
|
-
["& .".concat(rowColClasses.row)]: {
|
|
22112
|
-
flexWrap: 'nowrap'
|
|
22113
|
-
|
|
22114
|
-
backgroundColor: rowBackgroundColor
|
|
22115
|
-
},
|
|
22112
|
+
["& .".concat(rowColClasses.row)]: _objectSpread2({
|
|
22113
|
+
flexWrap: 'nowrap'
|
|
22114
|
+
}, styles.content),
|
|
22116
22115
|
["& .".concat(rowColClasses.rowBorderBottom)]: {
|
|
22117
22116
|
borderBottom: isGridCol ? 'none' : "1px solid ".concat(theme.palette.divider),
|
|
22118
22117
|
borderLeft: isGridCol ? "1px solid ".concat(theme.palette.divider) : 'none'
|
|
22119
22118
|
},
|
|
22120
|
-
["& .".concat(rowColClasses.column)]: {
|
|
22119
|
+
["& .".concat(rowColClasses.column)]: _objectSpread2({
|
|
22121
22120
|
flexWrap: 'nowrap',
|
|
22122
|
-
borderRight: "1px solid ".concat(theme.palette.divider)
|
|
22123
|
-
|
|
22124
|
-
},
|
|
22121
|
+
borderRight: "1px solid ".concat(theme.palette.divider)
|
|
22122
|
+
}, styles.content),
|
|
22125
22123
|
// The interior wrapper for all field content.
|
|
22126
22124
|
["& .".concat(rowColClasses.cell)]: {
|
|
22127
22125
|
zIndex: 2,
|
|
@@ -22140,11 +22138,7 @@
|
|
|
22140
22138
|
lineHeight: '16px',
|
|
22141
22139
|
userSelect: 'none',
|
|
22142
22140
|
paddingRight: '1px'
|
|
22143
|
-
}, ellipsis),
|
|
22144
|
-
fontSize: styles.content.fontSize,
|
|
22145
|
-
fontFamily: styles.content.fontFamily,
|
|
22146
|
-
color: rowFontColor
|
|
22147
|
-
}),
|
|
22141
|
+
}, ellipsis), contentFontStyles),
|
|
22148
22142
|
["& .".concat(rowColClasses.labelDense)]: {
|
|
22149
22143
|
fontSize: 12
|
|
22150
22144
|
},
|
|
@@ -22178,7 +22172,7 @@
|
|
|
22178
22172
|
width: iconWidth,
|
|
22179
22173
|
minWidth: iconWidth,
|
|
22180
22174
|
maxWidth: iconWidth,
|
|
22181
|
-
color:
|
|
22175
|
+
color: contentFontStyles.color
|
|
22182
22176
|
},
|
|
22183
22177
|
// Selection styles (S=Selected, XS=ExcludedSelected, A=Alternative, X=Excluded).
|
|
22184
22178
|
["& .".concat(rowColClasses.S)]: _objectSpread2(_objectSpread2({}, selectStyle), {}, {
|
|
@@ -22665,7 +22659,8 @@
|
|
|
22665
22659
|
let {
|
|
22666
22660
|
dataLayout,
|
|
22667
22661
|
layoutOrder,
|
|
22668
|
-
itemPadding
|
|
22662
|
+
itemPadding,
|
|
22663
|
+
fillHeight
|
|
22669
22664
|
} = _ref;
|
|
22670
22665
|
// Simulate margin/padding by making the item smaller than its container.
|
|
22671
22666
|
if (dataLayout === 'singleColumn') {
|
|
@@ -22677,14 +22672,14 @@
|
|
|
22677
22672
|
switch (layoutOrder) {
|
|
22678
22673
|
case 'row':
|
|
22679
22674
|
return {
|
|
22680
|
-
height: "calc(100% - ".concat(itemPadding, "px)"),
|
|
22675
|
+
height: fillHeight ? '100%' : "calc(100% - ".concat(itemPadding, "px)"),
|
|
22681
22676
|
width: "calc(100% - ".concat(2 * itemPadding, "px)"),
|
|
22682
22677
|
position: 'absolute',
|
|
22683
22678
|
left: 4
|
|
22684
22679
|
};
|
|
22685
22680
|
case 'column':
|
|
22686
22681
|
return {
|
|
22687
|
-
height: "calc(100% - ".concat(itemPadding, "px)"),
|
|
22682
|
+
height: fillHeight ? '100%' : "calc(100% - ".concat(itemPadding, "px)"),
|
|
22688
22683
|
width: "calc(100% - ".concat(2 * itemPadding, "px)"),
|
|
22689
22684
|
position: 'absolute',
|
|
22690
22685
|
left: 4
|
|
@@ -22695,21 +22690,23 @@
|
|
|
22695
22690
|
}
|
|
22696
22691
|
|
|
22697
22692
|
const ItemGrid = styled$1(Grid$1, {
|
|
22698
|
-
shouldForwardProp: prop => !['dataLayout', 'layoutOrder', 'itemPadding', 'cellPaddingRight', 'direction'].includes(prop)
|
|
22693
|
+
shouldForwardProp: prop => !['dataLayout', 'layoutOrder', 'itemPadding', 'cellPaddingRight', 'direction', 'fillHeight'].includes(prop)
|
|
22699
22694
|
})(_ref => {
|
|
22700
22695
|
let {
|
|
22701
22696
|
dataLayout,
|
|
22702
22697
|
layoutOrder,
|
|
22703
22698
|
itemPadding,
|
|
22704
22699
|
cellPaddingRight,
|
|
22705
|
-
direction
|
|
22700
|
+
direction,
|
|
22701
|
+
fillHeight
|
|
22706
22702
|
} = _ref;
|
|
22707
22703
|
const att = "padding".concat(direction === 'rtl' ? 'Left' : 'Right');
|
|
22708
22704
|
return {
|
|
22709
22705
|
["&.".concat(rowColClasses.fieldRoot)]: _objectSpread2(_objectSpread2({}, getGridItemSizes({
|
|
22710
22706
|
dataLayout,
|
|
22711
22707
|
layoutOrder,
|
|
22712
|
-
itemPadding
|
|
22708
|
+
itemPadding,
|
|
22709
|
+
fillHeight
|
|
22713
22710
|
})), {}, {
|
|
22714
22711
|
[att]: cellPaddingRight ? '8px' : undefined
|
|
22715
22712
|
})
|
|
@@ -23150,7 +23147,8 @@
|
|
|
23150
23147
|
showSearch,
|
|
23151
23148
|
isModal,
|
|
23152
23149
|
contentFontStyle,
|
|
23153
|
-
styles
|
|
23150
|
+
styles,
|
|
23151
|
+
fillHeight
|
|
23154
23152
|
} = data;
|
|
23155
23153
|
const {
|
|
23156
23154
|
dense = false,
|
|
@@ -23178,6 +23176,7 @@
|
|
|
23178
23176
|
}
|
|
23179
23177
|
const padding = 0;
|
|
23180
23178
|
styleOverrides = _objectSpread2(_objectSpread2({}, style), {}, {
|
|
23179
|
+
height: fillHeight ? '100%' : style.height,
|
|
23181
23180
|
left: padding + (columnIndex === 0 ? style.left : Number(style.left) + columnIndex * padding),
|
|
23182
23181
|
// right: columnIndex === columnCount ? style.right : Number(style.right) + columnIndex * padding,
|
|
23183
23182
|
top: rowIndex === 0 ? style.top : Number(style.top) + rowIndex * padding
|
|
@@ -23314,7 +23313,8 @@
|
|
|
23314
23313
|
onContextMenu: preventContextMenu,
|
|
23315
23314
|
tabIndex: isFirstElement && keyboard.innerTabStops ? 0 : -1,
|
|
23316
23315
|
"data-n": cell === null || cell === void 0 ? void 0 : cell.qElemNumber,
|
|
23317
|
-
direction: direction
|
|
23316
|
+
direction: direction,
|
|
23317
|
+
fillHeight: fillHeight
|
|
23318
23318
|
}, (cell === null || cell === void 0 ? void 0 : cell.qFrequency) && /*#__PURE__*/React.createElement(Histogram, {
|
|
23319
23319
|
qFrequency: cell === null || cell === void 0 ? void 0 : cell.qFrequency,
|
|
23320
23320
|
histogram: histogram,
|
|
@@ -24212,7 +24212,7 @@
|
|
|
24212
24212
|
scrollOffset = Math.max(0, Math.min(scrollOffset, scrollWidth - clientWidth));
|
|
24213
24213
|
return {
|
|
24214
24214
|
isScrolling: true,
|
|
24215
|
-
scrollDirection: prevState.scrollOffset <
|
|
24215
|
+
scrollDirection: prevState.scrollOffset < scrollOffset ? 'forward' : 'backward',
|
|
24216
24216
|
scrollOffset: scrollOffset,
|
|
24217
24217
|
scrollUpdateWasRequested: false
|
|
24218
24218
|
};
|
|
@@ -24954,6 +24954,7 @@
|
|
|
24954
24954
|
className: classes$9.styledScrollbars
|
|
24955
24955
|
};
|
|
24956
24956
|
const isLocked = layout === null || layout === void 0 ? void 0 : layout.qListObject.qDimensionInfo.qLocked;
|
|
24957
|
+
const fillHeight = listHeight <= itemHeight;
|
|
24957
24958
|
|
|
24958
24959
|
// Item data common for List and Grid.
|
|
24959
24960
|
const commonItemData = _objectSpread2(_objectSpread2({
|
|
@@ -24987,7 +24988,8 @@
|
|
|
24987
24988
|
translator,
|
|
24988
24989
|
showSearch,
|
|
24989
24990
|
isModal,
|
|
24990
|
-
styles
|
|
24991
|
+
styles,
|
|
24992
|
+
fillHeight
|
|
24991
24993
|
});
|
|
24992
24994
|
const List = _ref2 => {
|
|
24993
24995
|
let {
|
|
@@ -25184,6 +25186,21 @@
|
|
|
25184
25186
|
return measureString;
|
|
25185
25187
|
}
|
|
25186
25188
|
|
|
25189
|
+
function getItemHeight(_ref) {
|
|
25190
|
+
let {
|
|
25191
|
+
isGridMode,
|
|
25192
|
+
dense
|
|
25193
|
+
} = _ref;
|
|
25194
|
+
const normalItemHeight = isGridMode ? GRID_ROW_HEIGHT : LIST_ROW_HEIGHT;
|
|
25195
|
+
let itemHeight = dense ? DENSE_ROW_HEIGHT : normalItemHeight;
|
|
25196
|
+
if (isGridMode) {
|
|
25197
|
+
// Emulate a margin between items using padding, since the list library
|
|
25198
|
+
// needs an explicit row height and cannot handle margins.
|
|
25199
|
+
itemHeight += GRID_ITEM_PADDING;
|
|
25200
|
+
}
|
|
25201
|
+
return itemHeight;
|
|
25202
|
+
}
|
|
25203
|
+
|
|
25187
25204
|
function useListSizes(_ref) {
|
|
25188
25205
|
let {
|
|
25189
25206
|
layout,
|
|
@@ -25239,14 +25256,10 @@
|
|
|
25239
25256
|
let columnWidth;
|
|
25240
25257
|
let rowCount;
|
|
25241
25258
|
const isGridMode = dataLayout === 'grid';
|
|
25242
|
-
const
|
|
25243
|
-
|
|
25244
|
-
|
|
25245
|
-
|
|
25246
|
-
// Emulate a margin between items using padding, since the list library
|
|
25247
|
-
// needs an explicit row height and cannot handle margins.
|
|
25248
|
-
itemHeight += itemPadding;
|
|
25249
|
-
}
|
|
25259
|
+
const itemHeight = getItemHeight({
|
|
25260
|
+
isGridMode,
|
|
25261
|
+
dense
|
|
25262
|
+
});
|
|
25250
25263
|
const listHeight = height !== null && height !== void 0 ? height : 8 * itemHeight;
|
|
25251
25264
|
if (layoutOrder) {
|
|
25252
25265
|
// Modify container width to achieve the exact design with 8px margins on each side (left and right).
|
|
@@ -25255,7 +25268,7 @@
|
|
|
25255
25268
|
overflowStyling = {
|
|
25256
25269
|
overflowX: 'hidden'
|
|
25257
25270
|
};
|
|
25258
|
-
containerWidth +=
|
|
25271
|
+
containerWidth += GRID_ITEM_PADDING * 2;
|
|
25259
25272
|
({
|
|
25260
25273
|
rowCount,
|
|
25261
25274
|
columnWidth,
|
|
@@ -25310,7 +25323,7 @@
|
|
|
25310
25323
|
row: maxRowCount,
|
|
25311
25324
|
column: maxColumnCount
|
|
25312
25325
|
},
|
|
25313
|
-
itemPadding,
|
|
25326
|
+
itemPadding: GRID_ITEM_PADDING,
|
|
25314
25327
|
textWidth,
|
|
25315
25328
|
freqMinWidth,
|
|
25316
25329
|
freqMaxWidth
|
|
@@ -26327,7 +26340,7 @@
|
|
|
26327
26340
|
return {
|
|
26328
26341
|
// Set here to allow clicking through the modals container
|
|
26329
26342
|
pointerEvents: 'none',
|
|
26330
|
-
["& .".concat(classes$8.icon)]: {
|
|
26343
|
+
["& .".concat(classes$8.icon, " *")]: {
|
|
26331
26344
|
color: theme.palette.text.primary
|
|
26332
26345
|
}
|
|
26333
26346
|
};
|
|
@@ -26385,6 +26398,12 @@
|
|
|
26385
26398
|
slotProps: {
|
|
26386
26399
|
root: {
|
|
26387
26400
|
className: ActionsToolbarMoreElement.className
|
|
26401
|
+
},
|
|
26402
|
+
paper: {
|
|
26403
|
+
style: _objectSpread2({
|
|
26404
|
+
pointerEvents: 'auto',
|
|
26405
|
+
maxWidth: '250px'
|
|
26406
|
+
}, popoverPaperStyle)
|
|
26388
26407
|
}
|
|
26389
26408
|
},
|
|
26390
26409
|
anchorOrigin: {
|
|
@@ -26394,12 +26413,6 @@
|
|
|
26394
26413
|
transformOrigin: {
|
|
26395
26414
|
vertical: 'top',
|
|
26396
26415
|
horizontal: 'right'
|
|
26397
|
-
},
|
|
26398
|
-
PaperProps: {
|
|
26399
|
-
style: _objectSpread2({
|
|
26400
|
-
pointerEvents: 'auto',
|
|
26401
|
-
maxWidth: '250px'
|
|
26402
|
-
}, popoverPaperStyle)
|
|
26403
26416
|
}
|
|
26404
26417
|
}), /*#__PURE__*/React.createElement(MenuList$1, {
|
|
26405
26418
|
id: "moreMenuList"
|
|
@@ -26723,30 +26736,53 @@
|
|
|
26723
26736
|
|
|
26724
26737
|
const TREE_PATH = '/qListObjectDef';
|
|
26725
26738
|
const WILDCARD = '**';
|
|
26726
|
-
const
|
|
26727
|
-
shouldForwardProp: p =>
|
|
26739
|
+
const StyledOutlinedInput = styled$1(OutlinedInput$1, {
|
|
26740
|
+
shouldForwardProp: p => !['styles', 'dense', 'isRtl'].includes(p)
|
|
26728
26741
|
})(_ref => {
|
|
26729
26742
|
let {
|
|
26730
|
-
|
|
26743
|
+
theme,
|
|
26744
|
+
styles,
|
|
26745
|
+
dense,
|
|
26746
|
+
isRtl
|
|
26731
26747
|
} = _ref;
|
|
26732
|
-
|
|
26733
|
-
|
|
26734
|
-
|
|
26735
|
-
|
|
26736
|
-
|
|
26737
|
-
|
|
26738
|
-
|
|
26739
|
-
|
|
26740
|
-
|
|
26741
|
-
|
|
26742
|
-
|
|
26748
|
+
let denseProps = {};
|
|
26749
|
+
if (dense) {
|
|
26750
|
+
denseProps = {
|
|
26751
|
+
fontSize: 12,
|
|
26752
|
+
paddingLeft: theme.spacing(1),
|
|
26753
|
+
'& input': {
|
|
26754
|
+
paddingTop: '5px',
|
|
26755
|
+
paddingBottom: '5px'
|
|
26756
|
+
}
|
|
26757
|
+
};
|
|
26758
|
+
}
|
|
26759
|
+
return _objectSpread2({
|
|
26743
26760
|
display: 'flex',
|
|
26744
|
-
|
|
26761
|
+
border: 'none',
|
|
26762
|
+
fontSize: 14,
|
|
26763
|
+
borderRadius: 0,
|
|
26764
|
+
backgroundColor: styles.search.backgroundColor,
|
|
26765
|
+
paddingLeft: "".concat(CELL_PADDING_LEFT, "px"),
|
|
26766
|
+
flexDirection: isRtl ? 'row-reverse' : 'row',
|
|
26767
|
+
'& fieldset': {
|
|
26768
|
+
borderColor: "".concat(styles.search.borderColor),
|
|
26769
|
+
borderWidth: '1px 0 1px 0',
|
|
26770
|
+
borderRadius: 0
|
|
26771
|
+
},
|
|
26772
|
+
'& .MuiInputBase-root': _objectSpread2({}, styles.search),
|
|
26773
|
+
'& *': {
|
|
26745
26774
|
color: styles.search.color
|
|
26775
|
+
},
|
|
26776
|
+
'& input': {
|
|
26777
|
+
color: styles.search.color,
|
|
26778
|
+
textAlign: isRtl ? 'right' : 'left'
|
|
26779
|
+
},
|
|
26780
|
+
'&.Mui-focused fieldset.OutlinedInput-notchedOutline': {
|
|
26781
|
+
borderColor: "".concat(styles.search.highlightBorderColor, " !important")
|
|
26746
26782
|
}
|
|
26747
|
-
};
|
|
26783
|
+
}, denseProps);
|
|
26748
26784
|
});
|
|
26749
|
-
function ListBoxSearch(
|
|
26785
|
+
function ListBoxSearch(_ref2) {
|
|
26750
26786
|
let {
|
|
26751
26787
|
selections,
|
|
26752
26788
|
selectionState,
|
|
@@ -26760,20 +26796,18 @@
|
|
|
26760
26796
|
direction,
|
|
26761
26797
|
hide,
|
|
26762
26798
|
styles
|
|
26763
|
-
} =
|
|
26799
|
+
} = _ref2;
|
|
26764
26800
|
const {
|
|
26765
26801
|
translator
|
|
26766
26802
|
} = reactExports.useContext(InstanceContext);
|
|
26767
26803
|
const [value, setValue] = reactExports.useState('');
|
|
26768
26804
|
const [wildcardOn, setWildcardOn] = reactExports.useState(false);
|
|
26769
26805
|
const inputRef = reactExports.useRef();
|
|
26770
|
-
const theme = useTheme$1();
|
|
26771
26806
|
const {
|
|
26772
26807
|
getStoreValue,
|
|
26773
26808
|
setStoreValue
|
|
26774
26809
|
} = useDataStore(model);
|
|
26775
26810
|
const isRtl = direction === 'rtl';
|
|
26776
|
-
const inpuTextAlign = isRtl ? 'right' : 'left';
|
|
26777
26811
|
const cancel = () => selections.isActive() && selections.cancel();
|
|
26778
26812
|
const abortSearch = async () => {
|
|
26779
26813
|
if (!selections.isModal()) {
|
|
@@ -26897,37 +26931,14 @@
|
|
|
26897
26931
|
}
|
|
26898
26932
|
return /*#__PURE__*/React.createElement(StyledOutlinedInput, {
|
|
26899
26933
|
styles: styles,
|
|
26900
|
-
|
|
26901
|
-
|
|
26902
|
-
|
|
26934
|
+
dense: dense,
|
|
26935
|
+
isRtl: isRtl,
|
|
26936
|
+
startAdornment: /*#__PURE__*/React.createElement(InputAdornment$1, {
|
|
26937
|
+
position: "start"
|
|
26903
26938
|
}, /*#__PURE__*/React.createElement(SearchIcon, {
|
|
26904
26939
|
size: dense ? 'small' : 'normal'
|
|
26905
26940
|
})),
|
|
26906
26941
|
className: "search",
|
|
26907
|
-
sx: [{
|
|
26908
|
-
border: 'none',
|
|
26909
|
-
fontSize: 14,
|
|
26910
|
-
borderRadius: 0,
|
|
26911
|
-
backgroundColor: 'transparent',
|
|
26912
|
-
'& fieldset': {
|
|
26913
|
-
border: "1px solid ".concat(theme.palette.divider),
|
|
26914
|
-
borderWidth: '1px 0 1px 0',
|
|
26915
|
-
borderRadius: 0
|
|
26916
|
-
},
|
|
26917
|
-
'&:hover': {
|
|
26918
|
-
border: 'none'
|
|
26919
|
-
},
|
|
26920
|
-
paddingLeft: "".concat(CELL_PADDING_LEFT, "px")
|
|
26921
|
-
}, dense && {
|
|
26922
|
-
fontSize: 12,
|
|
26923
|
-
paddingLeft: theme.spacing(1),
|
|
26924
|
-
'& input': {
|
|
26925
|
-
paddingTop: '5px',
|
|
26926
|
-
paddingBottom: '5px'
|
|
26927
|
-
}
|
|
26928
|
-
}, {
|
|
26929
|
-
flexDirection: isRtl ? 'row-reverse' : 'row'
|
|
26930
|
-
}],
|
|
26931
26942
|
inputRef: inputRef,
|
|
26932
26943
|
size: "small",
|
|
26933
26944
|
fullWidth: true,
|
|
@@ -26939,9 +26950,6 @@
|
|
|
26939
26950
|
autoFocus: autoFocus,
|
|
26940
26951
|
inputProps: {
|
|
26941
26952
|
tabIndex: keyboard.innerTabStops ? 0 : -1,
|
|
26942
|
-
style: {
|
|
26943
|
-
textAlign: "".concat(inpuTextAlign)
|
|
26944
|
-
},
|
|
26945
26953
|
'data-testid': 'search-input-field',
|
|
26946
26954
|
'aria-label': translator.get('Listbox.Search.ScreenReaderInstructions')
|
|
26947
26955
|
}
|
|
@@ -28139,7 +28147,7 @@
|
|
|
28139
28147
|
* @class
|
|
28140
28148
|
* @classdesc Class which provides color transformation functionality
|
|
28141
28149
|
* @description This is a constructor.
|
|
28142
|
-
* @private
|
|
28150
|
+
* @private
|
|
28143
28151
|
* @param {object} - Parameters to create a color from different notations
|
|
28144
28152
|
* @example
|
|
28145
28153
|
* // a few ways of instantiating a red color
|
|
@@ -28932,6 +28940,211 @@
|
|
|
28932
28940
|
}
|
|
28933
28941
|
}
|
|
28934
28942
|
|
|
28943
|
+
const MULTI_REG = /,(?![^(]*\))/;
|
|
28944
|
+
const SINGLE_REG = /\s(?![^(]*\))/;
|
|
28945
|
+
const LENGTH_REG = /^[0-9]+[a-zA-Z%]+?$/;
|
|
28946
|
+
const PREDEFINED_STRINGS = ['none', 'inset', 'initial', 'inherit'];
|
|
28947
|
+
const isLength = v => v === '0' || LENGTH_REG.test(v);
|
|
28948
|
+
const getColor = singleShadowString => {
|
|
28949
|
+
if (!singleShadowString) return undefined;
|
|
28950
|
+
const parts = singleShadowString.split(SINGLE_REG).filter(part => !PREDEFINED_STRINGS.includes(part.toLowerCase()));
|
|
28951
|
+
const last = parts.at(-1);
|
|
28952
|
+
const color = last && !isLength(last) && !PREDEFINED_STRINGS.includes(last.toLowerCase()) ? last : undefined;
|
|
28953
|
+
return color;
|
|
28954
|
+
};
|
|
28955
|
+
const getShadows = shadowString => {
|
|
28956
|
+
if (!shadowString) return [];
|
|
28957
|
+
return shadowString.split(MULTI_REG).map(s => s.trim());
|
|
28958
|
+
};
|
|
28959
|
+
|
|
28960
|
+
/**
|
|
28961
|
+
* Combine box shadow with box shadow color.
|
|
28962
|
+
* @private
|
|
28963
|
+
* @param {string} boxShadow - Box shadow which may include color
|
|
28964
|
+
* @param {string} themeBoxShadow - Box shadow from theme which may include color
|
|
28965
|
+
* @param {string | undefined} boxShadowColor - Box shadow color
|
|
28966
|
+
* @returns {string} Returns the combined box shadow and box shadow color
|
|
28967
|
+
*
|
|
28968
|
+
* If boxShadow is a single shadow and has a color then this color will be replaced by boxShadowColor and then
|
|
28969
|
+
* returned as the result,otherwise boxShadowColor will be added to boxShadow and then returned as the result.
|
|
28970
|
+
* If boxShadow is multiple shadows or an empty string then it will be returned as the result.
|
|
28971
|
+
*
|
|
28972
|
+
* @example getFullBoxShadow('none', '', 'red') returns 'none'
|
|
28973
|
+
*
|
|
28974
|
+
* @example getFullBoxShadow('initial', '', 'red') returns 'initial'
|
|
28975
|
+
*
|
|
28976
|
+
* @example getFullBoxShadow('inherit', '', 'red') returns 'inherit'
|
|
28977
|
+
*
|
|
28978
|
+
* @example getFullBoxShadow('', '', 'red') returns ''
|
|
28979
|
+
*
|
|
28980
|
+
* @example getFullBoxShadow('1px 2px blue, 3px 6px green', '', 'red') returns '1px 2px blue, 3px 6px green'
|
|
28981
|
+
*
|
|
28982
|
+
* @example getFullBoxShadow('1px 2px blue', '', 'red') returns '1px 2px red'
|
|
28983
|
+
*
|
|
28984
|
+
* @example getFullBoxShadow('1px 2px', '', 'red') returns '1px 2px red'
|
|
28985
|
+
*
|
|
28986
|
+
* @example getFullBoxShadow('1px 2px', '2px 5px green', undefined) returns '1px 2px green'
|
|
28987
|
+
*
|
|
28988
|
+
* @example getFullBoxShadow('1px 2px', '2px 5px', undefined) returns '1px 2px'
|
|
28989
|
+
*/
|
|
28990
|
+
const getFullBoxShadow = (boxShadow, themeBoxShadow, boxShadowColor) => {
|
|
28991
|
+
if (boxShadow && PREDEFINED_STRINGS.includes(boxShadow.toLowerCase())) return boxShadow.toLowerCase();
|
|
28992
|
+
const shadowArray = getShadows(boxShadow);
|
|
28993
|
+
if (shadowArray.length !== 1) return boxShadow;
|
|
28994
|
+
let shadowColor = boxShadowColor;
|
|
28995
|
+
if (!shadowColor) {
|
|
28996
|
+
const themeShadowArray = getShadows(themeBoxShadow);
|
|
28997
|
+
if (themeShadowArray.length !== 1) return boxShadow;
|
|
28998
|
+
shadowColor = getColor(themeShadowArray[0]);
|
|
28999
|
+
}
|
|
29000
|
+
if (!shadowColor) return boxShadow;
|
|
29001
|
+
const color = getColor(shadowArray[0]);
|
|
29002
|
+
if (color) return boxShadow.replace(color, shadowColor);
|
|
29003
|
+
return "".concat(boxShadow, " ").concat(shadowColor);
|
|
29004
|
+
};
|
|
29005
|
+
|
|
29006
|
+
function resolveProperty(path, attribute, theme, objectType) {
|
|
29007
|
+
if (theme && objectType) {
|
|
29008
|
+
return theme.getStyle("object.".concat(objectType), path, attribute);
|
|
29009
|
+
}
|
|
29010
|
+
if (theme) {
|
|
29011
|
+
return theme.getStyle('', path, attribute);
|
|
29012
|
+
}
|
|
29013
|
+
return undefined;
|
|
29014
|
+
}
|
|
29015
|
+
|
|
29016
|
+
const supportNone = true;
|
|
29017
|
+
function resolveColor(colorObj, path, attribute, theme, objectType) {
|
|
29018
|
+
if (colorObj && theme) {
|
|
29019
|
+
return colorObj.color !== 'none' ? theme.getColorPickerColor(colorObj, supportNone) : undefined;
|
|
29020
|
+
}
|
|
29021
|
+
return resolveProperty(path, attribute, theme, objectType);
|
|
29022
|
+
}
|
|
29023
|
+
|
|
29024
|
+
const imageSizingToCssProperty = {
|
|
29025
|
+
originalSize: 'auto auto',
|
|
29026
|
+
alwaysFit: 'contain',
|
|
29027
|
+
fitWidth: '100% auto',
|
|
29028
|
+
fitHeight: 'auto 100%',
|
|
29029
|
+
stretchFit: '100% 100%',
|
|
29030
|
+
alwaysFill: 'cover'
|
|
29031
|
+
};
|
|
29032
|
+
const positionToCss = {
|
|
29033
|
+
'top-left': 'top left',
|
|
29034
|
+
'top-center': 'top center',
|
|
29035
|
+
'top-right': 'top right',
|
|
29036
|
+
'center-left': 'center left',
|
|
29037
|
+
'center-center': 'center center',
|
|
29038
|
+
'center-right': 'center right',
|
|
29039
|
+
'bottom-left': 'bottom left',
|
|
29040
|
+
'bottom-center': 'bottom center',
|
|
29041
|
+
'bottom-right': 'bottom right'
|
|
29042
|
+
};
|
|
29043
|
+
|
|
29044
|
+
// TODO: this needs some proper verification
|
|
29045
|
+
function getSenseServerUrl(app) {
|
|
29046
|
+
var _app$session;
|
|
29047
|
+
let config;
|
|
29048
|
+
let wsUrl;
|
|
29049
|
+
let protocol;
|
|
29050
|
+
let isSecure;
|
|
29051
|
+
if (app !== null && app !== void 0 && (_app$session = app.session) !== null && _app$session !== void 0 && _app$session.config) {
|
|
29052
|
+
config = app.session.config;
|
|
29053
|
+
wsUrl = new URL(config.url);
|
|
29054
|
+
isSecure = wsUrl.protocol === 'wss:';
|
|
29055
|
+
protocol = isSecure ? 'https://' : 'http://';
|
|
29056
|
+
return protocol + wsUrl.host;
|
|
29057
|
+
}
|
|
29058
|
+
return '';
|
|
29059
|
+
}
|
|
29060
|
+
function getBackgroundPosition(bgComp) {
|
|
29061
|
+
var _bgComp$bgImage;
|
|
29062
|
+
let bkgImagePosition = 'center center';
|
|
29063
|
+
if (bgComp !== null && bgComp !== void 0 && (_bgComp$bgImage = bgComp.bgImage) !== null && _bgComp$bgImage !== void 0 && _bgComp$bgImage.position) {
|
|
29064
|
+
bkgImagePosition = positionToCss[bgComp.bgImage.position];
|
|
29065
|
+
}
|
|
29066
|
+
return bkgImagePosition;
|
|
29067
|
+
}
|
|
29068
|
+
function getBackgroundSize(bgComp) {
|
|
29069
|
+
var _bgComp$bgImage2;
|
|
29070
|
+
let bkgImageSize = imageSizingToCssProperty.originalSize;
|
|
29071
|
+
const size = bgComp === null || bgComp === void 0 || (_bgComp$bgImage2 = bgComp.bgImage) === null || _bgComp$bgImage2 === void 0 ? void 0 : _bgComp$bgImage2.sizing;
|
|
29072
|
+
if (size) {
|
|
29073
|
+
bkgImageSize = imageSizingToCssProperty[size];
|
|
29074
|
+
}
|
|
29075
|
+
return bkgImageSize;
|
|
29076
|
+
}
|
|
29077
|
+
function resolveImageUrl(app, relativeUrl) {
|
|
29078
|
+
return relativeUrl ? getSenseServerUrl(app) + relativeUrl : undefined;
|
|
29079
|
+
}
|
|
29080
|
+
function resolveBgImage(bgComp, app) {
|
|
29081
|
+
const bgImageDef = bgComp === null || bgComp === void 0 ? void 0 : bgComp.bgImage;
|
|
29082
|
+
if (bgImageDef) {
|
|
29083
|
+
let url = '';
|
|
29084
|
+
if (bgImageDef.mode === 'media' || bgComp.useImage === 'media') {
|
|
29085
|
+
const urlObj = bgImageDef === null || bgImageDef === void 0 ? void 0 : bgImageDef.mediaUrl;
|
|
29086
|
+
const {
|
|
29087
|
+
qUrl
|
|
29088
|
+
} = (urlObj === null || urlObj === void 0 ? void 0 : urlObj.qStaticContentUrl) || {};
|
|
29089
|
+
url = qUrl ? decodeURIComponent(qUrl) : undefined;
|
|
29090
|
+
url = resolveImageUrl(app, url);
|
|
29091
|
+
}
|
|
29092
|
+
if (bgImageDef.mode === 'expression') {
|
|
29093
|
+
url = bgImageDef.expressionUrl ? decodeURIComponent(bgImageDef.expressionUrl) : undefined;
|
|
29094
|
+
}
|
|
29095
|
+
const pos = getBackgroundPosition(bgComp);
|
|
29096
|
+
const size = getBackgroundSize(bgComp);
|
|
29097
|
+
return url ? {
|
|
29098
|
+
url,
|
|
29099
|
+
pos,
|
|
29100
|
+
size
|
|
29101
|
+
} : undefined;
|
|
29102
|
+
}
|
|
29103
|
+
return undefined;
|
|
29104
|
+
}
|
|
29105
|
+
function resolveBgColor(comp, theme, objectType) {
|
|
29106
|
+
const bgColor = comp === null || comp === void 0 ? void 0 : comp.bgColor;
|
|
29107
|
+
if (bgColor && theme) {
|
|
29108
|
+
if (bgColor.useExpression) {
|
|
29109
|
+
return theme.validateColor(bgColor.colorExpression);
|
|
29110
|
+
}
|
|
29111
|
+
}
|
|
29112
|
+
return resolveColor(bgColor === null || bgColor === void 0 ? void 0 : bgColor.color, '', 'backgroundColor', theme, objectType);
|
|
29113
|
+
}
|
|
29114
|
+
function resolveBorder(comp, theme, objectType) {
|
|
29115
|
+
const borderColor = resolveColor(comp === null || comp === void 0 ? void 0 : comp.borderColor, '', 'borderColor', theme, objectType);
|
|
29116
|
+
const borderWidth = (comp === null || comp === void 0 ? void 0 : comp.borderWidth) || resolveProperty('', 'borderWidth', theme, objectType);
|
|
29117
|
+
return borderWidth && borderColor ? "".concat(borderWidth, " solid ").concat(borderColor) : undefined;
|
|
29118
|
+
}
|
|
29119
|
+
function resolveBorderRadius(comp, theme, objectType) {
|
|
29120
|
+
return (comp === null || comp === void 0 ? void 0 : comp.borderRadius) || resolveProperty('', 'borderRadius', theme, objectType);
|
|
29121
|
+
}
|
|
29122
|
+
function resolveBoxShadow(comp, theme, objectType) {
|
|
29123
|
+
var _comp$shadow, _comp$shadow2;
|
|
29124
|
+
const themeBoxShadow = resolveProperty('shadow', 'boxShadow', theme, objectType);
|
|
29125
|
+
const boxShadow = (comp === null || comp === void 0 || (_comp$shadow = comp.shadow) === null || _comp$shadow === void 0 ? void 0 : _comp$shadow.boxShadow) || themeBoxShadow;
|
|
29126
|
+
const boxShadowColor = resolveColor(comp === null || comp === void 0 || (_comp$shadow2 = comp.shadow) === null || _comp$shadow2 === void 0 ? void 0 : _comp$shadow2.boxShadowColor, 'shadow', 'boxShadowColor', theme, objectType);
|
|
29127
|
+
return getFullBoxShadow(boxShadow, themeBoxShadow, boxShadowColor);
|
|
29128
|
+
}
|
|
29129
|
+
function unfurlFontStyle(fontStyle, target) {
|
|
29130
|
+
if (fontStyle && Array.isArray(fontStyle)) {
|
|
29131
|
+
return fontStyle;
|
|
29132
|
+
}
|
|
29133
|
+
return target === 'main' ? ['bold'] : [];
|
|
29134
|
+
}
|
|
29135
|
+
function resolveTextStyle(textComp, target, theme, objectType) {
|
|
29136
|
+
var _textComp$title;
|
|
29137
|
+
const textProps = (textComp === null || textComp === void 0 || (_textComp$title = textComp.title) === null || _textComp$title === void 0 ? void 0 : _textComp$title[target]) || {};
|
|
29138
|
+
const fontStyle = unfurlFontStyle(textProps.fontStyle, target);
|
|
29139
|
+
return {
|
|
29140
|
+
fontFamily: textProps.fontFamily || theme.getStyle("object.".concat(objectType), "title.".concat(target), 'fontFamily'),
|
|
29141
|
+
color: textProps.color && textProps.color.color !== 'none' ? theme.getColorPickerColor(textProps.color, true) : theme.getStyle("object.".concat(objectType), target, 'color'),
|
|
29142
|
+
fontWeight: fontStyle.includes('bold') ? 'bold' : 'normal',
|
|
29143
|
+
fontStyle: fontStyle.includes('italic') ? 'italic' : 'normal',
|
|
29144
|
+
textDecoration: fontStyle.includes('underline') ? 'underline' : 'initial'
|
|
29145
|
+
};
|
|
29146
|
+
}
|
|
29147
|
+
|
|
28935
29148
|
const LIGHT = '#FFF';
|
|
28936
29149
|
const DARK = '#000';
|
|
28937
29150
|
const CONTRAST_THRESHOLD = 1.5;
|
|
@@ -29033,14 +29246,40 @@
|
|
|
29033
29246
|
possibleContrast
|
|
29034
29247
|
};
|
|
29035
29248
|
}
|
|
29036
|
-
function
|
|
29037
|
-
var _themeOverrides$heade, _themeOverrides$heade2, _themeOverrides$conte;
|
|
29249
|
+
function getBackgroundColor(_ref2) {
|
|
29038
29250
|
let {
|
|
29251
|
+
themeApi,
|
|
29252
|
+
themeOverrides
|
|
29253
|
+
} = _ref2;
|
|
29254
|
+
let color;
|
|
29255
|
+
const bgColor = themeOverrides === null || themeOverrides === void 0 ? void 0 : themeOverrides.background;
|
|
29256
|
+
if (!bgColor) {
|
|
29257
|
+
return color;
|
|
29258
|
+
}
|
|
29259
|
+
if (bgColor !== null && bgColor !== void 0 && bgColor.useExpression) {
|
|
29260
|
+
color = resolveBgColor({
|
|
29261
|
+
bgColor
|
|
29262
|
+
}, themeApi, 'listBox');
|
|
29263
|
+
} else {
|
|
29264
|
+
var _themeApi$getColorPic;
|
|
29265
|
+
color = (_themeApi$getColorPic = themeApi.getColorPickerColor(bgColor, true)) === null || _themeApi$getColorPic === void 0 ? void 0 : _themeApi$getColorPic.color;
|
|
29266
|
+
}
|
|
29267
|
+
return color;
|
|
29268
|
+
}
|
|
29269
|
+
function getSearchColor(getListboxStyle) {
|
|
29270
|
+
const desiredTextColor = getListboxStyle('content', 'color');
|
|
29271
|
+
const color = getContrastingColor('#fff', desiredTextColor);
|
|
29272
|
+
return color;
|
|
29273
|
+
}
|
|
29274
|
+
function getStyles(_ref3) {
|
|
29275
|
+
var _themeOverrides$heade, _themeOverrides$backg, _themeOverrides$heade2, _themeOverrides$conte, _themeOverrides$heade3, _themeOverrides$heade4, _themeOverrides$conte2, _themeOverrides$conte3;
|
|
29276
|
+
let {
|
|
29277
|
+
app,
|
|
29039
29278
|
themeApi,
|
|
29040
29279
|
theme,
|
|
29041
29280
|
components = [],
|
|
29042
29281
|
checkboxes = false
|
|
29043
|
-
} =
|
|
29282
|
+
} = _ref3;
|
|
29044
29283
|
const overrides = getOverridesAsObject(components);
|
|
29045
29284
|
const getListboxStyle = (path, prop) => themeApi.getStyle('object.listBox', path, prop);
|
|
29046
29285
|
const selections = getSelectionColors({
|
|
@@ -29050,22 +29289,51 @@
|
|
|
29050
29289
|
checkboxes
|
|
29051
29290
|
});
|
|
29052
29291
|
const themeOverrides = overrides.theme || {};
|
|
29292
|
+
const headerColor = ((_themeOverrides$heade = themeOverrides.header) === null || _themeOverrides$heade === void 0 || (_themeOverrides$heade = _themeOverrides$heade.fontColor) === null || _themeOverrides$heade === void 0 ? void 0 : _themeOverrides$heade.color) || getListboxStyle('title.main', 'color');
|
|
29293
|
+
const bgComponentColor = getBackgroundColor({
|
|
29294
|
+
themeApi,
|
|
29295
|
+
themeOverrides
|
|
29296
|
+
});
|
|
29297
|
+
const bgImage = (_themeOverrides$backg = themeOverrides.background) !== null && _themeOverrides$backg !== void 0 && _themeOverrides$backg.image ? resolveBgImage({
|
|
29298
|
+
bgImage: themeOverrides.background.image
|
|
29299
|
+
}, app) : undefined;
|
|
29300
|
+
const searchBgColor = 'rgba(255, 255, 255, 0.7)';
|
|
29301
|
+
const searchColor = getSearchColor(getListboxStyle);
|
|
29302
|
+
const headerFontStyle = ((_themeOverrides$heade2 = themeOverrides.header) === null || _themeOverrides$heade2 === void 0 ? void 0 : _themeOverrides$heade2.fontStyle) || {};
|
|
29303
|
+
const contentFontStyle = ((_themeOverrides$conte = themeOverrides.content) === null || _themeOverrides$conte === void 0 ? void 0 : _themeOverrides$conte.fontStyle) || {};
|
|
29304
|
+
|
|
29305
|
+
// Ensure we only return falseValue when the component is used, and thus has a false value.
|
|
29306
|
+
const getWithFallback = (value, trueValue, falseValue) => value === true && trueValue || value === false && falseValue || undefined;
|
|
29053
29307
|
return {
|
|
29054
|
-
|
|
29308
|
+
background: {
|
|
29309
|
+
backgroundColor: bgComponentColor || getListboxStyle('', 'backgroundColor') || theme.palette.background.default,
|
|
29310
|
+
backgroundImage: bgImage !== null && bgImage !== void 0 && bgImage.url && !(bgImage !== null && bgImage !== void 0 && bgImage.url.startsWith('url(')) ? "url('".concat(bgImage.url, "')") : undefined,
|
|
29311
|
+
backgroundRepeat: 'no-repeat',
|
|
29312
|
+
backgroundSize: bgImage === null || bgImage === void 0 ? void 0 : bgImage.size,
|
|
29313
|
+
backgroundPosition: bgImage === null || bgImage === void 0 ? void 0 : bgImage.pos
|
|
29314
|
+
},
|
|
29055
29315
|
header: {
|
|
29056
|
-
color:
|
|
29057
|
-
fontSize: ((_themeOverrides$
|
|
29058
|
-
fontFamily: getListboxStyle('title.main', 'fontFamily'),
|
|
29059
|
-
fontWeight: getListboxStyle('title.main', 'fontWeight') || 'bold'
|
|
29316
|
+
color: headerColor,
|
|
29317
|
+
fontSize: ((_themeOverrides$heade3 = themeOverrides.header) === null || _themeOverrides$heade3 === void 0 ? void 0 : _themeOverrides$heade3.fontSize) || getListboxStyle('title.main', 'fontSize'),
|
|
29318
|
+
fontFamily: ((_themeOverrides$heade4 = themeOverrides.header) === null || _themeOverrides$heade4 === void 0 ? void 0 : _themeOverrides$heade4.fontFamily) || getListboxStyle('title.main', 'fontFamily'),
|
|
29319
|
+
fontWeight: getWithFallback(headerFontStyle.bold, 'bold', 'normal') || getListboxStyle('title.main', 'fontWeight') || 'bold',
|
|
29320
|
+
textDecoration: headerFontStyle.underline ? 'underline' : 'initial',
|
|
29321
|
+
fontStyle: getWithFallback(headerFontStyle.italic, 'italic', 'normal') || getListboxStyle('title.main', 'fontStyle') || 'initial'
|
|
29060
29322
|
},
|
|
29061
29323
|
content: {
|
|
29062
29324
|
backgroundColor: checkboxes ? undefined : selections.possible,
|
|
29063
29325
|
color: selections.possibleContrast || getListboxStyle('content', 'color'),
|
|
29064
|
-
fontSize: ((_themeOverrides$
|
|
29065
|
-
fontFamily: getListboxStyle('content', 'fontFamily')
|
|
29326
|
+
fontSize: ((_themeOverrides$conte2 = themeOverrides.content) === null || _themeOverrides$conte2 === void 0 ? void 0 : _themeOverrides$conte2.fontSize) || getListboxStyle('content', 'fontSize'),
|
|
29327
|
+
fontFamily: ((_themeOverrides$conte3 = themeOverrides.content) === null || _themeOverrides$conte3 === void 0 ? void 0 : _themeOverrides$conte3.fontFamily) || getListboxStyle('content', 'fontFamily'),
|
|
29328
|
+
fontWeight: getWithFallback(contentFontStyle.bold, 'bold', 'normal') || getListboxStyle('content', 'fontWeight') || 'normal',
|
|
29329
|
+
textDecoration: contentFontStyle.underline ? 'underline' : 'initial',
|
|
29330
|
+
fontStyle: getWithFallback(contentFontStyle.italic, 'italic', 'normal') || getListboxStyle('content', 'fontStyle') || 'initial'
|
|
29066
29331
|
},
|
|
29067
29332
|
search: {
|
|
29068
|
-
color:
|
|
29333
|
+
color: searchColor,
|
|
29334
|
+
borderColor: theme.palette.divider,
|
|
29335
|
+
highlightBorderColor: theme.palette.primary.main,
|
|
29336
|
+
backgroundColor: searchBgColor
|
|
29069
29337
|
},
|
|
29070
29338
|
selections
|
|
29071
29339
|
};
|
|
@@ -30724,6 +30992,33 @@
|
|
|
30724
30992
|
return isDQ;
|
|
30725
30993
|
}
|
|
30726
30994
|
|
|
30995
|
+
function getContainerPadding(_ref) {
|
|
30996
|
+
let {
|
|
30997
|
+
isGridMode,
|
|
30998
|
+
dense,
|
|
30999
|
+
height,
|
|
31000
|
+
layoutOrder
|
|
31001
|
+
} = _ref;
|
|
31002
|
+
let containerPadding;
|
|
31003
|
+
if (isGridMode) {
|
|
31004
|
+
const itemHeight = getItemHeight({
|
|
31005
|
+
isGridMode,
|
|
31006
|
+
dense
|
|
31007
|
+
});
|
|
31008
|
+
let paddingY;
|
|
31009
|
+
if (itemHeight > height) {
|
|
31010
|
+
paddingY = '0px';
|
|
31011
|
+
} else {
|
|
31012
|
+
paddingY = '2px';
|
|
31013
|
+
}
|
|
31014
|
+
containerPadding = layoutOrder === 'row' ? "".concat(paddingY, " 4px") : "".concat(paddingY, " 6px ").concat(paddingY, " 4px");
|
|
31015
|
+
} else {
|
|
31016
|
+
containerPadding = undefined; // to prevent overriding any default padding
|
|
31017
|
+
}
|
|
31018
|
+
|
|
31019
|
+
return containerPadding;
|
|
31020
|
+
}
|
|
31021
|
+
|
|
30727
31022
|
const PREFIX$4 = 'ListBoxInline';
|
|
30728
31023
|
const classes$4 = {
|
|
30729
31024
|
listBoxHeader: "".concat(PREFIX$4, "-listBoxHeader"),
|
|
@@ -30739,8 +31034,8 @@
|
|
|
30739
31034
|
isGridMode,
|
|
30740
31035
|
styles
|
|
30741
31036
|
} = _ref;
|
|
30742
|
-
return {
|
|
30743
|
-
background
|
|
31037
|
+
return _objectSpread2(_objectSpread2({}, styles.background), {}, {
|
|
31038
|
+
// sets background color and image of listbox
|
|
30744
31039
|
["& .".concat(classes$4.listBoxHeader)]: {
|
|
30745
31040
|
alignSelf: 'center',
|
|
30746
31041
|
display: 'flex'
|
|
@@ -30763,33 +31058,50 @@
|
|
|
30763
31058
|
'&:focus-visible': {
|
|
30764
31059
|
outline: 'none'
|
|
30765
31060
|
}
|
|
30766
|
-
};
|
|
31061
|
+
});
|
|
30767
31062
|
});
|
|
30768
|
-
const
|
|
31063
|
+
const StyledGridHeader = styled$1(Grid$1, {
|
|
31064
|
+
shouldForwardProp: p => !['styles', 'isRtl'].includes(p)
|
|
31065
|
+
})(_ref2 => {
|
|
30769
31066
|
let {
|
|
30770
|
-
styles
|
|
31067
|
+
styles,
|
|
31068
|
+
isRtl
|
|
30771
31069
|
} = _ref2;
|
|
30772
|
-
return {
|
|
30773
|
-
|
|
30774
|
-
|
|
30775
|
-
|
|
30776
|
-
|
|
30777
|
-
}
|
|
31070
|
+
return _objectSpread2(_objectSpread2({
|
|
31071
|
+
flexDirection: isRtl ? 'row-reverse' : 'row',
|
|
31072
|
+
wrap: 'nowrap',
|
|
31073
|
+
minHeight: 32,
|
|
31074
|
+
alignContent: 'center'
|
|
31075
|
+
}, styles.header), {}, {
|
|
31076
|
+
'& *': {
|
|
31077
|
+
// Assign the styles color as defaul color for all elements in the header
|
|
31078
|
+
color: styles.header.color
|
|
31079
|
+
}
|
|
31080
|
+
});
|
|
31081
|
+
});
|
|
31082
|
+
const Title = styled$1(Typography$1)(_ref3 => {
|
|
31083
|
+
let {
|
|
31084
|
+
styles
|
|
31085
|
+
} = _ref3;
|
|
31086
|
+
return _objectSpread2(_objectSpread2({}, styles.header), {}, {
|
|
31087
|
+
paddingRight: '1px' // make place for italic font style
|
|
31088
|
+
});
|
|
30778
31089
|
});
|
|
30779
|
-
|
|
31090
|
+
|
|
31091
|
+
const isModal = _ref4 => {
|
|
30780
31092
|
var _app$isInModalSelecti, _app$isInModalSelecti2;
|
|
30781
31093
|
let {
|
|
30782
31094
|
app,
|
|
30783
31095
|
appSelections
|
|
30784
|
-
} =
|
|
31096
|
+
} = _ref4;
|
|
30785
31097
|
return (_app$isInModalSelecti = (_app$isInModalSelecti2 = app.isInModalSelection) === null || _app$isInModalSelecti2 === void 0 ? void 0 : _app$isInModalSelecti2.call(app)) !== null && _app$isInModalSelecti !== void 0 ? _app$isInModalSelecti : appSelections.isInModal();
|
|
30786
31098
|
};
|
|
30787
|
-
function ListBoxInline(
|
|
30788
|
-
var _layout$qListObject, _layout$qListObject2, _layoutOptions$dense;
|
|
31099
|
+
function ListBoxInline(_ref5) {
|
|
31100
|
+
var _layout$qListObject, _layout$qListObject2, _layoutOptions$dense, _containerRef$current;
|
|
30789
31101
|
let {
|
|
30790
31102
|
options,
|
|
30791
31103
|
layout
|
|
30792
|
-
} =
|
|
31104
|
+
} = _ref5;
|
|
30793
31105
|
const {
|
|
30794
31106
|
app,
|
|
30795
31107
|
direction,
|
|
@@ -30838,6 +31150,7 @@
|
|
|
30838
31150
|
checkboxes = checkboxesOption
|
|
30839
31151
|
} = layout || {};
|
|
30840
31152
|
const styles = getStyles({
|
|
31153
|
+
app,
|
|
30841
31154
|
themeApi,
|
|
30842
31155
|
theme,
|
|
30843
31156
|
components,
|
|
@@ -30983,7 +31296,6 @@
|
|
|
30983
31296
|
const showSearchToggle = search === 'toggle' && showSearch;
|
|
30984
31297
|
const searchVisible = (search === true || showSearchToggle) && !selectDisabled() && searchEnabled !== false;
|
|
30985
31298
|
const dense = (_layoutOptions$dense = layoutOptions.dense) !== null && _layoutOptions$dense !== void 0 ? _layoutOptions$dense : false;
|
|
30986
|
-
const headerHeight = 32;
|
|
30987
31299
|
const onShowSearch = () => {
|
|
30988
31300
|
const newValue = !showSearch;
|
|
30989
31301
|
setShowSearch(newValue);
|
|
@@ -31011,10 +31323,12 @@
|
|
|
31011
31323
|
|
|
31012
31324
|
// Add a container padding for grid mode to harmonize with the grid item margins (should sum to 8px).
|
|
31013
31325
|
const isGridMode = (layoutOptions === null || layoutOptions === void 0 ? void 0 : layoutOptions.dataLayout) === 'grid';
|
|
31014
|
-
|
|
31015
|
-
|
|
31016
|
-
|
|
31017
|
-
|
|
31326
|
+
const containerPadding = getContainerPadding({
|
|
31327
|
+
isGridMode,
|
|
31328
|
+
dense,
|
|
31329
|
+
height: (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 ? void 0 : _containerRef$current.clientHeight,
|
|
31330
|
+
layoutOrder: layoutOptions.layoutOrder
|
|
31331
|
+
});
|
|
31018
31332
|
const searchIconComp = constraints !== null && constraints !== void 0 && constraints.active ? /*#__PURE__*/React.createElement(SearchIcon, {
|
|
31019
31333
|
title: translator.get('Listbox.Search'),
|
|
31020
31334
|
size: "large",
|
|
@@ -31054,6 +31368,7 @@
|
|
|
31054
31368
|
if (isInvalid) {
|
|
31055
31369
|
renderedCallback === null || renderedCallback === void 0 || renderedCallback();
|
|
31056
31370
|
}
|
|
31371
|
+
const listBoxMinHeight = showToolbarWithTitle ? DENSE_ROW_HEIGHT + SCROLL_BAR_WIDTH : 0;
|
|
31057
31372
|
return /*#__PURE__*/React.createElement(React.Fragment, null, showDetachedToolbarOnly && /*#__PURE__*/React.createElement(ActionsToolbar, _extends$7({
|
|
31058
31373
|
direction: direction
|
|
31059
31374
|
}, getActionToolbarProps(true))), /*#__PURE__*/React.createElement(StyledGrid$3, {
|
|
@@ -31077,15 +31392,14 @@
|
|
|
31077
31392
|
},
|
|
31078
31393
|
isGridMode: isGridMode,
|
|
31079
31394
|
"aria-label": keyboard.active ? translator.get('Listbox.ScreenReaderInstructions') : ''
|
|
31080
|
-
}, showToolbarWithTitle && /*#__PURE__*/React.createElement(
|
|
31395
|
+
}, showToolbarWithTitle && /*#__PURE__*/React.createElement(StyledGridHeader, {
|
|
31081
31396
|
item: true,
|
|
31082
31397
|
container: true,
|
|
31083
|
-
|
|
31084
|
-
|
|
31398
|
+
styles: styles,
|
|
31399
|
+
isRtl: isRtl,
|
|
31085
31400
|
marginY: 1,
|
|
31086
31401
|
paddingLeft: "".concat(headerPaddingLeft, "px"),
|
|
31087
|
-
paddingRight: "".concat(headerPaddingRight, "px")
|
|
31088
|
-
wrap: "nowrap"
|
|
31402
|
+
paddingRight: "".concat(headerPaddingRight, "px")
|
|
31089
31403
|
}, showIcons && /*#__PURE__*/React.createElement(Grid$1, {
|
|
31090
31404
|
item: true,
|
|
31091
31405
|
container: true,
|
|
@@ -31112,17 +31426,16 @@
|
|
|
31112
31426
|
title: layout.title,
|
|
31113
31427
|
styles: styles
|
|
31114
31428
|
}, layout.title)), /*#__PURE__*/React.createElement(Grid$1, {
|
|
31115
|
-
item: true
|
|
31429
|
+
item: true,
|
|
31430
|
+
display: "flex"
|
|
31116
31431
|
}, /*#__PURE__*/React.createElement(ActionsToolbar, _extends$7({
|
|
31117
31432
|
direction: direction
|
|
31118
31433
|
}, getActionToolbarProps(isToolbarDetached))))), /*#__PURE__*/React.createElement(Grid$1, {
|
|
31119
31434
|
item: true,
|
|
31120
31435
|
container: true,
|
|
31121
31436
|
direction: "column",
|
|
31122
|
-
|
|
31123
|
-
|
|
31124
|
-
minHeight: DENSE_ROW_HEIGHT + SCROLL_BAR_WIDTH
|
|
31125
|
-
},
|
|
31437
|
+
height: "100%",
|
|
31438
|
+
minHeight: listBoxMinHeight,
|
|
31126
31439
|
role: "region",
|
|
31127
31440
|
"aria-label": translator.get('Listbox.ResultFilterLabel')
|
|
31128
31441
|
}, /*#__PURE__*/React.createElement(Grid$1, {
|
|
@@ -31148,11 +31461,11 @@
|
|
|
31148
31461
|
className: classes$4.listboxWrapper
|
|
31149
31462
|
}, isInvalid ? /*#__PURE__*/React.createElement(ListBoxError, {
|
|
31150
31463
|
text: errorText
|
|
31151
|
-
}) : /*#__PURE__*/React.createElement(AutoSizer, null,
|
|
31464
|
+
}) : /*#__PURE__*/React.createElement(AutoSizer, null, _ref6 => {
|
|
31152
31465
|
let {
|
|
31153
31466
|
height,
|
|
31154
31467
|
width
|
|
31155
|
-
} =
|
|
31468
|
+
} = _ref6;
|
|
31156
31469
|
return /*#__PURE__*/React.createElement(ListBox, {
|
|
31157
31470
|
model: model,
|
|
31158
31471
|
app: app,
|
|
@@ -31194,10 +31507,10 @@
|
|
|
31194
31507
|
})))));
|
|
31195
31508
|
}
|
|
31196
31509
|
const ListBoxInlineMemoed = React.memo(ListBoxInline);
|
|
31197
|
-
function IsolateUseLayoutWrapper(
|
|
31510
|
+
function IsolateUseLayoutWrapper(_ref7) {
|
|
31198
31511
|
let {
|
|
31199
31512
|
options = {}
|
|
31200
|
-
} =
|
|
31513
|
+
} = _ref7;
|
|
31201
31514
|
const {
|
|
31202
31515
|
model
|
|
31203
31516
|
} = options;
|
|
@@ -33612,205 +33925,6 @@
|
|
|
33612
33925
|
}));
|
|
33613
33926
|
}
|
|
33614
33927
|
|
|
33615
|
-
const MULTI_REG = /,(?![^(]*\))/;
|
|
33616
|
-
const SINGLE_REG = /\s(?![^(]*\))/;
|
|
33617
|
-
const LENGTH_REG = /^[0-9]+[a-zA-Z%]+?$/;
|
|
33618
|
-
const PREDEFINED_STRINGS = ['none', 'inset', 'initial', 'inherit'];
|
|
33619
|
-
const isLength = v => v === '0' || LENGTH_REG.test(v);
|
|
33620
|
-
const getColor = singleShadowString => {
|
|
33621
|
-
if (!singleShadowString) return undefined;
|
|
33622
|
-
const parts = singleShadowString.split(SINGLE_REG).filter(part => !PREDEFINED_STRINGS.includes(part.toLowerCase()));
|
|
33623
|
-
const last = parts.at(-1);
|
|
33624
|
-
const color = last && !isLength(last) && !PREDEFINED_STRINGS.includes(last.toLowerCase()) ? last : undefined;
|
|
33625
|
-
return color;
|
|
33626
|
-
};
|
|
33627
|
-
const getShadows = shadowString => {
|
|
33628
|
-
if (!shadowString) return [];
|
|
33629
|
-
return shadowString.split(MULTI_REG).map(s => s.trim());
|
|
33630
|
-
};
|
|
33631
|
-
|
|
33632
|
-
/**
|
|
33633
|
-
* Combine box shadow with box shadow color.
|
|
33634
|
-
* @param {string} boxShadow - Box shadow which may include color
|
|
33635
|
-
* @param {string} themeBoxShadow - Box shadow from theme which may include color
|
|
33636
|
-
* @param {string | undefined} boxShadowColor - Box shadow color
|
|
33637
|
-
* @returns {string} Returns the combined box shadow and box shadow color
|
|
33638
|
-
*
|
|
33639
|
-
* If boxShadow is a single shadow and has a color then this color will be replaced by boxShadowColor and then
|
|
33640
|
-
* returned as the result,otherwise boxShadowColor will be added to boxShadow and then returned as the result.
|
|
33641
|
-
* If boxShadow is multiple shadows or an empty string then it will be returned as the result.
|
|
33642
|
-
*
|
|
33643
|
-
* @example getFullBoxShadow('none', '', 'red') returns 'none'
|
|
33644
|
-
*
|
|
33645
|
-
* @example getFullBoxShadow('initial', '', 'red') returns 'initial'
|
|
33646
|
-
*
|
|
33647
|
-
* @example getFullBoxShadow('inherit', '', 'red') returns 'inherit'
|
|
33648
|
-
*
|
|
33649
|
-
* @example getFullBoxShadow('', '', 'red') returns ''
|
|
33650
|
-
*
|
|
33651
|
-
* @example getFullBoxShadow('1px 2px blue, 3px 6px green', '', 'red') returns '1px 2px blue, 3px 6px green'
|
|
33652
|
-
*
|
|
33653
|
-
* @example getFullBoxShadow('1px 2px blue', '', 'red') returns '1px 2px red'
|
|
33654
|
-
*
|
|
33655
|
-
* @example getFullBoxShadow('1px 2px', '', 'red') returns '1px 2px red'
|
|
33656
|
-
*
|
|
33657
|
-
* @example getFullBoxShadow('1px 2px', '2px 5px green', undefined) returns '1px 2px green'
|
|
33658
|
-
*
|
|
33659
|
-
* @example getFullBoxShadow('1px 2px', '2px 5px', undefined) returns '1px 2px'
|
|
33660
|
-
*/
|
|
33661
|
-
const getFullBoxShadow = (boxShadow, themeBoxShadow, boxShadowColor) => {
|
|
33662
|
-
if (boxShadow && PREDEFINED_STRINGS.includes(boxShadow.toLowerCase())) return boxShadow.toLowerCase();
|
|
33663
|
-
const shadowArray = getShadows(boxShadow);
|
|
33664
|
-
if (shadowArray.length !== 1) return boxShadow;
|
|
33665
|
-
let shadowColor = boxShadowColor;
|
|
33666
|
-
if (!shadowColor) {
|
|
33667
|
-
const themeShadowArray = getShadows(themeBoxShadow);
|
|
33668
|
-
if (themeShadowArray.length !== 1) return boxShadow;
|
|
33669
|
-
shadowColor = getColor(themeShadowArray[0]);
|
|
33670
|
-
}
|
|
33671
|
-
if (!shadowColor) return boxShadow;
|
|
33672
|
-
const color = getColor(shadowArray[0]);
|
|
33673
|
-
if (color) return boxShadow.replace(color, shadowColor);
|
|
33674
|
-
return "".concat(boxShadow, " ").concat(shadowColor);
|
|
33675
|
-
};
|
|
33676
|
-
|
|
33677
|
-
function resolveProperty(path, attribute, theme, objectType) {
|
|
33678
|
-
if (theme && objectType) {
|
|
33679
|
-
return theme.getStyle("object.".concat(objectType), path, attribute);
|
|
33680
|
-
}
|
|
33681
|
-
if (theme) {
|
|
33682
|
-
return theme.getStyle('', path, attribute);
|
|
33683
|
-
}
|
|
33684
|
-
return undefined;
|
|
33685
|
-
}
|
|
33686
|
-
|
|
33687
|
-
function resolveColor(colorObj, path, attribute, theme, objectType) {
|
|
33688
|
-
if (colorObj && theme) {
|
|
33689
|
-
return colorObj.color !== 'none' ? theme.getColorPickerColor(colorObj, true) : undefined;
|
|
33690
|
-
}
|
|
33691
|
-
return resolveProperty(path, attribute, theme, objectType);
|
|
33692
|
-
}
|
|
33693
|
-
|
|
33694
|
-
const imageSizingToCssProperty = {
|
|
33695
|
-
originalSize: 'auto auto',
|
|
33696
|
-
alwaysFit: 'contain',
|
|
33697
|
-
fitWidth: '100% auto',
|
|
33698
|
-
fitHeight: 'auto 100%',
|
|
33699
|
-
stretchFit: '100% 100%',
|
|
33700
|
-
alwaysFill: 'cover'
|
|
33701
|
-
};
|
|
33702
|
-
const positionToCss = {
|
|
33703
|
-
'top-left': 'top left',
|
|
33704
|
-
'top-center': 'top center',
|
|
33705
|
-
'top-right': 'top right',
|
|
33706
|
-
'center-left': 'center left',
|
|
33707
|
-
'center-center': 'center center',
|
|
33708
|
-
'center-right': 'center right',
|
|
33709
|
-
'bottom-left': 'bottom left',
|
|
33710
|
-
'bottom-center': 'bottom center',
|
|
33711
|
-
'bottom-right': 'bottom right'
|
|
33712
|
-
};
|
|
33713
|
-
|
|
33714
|
-
// TODO: this needs some proper verification
|
|
33715
|
-
function getSenseServerUrl(app) {
|
|
33716
|
-
var _app$session;
|
|
33717
|
-
let config;
|
|
33718
|
-
let wsUrl;
|
|
33719
|
-
let protocol;
|
|
33720
|
-
let isSecure;
|
|
33721
|
-
if (app !== null && app !== void 0 && (_app$session = app.session) !== null && _app$session !== void 0 && _app$session.config) {
|
|
33722
|
-
config = app.session.config;
|
|
33723
|
-
wsUrl = new URL(config.url);
|
|
33724
|
-
isSecure = wsUrl.protocol === 'wss:';
|
|
33725
|
-
protocol = isSecure ? 'https://' : 'http://';
|
|
33726
|
-
return protocol + wsUrl.host;
|
|
33727
|
-
}
|
|
33728
|
-
return '';
|
|
33729
|
-
}
|
|
33730
|
-
function getBackgroundPosition(bgComp) {
|
|
33731
|
-
var _bgComp$bgImage;
|
|
33732
|
-
let bkgImagePosition = 'center center';
|
|
33733
|
-
if (bgComp !== null && bgComp !== void 0 && (_bgComp$bgImage = bgComp.bgImage) !== null && _bgComp$bgImage !== void 0 && _bgComp$bgImage.position) {
|
|
33734
|
-
bkgImagePosition = positionToCss[bgComp.bgImage.position];
|
|
33735
|
-
}
|
|
33736
|
-
return bkgImagePosition;
|
|
33737
|
-
}
|
|
33738
|
-
function getBackgroundSize(bgComp) {
|
|
33739
|
-
var _bgComp$bgImage2;
|
|
33740
|
-
let bkgImageSize = imageSizingToCssProperty.originalSize;
|
|
33741
|
-
if (bgComp !== null && bgComp !== void 0 && (_bgComp$bgImage2 = bgComp.bgImage) !== null && _bgComp$bgImage2 !== void 0 && _bgComp$bgImage2.sizing) {
|
|
33742
|
-
bkgImageSize = imageSizingToCssProperty[bgComp.bgImage.sizing];
|
|
33743
|
-
}
|
|
33744
|
-
return bkgImageSize;
|
|
33745
|
-
}
|
|
33746
|
-
function resolveImageUrl(app, relativeUrl) {
|
|
33747
|
-
return relativeUrl ? getSenseServerUrl(app) + relativeUrl : undefined;
|
|
33748
|
-
}
|
|
33749
|
-
function resolveBgImage(bgComp, app) {
|
|
33750
|
-
const bgImageDef = bgComp === null || bgComp === void 0 ? void 0 : bgComp.bgImage;
|
|
33751
|
-
if (bgImageDef) {
|
|
33752
|
-
let url = '';
|
|
33753
|
-
if (bgImageDef.mode === 'media' || bgComp.useImage === 'media') {
|
|
33754
|
-
var _bgImageDef$mediaUrl;
|
|
33755
|
-
url = bgImageDef !== null && bgImageDef !== void 0 && (_bgImageDef$mediaUrl = bgImageDef.mediaUrl) !== null && _bgImageDef$mediaUrl !== void 0 && (_bgImageDef$mediaUrl = _bgImageDef$mediaUrl.qStaticContentUrl) !== null && _bgImageDef$mediaUrl !== void 0 && _bgImageDef$mediaUrl.qUrl ? decodeURIComponent(bgImageDef.mediaUrl.qStaticContentUrl.qUrl) : undefined;
|
|
33756
|
-
url = resolveImageUrl(app, url);
|
|
33757
|
-
}
|
|
33758
|
-
if (bgImageDef.mode === 'expression') {
|
|
33759
|
-
url = bgImageDef.expressionUrl ? decodeURIComponent(bgImageDef.expressionUrl) : undefined;
|
|
33760
|
-
}
|
|
33761
|
-
const pos = getBackgroundPosition(bgComp);
|
|
33762
|
-
const size = getBackgroundSize(bgComp);
|
|
33763
|
-
return url ? {
|
|
33764
|
-
url,
|
|
33765
|
-
pos,
|
|
33766
|
-
size
|
|
33767
|
-
} : undefined;
|
|
33768
|
-
}
|
|
33769
|
-
return undefined;
|
|
33770
|
-
}
|
|
33771
|
-
function resolveBgColor(comp, theme, objectType) {
|
|
33772
|
-
const bgColor = comp === null || comp === void 0 ? void 0 : comp.bgColor;
|
|
33773
|
-
if (bgColor && theme) {
|
|
33774
|
-
if (bgColor.useExpression) {
|
|
33775
|
-
return theme.validateColor(bgColor.colorExpression);
|
|
33776
|
-
}
|
|
33777
|
-
}
|
|
33778
|
-
return resolveColor(bgColor === null || bgColor === void 0 ? void 0 : bgColor.color, '', 'backgroundColor', theme, objectType);
|
|
33779
|
-
}
|
|
33780
|
-
function resolveBorder(comp, theme, objectType) {
|
|
33781
|
-
const borderColor = resolveColor(comp === null || comp === void 0 ? void 0 : comp.borderColor, '', 'borderColor', theme, objectType);
|
|
33782
|
-
const borderWidth = (comp === null || comp === void 0 ? void 0 : comp.borderWidth) || resolveProperty('', 'borderWidth', theme, objectType);
|
|
33783
|
-
return borderWidth && borderColor ? "".concat(borderWidth, " solid ").concat(borderColor) : undefined;
|
|
33784
|
-
}
|
|
33785
|
-
function resolveBorderRadius(comp, theme, objectType) {
|
|
33786
|
-
return (comp === null || comp === void 0 ? void 0 : comp.borderRadius) || resolveProperty('', 'borderRadius', theme, objectType);
|
|
33787
|
-
}
|
|
33788
|
-
function resolveBoxShadow(comp, theme, objectType) {
|
|
33789
|
-
var _comp$shadow, _comp$shadow2;
|
|
33790
|
-
const themeBoxShadow = resolveProperty('shadow', 'boxShadow', theme, objectType);
|
|
33791
|
-
const boxShadow = (comp === null || comp === void 0 || (_comp$shadow = comp.shadow) === null || _comp$shadow === void 0 ? void 0 : _comp$shadow.boxShadow) || themeBoxShadow;
|
|
33792
|
-
const boxShadowColor = resolveColor(comp === null || comp === void 0 || (_comp$shadow2 = comp.shadow) === null || _comp$shadow2 === void 0 ? void 0 : _comp$shadow2.boxShadowColor, 'shadow', 'boxShadowColor', theme, objectType);
|
|
33793
|
-
return getFullBoxShadow(boxShadow, themeBoxShadow, boxShadowColor);
|
|
33794
|
-
}
|
|
33795
|
-
function unfurlFontStyle(fontStyle, target) {
|
|
33796
|
-
if (fontStyle && Array.isArray(fontStyle)) {
|
|
33797
|
-
return fontStyle;
|
|
33798
|
-
}
|
|
33799
|
-
return target === 'main' ? ['bold'] : [];
|
|
33800
|
-
}
|
|
33801
|
-
function resolveTextStyle(textComp, target, theme, objectType) {
|
|
33802
|
-
var _textComp$title;
|
|
33803
|
-
const textProps = (textComp === null || textComp === void 0 || (_textComp$title = textComp.title) === null || _textComp$title === void 0 ? void 0 : _textComp$title[target]) || {};
|
|
33804
|
-
const fontStyle = unfurlFontStyle(textProps.fontStyle, target);
|
|
33805
|
-
return {
|
|
33806
|
-
fontFamily: textProps.fontFamily || theme.getStyle("object.".concat(objectType), "title.".concat(target), 'fontFamily'),
|
|
33807
|
-
color: textProps.color && textProps.color.color !== 'none' ? theme.getColorPickerColor(textProps.color, true) : theme.getStyle("object.".concat(objectType), target, 'color'),
|
|
33808
|
-
fontWeight: fontStyle.includes('bold') ? 'bold' : 'normal',
|
|
33809
|
-
fontStyle: fontStyle.includes('italic') ? 'italic' : 'normal',
|
|
33810
|
-
textDecoration: fontStyle.includes('underline') ? 'underline' : 'initial'
|
|
33811
|
-
};
|
|
33812
|
-
}
|
|
33813
|
-
|
|
33814
33928
|
const useStyling = (layout, theme, app, themeName) => {
|
|
33815
33929
|
const styling = reactExports.useMemo(() => {
|
|
33816
33930
|
if (layout && theme) {
|
|
@@ -37321,6 +37435,17 @@
|
|
|
37321
37435
|
onMount: onMount
|
|
37322
37436
|
}));
|
|
37323
37437
|
}
|
|
37438
|
+
function getBounds(pos, columns, rows) {
|
|
37439
|
+
if (pos.bounds) {
|
|
37440
|
+
return pos.bounds;
|
|
37441
|
+
}
|
|
37442
|
+
return {
|
|
37443
|
+
y: pos.row / rows * 100,
|
|
37444
|
+
x: pos.col / columns * 100,
|
|
37445
|
+
width: pos.colspan / columns * 100,
|
|
37446
|
+
height: pos.rowspan / rows * 100
|
|
37447
|
+
};
|
|
37448
|
+
}
|
|
37324
37449
|
function Sheet(_ref) {
|
|
37325
37450
|
let {
|
|
37326
37451
|
model,
|
|
@@ -37361,6 +37486,10 @@
|
|
|
37361
37486
|
root.removeCell(c.currentId);
|
|
37362
37487
|
});
|
|
37363
37488
|
const lCells = layout.cells;
|
|
37489
|
+
const {
|
|
37490
|
+
columns,
|
|
37491
|
+
rows
|
|
37492
|
+
} = layout;
|
|
37364
37493
|
// TODO - should try reuse existing objects on subsequent renders
|
|
37365
37494
|
// Non-id updates should only change the "css"
|
|
37366
37495
|
const cs = await Promise.all(lCells.map(async c => {
|
|
@@ -37370,7 +37499,7 @@
|
|
|
37370
37499
|
});
|
|
37371
37500
|
const cell = cells.find(ce => ce.id === c.name);
|
|
37372
37501
|
if (cell) {
|
|
37373
|
-
cell.bounds = c
|
|
37502
|
+
cell.bounds = getBounds(c, columns, rows);
|
|
37374
37503
|
delete cell.mountedPromise;
|
|
37375
37504
|
return cell;
|
|
37376
37505
|
}
|
|
@@ -37380,7 +37509,7 @@
|
|
|
37380
37509
|
return {
|
|
37381
37510
|
model: vs.model,
|
|
37382
37511
|
id: c.name,
|
|
37383
|
-
bounds: c
|
|
37512
|
+
bounds: getBounds(c, columns, rows),
|
|
37384
37513
|
cellRef: React.createRef(),
|
|
37385
37514
|
currentId: uid(),
|
|
37386
37515
|
mounted,
|