@telicent-oss/ds 0.16.0 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ds.js
CHANGED
|
@@ -2309,8 +2309,8 @@ var createEmotionProps = function createEmotionProps2(type, props) {
|
|
|
2309
2309
|
newProps[typePropName] = type;
|
|
2310
2310
|
return newProps;
|
|
2311
2311
|
};
|
|
2312
|
-
var Insertion$1 = function Insertion(
|
|
2313
|
-
var cache2 =
|
|
2312
|
+
var Insertion$1 = function Insertion(_ref2) {
|
|
2313
|
+
var cache2 = _ref2.cache, serialized = _ref2.serialized, isStringTag2 = _ref2.isStringTag;
|
|
2314
2314
|
registerStyles(cache2, serialized, isStringTag2);
|
|
2315
2315
|
useInsertionEffectAlwaysWithSyncFallback(function() {
|
|
2316
2316
|
return insertStyles(cache2, serialized, isStringTag2);
|
|
@@ -6949,8 +6949,8 @@ function coerce(val) {
|
|
|
6949
6949
|
}
|
|
6950
6950
|
if (DOCUMENT && typeof DOCUMENT.querySelector === "function") {
|
|
6951
6951
|
const attrs = [["data-family-prefix", "familyPrefix"], ["data-css-prefix", "cssPrefix"], ["data-family-default", "familyDefault"], ["data-style-default", "styleDefault"], ["data-replacement-class", "replacementClass"], ["data-auto-replace-svg", "autoReplaceSvg"], ["data-auto-add-css", "autoAddCss"], ["data-auto-a11y", "autoA11y"], ["data-search-pseudo-elements", "searchPseudoElements"], ["data-observe-mutations", "observeMutations"], ["data-mutate-approach", "mutateApproach"], ["data-keep-original-source", "keepOriginalSource"], ["data-measure-performance", "measurePerformance"], ["data-show-missing-icons", "showMissingIcons"]];
|
|
6952
|
-
attrs.forEach((
|
|
6953
|
-
let [attr, key] =
|
|
6952
|
+
attrs.forEach((_ref2) => {
|
|
6953
|
+
let [attr, key] = _ref2;
|
|
6954
6954
|
const val = coerce(getAttrConfig(attr));
|
|
6955
6955
|
if (val !== void 0 && val !== null) {
|
|
6956
6956
|
initial[key] = val;
|
|
@@ -7075,12 +7075,12 @@ function joinStyles(styles2) {
|
|
|
7075
7075
|
function transformIsMeaningful(transform) {
|
|
7076
7076
|
return transform.size !== meaninglessTransform.size || transform.x !== meaninglessTransform.x || transform.y !== meaninglessTransform.y || transform.rotate !== meaninglessTransform.rotate || transform.flipX || transform.flipY;
|
|
7077
7077
|
}
|
|
7078
|
-
function transformForSvg(
|
|
7078
|
+
function transformForSvg(_ref2) {
|
|
7079
7079
|
let {
|
|
7080
7080
|
transform,
|
|
7081
7081
|
containerWidth,
|
|
7082
7082
|
iconWidth
|
|
7083
|
-
} =
|
|
7083
|
+
} = _ref2;
|
|
7084
7084
|
const outer = {
|
|
7085
7085
|
transform: "translate(".concat(containerWidth / 2, " 256)")
|
|
7086
7086
|
};
|
|
@@ -7099,13 +7099,13 @@ function transformForSvg(_ref3) {
|
|
|
7099
7099
|
path
|
|
7100
7100
|
};
|
|
7101
7101
|
}
|
|
7102
|
-
function transformForCss(
|
|
7102
|
+
function transformForCss(_ref2) {
|
|
7103
7103
|
let {
|
|
7104
7104
|
transform,
|
|
7105
7105
|
width: width2 = UNITS_IN_GRID,
|
|
7106
7106
|
height: height2 = UNITS_IN_GRID,
|
|
7107
7107
|
startCentered = false
|
|
7108
|
-
} =
|
|
7108
|
+
} = _ref2;
|
|
7109
7109
|
let val = "";
|
|
7110
7110
|
if (startCentered && IS_IE) {
|
|
7111
7111
|
val += "translate(".concat(transform.x / d$2 - width2 / 2, "em, ").concat(transform.y / d$2 - height2 / 2, "em) ");
|
|
@@ -7606,10 +7606,10 @@ let _plugins = [];
|
|
|
7606
7606
|
let _hooks = {};
|
|
7607
7607
|
const providers = {};
|
|
7608
7608
|
const defaultProviderKeys = Object.keys(providers);
|
|
7609
|
-
function registerPlugins(nextPlugins,
|
|
7609
|
+
function registerPlugins(nextPlugins, _ref2) {
|
|
7610
7610
|
let {
|
|
7611
7611
|
mixoutsTo: obj
|
|
7612
|
-
} =
|
|
7612
|
+
} = _ref2;
|
|
7613
7613
|
_plugins = nextPlugins;
|
|
7614
7614
|
_hooks = {};
|
|
7615
7615
|
Object.keys(providers).forEach((k) => {
|
|
@@ -7792,7 +7792,7 @@ function domVariants(val, abstractCreator) {
|
|
|
7792
7792
|
});
|
|
7793
7793
|
return val;
|
|
7794
7794
|
}
|
|
7795
|
-
function asIcon(
|
|
7795
|
+
function asIcon(_ref2) {
|
|
7796
7796
|
let {
|
|
7797
7797
|
children: children2,
|
|
7798
7798
|
main: main2,
|
|
@@ -7800,7 +7800,7 @@ function asIcon(_ref3) {
|
|
|
7800
7800
|
attributes,
|
|
7801
7801
|
styles: styles2,
|
|
7802
7802
|
transform
|
|
7803
|
-
} =
|
|
7803
|
+
} = _ref2;
|
|
7804
7804
|
if (transformIsMeaningful(transform) && main2.found && !mask.found) {
|
|
7805
7805
|
const {
|
|
7806
7806
|
width: width2,
|
|
@@ -7820,14 +7820,14 @@ function asIcon(_ref3) {
|
|
|
7820
7820
|
children: children2
|
|
7821
7821
|
}];
|
|
7822
7822
|
}
|
|
7823
|
-
function asSymbol(
|
|
7823
|
+
function asSymbol(_ref2) {
|
|
7824
7824
|
let {
|
|
7825
7825
|
prefix: prefix2,
|
|
7826
7826
|
iconName,
|
|
7827
7827
|
children: children2,
|
|
7828
7828
|
attributes,
|
|
7829
7829
|
symbol
|
|
7830
|
-
} =
|
|
7830
|
+
} = _ref2;
|
|
7831
7831
|
const id2 = symbol === true ? "".concat(prefix2, "-").concat(config$2.cssPrefix, "-").concat(iconName) : symbol;
|
|
7832
7832
|
return [{
|
|
7833
7833
|
tag: "svg",
|
|
@@ -8585,8 +8585,8 @@ var ReplaceElements = {
|
|
|
8585
8585
|
width: 512,
|
|
8586
8586
|
height: 512,
|
|
8587
8587
|
icon: {}
|
|
8588
|
-
})]).then((
|
|
8589
|
-
let [main2, mask2] =
|
|
8588
|
+
})]).then((_ref2) => {
|
|
8589
|
+
let [main2, mask2] = _ref2;
|
|
8590
8590
|
resolve([node2, makeInlineSvgAbstract({
|
|
8591
8591
|
icons: {
|
|
8592
8592
|
main: main2,
|
|
@@ -8605,14 +8605,14 @@ var ReplaceElements = {
|
|
|
8605
8605
|
}).catch(reject);
|
|
8606
8606
|
});
|
|
8607
8607
|
};
|
|
8608
|
-
providers$$1.generateAbstractIcon = function(
|
|
8608
|
+
providers$$1.generateAbstractIcon = function(_ref2) {
|
|
8609
8609
|
let {
|
|
8610
8610
|
children: children2,
|
|
8611
8611
|
attributes,
|
|
8612
8612
|
main: main2,
|
|
8613
8613
|
transform,
|
|
8614
8614
|
styles: styles2
|
|
8615
|
-
} =
|
|
8615
|
+
} = _ref2;
|
|
8616
8616
|
const styleString = joinStyles(styles2);
|
|
8617
8617
|
if (styleString.length > 0) {
|
|
8618
8618
|
attributes["style"] = styleString;
|
|
@@ -9020,13 +9020,13 @@ var PowerTransforms = {
|
|
|
9020
9020
|
};
|
|
9021
9021
|
},
|
|
9022
9022
|
provides(providers2) {
|
|
9023
|
-
providers2.generateAbstractTransformGrouping = function(
|
|
9023
|
+
providers2.generateAbstractTransformGrouping = function(_ref2) {
|
|
9024
9024
|
let {
|
|
9025
9025
|
main: main2,
|
|
9026
9026
|
transform,
|
|
9027
9027
|
containerWidth,
|
|
9028
9028
|
iconWidth
|
|
9029
|
-
} =
|
|
9029
|
+
} = _ref2;
|
|
9030
9030
|
const outer = {
|
|
9031
9031
|
transform: "translate(".concat(containerWidth / 2, " 256)")
|
|
9032
9032
|
};
|
|
@@ -9096,7 +9096,7 @@ var Masks = {
|
|
|
9096
9096
|
};
|
|
9097
9097
|
},
|
|
9098
9098
|
provides(providers2) {
|
|
9099
|
-
providers2.generateAbstractMask = function(
|
|
9099
|
+
providers2.generateAbstractMask = function(_ref2) {
|
|
9100
9100
|
let {
|
|
9101
9101
|
children: children2,
|
|
9102
9102
|
attributes,
|
|
@@ -9104,7 +9104,7 @@ var Masks = {
|
|
|
9104
9104
|
mask,
|
|
9105
9105
|
maskId: explicitMaskId,
|
|
9106
9106
|
transform
|
|
9107
|
-
} =
|
|
9107
|
+
} = _ref2;
|
|
9108
9108
|
const {
|
|
9109
9109
|
width: mainWidth,
|
|
9110
9110
|
icon: mainPath
|
|
@@ -10857,8 +10857,8 @@ var composeShouldForwardProps = function composeShouldForwardProps2(tag, options
|
|
|
10857
10857
|
}
|
|
10858
10858
|
return shouldForwardProp2;
|
|
10859
10859
|
};
|
|
10860
|
-
var Insertion2 = function Insertion3(
|
|
10861
|
-
var cache2 =
|
|
10860
|
+
var Insertion2 = function Insertion3(_ref2) {
|
|
10861
|
+
var cache2 = _ref2.cache, serialized = _ref2.serialized, isStringTag2 = _ref2.isStringTag;
|
|
10862
10862
|
registerStyles(cache2, serialized, isStringTag2);
|
|
10863
10863
|
useInsertionEffectAlwaysWithSyncFallback(function() {
|
|
10864
10864
|
return insertStyles(cache2, serialized, isStringTag2);
|
|
@@ -12763,10 +12763,10 @@ function defaultOverridesResolver$1(slot) {
|
|
|
12763
12763
|
}
|
|
12764
12764
|
return (props, styles2) => styles2[slot];
|
|
12765
12765
|
}
|
|
12766
|
-
function processStyleArg$1(callableStyle,
|
|
12766
|
+
function processStyleArg$1(callableStyle, _ref2) {
|
|
12767
12767
|
let {
|
|
12768
12768
|
ownerState
|
|
12769
|
-
} =
|
|
12769
|
+
} = _ref2, props = _objectWithoutPropertiesLoose(_ref2, _excluded$1o);
|
|
12770
12770
|
const resolvedStylesArg = typeof callableStyle === "function" ? callableStyle(_extends({
|
|
12771
12771
|
ownerState
|
|
12772
12772
|
}, props)) : callableStyle;
|
|
@@ -13773,10 +13773,10 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
13773
13773
|
}
|
|
13774
13774
|
const _excluded$1m = ["value"];
|
|
13775
13775
|
const RtlContext = /* @__PURE__ */ React$2.createContext();
|
|
13776
|
-
function RtlProvider(
|
|
13776
|
+
function RtlProvider(_ref2) {
|
|
13777
13777
|
let {
|
|
13778
13778
|
value
|
|
13779
|
-
} =
|
|
13779
|
+
} = _ref2, props = _objectWithoutPropertiesLoose(_ref2, _excluded$1m);
|
|
13780
13780
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(RtlContext.Provider, _extends({
|
|
13781
13781
|
value: value != null ? value : true
|
|
13782
13782
|
}, props));
|
|
@@ -14336,7 +14336,7 @@ function createGrid(options = {}) {
|
|
|
14336
14336
|
};
|
|
14337
14337
|
const GridRoot2 = createStyledComponent(generateGridColumnsStyles, generateGridColumnSpacingStyles, generateGridRowSpacingStyles, generateGridSizeStyles, generateGridDirectionStyles, generateGridStyles, generateGridOffsetStyles);
|
|
14338
14338
|
const Grid3 = /* @__PURE__ */ React$2.forwardRef(function Grid4(inProps, ref) {
|
|
14339
|
-
var _inProps$columns, _inProps$spacing,
|
|
14339
|
+
var _inProps$columns, _inProps$spacing, _ref2, _inProps$rowSpacing, _ref22, _inProps$columnSpacin, _ref3, _disableEqualOverflow;
|
|
14340
14340
|
const theme = useTheme$3();
|
|
14341
14341
|
const themeProps = useThemeProps2(inProps);
|
|
14342
14342
|
const props = extendSxProp(themeProps);
|
|
@@ -14373,7 +14373,7 @@ function createGrid(options = {}) {
|
|
|
14373
14373
|
});
|
|
14374
14374
|
const columns = (_inProps$columns = inProps.columns) != null ? _inProps$columns : level ? void 0 : columnsProp;
|
|
14375
14375
|
const spacing = (_inProps$spacing = inProps.spacing) != null ? _inProps$spacing : level ? void 0 : spacingProp;
|
|
14376
|
-
const rowSpacing = (
|
|
14376
|
+
const rowSpacing = (_ref2 = (_inProps$rowSpacing = inProps.rowSpacing) != null ? _inProps$rowSpacing : inProps.spacing) != null ? _ref2 : level ? void 0 : rowSpacingProp;
|
|
14377
14377
|
const columnSpacing = (_ref22 = (_inProps$columnSpacin = inProps.columnSpacing) != null ? _inProps$columnSpacin : inProps.spacing) != null ? _ref22 : level ? void 0 : columnSpacingProp;
|
|
14378
14378
|
const ownerState = _extends({}, props, {
|
|
14379
14379
|
level,
|
|
@@ -14386,7 +14386,7 @@ function createGrid(options = {}) {
|
|
|
14386
14386
|
columnSpacing,
|
|
14387
14387
|
gridSize,
|
|
14388
14388
|
gridOffset,
|
|
14389
|
-
disableEqualOverflow: (
|
|
14389
|
+
disableEqualOverflow: (_ref3 = (_disableEqualOverflow = disableEqualOverflow) != null ? _disableEqualOverflow : overflow) != null ? _ref3 : false,
|
|
14390
14390
|
// use context value if exists.
|
|
14391
14391
|
parentDisableEqualOverflow: overflow
|
|
14392
14392
|
// for nested grid
|
|
@@ -15174,7 +15174,7 @@ const caseAllCaps = {
|
|
|
15174
15174
|
};
|
|
15175
15175
|
const defaultFontFamily = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
15176
15176
|
function createTypography(palette, typography2) {
|
|
15177
|
-
const
|
|
15177
|
+
const _ref2 = typeof typography2 === "function" ? typography2(palette) : typography2, {
|
|
15178
15178
|
fontFamily = defaultFontFamily,
|
|
15179
15179
|
// The default font size of the Material Specification.
|
|
15180
15180
|
fontSize = 14,
|
|
@@ -15189,7 +15189,7 @@ function createTypography(palette, typography2) {
|
|
|
15189
15189
|
// Apply the CSS properties to all the variants.
|
|
15190
15190
|
allVariants,
|
|
15191
15191
|
pxToRem: pxToRem2
|
|
15192
|
-
} =
|
|
15192
|
+
} = _ref2, other = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
|
|
15193
15193
|
if (process.env.NODE_ENV !== "production") {
|
|
15194
15194
|
if (typeof fontSize !== "number") {
|
|
15195
15195
|
console.error("MUI: `fontSize` is required to be a number.");
|
|
@@ -15518,10 +15518,10 @@ function defaultOverridesResolver(slot) {
|
|
|
15518
15518
|
}
|
|
15519
15519
|
return (props, styles2) => styles2[slot];
|
|
15520
15520
|
}
|
|
15521
|
-
function processStyleArg(callableStyle,
|
|
15521
|
+
function processStyleArg(callableStyle, _ref2) {
|
|
15522
15522
|
let {
|
|
15523
15523
|
ownerState
|
|
15524
|
-
} =
|
|
15524
|
+
} = _ref2, props = (0, _objectWithoutPropertiesLoose2.default)(_ref2, _excluded$1e);
|
|
15525
15525
|
const resolvedStylesArg = typeof callableStyle === "function" ? callableStyle((0, _extends2.default)({
|
|
15526
15526
|
ownerState
|
|
15527
15527
|
}, props)) : callableStyle;
|
|
@@ -15702,10 +15702,10 @@ const styled = _default({
|
|
|
15702
15702
|
rootShouldForwardProp
|
|
15703
15703
|
});
|
|
15704
15704
|
const _excluded$1d = ["theme"];
|
|
15705
|
-
function ThemeProvider(
|
|
15705
|
+
function ThemeProvider(_ref2) {
|
|
15706
15706
|
let {
|
|
15707
15707
|
theme: themeInput
|
|
15708
|
-
} =
|
|
15708
|
+
} = _ref2, props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
|
|
15709
15709
|
const scopedTheme = themeInput[THEME_ID];
|
|
15710
15710
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(ThemeProvider$1, _extends({}, props, {
|
|
15711
15711
|
themeId: scopedTheme ? THEME_ID : void 0,
|
|
@@ -16004,8 +16004,8 @@ var Transition$1 = /* @__PURE__ */ function(_React$Component) {
|
|
|
16004
16004
|
_this.nextCallback = null;
|
|
16005
16005
|
return _this;
|
|
16006
16006
|
}
|
|
16007
|
-
Transition2.getDerivedStateFromProps = function getDerivedStateFromProps(
|
|
16008
|
-
var nextIn =
|
|
16007
|
+
Transition2.getDerivedStateFromProps = function getDerivedStateFromProps(_ref2, prevState) {
|
|
16008
|
+
var nextIn = _ref2.in;
|
|
16009
16009
|
if (nextIn && prevState.status === UNMOUNTED) {
|
|
16010
16010
|
return {
|
|
16011
16011
|
status: EXITED
|
|
@@ -16076,7 +16076,7 @@ var Transition$1 = /* @__PURE__ */ function(_React$Component) {
|
|
|
16076
16076
|
var _this2 = this;
|
|
16077
16077
|
var enter = this.props.enter;
|
|
16078
16078
|
var appearing = this.context ? this.context.isMounting : mounting;
|
|
16079
|
-
var
|
|
16079
|
+
var _ref2 = this.props.nodeRef ? [appearing] : [ReactDOM__default.findDOMNode(this), appearing], maybeNode = _ref2[0], maybeAppearing = _ref2[1];
|
|
16080
16080
|
var timeouts = this.getTimeouts();
|
|
16081
16081
|
var enterTimeout = appearing ? timeouts.appear : timeouts.enter;
|
|
16082
16082
|
if (!mounting && !enter || config$1.disabled) {
|
|
@@ -16526,8 +16526,8 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
16526
16526
|
_proto.componentWillUnmount = function componentWillUnmount() {
|
|
16527
16527
|
this.mounted = false;
|
|
16528
16528
|
};
|
|
16529
|
-
TransitionGroup2.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps,
|
|
16530
|
-
var prevChildMapping =
|
|
16529
|
+
TransitionGroup2.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref2) {
|
|
16530
|
+
var prevChildMapping = _ref2.children, handleExited = _ref2.handleExited, firstRender = _ref2.firstRender;
|
|
16531
16531
|
return {
|
|
16532
16532
|
children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),
|
|
16533
16533
|
firstRender: false
|
|
@@ -19504,8 +19504,8 @@ function isShadowRoot(node2) {
|
|
|
19504
19504
|
var OwnElement = getWindow(node2).ShadowRoot;
|
|
19505
19505
|
return node2 instanceof OwnElement || node2 instanceof ShadowRoot;
|
|
19506
19506
|
}
|
|
19507
|
-
function applyStyles(
|
|
19508
|
-
var state =
|
|
19507
|
+
function applyStyles(_ref2) {
|
|
19508
|
+
var state = _ref2.state;
|
|
19509
19509
|
Object.keys(state.elements).forEach(function(name) {
|
|
19510
19510
|
var style2 = state.styles[name] || {};
|
|
19511
19511
|
var attributes = state.attributes[name] || {};
|
|
@@ -19524,8 +19524,8 @@ function applyStyles(_ref3) {
|
|
|
19524
19524
|
});
|
|
19525
19525
|
});
|
|
19526
19526
|
}
|
|
19527
|
-
function effect$2(
|
|
19528
|
-
var state =
|
|
19527
|
+
function effect$2(_ref2) {
|
|
19528
|
+
var state = _ref2.state;
|
|
19529
19529
|
var initialStyles = {
|
|
19530
19530
|
popper: {
|
|
19531
19531
|
position: state.options.strategy,
|
|
@@ -19602,7 +19602,7 @@ function getBoundingClientRect(element, includeScale, isFixedStrategy) {
|
|
|
19602
19602
|
scaleX = element.offsetWidth > 0 ? round$1(clientRect.width) / element.offsetWidth || 1 : 1;
|
|
19603
19603
|
scaleY = element.offsetHeight > 0 ? round$1(clientRect.height) / element.offsetHeight || 1 : 1;
|
|
19604
19604
|
}
|
|
19605
|
-
var
|
|
19605
|
+
var _ref2 = isElement(element) ? getWindow(element) : window, visualViewport = _ref2.visualViewport;
|
|
19606
19606
|
var addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
|
|
19607
19607
|
var x2 = (clientRect.left + (addVisualOffsets && visualViewport ? visualViewport.offsetLeft : 0)) / scaleX;
|
|
19608
19608
|
var y = (clientRect.top + (addVisualOffsets && visualViewport ? visualViewport.offsetTop : 0)) / scaleY;
|
|
@@ -19752,9 +19752,9 @@ var toPaddingObject = function toPaddingObject2(padding2, state) {
|
|
|
19752
19752
|
})) : padding2;
|
|
19753
19753
|
return mergePaddingObject(typeof padding2 !== "number" ? padding2 : expandToHashMap(padding2, basePlacements));
|
|
19754
19754
|
};
|
|
19755
|
-
function arrow(
|
|
19755
|
+
function arrow(_ref2) {
|
|
19756
19756
|
var _state$modifiersData$;
|
|
19757
|
-
var state =
|
|
19757
|
+
var state = _ref2.state, name = _ref2.name, options = _ref2.options;
|
|
19758
19758
|
var arrowElement = state.elements.arrow;
|
|
19759
19759
|
var popperOffsets2 = state.modifiersData.popperOffsets;
|
|
19760
19760
|
var basePlacement = getBasePlacement(state.placement);
|
|
@@ -19780,8 +19780,8 @@ function arrow(_ref3) {
|
|
|
19780
19780
|
var axisProp = axis;
|
|
19781
19781
|
state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset2, _state$modifiersData$.centerOffset = offset2 - center, _state$modifiersData$);
|
|
19782
19782
|
}
|
|
19783
|
-
function effect$1(
|
|
19784
|
-
var state =
|
|
19783
|
+
function effect$1(_ref2) {
|
|
19784
|
+
var state = _ref2.state, options = _ref2.options;
|
|
19785
19785
|
var _options$element = options.element, arrowElement = _options$element === void 0 ? "[data-popper-arrow]" : _options$element;
|
|
19786
19786
|
if (arrowElement == null) {
|
|
19787
19787
|
return;
|
|
@@ -19815,17 +19815,17 @@ var unsetSides = {
|
|
|
19815
19815
|
bottom: "auto",
|
|
19816
19816
|
left: "auto"
|
|
19817
19817
|
};
|
|
19818
|
-
function roundOffsetsByDPR(
|
|
19819
|
-
var x2 =
|
|
19818
|
+
function roundOffsetsByDPR(_ref2, win) {
|
|
19819
|
+
var x2 = _ref2.x, y = _ref2.y;
|
|
19820
19820
|
var dpr = win.devicePixelRatio || 1;
|
|
19821
19821
|
return {
|
|
19822
19822
|
x: round$1(x2 * dpr) / dpr || 0,
|
|
19823
19823
|
y: round$1(y * dpr) / dpr || 0
|
|
19824
19824
|
};
|
|
19825
19825
|
}
|
|
19826
|
-
function mapToStyles(
|
|
19826
|
+
function mapToStyles(_ref2) {
|
|
19827
19827
|
var _Object$assign2;
|
|
19828
|
-
var popper2 =
|
|
19828
|
+
var popper2 = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position2 = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
|
|
19829
19829
|
var _offsets$x = offsets.x, x2 = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y = _offsets$y === void 0 ? 0 : _offsets$y;
|
|
19830
19830
|
var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
|
|
19831
19831
|
x: x2,
|
|
@@ -19931,8 +19931,8 @@ const computeStyles$1 = {
|
|
|
19931
19931
|
var passive = {
|
|
19932
19932
|
passive: true
|
|
19933
19933
|
};
|
|
19934
|
-
function effect(
|
|
19935
|
-
var state =
|
|
19934
|
+
function effect(_ref2) {
|
|
19935
|
+
var state = _ref2.state, instance = _ref2.instance, options = _ref2.options;
|
|
19936
19936
|
var _options$scroll = options.scroll, scroll = _options$scroll === void 0 ? true : _options$scroll, _options$resize = options.resize, resize = _options$resize === void 0 ? true : _options$resize;
|
|
19937
19937
|
var window2 = getWindow(state.elements.popper);
|
|
19938
19938
|
var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
|
|
@@ -20119,8 +20119,8 @@ function getClippingRect(element, boundary, rootBoundary, strategy) {
|
|
|
20119
20119
|
clippingRect.y = clippingRect.top;
|
|
20120
20120
|
return clippingRect;
|
|
20121
20121
|
}
|
|
20122
|
-
function computeOffsets(
|
|
20123
|
-
var reference2 =
|
|
20122
|
+
function computeOffsets(_ref2) {
|
|
20123
|
+
var reference2 = _ref2.reference, element = _ref2.element, placement = _ref2.placement;
|
|
20124
20124
|
var basePlacement = placement ? getBasePlacement(placement) : null;
|
|
20125
20125
|
var variation = placement ? getVariation(placement) : null;
|
|
20126
20126
|
var commonX = reference2.x + reference2.width / 2 - element.width / 2;
|
|
@@ -20241,8 +20241,8 @@ function getExpandedFallbackPlacements(placement) {
|
|
|
20241
20241
|
var oppositePlacement = getOppositePlacement(placement);
|
|
20242
20242
|
return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
|
|
20243
20243
|
}
|
|
20244
|
-
function flip(
|
|
20245
|
-
var state =
|
|
20244
|
+
function flip(_ref2) {
|
|
20245
|
+
var state = _ref2.state, options = _ref2.options, name = _ref2.name;
|
|
20246
20246
|
if (state.modifiersData[name]._skip) {
|
|
20247
20247
|
return;
|
|
20248
20248
|
}
|
|
@@ -20356,8 +20356,8 @@ function isAnySideFullyClipped(overflow) {
|
|
|
20356
20356
|
return overflow[side] >= 0;
|
|
20357
20357
|
});
|
|
20358
20358
|
}
|
|
20359
|
-
function hide(
|
|
20360
|
-
var state =
|
|
20359
|
+
function hide(_ref2) {
|
|
20360
|
+
var state = _ref2.state, name = _ref2.name;
|
|
20361
20361
|
var referenceRect = state.rects.reference;
|
|
20362
20362
|
var popperRect = state.rects.popper;
|
|
20363
20363
|
var preventedOffsets = state.modifiersData.preventOverflow;
|
|
@@ -20392,9 +20392,9 @@ const hide$1 = {
|
|
|
20392
20392
|
function distanceAndSkiddingToXY(placement, rects, offset2) {
|
|
20393
20393
|
var basePlacement = getBasePlacement(placement);
|
|
20394
20394
|
var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;
|
|
20395
|
-
var
|
|
20395
|
+
var _ref2 = typeof offset2 === "function" ? offset2(Object.assign({}, rects, {
|
|
20396
20396
|
placement
|
|
20397
|
-
})) : offset2, skidding =
|
|
20397
|
+
})) : offset2, skidding = _ref2[0], distance = _ref2[1];
|
|
20398
20398
|
skidding = skidding || 0;
|
|
20399
20399
|
distance = (distance || 0) * invertDistance;
|
|
20400
20400
|
return [left, right].indexOf(basePlacement) >= 0 ? {
|
|
@@ -20405,8 +20405,8 @@ function distanceAndSkiddingToXY(placement, rects, offset2) {
|
|
|
20405
20405
|
y: distance
|
|
20406
20406
|
};
|
|
20407
20407
|
}
|
|
20408
|
-
function offset(
|
|
20409
|
-
var state =
|
|
20408
|
+
function offset(_ref2) {
|
|
20409
|
+
var state = _ref2.state, options = _ref2.options, name = _ref2.name;
|
|
20410
20410
|
var _options$offset = options.offset, offset2 = _options$offset === void 0 ? [0, 0] : _options$offset;
|
|
20411
20411
|
var data = placements.reduce(function(acc, placement) {
|
|
20412
20412
|
acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset2);
|
|
@@ -20426,8 +20426,8 @@ const offset$1 = {
|
|
|
20426
20426
|
requires: ["popperOffsets"],
|
|
20427
20427
|
fn: offset
|
|
20428
20428
|
};
|
|
20429
|
-
function popperOffsets(
|
|
20430
|
-
var state =
|
|
20429
|
+
function popperOffsets(_ref2) {
|
|
20430
|
+
var state = _ref2.state, name = _ref2.name;
|
|
20431
20431
|
state.modifiersData[name] = computeOffsets({
|
|
20432
20432
|
reference: state.rects.reference,
|
|
20433
20433
|
element: state.rects.popper,
|
|
@@ -20444,8 +20444,8 @@ const popperOffsets$1 = {
|
|
|
20444
20444
|
function getAltAxis(axis) {
|
|
20445
20445
|
return axis === "x" ? "y" : "x";
|
|
20446
20446
|
}
|
|
20447
|
-
function preventOverflow(
|
|
20448
|
-
var state =
|
|
20447
|
+
function preventOverflow(_ref2) {
|
|
20448
|
+
var state = _ref2.state, options = _ref2.options, name = _ref2.name;
|
|
20449
20449
|
var _options$mainAxis = options.mainAxis, checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis, _options$altAxis = options.altAxis, checkAltAxis = _options$altAxis === void 0 ? false : _options$altAxis, boundary = options.boundary, rootBoundary = options.rootBoundary, altBoundary = options.altBoundary, padding2 = options.padding, _options$tether = options.tether, tether = _options$tether === void 0 ? true : _options$tether, _options$tetherOffset = options.tetherOffset, tetherOffset = _options$tetherOffset === void 0 ? 0 : _options$tetherOffset;
|
|
20450
20450
|
var overflow = detectOverflow(state, {
|
|
20451
20451
|
boundary,
|
|
@@ -20766,8 +20766,8 @@ function popperGenerator(generatorOptions) {
|
|
|
20766
20766
|
}
|
|
20767
20767
|
});
|
|
20768
20768
|
function runModifierEffects() {
|
|
20769
|
-
state.orderedModifiers.forEach(function(
|
|
20770
|
-
var name =
|
|
20769
|
+
state.orderedModifiers.forEach(function(_ref2) {
|
|
20770
|
+
var name = _ref2.name, _ref$options = _ref2.options, options2 = _ref$options === void 0 ? {} : _ref$options, effect2 = _ref2.effect;
|
|
20771
20771
|
if (typeof effect2 === "function") {
|
|
20772
20772
|
var cleanupFn = effect2({
|
|
20773
20773
|
state,
|
|
@@ -24500,7 +24500,7 @@ const BackdropRoot = styled("div", {
|
|
|
24500
24500
|
backgroundColor: "transparent"
|
|
24501
24501
|
}));
|
|
24502
24502
|
const Backdrop = /* @__PURE__ */ React$2.forwardRef(function Backdrop2(inProps, ref) {
|
|
24503
|
-
var _slotProps$root,
|
|
24503
|
+
var _slotProps$root, _ref2, _slots$root;
|
|
24504
24504
|
const props = useDefaultProps({
|
|
24505
24505
|
props: inProps,
|
|
24506
24506
|
name: "MuiBackdrop"
|
|
@@ -24531,7 +24531,7 @@ const Backdrop = /* @__PURE__ */ React$2.forwardRef(function Backdrop2(inProps,
|
|
|
24531
24531
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(BackdropRoot, _extends({
|
|
24532
24532
|
"aria-hidden": true
|
|
24533
24533
|
}, rootSlotProps, {
|
|
24534
|
-
as: (
|
|
24534
|
+
as: (_ref2 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : component,
|
|
24535
24535
|
className: clsx$1(classes.root, className, rootSlotProps == null ? void 0 : rootSlotProps.className),
|
|
24536
24536
|
ownerState: _extends({}, ownerState, rootSlotProps == null ? void 0 : rootSlotProps.ownerState),
|
|
24537
24537
|
classes,
|
|
@@ -27066,7 +27066,7 @@ const ModalBackdrop = styled(Backdrop, {
|
|
|
27066
27066
|
zIndex: -1
|
|
27067
27067
|
});
|
|
27068
27068
|
const Modal$1 = /* @__PURE__ */ React$2.forwardRef(function Modal(inProps, ref) {
|
|
27069
|
-
var
|
|
27069
|
+
var _ref2, _slots$root, _ref22, _slots$backdrop, _slotProps$root, _slotProps$backdrop;
|
|
27070
27070
|
const props = useDefaultProps({
|
|
27071
27071
|
name: "MuiModal",
|
|
27072
27072
|
props: inProps
|
|
@@ -27133,7 +27133,7 @@ const Modal$1 = /* @__PURE__ */ React$2.forwardRef(function Modal(inProps, ref)
|
|
|
27133
27133
|
childProps.onEnter = onEnter;
|
|
27134
27134
|
childProps.onExited = onExited;
|
|
27135
27135
|
}
|
|
27136
|
-
const RootSlot = (
|
|
27136
|
+
const RootSlot = (_ref2 = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : ModalRoot;
|
|
27137
27137
|
const BackdropSlot = (_ref22 = (_slots$backdrop = slots == null ? void 0 : slots.backdrop) != null ? _slots$backdrop : components.Backdrop) != null ? _ref22 : BackdropComponent;
|
|
27138
27138
|
const rootSlotProps = (_slotProps$root = slotProps == null ? void 0 : slotProps.root) != null ? _slotProps$root : componentsProps.root;
|
|
27139
27139
|
const backdropSlotProps = (_slotProps$backdrop = slotProps == null ? void 0 : slotProps.backdrop) != null ? _slotProps$backdrop : componentsProps.backdrop;
|
|
@@ -28400,7 +28400,7 @@ const FilledInputInput = styled(InputBaseComponent, {
|
|
|
28400
28400
|
paddingRight: 0
|
|
28401
28401
|
}));
|
|
28402
28402
|
const FilledInput = /* @__PURE__ */ React$2.forwardRef(function FilledInput2(inProps, ref) {
|
|
28403
|
-
var
|
|
28403
|
+
var _ref2, _slots$root, _ref22, _slots$input;
|
|
28404
28404
|
const props = useDefaultProps({
|
|
28405
28405
|
props: inProps,
|
|
28406
28406
|
name: "MuiFilledInput"
|
|
@@ -28432,7 +28432,7 @@ const FilledInput = /* @__PURE__ */ React$2.forwardRef(function FilledInput2(inP
|
|
|
28432
28432
|
}
|
|
28433
28433
|
};
|
|
28434
28434
|
const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge$1(filledInputComponentsProps, slotProps != null ? slotProps : componentsPropsProp) : filledInputComponentsProps;
|
|
28435
|
-
const RootSlot = (
|
|
28435
|
+
const RootSlot = (_ref2 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : FilledInputRoot;
|
|
28436
28436
|
const InputSlot = (_ref22 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref22 : FilledInputInput;
|
|
28437
28437
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(InputBase, _extends({
|
|
28438
28438
|
slots: {
|
|
@@ -29021,7 +29021,7 @@ const AsteriskComponent$1 = styled("span", {
|
|
|
29021
29021
|
}
|
|
29022
29022
|
}));
|
|
29023
29023
|
const FormControlLabel = /* @__PURE__ */ React$2.forwardRef(function FormControlLabel2(inProps, ref) {
|
|
29024
|
-
var
|
|
29024
|
+
var _ref2, _slotProps$typography;
|
|
29025
29025
|
const props = useDefaultProps({
|
|
29026
29026
|
props: inProps,
|
|
29027
29027
|
name: "MuiFormControlLabel"
|
|
@@ -29038,7 +29038,7 @@ const FormControlLabel = /* @__PURE__ */ React$2.forwardRef(function FormControl
|
|
|
29038
29038
|
slotProps = {}
|
|
29039
29039
|
} = props, other = _objectWithoutPropertiesLoose(props, _excluded$F);
|
|
29040
29040
|
const muiFormControl = useFormControl();
|
|
29041
|
-
const disabled2 = (
|
|
29041
|
+
const disabled2 = (_ref2 = disabledProp != null ? disabledProp : control.props.disabled) != null ? _ref2 : muiFormControl == null ? void 0 : muiFormControl.disabled;
|
|
29042
29042
|
const required = requiredProp != null ? requiredProp : control.props.required;
|
|
29043
29043
|
const controlProps = {
|
|
29044
29044
|
disabled: disabled2,
|
|
@@ -30358,7 +30358,7 @@ const InputInput = styled(InputBaseComponent, {
|
|
|
30358
30358
|
overridesResolver: inputOverridesResolver
|
|
30359
30359
|
})({});
|
|
30360
30360
|
const Input = /* @__PURE__ */ React$2.forwardRef(function Input2(inProps, ref) {
|
|
30361
|
-
var
|
|
30361
|
+
var _ref2, _slots$root, _ref22, _slots$input;
|
|
30362
30362
|
const props = useDefaultProps({
|
|
30363
30363
|
props: inProps,
|
|
30364
30364
|
name: "MuiInput"
|
|
@@ -30384,7 +30384,7 @@ const Input = /* @__PURE__ */ React$2.forwardRef(function Input2(inProps, ref) {
|
|
|
30384
30384
|
}
|
|
30385
30385
|
};
|
|
30386
30386
|
const componentsProps = (slotProps != null ? slotProps : componentsPropsProp) ? deepmerge$1(slotProps != null ? slotProps : componentsPropsProp, inputComponentsProps) : inputComponentsProps;
|
|
30387
|
-
const RootSlot = (
|
|
30387
|
+
const RootSlot = (_ref2 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : InputRoot;
|
|
30388
30388
|
const InputSlot = (_ref22 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref22 : InputInput;
|
|
30389
30389
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(InputBase, _extends({
|
|
30390
30390
|
slots: {
|
|
@@ -33982,7 +33982,7 @@ const OutlinedInputInput = styled(InputBaseComponent, {
|
|
|
33982
33982
|
paddingRight: 0
|
|
33983
33983
|
}));
|
|
33984
33984
|
const OutlinedInput = /* @__PURE__ */ React$2.forwardRef(function OutlinedInput2(inProps, ref) {
|
|
33985
|
-
var
|
|
33985
|
+
var _ref2, _slots$root, _ref22, _slots$input, _React$Fragment;
|
|
33986
33986
|
const props = useDefaultProps({
|
|
33987
33987
|
props: inProps,
|
|
33988
33988
|
name: "MuiOutlinedInput"
|
|
@@ -34016,7 +34016,7 @@ const OutlinedInput = /* @__PURE__ */ React$2.forwardRef(function OutlinedInput2
|
|
|
34016
34016
|
size: fcs.size,
|
|
34017
34017
|
type
|
|
34018
34018
|
});
|
|
34019
|
-
const RootSlot = (
|
|
34019
|
+
const RootSlot = (_ref2 = (_slots$root = slots.root) != null ? _slots$root : components.Root) != null ? _ref2 : OutlinedInputRoot;
|
|
34020
34020
|
const InputSlot = (_ref22 = (_slots$input = slots.input) != null ? _slots$input : components.Input) != null ? _ref22 : OutlinedInputInput;
|
|
34021
34021
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(InputBase, _extends({
|
|
34022
34022
|
slots: {
|
|
@@ -35476,7 +35476,7 @@ function composeEventHandler(handler, eventHandler) {
|
|
|
35476
35476
|
};
|
|
35477
35477
|
}
|
|
35478
35478
|
const Tooltip = /* @__PURE__ */ React$2.forwardRef(function Tooltip2(inProps, ref) {
|
|
35479
|
-
var
|
|
35479
|
+
var _ref2, _slots$popper, _ref22, _ref3, _slots$transition, _ref4, _slots$tooltip, _ref5, _slots$arrow, _slotProps$popper, _ref6, _slotProps$popper2, _slotProps$transition, _slotProps$tooltip, _ref7, _slotProps$tooltip2, _slotProps$arrow, _ref8, _slotProps$arrow2;
|
|
35480
35480
|
const props = useDefaultProps({
|
|
35481
35481
|
props: inProps,
|
|
35482
35482
|
name: "MuiTooltip"
|
|
@@ -35758,8 +35758,8 @@ const Tooltip = /* @__PURE__ */ React$2.forwardRef(function Tooltip2(inProps, re
|
|
|
35758
35758
|
touch: ignoreNonTouchEvents.current
|
|
35759
35759
|
});
|
|
35760
35760
|
const classes = useUtilityClasses$e(ownerState);
|
|
35761
|
-
const PopperComponent = (
|
|
35762
|
-
const TransitionComponent = (_ref22 = (
|
|
35761
|
+
const PopperComponent = (_ref2 = (_slots$popper = slots.popper) != null ? _slots$popper : components.Popper) != null ? _ref2 : TooltipPopper;
|
|
35762
|
+
const TransitionComponent = (_ref22 = (_ref3 = (_slots$transition = slots.transition) != null ? _slots$transition : components.Transition) != null ? _ref3 : TransitionComponentProp) != null ? _ref22 : Grow;
|
|
35763
35763
|
const TooltipComponent = (_ref4 = (_slots$tooltip = slots.tooltip) != null ? _slots$tooltip : components.Tooltip) != null ? _ref4 : TooltipTooltip;
|
|
35764
35764
|
const ArrowComponent = (_ref5 = (_slots$arrow = slots.arrow) != null ? _slots$arrow : components.Arrow) != null ? _ref5 : TooltipArrow;
|
|
35765
35765
|
const popperProps = appendOwnerState$1(PopperComponent, _extends({}, PopperProps, (_slotProps$popper = slotProps.popper) != null ? _slotProps$popper : componentsProps.popper, {
|
|
@@ -38804,7 +38804,7 @@ const TeliMenuItem = ({
|
|
|
38804
38804
|
children: children2,
|
|
38805
38805
|
...props
|
|
38806
38806
|
}) => /* @__PURE__ */ jsx$1(MenuItem, { ...props, children: children2 });
|
|
38807
|
-
const AppSwitch
|
|
38807
|
+
const AppSwitch = ({
|
|
38808
38808
|
apps,
|
|
38809
38809
|
isLeftAligned,
|
|
38810
38810
|
...otherProps
|
|
@@ -38879,10 +38879,10 @@ const TeliStandardLayoutHeader = ({
|
|
|
38879
38879
|
beta,
|
|
38880
38880
|
userProfile = null
|
|
38881
38881
|
}) => /* @__PURE__ */ jsxs(TeliHeader, { className: "teli-standard-layout-header", children: [
|
|
38882
|
-
/* @__PURE__ */ jsx$1("div", { className: "start-adornments", children: userProfile && /* @__PURE__ */ jsx$1(AppSwitch
|
|
38882
|
+
/* @__PURE__ */ jsx$1("div", { className: "start-adornments", children: userProfile && /* @__PURE__ */ jsx$1(AppSwitch, { apps, isLeftAligned: true }) }),
|
|
38883
38883
|
/* @__PURE__ */ jsx$1(TeliBrand, { appName, beta }),
|
|
38884
38884
|
/* @__PURE__ */ jsxs("div", { className: "end-adornments", children: [
|
|
38885
|
-
!userProfile && /* @__PURE__ */ jsx$1(AppSwitch
|
|
38885
|
+
!userProfile && /* @__PURE__ */ jsx$1(AppSwitch, { apps }),
|
|
38886
38886
|
userProfile
|
|
38887
38887
|
] })
|
|
38888
38888
|
] });
|
|
@@ -39673,8 +39673,8 @@ var featureFlags = {};
|
|
|
39673
39673
|
function flagEnabled(config2, flag) {
|
|
39674
39674
|
if (featureFlags2.future.includes(flag)) {
|
|
39675
39675
|
var _config_future;
|
|
39676
|
-
var _config_future_flag,
|
|
39677
|
-
return config2.future === "all" || ((
|
|
39676
|
+
var _config_future_flag, _ref2;
|
|
39677
|
+
return config2.future === "all" || ((_ref2 = (_config_future_flag = config2 === null || config2 === void 0 ? void 0 : (_config_future = config2.future) === null || _config_future === void 0 ? void 0 : _config_future[flag]) !== null && _config_future_flag !== void 0 ? _config_future_flag : defaults2[flag]) !== null && _ref2 !== void 0 ? _ref2 : false);
|
|
39678
39678
|
}
|
|
39679
39679
|
if (featureFlags2.experimental.includes(flag)) {
|
|
39680
39680
|
var _config_experimental;
|
|
@@ -54955,115 +54955,25 @@ const TelicentBrand = () => {
|
|
|
54955
54955
|
/* @__PURE__ */ jsx$1("path", { d: "M129.958 4.72116V2.92553H134.189V4.96003C134.189 6.87593 134.189 8.51177 131.476 8.51177V8.91208H140.016V12.5841H134.069V23.0004C134.069 24.9954 134.228 25.315 136.225 25.315H139.617V28.8667H134.867C131.434 28.8667 129.958 27.4697 129.958 23.918V12.5841H125.209V8.91208C130.197 8.91208 129.958 7.31577 129.958 4.72116Z" })
|
|
54956
54956
|
] }) });
|
|
54957
54957
|
};
|
|
54958
|
-
const Text = ({
|
|
54959
|
-
variant = "body1",
|
|
54960
|
-
...textProps
|
|
54961
|
-
}) => /* @__PURE__ */ jsx$1(Typography, { component: "p", variant, ...textProps });
|
|
54962
|
-
const H1 = ({
|
|
54963
|
-
variant = "h1",
|
|
54964
|
-
...headingProps
|
|
54965
|
-
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h1", variant, ...headingProps });
|
|
54966
|
-
const H2 = ({
|
|
54967
|
-
variant = "h2",
|
|
54968
|
-
...headingProps
|
|
54969
|
-
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h2", variant, ...headingProps });
|
|
54970
|
-
const H3 = ({
|
|
54971
|
-
variant = "h3",
|
|
54972
|
-
...headingProps
|
|
54973
|
-
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h3", variant, ...headingProps });
|
|
54974
|
-
const H4 = ({
|
|
54975
|
-
variant = "h4",
|
|
54976
|
-
...headingProps
|
|
54977
|
-
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h4", variant, ...headingProps });
|
|
54978
|
-
const H5 = ({
|
|
54979
|
-
variant = "h5",
|
|
54980
|
-
...headingProps
|
|
54981
|
-
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h5", variant, ...headingProps });
|
|
54982
|
-
const H6 = ({
|
|
54983
|
-
variant = "h6",
|
|
54984
|
-
...headingProps
|
|
54985
|
-
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h6", variant, ...headingProps });
|
|
54986
|
-
const IconButton2 = forwardRef((props, ref) => /* @__PURE__ */ jsx$1(IconButton$1, { ref, ...props }));
|
|
54987
|
-
const FlexBox = (props) => /* @__PURE__ */ jsx$1(Stack, { ...props, children: props.children });
|
|
54988
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__$1() {
|
|
54989
|
-
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
54990
|
-
}
|
|
54991
|
-
const AppSwitchLibrarySchema = z.object({
|
|
54992
|
-
id: z.string(),
|
|
54993
|
-
name: z.string(),
|
|
54994
|
-
url: z.string(),
|
|
54995
|
-
icon: z.string()
|
|
54996
|
-
});
|
|
54997
|
-
var _ref$1 = process.env.NODE_ENV === "production" ? {
|
|
54998
|
-
name: "1ud7tr0",
|
|
54999
|
-
styles: "display:flex;flex-direction:column;align-items:center;row-gap:4px;width:100%"
|
|
55000
|
-
} : {
|
|
55001
|
-
name: "eehrjg-AppSwitch",
|
|
55002
|
-
styles: "display:flex;flex-direction:column;align-items:center;row-gap:4px;width:100%;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE4RWdCIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB6b2QgZnJvbSBcInpvZFwiO1xuaW1wb3J0IE1VSU1lbnUgZnJvbSBcIkBtdWkvbWF0ZXJpYWwvTWVudVwiO1xuaW1wb3J0IE1VSU1lbnVJdGVtIGZyb20gXCJAbXVpL21hdGVyaWFsL01lbnVJdGVtXCI7XG5cbmltcG9ydCB7IFRleHQgfSBmcm9tIFwiLi4vVGV4dC9UZXh0XCI7XG5pbXBvcnQgSWNvbkJ1dHRvbiBmcm9tIFwiLi4vLi4vaW5wdXRzL0J1dHRvbi9JY29uQnV0dG9uXCI7XG5pbXBvcnQgR3JpZEljb24gZnJvbSBcIi4u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yTXNnID0gZm9ybWF0dGVkRXJyb3JzLmpvaW4oXCJcXG5cIik7XG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8RmxleEJveCBrZXk9e2Vycm9yTXNnfSByb2xlPVwibWVudWl0ZW1cIj5cbiAgICAgICAgICAgICAgICA8VGV4dD5cbiAgICAgICAgICAgICAgICAgIE1pc2NvbmZpZ3VyYXRpb24gZXJyb3I6IEFwcCBTd2l0Y2ggbGlicmFyeXtcIiBcIn1cbiAgICAgICAgICAgICAgICAgIHthcHA/LmlkID8gYGZvciBpZCAke2FwcC5pZH1gIDogYGF0IGluZGV4ICR7aW5kZXh9YH1cbiAgICAgICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgICAgICAgPFRleHQ+e2Vycm9yTXNnfTwvVGV4dD5cbiAgICAgICAgICAgICAgPC9GbGV4Qm94PlxuICAgICAgICAgICAgKTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPE1VSU1lbnVJdGVtIGtleT17YXBwLmlkfSBvbkNsaWNrPXtoYW5kbGVDbG9zZX0+XG4gICAgICAgICAgICAgIDxhXG4gICAgICAgICAgICAgICAgaHJlZj17YXBwLnVybH1cbiAgICAgICAgICAgICAgICBjc3M9e3tcbiAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IFwiZmxleFwiLFxuICAgICAgICAgICAgICAgICAgZmxleERpcmVjdGlvbjogXCJjb2x1bW5cIixcbiAgICAgICAgICAgICAgICAgIGFsaWduSXRlbXM6IFwiY2VudGVyXCIsXG4gICAgICAgICAgICAgICAgICByb3dHYXA6IDQsXG4gICAgICAgICAgICAgICAgICB3aWR0aDogXCIxMDAlXCJcbiAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPGltZ1xuICAgICAgICAgICAgICAgICAgc3JjPXthcHAuaWNvbn1cbiAgICAgICAgICAgICAgICAgIGFsdD17YCR7YXBwLm5hbWV9IGljb25gfVxuICAgICAgICAgICAgICAgICAgY3NzPXt7IHdpZHRoOiAyNSwgaGVpZ2h0OiAyNSB9fVxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAge2FwcC5uYW1lfVxuICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICA8L01VSU1lbnVJdGVtPlxuICAgICAgICAgICk7XG4gICAgICAgIH0pfVxuICAgICAgPC9NVUlNZW51PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgQXBwU3dpdGNoO1xuIl19 */",
|
|
55003
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
|
|
55004
|
-
};
|
|
55005
|
-
var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
55006
|
-
name: "1k1rh22",
|
|
55007
|
-
styles: "width:25px;height:25px"
|
|
55008
|
-
} : {
|
|
55009
|
-
name: "9qz4wy-AppSwitch",
|
|
55010
|
-
styles: "width:25px;height:25px;label:AppSwitch;/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF5RmtCIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9BcHBTd2l0Y2gvQXBwU3dpdGNoLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB6b2QgZnJvbSBcInpvZFwiO1xuaW1wb3J0IE1VSU1lbnUgZnJvbSBcIkBtdWkvbWF0ZXJpYWwvTW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oZW1hLmVycm9yLmlzc3Vlcy5tYXAoXG4gICAgICAgICAgICAgIChpc3N1ZSkgPT4ge1xuICAgICAgICAgICAgICAgIHJldHVybiBgJHtpc3N1ZS5wYXRoLnRvU3RyaW5nKCkucmVwbGFjZShcIixcIiwgXCIgPiBcIil9OiAke2lzc3VlLm1lc3NhZ2V9YDtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIGNvbnN0IGVycm9yTXNnID0gZm9ybWF0dGVkRXJyb3JzLmpvaW4oXCJcXG5cIik7XG4gICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICA8RmxleEJveCBrZXk9e2Vycm9yTXNnfSByb2xlPVwibWVudWl0ZW1cIj5cbiAgICAgICAgICAgICAgICA8VGV4dD5cbiAgICAgICAgICAgICAgICAgIE1pc2NvbmZpZ3VyYXRpb24gZXJyb3I6IEFwcCBTd2l0Y2ggbGlicmFyeXtcIiBcIn1cbiAgICAgICAgICAgICAgICAgIHthcHA/LmlkID8gYGZvciBpZCAke2FwcC5pZH1gIDogYGF0IGluZGV4ICR7aW5kZXh9YH1cbiAgICAgICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgICAgICAgPFRleHQ+e2Vycm9yTXNnfTwvVGV4dD5cbiAgICAgICAgICAgICAgPC9GbGV4Qm94PlxuICAgICAgICAgICAgKTtcbiAgICAgICAgICB9XG5cbiAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgPE1VSU1lbnVJdGVtIGtleT17YXBwLmlkfSBvbkNsaWNrPXtoYW5kbGVDbG9zZX0+XG4gICAgICAgICAgICAgIDxhXG4gICAgICAgICAgICAgICAgaHJlZj17YXBwLnVybH1cbiAgICAgICAgICAgICAgICBjc3M9e3tcbiAgICAgICAgICAgICAgICAgIGRpc3BsYXk6IFwiZmxleFwiLFxuICAgICAgICAgICAgICAgICAgZmxleERpcmVjdGlvbjogXCJjb2x1bW5cIixcbiAgICAgICAgICAgICAgICAgIGFsaWduSXRlbXM6IFwiY2VudGVyXCIsXG4gICAgICAgICAgICAgICAgICByb3dHYXA6IDQsXG4gICAgICAgICAgICAgICAgICB3aWR0aDogXCIxMDAlXCJcbiAgICAgICAgICAgICAgICB9fVxuICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPGltZ1xuICAgICAgICAgICAgICAgICAgc3JjPXthcHAuaWNvbn1cbiAgICAgICAgICAgICAgICAgIGFsdD17YCR7YXBwLm5hbWV9IGljb25gfVxuICAgICAgICAgICAgICAgICAgY3NzPXt7IHdpZHRoOiAyNSwgaGVpZ2h0OiAyNSB9fVxuICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAge2FwcC5uYW1lfVxuICAgICAgICAgICAgICA8L2E+XG4gICAgICAgICAgICA8L01VSU1lbnVJdGVtPlxuICAgICAgICAgICk7XG4gICAgICAgIH0pfVxuICAgICAgPC9NVUlNZW51PlxuICAgIDwvZGl2PlxuICApO1xufTtcblxuZXhwb3J0IGRlZmF1bHQgQXBwU3dpdGNoO1xuIl19 */",
|
|
55011
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
|
|
55012
|
-
};
|
|
55013
|
-
const AppSwitch = ({
|
|
55014
|
-
apps
|
|
55015
|
-
}) => {
|
|
55016
|
-
const [anchorEl, setAnchorEl] = React__default.useState(null);
|
|
55017
|
-
const open = Boolean(anchorEl);
|
|
55018
|
-
const handleClick = (event) => {
|
|
55019
|
-
setAnchorEl(event.currentTarget);
|
|
55020
|
-
};
|
|
55021
|
-
const handleClose = () => {
|
|
55022
|
-
setAnchorEl(null);
|
|
55023
|
-
};
|
|
55024
|
-
return /* @__PURE__ */ jsxs("div", { children: [
|
|
55025
|
-
/* @__PURE__ */ jsx$1(IconButton2, { "aria-label": "app-switch", "aria-controls": open ? "app-switch-menu" : void 0, "aria-haspopup": "true", "aria-expanded": open ? "true" : void 0, onClick: handleClick, color: "primary", children: /* @__PURE__ */ jsx$1(GridIcon, {}) }),
|
|
55026
|
-
/* @__PURE__ */ jsx$1(Menu, { id: "app-switch-menu", anchorEl, open, onClose: handleClose, MenuListProps: {
|
|
55027
|
-
"aria-labelledby": "app-switch-button"
|
|
55028
|
-
}, children: apps.map((app, index) => {
|
|
55029
|
-
const validateAppsSchema = AppSwitchLibrarySchema.safeParse(app);
|
|
55030
|
-
if (!validateAppsSchema.success) {
|
|
55031
|
-
const formattedErrors = validateAppsSchema.error.issues.map((issue) => {
|
|
55032
|
-
return `${issue.path.toString().replace(",", " > ")}: ${issue.message}`;
|
|
55033
|
-
});
|
|
55034
|
-
const errorMsg = formattedErrors.join("\n");
|
|
55035
|
-
return /* @__PURE__ */ jsxs(FlexBox, { role: "menuitem", children: [
|
|
55036
|
-
/* @__PURE__ */ jsxs(Text, { children: [
|
|
55037
|
-
"Misconfiguration error: App Switch library",
|
|
55038
|
-
" ",
|
|
55039
|
-
(app == null ? void 0 : app.id) ? `for id ${app.id}` : `at index ${index}`
|
|
55040
|
-
] }),
|
|
55041
|
-
/* @__PURE__ */ jsx$1(Text, { children: errorMsg })
|
|
55042
|
-
] }, errorMsg);
|
|
55043
|
-
}
|
|
55044
|
-
return /* @__PURE__ */ jsx$1(MenuItem, { onClick: handleClose, children: /* @__PURE__ */ jsxs("a", { href: app.url, css: _ref$1, children: [
|
|
55045
|
-
/* @__PURE__ */ jsx$1("img", { src: app.icon, alt: `${app.name} icon`, css: _ref2 }),
|
|
55046
|
-
app.name
|
|
55047
|
-
] }) }, app.id);
|
|
55048
|
-
}) })
|
|
55049
|
-
] });
|
|
55050
|
-
};
|
|
55051
54958
|
const AppBar2 = ({
|
|
55052
54959
|
appName,
|
|
55053
54960
|
beta = false,
|
|
55054
54961
|
position: position2 = "relative",
|
|
55055
|
-
|
|
54962
|
+
startChild,
|
|
55056
54963
|
endChild,
|
|
55057
54964
|
version
|
|
55058
54965
|
}) => {
|
|
55059
54966
|
const theme = useExtendedTheme();
|
|
55060
|
-
return /* @__PURE__ */ jsxs(AppBar$1, { color: "inherit", position: position2,
|
|
55061
|
-
|
|
54967
|
+
return /* @__PURE__ */ jsxs(AppBar$1, { color: "inherit", position: position2, enableColorOnDark: true, sx: {
|
|
54968
|
+
borderRadius: 0,
|
|
54969
|
+
backgroundColor: theme.palette.mode === "dark" ? theme.palette.background.default : "#ffffff"
|
|
54970
|
+
}, elevation: 0, children: [
|
|
54971
|
+
startChild && /* @__PURE__ */ jsx$1(Box, { id: "app-switch-container", sx: {
|
|
55062
54972
|
position: "absolute",
|
|
55063
54973
|
top: "50%",
|
|
55064
54974
|
left: 16,
|
|
55065
54975
|
transform: "translate(0, -50%)"
|
|
55066
|
-
}, children:
|
|
54976
|
+
}, children: startChild }),
|
|
55067
54977
|
/* @__PURE__ */ jsxs(Stack, { direction: "row", spacing: 2, alignItems: "center", sx: {
|
|
55068
54978
|
position: "absolute",
|
|
55069
54979
|
top: "50%",
|
|
@@ -55076,8 +54986,10 @@ const AppBar2 = ({
|
|
|
55076
54986
|
fontFamily: "Figtree",
|
|
55077
54987
|
fontSize: 40
|
|
55078
54988
|
}, children: appName }),
|
|
55079
|
-
version && /* @__PURE__ */ jsx$1(Box, { position: "absolute",
|
|
55080
|
-
color: theme.palette.secondary.contrastText
|
|
54989
|
+
version && /* @__PURE__ */ jsx$1(Box, { position: "absolute", bottom: 5, fontSize: 12, left: "calc(100% - 12px)", paddingInline: 0.5, sx: {
|
|
54990
|
+
color: theme.palette.secondary.contrastText,
|
|
54991
|
+
whiteSpace: "nowrap",
|
|
54992
|
+
marginLeft: "-4px"
|
|
55081
54993
|
}, children: version })
|
|
55082
54994
|
] }),
|
|
55083
54995
|
endChild && /* @__PURE__ */ jsx$1(Stack, { sx: {
|
|
@@ -55103,6 +55015,7 @@ const AppChrome = ({
|
|
|
55103
55015
|
] });
|
|
55104
55016
|
};
|
|
55105
55017
|
const Container = (containerProps) => /* @__PURE__ */ jsx$1(Container$1, { ...containerProps });
|
|
55018
|
+
const FlexBox = (props) => /* @__PURE__ */ jsx$1(Stack, { ...props, children: props.children });
|
|
55106
55019
|
const TelicentMark = ({
|
|
55107
55020
|
width: width2 = 24,
|
|
55108
55021
|
height: height2 = 24,
|
|
@@ -55197,11 +55110,48 @@ const SearchIcon = ({
|
|
|
55197
55110
|
color: color2 === "primary" ? theme.palette.primary.main : "inherit"
|
|
55198
55111
|
}, process.env.NODE_ENV === "production" ? "" : ";label:SearchIcon;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3RlbGljZW50LWRzL3RlbGljZW50LWRzL3NyYy92MS9jb21wb25lbnRzL2RhdGEtZGlzcGxheS9Gb250QXdlc29tZUljb25zL1NlYXJjaEljb24udHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCTSIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay90ZWxpY2VudC1kcy90ZWxpY2VudC1kcy9zcmMvdjEvY29tcG9uZW50cy9kYXRhLWRpc3BsYXkvRm9udEF3ZXNvbWVJY29ucy9TZWFyY2hJY29uLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tIFwicmVhY3RcIjtcbmltcG9ydCB7XG4gIEZvbnRBd2Vzb21lSWNvbixcbiAgRm9udEF3ZXNvbWVJY29uUHJvcHMsXG59IGZyb20gXCJAZm9ydGF3ZXNvbWUvcmVhY3QtZm9udGF3ZXNvbWVcIjtcbmltcG9ydCB7IGZhTWFnbmlmeWluZ0dsYXNzIH0gZnJvbSBcIkBmb3J0YXdlc29tZS9mcmVlLXNvbGlkLXN2Zy1pY29uc1wiO1xuaW1wb3J0IHsgdXNlVGhlbWUgfSBmcm9tIFwiQG11aS9tYXRlcmlhbC9zdHlsZXNcIjtcblxudHlwZSBTZWFyY2hJY29uUHJvcHMgPSBPbWl0PEZvbnRBd2Vzb21lSWNvblByb3BzLCBcImljb25cIj4gJiB7XG4gIGNvbG9yPzogXCJwcmltYXJ5XCIgfCBcImluaGVyaXRcIjtcbn07XG5cbmNvbnN0IFNlYXJjaEljb246IFJlYWN0LkZDPFNlYXJjaEljb25Qcm9wcz4gPSAoeyBjb2xvciwgLi4uZmFJY29uUHJvcHMgfSkgPT4ge1xuICBjb25zdCB0aGVtZSA9IHVzZVRoZW1lKCk7XG5cbiAgcmV0dXJuIChcbiAgICA8Rm9udEF3ZXNvbWVJY29uXG4gICAgICBpY29uPXtmYU1hZ25pZnlpbmdHbGFzc31cbiAgICAgIGNzcz17e1xuICAgICAgICBjb2xvcjogY29sb3IgPT09IFwicHJpbWFyeVwiID8gdGhlbWUucGFsZXR0ZS5wcmltYXJ5Lm1haW4gOiBcImluaGVyaXRcIixcbiAgICAgIH19XG4gICAgICB7Li4uZmFJY29uUHJvcHN9XG4gICAgLz5cbiAgKTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IFNlYXJjaEljb247XG4iXX0= */"), ...faIconProps });
|
|
55199
55112
|
};
|
|
55113
|
+
const Text = ({
|
|
55114
|
+
variant = "body1",
|
|
55115
|
+
...textProps
|
|
55116
|
+
}) => /* @__PURE__ */ jsx$1(Typography, { component: "p", variant, ...textProps });
|
|
55117
|
+
const H1 = ({
|
|
55118
|
+
variant = "h1",
|
|
55119
|
+
...headingProps
|
|
55120
|
+
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h1", variant, ...headingProps });
|
|
55121
|
+
const H2 = ({
|
|
55122
|
+
variant = "h2",
|
|
55123
|
+
...headingProps
|
|
55124
|
+
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h2", variant, ...headingProps });
|
|
55125
|
+
const H3 = ({
|
|
55126
|
+
variant = "h3",
|
|
55127
|
+
...headingProps
|
|
55128
|
+
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h3", variant, ...headingProps });
|
|
55129
|
+
const H4 = ({
|
|
55130
|
+
variant = "h4",
|
|
55131
|
+
...headingProps
|
|
55132
|
+
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h4", variant, ...headingProps });
|
|
55133
|
+
const H5 = ({
|
|
55134
|
+
variant = "h5",
|
|
55135
|
+
...headingProps
|
|
55136
|
+
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h5", variant, ...headingProps });
|
|
55137
|
+
const H6 = ({
|
|
55138
|
+
variant = "h6",
|
|
55139
|
+
...headingProps
|
|
55140
|
+
}) => /* @__PURE__ */ jsx$1(Typography, { component: "h6", variant, ...headingProps });
|
|
55200
55141
|
const List2 = (listProps) => /* @__PURE__ */ jsx$1(List$1, { ...listProps });
|
|
55201
55142
|
const ListItem2 = (listItemProps) => /* @__PURE__ */ jsx$1(ListItem$1, { ...listItemProps });
|
|
55202
55143
|
const ListItemButton2 = (listItemButtonProps) => /* @__PURE__ */ jsx$1(ListItemButton$1, { ...listItemButtonProps });
|
|
55203
55144
|
const ListItemIcon2 = (listItemIconProps) => /* @__PURE__ */ jsx$1(ListItemIcon$1, { ...listItemIconProps });
|
|
55204
55145
|
const ListItemText2 = (props) => /* @__PURE__ */ jsx$1(ListItemText$1, { ...props });
|
|
55146
|
+
const IconButton2 = forwardRef((props, ref) => /* @__PURE__ */ jsx$1(IconButton$1, { ref, ...props }));
|
|
55147
|
+
const AppSwitchLibrarySchema = z.object({
|
|
55148
|
+
id: z.string(),
|
|
55149
|
+
name: z.string(),
|
|
55150
|
+
url: z.string(),
|
|
55151
|
+
icon: z.string()
|
|
55152
|
+
});
|
|
55153
|
+
process.env.NODE_ENV === "production" ? {} : {};
|
|
55154
|
+
process.env.NODE_ENV === "production" ? {} : {};
|
|
55205
55155
|
const Chip2 = ({
|
|
55206
55156
|
variant = "filled",
|
|
55207
55157
|
...chipProps
|
|
@@ -56751,7 +56701,7 @@ const buildWarning = (message, gravity = "warning") => {
|
|
|
56751
56701
|
};
|
|
56752
56702
|
};
|
|
56753
56703
|
const _excluded$2 = ["slots", "slotProps", "apiRef"];
|
|
56754
|
-
const extractPluginParamsFromProps = (
|
|
56704
|
+
const extractPluginParamsFromProps = (_ref2) => {
|
|
56755
56705
|
let {
|
|
56756
56706
|
props: {
|
|
56757
56707
|
slots,
|
|
@@ -56760,7 +56710,7 @@ const extractPluginParamsFromProps = (_ref3) => {
|
|
|
56760
56710
|
},
|
|
56761
56711
|
plugins: plugins2,
|
|
56762
56712
|
rootRef
|
|
56763
|
-
} =
|
|
56713
|
+
} = _ref2, props = _objectWithoutPropertiesLoose(_ref2.props, _excluded$2);
|
|
56764
56714
|
const paramsLookup = {};
|
|
56765
56715
|
plugins2.forEach((plugin) => {
|
|
56766
56716
|
Object.assign(paramsLookup, plugin.params);
|
|
@@ -58102,11 +58052,11 @@ function createSVGTransform(controlPos, positionOffset) {
|
|
|
58102
58052
|
const translation = getTranslation(controlPos, positionOffset, "");
|
|
58103
58053
|
return translation;
|
|
58104
58054
|
}
|
|
58105
|
-
function getTranslation(
|
|
58055
|
+
function getTranslation(_ref2, positionOffset, unitSuffix) {
|
|
58106
58056
|
let {
|
|
58107
58057
|
x: x2,
|
|
58108
58058
|
y
|
|
58109
|
-
} =
|
|
58059
|
+
} = _ref2;
|
|
58110
58060
|
let translation = "translate(".concat(x2).concat(unitSuffix, ",").concat(y).concat(unitSuffix, ")");
|
|
58111
58061
|
if (positionOffset) {
|
|
58112
58062
|
const defaultX = "".concat(typeof positionOffset.x === "string" ? positionOffset.x : positionOffset.x + unitSuffix);
|
|
@@ -58786,10 +58736,10 @@ _defineProperty(DraggableCore$1, "defaultProps", {
|
|
|
58786
58736
|
class Draggable2 extends React2.Component {
|
|
58787
58737
|
// React 16.3+
|
|
58788
58738
|
// Arity (props, state)
|
|
58789
|
-
static getDerivedStateFromProps(
|
|
58739
|
+
static getDerivedStateFromProps(_ref2, _ref22) {
|
|
58790
58740
|
let {
|
|
58791
58741
|
position: position2
|
|
58792
|
-
} =
|
|
58742
|
+
} = _ref2;
|
|
58793
58743
|
let {
|
|
58794
58744
|
prevPropsPosition
|
|
58795
58745
|
} = _ref22;
|
|
@@ -60915,7 +60865,7 @@ const generateComponentOverrides = (uiTheme) => ({
|
|
|
60915
60865
|
MuiAppBar: {
|
|
60916
60866
|
styleOverrides: {
|
|
60917
60867
|
root: {
|
|
60918
|
-
height:
|
|
60868
|
+
height: 64
|
|
60919
60869
|
}
|
|
60920
60870
|
}
|
|
60921
60871
|
},
|
|
@@ -61077,7 +61027,7 @@ const Modal2 = ({
|
|
|
61077
61027
|
export {
|
|
61078
61028
|
AppBar2 as AppBar,
|
|
61079
61029
|
AppChrome,
|
|
61080
|
-
AppSwitch
|
|
61030
|
+
AppSwitch,
|
|
61081
61031
|
AppSwitchLibrarySchema,
|
|
61082
61032
|
BinIcon,
|
|
61083
61033
|
Button2 as Button,
|