scorer-ui-kit 2.6.4 → 2.6.6
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/Filters/FilterTypes.d.ts +6 -1
- package/dist/Filters/atoms/ToggleButton.d.ts +12 -0
- package/dist/Filters/index.d.ts +4 -3
- package/dist/Layouts/index.d.ts +1 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +123 -85
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +123 -86
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2384,7 +2384,7 @@ var InputContainer$1 = styled__default.div(_templateObject2$d || (_templateObjec
|
|
|
2384
2384
|
var hasAction = _ref2.hasAction;
|
|
2385
2385
|
return hasAction && styled.css(_templateObject4$a || (_templateObject4$a = _taggedTemplateLiteralLoose(["\n ", "{\n padding-right: 200px;\n\n // Used to control password manager injection.\n background-position: calc(100% - 50px) 50% !important;\n }\n "])), StyledInput$1);
|
|
2386
2386
|
});
|
|
2387
|
-
var UnitKey = styled__default.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n flex: 0 1;\n font-size: 12px;\n font-family: var(--font-ui);\n color: var(--input-color-unit);\n margin-top: 1px;\n"])));
|
|
2387
|
+
var UnitKey = styled__default.div(_templateObject5$8 || (_templateObject5$8 = _taggedTemplateLiteralLoose(["\n flex: 0 1;\n font-size: 12px;\n font-family: var(--font-ui);\n color: var(--input-color-unit);\n margin-top: 1px;\n white-space: nowrap;\n"])));
|
|
2388
2388
|
var Container$6 = styled__default.div(_templateObject6$5 || (_templateObject6$5 = _taggedTemplateLiteralLoose(["\n position: relative;\n \n ", ";\n"])), function (_ref3) {
|
|
2389
2389
|
var fieldState = _ref3.fieldState;
|
|
2390
2390
|
return fieldState && styled.css(_templateObject7$5 || (_templateObject7$5 = _taggedTemplateLiteralLoose(["\n &:focus-within ", " {\n transition: boxShadow var(--speed-fast) var(--easing-primary-in-out);\n box-shadow: 0 3px 3px var(--input-", "-focused-shadow-color, var(--input-", "-shadow-color));\n }\n "])), InputContainer$1, fieldState, fieldState);
|
|
@@ -5946,49 +5946,52 @@ var FilterDropdownContainer = function FilterDropdownContainer(_ref) {
|
|
|
5946
5946
|
|
|
5947
5947
|
var _excluded$o = ["icon", "hasFlipArrow", "isSortAscending", "isOpen", "design", "children"];
|
|
5948
5948
|
var _templateObject$I, _templateObject2$B, _templateObject3$x, _templateObject4$s, _templateObject5$p, _templateObject6$l, _templateObject7$k, _templateObject8$h, _templateObject9$d, _templateObject10$9;
|
|
5949
|
-
var
|
|
5949
|
+
var LeftIconWrapper$1 = styled__default.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n ", ";\n padding: 0 6px;\n"])), function (_ref) {
|
|
5950
5950
|
var isSortAscending = _ref.isSortAscending;
|
|
5951
5951
|
return isSortAscending && styled.css(_templateObject2$B || (_templateObject2$B = _taggedTemplateLiteralLoose(["\n transform: scaleY(-1);\n "])));
|
|
5952
5952
|
});
|
|
5953
5953
|
var fadeInAnimation = styled.keyframes(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n"])));
|
|
5954
|
-
var FlipArrowContainer = styled__default.div(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose([""])))
|
|
5955
|
-
var StyledButton$4 = styled__default.button(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n ", ";\n border-radius: 3px;\n height: var(--common-height);\n\n ", ";\n\n text-align: left;\n font-size: 12px;\n font-weight: 500;\n text-decoration: none;\n color: var(--filter-button-text-color);\n font-family: var(--font-ui);\n transition:\n opacity ", " ", ",\n background-color ", " ", ",\n box-shadow ", " ", ",\n color ", " ", ",\n border ", " ", ";\n\n animation: ", " ", " ", ";\n\n ", " {\n padding: 0 9px;\n display: flex;\n align-items: center;\n [stroke]{\n transition: stroke ", " ", ";\n }\n }\n\n &:hover:enabled, &:active:enabled {\n color: var(--grey-12);\n \n ", ";\n \n ", " {\n [stroke]{\n stroke: var(--primary-9);\n }\n }\n \n ", ";\n \n }\n\n &:disabled {\n cursor: not-allowed;\n opacity: 50%;\n }\n\n ", ";\n\n"])), resetButtonStyles, function (_ref2) {
|
|
5954
|
+
var FlipArrowContainer = styled__default.div(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref2) {
|
|
5956
5955
|
var design = _ref2.design;
|
|
5957
|
-
return design === '
|
|
5958
|
-
}
|
|
5956
|
+
return design === 'default' ? "padding: 0px 12px 0px 8px;" : "padding: 0px 8px;";
|
|
5957
|
+
});
|
|
5958
|
+
var StyledButton$4 = styled__default.button(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n ", ";\n border-radius: 3px;\n height: var(--common-height);\n display: inline-flex;\n align-items: center;\n gap: 4px;\n flex-shrink: 0;\n padding: 4px 10px 4px 4px;\n\n ", ";\n\n ", ";\n\n text-align: left;\n font-size: 12px;\n font-weight: 500;\n text-decoration: none;\n color: var(--filter-button-text-color);\n font-family: var(--font-ui);\n transition:\n opacity ", " ", ",\n background-color ", " ", ",\n box-shadow ", " ", ",\n color ", " ", ",\n border ", " ", ";\n\n animation: ", " ", " ", ";\n\n ", " {\n display: flex;\n align-items: center;\n [stroke]{\n transition: stroke ", " ", ";\n }\n }\n\n &:hover:enabled, &:active:enabled {\n color: var(--grey-12);\n\n ", ";\n\n ", " {\n [stroke]{\n stroke: var(--primary-9);\n }\n }\n\n ", ";\n\n }\n\n &:disabled {\n cursor: not-allowed;\n opacity: 50%;\n }\n\n ", ";\n\n"])), resetButtonStyles, function (_ref3) {
|
|
5959
5959
|
var design = _ref3.design;
|
|
5960
|
+
return design === 'basic' ? "\n background-color: transparent;\n border: 1px solid transparent;\n padding: 4px;\n " : "\n background-color: var(--filter-button-background-color);\n border: var(--filter-button-stroke-color) 1px solid;\n box-shadow: 0px 4px 9px 0px var(--filter-button-shadow-color);\n ";
|
|
5961
|
+
}, function (_ref4) {
|
|
5962
|
+
var hasFlipArrow = _ref4.hasFlipArrow;
|
|
5963
|
+
return hasFlipArrow && "padding: 4px 0px 4px 4px;";
|
|
5964
|
+
}, animation.speed.fast, animation.easing.primary.out, animation.speed.fast, animation.easing.primary.out, animation.speed.fast, animation.easing.primary.out, animation.speed.fast, animation.easing.primary.out, animation.speed.fast, animation.easing.primary.out, fadeInAnimation, animation.speed.slower, animation.easing.primary.out, IconWrapper, animation.speed.fast, animation.easing.primary.out, function (_ref5) {
|
|
5965
|
+
var design = _ref5.design;
|
|
5960
5966
|
return design === 'basic' ? '' : styled.css(_templateObject6$l || (_templateObject6$l = _taggedTemplateLiteralLoose(["\n box-shadow: 0px 4px 9px 0px var(--primary-a2);\n border-color: var(--primary-7);\n "])));
|
|
5961
|
-
}, IconWrapper, function (
|
|
5962
|
-
var isOpen =
|
|
5967
|
+
}, IconWrapper, function (_ref6) {
|
|
5968
|
+
var isOpen = _ref6.isOpen;
|
|
5963
5969
|
return !isOpen && styled.css(_templateObject7$k || (_templateObject7$k = _taggedTemplateLiteralLoose(["\n ", " ", " {\n [stroke]{\n stroke: var(--grey-12);\n }\n };\n "])), FlipArrowContainer, IconWrapper);
|
|
5964
|
-
}, function (
|
|
5965
|
-
var isOpen =
|
|
5966
|
-
hasFlipArrow =
|
|
5967
|
-
return isOpen && hasFlipArrow && styled.css(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n background-color: var(--primary-9);\n border: solid 1px var(--primary-9);\n color: var(--white-1);\n\n &, &:hover:enabled, &:active:enabled {\n color: var(--white-1);\n ", " {\n [stroke]{\n stroke: var(--white-1);\n }\n }\n }\n
|
|
5968
|
-
});
|
|
5969
|
-
var InnerContainer$3 = styled__default.div(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n
|
|
5970
|
-
var ButtonText = styled__default.div(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose(["
|
|
5971
|
-
|
|
5972
|
-
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
|
|
5977
|
-
|
|
5978
|
-
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
design = _ref7$design === void 0 ? 'default' : _ref7$design,
|
|
5983
|
-
children = _ref7.children,
|
|
5984
|
-
props = _objectWithoutPropertiesLoose(_ref7, _excluded$o);
|
|
5970
|
+
}, function (_ref7) {
|
|
5971
|
+
var isOpen = _ref7.isOpen,
|
|
5972
|
+
hasFlipArrow = _ref7.hasFlipArrow;
|
|
5973
|
+
return isOpen && hasFlipArrow && styled.css(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n background-color: var(--primary-9);\n border: solid 1px var(--primary-9);\n color: var(--white-1);\n\n &, &:hover:enabled, &:active:enabled {\n color: var(--white-1);\n ", " {\n [stroke]{\n stroke: var(--white-1);\n }\n }\n }\n\n ", " ", " {\n [stroke]{\n stroke: var(--white-1);\n }\n };\n "])), IconWrapper, FlipArrowContainer, IconWrapper);
|
|
5974
|
+
});
|
|
5975
|
+
var InnerContainer$3 = styled__default.div(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 4px;\n"])));
|
|
5976
|
+
var ButtonText = styled__default.div(_templateObject10$9 || (_templateObject10$9 = _taggedTemplateLiteralLoose([""])));
|
|
5977
|
+
var FilterButton = function FilterButton(_ref8) {
|
|
5978
|
+
var icon = _ref8.icon,
|
|
5979
|
+
_ref8$hasFlipArrow = _ref8.hasFlipArrow,
|
|
5980
|
+
hasFlipArrow = _ref8$hasFlipArrow === void 0 ? false : _ref8$hasFlipArrow,
|
|
5981
|
+
_ref8$isSortAscending = _ref8.isSortAscending,
|
|
5982
|
+
isSortAscending = _ref8$isSortAscending === void 0 ? false : _ref8$isSortAscending,
|
|
5983
|
+
isOpen = _ref8.isOpen,
|
|
5984
|
+
_ref8$design = _ref8.design,
|
|
5985
|
+
design = _ref8$design === void 0 ? 'default' : _ref8$design,
|
|
5986
|
+
children = _ref8.children,
|
|
5987
|
+
props = _objectWithoutPropertiesLoose(_ref8, _excluded$o);
|
|
5985
5988
|
return React__default.createElement(StyledButton$4, Object.assign({
|
|
5986
5989
|
type: 'button'
|
|
5987
5990
|
}, props, {
|
|
5988
5991
|
isOpen: isOpen,
|
|
5989
5992
|
hasFlipArrow: hasFlipArrow,
|
|
5990
5993
|
design: design
|
|
5991
|
-
}), React__default.createElement(InnerContainer$3, null, React__default.createElement(
|
|
5994
|
+
}), React__default.createElement(InnerContainer$3, null, React__default.createElement(LeftIconWrapper$1, Object.assign({}, {
|
|
5992
5995
|
isSortAscending: isSortAscending
|
|
5993
5996
|
}), React__default.createElement(Icon, {
|
|
5994
5997
|
icon: icon,
|
|
@@ -5997,7 +6000,9 @@ var FilterButton = function FilterButton(_ref7) {
|
|
|
5997
6000
|
color: 'filter-button-icon-color'
|
|
5998
6001
|
})), React__default.createElement(ButtonText, Object.assign({}, {
|
|
5999
6002
|
hasFlipArrow: hasFlipArrow
|
|
6000
|
-
}), children), hasFlipArrow && React__default.createElement(FlipArrowContainer,
|
|
6003
|
+
}), children), hasFlipArrow && React__default.createElement(FlipArrowContainer, Object.assign({}, {
|
|
6004
|
+
design: design
|
|
6005
|
+
}), React__default.createElement(Icon, {
|
|
6001
6006
|
icon: isOpen ? 'Up' : 'Down',
|
|
6002
6007
|
size: 6,
|
|
6003
6008
|
color: 'grey-11'
|
|
@@ -7381,6 +7386,30 @@ var FilterBar = function FilterBar(_ref4) {
|
|
|
7381
7386
|
})));
|
|
7382
7387
|
};
|
|
7383
7388
|
|
|
7389
|
+
var _excluded$y = ["options", "categoryLabel", "selectedIndex", "design", "onToggle"];
|
|
7390
|
+
var ToggleButton = function ToggleButton(_ref) {
|
|
7391
|
+
var options = _ref.options,
|
|
7392
|
+
categoryLabel = _ref.categoryLabel,
|
|
7393
|
+
selectedIndex = _ref.selectedIndex,
|
|
7394
|
+
_ref$design = _ref.design,
|
|
7395
|
+
design = _ref$design === void 0 ? 'basic' : _ref$design,
|
|
7396
|
+
onToggle = _ref.onToggle,
|
|
7397
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$y);
|
|
7398
|
+
var onToggleCallback = React.useCallback(function (currentIndex) {
|
|
7399
|
+
var selected = currentIndex === 1 ? 0 : 1;
|
|
7400
|
+
onToggle(selected, options[selected].value);
|
|
7401
|
+
}, [onToggle, options]);
|
|
7402
|
+
if (selectedIndex !== 0 && selectedIndex !== 1) return null;
|
|
7403
|
+
return React__default.createElement(FilterButton, Object.assign({
|
|
7404
|
+
icon: options[selectedIndex].icon,
|
|
7405
|
+
onClick: function onClick() {
|
|
7406
|
+
return onToggleCallback(selectedIndex);
|
|
7407
|
+
}
|
|
7408
|
+
}, {
|
|
7409
|
+
design: design
|
|
7410
|
+
}, props), categoryLabel + " : " + options[selectedIndex].text);
|
|
7411
|
+
};
|
|
7412
|
+
|
|
7384
7413
|
var _templateObject$U, _templateObject2$M, _templateObject3$H;
|
|
7385
7414
|
var Container$B = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-block;\n"])));
|
|
7386
7415
|
var StatusCounter = styled__default.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 14px;;\n top: -12px;\n border-radius: 4px;\n height: 14px;\n min-width: 14px;\n padding: 2px;\n font-size: 10px;\n color: white;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: background-color var(--speed-slow) var(--easing-primary-in-out);\n background-color: ", ";\n"])), function (_ref) {
|
|
@@ -8373,7 +8402,7 @@ var LineUI = function LineUI(_ref) {
|
|
|
8373
8402
|
})));
|
|
8374
8403
|
};
|
|
8375
8404
|
|
|
8376
|
-
var _excluded$
|
|
8405
|
+
var _excluded$z = ["loop", "autoPlay", "controls", "muted"];
|
|
8377
8406
|
var _templateObject$Z, _templateObject2$R, _templateObject3$M, _templateObject4$F, _templateObject5$A;
|
|
8378
8407
|
var Container$D = styled__default.div(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n position: relative;\n line-height: 0;\n user-select: none;\n touch-action: none;\n /* box-shadow: 0 10px 20px hsla(195deg, 65%, 5%, 35%); */\n /* border: 10px solid hsla(195deg, 45%, 35%, 45%); */\n /* border-radius:3px; */\n\n width: auto;\n /* transform: translateY(-70%); */\n"])));
|
|
8379
8408
|
var Video$1 = styled__default.video(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n border-radius: 3px;\n background-color: hsla(0deg, 0%, 0%, 35%);\n"])));
|
|
@@ -8404,7 +8433,7 @@ var LineUIVideo = function LineUIVideo(_ref) {
|
|
|
8404
8433
|
controls = _ref$videoOptions$con === void 0 ? false : _ref$videoOptions$con,
|
|
8405
8434
|
_ref$videoOptions$mut = _ref$videoOptions.muted,
|
|
8406
8435
|
muted = _ref$videoOptions$mut === void 0 ? true : _ref$videoOptions$mut,
|
|
8407
|
-
videoOptions = _objectWithoutPropertiesLoose(_ref$videoOptions, _excluded$
|
|
8436
|
+
videoOptions = _objectWithoutPropertiesLoose(_ref$videoOptions, _excluded$z),
|
|
8408
8437
|
_ref$options = _ref.options;
|
|
8409
8438
|
_ref$options = _ref$options === void 0 ? {} : _ref$options;
|
|
8410
8439
|
var showHandleFinder = _ref$options.showHandleFinder,
|
|
@@ -8582,7 +8611,7 @@ var LineUIVideo = function LineUIVideo(_ref) {
|
|
|
8582
8611
|
})));
|
|
8583
8612
|
};
|
|
8584
8613
|
|
|
8585
|
-
var _excluded$
|
|
8614
|
+
var _excluded$A = ["id", "enabled", "peerAddress", "maxConnectionAttempts", "rtcConfiguration", "setStatus", "setError", "autoPlay", "muted"];
|
|
8586
8615
|
var _templateObject$_;
|
|
8587
8616
|
var Video$2 = styled__default.video(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n /* width: 800px; */\n"])));
|
|
8588
8617
|
var WebRTCPlayer = function WebRTCPlayer(_ref) {
|
|
@@ -8602,7 +8631,7 @@ var WebRTCPlayer = function WebRTCPlayer(_ref) {
|
|
|
8602
8631
|
autoPlay = _ref$autoPlay === void 0 ? true : _ref$autoPlay,
|
|
8603
8632
|
_ref$muted = _ref.muted,
|
|
8604
8633
|
muted = _ref$muted === void 0 ? true : _ref$muted,
|
|
8605
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
8634
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
|
|
8606
8635
|
var _useState = React.useState(0),
|
|
8607
8636
|
connectionAttempts = _useState[0],
|
|
8608
8637
|
setConnectionAttempts = _useState[1];
|
|
@@ -9055,7 +9084,7 @@ var LineUI$1 = function LineUI(_ref) {
|
|
|
9055
9084
|
})));
|
|
9056
9085
|
};
|
|
9057
9086
|
|
|
9058
|
-
var _excluded$
|
|
9087
|
+
var _excluded$B = ["name", "points"];
|
|
9059
9088
|
var getMidpoint = function getMidpoint(pointA, pointB) {
|
|
9060
9089
|
return {
|
|
9061
9090
|
x: pointA.x + (pointB.x - pointA.x) * 0.5,
|
|
@@ -9126,7 +9155,7 @@ var LineReducer = (function (state, action) {
|
|
|
9126
9155
|
var newState = action.state.map(function (_ref) {
|
|
9127
9156
|
var name = _ref.name,
|
|
9128
9157
|
points = _ref.points,
|
|
9129
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
9158
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$B);
|
|
9130
9159
|
return _extends({
|
|
9131
9160
|
name: name,
|
|
9132
9161
|
points: points.map(function (_ref2) {
|
|
@@ -9214,7 +9243,7 @@ var IntroductionText = function IntroductionText(_ref) {
|
|
|
9214
9243
|
return React__default.createElement(Container$G, null, children);
|
|
9215
9244
|
};
|
|
9216
9245
|
|
|
9217
|
-
var _excluded$
|
|
9246
|
+
var _excluded$C = ["icon", "size", "weight", "label", "linkTo", "noBorder", "tagSize"];
|
|
9218
9247
|
var _templateObject$12, _templateObject2$U, _templateObject3$P, _templateObject4$I, _templateObject5$D, _templateObject6$w, _templateObject7$v;
|
|
9219
9248
|
var TextContainer$2 = styled__default.div(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n user-select: none;\n"])));
|
|
9220
9249
|
var StyledLink = styled__default(reactRouterDom.Link)(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteralLoose(["\n text-decoration: none;\n display: flex;\n"])));
|
|
@@ -9248,7 +9277,7 @@ var Tag = function Tag(_ref6) {
|
|
|
9248
9277
|
_ref6$noBorder = _ref6.noBorder,
|
|
9249
9278
|
noBorder = _ref6$noBorder === void 0 ? false : _ref6$noBorder,
|
|
9250
9279
|
tagSize = _ref6.tagSize,
|
|
9251
|
-
props = _objectWithoutPropertiesLoose(_ref6, _excluded$
|
|
9280
|
+
props = _objectWithoutPropertiesLoose(_ref6, _excluded$C);
|
|
9252
9281
|
var iconTagSize = React.useMemo(function () {
|
|
9253
9282
|
return tagSize === 'compact' ? 8 : 10;
|
|
9254
9283
|
}, [tagSize]);
|
|
@@ -9913,7 +9942,7 @@ var TypeTable = function TypeTable(_ref4) {
|
|
|
9913
9942
|
})));
|
|
9914
9943
|
};
|
|
9915
9944
|
|
|
9916
|
-
var _excluded$
|
|
9945
|
+
var _excluded$D = ["type", "placeholder", "defaultValue", "rowKey", "alignment", "toLink", "saveCallback"];
|
|
9917
9946
|
var _templateObject$1c, _templateObject2$11, _templateObject3$W, _templateObject4$P, _templateObject5$J, _templateObject6$B, _templateObject7$z, _templateObject8$r, _templateObject9$k, _templateObject10$g;
|
|
9918
9947
|
var Container$M = styled__default.div(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteralLoose(["\n position: relative;\n ", "\n"])), function (_ref) {
|
|
9919
9948
|
var theme = _ref.theme;
|
|
@@ -9943,7 +9972,7 @@ var EditCell = function EditCell(_ref4) {
|
|
|
9943
9972
|
_ref4$toLink = _ref4.toLink,
|
|
9944
9973
|
toLink = _ref4$toLink === void 0 ? '' : _ref4$toLink,
|
|
9945
9974
|
saveCallback = _ref4.saveCallback,
|
|
9946
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
9975
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded$D);
|
|
9947
9976
|
var _useState = React.useState(false),
|
|
9948
9977
|
isEditMode = _useState[0],
|
|
9949
9978
|
setIsEditMode = _useState[1];
|
|
@@ -11630,7 +11659,7 @@ var Controls = function Controls(_ref) {
|
|
|
11630
11659
|
return React__default.createElement(Container$T, null, React__default.createElement(PTZControl, null, React__default.createElement(Up, null), React__default.createElement(Down, null), React__default.createElement(Left, null), React__default.createElement(Right, null)), React__default.createElement(ZoomBase, null, React__default.createElement(Up$2, null), React__default.createElement(Up$1, null)), debug && React__default.createElement("pre", null, JSON.stringify(state, null, 2)));
|
|
11631
11660
|
};
|
|
11632
11661
|
|
|
11633
|
-
var _excluded$
|
|
11662
|
+
var _excluded$E = ["isEmptyWithIcon", "status", "noticeIcon", "hasNotice", "noticeMessage", "noticeTitle", "emptyIcon"];
|
|
11634
11663
|
var _templateObject$1k, _templateObject2$18, _templateObject3$11, _templateObject4$W, _templateObject5$Q, _templateObject6$D, _templateObject7$A, _templateObject8$s;
|
|
11635
11664
|
var Container$U = styled__default.div(_templateObject$1k || (_templateObject$1k = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 170px;\n border-radius: 3px;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n position: relative;\n\n ", " {\n height: 100%;\n width: 100%;\n text-align: center;\n img, video {\n border-radius: 3px;\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n height: 100%;\n width: 100%;\n object-fit: cover;\n }\n"])), MediaBoxWrapper);
|
|
11636
11665
|
var EmptyWithIcon = styled__default.div(_templateObject2$18 || (_templateObject2$18 = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: center;\n height: 100%;\n width: 100%;\n ", "\n;\n\n ", " {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n"])), function (_ref) {
|
|
@@ -11660,7 +11689,7 @@ var MediaStream = function MediaStream(_ref4) {
|
|
|
11660
11689
|
noticeMessage = _ref4.noticeMessage,
|
|
11661
11690
|
noticeTitle = _ref4.noticeTitle,
|
|
11662
11691
|
emptyIcon = _ref4.emptyIcon,
|
|
11663
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
11692
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded$E);
|
|
11664
11693
|
return React__default.createElement(Container$U, null, isEmptyWithIcon ? React__default.createElement(EmptyWithIcon, {
|
|
11665
11694
|
hasPadding: hasNotice
|
|
11666
11695
|
}, React__default.createElement(Icon, {
|
|
@@ -11731,7 +11760,7 @@ var PanelMetaData = function PanelMetaData(_ref6) {
|
|
|
11731
11760
|
}, rightTitle), rightSubTitle && React__default.createElement(SubTitle, null, rightSubTitle)));
|
|
11732
11761
|
};
|
|
11733
11762
|
|
|
11734
|
-
var _excluded$
|
|
11763
|
+
var _excluded$F = ["streamProps", "panelMetaData", "customBottom", "panelOnClick"];
|
|
11735
11764
|
var _templateObject$1m;
|
|
11736
11765
|
var CameraPanelWrapper = styled__default.div(_templateObject$1m || (_templateObject$1m = _taggedTemplateLiteralLoose(["\n width: 300px;\n height: 230px;\n border-radius: 3px;\n box-shadow: 0 2px 10px 0 var(--grey-a5);\n background-color: linear-gradient(180.00deg, var(--grey-2) 0%, var(--grey-3) 100%);\n }\n\n ", ";\n"])), function (_ref) {
|
|
11737
11766
|
var hasOnClick = _ref.hasOnClick;
|
|
@@ -11742,7 +11771,7 @@ var NewComponent = function NewComponent(_ref2) {
|
|
|
11742
11771
|
panelMetaData = _ref2.panelMetaData,
|
|
11743
11772
|
customBottom = _ref2.customBottom,
|
|
11744
11773
|
panelOnClick = _ref2.panelOnClick,
|
|
11745
|
-
props = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
11774
|
+
props = _objectWithoutPropertiesLoose(_ref2, _excluded$F);
|
|
11746
11775
|
return React__default.createElement(CameraPanelWrapper, Object.assign({
|
|
11747
11776
|
onClick: panelOnClick,
|
|
11748
11777
|
hasOnClick: panelOnClick === undefined ? false : true
|
|
@@ -11771,12 +11800,12 @@ var TagList = function TagList(_ref) {
|
|
|
11771
11800
|
}));
|
|
11772
11801
|
};
|
|
11773
11802
|
|
|
11774
|
-
var _excluded$
|
|
11803
|
+
var _excluded$G = ["onDebouncedChange", "defaultValue"];
|
|
11775
11804
|
var DebouncedSearcher = function DebouncedSearcher(_ref) {
|
|
11776
11805
|
var _ref$onDebouncedChang = _ref.onDebouncedChange,
|
|
11777
11806
|
onDebouncedChange = _ref$onDebouncedChang === void 0 ? function () {} : _ref$onDebouncedChang,
|
|
11778
11807
|
defaultValue = _ref.defaultValue,
|
|
11779
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
11808
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$G);
|
|
11780
11809
|
var _useState = React.useState(defaultValue || ''),
|
|
11781
11810
|
typedValue = _useState[0],
|
|
11782
11811
|
setTypedValue = _useState[1];
|
|
@@ -11802,7 +11831,7 @@ var DebouncedSearcher = function DebouncedSearcher(_ref) {
|
|
|
11802
11831
|
}));
|
|
11803
11832
|
};
|
|
11804
11833
|
|
|
11805
|
-
var _excluded$
|
|
11834
|
+
var _excluded$H = ["design", "size", "position", "text"];
|
|
11806
11835
|
var _templateObject$1p, _templateObject2$1a, _templateObject3$13, _templateObject4$Y, _templateObject5$S, _templateObject6$F;
|
|
11807
11836
|
var Container$W = styled__default.div(_templateObject$1p || (_templateObject$1p = _taggedTemplateLiteralLoose([""])));
|
|
11808
11837
|
var Title$6 = styled__default.div(_templateObject2$1a || (_templateObject2$1a = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n color: var(--grey-10);\n font-size: 12px;\n font-weight: 700;\n margin-bottom: 17px;\n"])), function (_ref) {
|
|
@@ -11840,7 +11869,7 @@ var ActionsBar = function ActionsBar(_ref3) {
|
|
|
11840
11869
|
size = _ref4.size,
|
|
11841
11870
|
position = _ref4.position,
|
|
11842
11871
|
text = _ref4.text,
|
|
11843
|
-
props = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
11872
|
+
props = _objectWithoutPropertiesLoose(_ref4, _excluded$H);
|
|
11844
11873
|
return React__default.createElement(ButtonWithIcon, Object.assign({
|
|
11845
11874
|
key: index,
|
|
11846
11875
|
design: design || 'secondary',
|
|
@@ -12141,7 +12170,7 @@ var ConfirmationModal = function ConfirmationModal(_ref3) {
|
|
|
12141
12170
|
}, rightButtonText)));
|
|
12142
12171
|
};
|
|
12143
12172
|
|
|
12144
|
-
var _templateObject$1s, _templateObject2$1d, _templateObject3$16, _templateObject4$$, _templateObject5$V, _templateObject6$H, _templateObject7$D, _templateObject8$v, _templateObject9$n, _templateObject10$i, _templateObject11$c, _templateObject12$a;
|
|
12173
|
+
var _templateObject$1s, _templateObject2$1d, _templateObject3$16, _templateObject4$$, _templateObject5$V, _templateObject6$H, _templateObject7$D, _templateObject8$v, _templateObject9$n, _templateObject10$i, _templateObject11$c, _templateObject12$a, _templateObject13$9;
|
|
12145
12174
|
var Container$Y = styled__default.div(_templateObject$1s || (_templateObject$1s = _taggedTemplateLiteralLoose(["\n max-width: var(--max-content-width);\n margin-top: var(--utility-header-padding-top);\n padding: 0 var(--content-layout-padding-right) 0 var(--content-layout-padding-left);\n height: 48px;\n width: 100%;\n display: flex;\n"])));
|
|
12146
12175
|
var LeftArea = styled__default.div(_templateObject2$1d || (_templateObject2$1d = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: var(--columnPadding, 16px);\n flex: 1 0 0;\n"])));
|
|
12147
12176
|
var BackLinkIcon = styled__default.div(_templateObject3$16 || (_templateObject3$16 = _taggedTemplateLiteralLoose(["\n display: flex;\n width: 16px;\n height: 16px;\n justify-content: center;\n align-items: center;\n flex: 1; \n > div {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n"])));
|
|
@@ -12156,13 +12185,16 @@ var ExtraAction = styled__default.button(_templateObject7$D || (_templateObject7
|
|
|
12156
12185
|
var Breadcrumbs = styled__default.div(_templateObject8$v || (_templateObject8$v = _taggedTemplateLiteralLoose(["\n display: inline-flex;\n align-items: center;\n gap: 8px;\n"])));
|
|
12157
12186
|
var Breadcrumb = styled__default.div(_templateObject9$n || (_templateObject9$n = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n display: inline-flex;\n align-items: center;\n gap: 8px;\n\n"])));
|
|
12158
12187
|
var BreadcrumbIcon = styled__default.div(_templateObject10$i || (_templateObject10$i = _taggedTemplateLiteralLoose(["\n flex: 0;\n display: flex;\n align-items: center;\n\n > div {\n flex: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n"])));
|
|
12159
|
-
var
|
|
12160
|
-
var
|
|
12188
|
+
var HomeIcon = styled__default(BreadcrumbIcon)(_templateObject11$c || (_templateObject11$c = _taggedTemplateLiteralLoose(["\n padding-bottom: 1px;\n svg path {\n transition: stroke var(--speed-normal) var(--easing-primary-out);\n }\n"])));
|
|
12189
|
+
var BreadcrumbLink = styled__default(reactRouterDom.Link)(_templateObject12$a || (_templateObject12$a = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n gap: 8px;\n flex: 1;\n color: var(--grey-10);\n font-family: var(--font-ui);\n text-decoration: none;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n line-height: 12px; /* 100% */\n transition: color var(--speed-normal) var(--easing-primary-out);\n\n &:hover {\n color: var(--grey-12);\n ", " svg {\n path {\n stroke: var(--grey-12);\n }\n }\n }\n"])), HomeIcon);
|
|
12190
|
+
var RightArea = styled__default.div(_templateObject13$9 || (_templateObject13$9 = _taggedTemplateLiteralLoose(["\n flex: 1;\n align-items: center;\n display: flex;\n justify-content: right;\n"])));
|
|
12161
12191
|
var UtilityHeader = function UtilityHeader(_ref2) {
|
|
12162
12192
|
var _ref2$showBreadcrumbs = _ref2.showBreadcrumbs,
|
|
12163
12193
|
showBreadcrumbs = _ref2$showBreadcrumbs === void 0 ? true : _ref2$showBreadcrumbs,
|
|
12164
12194
|
_ref2$breadcrumbs = _ref2.breadcrumbs,
|
|
12165
12195
|
breadcrumbs = _ref2$breadcrumbs === void 0 ? [] : _ref2$breadcrumbs,
|
|
12196
|
+
_ref2$showHomeIcon = _ref2.showHomeIcon,
|
|
12197
|
+
showHomeIcon = _ref2$showHomeIcon === void 0 ? true : _ref2$showHomeIcon,
|
|
12166
12198
|
backLink = _ref2.backLink,
|
|
12167
12199
|
_ref2$$iconInGutter = _ref2.$iconInGutter,
|
|
12168
12200
|
$iconInGutter = _ref2$$iconInGutter === void 0 ? true : _ref2$$iconInGutter,
|
|
@@ -12194,12 +12226,17 @@ var UtilityHeader = function UtilityHeader(_ref2) {
|
|
|
12194
12226
|
})), "Back") : null, hasBreadcrumbs ? React__default.createElement(Breadcrumbs, null, breadcrumbs.map(function (breadcrumb, index) {
|
|
12195
12227
|
var text = breadcrumb.text,
|
|
12196
12228
|
href = breadcrumb.href;
|
|
12229
|
+
var isFirst = index === 0;
|
|
12197
12230
|
var isLast = index === breadcrumbs.length - 1;
|
|
12198
12231
|
return React__default.createElement(React__default.Fragment, {
|
|
12199
12232
|
key: index
|
|
12200
12233
|
}, React__default.createElement(Breadcrumb, null, React__default.createElement(BreadcrumbLink, {
|
|
12201
12234
|
to: href
|
|
12202
|
-
},
|
|
12235
|
+
}, isFirst && showHomeIcon ? React__default.createElement(HomeIcon, null, React__default.createElement(Icon, {
|
|
12236
|
+
icon: "Home",
|
|
12237
|
+
size: 11,
|
|
12238
|
+
color: 'grey-10'
|
|
12239
|
+
})) : null, text), !isLast ? React__default.createElement(BreadcrumbIcon, null, React__default.createElement(Icon, {
|
|
12203
12240
|
icon: "Right",
|
|
12204
12241
|
size: 6,
|
|
12205
12242
|
color: 'grey-8'
|
|
@@ -12343,7 +12380,7 @@ var ResizeLine = function ResizeLine(_ref4) {
|
|
|
12343
12380
|
}))), React__default.createElement(Line, null)));
|
|
12344
12381
|
};
|
|
12345
12382
|
|
|
12346
|
-
var _templateObject$1w, _templateObject2$1h, _templateObject3$19, _templateObject4$12, _templateObject5$Y, _templateObject6$J, _templateObject7$F, _templateObject8$x, _templateObject9$o, _templateObject10$j, _templateObject11$d, _templateObject12$b, _templateObject13$
|
|
12383
|
+
var _templateObject$1w, _templateObject2$1h, _templateObject3$19, _templateObject4$12, _templateObject5$Y, _templateObject6$J, _templateObject7$F, _templateObject8$x, _templateObject9$o, _templateObject10$j, _templateObject11$d, _templateObject12$b, _templateObject13$a, _templateObject14$7, _templateObject15$5, _templateObject16$5, _templateObject17$5, _templateObject18$3, _templateObject19$3;
|
|
12347
12384
|
var DebugData = styled__default.div(_templateObject$1w || (_templateObject$1w = _taggedTemplateLiteralLoose(["\n position: absolute;\n z-index: 10;\n bottom: 20px;\n left: 20px;\n background: #ededed99;\n border: grey 1px solid;\n padding: 20px;\n line-height: 20px;\n font-size: 12px;\n div {\n display: block;\n }\n span {\n display: inline-block;\n width: 130px;\n font-weight: 600;\n }\n"])));
|
|
12348
12385
|
var MainArea = styled__default.div(_templateObject2$1h || (_templateObject2$1h = _taggedTemplateLiteralLoose(["\n display: flex;\n position: relative;\n flex: 1;\n\n ", "\n"])), function (_ref) {
|
|
12349
12386
|
var $layout = _ref.$layout,
|
|
@@ -12381,7 +12418,7 @@ var SideArea = styled__default.div(_templateObject6$J || (_templateObject6$J = _
|
|
|
12381
12418
|
$minDimension = _ref8.$minDimension;
|
|
12382
12419
|
return $collapseState === 'opening' ? styled.css(_templateObject12$b || (_templateObject12$b = _taggedTemplateLiteralLoose(["\n ", ";\n\n ", "{\n min-width: ", "px;\n }\n "])), $layout === 'horizontal' ? 'min-width: 0' : 'min-height: 0', SideAreaInner, $minDimension) : null;
|
|
12383
12420
|
});
|
|
12384
|
-
var DragContainer = styled__default.div(_templateObject13$
|
|
12421
|
+
var DragContainer = styled__default.div(_templateObject13$a || (_templateObject13$a = _taggedTemplateLiteralLoose(["\n flex: 0 0 ", "px;\n display: flex;\n justify-content: center;\n align-items: center;\n cursor: col-resize;\n \n > div {\n transition: opacity 0.15s cubic-bezier(0.45, 0, 0.55, 1);\n }\n\n &:hover > div {\n opacity: 1;\n }\n\n ", "\n\n"])), function (_ref9) {
|
|
12385
12422
|
var $size = _ref9.$size;
|
|
12386
12423
|
return $size;
|
|
12387
12424
|
}, function (_ref10) {
|
|
@@ -12698,7 +12735,7 @@ var ContentArea = styled__default.div(_templateObject6$K || (_templateObject6$K
|
|
|
12698
12735
|
return legacyLayout && styled.css(_templateObject7$G || (_templateObject7$G = _taggedTemplateLiteralLoose(["\n padding: ", ";\n\n @media ", " {\n padding: ", ";\n }\n\n @media ", " {\n max-width: ", ";\n padding: ", ";\n }\n "])), paddingOverride ? paddingOverride : '40px 20px', deviceMediaQuery.medium, paddingOverride ? paddingOverride : '40px', deviceMediaQuery.large, maxWidth ? maxWidth : "1200px", paddingOverride ? paddingOverride : '70px 90px');
|
|
12699
12736
|
});
|
|
12700
12737
|
|
|
12701
|
-
var _templateObject$1y, _templateObject2$1j, _templateObject3$1b, _templateObject4$14, _templateObject5$_, _templateObject6$L, _templateObject7$H, _templateObject8$y, _templateObject9$p, _templateObject10$k, _templateObject11$e, _templateObject12$c, _templateObject13$
|
|
12738
|
+
var _templateObject$1y, _templateObject2$1j, _templateObject3$1b, _templateObject4$14, _templateObject5$_, _templateObject6$L, _templateObject7$H, _templateObject8$y, _templateObject9$p, _templateObject10$k, _templateObject11$e, _templateObject12$c, _templateObject13$b, _templateObject14$8, _templateObject15$6;
|
|
12702
12739
|
var ContextTitle = styled__default.div(_templateObject$1y || (_templateObject$1y = _taggedTemplateLiteralLoose(["\n opacity: 0;\n transition: opacity var(--speed-fast) var(--easing-primary-in-out);\n\n ", "\n"])), function (_ref) {
|
|
12703
12740
|
var compact = _ref.compact;
|
|
12704
12741
|
return compact && styled.css(_templateObject2$1j || (_templateObject2$1j = _taggedTemplateLiteralLoose(["\n font-size:14px;\n "])));
|
|
@@ -12719,7 +12756,7 @@ var ContextActionA = styled__default(reactRouterDom.Link)(_templateObject10$k ||
|
|
|
12719
12756
|
var $isActive = _ref4.$isActive;
|
|
12720
12757
|
return $isActive && styled.css(_templateObject12$c || (_templateObject12$c = _taggedTemplateLiteralLoose(["\n color: var(--grey-12);\n\n ", ",\n &:hover ", "{\n background-color: var(--global-menu-icon-background-active);\n }\n "])), ContextIcon$1, ContextIcon$1);
|
|
12721
12758
|
});
|
|
12722
|
-
var ContextActionButton$1 = styled__default.button(_templateObject13$
|
|
12759
|
+
var ContextActionButton$1 = styled__default.button(_templateObject13$b || (_templateObject13$b = _taggedTemplateLiteralLoose(["\n ", "\n\n ", "\n\n &:hover ", "{\n opacity: 1;\n background-color: var(--global-menu-icon-background-hover);\n\n ", "{\n [stroke]{\n stroke: var(--inverse);\n }\n }\n }\n\n ", "\n"])), ContextActionBaseCSS$1, function (_ref5) {
|
|
12723
12760
|
var menuOpen = _ref5.menuOpen;
|
|
12724
12761
|
return menuOpen && styled.css(_templateObject14$8 || (_templateObject14$8 = _taggedTemplateLiteralLoose(["\n ", "{\n opacity: 1;\n }\n\n ", "{\n opacity: 1;\n transition: opacity var(--speed-normal) var(--easing-primary-in-out) var(--speed-fast);\n }\n "])), ContextTitle, ContextIndicator);
|
|
12725
12762
|
}, ContextIcon$1, IconWrapper, function (_ref6) {
|
|
@@ -12897,7 +12934,7 @@ var useMenu = function useMenu(defaultMenuOpen, canAlwaysPin) {
|
|
|
12897
12934
|
};
|
|
12898
12935
|
};
|
|
12899
12936
|
|
|
12900
|
-
var _templateObject$1z, _templateObject2$1k, _templateObject3$1c, _templateObject4$15, _templateObject5$$, _templateObject6$M, _templateObject7$I, _templateObject8$z, _templateObject9$q, _templateObject10$l, _templateObject11$f, _templateObject12$d, _templateObject13$
|
|
12937
|
+
var _templateObject$1z, _templateObject2$1k, _templateObject3$1c, _templateObject4$15, _templateObject5$$, _templateObject6$M, _templateObject7$I, _templateObject8$z, _templateObject9$q, _templateObject10$l, _templateObject11$f, _templateObject12$d, _templateObject13$c;
|
|
12901
12938
|
var Submenu = styled__default.ul(_templateObject$1z || (_templateObject$1z = _taggedTemplateLiteralLoose(["\n display: block;\n position: relative;\n margin-left: 40px;\n padding: 0;\n\n"])));
|
|
12902
12939
|
var SubmenuHeader = styled__default.div(_templateObject2$1k || (_templateObject2$1k = _taggedTemplateLiteralLoose(["\n display: block;\n height: 40px;\n margin-left: 40px;\n"])));
|
|
12903
12940
|
var SubmenuContainerInner = styled__default.div(_templateObject3$1c || (_templateObject3$1c = _taggedTemplateLiteralLoose(["\n overflow: hidden;\n"])));
|
|
@@ -12915,7 +12952,7 @@ var ContextContainer = styled__default.div(_templateObject12$d || (_templateObje
|
|
|
12915
12952
|
return mobileMenu ? '30px' : '70px';
|
|
12916
12953
|
}, SubmenuContainer, function (_ref3) {
|
|
12917
12954
|
var open = _ref3.open;
|
|
12918
|
-
return open && styled.css(_templateObject13$
|
|
12955
|
+
return open && styled.css(_templateObject13$c || (_templateObject13$c = _taggedTemplateLiteralLoose(["\n ", "{\n grid-template-rows: 1fr;\n \n transition:\n grid-template-rows var(--speed-normal) var(--easing-primary-in-out),\n opacity var(--speed-fast) var(--easing-primary-in-out);\n \n opacity: 1;\n }\n "])), SubmenuContainer);
|
|
12919
12956
|
});
|
|
12920
12957
|
var NavigationItem = function NavigationItem(_ref4) {
|
|
12921
12958
|
var item = _ref4.item,
|
|
@@ -13006,7 +13043,7 @@ var generateSubmenus = function generateSubmenus(submenu, onClickCallback) {
|
|
|
13006
13043
|
return output;
|
|
13007
13044
|
};
|
|
13008
13045
|
|
|
13009
|
-
var _templateObject$1A, _templateObject2$1l, _templateObject3$1d, _templateObject4$16, _templateObject5$10, _templateObject6$N, _templateObject7$J, _templateObject8$A, _templateObject9$r, _templateObject10$m, _templateObject11$g, _templateObject12$e, _templateObject13$
|
|
13046
|
+
var _templateObject$1A, _templateObject2$1l, _templateObject3$1d, _templateObject4$16, _templateObject5$10, _templateObject6$N, _templateObject7$J, _templateObject8$A, _templateObject9$r, _templateObject10$m, _templateObject11$g, _templateObject12$e, _templateObject13$d, _templateObject14$9;
|
|
13010
13047
|
var Logo = styled__default(reactRouterDom.Link)(_templateObject$1A || (_templateObject$1A = _taggedTemplateLiteralLoose(["\n height: 50px;\n margin: 0 20px 55px 15px;\n display: flex;\n\n object {\n pointer-events: none;\n }\n"])));
|
|
13011
13048
|
var LogoMark = styled__default.div(_templateObject2$1l || (_templateObject2$1l = _taggedTemplateLiteralLoose(["\n height: 50px;\n flex: 0 0 50px;\n margin-right: 15px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n"])));
|
|
13012
13049
|
var LogoType = styled__default.div(_templateObject3$1d || (_templateObject3$1d = _taggedTemplateLiteralLoose(["\n opacity: 0;\n flex: 1;\n height: 50px;\n display: flex;\n justify-content: left;\n align-items: center;\n"])));
|
|
@@ -13022,7 +13059,7 @@ var PushContainer = styled__default.div(_templateObject9$r || (_templateObject9$
|
|
|
13022
13059
|
var Container$10 = styled__default.div(_templateObject11$g || (_templateObject11$g = _taggedTemplateLiteralLoose(["\n z-index: 99;\n position: fixed;\n top: 0;\n left: 0;\n ", "\n\n box-sizing: border-box;\n height: 100%;\n padding: 20px 0 0 0;\n overflow: hidden;\n"])), function (_ref2) {
|
|
13023
13060
|
var open = _ref2.open,
|
|
13024
13061
|
desktopSize = _ref2.desktopSize;
|
|
13025
|
-
return styled.css(_templateObject12$e || (_templateObject12$e = _taggedTemplateLiteralLoose(["\n background-color: var(--global-element-background);\n box-shadow: 0px 0px 7px 0px var(--primary-a2);\n width: ", ";\n border-right: 1px solid var(--dividing-line);\n\n ", ";\n\n ", "{\n transition: opacity var(--speed-normal) var(--easing-primary-in-out);\n opacity: ", ";\n }\n "])), open ? "var(--global-menu-width-open)" : "var(--global-menu-width-closed)", desktopSize === 'xxlarge' ? "" : styled.css(_templateObject13$
|
|
13062
|
+
return styled.css(_templateObject12$e || (_templateObject12$e = _taggedTemplateLiteralLoose(["\n background-color: var(--global-element-background);\n box-shadow: 0px 0px 7px 0px var(--primary-a2);\n width: ", ";\n border-right: 1px solid var(--dividing-line);\n\n ", ";\n\n ", "{\n transition: opacity var(--speed-normal) var(--easing-primary-in-out);\n opacity: ", ";\n }\n "])), open ? "var(--global-menu-width-open)" : "var(--global-menu-width-closed)", desktopSize === 'xxlarge' ? "" : styled.css(_templateObject13$d || (_templateObject13$d = _taggedTemplateLiteralLoose(["\n transition: width var(--speed-normal) var(--easing-primary-in);\n "]))), LogoType, open ? 1 : 0);
|
|
13026
13063
|
});
|
|
13027
13064
|
var ContainerInner = styled__default.div(_templateObject14$9 || (_templateObject14$9 = _taggedTemplateLiteralLoose(["\n width: var(--global-menu-width-open);\n display: flex;\n flex-direction: column;\n height: 100%;\n"])));
|
|
13028
13065
|
var MainMenu = function MainMenu(_ref3) {
|
|
@@ -13216,7 +13253,7 @@ var DrawerBottomMenu = function DrawerBottomMenu(_ref) {
|
|
|
13216
13253
|
}), React__default.createElement(ColumnContainer, null, React__default.createElement(Title$8, null, title), React__default.createElement(SubTitle$1, null, subTitle)));
|
|
13217
13254
|
};
|
|
13218
13255
|
|
|
13219
|
-
var _templateObject$1D, _templateObject2$1o, _templateObject3$1g, _templateObject4$19, _templateObject5$12, _templateObject6$P, _templateObject7$L, _templateObject8$C, _templateObject9$t, _templateObject10$o, _templateObject11$h, _templateObject12$f, _templateObject13$
|
|
13256
|
+
var _templateObject$1D, _templateObject2$1o, _templateObject3$1g, _templateObject4$19, _templateObject5$12, _templateObject6$P, _templateObject7$L, _templateObject8$C, _templateObject9$t, _templateObject10$o, _templateObject11$h, _templateObject12$f, _templateObject13$e, _templateObject14$a;
|
|
13220
13257
|
var DrawerTop = styled__default.div(_templateObject$1D || (_templateObject$1D = _taggedTemplateLiteralLoose([""])));
|
|
13221
13258
|
var DrawerBottom = styled__default.div(_templateObject2$1o || (_templateObject2$1o = _taggedTemplateLiteralLoose(["\n width: 100%;\n position: fixed;\n bottom: 50px;\n @media ", " {\n position: static;\n bottom: 0;\n }\n"])), deviceMediaQuery.medium);
|
|
13222
13259
|
var DrawerHeader = styled__default.h2(_templateObject3$1g || (_templateObject3$1g = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 600;\n text-transform: uppercase;\n letter-spacing: 0.35px;\n color: var(--grey-11);\n padding: 0;\n margin: 0 0 5px;\n"])));
|
|
@@ -13234,7 +13271,7 @@ var FooterMeta = styled__default.div(_templateObject12$f || (_templateObject12$f
|
|
|
13234
13271
|
var icon = _ref2.icon;
|
|
13235
13272
|
return icon !== '' ? '31px;' : '21px;';
|
|
13236
13273
|
});
|
|
13237
|
-
var NavigationContainer$1 = styled__default.div(_templateObject13$
|
|
13274
|
+
var NavigationContainer$1 = styled__default.div(_templateObject13$e || (_templateObject13$e = _taggedTemplateLiteralLoose(["\n max-height: 300px;\n overflow: scroll;\n overflow-x: hidden;\n overflow-y: auto;\n border-bottom: var(--dividing-line) 1px solid;\n"])));
|
|
13238
13275
|
var FooterText = styled__default.div(_templateObject14$a || (_templateObject14$a = _taggedTemplateLiteralLoose(["\n white-space: break-spaces;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n max-width: 136px;\n max-width: ", ";\n color: var(--grey-11);\n opacity: 0.5;\n"])), function (_ref3) {
|
|
13239
13276
|
var icon = _ref3.icon;
|
|
13240
13277
|
return icon !== '' ? '136px;' : '164px;';
|
|
@@ -13399,7 +13436,7 @@ var NotificationsHistory = function NotificationsHistory(_ref) {
|
|
|
13399
13436
|
return React__default.createElement(Container$14, null, unread && React__default.createElement(React.Fragment, null, React__default.createElement(StatusContainer, null, readNotificationsText), renderNotifications(unread, 'unread')), read && React__default.createElement(React.Fragment, null, React__default.createElement(StatusContainer, null, unreadNotificationsText), renderNotifications(read, 'read')));
|
|
13400
13437
|
};
|
|
13401
13438
|
|
|
13402
|
-
var _templateObject$1G, _templateObject2$1r, _templateObject3$1j, _templateObject4$1b, _templateObject5$14, _templateObject6$R, _templateObject7$N, _templateObject8$E, _templateObject9$u, _templateObject10$p, _templateObject11$i, _templateObject12$g, _templateObject13$
|
|
13439
|
+
var _templateObject$1G, _templateObject2$1r, _templateObject3$1j, _templateObject4$1b, _templateObject5$14, _templateObject6$R, _templateObject7$N, _templateObject8$E, _templateObject9$u, _templateObject10$p, _templateObject11$i, _templateObject12$g, _templateObject13$f;
|
|
13403
13440
|
var CoreStyle = styled.css(_templateObject$1G || (_templateObject$1G = _taggedTemplateLiteralLoose(["\n display: flex;\n height: 32px;\n padding: 8px;\n align-items: center;\n justify-content: center;\n text-align: center;\n gap: 8px;\n border-radius: 3px;\n\n font-family: Lato;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n line-height: 12px; /* 85.714% */\n white-space: nowrap;\n\n transition: opacity var(--speed-fast) var(--easing-primary-out);\n\n"])));
|
|
13404
13441
|
var ContainerStatic = styled__default.div(_templateObject2$1r || (_templateObject2$1r = _taggedTemplateLiteralLoose(["\n ", ";\n\n ", ";\n"])), CoreStyle, function (_ref) {
|
|
13405
13442
|
var themeColor = _ref.themeColor;
|
|
@@ -13417,7 +13454,7 @@ var ContainerLinked = styled__default.div(_templateObject7$N || (_templateObject
|
|
|
13417
13454
|
var Container$15 = styled__default.div(_templateObject12$g || (_templateObject12$g = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref4) {
|
|
13418
13455
|
var ready = _ref4.ready,
|
|
13419
13456
|
minWidth = _ref4.minWidth;
|
|
13420
|
-
return styled.css(_templateObject13$
|
|
13457
|
+
return styled.css(_templateObject13$f || (_templateObject13$f = _taggedTemplateLiteralLoose(["\n \n visibility: ", ";\n opacity: ", ";\n\n transition: opacity var(--speed-fast) var(--easing-primary-in-out);\n\n ", ", ", "{\n /* Required to accurately measure container sizes and ensure hover doesn't resize. */\n ", ";\n }\n "])), ready ? 'visible' : 'hidden', ready ? '1' : '0', DefaultText, LinkText, ready && "min-width: " + minWidth + "px;");
|
|
13421
13458
|
});
|
|
13422
13459
|
var TopBarBadge = function TopBarBadge(_ref5) {
|
|
13423
13460
|
var text = _ref5.text,
|
|
@@ -13484,7 +13521,7 @@ var TopBarBadge = function TopBarBadge(_ref5) {
|
|
|
13484
13521
|
}), badgeComponent);
|
|
13485
13522
|
};
|
|
13486
13523
|
|
|
13487
|
-
var _templateObject$1H, _templateObject2$1s, _templateObject3$1k, _templateObject4$1c, _templateObject5$15, _templateObject6$S, _templateObject7$O, _templateObject8$F, _templateObject9$v, _templateObject10$q, _templateObject11$j, _templateObject12$h, _templateObject13$
|
|
13524
|
+
var _templateObject$1H, _templateObject2$1s, _templateObject3$1k, _templateObject4$1c, _templateObject5$15, _templateObject6$S, _templateObject7$O, _templateObject8$F, _templateObject9$v, _templateObject10$q, _templateObject11$j, _templateObject12$h, _templateObject13$g;
|
|
13488
13525
|
var Container$16 = styled__default.div(_templateObject$1H || (_templateObject$1H = _taggedTemplateLiteralLoose(["\n z-index: 9;\n position: sticky;\n top: 0;\n height: 56px;\n padding: 0 16px 0 24px;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-self: flex-start;\n border-bottom: 1px solid var(--dividing-line);\n background: var(--grey-2);\n box-shadow: 5px 0px 10px 0px var(--primary-a2);\n"])));
|
|
13489
13526
|
var RightArea$1 = styled__default.div(_templateObject2$1s || (_templateObject2$1s = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n gap: 24px;\n height: 100%;\n"])));
|
|
13490
13527
|
var SearchBar = styled__default.div(_templateObject3$1k || (_templateObject3$1k = _taggedTemplateLiteralLoose(["\n flex: 0 1 500px;\n display: flex;\n justify-content: center;\n align-items: center;\n gap: 8px;\n"])));
|
|
@@ -13506,7 +13543,7 @@ var Drawer = styled__default.div(_templateObject11$j || (_templateObject11$j = _
|
|
|
13506
13543
|
var isOpen = _ref3.isOpen;
|
|
13507
13544
|
return isOpen && styled.css(_templateObject12$h || (_templateObject12$h = _taggedTemplateLiteralLoose(["\n right: 0;\n opacity: 1;\n visibility: visible;\n "])));
|
|
13508
13545
|
});
|
|
13509
|
-
var NotificationsContainer = styled__default.div(_templateObject13$
|
|
13546
|
+
var NotificationsContainer = styled__default.div(_templateObject13$g || (_templateObject13$g = _taggedTemplateLiteralLoose(["\n overflow-y: scroll;\n margin-right: -17px;\n"])));
|
|
13510
13547
|
var TopBar = function TopBar(_ref4) {
|
|
13511
13548
|
var _ref4$hasNotification = _ref4.hasNotifications,
|
|
13512
13549
|
hasNotifications = _ref4$hasNotification === void 0 ? false : _ref4$hasNotification,
|
|
@@ -13649,7 +13686,7 @@ var TabList = function TabList(_ref) {
|
|
|
13649
13686
|
return React__default.createElement(TabListWrapper, null, children);
|
|
13650
13687
|
};
|
|
13651
13688
|
|
|
13652
|
-
var _excluded$
|
|
13689
|
+
var _excluded$I = ["children", "tabFor", "onClick"];
|
|
13653
13690
|
var _templateObject$1J, _templateObject2$1t, _templateObject3$1l;
|
|
13654
13691
|
var TabComponent = styled__default.div(_templateObject$1J || (_templateObject$1J = _taggedTemplateLiteralLoose(["\n margin-right: 39px;\n display: flex;\n align-items: center;\n line-height: 20px;\n"])));
|
|
13655
13692
|
var TabLabel = styled__default.label(_templateObject2$1t || (_templateObject2$1t = _taggedTemplateLiteralLoose(["\n height: 40px;\n ", "\n font-size: 15px;\n font-weight: ", ";\n letter-spacing: 0.09px;\n color: ", ";\n cursor: pointer;\n border-bottom: ", ";\n padding-top: 6px;\n padding-bottom: 14px;\n flex-shrink: 0;\n user-select: none;\n"])), function (_ref) {
|
|
@@ -13669,7 +13706,7 @@ var Tab = function Tab(_ref5) {
|
|
|
13669
13706
|
var children = _ref5.children,
|
|
13670
13707
|
tabFor = _ref5.tabFor,
|
|
13671
13708
|
onClick = _ref5.onClick,
|
|
13672
|
-
props = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
13709
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded$I);
|
|
13673
13710
|
var _useContext = React.useContext(TabContext),
|
|
13674
13711
|
selected = _useContext.selected,
|
|
13675
13712
|
setSelected = _useContext.setSelected;
|
|
@@ -13684,19 +13721,19 @@ var Tab = function Tab(_ref5) {
|
|
|
13684
13721
|
}, children));
|
|
13685
13722
|
};
|
|
13686
13723
|
|
|
13687
|
-
var _excluded$
|
|
13724
|
+
var _excluded$J = ["children", "tabId"];
|
|
13688
13725
|
var _templateObject$1K;
|
|
13689
13726
|
var Container$17 = styled__default.div(_templateObject$1K || (_templateObject$1K = _taggedTemplateLiteralLoose(["\n"])));
|
|
13690
13727
|
var TabContent = function TabContent(_ref) {
|
|
13691
13728
|
var children = _ref.children,
|
|
13692
13729
|
tabId = _ref.tabId,
|
|
13693
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13730
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$J);
|
|
13694
13731
|
var _useContext = React.useContext(TabContext),
|
|
13695
13732
|
selected = _useContext.selected;
|
|
13696
13733
|
return selected === tabId ? React__default.createElement(Container$17, Object.assign({}, props), children) : null;
|
|
13697
13734
|
};
|
|
13698
13735
|
|
|
13699
|
-
var _excluded$
|
|
13736
|
+
var _excluded$K = ["tabFor", "icon", "closeId", "counter", "status"];
|
|
13700
13737
|
var _templateObject$1L, _templateObject2$1u, _templateObject3$1m, _templateObject4$1d;
|
|
13701
13738
|
var Container$18 = styled__default.button(_templateObject$1L || (_templateObject$1L = _taggedTemplateLiteralLoose(["\n ", "\n flex-basis: auto;\n flex-grow: 1;\n"])), resetButtonStyles);
|
|
13702
13739
|
var LinkTab = styled__default.div(_templateObject2$1u || (_templateObject2$1u = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n\n ", ";\n\n ", "\n"])), function (_ref) {
|
|
@@ -13713,7 +13750,7 @@ var MobileTab = function MobileTab(_ref3) {
|
|
|
13713
13750
|
closeId = _ref3.closeId,
|
|
13714
13751
|
counter = _ref3.counter,
|
|
13715
13752
|
status = _ref3.status,
|
|
13716
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded$
|
|
13753
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded$K);
|
|
13717
13754
|
var _useContext = React.useContext(TabContext),
|
|
13718
13755
|
selected = _useContext.selected,
|
|
13719
13756
|
setSelected = _useContext.setSelected;
|
|
@@ -13734,7 +13771,7 @@ var MobileTab = function MobileTab(_ref3) {
|
|
|
13734
13771
|
}))));
|
|
13735
13772
|
};
|
|
13736
13773
|
|
|
13737
|
-
var _excluded$
|
|
13774
|
+
var _excluded$L = ["icon", "title", "subtitle", "tabFor"];
|
|
13738
13775
|
var _templateObject$1M, _templateObject2$1v, _templateObject3$1n, _templateObject4$1e, _templateObject5$16, _templateObject6$T;
|
|
13739
13776
|
var Container$19 = styled__default.div(_templateObject$1M || (_templateObject$1M = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin-right: 22px;\n padding-bottom: 7px;\n height: 60px;\n cursor: pointer;\n\n ", ";\n ", " {\n margin-left: 2px;\n flex-shrink: 0;\n }\n"])), function (_ref) {
|
|
13740
13777
|
var active = _ref.active;
|
|
@@ -13757,7 +13794,7 @@ var TabWithIcon = function TabWithIcon(_ref5) {
|
|
|
13757
13794
|
title = _ref5.title,
|
|
13758
13795
|
subtitle = _ref5.subtitle,
|
|
13759
13796
|
tabFor = _ref5.tabFor,
|
|
13760
|
-
props = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
13797
|
+
props = _objectWithoutPropertiesLoose(_ref5, _excluded$L);
|
|
13761
13798
|
var _useContext = React.useContext(TabContext),
|
|
13762
13799
|
selected = _useContext.selected,
|
|
13763
13800
|
setSelected = _useContext.setSelected;
|
|
@@ -13819,7 +13856,7 @@ var TabsWithIconBar = function TabsWithIconBar(_ref2) {
|
|
|
13819
13856
|
})));
|
|
13820
13857
|
};
|
|
13821
13858
|
|
|
13822
|
-
var _excluded$
|
|
13859
|
+
var _excluded$M = ["closeId", "closeText"];
|
|
13823
13860
|
var _templateObject$1O, _templateObject2$1x, _templateObject3$1o;
|
|
13824
13861
|
var StyledButton$7 = styled__default.button(_templateObject$1O || (_templateObject$1O = _taggedTemplateLiteralLoose(["\n ", "\n \n font-family: var(--font-ui);\n background-color: var(--global-element-background);\n border-top: 1px solid var(--dividing-line);\n font-weight: 400;\n color: var(--grey-10);\n \n height: ", "px;\n position: fixed;\n bottom: 0;\n font-size: 14px;\n outline: none;\n\n width: 100%;\n text-align: center;\n white-space: nowrap;\n padding: 0 40px;\n\n"])), resetButtonStyles, MOBILE_CLOSE_HEIGHT);
|
|
13825
13862
|
var IconContainer$4 = styled__default.div(_templateObject2$1x || (_templateObject2$1x = _taggedTemplateLiteralLoose(["\n height: inherit;\n position: absolute;\n top: 0;\n left: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n overflow: hidden;\n margin: 0 20px;\n\n svg {\n display:block;\n }\n"])));
|
|
@@ -13828,7 +13865,7 @@ var CloseButton$1 = function CloseButton(_ref) {
|
|
|
13828
13865
|
var closeId = _ref.closeId,
|
|
13829
13866
|
_ref$closeText = _ref.closeText,
|
|
13830
13867
|
closeText = _ref$closeText === void 0 ? 'CLOSE MENU' : _ref$closeText,
|
|
13831
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13868
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$M);
|
|
13832
13869
|
var _useContext = React.useContext(TabContext),
|
|
13833
13870
|
setSelected = _useContext.setSelected;
|
|
13834
13871
|
return React__default.createElement(StyledButton$7, Object.assign({
|
|
@@ -13926,7 +13963,7 @@ var MobileLogoLink = function MobileLogoLink(_ref) {
|
|
|
13926
13963
|
}) : React__default.createElement(SvgLogoMark, null)));
|
|
13927
13964
|
};
|
|
13928
13965
|
|
|
13929
|
-
var _excluded$
|
|
13966
|
+
var _excluded$N = ["closeId", "hasLanguage", "hasLogout", "logoutLink", "hasCurrentUser", "userSubmenu", "userDrawerBespoke", "loggedInUser", "onLogout", "onLanguageToggle"];
|
|
13930
13967
|
var _templateObject$1S;
|
|
13931
13968
|
var Container$1d = styled__default.div(_templateObject$1S || (_templateObject$1S = _taggedTemplateLiteralLoose(["\n background: var(--global-element-background);\n \n z-index: 100;\n display: flex;\n flex-direction: column;\n"])));
|
|
13932
13969
|
var MobileUserMenu = function MobileUserMenu(_ref) {
|
|
@@ -13940,7 +13977,7 @@ var MobileUserMenu = function MobileUserMenu(_ref) {
|
|
|
13940
13977
|
loggedInUser = _ref.loggedInUser,
|
|
13941
13978
|
onLogout = _ref.onLogout,
|
|
13942
13979
|
onLanguageToggle = _ref.onLanguageToggle,
|
|
13943
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13980
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$N);
|
|
13944
13981
|
var _useContext = React.useContext(TabContext),
|
|
13945
13982
|
setSelected = _useContext.setSelected;
|
|
13946
13983
|
var handleCloseMenu = React.useCallback(function () {
|
|
@@ -13961,7 +13998,7 @@ var MobileUserMenu = function MobileUserMenu(_ref) {
|
|
|
13961
13998
|
})));
|
|
13962
13999
|
};
|
|
13963
14000
|
|
|
13964
|
-
var _excluded$
|
|
14001
|
+
var _excluded$O = ["content", "home", "logoMark", "supportUrl", "defaultMenuOpen", "closeText", "hasLanguage", "hasLogout", "logoutLink", "hasCurrentUser", "hasNotifications", "userSubmenu", "userDrawerBespoke", "loggedInUser", "notificationsHistory", "customDrawer", "onLogout", "onLanguageToggle"];
|
|
13965
14002
|
var _templateObject$1T, _templateObject2$1B;
|
|
13966
14003
|
var CLOSE_ID = 'closeMenu';
|
|
13967
14004
|
var NOTI_TAB = 'notifications';
|
|
@@ -13990,7 +14027,7 @@ var MobileNavbar = function MobileNavbar(_ref) {
|
|
|
13990
14027
|
customDrawer = _ref.customDrawer,
|
|
13991
14028
|
onLogout = _ref.onLogout,
|
|
13992
14029
|
onLanguageToggle = _ref.onLanguageToggle,
|
|
13993
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
14030
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$O);
|
|
13994
14031
|
return React__default.createElement(Container$1e, null, React__default.createElement(Tabs, null, React__default.createElement(HeaderContainer, null, React__default.createElement(MobileLogoLink, Object.assign({}, {
|
|
13995
14032
|
home: home,
|
|
13996
14033
|
logoMark: logoMark
|
|
@@ -14048,7 +14085,7 @@ var MobileNavbar = function MobileNavbar(_ref) {
|
|
|
14048
14085
|
})))));
|
|
14049
14086
|
};
|
|
14050
14087
|
|
|
14051
|
-
var _excluded$
|
|
14088
|
+
var _excluded$P = ["content", "home", "openWidth", "logoMark", "logoText", "supportUrl", "defaultMenuOpen", "canAlwaysPin", "paddingOverride", "maxWidth", "legacyLayout", "children", "onMenuToggle"];
|
|
14052
14089
|
var GlobalUI = function GlobalUI(_ref) {
|
|
14053
14090
|
var content = _ref.content,
|
|
14054
14091
|
home = _ref.home,
|
|
@@ -14063,7 +14100,7 @@ var GlobalUI = function GlobalUI(_ref) {
|
|
|
14063
14100
|
legacyLayout = _ref.legacyLayout,
|
|
14064
14101
|
children = _ref.children,
|
|
14065
14102
|
onMenuToggle = _ref.onMenuToggle,
|
|
14066
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
14103
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$P);
|
|
14067
14104
|
var _useBreakpoints = useBreakpoints(),
|
|
14068
14105
|
isLarge = _useBreakpoints.isLarge;
|
|
14069
14106
|
return isLarge ? React__default.createElement(Layout, null, React__default.createElement(MainMenu, Object.assign({}, {
|
|
@@ -14089,7 +14126,7 @@ var GlobalUI = function GlobalUI(_ref) {
|
|
|
14089
14126
|
}, props))), React__default.createElement(ContentArea, null, children));
|
|
14090
14127
|
};
|
|
14091
14128
|
|
|
14092
|
-
var _excluded$
|
|
14129
|
+
var _excluded$Q = ["children"];
|
|
14093
14130
|
var _templateObject$1U, _templateObject2$1C, _templateObject3$1q, _templateObject4$1f, _templateObject5$17, _templateObject6$U, _templateObject7$P, _templateObject8$G, _templateObject9$w;
|
|
14094
14131
|
var Container$1f = styled__default.div(_templateObject$1U || (_templateObject$1U = _taggedTemplateLiteralLoose(["\n width: 286px;\n border-right: 1px solid var(--grey-a7);\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n display: flex;\n flex-direction: column;\n"])));
|
|
14095
14132
|
var LogoContainer = styled__default.div(_templateObject2$1C || (_templateObject2$1C = _taggedTemplateLiteralLoose(["\n height: 84px;\n color: var(--grey-11);\n border-bottom: 1px solid var(--grey-a7);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding-top: 18px;\n padding-bottom: 15px;\n"])));
|
|
@@ -14114,7 +14151,7 @@ var Logo$2 = function Logo(_ref2) {
|
|
|
14114
14151
|
};
|
|
14115
14152
|
var Sidebar = function Sidebar(_ref3) {
|
|
14116
14153
|
var children = _ref3.children,
|
|
14117
|
-
props = _objectWithoutPropertiesLoose(_ref3, _excluded$
|
|
14154
|
+
props = _objectWithoutPropertiesLoose(_ref3, _excluded$Q);
|
|
14118
14155
|
return React__default.createElement(Container$1f, Object.assign({}, props), children);
|
|
14119
14156
|
};
|
|
14120
14157
|
|
|
@@ -14222,6 +14259,7 @@ exports.TextArea = TextArea;
|
|
|
14222
14259
|
exports.TextAreaField = TextAreaField;
|
|
14223
14260
|
exports.TextField = TextField;
|
|
14224
14261
|
exports.ThemeVariables = ThemeVariables;
|
|
14262
|
+
exports.ToggleButton = ToggleButton;
|
|
14225
14263
|
exports.Tooltip = Tooltip;
|
|
14226
14264
|
exports.TopBar = TopBar;
|
|
14227
14265
|
exports.TypeTable = TypeTable;
|