scorer-ui-kit 2.1.0-beta.6 → 2.1.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1116,7 +1116,7 @@ var styles = {
1116
1116
  "default": {
1117
1117
  "outer": {
1118
1118
  "backgroundColor": "var(--grey-3)",
1119
- "backgroundImage": "linear-gradient(180.00deg, var(--grey-3) 0%, var(--primary-3) 100%)",
1119
+ "backgroundImage": "linear-gradient(180.00deg, var(--primary-2) 0%, var(--primary-3) 100%)",
1120
1120
  "borderColor": "var(--grey-a8)",
1121
1121
  "border": "var(--grey-a8) 1px solid"
1122
1122
  },
@@ -1505,6 +1505,9 @@ var custom = {
1505
1505
  highlightLine: {
1506
1506
  stroke: 'hsla(205deg, 45%, 90%, 90%);'
1507
1507
  },
1508
+ highlightLineBorder: {
1509
+ stroke: 'hsla(204.8,53.4%,46.3%,100%);'
1510
+ },
1508
1511
  grabHandle: {
1509
1512
  fill: 'hsla(205deg, 45%, 90%, 100%)',
1510
1513
  stroke: 'hsla(205deg, 45%, 100%, 100%)'
@@ -1550,6 +1553,9 @@ var custom = {
1550
1553
  highlightLine: {
1551
1554
  stroke: 'hsla(120deg, 45%, 90%, 90%);'
1552
1555
  },
1556
+ highlightLineBorder: {
1557
+ stroke: 'hsla(120deg, 81%, 70%, 90%);'
1558
+ },
1553
1559
  grabHandle: {
1554
1560
  fill: 'hsla(120deg, 45%, 90%, 100%)',
1555
1561
  stroke: 'hsla(120deg, 45%, 100%, 100%)'
@@ -1595,6 +1601,9 @@ var custom = {
1595
1601
  highlightLine: {
1596
1602
  stroke: 'hsla(0, 45%, 90%, 90%);'
1597
1603
  },
1604
+ highlightLineBorder: {
1605
+ stroke: 'hsla(0deg, 86%, 70%, 100%);'
1606
+ },
1598
1607
  grabHandle: {
1599
1608
  fill: 'hsla(0, 45%, 90%, 100%)',
1600
1609
  stroke: 'hsla(0, 45%, 100%, 100%)'
@@ -2714,6 +2723,22 @@ function CheckMark(props) {
2714
2723
  }));
2715
2724
  }
2716
2725
 
2726
+ function SvgNoImage() {
2727
+ return React.createElement("svg", {
2728
+ xmlns: 'http://www.w3.org/2000/svg',
2729
+ width: '55',
2730
+ height: '60',
2731
+ fill: 'none',
2732
+ viewBox: '5 80 300 174'
2733
+ }, React.createElement("path", {
2734
+ fill: '#F0F0F0',
2735
+ d: 'M0 0H320V240H0z'
2736
+ }), React.createElement("path", {
2737
+ fill: '#656565',
2738
+ d: 'M113.8 112.087V130h-1.212c-.192 0-.355-.033-.488-.1a1.246 1.246 0 01-.375-.338l-10.362-13.5a16.889 16.889 0 01.05 1.175V130h-2.126v-17.913h1.251c.108 0 .2.009.275.025.075.009.141.03.2.063a.589.589 0 01.175.125c.058.05.12.117.187.2l10.363 13.487-.05-.625a13.596 13.596 0 01-.013-.587v-12.688h2.125zm21.129 8.963c0 1.342-.212 2.575-.637 3.7a8.463 8.463 0 01-1.8 2.887 8.102 8.102 0 01-2.8 1.888c-1.084.442-2.284.663-3.6.663-1.317 0-2.517-.221-3.6-.663a8.119 8.119 0 01-2.788-1.888 8.463 8.463 0 01-1.8-2.887c-.425-1.125-.637-2.358-.637-3.7s.212-2.571.637-3.688c.425-1.125 1.025-2.091 1.8-2.9a8.052 8.052 0 012.788-1.9c1.083-.45 2.283-.675 3.6-.675 1.316 0 2.516.225 3.6.675a8.035 8.035 0 012.8 1.9c.775.809 1.375 1.775 1.8 2.9.425 1.117.637 2.346.637 3.688zm-2.487 0c0-1.1-.15-2.088-.45-2.963-.3-.875-.725-1.612-1.275-2.212a5.504 5.504 0 00-2-1.4c-.784-.325-1.659-.488-2.625-.488-.959 0-1.829.163-2.613.488a5.618 5.618 0 00-2.012 1.4c-.55.6-.975 1.337-1.275 2.212-.3.875-.45 1.863-.45 2.963s.15 2.087.45 2.962c.3.867.725 1.605 1.275 2.213a5.687 5.687 0 002.012 1.387c.784.317 1.654.475 2.613.475.966 0 1.841-.158 2.625-.475a5.57 5.57 0 002-1.387c.55-.608.975-1.346 1.275-2.213.3-.875.45-1.862.45-2.962zM147.22 130h-2.425v-17.913h2.425V130zm23.22-17.913V130h-2.125v-13.163c0-.175.004-.362.012-.562l.05-.613-6.15 11.2c-.192.375-.483.563-.875.563h-.35c-.392 0-.683-.188-.875-.563l-6.275-11.25c.05.442.075.85.075 1.225V130h-2.125v-17.913h1.788c.216 0 .383.021.5.063.116.042.229.158.337.35l6.188 11.025c.1.2.195.408.287.625.1.217.192.437.275.662.083-.225.171-.445.263-.662.091-.225.191-.438.3-.638l6.075-11.012c.1-.192.208-.308.325-.35a1.66 1.66 0 01.512-.063h1.788zm14.092 11.263l-2.812-7.288a14.972 14.972 0 01-.263-.75c-.091-.291-.179-.6-.262-.925a13.51 13.51 0 01-.538 1.688l-2.812 7.275h6.687zm5.05 6.65h-1.875c-.216 0-.391-.054-.525-.163a1 1 0 01-.3-.412l-1.675-4.325h-8.037l-1.675 4.325a.878.878 0 01-.288.4.794.794 0 01-.525.175h-1.875l7.163-17.913h2.45L189.582 130zm16.443-8.613v6.875c-.9.65-1.862 1.138-2.887 1.463-1.017.317-2.134.475-3.35.475-1.442 0-2.742-.221-3.9-.663-1.159-.45-2.15-1.075-2.975-1.875a8.282 8.282 0 01-1.888-2.9c-.442-1.125-.662-2.362-.662-3.712 0-1.367.212-2.613.637-3.738.433-1.125 1.046-2.087 1.838-2.887.791-.808 1.754-1.433 2.887-1.875 1.133-.442 2.4-.663 3.8-.663.708 0 1.367.055 1.975.163.608.1 1.171.25 1.688.45.516.192.995.429 1.437.712a8.5 8.5 0 011.238.938l-.688 1.1a.739.739 0 01-.425.325c-.167.042-.354 0-.562-.125-.2-.117-.43-.258-.688-.425a5.555 5.555 0 00-.95-.475 7.037 7.037 0 00-1.312-.4c-.5-.108-1.096-.163-1.788-.163-1.008 0-1.921.167-2.737.5a5.683 5.683 0 00-2.088 1.413c-.575.608-1.017 1.35-1.325 2.225-.308.867-.462 1.842-.462 2.925 0 1.125.158 2.133.475 3.025.325.883.783 1.637 1.375 2.262a5.955 5.955 0 002.175 1.413c.85.325 1.804.487 2.862.487.833 0 1.571-.091 2.213-.275a9.829 9.829 0 001.9-.787v-3.938h-2.788a.549.549 0 01-.387-.137.459.459 0 01-.138-.338v-1.375h5.5zm14.762 6.638l-.013 1.975h-11.037v-17.913h11.037v1.975h-8.612v5.95h6.975v1.9h-6.975v6.113h8.625z'
2739
+ }));
2740
+ }
2741
+
2717
2742
  var _templateObject$e, _templateObject2$d, _templateObject3$b, _templateObject4$a, _templateObject5$8, _templateObject6$6, _templateObject7$6, _templateObject8$5, _templateObject9$5, _templateObject10$5, _templateObject11$3, _templateObject12$1, _templateObject13$1;
2718
2743
  var CheckboxState;
2719
2744
 
@@ -3109,7 +3134,19 @@ var uniqueID = function uniqueID() {
3109
3134
  return String(Date.now().toString(32) + Math.random().toString(16)).replace(/\./g, '');
3110
3135
  };
3111
3136
 
3112
- var _excluded$9 = ["min", "max", "marks", "defaultValue", "thumbColor", "disabled", "onlyMarkSelect", "inputCallback", "onChangeCallback"];
3137
+ var getFormattedTime = function getFormattedTime(value) {
3138
+ if (value === '0' || value === '') {
3139
+ return '00';
3140
+ } else if ((value === null || value === void 0 ? void 0 : value.length) === 1) {
3141
+ return '0' + value;
3142
+ } else if (value) {
3143
+ return value;
3144
+ } else {
3145
+ return '00';
3146
+ }
3147
+ };
3148
+
3149
+ var _excluded$9 = ["min", "max", "marks", "defaultValue", "thumbColor", "disabled", "onlyMarkSelect", "inputCallback", "onChangeCallback", "allMarkCentered"];
3113
3150
 
3114
3151
  var _templateObject$i, _templateObject2$h, _templateObject3$f, _templateObject4$e, _templateObject5$c, _templateObject6$a, _templateObject7$a, _templateObject8$9, _templateObject9$9, _templateObject10$9, _templateObject11$5, _templateObject12$3;
3115
3152
  var ThumbDiameter = 16;
@@ -3208,7 +3245,7 @@ var getMarkAlignment = function getMarkAlignment(value, min, max) {
3208
3245
  return 'center';
3209
3246
  };
3210
3247
 
3211
- var renderMarks = function renderMarks(markList, min, max, listTag) {
3248
+ var renderMarks = function renderMarks(markList, min, max, listTag, allMarkCentered) {
3212
3249
  var listOptions = [];
3213
3250
  var marksElements = markList.map(function (_ref11, index) {
3214
3251
  var value = _ref11.value,
@@ -3224,7 +3261,7 @@ var renderMarks = function renderMarks(markList, min, max, listTag) {
3224
3261
  leftValue: left
3225
3262
  }), React__default.createElement(MarkLabel, {
3226
3263
  leftValue: left,
3227
- alignment: getMarkAlignment(value, min, max)
3264
+ alignment: allMarkCentered ? 'center' : getMarkAlignment(value, min, max)
3228
3265
  }, label));
3229
3266
  });
3230
3267
  return React__default.createElement(React.Fragment, null, marksElements, React__default.createElement("datalist", {
@@ -3249,6 +3286,8 @@ var SliderInput = function SliderInput(_ref12) {
3249
3286
  inputCallback = _ref12$inputCallback === void 0 ? function () {} : _ref12$inputCallback,
3250
3287
  _ref12$onChangeCallba = _ref12.onChangeCallback,
3251
3288
  onChangeCallback = _ref12$onChangeCallba === void 0 ? function () {} : _ref12$onChangeCallba,
3289
+ _ref12$allMarkCentere = _ref12.allMarkCentered,
3290
+ allMarkCentered = _ref12$allMarkCentere === void 0 ? false : _ref12$allMarkCentere,
3252
3291
  props = _objectWithoutPropertiesLoose(_ref12, _excluded$9);
3253
3292
 
3254
3293
  var maxValid = getValidMax(max, min);
@@ -3322,7 +3361,7 @@ var SliderInput = function SliderInput(_ref12) {
3322
3361
  }, [defaultValue, maxValid, minValid]);
3323
3362
  return React__default.createElement(SliderWrapper, {
3324
3363
  disabled: disabled
3325
- }, React__default.createElement(Rail, null), React__default.createElement(ThumbWrapper, null, marks && renderMarks(marks, minValid, maxValid, "sliderList-" + minValid + "-" + maxValid), isGhostActive && onlyMarkSelect ? React__default.createElement(GhostThumb, {
3364
+ }, React__default.createElement(Rail, null), React__default.createElement(ThumbWrapper, null, marks && renderMarks(marks, minValid, maxValid, "sliderList-" + minValid + "-" + maxValid, allMarkCentered), isGhostActive && onlyMarkSelect ? React__default.createElement(GhostThumb, {
3326
3365
  "data-value": selectedValue,
3327
3366
  leftValue: ghostThumbValue,
3328
3367
  "data-percentage": ghostThumbValue,
@@ -3457,13 +3496,16 @@ var DurationSlider = function DurationSlider(_ref3) {
3457
3496
  })));
3458
3497
  };
3459
3498
 
3460
- var _excluded$c = ["defaultValue", "inputCallback", "updateThumbColor", "updateTitle"];
3499
+ var _excluded$c = ["defaultValue", "inputCallback", "updateThumbColor", "updateTitle", "showValue", "allMarkCentered"];
3461
3500
 
3462
3501
  var _templateObject$l, _templateObject2$k, _templateObject3$i;
3463
3502
  var Container$b = styled__default.div(_templateObject$l || (_templateObject$l = _taggedTemplateLiteralLoose([""])));
3464
- var Headers$1 = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n color: var(--grey-10);\n display: flex;\n justify-content: space-between;\n margin-bottom: 20px;\n padding: 0 6px;\n"])));
3465
- var ValueTitle$1 = styled__default(Label)(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n"])), function (_ref) {
3466
- var theme = _ref.theme;
3503
+ var Headers$1 = styled__default.div(_templateObject2$k || (_templateObject2$k = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n color: var(--grey-10);\n display: flex;\n justify-content: space-between;\n margin-bottom: 20px;\n ", ";\n"])), function (_ref) {
3504
+ var allMarkCentered = _ref.allMarkCentered;
3505
+ return allMarkCentered ? "padding: 0;" : "padding: 0 6px;";
3506
+ });
3507
+ var ValueTitle$1 = styled__default(Label)(_templateObject3$i || (_templateObject3$i = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n"])), function (_ref2) {
3508
+ var theme = _ref2.theme;
3467
3509
  return theme.fontFamily.data;
3468
3510
  });
3469
3511
 
@@ -3491,13 +3533,15 @@ var getTitleLevel = function getTitleLevel(value) {
3491
3533
  return 'Safe Level';
3492
3534
  };
3493
3535
 
3494
- var PercentageSlider = function PercentageSlider(_ref2) {
3495
- var _ref2$defaultValue = _ref2.defaultValue,
3496
- defaultValue = _ref2$defaultValue === void 0 ? 0 : _ref2$defaultValue,
3497
- inputCallback = _ref2.inputCallback,
3498
- updateThumbColor = _ref2.updateThumbColor,
3499
- updateTitle = _ref2.updateTitle,
3500
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$c);
3536
+ var PercentageSlider = function PercentageSlider(_ref3) {
3537
+ var _ref3$defaultValue = _ref3.defaultValue,
3538
+ defaultValue = _ref3$defaultValue === void 0 ? 0 : _ref3$defaultValue,
3539
+ inputCallback = _ref3.inputCallback,
3540
+ updateThumbColor = _ref3.updateThumbColor,
3541
+ updateTitle = _ref3.updateTitle,
3542
+ showValue = _ref3.showValue,
3543
+ allMarkCentered = _ref3.allMarkCentered,
3544
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded$c);
3501
3545
 
3502
3546
  var _useState = React.useState(defaultValue),
3503
3547
  selectedValue = _useState[0],
@@ -3510,10 +3554,12 @@ var PercentageSlider = function PercentageSlider(_ref2) {
3510
3554
 
3511
3555
  setSelectedValue(value);
3512
3556
  }, [inputCallback]);
3513
- return React__default.createElement(Container$b, null, React__default.createElement(Headers$1, null, React__default.createElement(Label, {
3557
+ return React__default.createElement(Container$b, null, React__default.createElement(Headers$1, {
3558
+ allMarkCentered: allMarkCentered
3559
+ }, React__default.createElement(Label, {
3514
3560
  htmlFor: 'percentage-slider',
3515
3561
  labelText: updateTitle ? updateTitle(selectedValue) : getTitleLevel(selectedValue)
3516
- }), React__default.createElement(ValueTitle$1, {
3562
+ }), showValue && React__default.createElement(ValueTitle$1, {
3517
3563
  htmlFor: 'percentage-slider',
3518
3564
  labelText: selectedValue + "%"
3519
3565
  })), React__default.createElement(SliderInput, Object.assign({}, props, {
@@ -3521,8 +3567,10 @@ var PercentageSlider = function PercentageSlider(_ref2) {
3521
3567
  max: 100,
3522
3568
  min: 0,
3523
3569
  defaultValue: defaultValue,
3570
+ showValue: showValue,
3524
3571
  onChangeCallback: handleSelectedValue,
3525
- thumbColor: updateThumbColor ? updateThumbColor(selectedValue) : getThumbColor(selectedValue)
3572
+ thumbColor: updateThumbColor ? updateThumbColor(selectedValue) : getThumbColor(selectedValue),
3573
+ allMarkCentered: allMarkCentered
3526
3574
  })));
3527
3575
  };
3528
3576
 
@@ -3653,6 +3701,17 @@ var DropArea = function DropArea(_ref3) {
3653
3701
 
3654
3702
  setInDropZone(false);
3655
3703
  }, [dropCallback]);
3704
+ var handleWindowDragAndDrop = React.useCallback(function (e) {
3705
+ e.preventDefault();
3706
+ }, []);
3707
+ React.useEffect(function () {
3708
+ window.addEventListener("dragover", handleWindowDragAndDrop);
3709
+ window.addEventListener("drop", handleWindowDragAndDrop);
3710
+ return function () {
3711
+ window.removeEventListener('dragover', handleWindowDragAndDrop);
3712
+ window.removeEventListener('drop', handleWindowDragAndDrop);
3713
+ };
3714
+ }, [handleWindowDragAndDrop]);
3656
3715
  return React__default.createElement(Container$c, Object.assign({}, {
3657
3716
  height: height
3658
3717
  }, props), React__default.createElement(DragAndDrop, Object.assign({}, {
@@ -4541,13 +4600,10 @@ var Container$g = styled__default.div(_templateObject$r || (_templateObject$r =
4541
4600
  return theme.fontFamily.ui;
4542
4601
  });
4543
4602
  var StyledDropArea = styled__default(DropArea)(_templateObject2$q || (_templateObject2$q = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n"])));
4544
- var InputButtonWrapper = styled__default.div(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n z-index: 99;\n margin-top: 20px;\n"])));
4545
- var FilesUploadGroup = styled__default.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n padding: ", ";\n display: flex;\n flex-direction: column;\n align-items: center;\n border-radius: 5px;\n position: relative;\n ", ";\n"])), function (_ref2) {
4603
+ var InputButtonWrapper = styled__default.div(_templateObject3$n || (_templateObject3$n = _taggedTemplateLiteralLoose(["\n z-index: 99;\n margin-top: 20px;\n display: flex;\n gap: 20px;\n"])));
4604
+ var FilesUploadGroup = styled__default.div(_templateObject4$j || (_templateObject4$j = _taggedTemplateLiteralLoose(["\n padding: ", ";\n display: flex;\n flex-direction: column;\n align-items: center;\n border-radius: 5px;\n background-color: var(--grey-4);\n position: relative;\n"])), function (_ref2) {
4546
4605
  var hasFiles = _ref2.hasFiles;
4547
4606
  return hasFiles ? '26px 0 20px 0' : '65px 0 42px 0';
4548
- }, function (_ref3) {
4549
- var theme = _ref3.theme;
4550
- return theme.styles.filters.dropdownContainer.background;
4551
4607
  });
4552
4608
  var Title = styled__default.div(_templateObject5$h || (_templateObject5$h = _taggedTemplateLiteralLoose(["\n color: var(--grey-11);\n font-size: 20px;\n"])));
4553
4609
  var Description = styled__default.div(_templateObject6$e || (_templateObject6$e = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n line-height: 2.14;\n text-align: center;\n color: var(--grey-10);\n margin-top: 10px;\n max-width: 386px;\n"])));
@@ -4602,27 +4658,33 @@ var getUpdateFiles = function getUpdateFiles(newFiles, files, allowedFileTypes)
4602
4658
  return result;
4603
4659
  };
4604
4660
 
4605
- var AreaUploadManager = function AreaUploadManager(_ref4) {
4606
- var _ref4$title = _ref4.title,
4607
- title = _ref4$title === void 0 ? 'Select Files' : _ref4$title,
4608
- description = _ref4.description,
4609
- fileIcons = _ref4.fileIcons,
4610
- _ref4$selectFilesText = _ref4.selectFilesText,
4611
- selectFilesText = _ref4$selectFilesText === void 0 ? 'Select Files' : _ref4$selectFilesText,
4612
- _ref4$addMoreFilesTex = _ref4.addMoreFilesText,
4613
- addMoreFilesText = _ref4$addMoreFilesTex === void 0 ? 'Add More Files' : _ref4$addMoreFilesTex,
4614
- allowedFileTypes = _ref4.allowedFileTypes,
4615
- customComponent = _ref4.customComponent,
4616
- _ref4$onChangeCallbac = _ref4.onChangeCallback,
4617
- onChangeCallback = _ref4$onChangeCallbac === void 0 ? function () {} : _ref4$onChangeCallbac;
4661
+ var AreaUploadManager = function AreaUploadManager(_ref3) {
4662
+ var _ref3$title = _ref3.title,
4663
+ title = _ref3$title === void 0 ? 'Select Files' : _ref3$title,
4664
+ description = _ref3.description,
4665
+ fileIcons = _ref3.fileIcons,
4666
+ _ref3$selectFilesText = _ref3.selectFilesText,
4667
+ selectFilesText = _ref3$selectFilesText === void 0 ? 'Select Files' : _ref3$selectFilesText,
4668
+ _ref3$addMoreFilesTex = _ref3.addMoreFilesText,
4669
+ addMoreFilesText = _ref3$addMoreFilesTex === void 0 ? 'Add More Files' : _ref3$addMoreFilesTex,
4670
+ _ref3$clearFilesText = _ref3.clearFilesText,
4671
+ clearFilesText = _ref3$clearFilesText === void 0 ? 'Clear Files' : _ref3$clearFilesText,
4672
+ _ref3$beginUploadText = _ref3.beginUploadText,
4673
+ beginUploadText = _ref3$beginUploadText === void 0 ? 'Begin Upload' : _ref3$beginUploadText,
4674
+ allowedFileTypes = _ref3.allowedFileTypes,
4675
+ customComponent = _ref3.customComponent,
4676
+ _ref3$onChangeCallbac = _ref3.onChangeCallback,
4677
+ onChangeCallback = _ref3$onChangeCallbac === void 0 ? function () {} : _ref3$onChangeCallbac,
4678
+ _ref3$clearFilesCallb = _ref3.clearFilesCallback,
4679
+ clearFilesCallback = _ref3$clearFilesCallb === void 0 ? function () {} : _ref3$clearFilesCallb,
4680
+ _ref3$beginUploadCall = _ref3.beginUploadCallback,
4681
+ beginUploadCallback = _ref3$beginUploadCall === void 0 ? function () {} : _ref3$beginUploadCall;
4618
4682
 
4619
4683
  var _useState = React.useState(null),
4620
4684
  files = _useState[0],
4621
4685
  setFiles = _useState[1];
4622
4686
 
4623
4687
  var handleFiles = React.useCallback(function (newFiles) {
4624
- console.log('files received', newFiles);
4625
-
4626
4688
  if (newFiles === null) {
4627
4689
  return;
4628
4690
  }
@@ -4634,6 +4696,10 @@ var AreaUploadManager = function AreaUploadManager(_ref4) {
4634
4696
  setFiles(goodFiles);
4635
4697
  onChangeCallback(goodFiles, rejectedFiles);
4636
4698
  }, [files, allowedFileTypes, onChangeCallback]);
4699
+ var clearFiles = React.useCallback(function () {
4700
+ setFiles(null);
4701
+ clearFilesCallback();
4702
+ }, [clearFilesCallback]);
4637
4703
  return React__default.createElement(Container$g, null, React__default.createElement(FilesUploadGroup, {
4638
4704
  hasFiles: files !== null
4639
4705
  }, React__default.createElement(StyledDropArea, {
@@ -4645,8 +4711,17 @@ var AreaUploadManager = function AreaUploadManager(_ref4) {
4645
4711
  text: files !== null ? addMoreFilesText : selectFilesText,
4646
4712
  inputCallback: handleFiles,
4647
4713
  multiple: true,
4648
- buttonDesign: files !== null ? 'secondary' : 'primary'
4649
- }))));
4714
+ buttonDesign: files !== null ? 'secondary' : 'primary',
4715
+ accept: allowedFileTypes === null || allowedFileTypes === void 0 ? void 0 : allowedFileTypes.join(', ')
4716
+ }), files !== null && React__default.createElement(React.Fragment, null, React__default.createElement(Button, {
4717
+ size: 'small',
4718
+ onClick: beginUploadCallback,
4719
+ design: 'primary'
4720
+ }, beginUploadText), React__default.createElement(Button, {
4721
+ size: 'small',
4722
+ onClick: clearFiles,
4723
+ design: 'secondary'
4724
+ }, clearFilesText)))));
4650
4725
  };
4651
4726
 
4652
4727
  var _excluded$i = ["children", "spacing"];
@@ -4668,7 +4743,7 @@ var Form = function Form(_ref2) {
4668
4743
  }, props), children);
4669
4744
  };
4670
4745
 
4671
- var _templateObject$t, _templateObject2$s, _templateObject3$o, _templateObject4$k, _templateObject5$i, _templateObject6$f, _templateObject7$e, _templateObject8$d, _templateObject9$d, _templateObject10$b, _templateObject11$7;
4746
+ var _templateObject$t, _templateObject2$s, _templateObject3$o, _templateObject4$k, _templateObject5$i, _templateObject6$f, _templateObject7$e, _templateObject8$d, _templateObject9$d, _templateObject10$b, _templateObject11$7, _templateObject12$5;
4672
4747
  var Container$h = styled__default.div(_templateObject$t || (_templateObject$t = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n\n ", "\n"])), function (_ref) {
4673
4748
  var hide = _ref.hide;
4674
4749
  return hide && styled.css(_templateObject2$s || (_templateObject2$s = _taggedTemplateLiteralLoose(["\n display: none;\n "])));
@@ -4688,52 +4763,75 @@ var Label$1 = styled__default.label(_templateObject3$o || (_templateObject3$o =
4688
4763
  });
4689
4764
  var Item = styled__default.div(_templateObject5$i || (_templateObject5$i = _taggedTemplateLiteralLoose(["\n padding: 12px;\n display: flex;\n justify-content: left;\n"])));
4690
4765
  var IconWrap = styled__default.div(_templateObject6$f || (_templateObject6$f = _taggedTemplateLiteralLoose(["\n flex: 0 0 40px;\n padding-top: 2px;\n"])));
4691
- var Input$1 = styled__default.input(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n ", "\n\n ", ";\n\n width: 100%;\n border: none;\n border: transparent 1px solid;\n outline: none;\n flex: 1;\n justify-content: space-between;\n border-radius: 3px;\n\n &:focus, &:hover {\n border-color: blue;\n }\n\n ", "\n"])), function (_ref6) {
4766
+ var InputValue = styled__default.input(_templateObject7$e || (_templateObject7$e = _taggedTemplateLiteralLoose(["\n ", "\n\n ", ";\n\n width: 100%;\n border: none;\n border: ", ";\n outline: none;\n flex: 1;\n justify-content: space-between;\n border-radius: 3px;\n &:focus, &:hover {\n border-color: ", ";\n }\n"])), function (_ref6) {
4692
4767
  var theme = _ref6.theme;
4693
- return styled.css(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n background-color: ", ";\n "])), theme.fontFamily.data, theme.styles.form.input["default"].normal.backgroundColor);
4768
+ return styled.css(_templateObject8$d || (_templateObject8$d = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n "])), theme.fontFamily.data);
4694
4769
  }, function (_ref7) {
4695
4770
  var theme = _ref7.theme;
4696
4771
  return theme.typography.filters.value;
4697
4772
  }, function (_ref8) {
4698
- var readOnly = _ref8.readOnly;
4699
- return readOnly && styled.css(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n border-color: transparent;\n "])));
4773
+ var allowManualTimeChange = _ref8.allowManualTimeChange;
4774
+ return allowManualTimeChange ? 'var(--error-a9) 1px solid' : 'var(--grey-6) 1px solid';
4775
+ }, function (_ref9) {
4776
+ var allowManualTimeChange = _ref9.allowManualTimeChange;
4777
+ return allowManualTimeChange ? 'var(--error-a9)' : 'blue';
4700
4778
  });
4701
- var TimeColon = styled__default.div(_templateObject10$b || (_templateObject10$b = _taggedTemplateLiteralLoose(["\n flex: 0 0 20px;\n"])));
4702
- var InputWrap = styled__default.div(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex: 1;\n box-sizing: border-box;\n border-radius: 3px;\n\n &:focus-within {\n\n background: ", ";\n box-shadow: 0px 0px 0px 5px ", ";\n\n ", " {\n border-color: ", ";\n }\n\n ", "{\n color: ", ";\n text-align: center;\n }\n }\n"])), function (_ref9) {
4703
- var theme = _ref9.theme;
4704
- return theme.colors.menu.passive;
4705
- }, function (_ref10) {
4779
+ var Input$1 = styled__default.input(_templateObject9$d || (_templateObject9$d = _taggedTemplateLiteralLoose(["\n ", "\n\n ", ";\n\n width: 100%;\n border: none;\n border: ", ";\n outline: none;\n flex: 1;\n justify-content: space-between;\n border-radius: 3px;\n &:focus, &:hover {\n border-color: ", ";\n }\n"])), function (_ref10) {
4706
4780
  var theme = _ref10.theme;
4707
- return theme.colors.menu.passive;
4708
- }, Input$1, function (_ref11) {
4781
+ return styled.css(_templateObject10$b || (_templateObject10$b = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n "])), theme.fontFamily.data);
4782
+ }, function (_ref11) {
4709
4783
  var theme = _ref11.theme;
4710
- return theme.colors.divider;
4711
- }, TimeColon, function (_ref12) {
4712
- var theme = _ref12.theme;
4784
+ return theme.typography.filters.value;
4785
+ }, function (_ref12) {
4786
+ var allowManualTimeChange = _ref12.allowManualTimeChange;
4787
+ return allowManualTimeChange ? 'var(--error-a9) 1px solid' : 'transparent 1px solid';
4788
+ }, function (_ref13) {
4789
+ var allowManualTimeChange = _ref13.allowManualTimeChange;
4790
+ return allowManualTimeChange ? 'var(--error-a9)' : 'blue';
4791
+ });
4792
+ var TimeColon = styled__default.div(_templateObject11$7 || (_templateObject11$7 = _taggedTemplateLiteralLoose(["\n flex: 0 0 20px;\n text-align: center;\n"])));
4793
+ var InputWrap = styled__default.div(_templateObject12$5 || (_templateObject12$5 = _taggedTemplateLiteralLoose(["\n display: flex;\n flex: 1;\n box-sizing: border-box;\n border-radius: 3px;\n\n &:focus-within {\n background: ", ";\n box-shadow: 0px 0px 0px 5px ", ";\n\n ", "{\n color: ", ";\n text-align: center;\n }\n }\n"])), function (_ref14) {
4794
+ var theme = _ref14.theme;
4795
+ return theme.colors.menu.passive;
4796
+ }, function (_ref15) {
4797
+ var theme = _ref15.theme;
4798
+ return theme.colors.menu.passive;
4799
+ }, TimeColon, function (_ref16) {
4800
+ var theme = _ref16.theme;
4713
4801
  return theme.colors.pureTop;
4714
4802
  });
4715
4803
 
4716
- var DateTimeBlock = function DateTimeBlock(_ref13) {
4717
- var _ref13$allowAfterMidn = _ref13.allowAfterMidnight,
4718
- allowAfterMidnight = _ref13$allowAfterMidn === void 0 ? false : _ref13$allowAfterMidn,
4719
- title = _ref13.title,
4720
- hasDate = _ref13.hasDate,
4721
- hasTime = _ref13.hasTime,
4722
- _ref13$date = _ref13.date,
4723
- date = _ref13$date === void 0 ? new Date() : _ref13$date,
4724
- _ref13$setDateCallbac = _ref13.setDateCallback,
4725
- setDateCallback = _ref13$setDateCallbac === void 0 ? function () {} : _ref13$setDateCallbac;
4726
-
4727
- var _useState = React.useState(dateFns.format(date, "mm")),
4804
+ var DateTimeBlock = function DateTimeBlock(_ref17) {
4805
+ var _ref17$allowAfterMidn = _ref17.allowAfterMidnight,
4806
+ allowAfterMidnight = _ref17$allowAfterMidn === void 0 ? false : _ref17$allowAfterMidn,
4807
+ title = _ref17.title,
4808
+ hasDate = _ref17.hasDate,
4809
+ hasTime = _ref17.hasTime,
4810
+ allowManualTimeChange = _ref17.allowManualTimeChange,
4811
+ _ref17$date = _ref17.date,
4812
+ date = _ref17$date === void 0 ? new Date() : _ref17$date,
4813
+ _ref17$setDateCallbac = _ref17.setDateCallback,
4814
+ setDateCallback = _ref17$setDateCallbac === void 0 ? function () {} : _ref17$setDateCallbac;
4815
+ var convertHours = (date === null || date === void 0 ? void 0 : date.getHours()).toString();
4816
+ var convertMinutes = (date === null || date === void 0 ? void 0 : date.getMinutes()).toString();
4817
+
4818
+ var _useState = React.useState(getFormattedTime(convertHours)),
4728
4819
  displayHours = _useState[0],
4729
4820
  setDisplayHours = _useState[1];
4730
4821
 
4731
- var _useState2 = React.useState(dateFns.format(date, 'HH')),
4822
+ var _useState2 = React.useState(getFormattedTime(convertMinutes)),
4732
4823
  displayMinutes = _useState2[0],
4733
4824
  setDisplayMinutes = _useState2[1];
4734
4825
 
4735
- var setDateHours = React.useCallback(function (_ref14) {
4736
- var value = _ref14.target.value;
4826
+ var setDateHours = React.useCallback(function (_ref18) {
4827
+ var value = _ref18.target.value;
4828
+ var hourRegex = /^[0-1]{0,1}[0-9]{0,1}$|(^2[0-4])$/;
4829
+
4830
+ if (!hourRegex.test(value)) {
4831
+ return;
4832
+ }
4833
+
4834
+ setDisplayHours(value);
4737
4835
  setDateCallback(dateFns.min([dateFns.endOfDay(date), dateFns.set(date, {
4738
4836
  hours: Number(value),
4739
4837
  minutes: Number(displayMinutes),
@@ -4741,8 +4839,15 @@ var DateTimeBlock = function DateTimeBlock(_ref13) {
4741
4839
  milliseconds: 0
4742
4840
  })]));
4743
4841
  }, [date, displayMinutes, setDateCallback]);
4744
- var setDateMinutes = React.useCallback(function (_ref15) {
4745
- var value = _ref15.target.value;
4842
+ var setDateMinutes = React.useCallback(function (_ref19) {
4843
+ var value = _ref19.target.value;
4844
+ var minuteRegex = /^[0-5]{0,1}[0-9]{0,1}$/;
4845
+
4846
+ if (!minuteRegex.test(value)) {
4847
+ return;
4848
+ }
4849
+
4850
+ setDisplayMinutes(value);
4746
4851
  setDateCallback(dateFns.min([dateFns.endOfDay(date), dateFns.set(date, {
4747
4852
  hours: displayHours === '24' ? 23 : Number(displayHours),
4748
4853
  minutes: Number(value) % 60,
@@ -4754,11 +4859,17 @@ var DateTimeBlock = function DateTimeBlock(_ref13) {
4754
4859
  if (allowAfterMidnight && dateFns.isEqual(date, dateFns.endOfDay(date))) {
4755
4860
  setDisplayHours('24');
4756
4861
  setDisplayMinutes('00');
4757
- } else {
4758
- setDisplayMinutes(dateFns.format(date, 'mm'));
4759
- setDisplayHours(dateFns.format(date, 'HH'));
4760
4862
  }
4761
4863
  }, [date, allowAfterMidnight]);
4864
+ var onBlurInputs = React.useCallback(function (time, timeType) {
4865
+ var convertedValue = getFormattedTime(time);
4866
+
4867
+ if (timeType === 'mins') {
4868
+ setDisplayMinutes(convertedValue);
4869
+ } else {
4870
+ setDisplayHours(convertedValue);
4871
+ }
4872
+ }, []);
4762
4873
  return React__default.createElement(Container$h, {
4763
4874
  hide: !hasDate && !hasTime
4764
4875
  }, React__default.createElement(Label$1, null, title), hasDate && React__default.createElement(Item, null, React__default.createElement(IconWrap, null, React__default.createElement(Icon, {
@@ -4775,24 +4886,34 @@ var DateTimeBlock = function DateTimeBlock(_ref13) {
4775
4886
  color: 'dimmed',
4776
4887
  size: 14,
4777
4888
  weight: 'light'
4778
- })), React__default.createElement(InputWrap, null, React__default.createElement(Input$1, {
4889
+ })), React__default.createElement(InputWrap, null, React__default.createElement(InputValue, Object.assign({
4890
+ onBlur: function onBlur() {
4891
+ return onBlurInputs(displayHours, 'hours');
4892
+ }
4893
+ }, {
4894
+ allowManualTimeChange: allowManualTimeChange
4895
+ }, {
4779
4896
  name: 'hours',
4780
4897
  type: 'number',
4781
- min: '0',
4782
- max: allowAfterMidnight ? 24 : 23,
4783
4898
  value: displayHours,
4784
- onChange: setDateHours
4785
- }), React__default.createElement(TimeColon, null, ":"), React__default.createElement(Input$1, {
4899
+ onChange: setDateHours,
4900
+ autoComplete: 'off'
4901
+ })), React__default.createElement(TimeColon, null, ":"), React__default.createElement(InputValue, Object.assign({
4902
+ onBlur: function onBlur() {
4903
+ return onBlurInputs(displayMinutes, 'mins');
4904
+ }
4905
+ }, {
4906
+ allowManualTimeChange: allowManualTimeChange
4907
+ }, {
4786
4908
  name: 'minutes',
4787
4909
  type: 'number',
4788
- min: '0',
4789
- max: '59',
4790
4910
  value: displayMinutes,
4791
- onChange: setDateMinutes
4792
- }))));
4911
+ onChange: setDateMinutes,
4912
+ autoComplete: 'off'
4913
+ })))));
4793
4914
  };
4794
4915
 
4795
- var _templateObject$u, _templateObject2$t, _templateObject3$p, _templateObject4$l, _templateObject5$j, _templateObject6$g, _templateObject7$f, _templateObject8$e, _templateObject9$e, _templateObject10$c, _templateObject11$8, _templateObject12$5, _templateObject13$4, _templateObject14$2, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27;
4916
+ var _templateObject$u, _templateObject2$t, _templateObject3$p, _templateObject4$l, _templateObject5$j, _templateObject6$g, _templateObject7$f, _templateObject8$e, _templateObject9$e, _templateObject10$c, _templateObject11$8, _templateObject12$6, _templateObject13$4, _templateObject14$2, _templateObject15$1, _templateObject16$1, _templateObject17$1, _templateObject18$1, _templateObject19$1, _templateObject20$1, _templateObject21$1, _templateObject22$1, _templateObject23, _templateObject24, _templateObject25, _templateObject26, _templateObject27;
4796
4917
 
4797
4918
  var initializeInterval = function initializeInterval(day) {
4798
4919
  return {
@@ -4836,7 +4957,7 @@ var CurrentMonth = styled__default.div(_templateObject10$c || (_templateObject10
4836
4957
  return theme.typography.filters.datepicker.focusedYear;
4837
4958
  });
4838
4959
  var IconWrap$1 = styled__default.div(_templateObject11$8 || (_templateObject11$8 = _taggedTemplateLiteralLoose([""])));
4839
- var PaginateMonth = styled__default.button(_templateObject12$5 || (_templateObject12$5 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n flex: 0 0 90px;\n\n border: none;\n background: transparent;\n outline: none;\n\n ", ";\n\n display: flex;\n justify-content: space-around;\n align-items: center;\n\n &:hover {\n background: transparent;\n ", ";\n\n ", "{\n [stroke]{\n stroke: ", ";\n }\n }\n }\n\n"])), function (_ref8) {
4960
+ var PaginateMonth = styled__default.button(_templateObject12$6 || (_templateObject12$6 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n flex: 0 0 90px;\n\n border: none;\n background: transparent;\n outline: none;\n\n ", ";\n\n display: flex;\n justify-content: space-around;\n align-items: center;\n\n &:hover {\n background: transparent;\n ", ";\n\n ", "{\n [stroke]{\n stroke: ", ";\n }\n }\n }\n\n"])), function (_ref8) {
4840
4961
  var theme = _ref8.theme;
4841
4962
  return theme.typography.filters.datepicker.monthLink["default"];
4842
4963
  }, function (_ref9) {
@@ -4957,6 +5078,11 @@ var DatePicker = function DatePicker(_ref27) {
4957
5078
  setWeeksOfMonth = _useState4[1];
4958
5079
 
4959
5080
  var isInitialMount = React.useRef(true);
5081
+
5082
+ var _useState5 = React.useState(),
5083
+ allowManualTimeChange = _useState5[0],
5084
+ setAllowManualTimeChange = _useState5[1];
5085
+
4960
5086
  var dayGuide = lang === 'ja' ? jpDayGuide : enDayGuide;
4961
5087
  React.useEffect(function () {
4962
5088
  if (isInitialMount.current) {
@@ -5015,7 +5141,12 @@ var DatePicker = function DatePicker(_ref27) {
5015
5141
 
5016
5142
  if (dateFns.isAfter(dateFns.add(start, {
5017
5143
  minutes: 1
5018
- }), end)) return;
5144
+ }), end)) {
5145
+ setAllowManualTimeChange(true);
5146
+ } else {
5147
+ setAllowManualTimeChange(false);
5148
+ }
5149
+
5019
5150
  setSelectedRange({
5020
5151
  start: start,
5021
5152
  end: end
@@ -5027,26 +5158,35 @@ var DatePicker = function DatePicker(_ref27) {
5027
5158
 
5028
5159
  if (dateFns.isAfter(dateFns.add(start, {
5029
5160
  minutes: 1
5030
- }), end)) return;
5161
+ }), end)) {
5162
+ setAllowManualTimeChange(true);
5163
+ } else {
5164
+ setAllowManualTimeChange(false);
5165
+ }
5166
+
5031
5167
  setSelectedRange({
5032
5168
  start: start,
5033
5169
  end: end
5034
5170
  });
5035
5171
  }, [selectedRange]);
5036
- return React__default.createElement(Container$i, null, React__default.createElement(DateTimeArea, null, React__default.createElement(DateTimeBlock, {
5172
+ return React__default.createElement(Container$i, null, React__default.createElement(DateTimeArea, null, React__default.createElement(DateTimeBlock, Object.assign({}, {
5173
+ allowManualTimeChange: allowManualTimeChange
5174
+ }, {
5037
5175
  title: dateTimeTextUpper,
5038
5176
  hasDate: true,
5039
5177
  hasTime: timeMode !== 'off',
5040
5178
  date: selectedRange ? selectedRange.start : TODAY_INTERVAL.start,
5041
5179
  setDateCallback: updateStartDate
5042
- }), React__default.createElement(DateTimeBlock, {
5180
+ })), React__default.createElement(DateTimeBlock, Object.assign({}, {
5181
+ allowManualTimeChange: allowManualTimeChange
5182
+ }, {
5043
5183
  title: dateTimeTextLower,
5044
5184
  hasDate: dateMode === 'interval',
5045
5185
  hasTime: timeMode === 'interval',
5046
5186
  date: selectedRange ? selectedRange.end : TODAY_INTERVAL.end,
5047
5187
  allowAfterMidnight: true,
5048
5188
  setDateCallback: updateEndDate
5049
- }), React__default.createElement(TimeZoneOption, null, React__default.createElement(TimeZoneLabel, null, timeZoneTitle), React__default.createElement(TimeZoneValue, null, timeZoneValueTitle))), React__default.createElement(CalendarArea, null, React__default.createElement(CalendarHeader, null, React__default.createElement(PaginateMonth, {
5189
+ })), React__default.createElement(TimeZoneOption, null, React__default.createElement(TimeZoneLabel, null, timeZoneTitle), React__default.createElement(TimeZoneValue, null, timeZoneValueTitle))), React__default.createElement(CalendarArea, null, React__default.createElement(CalendarHeader, null, React__default.createElement(PaginateMonth, {
5050
5190
  type: 'button',
5051
5191
  onClick: function onClick() {
5052
5192
  return setFocusedMonth(dateFns.addMonths(focusedMonth, -1));
@@ -5498,31 +5638,26 @@ var LoadingBox = function LoadingBox(_ref2) {
5498
5638
 
5499
5639
  var _excluded$o = ["buttonIcon", "buttonText", "list", "selected", "disabled", "isLoading", "loadingText", "optionType", "hasOptionsFilter", "searchPlaceholder", "maxDisplayedItems", "searchResultText", "emptyResultText", "onSelect"];
5500
5640
 
5501
- var _templateObject$B, _templateObject2$A, _templateObject3$v, _templateObject4$q, _templateObject5$n, _templateObject6$k, _templateObject7$j, _templateObject8$h, _templateObject9$g;
5641
+ var _templateObject$B, _templateObject2$A, _templateObject3$v, _templateObject4$q, _templateObject5$n, _templateObject6$k, _templateObject7$j, _templateObject8$h, _templateObject9$g, _templateObject10$e;
5502
5642
  var Container$o = styled__default.div(_templateObject$B || (_templateObject$B = _taggedTemplateLiteralLoose(["\n display: inline-block;\n position: relative;\n"])));
5503
- var TopLine$1 = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n ", ";\n height: 4px;\n border-radius: 3px 3px 0 0;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n"])), function (_ref) {
5643
+ var TopLine$1 = styled__default.div(_templateObject2$A || (_templateObject2$A = _taggedTemplateLiteralLoose(["\n ", ";\n height: 3px;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n"])), function (_ref) {
5504
5644
  var theme = _ref.theme;
5505
5645
  return theme.styles.filters.dropdownContainer.topBorder;
5506
5646
  });
5507
- var InnerBox = styled__default.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n padding-top: 5px;\n ", ";\n"])), function (_ref2) {
5508
- var theme = _ref2.theme;
5509
- return theme.styles.filters.dropdownContainer.background;
5510
- });
5647
+ var InnerBox = styled__default.div(_templateObject3$v || (_templateObject3$v = _taggedTemplateLiteralLoose(["\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: 0 4px 9px 0 var(--grey-a2);\n border-right: solid 1px var(--grey-7);\n border-bottom: solid 1px var(--grey-7);\n border-left: solid 1px var(--grey-7);\n background-color: var(--grey-2);\n"])));
5511
5648
  var StyledFilterOption = styled__default(FilterOption)(_templateObject4$q || (_templateObject4$q = _taggedTemplateLiteralLoose(["\n letter-spacing: 0.2px;\n"])));
5512
- var OptionList = styled__default.div(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n max-height: 162px;\n min-height: 40px;\n overflow-y: scroll;\n ::-webkit-scrollbar { /* Hide scrollbar for Chrome, Safari and Opera */\n display: none;\n }\n -ms-overflow-style: none; /* IE and Edge */\n scrollbar-width: none; /* Firefox */\n\n ", " {\n height: 35px;\n padding-left: 10px;\n }\n"])), StyledFilterOption);
5513
- var ResultsContainer = styled__default.div(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n border-top: ", " 1px solid;\n padding-bottom: 8px;\n"])), function (_ref3) {
5649
+ var OptionList = styled__default.div(_templateObject5$n || (_templateObject5$n = _taggedTemplateLiteralLoose(["\n max-height: ", ";\n min-height: 40px;\n position: relative;\n overflow-y: auto;\n margin-right: 2px;\n\n ", " {\n height: 35px;\n padding-left: 10px;\n }\n"])), function (_ref2) {
5650
+ var moreItem = _ref2.moreItem;
5651
+ return moreItem ? '168px' : '175px';
5652
+ }, StyledFilterOption);
5653
+ var ResultsContainer = styled__default.div(_templateObject6$k || (_templateObject6$k = _taggedTemplateLiteralLoose(["\n border-top: 1px solid var(--grey-5);\n padding-bottom: 8px;\n"])));
5654
+ var ResultCounter = styled__default.div(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n opacity: 0.75;\n font-family: ", ";\n color: var(--grey-10);\n font-size: 12px;\n font-style: italic;\n font-weight: 300;\n display: flex;\n align-items: center;\n justify-content: left;\n padding-left: 9px;\n height: 30px;\n margin-bottom: 6px;\n border-bottom: 1px solid var(--grey-5);\n"])), function (_ref3) {
5514
5655
  var theme = _ref3.theme;
5515
- return theme.colors.divider;
5516
- });
5517
- var ResultCounter = styled__default.div(_templateObject7$j || (_templateObject7$j = _taggedTemplateLiteralLoose(["\n opacity: 0.75;\n font-family: ", ";\n color: var(--grey-10);\n font-size: 12px;\n font-style: italic;\n font-weight: 300;\n display: flex;\n align-items: center;\n justify-content: left;\n padding-left: 9px;\n height: 30px;\n margin-bottom: 6px;\n border-bottom: ", " 1px solid;\n"])), function (_ref4) {
5518
- var theme = _ref4.theme;
5519
5656
  return theme.fontFamily.data;
5520
- }, function (_ref5) {
5521
- var theme = _ref5.theme;
5522
- return theme.colors.divider;
5523
5657
  });
5524
5658
  var SearchWrapper = styled__default.div(_templateObject8$h || (_templateObject8$h = _taggedTemplateLiteralLoose(["\n height: 41px;\n display: flex;\n align-items: center;\n"])));
5525
5659
  var EmptyResultText = styled__default.div(_templateObject9$g || (_templateObject9$g = _taggedTemplateLiteralLoose(["\n display: block;\n color: var(--grey-10);\n margin-left: 12px;\n user-select: none;\n pointer-events: none;\n height: 35px;\n display: flex;\n align-items: center;\n font-size: 12px;\n"])));
5660
+ var Gradient = styled__default.div(_templateObject10$e || (_templateObject10$e = _taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 1px;\n height: 15px;\n background-image: linear-gradient(to bottom, transparent, var(--grey-3));\n width: 99%;\n left: 50%;\n transform: translateX(-50%);\n pointer-events: none;\n"])));
5526
5661
 
5527
5662
  var isValueSelected = function isValueSelected(item, selected) {
5528
5663
  var isItemSelected = false;
@@ -5648,29 +5783,29 @@ var getResultText = function getResultText(template, visible, total) {
5648
5783
  return newMessage.replace('[VISIBLE]', "" + visible);
5649
5784
  };
5650
5785
 
5651
- var FilterDropdown = function FilterDropdown(_ref6) {
5652
- var buttonIcon = _ref6.buttonIcon,
5653
- buttonText = _ref6.buttonText,
5654
- list = _ref6.list,
5655
- _ref6$selected = _ref6.selected,
5656
- selected = _ref6$selected === void 0 ? null : _ref6$selected,
5657
- _ref6$disabled = _ref6.disabled,
5658
- disabled = _ref6$disabled === void 0 ? false : _ref6$disabled,
5659
- _ref6$isLoading = _ref6.isLoading,
5660
- isLoading = _ref6$isLoading === void 0 ? false : _ref6$isLoading,
5661
- loadingText = _ref6.loadingText,
5662
- _ref6$optionType = _ref6.optionType,
5663
- optionType = _ref6$optionType === void 0 ? 'text' : _ref6$optionType,
5664
- hasOptionsFilter = _ref6.hasOptionsFilter,
5665
- searchPlaceholder = _ref6.searchPlaceholder,
5666
- _ref6$maxDisplayedIte = _ref6.maxDisplayedItems,
5667
- maxDisplayedItems = _ref6$maxDisplayedIte === void 0 ? 5 : _ref6$maxDisplayedIte,
5668
- _ref6$searchResultTex = _ref6.searchResultText,
5669
- searchResultText = _ref6$searchResultTex === void 0 ? 'Showing [VISIBLE] of [TOTAL]' : _ref6$searchResultTex,
5670
- emptyResultText = _ref6.emptyResultText,
5671
- _ref6$onSelect = _ref6.onSelect,
5672
- onSelect = _ref6$onSelect === void 0 ? function () {} : _ref6$onSelect,
5673
- props = _objectWithoutPropertiesLoose(_ref6, _excluded$o);
5786
+ var FilterDropdown = function FilterDropdown(_ref4) {
5787
+ var buttonIcon = _ref4.buttonIcon,
5788
+ buttonText = _ref4.buttonText,
5789
+ list = _ref4.list,
5790
+ _ref4$selected = _ref4.selected,
5791
+ selected = _ref4$selected === void 0 ? null : _ref4$selected,
5792
+ _ref4$disabled = _ref4.disabled,
5793
+ disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
5794
+ _ref4$isLoading = _ref4.isLoading,
5795
+ isLoading = _ref4$isLoading === void 0 ? false : _ref4$isLoading,
5796
+ loadingText = _ref4.loadingText,
5797
+ _ref4$optionType = _ref4.optionType,
5798
+ optionType = _ref4$optionType === void 0 ? 'text' : _ref4$optionType,
5799
+ hasOptionsFilter = _ref4.hasOptionsFilter,
5800
+ searchPlaceholder = _ref4.searchPlaceholder,
5801
+ _ref4$maxDisplayedIte = _ref4.maxDisplayedItems,
5802
+ maxDisplayedItems = _ref4$maxDisplayedIte === void 0 ? 5 : _ref4$maxDisplayedIte,
5803
+ _ref4$searchResultTex = _ref4.searchResultText,
5804
+ searchResultText = _ref4$searchResultTex === void 0 ? 'Showing [VISIBLE] of [TOTAL]' : _ref4$searchResultTex,
5805
+ emptyResultText = _ref4.emptyResultText,
5806
+ _ref4$onSelect = _ref4.onSelect,
5807
+ onSelect = _ref4$onSelect === void 0 ? function () {} : _ref4$onSelect,
5808
+ props = _objectWithoutPropertiesLoose(_ref4, _excluded$o);
5674
5809
 
5675
5810
  var _useState = React.useState(selectedOrderList(list, maxDisplayedItems, selected)),
5676
5811
  visibleList = _useState[0],
@@ -5735,7 +5870,9 @@ var FilterDropdown = function FilterDropdown(_ref6) {
5735
5870
  noBackground: true
5736
5871
  })), isLoading || !list ? React__default.createElement(LoadingBox, Object.assign({}, {
5737
5872
  loadingText: loadingText
5738
- })) : React__default.createElement(ResultsContainer, null, hasOptionsFilter && React__default.createElement(ResultCounter, null, getResultText(searchResultText, visibleList.length, list.length)), React__default.createElement(OptionList, null, visibleList.length > 0 ? visibleList.map(function (item, index) {
5873
+ })) : React__default.createElement(ResultsContainer, null, hasOptionsFilter && React__default.createElement(ResultCounter, null, getResultText(searchResultText, visibleList.length, list.length)), React__default.createElement(OptionList, {
5874
+ moreItem: list.length > 5
5875
+ }, visibleList.length > 0 ? visibleList.map(function (item, index) {
5739
5876
  var value = item.value;
5740
5877
  var text = item.text;
5741
5878
  return React__default.createElement(StyledFilterOption, Object.assign({
@@ -5749,7 +5886,7 @@ var FilterDropdown = function FilterDropdown(_ref6) {
5749
5886
  optionType: optionType,
5750
5887
  value: value
5751
5888
  }));
5752
- }) : React__default.createElement(EmptyResultText, null, emptyResultText))))));
5889
+ }) : React__default.createElement(EmptyResultText, null, emptyResultText)), list.length > 5 && React__default.createElement(Gradient, null)))));
5753
5890
  };
5754
5891
 
5755
5892
  var _excluded$p = ["buttonText", "disabled", "list", "isLoading", "loadingText", "isSortAscending", "selected", "descendingText", "ascendingText", "onSelect"];
@@ -5857,12 +5994,219 @@ var SortDropdown = function SortDropdown(_ref7) {
5857
5994
  }))))));
5858
5995
  };
5859
5996
 
5997
+ var _templateObject$D, _templateObject2$C, _templateObject3$x, _templateObject4$s, _templateObject5$p, _templateObject6$m, _templateObject7$l, _templateObject8$j, _templateObject9$i, _templateObject10$f, _templateObject11$9, _templateObject12$7, _templateObject13$5, _templateObject14$3, _templateObject15$2, _templateObject16$2, _templateObject17$2, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2, _templateObject22$2, _templateObject23$1;
5998
+ var Container$q = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose(["\n display: inline-block;\n position: relative;\n"])));
5999
+ var ContextActionBaseCSS = styled.css(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n -webkit-tap-highlight-color: transparent;\n border: none;\n background: none;\n display: flex;\n justify-content:left;\n align-items:center;\n flex-wrap: wrap;\n cursor: pointer;\n outline: none;\n text-decoration: none;\n padding: 0;\n"])));
6000
+ var ContextIcon = styled__default.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n ", ";\n width: 30px;\n height: 30px;\n border-radius: 3px;\n display:flex;\n justify-content:center;\n align-items:center;\n svg {\n display: block;\n }\n"])), function (_ref) {
6001
+ var theme = _ref.theme;
6002
+ return styled.css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n ", ";\n transition: background ", " ", ";\n "])), theme.styles.global.mainMenu.iconBackground["default"], theme.animation.speed.fast, theme.animation.easing.primary.easeInOut);
6003
+ });
6004
+ var ContextActionButton = styled__default.button(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose(["\n ", "\n ", "{\n cursor: pointer;\n }\n &:hover {\n div > svg > g {\n stroke: var(--white-1);\n }\n }\n &:hover ", "{\n ", ";\n }\n }\n ", "\n ", "\n"])), ContextActionBaseCSS, ContextIcon, ContextIcon, function (_ref2) {
6005
+ var theme = _ref2.theme;
6006
+ return theme.styles.global.mainMenu.iconBackground.hover;
6007
+ }, function (_ref3) {
6008
+ var isActive = _ref3.isActive;
6009
+ return isActive && styled.css(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose(["\n ", " {\n ", ";\n [stroke]{\n stroke: ", ";\n }\n }\n &:hover ", "{\n background-color: var(--primary-7);\n cursor: pointer;\n }\n "])), ContextIcon, function (_ref4) {
6010
+ var theme = _ref4.theme;
6011
+ return theme.styles.global.mainMenu.iconBackground.hover;
6012
+ }, function (_ref5) {
6013
+ var theme = _ref5.theme;
6014
+ return theme.colors.pureBase;
6015
+ }, ContextIcon);
6016
+ }, function (_ref6) {
6017
+ var isInnerContextButton = _ref6.isInnerContextButton;
6018
+ return isInnerContextButton && styled.css(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose(["\n margin-right: 5px;\n "])));
6019
+ });
6020
+ var ContentBox$1 = styled__default.div(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n z-index: 100;\n min-width: ", "px;\n position: absolute;\n ", ";\n"])), function (_ref7) {
6021
+ var minWidth = _ref7.minWidth;
6022
+ return minWidth;
6023
+ }, function (_ref8) {
6024
+ var openState = _ref8.openState,
6025
+ disabled = _ref8.disabled;
6026
+ return openState && styled.css(_templateObject9$i || (_templateObject9$i = _taggedTemplateLiteralLoose(["\n display: ", ";\n display: ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n "])), openState.isOpen ? 'inline-block' : 'none', disabled && 'none', openState.position === 'bottom-right' && styled.css(_templateObject10$f || (_templateObject10$f = _taggedTemplateLiteralLoose(["\n bottom: 0;\n left: 0;\n transform: translateY(calc(100% + 5px ));\n "]))), openState.position === 'bottom-left' && styled.css(_templateObject11$9 || (_templateObject11$9 = _taggedTemplateLiteralLoose(["\n bottom: 0;\n right: 0;\n transform: translateY(calc(100% + 5px ));\n "]))), openState.position === 'top-left' && styled.css(_templateObject12$7 || (_templateObject12$7 = _taggedTemplateLiteralLoose(["\n top: 0;\n right: 0;\n transform: translateY(calc( -100% - 5px ));\n "]))), openState.position === 'top-right' && styled.css(_templateObject13$5 || (_templateObject13$5 = _taggedTemplateLiteralLoose(["\n top: 0;\n left: 0;\n transform: translateY(calc( -100% - 5px ));\n "]))));
6027
+ });
6028
+ var ButtonWrapper$1 = styled__default.div(_templateObject14$3 || (_templateObject14$3 = _taggedTemplateLiteralLoose(["\n display: inline-block;\n"])));
6029
+ var TopLine$3 = styled__default.div(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n ", ";\n height: 3px;\n border-top-left-radius: 3px;\n border-top-right-radius: 3px;\n"])), function (_ref9) {
6030
+ var theme = _ref9.theme;
6031
+ return theme.styles.filters.dropdownContainer.topBorder;
6032
+ });
6033
+ var InnerBox$2 = styled__default.div(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteralLoose(["\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n box-shadow: 0 4px 9px 0 var(--grey-a2);\n border: solid 1px var(--grey-7);\n border-top: none;\n background-color: var(--grey-2);\n"])));
6034
+ var LayoutGroup = styled__default.div(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n padding: 4px 8px 4px 10px;\n width: auto;\n"])));
6035
+ var PaginationGroup = styled__default.div(_templateObject18$2 || (_templateObject18$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n border-top: ", " 1px solid;\n padding: 4px 8px 4px 10px;\n align-items: center;\n justify-content: space-between;\n width: auto;\n"])), function (_ref10) {
6036
+ var colors = _ref10.theme.colors;
6037
+ return colors.divider;
6038
+ });
6039
+ var IconWrapper$3 = styled__default.div(_templateObject19$2 || (_templateObject19$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
6040
+ var LayoutText = styled__default.p(_templateObject20$2 || (_templateObject20$2 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-size: 14px;\n color: var(--grey-9);\n"])), function (_ref11) {
6041
+ var theme = _ref11.theme;
6042
+ return theme.fontFamily.ui;
6043
+ });
6044
+ var PaginationText = styled__default.p(_templateObject21$2 || (_templateObject21$2 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-size: 14px;\n color: var(--grey-9);\n"])), function (_ref12) {
6045
+ var theme = _ref12.theme;
6046
+ return theme.fontFamily.ui;
6047
+ });
6048
+ var PageSizeContainer = styled__default.div(_templateObject22$2 || (_templateObject22$2 = _taggedTemplateLiteralLoose(["\n display: flex;\n"])));
6049
+ var SelectFieldContainer = styled__default.div(_templateObject23$1 || (_templateObject23$1 = _taggedTemplateLiteralLoose(["\n select{\n background-color: transparent;\n }\n"])));
6050
+
6051
+ var getDropPosition$1 = function getDropPosition(buttonRect, minWidth, minHeight) {
6052
+ var position = 'bottom-right';
6053
+ var openLeft = buttonRect.left + minWidth > window.innerWidth;
6054
+ var openTop = buttonRect.bottom + minHeight > window.innerHeight;
6055
+ var spaceTop = buttonRect.bottom > minHeight;
6056
+
6057
+ if (openLeft && openTop && spaceTop) {
6058
+ position = 'top-left';
6059
+ } else if (openTop && !openLeft && spaceTop) {
6060
+ position = 'top-right';
6061
+ } else if (!openTop && openLeft) {
6062
+ position = 'bottom-left';
6063
+ }
6064
+
6065
+ return position;
6066
+ };
6067
+
6068
+ var FilterLayout = function FilterLayout(_ref13) {
6069
+ var _ref13$disabled = _ref13.disabled,
6070
+ disabled = _ref13$disabled === void 0 ? false : _ref13$disabled,
6071
+ _ref13$onToggleOpenCa = _ref13.onToggleOpenCallback,
6072
+ onToggleOpenCallback = _ref13$onToggleOpenCa === void 0 ? function () {} : _ref13$onToggleOpenCa,
6073
+ _ref13$onCloseCallbac = _ref13.onCloseCallback,
6074
+ onCloseCallback = _ref13$onCloseCallbac === void 0 ? function () {} : _ref13$onCloseCallbac,
6075
+ _ref13$pageSizeOption = _ref13.pageSizeOptions,
6076
+ pageSizeOptions = _ref13$pageSizeOption === void 0 ? [10, 20, 30, 50, 100] : _ref13$pageSizeOption,
6077
+ _ref13$onPageSizeChan = _ref13.onPageSizeChange,
6078
+ onPageSizeChange = _ref13$onPageSizeChan === void 0 ? function () {} : _ref13$onPageSizeChan,
6079
+ _ref13$defaultPageSiz = _ref13.defaultPageSize,
6080
+ defaultPageSize = _ref13$defaultPageSiz === void 0 ? 10 : _ref13$defaultPageSiz,
6081
+ _ref13$getLayout = _ref13.getLayout,
6082
+ getLayout = _ref13$getLayout === void 0 ? function () {} : _ref13$getLayout,
6083
+ _ref13$layoutText = _ref13.layoutText,
6084
+ layoutText = _ref13$layoutText === void 0 ? 'Layout' : _ref13$layoutText,
6085
+ _ref13$pageSizeText = _ref13.pageSizeText,
6086
+ pageSizeText = _ref13$pageSizeText === void 0 ? 'Items Per Page' : _ref13$pageSizeText,
6087
+ contentArray = _ref13.contentArray,
6088
+ _ref13$minWidth = _ref13.minWidth,
6089
+ minWidth = _ref13$minWidth === void 0 ? 250 : _ref13$minWidth,
6090
+ _ref13$minHeight = _ref13.minHeight,
6091
+ minHeight = _ref13$minHeight === void 0 ? 90 : _ref13$minHeight,
6092
+ _ref13$hasPageSetting = _ref13.hasPageSettings,
6093
+ hasPageSettings = _ref13$hasPageSetting === void 0 ? true : _ref13$hasPageSetting;
6094
+
6095
+ var _useState = React.useState({
6096
+ isOpen: false,
6097
+ position: 'bottom-right'
6098
+ }),
6099
+ openState = _useState[0],
6100
+ setOpenState = _useState[1];
6101
+
6102
+ var buttonWrapperRef = React.useRef(null);
6103
+ var mainRef = React.useRef(null);
6104
+
6105
+ var _useState2 = React.useState('grid'),
6106
+ isGridLayout = _useState2[0],
6107
+ setIsGridLayout = _useState2[1];
6108
+
6109
+ var _useState3 = React.useState(defaultPageSize),
6110
+ pageSize = _useState3[0],
6111
+ setPageSize = _useState3[1];
6112
+
6113
+ var handleClose = React.useCallback(function () {
6114
+ if (openState.isOpen) {
6115
+ onCloseCallback();
6116
+ }
6117
+
6118
+ setOpenState(function (prev) {
6119
+ var isOpen = false;
6120
+ return _extends({}, prev, {
6121
+ isOpen: isOpen
6122
+ });
6123
+ });
6124
+ }, [onCloseCallback, openState.isOpen]);
6125
+ useClickOutside(mainRef, handleClose);
6126
+ var handleToggleOpen = React.useCallback(function (minWidth, minHeight) {
6127
+ if (!buttonWrapperRef.current) {
6128
+ return;
6129
+ }
6130
+
6131
+ var buttonRect = buttonWrapperRef.current.getBoundingClientRect();
6132
+
6133
+ if (!buttonRect) {
6134
+ return;
6135
+ }
6136
+
6137
+ var position = getDropPosition$1(buttonRect, minWidth, minHeight);
6138
+ onToggleOpenCallback(openState.isOpen);
6139
+ setOpenState(function (prev) {
6140
+ var isOpen = !prev.isOpen;
6141
+ return _extends({}, prev, {
6142
+ isOpen: isOpen,
6143
+ position: position
6144
+ });
6145
+ });
6146
+ }, [onToggleOpenCallback, openState.isOpen]);
6147
+ var switchLayout = React.useCallback(function (layout) {
6148
+ setIsGridLayout(layout);
6149
+ getLayout(layout);
6150
+ }, [getLayout]);
6151
+ var handlePageSizeChange = React.useCallback(function (size) {
6152
+ onPageSizeChange(Number(size));
6153
+ }, [onPageSizeChange]);
6154
+ React.useEffect(function () {
6155
+ setPageSize(defaultPageSize);
6156
+ }, [defaultPageSize]);
6157
+ var internal = React__default.createElement(React__default.Fragment, null, React__default.createElement(ContextIcon, null, React__default.createElement(Icon, {
6158
+ icon: 'ViewSettings',
6159
+ color: openState.isOpen ? 'inverse' : 'dimmed',
6160
+ size: 16
6161
+ })));
6162
+ return React__default.createElement(Container$q, {
6163
+ ref: mainRef
6164
+ }, React__default.createElement(ButtonWrapper$1, {
6165
+ ref: buttonWrapperRef
6166
+ }, React__default.createElement(ContextActionButton, {
6167
+ isActive: openState.isOpen,
6168
+ isInnerContextButton: false,
6169
+ onClick: function onClick() {
6170
+ return handleToggleOpen(minWidth, minHeight);
6171
+ }
6172
+ }, internal)), React__default.createElement(ContentBox$1, Object.assign({}, {
6173
+ openState: openState,
6174
+ disabled: disabled,
6175
+ minWidth: minWidth
6176
+ }), React__default.createElement(TopLine$3, null), React__default.createElement(InnerBox$2, null, React__default.createElement(LayoutGroup, null, React__default.createElement(LayoutText, null, layoutText), React__default.createElement(IconWrapper$3, null, contentArray.map(function (item, index) {
6177
+ return React__default.createElement(ContextActionButton, {
6178
+ key: index,
6179
+ isInnerContextButton: index !== contentArray.length - 1,
6180
+ isActive: isGridLayout === item.id,
6181
+ onClick: function onClick() {
6182
+ return switchLayout(item.id);
6183
+ }
6184
+ }, React__default.createElement(ContextIcon, {
6185
+ title: item.tooltipText
6186
+ }, React__default.createElement(Icon, {
6187
+ icon: item.icon,
6188
+ color: isGridLayout === item.id ? 'inverse' : 'dimmed',
6189
+ size: 16
6190
+ })));
6191
+ }))), hasPageSettings && React__default.createElement(PaginationGroup, null, React__default.createElement(PaginationText, null, pageSizeText), pageSizeOptions && React__default.createElement(PageSizeContainer, null, React__default.createElement(SelectFieldContainer, null, React__default.createElement(SelectField, {
6192
+ changeCallback: handlePageSizeChange,
6193
+ defaultValue: pageSize,
6194
+ isCompact: true,
6195
+ value: pageSize
6196
+ }, pageSizeOptions.map(function (size, index) {
6197
+ return React__default.createElement("option", {
6198
+ key: index,
6199
+ value: size
6200
+ }, size);
6201
+ }))))))));
6202
+ };
6203
+
5860
6204
  var _excluded$q = ["buttonIcon", "buttonText", "disabled", "initialValue", "dateMode", "timeMode", "selected", "dateTimeTextUpper", "dateTimeTextLower", "timeZoneTitle", "timeZoneValueTitle", "lang", "onCloseCallback", "onUpdateCallback", "onToggleCallback"];
5861
6205
 
5862
- var _templateObject$D;
6206
+ var _templateObject$E;
5863
6207
  var MIN_WIDTH = 470;
5864
6208
  var MIN_HEIGHT = 360;
5865
- var Container$q = styled__default.div(_templateObject$D || (_templateObject$D = _taggedTemplateLiteralLoose([""])));
6209
+ var Container$r = styled__default.div(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose([""])));
5866
6210
 
5867
6211
  var DropdownDatePicker = function DropdownDatePicker(_ref) {
5868
6212
  var buttonIcon = _ref.buttonIcon,
@@ -5930,7 +6274,7 @@ var DropdownDatePicker = function DropdownDatePicker(_ref) {
5930
6274
  canReset = false;
5931
6275
  };
5932
6276
  }, [selected]);
5933
- return React__default.createElement(Container$q, Object.assign({}, props), React__default.createElement(FilterDropHandler, Object.assign({}, {
6277
+ return React__default.createElement(Container$r, Object.assign({}, props), React__default.createElement(FilterDropHandler, Object.assign({}, {
5934
6278
  buttonIcon: buttonIcon,
5935
6279
  buttonText: buttonText,
5936
6280
  disabled: disabled
@@ -5956,17 +6300,17 @@ var DropdownDatePicker = function DropdownDatePicker(_ref) {
5956
6300
 
5957
6301
  var _excluded$r = ["hasShowMore", "searchFilters", "datePickerFilters", "dropdownFilters", "showMoreText", "showLessText"];
5958
6302
 
5959
- var _templateObject$E, _templateObject2$C, _templateObject3$x, _templateObject4$s, _templateObject5$p, _templateObject6$m, _templateObject7$l, _templateObject8$j;
5960
- var fadeInAnimation = styled.keyframes(_templateObject$E || (_templateObject$E = _taggedTemplateLiteralLoose(["\n 0% {\n width: 50%;\n opacity: .5;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n width: 100%;\n }\n"])));
5961
- var SearchInputWrapper = styled__default.div(_templateObject2$C || (_templateObject2$C = _taggedTemplateLiteralLoose(["\n flex: 1 1 200px;\n max-width: 320px;\n"])));
5962
- var CloseSearchInputWrapper = styled__default.div(_templateObject3$x || (_templateObject3$x = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref) {
6303
+ var _templateObject$F, _templateObject2$D, _templateObject3$y, _templateObject4$t, _templateObject5$q, _templateObject6$n, _templateObject7$m, _templateObject8$k;
6304
+ var fadeInAnimation = styled.keyframes(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n 0% {\n width: 50%;\n opacity: .5;\n }\n 50% {\n opacity: 1;\n }\n 100% {\n width: 100%;\n }\n"])));
6305
+ var SearchInputWrapper = styled__default.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n flex: 1 1 200px;\n max-width: 320px;\n"])));
6306
+ var CloseSearchInputWrapper = styled__default.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref) {
5963
6307
  var theme = _ref.theme;
5964
- return theme && styled.css(_templateObject4$s || (_templateObject4$s = _taggedTemplateLiteralLoose(["\n animation: ", " ", " ", ";\n "])), fadeInAnimation, theme.animation.speed.slow, theme.animation.easing.primary.inOut);
6308
+ return theme && styled.css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n animation: ", " ", " ", ";\n "])), fadeInAnimation, theme.animation.speed.slow, theme.animation.easing.primary.inOut);
5965
6309
  });
5966
- var StyledFilterButton = styled__default(FilterButton)(_templateObject5$p || (_templateObject5$p = _taggedTemplateLiteralLoose([""])));
5967
- var StyledDropdown = styled__default(FilterDropdown)(_templateObject6$m || (_templateObject6$m = _taggedTemplateLiteralLoose([""])));
5968
- var StyledDropdownDatePicker = styled__default(DropdownDatePicker)(_templateObject7$l || (_templateObject7$l = _taggedTemplateLiteralLoose([""])));
5969
- var Container$r = styled__default.div(_templateObject8$j || (_templateObject8$j = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n ", ", ", ", ", ", ", " {\n margin: 0 3px 10px 3px;\n }\n"])), SearchInputWrapper, StyledDropdown, StyledFilterButton, StyledDropdownDatePicker);
6310
+ var StyledFilterButton = styled__default(FilterButton)(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose([""])));
6311
+ var StyledDropdown = styled__default(FilterDropdown)(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose([""])));
6312
+ var StyledDropdownDatePicker = styled__default(DropdownDatePicker)(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose([""])));
6313
+ var Container$s = styled__default.div(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n ", ", ", ", ", ", ", " {\n margin: 0 3px 10px 3px;\n }\n"])), SearchInputWrapper, StyledDropdown, StyledFilterButton, StyledDropdownDatePicker);
5970
6314
 
5971
6315
  var renderDropdowns = function renderDropdowns(dropdownFilters, showMoreDropdowns, hasShowMore) {
5972
6316
  return dropdownFilters.map(function (dropdown) {
@@ -6072,7 +6416,7 @@ var FilterInputs = function FilterInputs(_ref2) {
6072
6416
  setVisibleSearchInputs(_newVisible);
6073
6417
  }
6074
6418
  }, [visibleSearchInputs]);
6075
- return React__default.createElement(Container$r, Object.assign({}, {
6419
+ return React__default.createElement(Container$s, Object.assign({}, {
6076
6420
  props: props
6077
6421
  }), renderSearchInputs(searchFilters, visibleSearchInputs, handleVisibleSearch), renderDatePickers(datePickerFilters), renderDropdowns(dropdownFilters, showMoreDropdowns, hasShowMore), (!hasShowMore || !showMoreDropdowns) && renderAddSearchButtons(searchFilters, visibleSearchInputs, handleVisibleSearch), hasShowMore && React__default.createElement(FilterButton, {
6078
6422
  icon: 'FilterEllipsis',
@@ -6082,26 +6426,26 @@ var FilterInputs = function FilterInputs(_ref2) {
6082
6426
 
6083
6427
  var _excluded$s = ["labelLists", "totalResults", "resultTextTemplate", "clearText", "resultsDateFormat", "onRemoveFilter", "onClearAll"];
6084
6428
 
6085
- var _templateObject$F, _templateObject2$D, _templateObject3$y, _templateObject4$t, _templateObject5$q, _templateObject6$n, _templateObject7$m, _templateObject8$k;
6086
- var Container$s = styled__default.div(_templateObject$F || (_templateObject$F = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 12px;\n min-height: 22px;\n"])));
6087
- var ResultsTextWrapper = styled__default.div(_templateObject2$D || (_templateObject2$D = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n color: var(--grey-9);\n"])), function (_ref) {
6429
+ var _templateObject$G, _templateObject2$E, _templateObject3$z, _templateObject4$u, _templateObject5$r, _templateObject6$o, _templateObject7$n, _templateObject8$l;
6430
+ var Container$t = styled__default.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n font-size: 12px;\n min-height: 22px;\n"])));
6431
+ var ResultsTextWrapper = styled__default.div(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n color: var(--grey-9);\n"])), function (_ref) {
6088
6432
  var theme = _ref.theme;
6089
6433
  return theme.fontFamily.ui;
6090
6434
  });
6091
- var FilterLabel = styled__default.div(_templateObject3$y || (_templateObject3$y = _taggedTemplateLiteralLoose(["\n height: 18px;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n padding: 0 11px 0 8px;\n margin-left: 3px;\n color: var(--grey-9);\n\n ", ";\n\n ", " {\n display: flex;\n align-items: center;\n }\n border-right: 1px solid var(--grey-8);\n"])), function (_ref2) {
6435
+ var FilterLabel = styled__default.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n height: 18px;\n flex-shrink: 0;\n display: flex;\n align-items: center;\n padding: 0 11px 0 8px;\n margin-left: 3px;\n color: var(--grey-9);\n\n ", ";\n\n ", " {\n display: flex;\n align-items: center;\n }\n border-right: 1px solid var(--grey-8);\n"])), function (_ref2) {
6092
6436
  var theme = _ref2.theme;
6093
- return theme && styled.css(_templateObject4$t || (_templateObject4$t = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n "])), theme.fontFamily.data);
6437
+ return theme && styled.css(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n "])), theme.fontFamily.data);
6094
6438
  }, IconWrapper);
6095
- var FilterLabelText = styled__default.div(_templateObject5$q || (_templateObject5$q = _taggedTemplateLiteralLoose(["\n padding: ", ";\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n max-width: 300px;\n"])), function (_ref3) {
6439
+ var FilterLabelText = styled__default.div(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n padding: ", ";\n white-space: nowrap;\n text-overflow: ellipsis;\n overflow: hidden;\n max-width: 300px;\n"])), function (_ref3) {
6096
6440
  var hasIcon = _ref3.hasIcon;
6097
6441
  return hasIcon ? '0 15px 0 9px' : '0 15px 0 0';
6098
6442
  });
6099
- var ClearTextButton = styled__default.button(_templateObject6$n || (_templateObject6$n = _taggedTemplateLiteralLoose(["\n ", ";\n font-family: ", ";\n color: var(--grey-10);\n margin-left: 11px;\n font-size: 12px;\n"])), resetButtonStyles, function (_ref4) {
6443
+ var ClearTextButton = styled__default.button(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n ", ";\n font-family: ", ";\n color: var(--grey-10);\n margin-left: 11px;\n font-size: 12px;\n"])), resetButtonStyles, function (_ref4) {
6100
6444
  var theme = _ref4.theme;
6101
6445
  return theme.fontFamily.data;
6102
6446
  });
6103
- var RemoveButton = styled__default.button(_templateObject7$m || (_templateObject7$m = _taggedTemplateLiteralLoose(["\n ", ";\n"])), resetButtonStyles);
6104
- var FilterLabelsGroup = styled__default.div(_templateObject8$k || (_templateObject8$k = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n margin-left: 10px;\n"])));
6447
+ var RemoveButton = styled__default.button(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n ", ";\n"])), resetButtonStyles);
6448
+ var FilterLabelsGroup = styled__default.div(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n margin-left: 10px;\n"])));
6105
6449
 
6106
6450
  var validateDateFormat = function validateDateFormat(resultsDateFormat) {
6107
6451
  var isFormatValid = false;
@@ -6161,7 +6505,7 @@ var FiltersResults = function FiltersResults(_ref5) {
6161
6505
  onClearAll = _ref5$onClearAll === void 0 ? function () {} : _ref5$onClearAll,
6162
6506
  props = _objectWithoutPropertiesLoose(_ref5, _excluded$s);
6163
6507
 
6164
- return React__default.createElement(Container$s, Object.assign({}, props), React__default.createElement(ResultsTextWrapper, null, renderResults(resultTextTemplate, totalResults)), React__default.createElement(FilterLabelsGroup, null, labelLists.map(function (_ref6, index) {
6508
+ return React__default.createElement(Container$t, Object.assign({}, props), React__default.createElement(ResultsTextWrapper, null, renderResults(resultTextTemplate, totalResults)), React__default.createElement(FilterLabelsGroup, null, labelLists.map(function (_ref6, index) {
6165
6509
  var icon = _ref6.icon,
6166
6510
  item = _ref6.item,
6167
6511
  filterName = _ref6.filterName,
@@ -6191,13 +6535,13 @@ var FiltersResults = function FiltersResults(_ref5) {
6191
6535
 
6192
6536
  var _excluded$t = ["filtersTitle", "hasShowMore", "searchersConfig", "dropdownsConfig", "datePickersConfig", "showMoreText", "showLessText", "resultTextTemplate", "clearText", "totalResults", "singleFilter", "resultsDateFormat", "onChangeCallback"];
6193
6537
 
6194
- var _templateObject$G, _templateObject2$E, _templateObject3$z;
6195
- var Title$2 = styled__default.div(_templateObject$G || (_templateObject$G = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n color: var(--grey-10);\n font-size: 12px;\n font-weight: 700;\n margin-bottom: 17px;\n"])), function (_ref) {
6538
+ var _templateObject$H, _templateObject2$F, _templateObject3$A;
6539
+ var Title$2 = styled__default.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n color: var(--grey-10);\n font-size: 12px;\n font-weight: 700;\n margin-bottom: 17px;\n"])), function (_ref) {
6196
6540
  var theme = _ref.theme;
6197
6541
  return theme.fontFamily.ui;
6198
6542
  });
6199
- var StyledFilterResults = styled__default(FiltersResults)(_templateObject2$E || (_templateObject2$E = _taggedTemplateLiteralLoose([""])));
6200
- var Container$t = styled__default.div(_templateObject3$z || (_templateObject3$z = _taggedTemplateLiteralLoose(["\n ", " {\n margin-top: 29px;\n min-height: 19px;\n }\n"])), StyledFilterResults);
6543
+ var StyledFilterResults = styled__default(FiltersResults)(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose([""])));
6544
+ var Container$u = styled__default.div(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n ", " {\n margin-top: 29px;\n min-height: 19px;\n }\n"])), StyledFilterResults);
6201
6545
 
6202
6546
  var getDisableValue = function getDisableValue(filtersValues, singleFilter, filter) {
6203
6547
  var disabled = false;
@@ -6371,7 +6715,7 @@ var createLabelResults = function createLabelResults(searchersConfig, dropdownsC
6371
6715
  var newLabel = {
6372
6716
  filterId: foundPicker.id,
6373
6717
  item: foundPicker.selected,
6374
- icon: 'Date',
6718
+ icon: datePicker.buttonIcon,
6375
6719
  filterName: datePicker.name,
6376
6720
  type: foundPicker.type
6377
6721
  };
@@ -6605,7 +6949,7 @@ var FilterBar = function FilterBar(_ref5) {
6605
6949
  mountConfig = false;
6606
6950
  };
6607
6951
  }, [dropdownsConfigRef.current]);
6608
- return React__default.createElement(Container$t, Object.assign({}, props), React__default.createElement(Title$2, null, filtersTitle), React__default.createElement(FilterInputs, Object.assign({}, {
6952
+ return React__default.createElement(Container$u, Object.assign({}, props), React__default.createElement(Title$2, null, filtersTitle), React__default.createElement(FilterInputs, Object.assign({}, {
6609
6953
  hasShowMore: hasShowMore,
6610
6954
  showMoreText: showMoreText,
6611
6955
  showLessText: showLessText
@@ -6625,19 +6969,19 @@ var FilterBar = function FilterBar(_ref5) {
6625
6969
  })));
6626
6970
  };
6627
6971
 
6628
- var _templateObject$H, _templateObject2$F, _templateObject3$A, _templateObject4$u, _templateObject5$r;
6629
- var Container$u = styled__default.div(_templateObject$H || (_templateObject$H = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-block;\n"])));
6630
- var StatusCounter = styled__default.div(_templateObject2$F || (_templateObject2$F = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 14px;;\n top: -12px;\n border-radius: 50%;\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 ", "\n background-color: ", ";\n"])), function (_ref) {
6972
+ var _templateObject$I, _templateObject2$G, _templateObject3$B, _templateObject4$v, _templateObject5$s;
6973
+ var Container$v = styled__default.div(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n position: relative;\n display: inline-block;\n"])));
6974
+ var StatusCounter = styled__default.div(_templateObject2$G || (_templateObject2$G = _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 ", "\n background-color: ", ";\n"])), function (_ref) {
6631
6975
  var animation = _ref.theme.animation;
6632
- return styled.css(_templateObject3$A || (_templateObject3$A = _taggedTemplateLiteralLoose(["\n transition: background-color ", " ", ";\n "])), animation.speed.slow, animation.easing.primary.easeInOut);
6976
+ return styled.css(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n transition: background-color ", " ", ";\n "])), animation.speed.slow, animation.easing.primary.easeInOut);
6633
6977
  }, function (_ref2) {
6634
6978
  var theme = _ref2.theme,
6635
6979
  color = _ref2.color;
6636
6980
  return color ? theme.colors.status[color] : 'var(--grey-5)';
6637
6981
  });
6638
- var StatusDot = styled__default.div(_templateObject4$u || (_templateObject4$u = _taggedTemplateLiteralLoose(["\n width: 6px;\n height: 6px;\n border-radius: 50%;\n position: absolute;\n top: -4px;\n right: -7px;\n ", "\n background-color: ", ";\n"])), function (_ref3) {
6982
+ var StatusDot = styled__default.div(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n width: 10px;\n height: 10px;\n border: solid 2px var(--grey-1);\n border-radius: 50%;\n position: absolute;\n top: -6px;\n right: -9px;\n ", "\n background-color: ", ";\n"])), function (_ref3) {
6639
6983
  var animation = _ref3.theme.animation;
6640
- return styled.css(_templateObject5$r || (_templateObject5$r = _taggedTemplateLiteralLoose(["\n transition: background-color ", " ", ";\n "])), animation.speed.slow, animation.easing.primary.easeInOut);
6984
+ return styled.css(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n transition: background-color ", " ", ";\n "])), animation.speed.slow, animation.easing.primary.easeInOut);
6641
6985
  }, function (_ref4) {
6642
6986
  var theme = _ref4.theme,
6643
6987
  color = _ref4.color;
@@ -6647,75 +6991,77 @@ var StatusDot = styled__default.div(_templateObject4$u || (_templateObject4$u =
6647
6991
  var StatusIcon = function StatusIcon(_ref5) {
6648
6992
  var icon = _ref5.icon,
6649
6993
  status = _ref5.status,
6650
- counter = _ref5.counter;
6651
- return React__default.createElement(Container$u, null, status && counter === undefined ? React__default.createElement(StatusDot, {
6994
+ counter = _ref5.counter,
6995
+ _ref5$maxCounter = _ref5.maxCounter,
6996
+ maxCounter = _ref5$maxCounter === void 0 ? 999 : _ref5$maxCounter;
6997
+ return React__default.createElement(Container$v, null, status && counter === undefined ? React__default.createElement(StatusDot, {
6652
6998
  color: status
6653
6999
  }) : counter === undefined ? null : React__default.createElement(StatusCounter, {
6654
7000
  color: status
6655
- }, counter), React__default.createElement(Icon, {
7001
+ }, counter > maxCounter ? maxCounter + "+" : counter), React__default.createElement(Icon, {
6656
7002
  icon: icon,
6657
7003
  size: 18,
6658
7004
  color: 'dimmed'
6659
7005
  }));
6660
7006
  };
6661
7007
 
6662
- var _templateObject$I, _templateObject2$G, _templateObject3$B, _templateObject4$v, _templateObject5$s, _templateObject6$o, _templateObject7$n, _templateObject8$l, _templateObject9$i, _templateObject10$e, _templateObject11$9, _templateObject12$6, _templateObject13$5, _templateObject14$3, _templateObject15$2, _templateObject16$2, _templateObject17$2;
6663
- var HandleTouchReactionKeyframes = styled.keyframes(_templateObject$I || (_templateObject$I = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(1);\n }\n\n 75% {\n transform: scale(3);\n }\n\n 100% {\n transform: scale(1.75);\n }\n"])));
6664
- var HandleMouseReactionKeyframes = styled.keyframes(_templateObject2$G || (_templateObject2$G = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(1);\n }\n\n 75% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(0.5);\n }\n"])));
6665
- var HandleBase = styled__default.svg(_templateObject3$B || (_templateObject3$B = _taggedTemplateLiteralLoose(["\n touch-action: none;\n user-select: none;\n overflow: visible;\n cursor: pointer;\n fill: ", ";\n appearance: none;\n"])), function (_ref) {
7008
+ var _templateObject$J, _templateObject2$H, _templateObject3$C, _templateObject4$w, _templateObject5$t, _templateObject6$p, _templateObject7$o, _templateObject8$m, _templateObject9$j, _templateObject10$g, _templateObject11$a, _templateObject12$8, _templateObject13$6, _templateObject14$4, _templateObject15$3, _templateObject16$3, _templateObject17$3;
7009
+ var HandleTouchReactionKeyframes = styled.keyframes(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(1);\n }\n\n 75% {\n transform: scale(3);\n }\n\n 100% {\n transform: scale(1.75);\n }\n"])));
7010
+ var HandleMouseReactionKeyframes = styled.keyframes(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n 0% {\n transform: scale(1);\n }\n\n 75% {\n transform: scale(0);\n }\n\n 100% {\n transform: scale(0.5);\n }\n"])));
7011
+ var HandleBase = styled__default.svg(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n touch-action: none;\n user-select: none;\n overflow: visible;\n cursor: pointer;\n fill: ", ";\n appearance: none;\n"])), function (_ref) {
6666
7012
  var theme = _ref.theme,
6667
7013
  styling = _ref.styling;
6668
7014
  return theme.custom.lines[styling].handleBase.fill;
6669
7015
  });
6670
- var HandleRingLayer = styled__default.circle(_templateObject4$v || (_templateObject4$v = _taggedTemplateLiteralLoose(["\n fill: none;\n stroke: ", ";\n mask: url(#", ");\n"])), function (_ref2) {
7016
+ var HandleRingLayer = styled__default.circle(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n fill: none;\n stroke: ", ";\n mask: url(#", ");\n"])), function (_ref2) {
6671
7017
  var theme = _ref2.theme,
6672
7018
  styling = _ref2.styling;
6673
7019
  return theme.custom.lines[styling].handleRingLayer.stroke;
6674
7020
  }, function (props) {
6675
7021
  return props.maskID;
6676
7022
  });
6677
- var HandleReactiveGroup = styled__default.g(_templateObject5$s || (_templateObject5$s = _taggedTemplateLiteralLoose(["\n opacity: 0.65;\n cursor: pointer;\n transform: scale(1);\n\n ", "\n\n ", "\n\n"])), function (props) {
6678
- return props.touchDragging && styled.css(_templateObject6$o || (_templateObject6$o = _taggedTemplateLiteralLoose(["\n animation: ", " 0.5s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275) 1;\n "])), HandleTouchReactionKeyframes);
7023
+ var HandleReactiveGroup = styled__default.g(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n opacity: 0.65;\n cursor: pointer;\n transform: scale(1);\n\n ", "\n\n ", "\n\n"])), function (props) {
7024
+ return props.touchDragging && styled.css(_templateObject6$p || (_templateObject6$p = _taggedTemplateLiteralLoose(["\n animation: ", " 0.5s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275) 1;\n "])), HandleTouchReactionKeyframes);
6679
7025
  }, function (props) {
6680
- return props.mouseDragging && styled.css(_templateObject7$n || (_templateObject7$n = _taggedTemplateLiteralLoose(["\n animation: ", " 0.25s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275) 1;\n "])), HandleMouseReactionKeyframes);
7026
+ return props.mouseDragging && styled.css(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n animation: ", " 0.25s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275) 1;\n "])), HandleMouseReactionKeyframes);
6681
7027
  });
6682
- var HandleReactiveFill = styled__default.circle(_templateObject8$l || (_templateObject8$l = _taggedTemplateLiteralLoose(["\n mix-blend-mode: multiply;\n fill: ", ";\n stroke: none;\n"])), function (_ref3) {
7028
+ var HandleReactiveFill = styled__default.circle(_templateObject8$m || (_templateObject8$m = _taggedTemplateLiteralLoose(["\n mix-blend-mode: multiply;\n fill: ", ";\n stroke: none;\n"])), function (_ref3) {
6683
7029
  var theme = _ref3.theme,
6684
7030
  styling = _ref3.styling;
6685
7031
  return theme.custom.lines[styling].handleReactiveFill.fill;
6686
7032
  });
6687
- var HandleReactiveRing = styled__default.circle(_templateObject9$i || (_templateObject9$i = _taggedTemplateLiteralLoose(["\n fill: none;\n stroke: ", ";\n"])), function (_ref4) {
7033
+ var HandleReactiveRing = styled__default.circle(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n fill: none;\n stroke: ", ";\n"])), function (_ref4) {
6688
7034
  var theme = _ref4.theme,
6689
7035
  styling = _ref4.styling;
6690
7036
  return theme.custom.lines[styling].handleReactiveRing.stroke;
6691
7037
  });
6692
- var HandleContrastLayer = styled__default.circle(_templateObject10$e || (_templateObject10$e = _taggedTemplateLiteralLoose(["\n overflow: visible;\n mix-blend-mode: multiply;\n fill: none;\n stroke: ", ";\n"])), function (_ref5) {
7038
+ var HandleContrastLayer = styled__default.circle(_templateObject10$g || (_templateObject10$g = _taggedTemplateLiteralLoose(["\n overflow: visible;\n mix-blend-mode: multiply;\n fill: none;\n stroke: ", ";\n"])), function (_ref5) {
6693
7039
  var theme = _ref5.theme,
6694
7040
  styling = _ref5.styling;
6695
7041
  return theme.custom.lines[styling].handleContrastLayer.stroke;
6696
7042
  });
6697
- var HandleShadowLayer = styled__default.circle(_templateObject11$9 || (_templateObject11$9 = _taggedTemplateLiteralLoose(["\n mix-blend-mode: multiply;\n fill: url(#", ");\n"])), function (props) {
7043
+ var HandleShadowLayer = styled__default.circle(_templateObject11$a || (_templateObject11$a = _taggedTemplateLiteralLoose(["\n mix-blend-mode: multiply;\n fill: url(#", ");\n"])), function (props) {
6698
7044
  return props.fillID;
6699
7045
  });
6700
- var GrabHandleIndexGroup = styled__default.g(_templateObject12$6 || (_templateObject12$6 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n pointer-events: none;\n ", ";\n\n"])), function (props) {
6701
- return props.showIndex && styled.css(_templateObject13$5 || (_templateObject13$5 = _taggedTemplateLiteralLoose(["\n opacity: 1;\n "])));
7046
+ var GrabHandleIndexGroup = styled__default.g(_templateObject12$8 || (_templateObject12$8 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n pointer-events: none;\n ", ";\n\n"])), function (props) {
7047
+ return props.showIndex && styled.css(_templateObject13$6 || (_templateObject13$6 = _taggedTemplateLiteralLoose(["\n opacity: 1;\n "])));
6702
7048
  });
6703
- var StopStart = styled__default.stop(_templateObject14$3 || (_templateObject14$3 = _taggedTemplateLiteralLoose(["\n stop-color: ", ";\n"])), function (_ref6) {
7049
+ var StopStart = styled__default.stop(_templateObject14$4 || (_templateObject14$4 = _taggedTemplateLiteralLoose(["\n stop-color: ", ";\n"])), function (_ref6) {
6704
7050
  var theme = _ref6.theme,
6705
7051
  styling = _ref6.styling;
6706
7052
  return theme.custom.lines[styling].stopStart.stopColor;
6707
7053
  });
6708
- var StopEnd = styled__default.stop(_templateObject15$2 || (_templateObject15$2 = _taggedTemplateLiteralLoose(["\n stop-color: ", ";\n"])), function (_ref7) {
7054
+ var StopEnd = styled__default.stop(_templateObject15$3 || (_templateObject15$3 = _taggedTemplateLiteralLoose(["\n stop-color: ", ";\n"])), function (_ref7) {
6709
7055
  var theme = _ref7.theme,
6710
7056
  styling = _ref7.styling;
6711
7057
  return theme.custom.lines[styling].stopEnd.stopColor;
6712
7058
  });
6713
- var GrabHandleIndexText = styled__default.text(_templateObject16$2 || (_templateObject16$2 = _taggedTemplateLiteralLoose(["\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n stroke: ", ";\n text-align: center;\n\n font-weight: bold;\n transition: opacity 250ms ease;\n pointer-events: none;\n\n\n"])), function (_ref8) {
7059
+ var GrabHandleIndexText = styled__default.text(_templateObject16$3 || (_templateObject16$3 = _taggedTemplateLiteralLoose(["\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n stroke: ", ";\n text-align: center;\n\n font-weight: bold;\n transition: opacity 250ms ease;\n pointer-events: none;\n\n\n"])), function (_ref8) {
6714
7060
  var theme = _ref8.theme,
6715
7061
  styling = _ref8.styling;
6716
7062
  return theme.custom.lines[styling].grabHandleText.stroke;
6717
7063
  });
6718
- var IconGroup = styled__default.g(_templateObject17$2 || (_templateObject17$2 = _taggedTemplateLiteralLoose(["\n\n"])));
7064
+ var IconGroup = styled__default.g(_templateObject17$3 || (_templateObject17$3 = _taggedTemplateLiteralLoose(["\n\n"])));
6719
7065
 
6720
7066
  var HandleUnit = function HandleUnit(props) {
6721
7067
  var index = props.index,
@@ -6908,50 +7254,60 @@ var HandleUnit = function HandleUnit(props) {
6908
7254
  }, index + pointIndexOffset))));
6909
7255
  };
6910
7256
 
6911
- var _templateObject$J, _templateObject2$H, _templateObject3$C, _templateObject4$w, _templateObject5$t, _templateObject6$p, _templateObject7$o, _templateObject8$m, _templateObject9$j, _templateObject10$f, _templateObject11$a, _templateObject12$7;
6912
- var ContrastLine = styled__default.line(_templateObject$J || (_templateObject$J = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n stroke: ", ";\n mix-blend-mode: multiply;\n"])), function (_ref) {
7257
+ var _templateObject$K, _templateObject2$I, _templateObject3$D, _templateObject4$x, _templateObject5$u, _templateObject6$q, _templateObject7$p, _templateObject8$n, _templateObject9$k, _templateObject10$h, _templateObject11$b, _templateObject12$9, _templateObject13$7, _templateObject14$5;
7258
+ var ContrastLine = styled__default.line(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n stroke: ", ";\n mix-blend-mode: multiply;\n stroke-width: ", "px;\n stroke-opacity: ", ";\n cursor: pointer;\n"])), function (_ref) {
6913
7259
  var theme = _ref.theme,
6914
7260
  styling = _ref.styling;
6915
7261
  return theme.custom.lines[styling].contrastLine.stroke;
7262
+ }, function (_ref2) {
7263
+ var lineClickSensing = _ref2.lineClickSensing;
7264
+ return lineClickSensing;
7265
+ }, function (_ref3) {
7266
+ var showLineBorder = _ref3.showLineBorder;
7267
+ return showLineBorder ? '0.35' : '0';
6916
7268
  });
6917
- var HighlightLine = styled__default.line(_templateObject2$H || (_templateObject2$H = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n stroke: ", ";\n"])), function (_ref2) {
6918
- var theme = _ref2.theme,
6919
- styling = _ref2.styling;
6920
- return theme.custom.lines[styling].highlightLine.stroke;
6921
- });
6922
- var GrabHandle = styled__default.circle(_templateObject3$C || (_templateObject3$C = _taggedTemplateLiteralLoose(["\n fill: ", ";\n stroke: ", ";\n opacity: 1;\n transition: opacity 250ms ease;\n cursor: grab;\n\n ", ";\n"])), function (_ref3) {
6923
- var theme = _ref3.theme,
6924
- styling = _ref3.styling;
6925
- return theme.custom.lines[styling].grabHandle.fill;
6926
- }, function (_ref4) {
7269
+ var HighlightLine = styled__default.line(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n stroke: ", ";\n"])), function (_ref4) {
6927
7270
  var theme = _ref4.theme,
6928
7271
  styling = _ref4.styling;
6929
- return theme.custom.lines[styling].grabHandle.stroke;
6930
- }, function (props) {
6931
- return props.hide && styled.css(_templateObject4$w || (_templateObject4$w = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n opacity: 0;\n "])));
6932
- });
6933
- var GrabHandleIndexGroup$1 = styled__default.g(_templateObject5$t || (_templateObject5$t = _taggedTemplateLiteralLoose(["\n opacity: 0;\n pointer-events: none;\n ", ";\n\n"])), function (props) {
6934
- return props.showIndex && styled.css(_templateObject6$p || (_templateObject6$p = _taggedTemplateLiteralLoose(["\n opacity: 1;\n "])));
7272
+ return theme.custom.lines[styling].highlightLineBorder.stroke;
6935
7273
  });
6936
- var GrabHandleIndexText$1 = styled__default.text(_templateObject7$o || (_templateObject7$o = _taggedTemplateLiteralLoose(["\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n text-align: center;\n fill: ", ";\n font-weight: bold;\n transition: opacity 250ms ease;\n pointer-events: none;\n"])), function (_ref5) {
7274
+ var GrabHandle = styled__default.circle(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n fill: ", ";\n stroke: ", ";\n opacity: 1;\n transition: opacity 250ms ease;\n cursor: grab;\n\n ", ";\n"])), function (_ref5) {
6937
7275
  var theme = _ref5.theme,
6938
7276
  styling = _ref5.styling;
6939
- return theme.custom.lines[styling].grabHandleText.stroke;
6940
- });
6941
- var LabelText$2 = styled__default.text(_templateObject8$m || (_templateObject8$m = _taggedTemplateLiteralLoose(["\n text-align: center;\n fill: ", ";\n font-weight: bold;\n transition: opacity 250ms ease;\n pointer-events: none;\n"])), function (_ref6) {
7277
+ return theme.custom.lines[styling].grabHandle.fill;
7278
+ }, function (_ref6) {
6942
7279
  var theme = _ref6.theme,
6943
7280
  styling = _ref6.styling;
6944
- return theme.custom.lines[styling].label.fill;
7281
+ return theme.custom.lines[styling].grabHandle.stroke;
7282
+ }, function (props) {
7283
+ return props.hide && styled.css(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n pointer-events: none;\n opacity: 0;\n "])));
6945
7284
  });
6946
- var GrabHandleContrast = styled__default(GrabHandle)(_templateObject9$j || (_templateObject9$j = _taggedTemplateLiteralLoose(["\n fill: none;\n stroke: ", ";\n"])), function (_ref7) {
7285
+ var GrabHandleIndexGroup$1 = styled__default.g(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose(["\n opacity: 0;\n pointer-events: none;\n ", ";\n\n"])), function (props) {
7286
+ return props.showIndex && styled.css(_templateObject6$q || (_templateObject6$q = _taggedTemplateLiteralLoose(["\n opacity: 1;\n "])));
7287
+ });
7288
+ var GrabHandleIndexText$1 = styled__default.text(_templateObject7$p || (_templateObject7$p = _taggedTemplateLiteralLoose(["\n font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";\n text-align: center;\n fill: ", ";\n font-weight: bold;\n transition: opacity 250ms ease;\n pointer-events: none;\n"])), function (_ref7) {
6947
7289
  var theme = _ref7.theme,
6948
7290
  styling = _ref7.styling;
7291
+ return theme.custom.lines[styling].grabHandleText.stroke;
7292
+ });
7293
+ var LabelText$2 = styled__default.text(_templateObject8$n || (_templateObject8$n = _taggedTemplateLiteralLoose(["\n text-align: center;\n fill: ", ";\n font-weight: bold;\n transition: opacity 250ms ease;\n cursor: pointer;\n ", "\n"])), function (_ref8) {
7294
+ var theme = _ref8.theme,
7295
+ styling = _ref8.styling;
7296
+ return theme.custom.lines[styling].label.fill;
7297
+ }, function (_ref9) {
7298
+ var showLabelShadow = _ref9.showLabelShadow;
7299
+ return showLabelShadow && styled.css(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose(["\n text-shadow:\n -1px -1px 0 #000,\n 1px -1px 0 #000,\n -1px 1px 0 #000,\n 1px 1px 0 #000;\n "])));
7300
+ });
7301
+ var GrabHandleContrast = styled__default(GrabHandle)(_templateObject10$h || (_templateObject10$h = _taggedTemplateLiteralLoose(["\n fill: none;\n stroke: ", ";\n"])), function (_ref10) {
7302
+ var theme = _ref10.theme,
7303
+ styling = _ref10.styling;
6949
7304
  return theme.custom.lines[styling].grabHandleContrast.stroke;
6950
7305
  });
6951
- var GrabHandleGroup = styled__default.g(_templateObject10$f || (_templateObject10$f = _taggedTemplateLiteralLoose(["\n\n ", ", ", " {\n transition: r 250ms ease;\n }\n\n ", ";\n"])), GrabHandle, GrabHandleContrast, function (props) {
6952
- return props.showIndex && styled.css(_templateObject11$a || (_templateObject11$a = _taggedTemplateLiteralLoose(["\n ", ", ", " {\n pointer-events: none;\n r: ", ";\n }\n "])), GrabHandle, GrabHandleContrast, props.originalRadius * 1.75);
7306
+ var GrabHandleGroup = styled__default.g(_templateObject11$b || (_templateObject11$b = _taggedTemplateLiteralLoose(["\n\n ", ", ", " {\n transition: r 250ms ease;\n }\n\n ", ";\n"])), GrabHandle, GrabHandleContrast, function (props) {
7307
+ return props.showIndex && styled.css(_templateObject12$9 || (_templateObject12$9 = _taggedTemplateLiteralLoose(["\n ", ", ", " {\n pointer-events: none;\n r: ", ";\n }\n "])), GrabHandle, GrabHandleContrast, props.originalRadius * 1.75);
6953
7308
  });
6954
- var DMCircle = styled__default.circle(_templateObject12$7 || (_templateObject12$7 = _taggedTemplateLiteralLoose(["\n fill: hsla(203, 100%, 35%, 0.49);\n"])));
7309
+ var DMCircle = styled__default.circle(_templateObject13$7 || (_templateObject13$7 = _taggedTemplateLiteralLoose(["\n fill: hsla(203, 100%, 35%, 0.49);\n cursor: pointer;\n"])));
7310
+ var IconFormat = styled__default(Icon)(_templateObject14$5 || (_templateObject14$5 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n"])));
6955
7311
 
6956
7312
  var LineUnit = function LineUnit(props) {
6957
7313
  var x1 = props.x1,
@@ -6968,6 +7324,8 @@ var LineUnit = function LineUnit(props) {
6968
7324
  styling = _props$styling === void 0 ? 'primary' : _props$styling,
6969
7325
  _props$moveEndCB = props.moveEndCB,
6970
7326
  moveEndCB = _props$moveEndCB === void 0 ? function () {} : _props$moveEndCB,
7327
+ _props$lineClickCallb = props.lineClickCallback,
7328
+ lineClickCallback = _props$lineClickCallb === void 0 ? function () {} : _props$lineClickCallb,
6971
7329
  _props$showSmallDirec = props.showSmallDirectionMark,
6972
7330
  showSmallDirectionMark = _props$showSmallDirec === void 0 ? false : _props$showSmallDirec,
6973
7331
  _props$overrideShowMo = props.overrideShowMoveHandle,
@@ -6976,8 +7334,16 @@ var LineUnit = function LineUnit(props) {
6976
7334
  revealSetIndex = options.revealSetIndex,
6977
7335
  showMoveHandle = options.showMoveHandle,
6978
7336
  setIndexOffset = options.setIndexOffset,
6979
- showDirectionMark = options.showDirectionMark;
7337
+ showDirectionMark = options.showDirectionMark,
7338
+ _options$showLabelSha = options.showLabelShadow,
7339
+ showLabelShadow = _options$showLabelSha === void 0 ? false : _options$showLabelSha;
7340
+
7341
+ var _useState = React.useState(),
7342
+ showLineBorder = _useState[0],
7343
+ setShowLineBorder = _useState[1];
7344
+
6980
7345
  var hideGrabHandle = !showMoveHandle || !overrideShowMoveHandle;
7346
+ var lineClickSensing = parseInt(props.lineClickSensingBorder);
6981
7347
 
6982
7348
  var grabTouchMove = function grabTouchMove(e) {
6983
7349
  for (var i = 0; i < e.touches.length; i++) {
@@ -7051,26 +7417,35 @@ var LineUnit = function LineUnit(props) {
7051
7417
  var getDirectionMarkLine = function getDirectionMarkLine() {
7052
7418
  var dmCoordinate = directionMarkCoordinate();
7053
7419
  return React__default.createElement("g", {
7054
- transform: "translate(" + dmCoordinate.x + "," + dmCoordinate.y + ") rotate(" + dmCoordinate.rotate + ") scale(" + unit * 1 + ")"
7420
+ transform: "translate(" + dmCoordinate.x + "," + dmCoordinate.y + ") rotate(" + dmCoordinate.rotate + ") scale(" + unit * 1 + ")",
7421
+ style: {
7422
+ cursor: 'pointer'
7423
+ }
7055
7424
  }, React__default.createElement("g", {
7425
+ onClick: function onClick() {
7426
+ return lineClickCallback(lineSetId);
7427
+ },
7056
7428
  transform: 'translate(-3,-30) scale(0.8)'
7057
7429
  }, React__default.createElement(DMCircle, {
7058
7430
  r: 12,
7059
7431
  cx: 6,
7060
7432
  cy: 7
7061
- }), React__default.createElement(Icon, {
7433
+ }), React__default.createElement(IconFormat, {
7062
7434
  color: 'inverse',
7063
7435
  icon: 'Up',
7064
7436
  size: 12,
7065
7437
  weight: 'heavy',
7066
7438
  forSvgUsage: true
7067
7439
  })), showSmallDirectionMark && React__default.createElement("g", {
7440
+ onClick: function onClick() {
7441
+ return lineClickCallback(lineSetId);
7442
+ },
7068
7443
  transform: 'translate(5,25) rotate(-180) scale(0.8)'
7069
7444
  }, React__default.createElement(DMCircle, {
7070
7445
  r: 8,
7071
7446
  cx: 3.5,
7072
7447
  cy: 4.5
7073
- }), React__default.createElement(Icon, {
7448
+ }), React__default.createElement(IconFormat, {
7074
7449
  color: 'inverse',
7075
7450
  icon: 'Up',
7076
7451
  size: 7,
@@ -7079,17 +7454,40 @@ var LineUnit = function LineUnit(props) {
7079
7454
  })), label && React__default.createElement("g", {
7080
7455
  transform: "translate(0," + (showSmallDirectionMark ? 45 : 30) + ") rotate(" + dmCoordinate.labelRotate + ")"
7081
7456
  }, React__default.createElement(LabelText$2, {
7082
- textAnchor: 'middle',
7457
+ onClick: function onClick() {
7458
+ return lineClickCallback(lineSetId);
7459
+ },
7460
+ textAnchor: showSmallDirectionMark ? dmCoordinate.labelRotate < 0 ? 'end' : 'start' : 'middle',
7083
7461
  dominantBaseline: 'middle',
7084
7462
  styling: styling,
7085
7463
  fontSize: 14 + "px",
7086
7464
  x: 0,
7087
7465
  y: 0,
7088
- showIndex: revealSetIndex || handleFinderActive
7466
+ showIndex: revealSetIndex || handleFinderActive,
7467
+ showLabelShadow: showLabelShadow
7089
7468
  }, label)));
7090
7469
  };
7091
7470
 
7092
- return React__default.createElement("g", null, React__default.createElement(ContrastLine, {
7471
+ var getMouseOver = React.useCallback(function () {
7472
+ if (props.hasClickSensingBorder) {
7473
+ setShowLineBorder(true);
7474
+ }
7475
+ }, [props.hasClickSensingBorder]);
7476
+ var getMouseOut = React.useCallback(function () {
7477
+ if (props.hasClickSensingBorder) {
7478
+ setShowLineBorder(false);
7479
+ }
7480
+ }, [props.hasClickSensingBorder]);
7481
+ return React__default.createElement("g", null, React__default.createElement(ContrastLine, Object.assign({
7482
+ onMouseOver: getMouseOver,
7483
+ onMouseOut: getMouseOut
7484
+ }, {
7485
+ lineClickSensing: lineClickSensing,
7486
+ showLineBorder: showLineBorder
7487
+ }, {
7488
+ onClick: function onClick() {
7489
+ return lineClickCallback(lineSetId);
7490
+ },
7093
7491
  styling: styling,
7094
7492
  strokeLinecap: 'round',
7095
7493
  x1: x1,
@@ -7097,7 +7495,7 @@ var LineUnit = function LineUnit(props) {
7097
7495
  x2: x2,
7098
7496
  y2: y2,
7099
7497
  strokeWidth: 4 * unit
7100
- }), React__default.createElement(HighlightLine, {
7498
+ })), React__default.createElement(HighlightLine, {
7101
7499
  styling: styling,
7102
7500
  x1: x1,
7103
7501
  y1: y1,
@@ -7139,38 +7537,50 @@ var LineUnit = function LineUnit(props) {
7139
7537
  fontSize: unit * 14 + "px",
7140
7538
  x: midpoint.x - 16 * unit,
7141
7539
  y: midpoint.y - 15 * unit,
7142
- showIndex: revealSetIndex || handleFinderActive
7540
+ showIndex: revealSetIndex || handleFinderActive,
7541
+ showLabelShadow: showLabelShadow
7143
7542
  }, label));
7144
7543
  };
7145
7544
 
7146
7545
  var LineSetContext = React.createContext({});
7147
7546
 
7148
- var _templateObject$K, _templateObject2$I;
7149
- var Point = styled__default.circle(_templateObject$K || (_templateObject$K = _taggedTemplateLiteralLoose(["\n fill: ", ";\n"])), function (_ref) {
7150
- var theme = _ref.theme,
7151
- styling = _ref.styling;
7547
+ var _templateObject$L, _templateObject2$J, _templateObject3$E, _templateObject4$y;
7548
+ var FilledPolygon = styled__default.polygon(_templateObject$L || (_templateObject$L = _taggedTemplateLiteralLoose(["\n fill: ", ";\n opacity: ", ";\n"])), function (_ref) {
7549
+ var color = _ref.color;
7550
+ return color;
7551
+ }, function (_ref2) {
7552
+ var opacity = _ref2.opacity;
7553
+ return opacity;
7554
+ });
7555
+ var Point = styled__default.circle(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n fill: ", ";\n"])), function (_ref3) {
7556
+ var theme = _ref3.theme,
7557
+ styling = _ref3.styling;
7152
7558
  return theme.custom.lines[styling].point.fill;
7153
7559
  });
7154
- var AreaLabelText = styled__default.text(_templateObject2$I || (_templateObject2$I = _taggedTemplateLiteralLoose(["\n text-align: center;\n fill: ", ";\n font-weight: bold;\n transition: opacity 250ms ease;\n pointer-events: none;\n"])), function (_ref2) {
7155
- var theme = _ref2.theme,
7156
- styling = _ref2.styling;
7560
+ var AreaLabelText = styled__default.text(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n text-align: center;\n fill: ", ";\n font-weight: bold;\n transition: opacity 250ms ease;\n pointer-events: none;\n ", "\n"])), function (_ref4) {
7561
+ var theme = _ref4.theme,
7562
+ styling = _ref4.styling;
7157
7563
  return theme.custom.lines[styling].label.fill;
7564
+ }, function (_ref5) {
7565
+ var showAreaLabelShadow = _ref5.showAreaLabelShadow;
7566
+ return showAreaLabelShadow && styled.css(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n text-shadow:\n -1px -1px 0 #000,\n 1px -1px 0 #000,\n -1px 1px 0 #000,\n 1px 1px 0 #000;\n "])));
7158
7567
  });
7159
7568
 
7160
- var AreaLabel = function AreaLabel(_ref3) {
7569
+ var AreaLabel = function AreaLabel(_ref6) {
7161
7570
  var _lineSetData$areaName;
7162
7571
 
7163
- var lineSetData = _ref3.lineSetData,
7164
- unit = _ref3.unit;
7572
+ var lineSetData = _ref6.lineSetData,
7573
+ unit = _ref6.unit,
7574
+ showAreaLabelShadow = _ref6.showAreaLabelShadow;
7165
7575
  var pointsLength = lineSetData.points.length;
7166
7576
  if (pointsLength < 3) return null;
7167
7577
  var midpoint = {
7168
7578
  x: 0,
7169
7579
  y: 0
7170
7580
  };
7171
- lineSetData.points.map(function (_ref4) {
7172
- var x = _ref4.x,
7173
- y = _ref4.y;
7581
+ lineSetData.points.map(function (_ref7) {
7582
+ var x = _ref7.x,
7583
+ y = _ref7.y;
7174
7584
  midpoint.x += x;
7175
7585
  midpoint.y += y;
7176
7586
  return null;
@@ -7184,24 +7594,30 @@ var AreaLabel = function AreaLabel(_ref3) {
7184
7594
  fontSize: unit * 14 + "px",
7185
7595
  styling: lineSetData.styling || 'primary',
7186
7596
  x: midpoint.x - 4 * Textlen * unit,
7187
- y: midpoint.y + 6 * unit
7597
+ y: midpoint.y + 6 * unit,
7598
+ showAreaLabelShadow: showAreaLabelShadow
7188
7599
  }, lineSetData.areaName);
7189
7600
  };
7190
7601
 
7191
- var LineSet = function LineSet(_ref5) {
7192
- var getCTM = _ref5.getCTM,
7193
- boundaries = _ref5.boundaries,
7194
- unit = _ref5.unit,
7195
- size = _ref5.size,
7196
- lineSetId = _ref5.lineSetId,
7197
- options = _ref5.options,
7198
- onLineMoveEnd = _ref5.onLineMoveEnd;
7602
+ var LineSet = function LineSet(_ref8) {
7603
+ var getCTM = _ref8.getCTM,
7604
+ boundaries = _ref8.boundaries,
7605
+ unit = _ref8.unit,
7606
+ size = _ref8.size,
7607
+ lineSetId = _ref8.lineSetId,
7608
+ options = _ref8.options,
7609
+ onLineMoveEnd = _ref8.onLineMoveEnd,
7610
+ onLineClick = _ref8.onLineClick,
7611
+ lineClickSensingBorder = _ref8.lineClickSensingBorder,
7612
+ hasClickSensingBorder = _ref8.hasClickSensingBorder;
7199
7613
 
7200
7614
  var _useContext = React.useContext(LineSetContext),
7201
7615
  state = _useContext.state,
7202
7616
  dispatch = _useContext.dispatch;
7203
7617
 
7204
7618
  var lineSetData = state[lineSetId];
7619
+ var _options$showLabelSha = options.showLabelShadow,
7620
+ showLabelShadow = _options$showLabelSha === void 0 ? false : _options$showLabelSha;
7205
7621
 
7206
7622
  var _useState = React.useState([]),
7207
7623
  handleAngles = _useState[0],
@@ -7286,11 +7702,11 @@ var LineSet = function LineSet(_ref5) {
7286
7702
  y: (pointerPosition.y - screenCTM.f) / screenCTM.d - handleRadius
7287
7703
  };
7288
7704
  var newPoints = points.map(function (_handle, index) {
7289
- var _ref6 = handleRelation.current[index] || {},
7290
- _ref6$offsetX = _ref6.offsetX,
7291
- offsetX = _ref6$offsetX === void 0 ? 0 : _ref6$offsetX,
7292
- _ref6$offsetY = _ref6.offsetY,
7293
- offsetY = _ref6$offsetY === void 0 ? 0 : _ref6$offsetY;
7705
+ var _ref9 = handleRelation.current[index] || {},
7706
+ _ref9$offsetX = _ref9.offsetX,
7707
+ offsetX = _ref9$offsetX === void 0 ? 0 : _ref9$offsetX,
7708
+ _ref9$offsetY = _ref9.offsetY,
7709
+ offsetY = _ref9$offsetY === void 0 ? 0 : _ref9$offsetY;
7294
7710
 
7295
7711
  return enforceBoundaries({
7296
7712
  x: Math.round(pointer.x - offsetX),
@@ -7328,9 +7744,9 @@ var LineSet = function LineSet(_ref5) {
7328
7744
  updateHandleAngles(lineSetData);
7329
7745
  }
7330
7746
  }, [lineSetData, updateHandleAngles, handleUsesAngles]);
7331
- var handles = ((lineSetData === null || lineSetData === void 0 ? void 0 : lineSetData.showPointHandle) === undefined || (lineSetData === null || lineSetData === void 0 ? void 0 : lineSetData.showPointHandle)) && lineSetData.points.map(function (_ref7, index) {
7332
- var x = _ref7.x,
7333
- y = _ref7.y;
7747
+ var handles = ((lineSetData === null || lineSetData === void 0 ? void 0 : lineSetData.showPointHandle) === undefined || (lineSetData === null || lineSetData === void 0 ? void 0 : lineSetData.showPointHandle)) && lineSetData.points.map(function (_ref10, index) {
7748
+ var x = _ref10.x,
7749
+ y = _ref10.y;
7334
7750
  return React__default.createElement(HandleUnit, {
7335
7751
  key: index + lineSetId,
7336
7752
  lineSetId: lineSetId,
@@ -7350,9 +7766,9 @@ var LineSet = function LineSet(_ref5) {
7350
7766
  readOnlyHandle: lineSetData.readOnly
7351
7767
  });
7352
7768
  });
7353
- var points = options.showPoint && lineSetData.points.map(function (_ref8, index) {
7354
- var x = _ref8.x,
7355
- y = _ref8.y;
7769
+ var points = options.showPoint && lineSetData.points.map(function (_ref11, index) {
7770
+ var x = _ref11.x,
7771
+ y = _ref11.y;
7356
7772
  return React__default.createElement(Point, {
7357
7773
  styling: lineSetData.styling || 'primary',
7358
7774
  key: index,
@@ -7361,9 +7777,9 @@ var LineSet = function LineSet(_ref5) {
7361
7777
  cy: y
7362
7778
  });
7363
7779
  });
7364
- var lines = lineSetData.points.map(function (_ref9, index) {
7365
- var x1 = _ref9.x,
7366
- y1 = _ref9.y;
7780
+ var lines = lineSetData.points.map(function (_ref12, index) {
7781
+ var x1 = _ref12.x,
7782
+ y1 = _ref12.y;
7367
7783
  var points = lineSetData.points,
7368
7784
  name = lineSetData.name,
7369
7785
  _lineSetData$styling = lineSetData.styling,
@@ -7389,25 +7805,36 @@ var LineSet = function LineSet(_ref5) {
7389
7805
  unit: unit,
7390
7806
  label: name,
7391
7807
  styling: styling,
7808
+ lineClickCallback: onLineClick,
7392
7809
  lineMoveCallback: lineDragUpdate,
7393
7810
  lineMoveStartCallback: lineDragStart,
7394
7811
  showSmallDirectionMark: lineSetData.showSmallDirectionMark,
7395
- overrideShowMoveHandle: lineSetData.showMoveHandle
7812
+ overrideShowMoveHandle: lineSetData.showMoveHandle,
7813
+ lineClickSensingBorder: lineClickSensingBorder,
7814
+ hasClickSensingBorder: hasClickSensingBorder
7396
7815
  });
7397
7816
  });
7398
- return React__default.createElement("g", null, lines, handles, points, React__default.createElement(AreaLabel, {
7817
+ var polygonPoints = lineSetData.points.map(function (point) {
7818
+ return point.x + "," + point.y;
7819
+ }).join(" ");
7820
+ return React__default.createElement("g", null, React__default.createElement(FilledPolygon, {
7821
+ points: polygonPoints,
7822
+ color: lineSetData.areaFillColor ? lineSetData.areaFillColor : 'transparent',
7823
+ opacity: lineSetData.areaTransparencyLevel ? lineSetData.areaTransparencyLevel / 100 : 0
7824
+ }), lines, handles, points, React__default.createElement(AreaLabel, {
7399
7825
  lineSetData: lineSetData,
7400
- unit: unit
7826
+ unit: unit,
7827
+ showAreaLabelShadow: showLabelShadow
7401
7828
  }));
7402
7829
  };
7403
7830
 
7404
- var _templateObject$L, _templateObject2$J, _templateObject3$D, _templateObject4$x, _templateObject5$u;
7405
- var Container$v = styled__default.div(_templateObject$L || (_templateObject$L = _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\n"])));
7406
- var LoadingOverlay = styled__default.div(_templateObject2$J || (_templateObject2$J = _taggedTemplateLiteralLoose(["\n position: absolute;\n top:0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
7407
- var Frame = styled__default.svg(_templateObject3$D || (_templateObject3$D = _taggedTemplateLiteralLoose(["\n touch-action: none;\n user-select: none;\n margin: 0;\n\n overflow: visible;\n\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n transition: background 250ms ease;\n background: hsla(0deg, 0%, 0%, 0%);\n\n ", "\n\n"])), function (props) {
7408
- return props.transculent && styled.css(_templateObject4$x || (_templateObject4$x = _taggedTemplateLiteralLoose(["\n background: hsla(0deg, 0%, 0%, 35%);\n "])));
7831
+ var _templateObject$M, _templateObject2$K, _templateObject3$F, _templateObject4$z, _templateObject5$v;
7832
+ var Container$w = styled__default.div(_templateObject$M || (_templateObject$M = _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\n"])));
7833
+ var LoadingOverlay = styled__default.div(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n position: absolute;\n top:0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
7834
+ var Frame = styled__default.svg(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n touch-action: none;\n user-select: none;\n margin: 0;\n\n overflow: visible;\n\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n transition: background 250ms ease;\n background: hsla(0deg, 0%, 0%, 0%);\n\n ", "\n\n"])), function (props) {
7835
+ return props.transculent && styled.css(_templateObject4$z || (_templateObject4$z = _taggedTemplateLiteralLoose(["\n background: hsla(0deg, 0%, 0%, 35%);\n "])));
7409
7836
  });
7410
- var Image$1 = styled__default.img(_templateObject5$u || (_templateObject5$u = _taggedTemplateLiteralLoose(["\n object-fit: contain;\n width: 100%;\n height: 100%;\n"])));
7837
+ var Image$1 = styled__default.img(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose(["\n object-fit: contain;\n width: 100%;\n height: 100%;\n"])));
7411
7838
 
7412
7839
  var LineUI = function LineUI(_ref) {
7413
7840
  var src = _ref.src,
@@ -7415,12 +7842,20 @@ var LineUI = function LineUI(_ref) {
7415
7842
  onSizeChange = _ref$onSizeChange === void 0 ? function () {} : _ref$onSizeChange,
7416
7843
  _ref$onLineMoveEnd = _ref.onLineMoveEnd,
7417
7844
  onLineMoveEnd = _ref$onLineMoveEnd === void 0 ? function () {} : _ref$onLineMoveEnd,
7845
+ _ref$onLineClick = _ref.onLineClick,
7846
+ onLineClick = _ref$onLineClick === void 0 ? function () {} : _ref$onLineClick,
7847
+ _ref$lineClickSensing = _ref.lineClickSensingBorder,
7848
+ lineClickSensingBorder = _ref$lineClickSensing === void 0 ? '65' : _ref$lineClickSensing,
7849
+ _ref$hasClickSensingB = _ref.hasClickSensingBorder,
7850
+ hasClickSensingBorder = _ref$hasClickSensingB === void 0 ? true : _ref$hasClickSensingB,
7418
7851
  _ref$options = _ref.options;
7419
7852
  _ref$options = _ref$options === void 0 ? {} : _ref$options;
7420
7853
  var showHandleFinder = _ref$options.showHandleFinder,
7421
7854
  showSetIndex = _ref$options.showSetIndex,
7422
7855
  _ref$options$showPoin = _ref$options.showPointLabel,
7423
7856
  showPointLabel = _ref$options$showPoin === void 0 ? false : _ref$options$showPoin,
7857
+ _ref$options$showLabe = _ref$options.showLabelShadow,
7858
+ showLabelShadow = _ref$options$showLabe === void 0 ? false : _ref$options$showLabe,
7424
7859
  showPointHandle = _ref$options.showPointHandle,
7425
7860
  showMoveHandle = _ref$options.showMoveHandle,
7426
7861
  showGrabHandle = _ref$options.showGrabHandle,
@@ -7557,6 +7992,7 @@ var LineUI = function LineUI(_ref) {
7557
7992
  handleFinderActive: handleFinder,
7558
7993
  revealSetIndex: showSetIndex !== false && (showSetIndex || state.length > 1),
7559
7994
  showPointLabel: showPointLabel,
7995
+ showLabelShadow: showLabelShadow,
7560
7996
  showPointHandle: showPointHandle || showPointHandle !== false && showGrabHandle !== false,
7561
7997
  showMoveHandle: showMoveHandle || showMoveHandle !== false && showGrabHandle !== false,
7562
7998
  setIndexOffset: setIndexOffset,
@@ -7564,7 +8000,7 @@ var LineUI = function LineUI(_ref) {
7564
8000
  showPoint: showPoint,
7565
8001
  showDirectionMark: showDirectionMark
7566
8002
  };
7567
- return React__default.createElement(Container$v, null, React__default.createElement(Image$1, {
8003
+ return React__default.createElement(Container$w, null, React__default.createElement(Image$1, {
7568
8004
  ref: imgRef,
7569
8005
  onLoad: initScaleAndBounds,
7570
8006
  src: src,
@@ -7580,8 +8016,11 @@ var LineUI = function LineUI(_ref) {
7580
8016
  transculent: handleFinder
7581
8017
  }, state.map(function (lineSet, index) {
7582
8018
  return React__default.createElement(LineSet, {
8019
+ hasClickSensingBorder: hasClickSensingBorder,
8020
+ lineClickSensingBorder: lineClickSensingBorder,
7583
8021
  key: index,
7584
8022
  onLineMoveEnd: onLineMoveEnd,
8023
+ onLineClick: onLineClick,
7585
8024
  lineSetId: index,
7586
8025
  lineData: lineSet,
7587
8026
  getCTM: calculateCTM,
@@ -7598,12 +8037,12 @@ var LineUI = function LineUI(_ref) {
7598
8037
 
7599
8038
  var _excluded$u = ["loop", "autoPlay", "controls", "muted"];
7600
8039
 
7601
- var _templateObject$M, _templateObject2$K, _templateObject3$E, _templateObject4$y, _templateObject5$v;
7602
- var Container$w = styled__default.div(_templateObject$M || (_templateObject$M = _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"])));
7603
- var Video = styled__default.video(_templateObject2$K || (_templateObject2$K = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n border-radius: 3px;\n background-color: hsla(0deg, 0%, 0%, 35%);\n"])));
7604
- var LoadingOverlay$1 = styled__default.div(_templateObject3$E || (_templateObject3$E = _taggedTemplateLiteralLoose(["\n position: absolute;\n top:0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
7605
- var Frame$1 = styled__default.svg(_templateObject4$y || (_templateObject4$y = _taggedTemplateLiteralLoose(["\n touch-action: none;\n user-select: none;\n margin: 0;\n\n overflow: visible;\n\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n transition: background 250ms ease;\n background: hsla(0deg, 0%, 0%, 0%);\n\n ", "\n\n"])), function (props) {
7606
- return props.transcalent && styled.css(_templateObject5$v || (_templateObject5$v = _taggedTemplateLiteralLoose(["\n background: hsla(0deg, 0%, 0%, 35%);\n "])));
8040
+ var _templateObject$N, _templateObject2$L, _templateObject3$G, _templateObject4$A, _templateObject5$w;
8041
+ var Container$x = styled__default.div(_templateObject$N || (_templateObject$N = _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"])));
8042
+ var Video = styled__default.video(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n border-radius: 3px;\n background-color: hsla(0deg, 0%, 0%, 35%);\n"])));
8043
+ var LoadingOverlay$1 = styled__default.div(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n position: absolute;\n top:0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
8044
+ var Frame$1 = styled__default.svg(_templateObject4$A || (_templateObject4$A = _taggedTemplateLiteralLoose(["\n touch-action: none;\n user-select: none;\n margin: 0;\n\n overflow: visible;\n\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n transition: background 250ms ease;\n background: hsla(0deg, 0%, 0%, 0%);\n\n ", "\n\n"])), function (props) {
8045
+ return props.transcalent && styled.css(_templateObject5$w || (_templateObject5$w = _taggedTemplateLiteralLoose(["\n background: hsla(0deg, 0%, 0%, 35%);\n "])));
7607
8046
  });
7608
8047
 
7609
8048
  var LineUIVideo = function LineUIVideo(_ref) {
@@ -7612,8 +8051,14 @@ var LineUIVideo = function LineUIVideo(_ref) {
7612
8051
  onSizeChange = _ref$onSizeChange === void 0 ? function () {} : _ref$onSizeChange,
7613
8052
  _ref$onLineMoveEnd = _ref.onLineMoveEnd,
7614
8053
  onLineMoveEnd = _ref$onLineMoveEnd === void 0 ? function () {} : _ref$onLineMoveEnd,
8054
+ _ref$onLineClick = _ref.onLineClick,
8055
+ onLineClick = _ref$onLineClick === void 0 ? function () {} : _ref$onLineClick,
7615
8056
  _ref$onLoaded = _ref.onLoaded,
7616
8057
  onLoaded = _ref$onLoaded === void 0 ? function () {} : _ref$onLoaded,
8058
+ _ref$lineClickSensing = _ref.lineClickSensingBorder,
8059
+ lineClickSensingBorder = _ref$lineClickSensing === void 0 ? '65' : _ref$lineClickSensing,
8060
+ _ref$hasClickSensingB = _ref.hasClickSensingBorder,
8061
+ hasClickSensingBorder = _ref$hasClickSensingB === void 0 ? true : _ref$hasClickSensingB,
7617
8062
  _ref$videoOptions = _ref.videoOptions,
7618
8063
  _ref$videoOptions$loo = _ref$videoOptions.loop,
7619
8064
  loop = _ref$videoOptions$loo === void 0 ? false : _ref$videoOptions$loo,
@@ -7632,6 +8077,7 @@ var LineUIVideo = function LineUIVideo(_ref) {
7632
8077
  _ref$options$showPoin = _ref$options.showPointLabel,
7633
8078
  showPointLabel = _ref$options$showPoin === void 0 ? false : _ref$options$showPoin,
7634
8079
  showPointHandle = _ref$options.showPointHandle,
8080
+ showLabelShadow = _ref$options.showLabelShadow,
7635
8081
  showMoveHandle = _ref$options.showMoveHandle,
7636
8082
  showGrabHandle = _ref$options.showGrabHandle,
7637
8083
  _ref$options$setIndex = _ref$options.setIndexOffset,
@@ -7769,6 +8215,7 @@ var LineUIVideo = function LineUIVideo(_ref) {
7769
8215
  handleFinderActive: handleFinder,
7770
8216
  revealSetIndex: showSetIndex !== false && (showSetIndex || state.length > 1),
7771
8217
  showPointLabel: showPointLabel,
8218
+ showLabelShadow: showLabelShadow,
7772
8219
  showPointHandle: showPointHandle || showPointHandle !== false && showGrabHandle !== false,
7773
8220
  showMoveHandle: showMoveHandle || showMoveHandle !== false && showGrabHandle !== false,
7774
8221
  setIndexOffset: setIndexOffset,
@@ -7776,7 +8223,7 @@ var LineUIVideo = function LineUIVideo(_ref) {
7776
8223
  showPoint: showPoint,
7777
8224
  showDirectionMark: showDirectionMark
7778
8225
  };
7779
- return React__default.createElement(Container$w, null, React__default.createElement(Video, Object.assign({
8226
+ return React__default.createElement(Container$x, null, React__default.createElement(Video, Object.assign({
7780
8227
  ref: videoRef,
7781
8228
  controls: controls,
7782
8229
  muted: muted,
@@ -7801,7 +8248,10 @@ var LineUIVideo = function LineUIVideo(_ref) {
7801
8248
  }, state.map(function (lineSet, index) {
7802
8249
  return React__default.createElement(LineSet, {
7803
8250
  key: index,
8251
+ hasClickSensingBorder: hasClickSensingBorder,
8252
+ lineClickSensingBorder: lineClickSensingBorder,
7804
8253
  onLineMoveEnd: onLineMoveEnd,
8254
+ onLineClick: onLineClick,
7805
8255
  lineSetId: index,
7806
8256
  lineData: lineSet,
7807
8257
  getCTM: calculateCTM,
@@ -7831,8 +8281,8 @@ function _catch(body, recover) {
7831
8281
 
7832
8282
  var _excluded$v = ["id", "enabled", "peerAddress", "maxConnectionAttempts", "rtcConfiguration", "setStatus", "setError", "autoPlay", "muted"];
7833
8283
 
7834
- var _templateObject$N;
7835
- var Video$1 = styled__default.video(_templateObject$N || (_templateObject$N = _taggedTemplateLiteralLoose(["\n /* width: 800px; */\n"])));
8284
+ var _templateObject$O;
8285
+ var Video$1 = styled__default.video(_templateObject$O || (_templateObject$O = _taggedTemplateLiteralLoose(["\n /* width: 800px; */\n"])));
7836
8286
 
7837
8287
  var WebRTCPlayer = function WebRTCPlayer(_ref) {
7838
8288
  var _ref$id = _ref.id,
@@ -8156,12 +8606,12 @@ function getPeerId(id) {
8156
8606
  return 'WRP_' + id + '_' + Math.floor(Math.random() * (9000 - 10) + 10).toString();
8157
8607
  }
8158
8608
 
8159
- var _templateObject$O, _templateObject2$L, _templateObject3$F, _templateObject4$z, _templateObject5$w;
8160
- var Container$x = styled__default.div(_templateObject$O || (_templateObject$O = _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"])));
8161
- var Video$2 = styled__default(WebRTCPlayer)(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n border-radius: 3px;\n background-color: hsla(0deg, 0%, 0%, 35%);\n"])));
8162
- var LoadingOverlay$2 = styled__default.div(_templateObject3$F || (_templateObject3$F = _taggedTemplateLiteralLoose(["\n position: absolute;\n top:0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
8163
- var Frame$2 = styled__default.svg(_templateObject4$z || (_templateObject4$z = _taggedTemplateLiteralLoose(["\n touch-action: none;\n user-select: none;\n margin: 0;\n\n overflow: visible;\n\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n transition: background 250ms ease;\n background: hsla(0deg, 0%, 0%, 0%);\n\n ", "\n\n"])), function (props) {
8164
- return props.transcalent && styled.css(_templateObject5$w || (_templateObject5$w = _taggedTemplateLiteralLoose(["\n background: hsla(0deg, 0%, 0%, 35%);\n "])));
8609
+ var _templateObject$P, _templateObject2$M, _templateObject3$H, _templateObject4$B, _templateObject5$x;
8610
+ var Container$y = styled__default.div(_templateObject$P || (_templateObject$P = _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"])));
8611
+ var Video$2 = styled__default(WebRTCPlayer)(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n width: 100%;\n height: 100%;\n border-radius: 3px;\n background-color: hsla(0deg, 0%, 0%, 35%);\n"])));
8612
+ var LoadingOverlay$2 = styled__default.div(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n position: absolute;\n top:0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
8613
+ var Frame$2 = styled__default.svg(_templateObject4$B || (_templateObject4$B = _taggedTemplateLiteralLoose(["\n touch-action: none;\n user-select: none;\n margin: 0;\n\n overflow: visible;\n\n position: absolute;\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n transition: background 250ms ease;\n background: hsla(0deg, 0%, 0%, 0%);\n\n ", "\n\n"])), function (props) {
8614
+ return props.transcalent && styled.css(_templateObject5$x || (_templateObject5$x = _taggedTemplateLiteralLoose(["\n background: hsla(0deg, 0%, 0%, 35%);\n "])));
8165
8615
  });
8166
8616
 
8167
8617
  var LineUI$1 = function LineUI(_ref) {
@@ -8170,8 +8620,14 @@ var LineUI$1 = function LineUI(_ref) {
8170
8620
  onSizeChange = _ref$onSizeChange === void 0 ? function () {} : _ref$onSizeChange,
8171
8621
  _ref$onLineMoveEnd = _ref.onLineMoveEnd,
8172
8622
  onLineMoveEnd = _ref$onLineMoveEnd === void 0 ? function () {} : _ref$onLineMoveEnd,
8623
+ _ref$onLineClick = _ref.onLineClick,
8624
+ onLineClick = _ref$onLineClick === void 0 ? function () {} : _ref$onLineClick,
8173
8625
  _ref$onLoaded = _ref.onLoaded,
8174
8626
  onLoaded = _ref$onLoaded === void 0 ? function () {} : _ref$onLoaded,
8627
+ _ref$lineClickSensing = _ref.lineClickSensingBorder,
8628
+ lineClickSensingBorder = _ref$lineClickSensing === void 0 ? '65' : _ref$lineClickSensing,
8629
+ _ref$hasClickSensingB = _ref.hasClickSensingBorder,
8630
+ hasClickSensingBorder = _ref$hasClickSensingB === void 0 ? true : _ref$hasClickSensingB,
8175
8631
  videoOptions = _ref.videoOptions,
8176
8632
  _ref$options = _ref.options;
8177
8633
  _ref$options = _ref$options === void 0 ? {} : _ref$options;
@@ -8179,6 +8635,8 @@ var LineUI$1 = function LineUI(_ref) {
8179
8635
  showSetIndex = _ref$options.showSetIndex,
8180
8636
  _ref$options$showPoin = _ref$options.showPointLabel,
8181
8637
  showPointLabel = _ref$options$showPoin === void 0 ? false : _ref$options$showPoin,
8638
+ _ref$options$showLabe = _ref$options.showLabelShadow,
8639
+ showLabelShadow = _ref$options$showLabe === void 0 ? false : _ref$options$showLabe,
8182
8640
  showPointHandle = _ref$options.showPointHandle,
8183
8641
  showMoveHandle = _ref$options.showMoveHandle,
8184
8642
  showGrabHandle = _ref$options.showGrabHandle,
@@ -8318,6 +8776,7 @@ var LineUI$1 = function LineUI(_ref) {
8318
8776
  handleFinderActive: handleFinder,
8319
8777
  revealSetIndex: showSetIndex !== false && (showSetIndex || state.length > 1),
8320
8778
  showPointLabel: showPointLabel,
8779
+ showLabelShadow: showLabelShadow,
8321
8780
  showPointHandle: showPointHandle || showPointHandle !== false && showGrabHandle !== false,
8322
8781
  showMoveHandle: showMoveHandle || showMoveHandle !== false && showGrabHandle !== false,
8323
8782
  setIndexOffset: setIndexOffset,
@@ -8325,7 +8784,7 @@ var LineUI$1 = function LineUI(_ref) {
8325
8784
  showPoint: showPoint,
8326
8785
  showDirectionMark: showDirectionMark
8327
8786
  };
8328
- return React__default.createElement(Container$x, null, React__default.createElement(Video$2, Object.assign({
8787
+ return React__default.createElement(Container$y, null, React__default.createElement(Video$2, Object.assign({
8329
8788
  onLoadedMetadata: onLoadedMetadata,
8330
8789
  peerAddress: ws,
8331
8790
  id: '1'
@@ -8346,7 +8805,10 @@ var LineUI$1 = function LineUI(_ref) {
8346
8805
  }, state.map(function (lineSet, index) {
8347
8806
  return React__default.createElement(LineSet, {
8348
8807
  key: index,
8808
+ hasClickSensingBorder: hasClickSensingBorder,
8809
+ lineClickSensingBorder: lineClickSensingBorder,
8349
8810
  onLineMoveEnd: onLineMoveEnd,
8811
+ onLineClick: onLineClick,
8350
8812
  lineSetId: index,
8351
8813
  lineData: lineSet,
8352
8814
  getCTM: calculateCTM,
@@ -8463,6 +8925,32 @@ var LineReducer = (function (state, action) {
8463
8925
  return newState;
8464
8926
  }
8465
8927
 
8928
+ case "UPDATE_FILL_COLOR":
8929
+ {
8930
+ var _update6;
8931
+
8932
+ var _set2 = _extends({}, state[action.index], {
8933
+ areaFillColor: action.data.areaFillColor
8934
+ });
8935
+
8936
+ return update(state, (_update6 = {}, _update6[action.index] = {
8937
+ $set: _set2
8938
+ }, _update6));
8939
+ }
8940
+
8941
+ case "UPDATE_TRANSPARENCY_LEVEL":
8942
+ {
8943
+ var _update7;
8944
+
8945
+ var _set3 = _extends({}, state[action.index], {
8946
+ areaTransparencyLevel: action.data.areaTransparencyLevel
8947
+ });
8948
+
8949
+ return update(state, (_update7 = {}, _update7[action.index] = {
8950
+ $set: _set3
8951
+ }, _update7));
8952
+ }
8953
+
8466
8954
  default:
8467
8955
  console.error("Action " + action['type'] + " not registered.");
8468
8956
  return state;
@@ -8503,19 +8991,19 @@ var makeTitle = function makeTitle(parts, delimiter) {
8503
8991
  return title;
8504
8992
  };
8505
8993
 
8506
- var _templateObject$P, _templateObject2$M, _templateObject3$G, _templateObject4$A, _templateObject5$x, _templateObject6$q, _templateObject7$p, _templateObject8$n;
8507
- var Container$y = styled__default.div(_templateObject$P || (_templateObject$P = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
8508
- var IconContainer$1 = styled__default.div(_templateObject2$M || (_templateObject2$M = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: -45px;\n bottom: 0;\n height: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n svg {\n display: block;\n }\n"])));
8509
- var Title$3 = styled__default.h1(_templateObject3$G || (_templateObject3$G = _taggedTemplateLiteralLoose(["\n ", "\n margin: 0 0 20px;\n"])), function (_ref) {
8994
+ var _templateObject$Q, _templateObject2$N, _templateObject3$I, _templateObject4$C, _templateObject5$y, _templateObject6$r, _templateObject7$q, _templateObject8$o;
8995
+ var Container$z = styled__default.div(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n position: relative;\n"])));
8996
+ var IconContainer$1 = styled__default.div(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: -45px;\n bottom: 0;\n height: 30px;\n display: flex;\n justify-content: center;\n align-items: center;\n\n svg {\n display: block;\n }\n"])));
8997
+ var Title$3 = styled__default.h1(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteralLoose(["\n ", "\n margin: 0 0 20px;\n"])), function (_ref) {
8510
8998
  var theme = _ref.theme;
8511
- return styled.css(_templateObject4$A || (_templateObject4$A = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.pageHeader.mainTitle);
8999
+ return styled.css(_templateObject4$C || (_templateObject4$C = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.pageHeader.mainTitle);
8512
9000
  });
8513
- var AreaTitleCss = styled.css(_templateObject5$x || (_templateObject5$x = _taggedTemplateLiteralLoose(["\n ", "\n margin: 0;\n position: absolute;\n top: -18px;\n"])), function (_ref2) {
9001
+ var AreaTitleCss = styled.css(_templateObject5$y || (_templateObject5$y = _taggedTemplateLiteralLoose(["\n ", "\n margin: 0;\n position: absolute;\n top: -18px;\n"])), function (_ref2) {
8514
9002
  var theme = _ref2.theme;
8515
- return styled.css(_templateObject6$q || (_templateObject6$q = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.pageHeader.areaTitle);
9003
+ return styled.css(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.pageHeader.areaTitle);
8516
9004
  });
8517
- var AreaTitle = styled__default.div(_templateObject7$p || (_templateObject7$p = _taggedTemplateLiteralLoose(["\n ", "\n"])), AreaTitleCss);
8518
- var AreaLinkTitle = styled__default(reactRouterDom.Link)(_templateObject8$n || (_templateObject8$n = _taggedTemplateLiteralLoose(["\n ", "\n &:hover {\n text-decoration: underline;\n }\n"])), AreaTitleCss);
9005
+ var AreaTitle = styled__default.div(_templateObject7$q || (_templateObject7$q = _taggedTemplateLiteralLoose(["\n ", "\n"])), AreaTitleCss);
9006
+ var AreaLinkTitle = styled__default(reactRouterDom.Link)(_templateObject8$o || (_templateObject8$o = _taggedTemplateLiteralLoose(["\n ", "\n &:hover {\n text-decoration: underline;\n }\n"])), AreaTitleCss);
8519
9007
 
8520
9008
  var PageTitle = function PageTitle(_ref3) {
8521
9009
  var title = _ref3.title,
@@ -8527,7 +9015,7 @@ var PageTitle = function PageTitle(_ref3) {
8527
9015
  _ref3$hideAreaInDocTi = _ref3.hideAreaInDocTitle,
8528
9016
  hideAreaInDocTitle = _ref3$hideAreaInDocTi === void 0 ? false : _ref3$hideAreaInDocTi;
8529
9017
  useTitle(title, hideAreaInDocTitle ? undefined : areaTitle || '', undefined, updateDocTitle);
8530
- return React__default.createElement(Container$y, null, areaTitle && areaHref ? React__default.createElement(AreaLinkTitle, {
9018
+ return React__default.createElement(Container$z, null, areaTitle && areaHref ? React__default.createElement(AreaLinkTitle, {
8531
9019
  to: areaHref
8532
9020
  }, areaTitle) : areaTitle && React__default.createElement(AreaTitle, null, areaTitle), React__default.createElement(Title$3, null, title), icon ? React__default.createElement(IconContainer$1, null, React__default.createElement(Icon, Object.assign({
8533
9021
  size: 24,
@@ -8537,19 +9025,19 @@ var PageTitle = function PageTitle(_ref3) {
8537
9025
  }))) : null);
8538
9026
  };
8539
9027
 
8540
- var _templateObject$Q, _templateObject2$N;
8541
- var Container$z = styled__default.p(_templateObject$Q || (_templateObject$Q = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref) {
9028
+ var _templateObject$R, _templateObject2$O;
9029
+ var Container$A = styled__default.p(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref) {
8542
9030
  var theme = _ref.theme;
8543
- return styled.css(_templateObject2$N || (_templateObject2$N = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.pageHeader.introduction);
9031
+ return styled.css(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.pageHeader.introduction);
8544
9032
  });
8545
9033
 
8546
9034
  var IntroductionText = function IntroductionText(_ref2) {
8547
9035
  var children = _ref2.children;
8548
- return React__default.createElement(Container$z, null, children);
9036
+ return React__default.createElement(Container$A, null, children);
8549
9037
  };
8550
9038
 
8551
- var _templateObject$R;
8552
- var Container$A = styled__default.div(_templateObject$R || (_templateObject$R = _taggedTemplateLiteralLoose([""])));
9039
+ var _templateObject$S;
9040
+ var Container$B = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose([""])));
8553
9041
 
8554
9042
  var PageHeader = function PageHeader(_ref) {
8555
9043
  var title = _ref.title,
@@ -8560,7 +9048,7 @@ var PageHeader = function PageHeader(_ref) {
8560
9048
  _ref$updateDocTitle = _ref.updateDocTitle,
8561
9049
  updateDocTitle = _ref$updateDocTitle === void 0 ? true : _ref$updateDocTitle,
8562
9050
  hideAreaInDocTitle = _ref.hideAreaInDocTitle;
8563
- return React__default.createElement(Container$A, null, React__default.createElement(PageTitle, Object.assign({}, {
9051
+ return React__default.createElement(Container$B, null, React__default.createElement(PageTitle, Object.assign({}, {
8564
9052
  title: title,
8565
9053
  icon: icon,
8566
9054
  areaHref: areaHref,
@@ -8570,22 +9058,56 @@ var PageHeader = function PageHeader(_ref) {
8570
9058
  })), introductionText ? React__default.createElement(IntroductionText, null, introductionText) : null);
8571
9059
  };
8572
9060
 
8573
- var _templateObject$S;
8574
- var Container$B = styled__default.div(_templateObject$S || (_templateObject$S = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n"])));
9061
+ var _templateObject$T;
9062
+ var Container$C = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n"])));
8575
9063
 
8576
9064
  var MultilineContent = function MultilineContent(_ref) {
8577
9065
  var contentArray = _ref.contentArray;
8578
- return React__default.createElement(Container$B, null, contentArray.map(function (element, index) {
9066
+ return React__default.createElement(Container$C, null, contentArray.map(function (element, index) {
8579
9067
  return React__default.createElement("div", {
8580
9068
  key: "element-" + index
8581
9069
  }, element);
8582
9070
  }));
8583
9071
  };
8584
9072
 
9073
+ var _path, _path2;
9074
+
9075
+ function _extends$1() {
9076
+ _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
9077
+ for (var i = 1; i < arguments.length; i++) {
9078
+ var source = arguments[i];
9079
+
9080
+ for (var key in source) {
9081
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
9082
+ target[key] = source[key];
9083
+ }
9084
+ }
9085
+ }
9086
+
9087
+ return target;
9088
+ };
9089
+ return _extends$1.apply(this, arguments);
9090
+ }
9091
+
9092
+ function SvgNoImageBig(props) {
9093
+ return /*#__PURE__*/React.createElement("svg", _extends$1({
9094
+ width: 610,
9095
+ height: 446,
9096
+ fill: "none",
9097
+ xmlns: "http://www.w3.org/2000/svg"
9098
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
9099
+ fill: "#DDD",
9100
+ d: "M0 0h609.91v446H0z"
9101
+ })), _path2 || (_path2 = /*#__PURE__*/React.createElement("path", {
9102
+ d: "M242.675 210.273V235h-3.429l-12.569-18.135h-.23V235h-3.73v-24.727h3.453l12.581 18.159h.229v-18.159h3.695zm26.921 12.363c0 2.641-.483 4.91-1.448 6.81-.966 1.892-2.29 3.349-3.973 4.371-1.674 1.014-3.578 1.521-5.711 1.521-2.141 0-4.052-.507-5.735-1.521-1.674-1.022-2.994-2.483-3.96-4.383-.966-1.9-1.449-4.166-1.449-6.798 0-2.64.483-4.906 1.449-6.797.966-1.9 2.286-3.357 3.96-4.371 1.683-1.022 3.594-1.533 5.735-1.533 2.133 0 4.037.511 5.711 1.533 1.683 1.014 3.007 2.471 3.973 4.371.965 1.891 1.448 4.157 1.448 6.797zm-3.694 0c0-2.012-.326-3.706-.978-5.083-.644-1.384-1.53-2.431-2.656-3.139-1.119-.716-2.387-1.075-3.804-1.075-1.424 0-2.696.359-3.815 1.075-1.119.708-2.004 1.755-2.656 3.139-.644 1.377-.966 3.071-.966 5.083 0 2.013.322 3.711.966 5.096.652 1.376 1.537 2.422 2.656 3.139 1.119.708 2.391 1.062 3.815 1.062 1.417 0 2.685-.354 3.804-1.062 1.126-.717 2.012-1.763 2.656-3.139.652-1.385.978-3.083.978-5.096zm21.075-12.363V235h-3.731v-24.727h3.731zm5.433 0h4.528l7.872 19.221h.29l7.872-19.221h4.527V235h-3.549v-17.893h-.23l-7.292 17.857h-2.946l-7.293-17.87h-.229V235h-3.55v-24.727zM325.012 235h-3.96l8.899-24.727h4.31L343.159 235h-3.96l-6.991-20.236h-.193L325.012 235zm.664-9.683h12.847v3.139h-12.847v-3.139zm36.627-7.232a7.585 7.585 0 00-.942-1.969 6.038 6.038 0 00-1.389-1.497 5.856 5.856 0 00-1.847-.954 7.439 7.439 0 00-2.258-.326c-1.392 0-2.648.359-3.767 1.075-1.119.716-2.004 1.767-2.656 3.151-.644 1.377-.966 3.063-.966 5.059 0 2.005.326 3.699.978 5.083.652 1.385 1.545 2.435 2.68 3.152 1.135.716 2.427 1.074 3.876 1.074 1.344 0 2.515-.273 3.514-.821a5.723 5.723 0 002.33-2.318c.555-1.006.833-2.189.833-3.55l.966.181h-7.075v-3.078h9.719v2.813c0 2.077-.443 3.88-1.328 5.409a9.043 9.043 0 01-3.646 3.525c-1.546.83-3.317 1.244-5.313 1.244-2.238 0-4.202-.515-5.892-1.545-1.682-1.031-2.994-2.492-3.936-4.383-.942-1.9-1.413-4.154-1.413-6.762 0-1.972.274-3.742.821-5.312.548-1.57 1.316-2.902 2.306-3.997a10.094 10.094 0 013.514-2.523c1.352-.588 2.829-.881 4.431-.881 1.336 0 2.58.197 3.731.591a10.07 10.07 0 013.091 1.679 9.51 9.51 0 012.258 2.583c.595.99.998 2.089 1.207 3.297h-3.827zM371.035 235v-24.727h15.503v3.211h-11.772v7.534h10.963v3.2h-10.963v7.57h11.917V235h-15.648z",
9103
+ fill: "#656565"
9104
+ })));
9105
+ }
9106
+
8585
9107
  var _excluded$x = ["loop", "autoPlay", "controls", "muted"];
8586
9108
 
8587
- var _templateObject$T, _templateObject2$O, _templateObject3$H, _templateObject4$B, _templateObject5$y, _templateObject6$r, _templateObject7$q, _templateObject8$o;
8588
- var MediaBoxWrapper = styled__default.div(_templateObject$T || (_templateObject$T = _taggedTemplateLiteralLoose(["\n position: relative;\n line-height: 0;\n ", ";\n ", ";\n"])), function (_ref) {
9109
+ var _templateObject$U, _templateObject2$P, _templateObject3$J, _templateObject4$D, _templateObject5$z, _templateObject6$s, _templateObject7$r, _templateObject8$p;
9110
+ var MediaBoxWrapper = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n position: relative;\n line-height: 0;\n ", ";\n ", ";\n"])), function (_ref) {
8589
9111
  var minHeight = _ref.minHeight;
8590
9112
  return minHeight && "min-height: " + minHeight;
8591
9113
  }, function (_ref2) {
@@ -8593,18 +9115,18 @@ var MediaBoxWrapper = styled__default.div(_templateObject$T || (_templateObject$
8593
9115
  return minWidth && "min-width: " + minWidth;
8594
9116
  });
8595
9117
  var mediaStyle = "\n max-width: 100%;\n max-height: 100%;\n border-radius: 3px;\n background-color: var(--grey-11);\n";
8596
- var LoadingOverlay$3 = styled__default.div(_templateObject2$O || (_templateObject2$O = _taggedTemplateLiteralLoose(["\n position: absolute;\n top:0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
8597
- var Video$3 = styled__default.video(_templateObject3$H || (_templateObject3$H = _taggedTemplateLiteralLoose(["\n ", ";\n outline: none;\n\n ", ";\n"])), mediaStyle, function (_ref3) {
9118
+ var LoadingOverlay$3 = styled__default.div(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose(["\n position: absolute;\n top:0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n"])));
9119
+ var Video$3 = styled__default.video(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteralLoose(["\n ", ";\n outline: none;\n\n ", ";\n"])), mediaStyle, function (_ref3) {
8598
9120
  var theme = _ref3.theme,
8599
9121
  isLoaded = _ref3.isLoaded,
8600
9122
  hasModalLimits = _ref3.hasModalLimits;
8601
- return styled.css(_templateObject4$B || (_templateObject4$B = _taggedTemplateLiteralLoose(["\n transition: opacity ", " ", ";\n opacity: ", ";\n\n ", ";\n "])), theme.animation.speed.slow, theme.animation.easing.primary.easeOut, isLoaded ? "1" : "0", hasModalLimits && styled.css(_templateObject5$y || (_templateObject5$y = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 100px);\n max-width: calc(100vw - 100px);\n "]))));
9123
+ return styled.css(_templateObject4$D || (_templateObject4$D = _taggedTemplateLiteralLoose(["\n transition: opacity ", " ", ";\n opacity: ", ";\n\n ", ";\n "])), theme.animation.speed.slow, theme.animation.easing.primary.easeOut, isLoaded ? "1" : "0", hasModalLimits && styled.css(_templateObject5$z || (_templateObject5$z = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 100px);\n max-width: calc(100vw - 100px);\n "]))));
8602
9124
  });
8603
- var StyledImage = styled__default.img(_templateObject6$r || (_templateObject6$r = _taggedTemplateLiteralLoose(["\n ", ";\n\n ", ";\n"])), mediaStyle, function (_ref4) {
9125
+ var StyledImage = styled__default.img(_templateObject6$s || (_templateObject6$s = _taggedTemplateLiteralLoose(["\n ", ";\n\n ", ";\n"])), mediaStyle, function (_ref4) {
8604
9126
  var theme = _ref4.theme,
8605
9127
  isLoaded = _ref4.isLoaded,
8606
9128
  hasModalLimits = _ref4.hasModalLimits;
8607
- return styled.css(_templateObject7$q || (_templateObject7$q = _taggedTemplateLiteralLoose(["\n transition: opacity ", " ", ";\n opacity: ", ";\n\n ", ";\n "])), theme.animation.speed.slow, theme.animation.easing.primary.easeOut, isLoaded ? "1" : "0", hasModalLimits && styled.css(_templateObject8$o || (_templateObject8$o = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 100px);\n max-width: calc(100vw - 100px);\n "]))));
9129
+ return styled.css(_templateObject7$r || (_templateObject7$r = _taggedTemplateLiteralLoose(["\n transition: opacity ", " ", ";\n opacity: ", ";\n\n ", ";\n "])), theme.animation.speed.slow, theme.animation.easing.primary.easeOut, isLoaded ? "1" : "0", hasModalLimits && styled.css(_templateObject8$p || (_templateObject8$p = _taggedTemplateLiteralLoose(["\n max-height: calc(100vh - 100px);\n max-width: calc(100vw - 100px);\n "]))));
8608
9130
  });
8609
9131
 
8610
9132
  var MediaBox = function MediaBox(_ref5) {
@@ -8674,7 +9196,6 @@ var MediaBox = function MediaBox(_ref5) {
8674
9196
  minWidth: minWidth,
8675
9197
  minHeight: minHeight
8676
9198
  }), mediaType === 'video' ? React__default.createElement(Video$3, Object.assign({}, {
8677
- src: src,
8678
9199
  loop: loop,
8679
9200
  autoPlay: autoPlay,
8680
9201
  controls: controls,
@@ -8682,30 +9203,28 @@ var MediaBox = function MediaBox(_ref5) {
8682
9203
  onError: onError,
8683
9204
  hasModalLimits: hasModalLimits
8684
9205
  }, videoValues, {
9206
+ src: loadFailed ? '' : src,
8685
9207
  isLoaded: loaded && !loadFailed,
8686
9208
  preload: 'metadata',
8687
9209
  onCanPlayThrough: handleLoad
8688
9210
  })) : React__default.createElement(StyledImage, Object.assign({}, {
8689
- src: src,
8690
9211
  alt: alt,
8691
9212
  onError: onError,
8692
9213
  hasModalLimits: hasModalLimits
8693
9214
  }, {
9215
+ src: loadFailed ? '' : src,
8694
9216
  onLoad: handleLoad,
8695
9217
  isLoaded: loaded && !loadFailed
8696
9218
  })), !loaded && React__default.createElement(LoadingOverlay$3, null, React__default.createElement(Spinner, {
8697
9219
  size: 'large',
8698
9220
  styling: 'primary'
8699
- })), loadFailed && React__default.createElement(LoadingOverlay$3, null, React__default.createElement(Icon, {
8700
- icon: 'MissingImage',
8701
- size: 48
8702
- })));
9221
+ })), loadFailed && React__default.createElement(SvgNoImageBig, null));
8703
9222
  };
8704
9223
 
8705
- var _templateObject$U, _templateObject2$P, _templateObject3$I, _templateObject4$C, _templateObject5$z, _templateObject6$s, _templateObject7$r;
8706
- var Container$C = styled__default.div(_templateObject$U || (_templateObject$U = _taggedTemplateLiteralLoose(["\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--grey-3);\n -webkit-backdrop-filter: blur(5px);\n backdrop-filter: blur(5px);\n z-index: 999;\n ", "\n\n font-family: ", ";\n ", ";\n"])), function (_ref) {
9224
+ var _templateObject$V, _templateObject2$Q, _templateObject3$K, _templateObject4$E, _templateObject5$A, _templateObject6$t, _templateObject7$s;
9225
+ var Container$D = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n position: fixed;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: var(--grey-3);\n -webkit-backdrop-filter: blur(5px);\n backdrop-filter: blur(5px);\n z-index: 999;\n ", "\n\n font-family: ", ";\n ", ";\n"])), function (_ref) {
8707
9226
  var theme = _ref.theme;
8708
- return theme && styled.css(_templateObject2$P || (_templateObject2$P = _taggedTemplateLiteralLoose([""])));
9227
+ return theme && styled.css(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteralLoose([""])));
8709
9228
  }, function (_ref2) {
8710
9229
  var theme = _ref2.theme;
8711
9230
  return theme.fontFamily.ui;
@@ -8713,19 +9232,19 @@ var Container$C = styled__default.div(_templateObject$U || (_templateObject$U =
8713
9232
  var theme = _ref3.theme;
8714
9233
  return theme.styles.modal.overlay;
8715
9234
  });
8716
- var CloseIcon = styled__default(Icon)(_templateObject3$I || (_templateObject3$I = _taggedTemplateLiteralLoose([""])));
8717
- var CloseButton = styled__default.button(_templateObject4$C || (_templateObject4$C = _taggedTemplateLiteralLoose(["\n ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: 0;\n top: -30px;\n color: ", ";\n font-size: 14px;\n font-weight: 500;\n\n ", " {\n display: flex;\n margin-left: 12px;\n }\n ", "\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n opacity: .9;\n }\n &:disabled {\n opacity: 0.1;\n }\n"])), resetButtonStyles, function (_ref4) {
9235
+ var CloseIcon = styled__default(Icon)(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteralLoose([""])));
9236
+ var CloseButton = styled__default.button(_templateObject4$E || (_templateObject4$E = _taggedTemplateLiteralLoose(["\n ", ";\n display: flex;\n align-items: center;\n justify-content: center;\n position: absolute;\n right: 0;\n top: -30px;\n color: ", ";\n font-size: 14px;\n font-weight: 500;\n\n ", " {\n display: flex;\n margin-left: 12px;\n }\n ", "\n &:focus {\n outline: none;\n }\n\n &:hover:enabled {\n ", "\n }\n\n &:active:enabled {\n opacity: .9;\n }\n &:disabled {\n opacity: 0.1;\n }\n"])), resetButtonStyles, function (_ref4) {
8718
9237
  var theme = _ref4.theme;
8719
9238
  return theme.colors.icons.mono;
8720
9239
  }, IconWrapper, function (_ref5) {
8721
9240
  var _ref5$selected = _ref5.selected,
8722
9241
  selected = _ref5$selected === void 0 ? false : _ref5$selected;
8723
- return selected && styled.css(_templateObject5$z || (_templateObject5$z = _taggedTemplateLiteralLoose(["\n border-bottom: 5px solid var(--primary-7);\n "])));
9242
+ return selected && styled.css(_templateObject5$A || (_templateObject5$A = _taggedTemplateLiteralLoose(["\n border-bottom: 5px solid var(--primary-7);\n "])));
8724
9243
  }, function (_ref6) {
8725
9244
  var theme = _ref6.theme;
8726
- return theme && styled.css(_templateObject6$s || (_templateObject6$s = _taggedTemplateLiteralLoose(["\n opacity: .8;\n transition: transform ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.inOut);
9245
+ return theme && styled.css(_templateObject6$t || (_templateObject6$t = _taggedTemplateLiteralLoose(["\n opacity: .8;\n transition: transform ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.inOut);
8727
9246
  });
8728
- var LightBox = styled__default.div(_templateObject7$r || (_templateObject7$r = _taggedTemplateLiteralLoose(["\n position: relative;\n margin: 27px 0 0;\n z-index: 9999;\n width: ", ";\n padding: ", ";\n border-radius: 5px;\n ", ";\n"])), function (_ref7) {
9247
+ var LightBox = styled__default.div(_templateObject7$s || (_templateObject7$s = _taggedTemplateLiteralLoose(["\n position: relative;\n margin: 27px 0 0;\n z-index: 9999;\n width: ", ";\n padding: ", ";\n border-radius: 5px;\n ", ";\n"])), function (_ref7) {
8729
9248
  var width = _ref7.width;
8730
9249
  return width ? width : "580px";
8731
9250
  }, function (_ref8) {
@@ -8770,7 +9289,7 @@ var Modal = function Modal(_ref10) {
8770
9289
 
8771
9290
  onDismiss();
8772
9291
  }, [onDismiss, dismissCallback]);
8773
- return isOpen ? ReactDom.createPortal(React__default.createElement(Container$C, null, React__default.createElement(LightBox, {
9292
+ return isOpen ? ReactDom.createPortal(React__default.createElement(Container$D, null, React__default.createElement(LightBox, {
8774
9293
  ref: lightBoxRef,
8775
9294
  width: width,
8776
9295
  padding: padding
@@ -8885,9 +9404,8 @@ var useMediaModal = function useMediaModal() {
8885
9404
 
8886
9405
  videoElement.onerror = reject;
8887
9406
  })).then(function () {});
8888
- }, function (error) {
9407
+ }, function () {
8889
9408
  isValid = false;
8890
- console.log("[useMediaModal - isMediaUrlValid] Invalid preview url " + src + " - video load failed, modal will not be open", error);
8891
9409
  });
8892
9410
 
8893
9411
  if (_temp6 && _temp6.then) return _temp6.then(function () {});
@@ -8914,9 +9432,8 @@ var useMediaModal = function useMediaModal() {
8914
9432
 
8915
9433
  img.onerror = reject;
8916
9434
  })).then(function () {});
8917
- }, function (error) {
9435
+ }, function () {
8918
9436
  isValid = false;
8919
- console.log("[useMediaModal - isMediaUrlValid] Invalid preview url " + src + " - image load failed, modal will not be open", error);
8920
9437
  });
8921
9438
 
8922
9439
  if (_temp9 && _temp9.then) return _temp9.then(function () {});
@@ -8986,38 +9503,34 @@ var useMediaModal = function useMediaModal() {
8986
9503
  };
8987
9504
  };
8988
9505
 
8989
- var _templateObject$V, _templateObject2$Q, _templateObject3$J, _templateObject4$D, _templateObject5$A, _templateObject6$t, _templateObject7$s;
8990
- var Container$D = styled__default.div(_templateObject$V || (_templateObject$V = _taggedTemplateLiteralLoose(["\n position: relative;\n height: inherit;\n background: grey;\n border-radius: 3px;\n overflow: hidden;\n width: 55px;\n height: auto;\n opacity: 0.65;\n margin-right: 10px;\n\n &::after {\n content: '';\n display: block;\n padding-bottom: 75%;\n ", "\n }\n\n ", "\n\n &:hover {\n ", ";\n\n ", "\n }\n\n"])), function (_ref) {
9506
+ var _templateObject$W, _templateObject2$R, _templateObject3$L, _templateObject4$F, _templateObject5$B, _templateObject6$u, _templateObject7$t;
9507
+ var Container$E = styled__default.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n position: relative;\n height: inherit;\n background: grey;\n border-radius: 3px;\n overflow: hidden;\n width: 55px;\n height: auto;\n opacity: 0.65;\n margin-right: 10px;\n\n &::after {\n content: '';\n display: block;\n padding-bottom: 75%;\n ", "\n }\n\n ", "\n\n &:hover {\n cursor: pointer;\n\n ", "\n }\n\n"])), function (_ref) {
8991
9508
  var aspect = _ref.aspect;
8992
- return aspect === '16:9' && styled.css(_templateObject2$Q || (_templateObject2$Q = _taggedTemplateLiteralLoose(["\n padding-left: 56.25%;\n "])));
9509
+ return aspect === '16:9' && styled.css(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n padding-left: 56.25%;\n "])));
8993
9510
  }, function (_ref2) {
8994
9511
  var theme = _ref2.theme;
8995
- return theme && styled.css(_templateObject3$J || (_templateObject3$J = _taggedTemplateLiteralLoose(["\n transition:\n opacity ", " ", ",\n transform ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeOut, theme.animation.speed.fast, theme.animation.easing.primary.easeOut);
9512
+ return theme && styled.css(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteralLoose(["\n transition:\n opacity ", " ", ",\n transform ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeOut, theme.animation.speed.fast, theme.animation.easing.primary.easeOut);
8996
9513
  }, function (_ref3) {
8997
- var mediaUrl = _ref3.mediaUrl;
8998
- return mediaUrl && styled.css(_templateObject4$D || (_templateObject4$D = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n "])));
8999
- }, function (_ref4) {
9000
- var theme = _ref4.theme,
9001
- hoverZoom = _ref4.hoverZoom;
9002
- return theme && hoverZoom && styled.css(_templateObject5$A || (_templateObject5$A = _taggedTemplateLiteralLoose(["\n transform: scale(1.5);\n opacity: 1;\n transition: transform ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeOut);
9003
- });
9004
- var Image$2 = styled__default.img(_templateObject6$t || (_templateObject6$t = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n object-fit: cover;\n display: ", ";\n"])), function (_ref5) {
9005
- var showImage = _ref5.showImage;
9006
- return showImage === true ? 'block' : 'none';
9007
- });
9008
- var PlayableDrop = styled__default.div(_templateObject7$s || (_templateObject7$s = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n background-color: var(--black-a1);\n height: 24px;\n width: 24px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n ", " {\n display: flex;\n svg {\n padding-left: 2px;\n path {\n stroke: var(--white-1);\n }\n }\n };\n"])), IconWrapper);
9009
-
9010
- var TableRowThumbnail = function TableRowThumbnail(_ref6) {
9011
- var _ref6$hoverZoom = _ref6.hoverZoom,
9012
- hoverZoom = _ref6$hoverZoom === void 0 ? true : _ref6$hoverZoom,
9013
- _ref6$image = _ref6.image,
9014
- image = _ref6$image === void 0 ? '' : _ref6$image,
9015
- mediaUrl = _ref6.mediaUrl,
9016
- mediaType = _ref6.mediaType,
9017
- _ref6$retryImageLoad = _ref6.retryImageLoad,
9018
- retryImageLoad = _ref6$retryImageLoad === void 0 ? false : _ref6$retryImageLoad,
9019
- _ref6$retryLimit = _ref6.retryLimit,
9020
- retryLimit = _ref6$retryLimit === void 0 ? 5 : _ref6$retryLimit;
9514
+ var theme = _ref3.theme,
9515
+ hoverZoom = _ref3.hoverZoom;
9516
+ return theme && hoverZoom && styled.css(_templateObject4$F || (_templateObject4$F = _taggedTemplateLiteralLoose(["\n transform: scale(1.5);\n opacity: 1;\n transition: transform ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeOut);
9517
+ });
9518
+ var ImageWrapper = styled__default.img(_templateObject5$B || (_templateObject5$B = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n height: 100%;\n width: 100%;\n object-fit: cover;\n display: block;\n"])));
9519
+ var NoImageWrapper = styled__default.div(_templateObject6$u || (_templateObject6$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n height: 41px;\n width: 55px;\n object-fit: cover;\n display: block;\n"])));
9520
+ var PlayableDrop = styled__default.div(_templateObject7$t || (_templateObject7$t = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n background-color: var(--black-a1);\n height: 24px;\n width: 24px;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n ", " {\n display: flex;\n svg {\n padding-left: 2px;\n path {\n stroke: var(--white-1);\n }\n }\n };\n"])), IconWrapper);
9521
+
9522
+ var TableRowThumbnail = function TableRowThumbnail(_ref4) {
9523
+ var _ref4$hoverZoom = _ref4.hoverZoom,
9524
+ hoverZoom = _ref4$hoverZoom === void 0 ? true : _ref4$hoverZoom,
9525
+ _ref4$image = _ref4.image,
9526
+ image = _ref4$image === void 0 ? '' : _ref4$image,
9527
+ mediaUrl = _ref4.mediaUrl,
9528
+ mediaType = _ref4.mediaType,
9529
+ _ref4$retryImageLoad = _ref4.retryImageLoad,
9530
+ retryImageLoad = _ref4$retryImageLoad === void 0 ? false : _ref4$retryImageLoad,
9531
+ _ref4$retryLimit = _ref4.retryLimit,
9532
+ retryLimit = _ref4$retryLimit === void 0 ? 5 : _ref4$retryLimit,
9533
+ closeText = _ref4.closeText;
9021
9534
 
9022
9535
  var _useState = React.useState(true),
9023
9536
  showImage = _useState[0],
@@ -9038,18 +9551,17 @@ var TableRowThumbnail = function TableRowThumbnail(_ref6) {
9038
9551
  var timeoutRef = React.useRef(null);
9039
9552
  var handleModal = React.useCallback(function () {
9040
9553
  try {
9041
- if (mediaUrl && mediaType) {
9042
- createMediaModal({
9043
- src: mediaUrl,
9044
- mediaType: mediaType
9045
- });
9046
- }
9047
-
9554
+ createMediaModal({
9555
+ src: showImage && mediaUrl ? mediaUrl : '',
9556
+ mediaType: mediaType ? mediaType : 'img',
9557
+ minHeight: '240px',
9558
+ closeText: closeText
9559
+ });
9048
9560
  return Promise.resolve();
9049
9561
  } catch (e) {
9050
9562
  return Promise.reject(e);
9051
9563
  }
9052
- }, [createMediaModal, mediaType, mediaUrl]);
9564
+ }, [closeText, createMediaModal, mediaType, mediaUrl, showImage]);
9053
9565
  React.useEffect(function () {
9054
9566
  setShowImage(false);
9055
9567
  setRetryCount(0);
@@ -9080,36 +9592,62 @@ var TableRowThumbnail = function TableRowThumbnail(_ref6) {
9080
9592
  timeoutRef.current = null;
9081
9593
  setShowImage(true);
9082
9594
  }, []);
9083
- return React__default.createElement(Container$D, Object.assign({}, {
9595
+
9596
+ var checkIfImageExists = function checkIfImageExists(url, imageExistsCallback) {
9597
+ var img = new Image();
9598
+ img.src = url;
9599
+
9600
+ if (img.complete) {
9601
+ imageExistsCallback(true);
9602
+ } else {
9603
+ img.onload = function () {
9604
+ imageExistsCallback(true);
9605
+ };
9606
+
9607
+ img.onerror = function () {
9608
+ imageExistsCallback(false);
9609
+ };
9610
+ }
9611
+ };
9612
+
9613
+ React.useEffect(function () {
9614
+ checkIfImageExists(image, function (exists) {
9615
+ if (exists) {
9616
+ setShowImage(true);
9617
+ } else {
9618
+ setShowImage(false);
9619
+ }
9620
+ });
9621
+ }, [image]);
9622
+ return React__default.createElement(Container$E, Object.assign({}, {
9084
9623
  hoverZoom: hoverZoom,
9085
9624
  mediaUrl: mediaUrl
9086
9625
  }, {
9087
9626
  aspect: '16:9',
9088
9627
  onClick: handleModal
9089
- }), React__default.createElement(Image$2, {
9628
+ }), showImage ? React__default.createElement(ImageWrapper, {
9090
9629
  ref: imgRef,
9091
9630
  src: imgSrc,
9092
9631
  onError: retryImage,
9093
- onLoad: onLoad,
9094
- showImage: showImage
9095
- }), mediaUrl && mediaType === 'video' && React__default.createElement(PlayableDrop, null, React__default.createElement(Icon, {
9632
+ onLoad: onLoad
9633
+ }) : React__default.createElement(NoImageWrapper, null, React__default.createElement(SvgNoImage, null)), mediaUrl && mediaType === 'video' && React__default.createElement(PlayableDrop, null, React__default.createElement(Icon, {
9096
9634
  size: 12,
9097
9635
  icon: 'Play',
9098
9636
  color: 'inverse'
9099
9637
  })));
9100
9638
  };
9101
9639
 
9102
- var _templateObject$W, _templateObject2$R;
9103
- var Container$E = styled__default.div(_templateObject$W || (_templateObject$W = _taggedTemplateLiteralLoose(["\n height: 42px;\n width: 4px;\n border-radius: 3px;\n display: block;\n\n ", "\n\n"])), function (_ref) {
9640
+ var _templateObject$X, _templateObject2$S;
9641
+ var Container$F = styled__default.div(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n height: 42px;\n width: 4px;\n border-radius: 3px;\n display: block;\n\n ", "\n\n"])), function (_ref) {
9104
9642
  var status = _ref.status,
9105
9643
  colors = _ref.theme.colors;
9106
- return styled.css(_templateObject2$R || (_templateObject2$R = _taggedTemplateLiteralLoose(["\n background: ", ";\n content:'", "';\n "])), colors.status[status], status);
9644
+ return styled.css(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteralLoose(["\n background: ", ";\n content:'", "';\n "])), colors.status[status], status);
9107
9645
  });
9108
9646
 
9109
9647
  var TypeTableDeviceStatus = function TypeTableDeviceStatus(_ref2) {
9110
9648
  var _ref2$status = _ref2.status,
9111
9649
  status = _ref2$status === void 0 ? 'neutral' : _ref2$status;
9112
- return React__default.createElement(Container$E, {
9650
+ return React__default.createElement(Container$F, {
9113
9651
  status: status
9114
9652
  });
9115
9653
  };
@@ -9145,35 +9683,35 @@ var useCopyToClipboard = function useCopyToClipboard() {
9145
9683
  };
9146
9684
  };
9147
9685
 
9148
- var _templateObject$X, _templateObject2$S, _templateObject3$K, _templateObject4$E, _templateObject5$B, _templateObject6$u, _templateObject7$t, _templateObject8$p, _templateObject9$k, _templateObject10$g, _templateObject11$b;
9149
- var CopyToClipboard = styled__default.button(_templateObject$X || (_templateObject$X = _taggedTemplateLiteralLoose(["\n\n cursor: pointer;\n opacity: 0;\n\n position: absolute;\n right: 0;\n top: 14px;\n width: 20px;\n height: 20px;\n background: transparent;\n border: none;\n outline: none;\n\n ", "\n\n svg {\n display: block;\n }\n\n &:hover {\n opacity: 1 !important;\n }\n\n"])), function (_ref) {
9686
+ var _templateObject$Y, _templateObject2$T, _templateObject3$M, _templateObject4$G, _templateObject5$C, _templateObject6$v, _templateObject7$u, _templateObject8$q, _templateObject9$l, _templateObject10$i, _templateObject11$c;
9687
+ var CopyToClipboard = styled__default.button(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n\n cursor: pointer;\n opacity: 0;\n\n position: absolute;\n right: 0;\n top: 14px;\n width: 20px;\n height: 20px;\n background: transparent;\n border: none;\n outline: none;\n\n ", "\n\n svg {\n display: block;\n }\n\n &:hover {\n opacity: 1 !important;\n }\n\n"])), function (_ref) {
9150
9688
  var theme = _ref.theme;
9151
- return theme && styled.css(_templateObject2$S || (_templateObject2$S = _taggedTemplateLiteralLoose(["\n transition: ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.easeOut);
9689
+ return theme && styled.css(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteralLoose(["\n transition: ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.easeOut);
9152
9690
  });
9153
- var CellContainer = styled__default.div(_templateObject3$K || (_templateObject3$K = _taggedTemplateLiteralLoose(["\n display: table-cell;\n height: 50px;\n vertical-align: middle;\n position: relative;\n line-height: 30px;\n font-family: ", ";\n\n &:hover ", "{\n opacity: 0.5;\n }\n\n &, a {\n ", "\n }\n\n a:hover {\n text-decoration: underline;\n }\n\n ", ";\n\n ", "\n"])), function (p) {
9691
+ var CellContainer = styled__default.div(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteralLoose(["\n display: table-cell;\n height: 50px;\n vertical-align: middle;\n position: relative;\n line-height: 30px;\n font-family: ", ";\n\n &:hover ", "{\n opacity: 0.5;\n }\n\n &, a {\n ", "\n }\n\n a:hover {\n text-decoration: underline;\n }\n\n ", ";\n\n ", "\n"])), function (p) {
9154
9692
  return p.theme.fontFamily.data;
9155
9693
  }, CopyToClipboard, function (_ref2) {
9156
9694
  var theme = _ref2.theme,
9157
9695
  cellStyle = _ref2.cellStyle,
9158
9696
  alignment = _ref2.alignment;
9159
- return cellStyle === 'firstColumn' ? styled.css(_templateObject4$E || (_templateObject4$E = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table.columnData[cellStyle]) : styled.css(_templateObject5$B || (_templateObject5$B = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table.columnData[cellStyle][alignment]);
9697
+ return cellStyle === 'firstColumn' ? styled.css(_templateObject4$G || (_templateObject4$G = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table.columnData[cellStyle]) : styled.css(_templateObject5$C || (_templateObject5$C = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table.columnData[cellStyle][alignment]);
9160
9698
  }, function (_ref3) {
9161
9699
  var hasCopyButton = _ref3.hasCopyButton;
9162
- return hasCopyButton && styled.css(_templateObject6$u || (_templateObject6$u = _taggedTemplateLiteralLoose(["\n padding-right: 20px;\n "])));
9700
+ return hasCopyButton && styled.css(_templateObject6$v || (_templateObject6$v = _taggedTemplateLiteralLoose(["\n padding-right: 20px;\n "])));
9163
9701
  }, function (_ref4) {
9164
9702
  var styles = _ref4.theme.styles,
9165
9703
  hideDivider = _ref4.hideDivider;
9166
- return !hideDivider && styled.css(_templateObject7$t || (_templateObject7$t = _taggedTemplateLiteralLoose(["\n &::after {\n ", ";\n content: '';\n display: block;\n height: 1px;\n left: 0;\n right: 0;\n width: 100%;\n bottom: 0px;\n position: absolute;\n }\n "])), styles.tables.rows.divider);
9704
+ return !hideDivider && styled.css(_templateObject7$u || (_templateObject7$u = _taggedTemplateLiteralLoose(["\n &::after {\n ", ";\n content: '';\n display: block;\n height: 1px;\n left: 0;\n right: 0;\n width: 100%;\n bottom: 0px;\n position: absolute;\n }\n "])), styles.tables.rows.divider);
9167
9705
  });
9168
- var UnitText = styled__default.span(_templateObject8$p || (_templateObject8$p = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref5) {
9706
+ var UnitText = styled__default.span(_templateObject8$q || (_templateObject8$q = _taggedTemplateLiteralLoose(["\n ", "\n"])), function (_ref5) {
9169
9707
  var theme = _ref5.theme;
9170
- return styled.css(_templateObject9$k || (_templateObject9$k = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table.columnData['unit']);
9708
+ return styled.css(_templateObject9$l || (_templateObject9$l = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table.columnData['unit']);
9171
9709
  });
9172
- var StatusBlip = styled__default.div(_templateObject10$g || (_templateObject10$g = _taggedTemplateLiteralLoose(["\n display: inline-block;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 8px;\n ", "\n"])), function (_ref6) {
9710
+ var StatusBlip = styled__default.div(_templateObject10$i || (_templateObject10$i = _taggedTemplateLiteralLoose(["\n display: inline-block;\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 8px;\n ", "\n"])), function (_ref6) {
9173
9711
  var _ref6$status = _ref6.status,
9174
9712
  status = _ref6$status === void 0 ? 'neutral' : _ref6$status,
9175
9713
  colors = _ref6.theme.colors;
9176
- return styled.css(_templateObject11$b || (_templateObject11$b = _taggedTemplateLiteralLoose(["\n background: ", ";\n "])), colors.status[status]);
9714
+ return styled.css(_templateObject11$c || (_templateObject11$c = _taggedTemplateLiteralLoose(["\n background: ", ";\n "])), colors.status[status]);
9177
9715
  });
9178
9716
 
9179
9717
  var TypeTableCell = function TypeTableCell(_ref7) {
@@ -9217,14 +9755,14 @@ var TypeTableCell = function TypeTableCell(_ref7) {
9217
9755
  })) : null);
9218
9756
  };
9219
9757
 
9220
- var _templateObject$Y, _templateObject2$T;
9221
- var RowContainer = styled__default.div(_templateObject$Y || (_templateObject$Y = _taggedTemplateLiteralLoose(["\n display: table-row;\n ", ";\n"])), function (_ref) {
9758
+ var _templateObject$Z, _templateObject2$U;
9759
+ var RowContainer = styled__default.div(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n display: table-row;\n ", ";\n"])), function (_ref) {
9222
9760
  var isEmpty = _ref.isEmpty;
9223
- return isEmpty && styled.css(_templateObject2$T || (_templateObject2$T = _taggedTemplateLiteralLoose(["\n visibility: hidden;\n "])));
9761
+ return isEmpty && styled.css(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteralLoose(["\n visibility: hidden;\n "])));
9224
9762
  });
9225
9763
 
9226
9764
  var TypeTableRow = function TypeTableRow(_ref2) {
9227
- var _rowData$header, _rowData$header2, _rowData$header3, _rowData$header4, _rowData$header5, _rowData$header6;
9765
+ var _rowData$header, _rowData$header2, _rowData$header3, _rowData$header4, _rowData$header5;
9228
9766
 
9229
9767
  var _ref2$selectable = _ref2.selectable,
9230
9768
  selectable = _ref2$selectable === void 0 ? false : _ref2$selectable,
@@ -9234,7 +9772,8 @@ var TypeTableRow = function TypeTableRow(_ref2) {
9234
9772
  hasTypeIcon = _ref2.hasTypeIcon,
9235
9773
  rowData = _ref2.rowData,
9236
9774
  isLastRow = _ref2.isLastRow,
9237
- columnConfig = _ref2.columnConfig;
9775
+ columnConfig = _ref2.columnConfig,
9776
+ closeText = _ref2.closeText;
9238
9777
  var wrappedSelectCallback = React.useCallback(function (checked) {
9239
9778
  if (selectCallback) {
9240
9779
  selectCallback(checked, rowData.id);
@@ -9258,11 +9797,11 @@ var TypeTableRow = function TypeTableRow(_ref2) {
9258
9797
  image: (_rowData$header2 = rowData.header) === null || _rowData$header2 === void 0 ? void 0 : _rowData$header2.image,
9259
9798
  mediaUrl: (_rowData$header3 = rowData.header) === null || _rowData$header3 === void 0 ? void 0 : _rowData$header3.mediaUrl,
9260
9799
  mediaType: (_rowData$header4 = rowData.header) === null || _rowData$header4 === void 0 ? void 0 : _rowData$header4.mediaType,
9261
- retryImageLoad: (_rowData$header5 = rowData.header) === null || _rowData$header5 === void 0 ? void 0 : _rowData$header5.retryImageLoad
9800
+ closeText: closeText
9262
9801
  })) : null, hasTypeIcon ? React__default.createElement(TypeTableCell, {
9263
9802
  hideDivider: true
9264
9803
  }, React__default.createElement(Icon, {
9265
- icon: ((_rowData$header6 = rowData.header) === null || _rowData$header6 === void 0 ? void 0 : _rowData$header6.icon) || '',
9804
+ icon: ((_rowData$header5 = rowData.header) === null || _rowData$header5 === void 0 ? void 0 : _rowData$header5.icon) || '',
9266
9805
  color: 'dimmed',
9267
9806
  weight: 'regular',
9268
9807
  size: 16
@@ -9293,17 +9832,17 @@ var TypeTableRow = function TypeTableRow(_ref2) {
9293
9832
  }));
9294
9833
  };
9295
9834
 
9296
- var _templateObject$Z, _templateObject2$U, _templateObject3$L, _templateObject4$F;
9297
- var HeaderTitle = styled__default.div(_templateObject$Z || (_templateObject$Z = _taggedTemplateLiteralLoose(["\n border-bottom-right-radius: 3px;\n border-top-right-radius: 3px;\n display: inline-flex;\n justify-content: center;\n align-content: center;\n position: relative;\n padding: 0 2px;\n user-select: none;\n z-index: 99;\n\n ", " {\n position: absolute;\n top: 0px;\n left: -15px;\n display: none;\n border-bottom-left-radius: 3px;\n border-top-left-radius: 3px;\n padding: 3px 1px;\n\n ", "\n }\n\n ", "\n\n ", "\n"])), IconWrapper, function (_ref) {
9835
+ var _templateObject$_, _templateObject2$V, _templateObject3$N, _templateObject4$H;
9836
+ var HeaderTitle = styled__default.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n border-bottom-right-radius: 3px;\n border-top-right-radius: 3px;\n display: inline-flex;\n justify-content: center;\n align-content: center;\n position: relative;\n padding: 0 2px;\n user-select: none;\n z-index: 99;\n\n ", " {\n position: absolute;\n top: 0px;\n left: -15px;\n display: none;\n border-bottom-left-radius: 3px;\n border-top-left-radius: 3px;\n padding: 3px 1px;\n\n ", "\n }\n\n ", "\n\n ", "\n"])), IconWrapper, function (_ref) {
9298
9837
  var ascending = _ref.ascending;
9299
- return ascending && styled.css(_templateObject2$U || (_templateObject2$U = _taggedTemplateLiteralLoose(["\n transform: rotate(180deg);\n border-bottom-right-radius: 3px;\n border-top-right-radius: 3px;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n top: 0;\n "])));
9838
+ return ascending && styled.css(_templateObject2$V || (_templateObject2$V = _taggedTemplateLiteralLoose(["\n transform: rotate(180deg);\n border-bottom-right-radius: 3px;\n border-top-right-radius: 3px;\n border-bottom-left-radius: 0;\n border-top-left-radius: 0;\n top: 0;\n "])));
9300
9839
  }, function (_ref2) {
9301
9840
  var isSortActive = _ref2.isSortActive;
9302
- return isSortActive && styled.css(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteralLoose(["\n &:not(hover) {\n ", " {\n display: inline-flex;\n }\n }\n "])), IconWrapper);
9841
+ return isSortActive && styled.css(_templateObject3$N || (_templateObject3$N = _taggedTemplateLiteralLoose(["\n &:not(hover) {\n ", " {\n display: inline-flex;\n }\n }\n "])), IconWrapper);
9303
9842
  }, function (_ref3) {
9304
9843
  var styles = _ref3.theme.styles,
9305
9844
  sortable = _ref3.sortable;
9306
- return sortable && styled.css(_templateObject4$F || (_templateObject4$F = _taggedTemplateLiteralLoose(["\n\n ", ";\n\n &:hover {\n cursor: pointer;\n ", ";\n\n ", " {\n ", ";\n display: inline-flex;\n }\n }\n "])), styles.tables.header.sortable["default"], styles.tables.header.sortable.hover, IconWrapper, styles.tables.header.sortable.hover);
9845
+ return sortable && styled.css(_templateObject4$H || (_templateObject4$H = _taggedTemplateLiteralLoose(["\n\n ", ";\n\n &:hover {\n cursor: pointer;\n ", ";\n\n ", " {\n ", ";\n display: inline-flex;\n }\n }\n "])), styles.tables.header.sortable["default"], styles.tables.header.sortable.hover, IconWrapper, styles.tables.header.sortable.hover);
9307
9846
  });
9308
9847
 
9309
9848
  var TableHeaderTitle = function TableHeaderTitle(_ref4) {
@@ -9333,45 +9872,45 @@ var TableHeaderTitle = function TableHeaderTitle(_ref4) {
9333
9872
  }), header);
9334
9873
  };
9335
9874
 
9336
- var _templateObject$_, _templateObject2$V, _templateObject3$M, _templateObject4$G, _templateObject5$C, _templateObject6$v, _templateObject7$u, _templateObject8$q, _templateObject9$l, _templateObject10$h, _templateObject11$c, _templateObject12$8, _templateObject13$6, _templateObject14$4, _templateObject15$3, _templateObject16$3, _templateObject17$3;
9337
- var HeaderRow = styled__default.div(_templateObject$_ || (_templateObject$_ = _taggedTemplateLiteralLoose(["\n display: table-row;\n height: 50px;\n"])));
9338
- var HeaderItem = styled__default.div(_templateObject2$V || (_templateObject2$V = _taggedTemplateLiteralLoose(["\n display: table-cell;\n height: inherit;\n vertical-align:top;\n line-height: 20px;\n position: relative;\n font-family: ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (p) {
9875
+ var _templateObject$$, _templateObject2$W, _templateObject3$O, _templateObject4$I, _templateObject5$D, _templateObject6$w, _templateObject7$v, _templateObject8$r, _templateObject9$m, _templateObject10$j, _templateObject11$d, _templateObject12$a, _templateObject13$8, _templateObject14$6, _templateObject15$4, _templateObject16$4, _templateObject17$4;
9876
+ var HeaderRow = styled__default.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose(["\n display: table-row;\n height: 50px;\n"])));
9877
+ var HeaderItem = styled__default.div(_templateObject2$W || (_templateObject2$W = _taggedTemplateLiteralLoose(["\n display: table-cell;\n height: inherit;\n vertical-align:top;\n line-height: 20px;\n position: relative;\n font-family: ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (p) {
9339
9878
  return p.theme.fontFamily.ui;
9340
9879
  }, function (_ref) {
9341
9880
  var hasCopyButton = _ref.hasCopyButton;
9342
- return hasCopyButton && styled.css(_templateObject3$M || (_templateObject3$M = _taggedTemplateLiteralLoose(["\n padding-right: 20px;\n "])));
9881
+ return hasCopyButton && styled.css(_templateObject3$O || (_templateObject3$O = _taggedTemplateLiteralLoose(["\n padding-right: 20px;\n "])));
9343
9882
  }, function (_ref2) {
9344
9883
  var theme = _ref2.theme,
9345
9884
  alignment = _ref2.alignment,
9346
9885
  headerStyle = _ref2.headerStyle;
9347
- return alignment ? styled.css(_templateObject4$G || (_templateObject4$G = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table[headerStyle][alignment]) : styled.css(_templateObject5$C || (_templateObject5$C = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table[headerStyle]['left']);
9886
+ return alignment ? styled.css(_templateObject4$I || (_templateObject4$I = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table[headerStyle][alignment]) : styled.css(_templateObject5$D || (_templateObject5$D = _taggedTemplateLiteralLoose(["\n ", ";\n "])), theme.typography.table[headerStyle]['left']);
9348
9887
  }, function (p) {
9349
- return p.fixedWidth && styled.css(_templateObject6$v || (_templateObject6$v = _taggedTemplateLiteralLoose(["\n width: ", "px;\n "])), p.fixedWidth);
9888
+ return p.fixedWidth && styled.css(_templateObject6$w || (_templateObject6$w = _taggedTemplateLiteralLoose(["\n width: ", "px;\n "])), p.fixedWidth);
9350
9889
  }, function (_ref3) {
9351
9890
  var minWidth = _ref3.minWidth;
9352
- return minWidth && styled.css(_templateObject7$u || (_templateObject7$u = _taggedTemplateLiteralLoose(["\n min-width:", "px;\n "])), minWidth);
9891
+ return minWidth && styled.css(_templateObject7$v || (_templateObject7$v = _taggedTemplateLiteralLoose(["\n min-width:", "px;\n "])), minWidth);
9353
9892
  }, function (_ref4) {
9354
9893
  var styles = _ref4.theme.styles,
9355
9894
  headerStyle = _ref4.headerStyle,
9356
9895
  isSortActive = _ref4.isSortActive;
9357
- return headerStyle === 'subHeader' && styled.css(_templateObject8$q || (_templateObject8$q = _taggedTemplateLiteralLoose(["\n padding-bottom: 15px;\n\n &::after {\n ", ";\n content: '';\n display: block;\n height: 1px;\n left: ", ";\n right: 0;\n width: ", ";\n bottom: 0px;\n position: absolute;\n }\n"])), styles.tables.header.divider, isSortActive ? '-15px' : '0', isSortActive ? 'calc(100% + 15px)' : '100%');
9896
+ return headerStyle === 'subHeader' && styled.css(_templateObject8$r || (_templateObject8$r = _taggedTemplateLiteralLoose(["\n padding-bottom: 15px;\n\n &::after {\n ", ";\n content: '';\n display: block;\n height: 1px;\n left: ", ";\n right: 0;\n width: ", ";\n bottom: 0px;\n position: absolute;\n }\n"])), styles.tables.header.divider, isSortActive ? '-15px' : '0', isSortActive ? 'calc(100% + 15px)' : '100%');
9358
9897
  });
9359
- var TitleItems = styled__default.div(_templateObject9$l || (_templateObject9$l = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n ", ";\n"])), function (_ref5) {
9898
+ var TitleItems = styled__default.div(_templateObject9$m || (_templateObject9$m = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n ", ";\n"])), function (_ref5) {
9360
9899
  var alignment = _ref5.alignment;
9361
- return alignment && styled.css(_templateObject10$h || (_templateObject10$h = _taggedTemplateLiteralLoose(["\n ", ";\n ", ";\n "])), alignment === 'right' ? 'align-items: flex-end' : null, alignment === 'center' ? 'align-items: center' : null);
9900
+ return alignment && styled.css(_templateObject10$j || (_templateObject10$j = _taggedTemplateLiteralLoose(["\n ", ";\n ", ";\n "])), alignment === 'right' ? 'align-items: flex-end' : null, alignment === 'center' ? 'align-items: center' : null);
9362
9901
  });
9363
- var GroupTitle = styled__default.div(_templateObject11$c || (_templateObject11$c = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n align-self: stretch;\n margin-bottom: 4px;\n"])));
9364
- var Title$4 = styled__default.div(_templateObject12$8 || (_templateObject12$8 = _taggedTemplateLiteralLoose(["\n ", ";\n padding-left: 2px;\n padding-right: 8px;\n white-space: nowrap;\n"])), function (_ref6) {
9902
+ var GroupTitle = styled__default.div(_templateObject11$d || (_templateObject11$d = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n align-self: stretch;\n margin-bottom: 4px;\n"])));
9903
+ var Title$4 = styled__default.div(_templateObject12$a || (_templateObject12$a = _taggedTemplateLiteralLoose(["\n ", ";\n padding-left: 2px;\n padding-right: 8px;\n white-space: nowrap;\n"])), function (_ref6) {
9365
9904
  var typography = _ref6.theme.typography;
9366
- return styled.css(_templateObject13$6 || (_templateObject13$6 = _taggedTemplateLiteralLoose(["\n ", ";\n "])), typography.tables.groupName);
9905
+ return styled.css(_templateObject13$8 || (_templateObject13$8 = _taggedTemplateLiteralLoose(["\n ", ";\n "])), typography.tables.groupName);
9367
9906
  });
9368
- var EmptyTitle = styled__default.div(_templateObject14$4 || (_templateObject14$4 = _taggedTemplateLiteralLoose(["\n height: 20px;\n"])));
9369
- var MiddleLine = styled__default.div(_templateObject15$3 || (_templateObject15$3 = _taggedTemplateLiteralLoose(["\n ", ";\n\n height: 1px;\n flex: 1;\n ", ";\n"])), function (_ref7) {
9907
+ var EmptyTitle = styled__default.div(_templateObject14$6 || (_templateObject14$6 = _taggedTemplateLiteralLoose(["\n height: 20px;\n"])));
9908
+ var MiddleLine = styled__default.div(_templateObject15$4 || (_templateObject15$4 = _taggedTemplateLiteralLoose(["\n ", ";\n\n height: 1px;\n flex: 1;\n ", ";\n"])), function (_ref7) {
9370
9909
  var styles = _ref7.theme.styles;
9371
- return styled.css(_templateObject16$3 || (_templateObject16$3 = _taggedTemplateLiteralLoose(["\n ", ";\n "])), styles.tables.header.groupLine);
9910
+ return styled.css(_templateObject16$4 || (_templateObject16$4 = _taggedTemplateLiteralLoose(["\n ", ";\n "])), styles.tables.header.groupLine);
9372
9911
  }, function (_ref8) {
9373
9912
  var isLastOfGroup = _ref8.isLastOfGroup;
9374
- return isLastOfGroup && styled.css(_templateObject17$3 || (_templateObject17$3 = _taggedTemplateLiteralLoose(["\n margin-right: 15px;\n "])));
9913
+ return isLastOfGroup && styled.css(_templateObject17$4 || (_templateObject17$4 = _taggedTemplateLiteralLoose(["\n margin-right: 15px;\n "])));
9375
9914
  });
9376
9915
 
9377
9916
  var renderGroupHeader = function renderGroupHeader(columnConfig, index) {
@@ -9502,15 +10041,15 @@ var TypeTableHeader = function TypeTableHeader(_ref9) {
9502
10041
  }));
9503
10042
  };
9504
10043
 
9505
- var _templateObject$$, _templateObject2$W, _templateObject3$N, _templateObject4$H, _templateObject5$D;
9506
- var Container$F = styled__default.div(_templateObject$$ || (_templateObject$$ = _taggedTemplateLiteralLoose([""])));
9507
- var TableContainer = styled__default.div(_templateObject2$W || (_templateObject2$W = _taggedTemplateLiteralLoose(["\n display: table;\n width: 100%;\n position: relative;\n"])));
9508
- var LoadingText$1 = styled__default.div(_templateObject3$N || (_templateObject3$N = _taggedTemplateLiteralLoose(["\n color: var(--grey-a11);\n"])));
9509
- var LoadingBox$1 = styled__default.div(_templateObject4$H || (_templateObject4$H = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n z-index: 99;\n background-color: ", ";\n height: calc(100% - 50px);\n width: 100%;\n min-height: 100px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 20px;\n\n ", " {\n margin-top: 10px;\n }\n"])), function (_ref) {
10044
+ var _templateObject$10, _templateObject2$X, _templateObject3$P, _templateObject4$J, _templateObject5$E;
10045
+ var Container$G = styled__default.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteralLoose([""])));
10046
+ var TableContainer = styled__default.div(_templateObject2$X || (_templateObject2$X = _taggedTemplateLiteralLoose(["\n display: table;\n width: 100%;\n position: relative;\n"])));
10047
+ var LoadingText$1 = styled__default.div(_templateObject3$P || (_templateObject3$P = _taggedTemplateLiteralLoose(["\n color: var(--grey-a11);\n"])));
10048
+ var LoadingBox$1 = styled__default.div(_templateObject4$J || (_templateObject4$J = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n z-index: 99;\n background-color: ", ";\n height: calc(100% - 50px);\n opacity: 85%;\n width: 100%;\n min-height: 100px;\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding: 20px;\n\n ", " {\n margin-top: 10px;\n }\n"])), function (_ref) {
9510
10049
  var theme = _ref.theme;
9511
- return theme.styles.tables.loadingOverlay;
10050
+ return theme.colors["pureBase"];
9512
10051
  }, LoadingText$1);
9513
- var EmptyTableBox = styled__default.div(_templateObject5$D || (_templateObject5$D = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n z-index: 99;\n padding: 20px;\n width: 100%;\n min-height: 100px;\n text-align: center;\n h3 {\n font-weight: 500;\n color: var(--grey-11);\n }\n color: var(--grey-10);\n"])));
10052
+ var EmptyTableBox = styled__default.div(_templateObject5$E || (_templateObject5$E = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n z-index: 99;\n padding: 20px;\n width: 100%;\n min-height: 100px;\n text-align: center;\n h3 {\n font-weight: 500;\n color: var(--grey-11);\n }\n color: var(--grey-10);\n"])));
9514
10053
 
9515
10054
  var isChecked = function isChecked(_ref2) {
9516
10055
  var _ref2$_checked = _ref2._checked,
@@ -9524,6 +10063,7 @@ var TypeTable = function TypeTable(_ref3) {
9524
10063
  selectable = _ref3.selectable,
9525
10064
  _ref3$rows = _ref3.rows,
9526
10065
  rows = _ref3$rows === void 0 ? [] : _ref3$rows,
10066
+ closeText = _ref3.closeText,
9527
10067
  _ref3$hasStatus = _ref3.hasStatus,
9528
10068
  hasStatus = _ref3$hasStatus === void 0 ? false : _ref3$hasStatus,
9529
10069
  _ref3$hasThumbnail = _ref3.hasThumbnail,
@@ -9563,7 +10103,7 @@ var TypeTable = function TypeTable(_ref3) {
9563
10103
 
9564
10104
  setAllChecked(areAllChecked);
9565
10105
  }, [isEmptyTable, rows]);
9566
- return React__default.createElement(Container$F, null, React__default.createElement(TableContainer, null, React__default.createElement(TypeTableHeader, Object.assign({}, {
10106
+ return React__default.createElement(Container$G, null, React__default.createElement(TableContainer, null, React__default.createElement(TypeTableHeader, Object.assign({}, {
9567
10107
  selectable: selectable,
9568
10108
  hasStatus: hasStatus,
9569
10109
  hasThumbnail: hasThumbnail,
@@ -9591,29 +10131,30 @@ var TypeTable = function TypeTable(_ref3) {
9591
10131
  columnConfig: columnConfig,
9592
10132
  hasStatus: hasStatus,
9593
10133
  hasThumbnail: hasThumbnail,
9594
- hasTypeIcon: hasTypeIcon
10134
+ hasTypeIcon: hasTypeIcon,
10135
+ closeText: closeText
9595
10136
  }));
9596
10137
  })));
9597
10138
  };
9598
10139
 
9599
10140
  var _excluded$y = ["type", "placeholder", "defaultValue", "rowKey", "alignment", "toLink", "saveCallback"];
9600
10141
 
9601
- var _templateObject$10, _templateObject2$X, _templateObject3$O, _templateObject4$I, _templateObject5$E, _templateObject6$w, _templateObject7$v, _templateObject8$r, _templateObject9$m, _templateObject10$i;
9602
- var Container$G = styled__default.div(_templateObject$10 || (_templateObject$10 = _taggedTemplateLiteralLoose(["\n position: relative;\n ", "\n"])), function (_ref) {
10142
+ var _templateObject$11, _templateObject2$Y, _templateObject3$Q, _templateObject4$K, _templateObject5$F, _templateObject6$x, _templateObject7$w, _templateObject8$s, _templateObject9$n, _templateObject10$k;
10143
+ var Container$H = styled__default.div(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n position: relative;\n ", "\n"])), function (_ref) {
9603
10144
  var theme = _ref.theme;
9604
- return styled.css(_templateObject2$X || (_templateObject2$X = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n "])), theme.fontFamily.ui);
9605
- });
9606
- var StyledButton$4 = styled__default(Button)(_templateObject3$O || (_templateObject3$O = _taggedTemplateLiteralLoose(["\n flex-shrink: 0;\n"])));
9607
- var StyledLoadingButton = styled__default(ButtonWithLoading)(_templateObject4$I || (_templateObject4$I = _taggedTemplateLiteralLoose(["\n flex-shrink: 0;\n"])));
9608
- var StyledLink = styled__default(reactRouterDom.Link)(_templateObject5$E || (_templateObject5$E = _taggedTemplateLiteralLoose(["\n color: inherit;\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n"])));
9609
- var EditContainer = styled__default.div(_templateObject6$w || (_templateObject6$w = _taggedTemplateLiteralLoose(["\n min-width: 320px;\n background-color: var(--gray-2);\n z-index: 99;\n position: absolute;\n bottom: -15px;\n left: -11px;\n display: flex;\n align-items: center;\n justify-content: center;\n ", " {\n margin:0;\n span {\n margin: 0;\n }\n }\n ", " {\n margin-left: 5px;\n }\n ", " {\n margin-left: 5px;\n }\n"])), StyledLabel, StyledButton$4, StyledLoadingButton);
9610
- var StyledIconButton$1 = styled__default(IconButton$2)(_templateObject7$v || (_templateObject7$v = _taggedTemplateLiteralLoose([""])));
9611
- var TextContainer$2 = styled__default.div(_templateObject8$r || (_templateObject8$r = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-right: 18px;\n\n ", "\n\n ", "\n\n ", " {\n opacity: 0;\n position: absolute;\n top: 7px;\n right: 0;\n };\n\n &:hover {\n ", " {\n opacity: 1;\n };\n }\n"])), function (_ref2) {
10145
+ return styled.css(_templateObject2$Y || (_templateObject2$Y = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n "])), theme.fontFamily.ui);
10146
+ });
10147
+ var StyledButton$4 = styled__default(Button)(_templateObject3$Q || (_templateObject3$Q = _taggedTemplateLiteralLoose(["\n flex-shrink: 0;\n"])));
10148
+ var StyledLoadingButton = styled__default(ButtonWithLoading)(_templateObject4$K || (_templateObject4$K = _taggedTemplateLiteralLoose(["\n flex-shrink: 0;\n"])));
10149
+ var StyledLink = styled__default(reactRouterDom.Link)(_templateObject5$F || (_templateObject5$F = _taggedTemplateLiteralLoose(["\n color: inherit;\n text-decoration: none;\n\n &:hover {\n text-decoration: underline;\n }\n"])));
10150
+ var EditContainer = styled__default.div(_templateObject6$x || (_templateObject6$x = _taggedTemplateLiteralLoose(["\n min-width: 320px;\n background-color: var(--gray-2);\n z-index: 99;\n position: absolute;\n bottom: -15px;\n left: -11px;\n display: flex;\n align-items: center;\n justify-content: center;\n ", " {\n margin:0;\n span {\n margin: 0;\n }\n }\n ", " {\n margin-left: 5px;\n }\n ", " {\n margin-left: 5px;\n }\n"])), StyledLabel, StyledButton$4, StyledLoadingButton);
10151
+ var StyledIconButton$1 = styled__default(IconButton$2)(_templateObject7$w || (_templateObject7$w = _taggedTemplateLiteralLoose([""])));
10152
+ var TextContainer$2 = styled__default.div(_templateObject8$s || (_templateObject8$s = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding-right: 18px;\n\n ", "\n\n ", "\n\n ", " {\n opacity: 0;\n position: absolute;\n top: 7px;\n right: 0;\n };\n\n &:hover {\n ", " {\n opacity: 1;\n };\n }\n"])), function (_ref2) {
9612
10153
  var alignment = _ref2.alignment;
9613
- return alignment === 'center' && styled.css(_templateObject9$m || (_templateObject9$m = _taggedTemplateLiteralLoose(["\n justify-content: center;\n "])));
10154
+ return alignment === 'center' && styled.css(_templateObject9$n || (_templateObject9$n = _taggedTemplateLiteralLoose(["\n justify-content: center;\n "])));
9614
10155
  }, function (_ref3) {
9615
10156
  var alignment = _ref3.alignment;
9616
- return alignment === 'right' && styled.css(_templateObject10$i || (_templateObject10$i = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n"])));
10157
+ return alignment === 'right' && styled.css(_templateObject10$k || (_templateObject10$k = _taggedTemplateLiteralLoose(["\n justify-content: flex-end;\n"])));
9617
10158
  }, StyledIconButton$1, StyledIconButton$1);
9618
10159
 
9619
10160
  var EditCell = function EditCell(_ref4) {
@@ -9694,7 +10235,7 @@ var EditCell = function EditCell(_ref4) {
9694
10235
  };
9695
10236
 
9696
10237
  useClickOutside(editContainerRef, onClickOutsideEdit);
9697
- return React__default.createElement(Container$G, null, isEditMode ? React__default.createElement(EditContainer, {
10238
+ return React__default.createElement(Container$H, null, isEditMode ? React__default.createElement(EditContainer, {
9698
10239
  ref: editContainerRef
9699
10240
  }, React__default.createElement(SmallInput, Object.assign({}, props, {
9700
10241
  autoFocus: true,
@@ -10066,16 +10607,16 @@ var PTZProvider = function PTZProvider(_ref) {
10066
10607
  }, children);
10067
10608
  };
10068
10609
 
10069
- var _templateObject$11, _templateObject2$Y, _templateObject3$P, _templateObject4$J, _templateObject5$F;
10070
- var Active = styled__default.g(_templateObject$11 || (_templateObject$11 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
10610
+ var _templateObject$12, _templateObject2$Z, _templateObject3$R, _templateObject4$L, _templateObject5$G;
10611
+ var Active = styled__default.g(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
10071
10612
  var active = _ref.active;
10072
- return active && styled.css(_templateObject2$Y || (_templateObject2$Y = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10613
+ return active && styled.css(_templateObject2$Z || (_templateObject2$Z = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10073
10614
  });
10074
- var Hover = styled__default.g(_templateObject3$P || (_templateObject3$P = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
10615
+ var Hover = styled__default.g(_templateObject3$R || (_templateObject3$R = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
10075
10616
  var hover = _ref2.hover;
10076
- return hover && styled.css(_templateObject4$J || (_templateObject4$J = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10617
+ return hover && styled.css(_templateObject4$L || (_templateObject4$L = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10077
10618
  });
10078
- var Container$H = styled__default.g(_templateObject5$F || (_templateObject5$F = _taggedTemplateLiteralLoose(["\n"])));
10619
+ var Container$I = styled__default.g(_templateObject5$G || (_templateObject5$G = _taggedTemplateLiteralLoose(["\n"])));
10079
10620
 
10080
10621
  var Up = function Up() {
10081
10622
  var _useState = React.useState(false),
@@ -10104,7 +10645,7 @@ var Up = function Up() {
10104
10645
  var hoverEnd = React.useCallback(function () {
10105
10646
  setHover(false);
10106
10647
  }, []);
10107
- return React__default.createElement(Container$H, {
10648
+ return React__default.createElement(Container$I, {
10108
10649
  onMouseEnter: hoverStart,
10109
10650
  onMouseLeave: hoverEnd,
10110
10651
  onMouseDown: activeStart,
@@ -10148,17 +10689,17 @@ var Up = function Up() {
10148
10689
  })));
10149
10690
  };
10150
10691
 
10151
- var _templateObject$12, _templateObject2$Z, _templateObject3$Q, _templateObject4$K, _templateObject5$G, _templateObject6$x;
10152
- var Active$1 = styled__default.g(_templateObject$12 || (_templateObject$12 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
10692
+ var _templateObject$13, _templateObject2$_, _templateObject3$S, _templateObject4$M, _templateObject5$H, _templateObject6$y;
10693
+ var Active$1 = styled__default.g(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
10153
10694
  var active = _ref.active;
10154
- return active && styled.css(_templateObject2$Z || (_templateObject2$Z = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10695
+ return active && styled.css(_templateObject2$_ || (_templateObject2$_ = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10155
10696
  });
10156
- var Hover$1 = styled__default.g(_templateObject3$Q || (_templateObject3$Q = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
10697
+ var Hover$1 = styled__default.g(_templateObject3$S || (_templateObject3$S = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
10157
10698
  var hover = _ref2.hover;
10158
- return hover && styled.css(_templateObject4$K || (_templateObject4$K = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10699
+ return hover && styled.css(_templateObject4$M || (_templateObject4$M = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10159
10700
  });
10160
- var Container$I = styled__default.g(_templateObject5$G || (_templateObject5$G = _taggedTemplateLiteralLoose(["\n"])));
10161
- var Arrow = styled__default.g(_templateObject6$x || (_templateObject6$x = _taggedTemplateLiteralLoose(["\n\n"])));
10701
+ var Container$J = styled__default.g(_templateObject5$H || (_templateObject5$H = _taggedTemplateLiteralLoose(["\n"])));
10702
+ var Arrow = styled__default.g(_templateObject6$y || (_templateObject6$y = _taggedTemplateLiteralLoose(["\n\n"])));
10162
10703
 
10163
10704
  var Down = function Down() {
10164
10705
  var _useState = React.useState(false),
@@ -10187,7 +10728,7 @@ var Down = function Down() {
10187
10728
  var hoverEnd = React.useCallback(function () {
10188
10729
  setHover(false);
10189
10730
  }, []);
10190
- return React__default.createElement(Container$I, {
10731
+ return React__default.createElement(Container$J, {
10191
10732
  onMouseEnter: hoverStart,
10192
10733
  onMouseLeave: hoverEnd,
10193
10734
  onMouseDown: activeStart,
@@ -10232,16 +10773,16 @@ var Down = function Down() {
10232
10773
  })));
10233
10774
  };
10234
10775
 
10235
- var _templateObject$13, _templateObject2$_, _templateObject3$R, _templateObject4$L, _templateObject5$H;
10236
- var Active$2 = styled__default.g(_templateObject$13 || (_templateObject$13 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
10776
+ var _templateObject$14, _templateObject2$$, _templateObject3$T, _templateObject4$N, _templateObject5$I;
10777
+ var Active$2 = styled__default.g(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
10237
10778
  var active = _ref.active;
10238
- return active && styled.css(_templateObject2$_ || (_templateObject2$_ = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10779
+ return active && styled.css(_templateObject2$$ || (_templateObject2$$ = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10239
10780
  });
10240
- var Hover$2 = styled__default.g(_templateObject3$R || (_templateObject3$R = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
10781
+ var Hover$2 = styled__default.g(_templateObject3$T || (_templateObject3$T = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
10241
10782
  var hover = _ref2.hover;
10242
- return hover && styled.css(_templateObject4$L || (_templateObject4$L = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10783
+ return hover && styled.css(_templateObject4$N || (_templateObject4$N = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10243
10784
  });
10244
- var Container$J = styled__default.g(_templateObject5$H || (_templateObject5$H = _taggedTemplateLiteralLoose(["\n"])));
10785
+ var Container$K = styled__default.g(_templateObject5$I || (_templateObject5$I = _taggedTemplateLiteralLoose(["\n"])));
10245
10786
 
10246
10787
  var Left = function Left() {
10247
10788
  var _useState = React.useState(false),
@@ -10270,7 +10811,7 @@ var Left = function Left() {
10270
10811
  var hoverEnd = React.useCallback(function () {
10271
10812
  setHover(false);
10272
10813
  }, []);
10273
- return React__default.createElement(Container$J, {
10814
+ return React__default.createElement(Container$K, {
10274
10815
  onMouseEnter: hoverStart,
10275
10816
  onMouseLeave: hoverEnd,
10276
10817
  onMouseDown: activeStart,
@@ -10316,16 +10857,16 @@ var Left = function Left() {
10316
10857
  })));
10317
10858
  };
10318
10859
 
10319
- var _templateObject$14, _templateObject2$$, _templateObject3$S, _templateObject4$M, _templateObject5$I;
10320
- var Active$3 = styled__default.g(_templateObject$14 || (_templateObject$14 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
10860
+ var _templateObject$15, _templateObject2$10, _templateObject3$U, _templateObject4$O, _templateObject5$J;
10861
+ var Active$3 = styled__default.g(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
10321
10862
  var active = _ref.active;
10322
- return active && styled.css(_templateObject2$$ || (_templateObject2$$ = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10863
+ return active && styled.css(_templateObject2$10 || (_templateObject2$10 = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10323
10864
  });
10324
- var Hover$3 = styled__default.g(_templateObject3$S || (_templateObject3$S = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
10865
+ var Hover$3 = styled__default.g(_templateObject3$U || (_templateObject3$U = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
10325
10866
  var hover = _ref2.hover;
10326
- return hover && styled.css(_templateObject4$M || (_templateObject4$M = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10867
+ return hover && styled.css(_templateObject4$O || (_templateObject4$O = _taggedTemplateLiteralLoose(["opacity: 1;"])));
10327
10868
  });
10328
- var Container$K = styled__default.g(_templateObject5$I || (_templateObject5$I = _taggedTemplateLiteralLoose(["\n"])));
10869
+ var Container$L = styled__default.g(_templateObject5$J || (_templateObject5$J = _taggedTemplateLiteralLoose(["\n"])));
10329
10870
 
10330
10871
  var Right = function Right() {
10331
10872
  var _useState = React.useState(false),
@@ -10354,7 +10895,7 @@ var Right = function Right() {
10354
10895
  var hoverEnd = React.useCallback(function () {
10355
10896
  setHover(false);
10356
10897
  }, []);
10357
- return React__default.createElement(Container$K, {
10898
+ return React__default.createElement(Container$L, {
10358
10899
  onMouseEnter: hoverStart,
10359
10900
  onMouseLeave: hoverEnd,
10360
10901
  onMouseDown: activeStart,
@@ -11213,16 +11754,16 @@ var ZoomBase = function ZoomBase(_ref) {
11213
11754
  })), children));
11214
11755
  };
11215
11756
 
11216
- var _templateObject$15, _templateObject2$10, _templateObject3$T, _templateObject4$N, _templateObject5$J;
11217
- var Active$4 = styled__default.g(_templateObject$15 || (_templateObject$15 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
11757
+ var _templateObject$16, _templateObject2$11, _templateObject3$V, _templateObject4$P, _templateObject5$K;
11758
+ var Active$4 = styled__default.g(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
11218
11759
  var active = _ref.active;
11219
- return active && styled.css(_templateObject2$10 || (_templateObject2$10 = _taggedTemplateLiteralLoose(["opacity: 1;"])));
11760
+ return active && styled.css(_templateObject2$11 || (_templateObject2$11 = _taggedTemplateLiteralLoose(["opacity: 1;"])));
11220
11761
  });
11221
- var Hover$4 = styled__default.g(_templateObject3$T || (_templateObject3$T = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
11762
+ var Hover$4 = styled__default.g(_templateObject3$V || (_templateObject3$V = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
11222
11763
  var hover = _ref2.hover;
11223
- return hover && styled.css(_templateObject4$N || (_templateObject4$N = _taggedTemplateLiteralLoose(["opacity: 1;"])));
11764
+ return hover && styled.css(_templateObject4$P || (_templateObject4$P = _taggedTemplateLiteralLoose(["opacity: 1;"])));
11224
11765
  });
11225
- var Container$L = styled__default.g(_templateObject5$J || (_templateObject5$J = _taggedTemplateLiteralLoose(["\n"])));
11766
+ var Container$M = styled__default.g(_templateObject5$K || (_templateObject5$K = _taggedTemplateLiteralLoose(["\n"])));
11226
11767
 
11227
11768
  var Up$1 = function Up() {
11228
11769
  var _useState = React.useState(false),
@@ -11251,7 +11792,7 @@ var Up$1 = function Up() {
11251
11792
  var hoverEnd = React.useCallback(function () {
11252
11793
  setHover(false);
11253
11794
  }, []);
11254
- return React__default.createElement(Container$L, {
11795
+ return React__default.createElement(Container$M, {
11255
11796
  onMouseEnter: hoverStart,
11256
11797
  onMouseLeave: hoverEnd,
11257
11798
  onMouseDown: activeStart,
@@ -11290,16 +11831,16 @@ var Up$1 = function Up() {
11290
11831
  })));
11291
11832
  };
11292
11833
 
11293
- var _templateObject$16, _templateObject2$11, _templateObject3$U, _templateObject4$O, _templateObject5$K;
11294
- var Active$5 = styled__default.g(_templateObject$16 || (_templateObject$16 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
11834
+ var _templateObject$17, _templateObject2$12, _templateObject3$W, _templateObject4$Q, _templateObject5$L;
11835
+ var Active$5 = styled__default.g(_templateObject$17 || (_templateObject$17 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n\n"])), function (_ref) {
11295
11836
  var active = _ref.active;
11296
- return active && styled.css(_templateObject2$11 || (_templateObject2$11 = _taggedTemplateLiteralLoose(["opacity: 1;"])));
11837
+ return active && styled.css(_templateObject2$12 || (_templateObject2$12 = _taggedTemplateLiteralLoose(["opacity: 1;"])));
11297
11838
  });
11298
- var Hover$5 = styled__default.g(_templateObject3$U || (_templateObject3$U = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
11839
+ var Hover$5 = styled__default.g(_templateObject3$W || (_templateObject3$W = _taggedTemplateLiteralLoose(["\n opacity: 0;\n ", "\n"])), function (_ref2) {
11299
11840
  var hover = _ref2.hover;
11300
- return hover && styled.css(_templateObject4$O || (_templateObject4$O = _taggedTemplateLiteralLoose(["opacity: 1;"])));
11841
+ return hover && styled.css(_templateObject4$Q || (_templateObject4$Q = _taggedTemplateLiteralLoose(["opacity: 1;"])));
11301
11842
  });
11302
- var Container$M = styled__default.g(_templateObject5$K || (_templateObject5$K = _taggedTemplateLiteralLoose(["\n"])));
11843
+ var Container$N = styled__default.g(_templateObject5$L || (_templateObject5$L = _taggedTemplateLiteralLoose(["\n"])));
11303
11844
 
11304
11845
  var Up$2 = function Up() {
11305
11846
  var _useState = React.useState(false),
@@ -11328,7 +11869,7 @@ var Up$2 = function Up() {
11328
11869
  var hoverEnd = React.useCallback(function () {
11329
11870
  setHover(false);
11330
11871
  }, []);
11331
- return React__default.createElement(Container$M, {
11872
+ return React__default.createElement(Container$N, {
11332
11873
  onMouseEnter: hoverStart,
11333
11874
  onMouseLeave: hoverEnd,
11334
11875
  onMouseDown: activeStart,
@@ -11363,8 +11904,8 @@ var Up$2 = function Up() {
11363
11904
  })));
11364
11905
  };
11365
11906
 
11366
- var _templateObject$17;
11367
- var Container$N = styled__default.div(_templateObject$17 || (_templateObject$17 = _taggedTemplateLiteralLoose(["\n user-select: none;\n display: flex;\n flex-direction: column;\n"])));
11907
+ var _templateObject$18;
11908
+ var Container$O = styled__default.div(_templateObject$18 || (_templateObject$18 = _taggedTemplateLiteralLoose(["\n user-select: none;\n display: flex;\n flex-direction: column;\n"])));
11368
11909
 
11369
11910
  var Controls = function Controls(_ref) {
11370
11911
  var _ref$debug = _ref.debug,
@@ -11373,27 +11914,27 @@ var Controls = function Controls(_ref) {
11373
11914
  var _useContext = React.useContext(PTZContext),
11374
11915
  state = _useContext.state;
11375
11916
 
11376
- return React__default.createElement(Container$N, 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)));
11917
+ return React__default.createElement(Container$O, 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)));
11377
11918
  };
11378
11919
 
11379
11920
  var _excluded$z = ["isEmptyWithIcon", "status", "noticeIcon", "hasNotice", "noticeMessage", "noticeTitle", "emptyIcon"];
11380
11921
 
11381
- var _templateObject$18, _templateObject2$12, _templateObject3$V, _templateObject4$P, _templateObject5$L, _templateObject6$y, _templateObject7$w, _templateObject8$s, _templateObject9$n;
11382
- var Container$O = styled__default.div(_templateObject$18 || (_templateObject$18 = _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);
11383
- var EmptyWithIcon = styled__default.div(_templateObject2$12 || (_templateObject2$12 = _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) {
11922
+ var _templateObject$19, _templateObject2$13, _templateObject3$X, _templateObject4$R, _templateObject5$M, _templateObject6$z, _templateObject7$x, _templateObject8$t, _templateObject9$o;
11923
+ var Container$P = styled__default.div(_templateObject$19 || (_templateObject$19 = _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);
11924
+ var EmptyWithIcon = styled__default.div(_templateObject2$13 || (_templateObject2$13 = _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) {
11384
11925
  var hasPadding = _ref.hasPadding;
11385
11926
  return hasPadding && "\n padding-bottom: 43px\n ";
11386
11927
  }, IconWrapper);
11387
- var Notice = styled__default.div(_templateObject3$V || (_templateObject3$V = _taggedTemplateLiteralLoose(["\n ", ";\n opacity: 0.85;\n height: 46px;\n width: 300px;\n position: absolute;\n bottom: 0px;\n left: 0px;\n display: flex;\n align-items: center;\n padding: 10px;\n"])), function (_ref2) {
11928
+ var Notice = styled__default.div(_templateObject3$X || (_templateObject3$X = _taggedTemplateLiteralLoose(["\n ", ";\n opacity: 0.85;\n height: 46px;\n width: 300px;\n position: absolute;\n bottom: 0px;\n left: 0px;\n display: flex;\n align-items: center;\n padding: 10px;\n"])), function (_ref2) {
11388
11929
  var theme = _ref2.theme,
11389
11930
  color = _ref2.color;
11390
- return color && styled.css(_templateObject4$P || (_templateObject4$P = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n color: ", ";\n "])), theme.colors.feedback[color], theme.colors.icons.inverse);
11931
+ return color && styled.css(_templateObject4$R || (_templateObject4$R = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n color: ", ";\n "])), theme.colors.feedback[color], theme.colors.icons.inverse);
11391
11932
  });
11392
- var NoticeMessage = styled__default.div(_templateObject5$L || (_templateObject5$L = _taggedTemplateLiteralLoose(["\n ", ";\n max-width: 245px;\n font-size: 10px;\n"])), EllipsisStyles);
11393
- var NoticeTitle = styled__default.div(_templateObject6$y || (_templateObject6$y = _taggedTemplateLiteralLoose(["\n ", ";\n max-width: 245px;\n font-size: 12px;\n"])), EllipsisStyles);
11394
- var NoticeIcon = styled__default.div(_templateObject7$w || (_templateObject7$w = _taggedTemplateLiteralLoose(["\n height: 20px;\n width: 20px;\n margin-left: 2px;\n\n ", " {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n }\n"])), IconWrapper);
11395
- var NoticeTextGroup = styled__default.div(_templateObject8$s || (_templateObject8$s = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-left: 14px;\n"])));
11396
- var StatusLine = styled__default.div(_templateObject9$n || (_templateObject9$n = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n height: 3px;\n width: 100%;\n"])), function (_ref3) {
11933
+ var NoticeMessage = styled__default.div(_templateObject5$M || (_templateObject5$M = _taggedTemplateLiteralLoose(["\n ", ";\n max-width: 245px;\n font-size: 10px;\n"])), EllipsisStyles);
11934
+ var NoticeTitle = styled__default.div(_templateObject6$z || (_templateObject6$z = _taggedTemplateLiteralLoose(["\n ", ";\n max-width: 245px;\n font-size: 12px;\n"])), EllipsisStyles);
11935
+ var NoticeIcon = styled__default.div(_templateObject7$x || (_templateObject7$x = _taggedTemplateLiteralLoose(["\n height: 20px;\n width: 20px;\n margin-left: 2px;\n\n ", " {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n }\n"])), IconWrapper);
11936
+ var NoticeTextGroup = styled__default.div(_templateObject8$t || (_templateObject8$t = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-left: 14px;\n"])));
11937
+ var StatusLine = styled__default.div(_templateObject9$o || (_templateObject9$o = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n height: 3px;\n width: 100%;\n"])), function (_ref3) {
11397
11938
  var theme = _ref3.theme,
11398
11939
  color = _ref3.color;
11399
11940
  return color && theme.colors.feedback[color];
@@ -11412,7 +11953,7 @@ var MediaStream = function MediaStream(_ref4) {
11412
11953
  emptyIcon = _ref4.emptyIcon,
11413
11954
  props = _objectWithoutPropertiesLoose(_ref4, _excluded$z);
11414
11955
 
11415
- return React__default.createElement(Container$O, null, isEmptyWithIcon ? React__default.createElement(EmptyWithIcon, {
11956
+ return React__default.createElement(Container$P, null, isEmptyWithIcon ? React__default.createElement(EmptyWithIcon, {
11416
11957
  hasPadding: hasNotice
11417
11958
  }, React__default.createElement(Icon, {
11418
11959
  icon: emptyIcon ? emptyIcon : 'PasswordHide',
@@ -11429,34 +11970,34 @@ var MediaStream = function MediaStream(_ref4) {
11429
11970
  }));
11430
11971
  };
11431
11972
 
11432
- var _templateObject$19, _templateObject2$13, _templateObject3$W, _templateObject4$Q, _templateObject5$M, _templateObject6$z, _templateObject7$x, _templateObject8$t, _templateObject9$o;
11433
- var Container$P = styled__default.div(_templateObject$19 || (_templateObject$19 = _taggedTemplateLiteralLoose(["\n display: flex;\n height: 60px;\n"])));
11434
- var LeftData = styled__default.div(_templateObject2$13 || (_templateObject2$13 = _taggedTemplateLiteralLoose(["\n ", ";\n\n padding: 0 12px 0 12px;\n display: flex;\n\n ", " {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n }\n"])), function (_ref) {
11973
+ var _templateObject$1a, _templateObject2$14, _templateObject3$Y, _templateObject4$S, _templateObject5$N, _templateObject6$A, _templateObject7$y, _templateObject8$u, _templateObject9$p;
11974
+ var Container$Q = styled__default.div(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteralLoose(["\n display: flex;\n height: 60px;\n"])));
11975
+ var LeftData = styled__default.div(_templateObject2$14 || (_templateObject2$14 = _taggedTemplateLiteralLoose(["\n ", ";\n\n padding: 0 12px 0 12px;\n display: flex;\n\n ", " {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n }\n"])), function (_ref) {
11435
11976
  var theme = _ref.theme,
11436
11977
  hasRightData = _ref.hasRightData;
11437
- return hasRightData && styled.css(_templateObject3$W || (_templateObject3$W = _taggedTemplateLiteralLoose(["\n border-right: ", " 1px solid;\n width: 195px;\n "])), theme.colors.divider);
11978
+ return hasRightData && styled.css(_templateObject3$Y || (_templateObject3$Y = _taggedTemplateLiteralLoose(["\n border-right: ", " 1px solid;\n width: 195px;\n "])), theme.colors.divider);
11438
11979
  }, IconWrapper);
11439
- var RightData = styled__default.div(_templateObject4$Q || (_templateObject4$Q = _taggedTemplateLiteralLoose(["\n padding: 0 12px 0 16px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n"])));
11440
- var DeviceDataGroup = styled__default.div(_templateObject5$M || (_templateObject5$M = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-left: 14px;\n justify-content: center;\n"])));
11441
- var LeftTitle = styled__default.div(_templateObject6$z || (_templateObject6$z = _taggedTemplateLiteralLoose(["\n ", ";\n ", "};\n ", ";\n\n color: var(--grey-a10);\n font-size: 10px;\n"])), EllipsisStyles, function (_ref2) {
11980
+ var RightData = styled__default.div(_templateObject4$S || (_templateObject4$S = _taggedTemplateLiteralLoose(["\n padding: 0 12px 0 16px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n"])));
11981
+ var DeviceDataGroup = styled__default.div(_templateObject5$N || (_templateObject5$N = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n margin-left: 14px;\n justify-content: center;\n"])));
11982
+ var LeftTitle = styled__default.div(_templateObject6$A || (_templateObject6$A = _taggedTemplateLiteralLoose(["\n ", ";\n ", "};\n ", ";\n\n color: var(--grey-a10);\n font-size: 10px;\n"])), EllipsisStyles, function (_ref2) {
11442
11983
  var hasRightData = _ref2.hasRightData;
11443
11984
  return hasRightData ? "max-margin: 140px;" : "max-margin: 250px;";
11444
11985
  }, function (_ref3) {
11445
11986
  var hasMarginBottom = _ref3.hasMarginBottom;
11446
11987
  return hasMarginBottom && "margin-bottom: 1px;";
11447
11988
  });
11448
- var LeftSubTitle = styled__default.div(_templateObject7$x || (_templateObject7$x = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n ", "\n\n color: var(--grey-11);\n font-size: 16px;\n"])), function (_ref4) {
11989
+ var LeftSubTitle = styled__default.div(_templateObject7$y || (_templateObject7$y = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n ", "\n\n color: var(--grey-11);\n font-size: 16px;\n"])), function (_ref4) {
11449
11990
  var theme = _ref4.theme;
11450
11991
  return theme.fontFamily.data;
11451
11992
  }, EllipsisStyles, function (_ref5) {
11452
11993
  var hasRightData = _ref5.hasRightData;
11453
11994
  return hasRightData ? "max-width: 140px;" : "max-width: 250px;";
11454
11995
  });
11455
- var Title$5 = styled__default.div(_templateObject8$t || (_templateObject8$t = _taggedTemplateLiteralLoose(["\n ", ";\n max-width: 80px;\n color: var(--grey-a10);\n font-size: 10px;\n ", ";\n"])), EllipsisStyles, function (_ref6) {
11996
+ var Title$5 = styled__default.div(_templateObject8$u || (_templateObject8$u = _taggedTemplateLiteralLoose(["\n ", ";\n max-width: 80px;\n color: var(--grey-a10);\n font-size: 10px;\n ", ";\n"])), EllipsisStyles, function (_ref6) {
11456
11997
  var hasMarginBottom = _ref6.hasMarginBottom;
11457
11998
  return hasMarginBottom && "margin-bottom: 6px;";
11458
11999
  });
11459
- var SubTitle = styled__default.div(_templateObject9$o || (_templateObject9$o = _taggedTemplateLiteralLoose(["\n ", ";\n max-width: 80px;\n color: var(--grey-11);\n font-size: 12px;\n"])), EllipsisStyles);
12000
+ var SubTitle = styled__default.div(_templateObject9$p || (_templateObject9$p = _taggedTemplateLiteralLoose(["\n ", ";\n max-width: 80px;\n color: var(--grey-11);\n font-size: 12px;\n"])), EllipsisStyles);
11460
12001
 
11461
12002
  var PanelMetaData = function PanelMetaData(_ref7) {
11462
12003
  var _ref7$deviceIcon = _ref7.deviceIcon,
@@ -11470,7 +12011,7 @@ var PanelMetaData = function PanelMetaData(_ref7) {
11470
12011
  var hasRightData = React.useMemo(function () {
11471
12012
  return !!rightTitle || !!rightSubTitle;
11472
12013
  }, [rightSubTitle, rightTitle]);
11473
- return React__default.createElement(Container$P, null, React__default.createElement(LeftData, Object.assign({}, {
12014
+ return React__default.createElement(Container$Q, null, React__default.createElement(LeftData, Object.assign({}, {
11474
12015
  hasRightData: hasRightData
11475
12016
  }), !hideIcon && React__default.createElement(Icon, {
11476
12017
  icon: deviceIcon,
@@ -11489,8 +12030,8 @@ var PanelMetaData = function PanelMetaData(_ref7) {
11489
12030
 
11490
12031
  var _excluded$A = ["streamProps", "panelMetaData", "customBottom", "panelOnClick"];
11491
12032
 
11492
- var _templateObject$1a;
11493
- var CameraPanelWrapper = styled__default.div(_templateObject$1a || (_templateObject$1a = _taggedTemplateLiteralLoose(["\n width: 300px;\n height: 230px;\n border-radius: 3px;\n box-shadow: 0 2px 10px 0 var(--grey-a5);\n background-color: ", ";\n }\n\n ", ";\n"])), function (_ref) {
12033
+ var _templateObject$1b;
12034
+ var CameraPanelWrapper = styled__default.div(_templateObject$1b || (_templateObject$1b = _taggedTemplateLiteralLoose(["\n width: 300px;\n height: 230px;\n border-radius: 3px;\n box-shadow: 0 2px 10px 0 var(--grey-a5);\n background-color: ", ";\n }\n\n ", ";\n"])), function (_ref) {
11494
12035
  var theme = _ref.theme;
11495
12036
  return theme.styles.global.background.backgroundImage;
11496
12037
  }, function (_ref2) {
@@ -11511,8 +12052,8 @@ var NewComponent = function NewComponent(_ref3) {
11511
12052
  }, props), React__default.createElement(MediaStream, Object.assign({}, streamProps)), customBottom ? customBottom : panelMetaData && React__default.createElement(PanelMetaData, Object.assign({}, panelMetaData)));
11512
12053
  };
11513
12054
 
11514
- var _templateObject$1b;
11515
- var CameraGrid = styled__default.div(_templateObject$1b || (_templateObject$1b = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(auto-fill, 300px);\n gap: 20px 20px;\n"])));
12055
+ var _templateObject$1c;
12056
+ var CameraGrid = styled__default.div(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteralLoose(["\n display: grid;\n grid-template-columns: repeat(auto-fill, 300px);\n gap: 20px 20px;\n"])));
11516
12057
 
11517
12058
  var CameraPanels = function CameraPanels(_ref) {
11518
12059
  var panels = _ref.panels;
@@ -11525,10 +12066,10 @@ var CameraPanels = function CameraPanels(_ref) {
11525
12066
 
11526
12067
  var _excluded$B = ["icon", "size", "weight", "label", "linkTo"];
11527
12068
 
11528
- var _templateObject$1c, _templateObject2$14, _templateObject3$X, _templateObject4$R;
11529
- var TextContainer$3 = styled__default.div(_templateObject$1c || (_templateObject$1c = _taggedTemplateLiteralLoose(["\n user-select: none;\n"])));
11530
- var StyledLink$1 = styled__default(reactRouterDom.Link)(_templateObject2$14 || (_templateObject2$14 = _taggedTemplateLiteralLoose(["\n text-decoration: none;\n"])));
11531
- var TagWrapper = styled__default.div(_templateObject3$X || (_templateObject3$X = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-size: ", "px;\n font-weight: 500;\n color: var(--grey-11);\n padding: 4px 10px;\n border: solid 1px var(--grey-8);\n display: inline-flex;\n align-items: center;\n border-radius: 3px;\n height: 26px;\n\n ", " {\n [stroke]{\n ", ";\n }\n margin-right: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n ", ";\n"])), function (_ref) {
12069
+ var _templateObject$1d, _templateObject2$15, _templateObject3$Z, _templateObject4$T;
12070
+ var TextContainer$3 = styled__default.div(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteralLoose(["\n user-select: none;\n"])));
12071
+ var StyledLink$1 = styled__default(reactRouterDom.Link)(_templateObject2$15 || (_templateObject2$15 = _taggedTemplateLiteralLoose(["\n text-decoration: none;\n"])));
12072
+ var TagWrapper = styled__default.div(_templateObject3$Z || (_templateObject3$Z = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-size: ", "px;\n font-weight: 500;\n color: var(--grey-11);\n padding: 4px 10px;\n border: solid 1px var(--grey-8);\n display: inline-flex;\n align-items: center;\n border-radius: 3px;\n height: 26px;\n\n ", " {\n [stroke]{\n ", ";\n }\n margin-right: 8px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n ", ";\n"])), function (_ref) {
11532
12073
  var theme = _ref.theme;
11533
12074
  return theme.fontFamily.ui;
11534
12075
  }, function (_ref2) {
@@ -11541,7 +12082,7 @@ var TagWrapper = styled__default.div(_templateObject3$X || (_templateObject3$X =
11541
12082
  var theme = _ref4.theme,
11542
12083
  hoverColor = _ref4.hoverColor,
11543
12084
  enableHover = _ref4.enableHover;
11544
- return enableHover && styled.css(_templateObject4$R || (_templateObject4$R = _taggedTemplateLiteralLoose(["\n &:hover {\n cursor: pointer;\n border-color: ", ";\n color: ", ";\n ", " {\n [stroke]{\n stroke: ", ";\n }\n }\n }\n "])), theme.colors.icons[hoverColor], theme.colors.icons[hoverColor], IconWrapper, theme.colors.icons[hoverColor]);
12085
+ return enableHover && styled.css(_templateObject4$T || (_templateObject4$T = _taggedTemplateLiteralLoose(["\n &:hover {\n cursor: pointer;\n border-color: ", ";\n color: ", ";\n ", " {\n [stroke]{\n stroke: ", ";\n }\n }\n }\n "])), theme.colors.icons[hoverColor], theme.colors.icons[hoverColor], IconWrapper, theme.colors.icons[hoverColor]);
11545
12086
  });
11546
12087
 
11547
12088
  var Tag = function Tag(_ref5) {
@@ -11573,8 +12114,8 @@ var Tag = function Tag(_ref5) {
11573
12114
  }, renderTag()) : renderTag();
11574
12115
  };
11575
12116
 
11576
- var _templateObject$1d;
11577
- var TagListWrapper = styled__default.div(_templateObject$1d || (_templateObject$1d = _taggedTemplateLiteralLoose(["\n display: flex;\n ", " {\n margin-right: 10px;\n margin-bottom: 6px;\n flex-shrink: 0;\n }\n flex-wrap: wrap;\n"])), TagWrapper);
12117
+ var _templateObject$1e;
12118
+ var TagListWrapper = styled__default.div(_templateObject$1e || (_templateObject$1e = _taggedTemplateLiteralLoose(["\n display: flex;\n ", " {\n margin-right: 10px;\n margin-bottom: 6px;\n flex-shrink: 0;\n }\n flex-wrap: wrap;\n"])), TagWrapper);
11578
12119
 
11579
12120
  var TagList = function TagList(_ref) {
11580
12121
  var tagsConfig = _ref.tagsConfig;
@@ -11621,16 +12162,16 @@ var DebouncedSearcher = function DebouncedSearcher(_ref) {
11621
12162
 
11622
12163
  var _excluded$D = ["design", "size", "position", "text"];
11623
12164
 
11624
- var _templateObject$1e, _templateObject2$15, _templateObject3$Y, _templateObject4$S, _templateObject5$N, _templateObject6$A;
11625
- var Container$Q = styled__default.div(_templateObject$1e || (_templateObject$1e = _taggedTemplateLiteralLoose([""])));
11626
- var Title$6 = styled__default.div(_templateObject2$15 || (_templateObject2$15 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n color: var(--grey-10);\n font-size: 12px;\n font-weight: 700;\n margin-bottom: 17px;\n"])), function (_ref) {
12165
+ var _templateObject$1f, _templateObject2$16, _templateObject3$_, _templateObject4$U, _templateObject5$O, _templateObject6$B;
12166
+ var Container$R = styled__default.div(_templateObject$1f || (_templateObject$1f = _taggedTemplateLiteralLoose([""])));
12167
+ var Title$6 = styled__default.div(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n color: var(--grey-10);\n font-size: 12px;\n font-weight: 700;\n margin-bottom: 17px;\n"])), function (_ref) {
11627
12168
  var theme = _ref.theme;
11628
12169
  return theme.fontFamily.ui;
11629
12170
  });
11630
- var ButtonsWrapper$1 = styled__default.div(_templateObject3$Y || (_templateObject3$Y = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n"])));
11631
- var LeftButtons = styled__default.div(_templateObject4$S || (_templateObject4$S = _taggedTemplateLiteralLoose(["\n button {\n margin: 0 10px 10px 0;\n }\n"])));
11632
- var RightButtons = styled__default.div(_templateObject5$N || (_templateObject5$N = _taggedTemplateLiteralLoose(["\n flex-shrink: 0;\n"])));
11633
- var SelectedResults = styled__default.div(_templateObject6$A || (_templateObject6$A = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n margin-top: 29px;\n min-height: 19px;\n color: var(--grey-10);\n font-size: 12px;\n"])), function (_ref2) {
12171
+ var ButtonsWrapper$1 = styled__default.div(_templateObject3$_ || (_templateObject3$_ = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n"])));
12172
+ var LeftButtons = styled__default.div(_templateObject4$U || (_templateObject4$U = _taggedTemplateLiteralLoose(["\n button {\n margin: 0 10px 10px 0;\n }\n"])));
12173
+ var RightButtons = styled__default.div(_templateObject5$O || (_templateObject5$O = _taggedTemplateLiteralLoose(["\n flex-shrink: 0;\n"])));
12174
+ var SelectedResults = styled__default.div(_templateObject6$B || (_templateObject6$B = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n margin-top: 29px;\n min-height: 19px;\n color: var(--grey-10);\n font-size: 12px;\n"])), function (_ref2) {
11634
12175
  var theme = _ref2.theme;
11635
12176
  return theme.fontFamily.ui;
11636
12177
  });
@@ -11655,7 +12196,7 @@ var ActionsBar = function ActionsBar(_ref3) {
11655
12196
  totalAvailable = _ref3$totalAvailable === void 0 ? 0 : _ref3$totalAvailable,
11656
12197
  _ref3$finishCallback = _ref3.finishCallback,
11657
12198
  finishCallback = _ref3$finishCallback === void 0 ? function () {} : _ref3$finishCallback;
11658
- return React__default.createElement(Container$Q, null, React__default.createElement(Title$6, null, title), React__default.createElement(ButtonsWrapper$1, null, React__default.createElement(LeftButtons, null, actionButtons.map(function (_ref4, index) {
12199
+ return React__default.createElement(Container$R, null, React__default.createElement(Title$6, null, title), React__default.createElement(ButtonsWrapper$1, null, React__default.createElement(LeftButtons, null, actionButtons.map(function (_ref4, index) {
11659
12200
  var design = _ref4.design,
11660
12201
  size = _ref4.size,
11661
12202
  position = _ref4.position,
@@ -11961,18 +12502,18 @@ var useThemeToggle = function useThemeToggle() {
11961
12502
  };
11962
12503
  };
11963
12504
 
11964
- var _templateObject$1f, _templateObject2$16, _templateObject3$Z, _templateObject4$T, _templateObject5$O;
11965
- var Container$R = styled__default.div(_templateObject$1f || (_templateObject$1f = _taggedTemplateLiteralLoose([""])));
11966
- var Title$7 = styled__default.div(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref) {
12505
+ var _templateObject$1g, _templateObject2$17, _templateObject3$$, _templateObject4$V, _templateObject5$P;
12506
+ var Container$S = styled__default.div(_templateObject$1g || (_templateObject$1g = _taggedTemplateLiteralLoose([""])));
12507
+ var Title$7 = styled__default.div(_templateObject2$17 || (_templateObject2$17 = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref) {
11967
12508
  var typography = _ref.theme.typography;
11968
12509
  return typography.modal.title;
11969
12510
  });
11970
- var MessageBox$1 = styled__default.div(_templateObject3$Z || (_templateObject3$Z = _taggedTemplateLiteralLoose(["\n ", ";\n margin: 28px 0;\n"])), function (_ref2) {
12511
+ var MessageBox$1 = styled__default.div(_templateObject3$$ || (_templateObject3$$ = _taggedTemplateLiteralLoose(["\n ", ";\n margin: 28px 0;\n"])), function (_ref2) {
11971
12512
  var typography = _ref2.theme.typography;
11972
12513
  return typography.modal.basicContent;
11973
12514
  });
11974
- var StyledButton$5 = styled__default(Button)(_templateObject4$T || (_templateObject4$T = _taggedTemplateLiteralLoose(["\n margin-left: 10px;\n"])));
11975
- var ButtonsGroup$1 = styled__default.div(_templateObject5$O || (_templateObject5$O = _taggedTemplateLiteralLoose(["\n text-align: right;\n"])));
12515
+ var StyledButton$5 = styled__default(Button)(_templateObject4$V || (_templateObject4$V = _taggedTemplateLiteralLoose(["\n margin-left: 10px;\n"])));
12516
+ var ButtonsGroup$1 = styled__default.div(_templateObject5$P || (_templateObject5$P = _taggedTemplateLiteralLoose(["\n text-align: right;\n"])));
11976
12517
 
11977
12518
  var ConfirmationModal = function ConfirmationModal(_ref3) {
11978
12519
  var _ref3$title = _ref3.title,
@@ -12005,7 +12546,7 @@ var ConfirmationModal = function ConfirmationModal(_ref3) {
12005
12546
  setModalOpen(false);
12006
12547
  };
12007
12548
 
12008
- return React__default.createElement(Container$R, null, React__default.createElement(Title$7, null, title), React__default.createElement(MessageBox$1, null, message), React__default.createElement(ButtonsGroup$1, null, React__default.createElement(StyledButton$5, {
12549
+ return React__default.createElement(Container$S, null, React__default.createElement(Title$7, null, title), React__default.createElement(MessageBox$1, null, message), React__default.createElement(ButtonsGroup$1, null, React__default.createElement(StyledButton$5, {
12009
12550
  design: leftButtonDesign,
12010
12551
  onClick: handlePrimaryBtn
12011
12552
  }, leftButtonText), React__default.createElement(StyledButton$5, {
@@ -12014,24 +12555,24 @@ var ConfirmationModal = function ConfirmationModal(_ref3) {
12014
12555
  }, rightButtonText)));
12015
12556
  };
12016
12557
 
12017
- var _templateObject$1g, _templateObject2$17, _templateObject3$_, _templateObject4$U, _templateObject5$P, _templateObject6$B;
12558
+ var _templateObject$1h, _templateObject2$18, _templateObject3$10, _templateObject4$W, _templateObject5$Q, _templateObject6$C;
12018
12559
  var MOBILE_CLOSE_HEIGHT = 50;
12019
12560
  var MOBILE_NAVBAR_HEIGHT = 68;
12020
- var Layout = styled__default.div(_templateObject$1g || (_templateObject$1g = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n height: 100%;\n ", ";\n"])), function (_ref) {
12561
+ var Layout = styled__default.div(_templateObject$1h || (_templateObject$1h = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n height: 100%;\n ", ";\n"])), function (_ref) {
12021
12562
  var theme = _ref.theme;
12022
12563
  return theme.styles.global.background;
12023
12564
  });
12024
- var MobileLayout = styled__default.div(_templateObject2$17 || (_templateObject2$17 = _taggedTemplateLiteralLoose([""])));
12025
- var Content = styled__default.div(_templateObject3$_ || (_templateObject3$_ = _taggedTemplateLiteralLoose(["\n padding: ", ";\n flex: 1;\n overflow: auto;\n\n & > div {\n max-width: 1400px;\n }\n\n ", "\n"])), function (_ref2) {
12565
+ var MobileLayout = styled__default.div(_templateObject2$18 || (_templateObject2$18 = _taggedTemplateLiteralLoose([""])));
12566
+ var Content = styled__default.div(_templateObject3$10 || (_templateObject3$10 = _taggedTemplateLiteralLoose(["\n padding: ", ";\n flex: 1;\n overflow: auto;\n\n & > div {\n max-width: 1400px;\n }\n\n ", "\n"])), function (_ref2) {
12026
12567
  var _ref2$padBottom = _ref2.padBottom,
12027
12568
  padBottom = _ref2$padBottom === void 0 ? true : _ref2$padBottom;
12028
12569
  return padBottom ? '70px 90px' : '70px 90px 0';
12029
12570
  }, function (_ref3) {
12030
12571
  var maxWidth = _ref3.maxWidth;
12031
- return maxWidth && styled.css(_templateObject4$U || (_templateObject4$U = _taggedTemplateLiteralLoose(["\n & > div {\n max-width: ", ";\n }\n "])), maxWidth);
12572
+ return maxWidth && styled.css(_templateObject4$W || (_templateObject4$W = _taggedTemplateLiteralLoose(["\n & > div {\n max-width: ", ";\n }\n "])), maxWidth);
12032
12573
  });
12033
- var MainContainer = styled__default.div(_templateObject5$P || (_templateObject5$P = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n flex-direction: column;\n"])));
12034
- var ContentArea = styled__default.div(_templateObject6$B || (_templateObject6$B = _taggedTemplateLiteralLoose(["\n flex: 1;\n width: 100%;\n padding: ", ";\n margin-left: auto;\n margin-right: auto;\n\n @media ", " {\n padding: ", ";\n }\n\n @media ", " {\n max-width: ", ";\n padding: ", ";\n }\n"])), function (_ref4) {
12574
+ var MainContainer = styled__default.div(_templateObject5$Q || (_templateObject5$Q = _taggedTemplateLiteralLoose(["\n flex: 1;\n display: flex;\n flex-direction: column;\n"])));
12575
+ var ContentArea = styled__default.div(_templateObject6$C || (_templateObject6$C = _taggedTemplateLiteralLoose(["\n flex: 1;\n width: 100%;\n padding: ", ";\n margin-left: auto;\n margin-right: auto;\n\n @media ", " {\n padding: ", ";\n }\n\n @media ", " {\n max-width: ", ";\n padding: ", ";\n }\n"])), function (_ref4) {
12035
12576
  var paddingOverride = _ref4.paddingOverride;
12036
12577
  return paddingOverride ? paddingOverride : '40px 20px';
12037
12578
  }, deviceMediaQuery.medium, function (_ref5) {
@@ -12045,45 +12586,45 @@ var ContentArea = styled__default.div(_templateObject6$B || (_templateObject6$B
12045
12586
  return paddingOverride ? paddingOverride : '70px 90px';
12046
12587
  });
12047
12588
 
12048
- var _templateObject$1h, _templateObject2$18, _templateObject3$$, _templateObject4$V, _templateObject5$Q, _templateObject6$C, _templateObject7$y, _templateObject8$u, _templateObject9$p, _templateObject10$j, _templateObject11$d, _templateObject12$9, _templateObject13$7, _templateObject14$5, _templateObject15$4, _templateObject16$4, _templateObject17$4, _templateObject18$2, _templateObject19$2, _templateObject20$2, _templateObject21$2;
12049
- var ContextTitle = styled__default.div(_templateObject$1h || (_templateObject$1h = _taggedTemplateLiteralLoose(["\n opacity: 0;\n\n ", "\n\n ", "\n"])), function (_ref) {
12589
+ var _templateObject$1i, _templateObject2$19, _templateObject3$11, _templateObject4$X, _templateObject5$R, _templateObject6$D, _templateObject7$z, _templateObject8$v, _templateObject9$q, _templateObject10$l, _templateObject11$e, _templateObject12$b, _templateObject13$9, _templateObject14$7, _templateObject15$5, _templateObject16$5, _templateObject17$5, _templateObject18$3, _templateObject19$3, _templateObject20$3, _templateObject21$3;
12590
+ var ContextTitle = styled__default.div(_templateObject$1i || (_templateObject$1i = _taggedTemplateLiteralLoose(["\n opacity: 0;\n\n ", "\n\n ", "\n"])), function (_ref) {
12050
12591
  var theme = _ref.theme;
12051
- return styled.css(_templateObject2$18 || (_templateObject2$18 = _taggedTemplateLiteralLoose(["\n transition: opacity ", " ", ";\n "])), theme.animation.speed.fast, theme.animation.easing.primary.easeInOut);
12592
+ return styled.css(_templateObject2$19 || (_templateObject2$19 = _taggedTemplateLiteralLoose(["\n transition: opacity ", " ", ";\n "])), theme.animation.speed.fast, theme.animation.easing.primary.easeInOut);
12052
12593
  }, function (_ref2) {
12053
12594
  var compact = _ref2.compact;
12054
- return compact && styled.css(_templateObject3$$ || (_templateObject3$$ = _taggedTemplateLiteralLoose(["\n font-size:14px;\n "])));
12595
+ return compact && styled.css(_templateObject3$11 || (_templateObject3$11 = _taggedTemplateLiteralLoose(["\n font-size:14px;\n "])));
12055
12596
  });
12056
- var ContextIcon = styled__default.div(_templateObject4$V || (_templateObject4$V = _taggedTemplateLiteralLoose(["\n ", ";\n\n flex: 0 0 40px;\n width: 40px;\n height: 40px;\n margin: 0 20px;\n\n border-radius: 7px;\n display:flex;\n justify-content:center;\n align-items:center;\n\n svg {\n display: block;\n }\n"])), function (_ref3) {
12597
+ var ContextIcon$1 = styled__default.div(_templateObject4$X || (_templateObject4$X = _taggedTemplateLiteralLoose(["\n ", ";\n\n flex: 0 0 40px;\n width: 40px;\n height: 40px;\n margin: 0 20px;\n\n border-radius: 7px;\n display:flex;\n justify-content:center;\n align-items:center;\n\n svg {\n display: block;\n }\n"])), function (_ref3) {
12057
12598
  var theme = _ref3.theme;
12058
- return styled.css(_templateObject5$Q || (_templateObject5$Q = _taggedTemplateLiteralLoose(["\n ", ";\n transition: background ", " ", ";\n "])), theme.styles.global.mainMenu.iconBackground["default"], theme.animation.speed.fast, theme.animation.easing.primary.easeInOut);
12599
+ return styled.css(_templateObject5$R || (_templateObject5$R = _taggedTemplateLiteralLoose(["\n ", ";\n transition: background ", " ", ";\n "])), theme.styles.global.mainMenu.iconBackground["default"], theme.animation.speed.fast, theme.animation.easing.primary.easeInOut);
12059
12600
  });
12060
- var ContextIndicator = styled__default.div(_templateObject6$C || (_templateObject6$C = _taggedTemplateLiteralLoose(["\n width: 12px;\n height: 12px;\n flex: 0 0 14px;\n margin: 0 20px 0 auto;\n display: flex;\n justify-content: center;\n align-items: center;\n\n svg {\n display: block;\n height: 12px;\n width: 12px;\n }\n\n opacity: 0;\n\n ", "\n\n"])), function (_ref4) {
12601
+ var ContextIndicator = styled__default.div(_templateObject6$D || (_templateObject6$D = _taggedTemplateLiteralLoose(["\n width: 12px;\n height: 12px;\n flex: 0 0 14px;\n margin: 0 20px 0 auto;\n display: flex;\n justify-content: center;\n align-items: center;\n\n svg {\n display: block;\n height: 12px;\n width: 12px;\n }\n\n opacity: 0;\n\n ", "\n\n"])), function (_ref4) {
12061
12602
  var theme = _ref4.theme;
12062
- return styled.css(_templateObject7$y || (_templateObject7$y = _taggedTemplateLiteralLoose(["\n transition: opacity 0 ", ";\n "])), theme.animation.easing.primary.easeInOut);
12603
+ return styled.css(_templateObject7$z || (_templateObject7$z = _taggedTemplateLiteralLoose(["\n transition: opacity 0 ", ";\n "])), theme.animation.easing.primary.easeInOut);
12063
12604
  });
12064
- var ContextActionBaseCSS = styled.css(_templateObject8$u || (_templateObject8$u = _taggedTemplateLiteralLoose(["\n -webkit-tap-highlight-color: transparent;\n border: none;\n background: none;\n display: flex;\n justify-content:left;\n align-items:center;\n flex-wrap: wrap;\n cursor: pointer;\n width: 100%;\n outline: none;\n padding: 0;\n text-decoration: none;\n"])));
12065
- var StyledAnchor = styled__default.a(_templateObject9$p || (_templateObject9$p = _taggedTemplateLiteralLoose(["\n display: flex;\n text-decoration: none;\n"])));
12066
- var ExternalIconWrapper = styled__default.div(_templateObject10$j || (_templateObject10$j = _taggedTemplateLiteralLoose(["\n margin-left: 15px;\n"])));
12067
- var ContextWrapper = styled__default.div(_templateObject11$d || (_templateObject11$d = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n\n ", "\n\n &:hover ", "{\n opacity: 1;\n ", ";\n ", "{\n [stroke]{\n stroke: ", ";\n }\n }\n }\n"])), ContextActionBaseCSS, function (_ref5) {
12605
+ var ContextActionBaseCSS$1 = styled.css(_templateObject8$v || (_templateObject8$v = _taggedTemplateLiteralLoose(["\n -webkit-tap-highlight-color: transparent;\n border: none;\n background: none;\n display: flex;\n justify-content:left;\n align-items:center;\n flex-wrap: wrap;\n cursor: pointer;\n width: 100%;\n outline: none;\n padding: 0;\n text-decoration: none;\n"])));
12606
+ var StyledAnchor = styled__default.a(_templateObject9$q || (_templateObject9$q = _taggedTemplateLiteralLoose(["\n display: flex;\n text-decoration: none;\n"])));
12607
+ var ExternalIconWrapper = styled__default.div(_templateObject10$l || (_templateObject10$l = _taggedTemplateLiteralLoose(["\n margin-left: 15px;\n"])));
12608
+ var ContextWrapper = styled__default.div(_templateObject11$e || (_templateObject11$e = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n\n ", "\n\n &:hover ", "{\n opacity: 1;\n ", ";\n ", "{\n [stroke]{\n stroke: ", ";\n }\n }\n }\n"])), ContextActionBaseCSS$1, function (_ref5) {
12068
12609
  var theme = _ref5.theme;
12069
- return theme && styled.css(_templateObject12$9 || (_templateObject12$9 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.menuItem["default"]);
12610
+ return theme && styled.css(_templateObject12$b || (_templateObject12$b = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.menuItem["default"]);
12070
12611
  }, function (_ref6) {
12071
12612
  var $menuOpen = _ref6.$menuOpen;
12072
- return $menuOpen && styled.css(_templateObject13$7 || (_templateObject13$7 = _taggedTemplateLiteralLoose(["\n ", "{\n opacity: 1;\n }\n"])), ContextTitle);
12073
- }, ContextIcon, function (_ref7) {
12613
+ return $menuOpen && styled.css(_templateObject13$9 || (_templateObject13$9 = _taggedTemplateLiteralLoose(["\n ", "{\n opacity: 1;\n }\n"])), ContextTitle);
12614
+ }, ContextIcon$1, function (_ref7) {
12074
12615
  var theme = _ref7.theme;
12075
12616
  return theme.styles.global.mainMenu.iconBackground.hover;
12076
12617
  }, IconWrapper, function (_ref8) {
12077
12618
  var theme = _ref8.theme;
12078
12619
  return theme.colors.icons['inverse'];
12079
12620
  });
12080
- var ContextActionA = styled__default(reactRouterDom.Link)(_templateObject14$5 || (_templateObject14$5 = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n\n ", "\n\n &:hover ", "{\n opacity: 1;\n ", ";\n ", "{\n [stroke]{\n stroke: ", ";\n }\n }\n }\n\n ", "\n"])), ContextActionBaseCSS, function (_ref9) {
12621
+ var ContextActionA = styled__default(reactRouterDom.Link)(_templateObject14$7 || (_templateObject14$7 = _taggedTemplateLiteralLoose(["\n ", "\n ", "\n\n ", "\n\n &:hover ", "{\n opacity: 1;\n ", ";\n ", "{\n [stroke]{\n stroke: ", ";\n }\n }\n }\n\n ", "\n"])), ContextActionBaseCSS$1, function (_ref9) {
12081
12622
  var theme = _ref9.theme;
12082
- return theme && styled.css(_templateObject15$4 || (_templateObject15$4 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.menuItem["default"]);
12623
+ return theme && styled.css(_templateObject15$5 || (_templateObject15$5 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.menuItem["default"]);
12083
12624
  }, function (_ref10) {
12084
12625
  var $menuOpen = _ref10.$menuOpen;
12085
- return $menuOpen && styled.css(_templateObject16$4 || (_templateObject16$4 = _taggedTemplateLiteralLoose(["\n ", "{\n opacity: 1;\n }\n "])), ContextTitle);
12086
- }, ContextIcon, function (_ref11) {
12626
+ return $menuOpen && styled.css(_templateObject16$5 || (_templateObject16$5 = _taggedTemplateLiteralLoose(["\n ", "{\n opacity: 1;\n }\n "])), ContextTitle);
12627
+ }, ContextIcon$1, function (_ref11) {
12087
12628
  var theme = _ref11.theme;
12088
12629
  return theme.styles.global.mainMenu.iconBackground.hover;
12089
12630
  }, IconWrapper, function (_ref12) {
@@ -12091,19 +12632,19 @@ var ContextActionA = styled__default(reactRouterDom.Link)(_templateObject14$5 ||
12091
12632
  return theme.colors.icons['inverse'];
12092
12633
  }, function (_ref13) {
12093
12634
  var $isActive = _ref13.$isActive;
12094
- return $isActive && styled.css(_templateObject17$4 || (_templateObject17$4 = _taggedTemplateLiteralLoose(["\n ", ",\n &:hover ", "{\n ", ";\n }\n "])), ContextIcon, ContextIcon, function (_ref14) {
12635
+ return $isActive && styled.css(_templateObject17$5 || (_templateObject17$5 = _taggedTemplateLiteralLoose(["\n ", ",\n &:hover ", "{\n ", ";\n }\n "])), ContextIcon$1, ContextIcon$1, function (_ref14) {
12095
12636
  var theme = _ref14.theme;
12096
12637
  return theme.styles.global.mainMenu.iconBackground.active;
12097
12638
  });
12098
12639
  });
12099
- var ContextActionButton = styled__default.button(_templateObject18$2 || (_templateObject18$2 = _taggedTemplateLiteralLoose(["\n ", "\n\n ", "\n\n ", "\n\n &:hover ", "{\n opacity: 1;\n ", ";\n ", "{\n [stroke]{\n stroke: ", ";\n }\n }\n }\n\n ", "\n"])), ContextActionBaseCSS, function (_ref15) {
12640
+ var ContextActionButton$1 = styled__default.button(_templateObject18$3 || (_templateObject18$3 = _taggedTemplateLiteralLoose(["\n ", "\n\n ", "\n\n ", "\n\n &:hover ", "{\n opacity: 1;\n ", ";\n ", "{\n [stroke]{\n stroke: ", ";\n }\n }\n }\n\n ", "\n"])), ContextActionBaseCSS$1, function (_ref15) {
12100
12641
  var theme = _ref15.theme;
12101
- return theme && styled.css(_templateObject19$2 || (_templateObject19$2 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.menuItem["default"]);
12642
+ return theme && styled.css(_templateObject19$3 || (_templateObject19$3 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.menuItem["default"]);
12102
12643
  }, function (_ref16) {
12103
12644
  var menuOpen = _ref16.menuOpen,
12104
12645
  theme = _ref16.theme;
12105
- return menuOpen && styled.css(_templateObject20$2 || (_templateObject20$2 = _taggedTemplateLiteralLoose(["\n ", "{\n opacity: 1;\n }\n\n ", "{\n opacity: 1;\n transition: opacity ", " ", " ", ";\n }\n "])), ContextTitle, ContextIndicator, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut, theme.animation.speed.fast);
12106
- }, ContextIcon, function (_ref17) {
12646
+ return menuOpen && styled.css(_templateObject20$3 || (_templateObject20$3 = _taggedTemplateLiteralLoose(["\n ", "{\n opacity: 1;\n }\n\n ", "{\n opacity: 1;\n transition: opacity ", " ", " ", ";\n }\n "])), ContextTitle, ContextIndicator, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut, theme.animation.speed.fast);
12647
+ }, ContextIcon$1, function (_ref17) {
12107
12648
  var theme = _ref17.theme;
12108
12649
  return theme.styles.global.mainMenu.iconBackground.hover;
12109
12650
  }, IconWrapper, function (_ref18) {
@@ -12111,7 +12652,7 @@ var ContextActionButton = styled__default.button(_templateObject18$2 || (_templa
12111
12652
  return theme.colors.icons['inverse'];
12112
12653
  }, function (_ref19) {
12113
12654
  var isActive = _ref19.isActive;
12114
- return isActive && styled.css(_templateObject21$2 || (_templateObject21$2 = _taggedTemplateLiteralLoose(["\n ", ",\n &:hover ", "{\n ", ";\n }\n "])), ContextIcon, ContextIcon, function (_ref20) {
12655
+ return isActive && styled.css(_templateObject21$3 || (_templateObject21$3 = _taggedTemplateLiteralLoose(["\n ", ",\n &:hover ", "{\n ", ";\n }\n "])), ContextIcon$1, ContextIcon$1, function (_ref20) {
12115
12656
  var theme = _ref20.theme;
12116
12657
  return theme.styles.global.mainMenu.iconBackground.active;
12117
12658
  });
@@ -12131,7 +12672,7 @@ var ContextItem = function ContextItem(_ref21) {
12131
12672
  isActive = _ref21.isActive,
12132
12673
  isExternalLink = _ref21.isExternalLink,
12133
12674
  onClickCallback = _ref21.onClickCallback;
12134
- var internal = React__default.createElement(React__default.Fragment, null, React__default.createElement(ContextIcon, Object.assign({}, {
12675
+ var internal = React__default.createElement(React__default.Fragment, null, React__default.createElement(ContextIcon$1, Object.assign({}, {
12135
12676
  compact: compact
12136
12677
  }), React__default.createElement(Icon, {
12137
12678
  icon: icon,
@@ -12145,7 +12686,7 @@ var ContextItem = function ContextItem(_ref21) {
12145
12686
  })) : null);
12146
12687
 
12147
12688
  if (hasSubmenu) {
12148
- return React__default.createElement(ContextActionButton, {
12689
+ return React__default.createElement(ContextActionButton$1, {
12149
12690
  menuOpen: menuOpen,
12150
12691
  isActive: isActive,
12151
12692
  onClick: function onClick() {
@@ -12307,42 +12848,42 @@ var useMenu = function useMenu(defaultMenuOpen, canAlwaysPin) {
12307
12848
  };
12308
12849
  };
12309
12850
 
12310
- var _templateObject$1i, _templateObject2$19, _templateObject3$10, _templateObject4$W, _templateObject5$R, _templateObject6$D, _templateObject7$z, _templateObject8$v, _templateObject9$q, _templateObject10$k, _templateObject11$e, _templateObject12$a, _templateObject13$8, _templateObject14$6, _templateObject15$5;
12311
- var Submenu = styled__default.ul(_templateObject$1i || (_templateObject$1i = _taggedTemplateLiteralLoose(["\n display: block;\n position: relative;\n margin-left: 40px;\n padding: 0;\n\n"])));
12312
- var SubmenuHeader = styled__default.div(_templateObject2$19 || (_templateObject2$19 = _taggedTemplateLiteralLoose(["\n display: block;\n height: 40px;\n margin-left: 40px;\n"])));
12313
- var SubmenuItemTitle = styled__default.span(_templateObject3$10 || (_templateObject3$10 = _taggedTemplateLiteralLoose(["\n display: block;\n ", ";\n\n"])), function (_ref) {
12851
+ var _templateObject$1j, _templateObject2$1a, _templateObject3$12, _templateObject4$Y, _templateObject5$S, _templateObject6$E, _templateObject7$A, _templateObject8$w, _templateObject9$r, _templateObject10$m, _templateObject11$f, _templateObject12$c, _templateObject13$a, _templateObject14$8, _templateObject15$6;
12852
+ var Submenu = styled__default.ul(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteralLoose(["\n display: block;\n position: relative;\n margin-left: 40px;\n padding: 0;\n\n"])));
12853
+ var SubmenuHeader = styled__default.div(_templateObject2$1a || (_templateObject2$1a = _taggedTemplateLiteralLoose(["\n display: block;\n height: 40px;\n margin-left: 40px;\n"])));
12854
+ var SubmenuItemTitle = styled__default.span(_templateObject3$12 || (_templateObject3$12 = _taggedTemplateLiteralLoose(["\n display: block;\n ", ";\n\n"])), function (_ref) {
12314
12855
  var theme = _ref.theme;
12315
- return theme && styled.css(_templateObject4$W || (_templateObject4$W = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", "\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.subheader);
12856
+ return theme && styled.css(_templateObject4$Y || (_templateObject4$Y = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", "\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.subheader);
12316
12857
  });
12317
- var SubmenuItemLink = styled__default(reactRouterDom.Link)(_templateObject5$R || (_templateObject5$R = _taggedTemplateLiteralLoose(["\n ", ";\n display: block;\n"])), resetButtonStyles);
12318
- var ExternalIconWrapper$1 = styled__default.div(_templateObject6$D || (_templateObject6$D = _taggedTemplateLiteralLoose(["\n margin-left: 15px;\n"])));
12319
- var SubmenuItemAnchor = styled__default.a(_templateObject7$z || (_templateObject7$z = _taggedTemplateLiteralLoose(["\n ", ";\n display: flex;\n align-items: center;\n"])), resetButtonStyles);
12320
- var SubmenuItem = styled__default.li(_templateObject8$v || (_templateObject8$v = _taggedTemplateLiteralLoose(["\n display: block;\n height: 30px;\n padding-left: 40px;\n position: relative;\n\n &::after {\n display: block;\n content: '';\n height: 1px;\n width: 14px;\n position: absolute;\n left: 0;\n top: 10px;\n background: ", ";\n }\n\n ", ", ", "{\n\n ", ";\n\n\n\n }\n"])), function (_ref2) {
12858
+ var SubmenuItemLink = styled__default(reactRouterDom.Link)(_templateObject5$S || (_templateObject5$S = _taggedTemplateLiteralLoose(["\n ", ";\n display: block;\n"])), resetButtonStyles);
12859
+ var ExternalIconWrapper$1 = styled__default.div(_templateObject6$E || (_templateObject6$E = _taggedTemplateLiteralLoose(["\n margin-left: 15px;\n"])));
12860
+ var SubmenuItemAnchor = styled__default.a(_templateObject7$A || (_templateObject7$A = _taggedTemplateLiteralLoose(["\n ", ";\n display: flex;\n align-items: center;\n"])), resetButtonStyles);
12861
+ var SubmenuItem = styled__default.li(_templateObject8$w || (_templateObject8$w = _taggedTemplateLiteralLoose(["\n display: block;\n height: 30px;\n padding-left: 40px;\n position: relative;\n\n &::after {\n display: block;\n content: '';\n height: 1px;\n width: 14px;\n position: absolute;\n left: 0;\n top: 10px;\n background: ", ";\n }\n\n ", ", ", "{\n\n ", ";\n\n\n\n }\n"])), function (_ref2) {
12321
12862
  var colors = _ref2.theme.colors;
12322
12863
  return colors.divider;
12323
12864
  }, SubmenuItemLink, SubmenuItemAnchor, function (_ref3) {
12324
12865
  var theme = _ref3.theme,
12325
12866
  isActive = _ref3.isActive;
12326
- return theme && styled.css(_templateObject9$q || (_templateObject9$q = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n\n &:hover {\n ", ";\n }\n\n ", "\n\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.subItem["default"], theme.typography.global.mainMenu.subItem.hover, isActive && styled.css(_templateObject10$k || (_templateObject10$k = _taggedTemplateLiteralLoose(["\n &, &:hover {\n ", ";\n }\n "])), theme.typography.global.mainMenu.subItem.active));
12867
+ return theme && styled.css(_templateObject9$r || (_templateObject9$r = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n\n &:hover {\n ", ";\n }\n\n ", "\n\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.subItem["default"], theme.typography.global.mainMenu.subItem.hover, isActive && styled.css(_templateObject10$m || (_templateObject10$m = _taggedTemplateLiteralLoose(["\n &, &:hover {\n ", ";\n }\n "])), theme.typography.global.mainMenu.subItem.active));
12327
12868
  });
12328
- var SubmenuContainer = styled__default.div(_templateObject11$e || (_templateObject11$e = _taggedTemplateLiteralLoose(["\n ", ";\n\n position: relative;\n overflow: hidden;\n\n &::after {\n display: block;\n content: '';\n width: 1px;\n position: absolute;\n left: 40px;\n top: 0;\n bottom: 35px;\n background: ", ";\n }\n\n"])), function (_ref4) {
12869
+ var SubmenuContainer = styled__default.div(_templateObject11$f || (_templateObject11$f = _taggedTemplateLiteralLoose(["\n ", ";\n\n position: relative;\n overflow: hidden;\n\n &::after {\n display: block;\n content: '';\n width: 1px;\n position: absolute;\n left: 40px;\n top: 0;\n bottom: 35px;\n background: ", ";\n }\n\n"])), function (_ref4) {
12329
12870
  var theme = _ref4.theme;
12330
- return theme && styled.css(_templateObject12$a || (_templateObject12$a = _taggedTemplateLiteralLoose(["\n transition:\n max-height ", " ", ",\n opacity ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeOut, theme.animation.speed.fast, theme.animation.easing.primary.easeOut);
12871
+ return theme && styled.css(_templateObject12$c || (_templateObject12$c = _taggedTemplateLiteralLoose(["\n transition:\n max-height ", " ", ",\n opacity ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeOut, theme.animation.speed.fast, theme.animation.easing.primary.easeOut);
12331
12872
  }, function (_ref5) {
12332
12873
  var colors = _ref5.theme.colors;
12333
12874
  return colors.divider;
12334
12875
  });
12335
- var ContextContainer = styled__default.div(_templateObject13$8 || (_templateObject13$8 = _taggedTemplateLiteralLoose(["\n min-height: ", ";\n width: inherit;\n\n ", "{\n max-height: 0;\n opacity: 0;\n }\n ", ";\n\n ", ";\n\n"])), function (_ref6) {
12876
+ var ContextContainer = styled__default.div(_templateObject13$a || (_templateObject13$a = _taggedTemplateLiteralLoose(["\n min-height: ", ";\n width: inherit;\n\n ", "{\n max-height: 0;\n opacity: 0;\n }\n ", ";\n\n ", ";\n\n"])), function (_ref6) {
12336
12877
  var minHeight = _ref6.minHeight;
12337
12878
  return minHeight ? minHeight + "px" : "70px";
12338
12879
  }, SubmenuContainer, function (_ref7) {
12339
12880
  var open = _ref7.open,
12340
12881
  maxHeight = _ref7.maxHeight,
12341
12882
  theme = _ref7.theme;
12342
- return open && styled.css(_templateObject14$6 || (_templateObject14$6 = _taggedTemplateLiteralLoose(["\n ", "{\n transition:\n max-height ", " ", ",\n opacity ", " ", ";\n max-height: ", "px !important;\n opacity: 1;\n }\n "])), SubmenuContainer, theme.animation.speed.normal, theme.animation.easing.primary.easeOut, theme.animation.speed.fast, theme.animation.easing.primary.easeOut, maxHeight);
12883
+ return open && styled.css(_templateObject14$8 || (_templateObject14$8 = _taggedTemplateLiteralLoose(["\n ", "{\n transition:\n max-height ", " ", ",\n opacity ", " ", ";\n max-height: ", "px !important;\n opacity: 1;\n }\n "])), SubmenuContainer, theme.animation.speed.normal, theme.animation.easing.primary.easeOut, theme.animation.speed.fast, theme.animation.easing.primary.easeOut, maxHeight);
12343
12884
  }, function (_ref8) {
12344
12885
  var loading = _ref8.loading;
12345
- return loading === 'true' && styled.css(_templateObject15$5 || (_templateObject15$5 = _taggedTemplateLiteralLoose(["\n ", "{\n max-height: none !important;\n opacity: 1;\n }\n "])), SubmenuContainer);
12886
+ return loading === 'true' && styled.css(_templateObject15$6 || (_templateObject15$6 = _taggedTemplateLiteralLoose(["\n ", "{\n max-height: none !important;\n opacity: 1;\n }\n "])), SubmenuContainer);
12346
12887
  });
12347
12888
 
12348
12889
  var NavigationItem = function NavigationItem(_ref9) {
@@ -12454,30 +12995,30 @@ var generateSubmenus = function generateSubmenus(submenu, onClickCallback) {
12454
12995
  return output;
12455
12996
  };
12456
12997
 
12457
- var _templateObject$1j, _templateObject2$1a, _templateObject3$11, _templateObject4$X, _templateObject5$S, _templateObject6$E, _templateObject7$A, _templateObject8$w, _templateObject9$r, _templateObject10$l, _templateObject11$f, _templateObject12$b, _templateObject13$9, _templateObject14$7, _templateObject15$6;
12458
- var Logo = styled__default(reactRouterDom.Link)(_templateObject$1j || (_templateObject$1j = _taggedTemplateLiteralLoose(["\n height: 50px;\n margin: 0 20px 55px 15px;\n display: flex;\n\n object {\n pointer-events: none;\n }\n"])));
12459
- var LogoMark = styled__default.div(_templateObject2$1a || (_templateObject2$1a = _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"])));
12460
- var LogoType = styled__default.div(_templateObject3$11 || (_templateObject3$11 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n flex: 1;\n height: 50px;\n display: flex;\n justify-content: left;\n align-items: center;\n"])));
12461
- var SVGObject = styled__default.object(_templateObject4$X || (_templateObject4$X = _taggedTemplateLiteralLoose([""])));
12462
- var SVGObjectText = styled__default.object(_templateObject5$S || (_templateObject5$S = _taggedTemplateLiteralLoose(["\n max-width: 180px;\n"])));
12463
- var NavigationContainer = styled__default.div(_templateObject6$E || (_templateObject6$E = _taggedTemplateLiteralLoose([""])));
12464
- var MenuFooter = styled__default.div(_templateObject7$A || (_templateObject7$A = _taggedTemplateLiteralLoose(["\n ", ";\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: flex-end;\n"])), function (_ref) {
12998
+ var _templateObject$1k, _templateObject2$1b, _templateObject3$13, _templateObject4$Z, _templateObject5$T, _templateObject6$F, _templateObject7$B, _templateObject8$x, _templateObject9$s, _templateObject10$n, _templateObject11$g, _templateObject12$d, _templateObject13$b, _templateObject14$9, _templateObject15$7;
12999
+ var Logo = styled__default(reactRouterDom.Link)(_templateObject$1k || (_templateObject$1k = _taggedTemplateLiteralLoose(["\n height: 50px;\n margin: 0 20px 55px 15px;\n display: flex;\n\n object {\n pointer-events: none;\n }\n"])));
13000
+ var LogoMark = styled__default.div(_templateObject2$1b || (_templateObject2$1b = _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"])));
13001
+ var LogoType = styled__default.div(_templateObject3$13 || (_templateObject3$13 = _taggedTemplateLiteralLoose(["\n opacity: 0;\n flex: 1;\n height: 50px;\n display: flex;\n justify-content: left;\n align-items: center;\n"])));
13002
+ var SVGObject = styled__default.object(_templateObject4$Z || (_templateObject4$Z = _taggedTemplateLiteralLoose([""])));
13003
+ var SVGObjectText = styled__default.object(_templateObject5$T || (_templateObject5$T = _taggedTemplateLiteralLoose(["\n max-width: 180px;\n"])));
13004
+ var NavigationContainer = styled__default.div(_templateObject6$F || (_templateObject6$F = _taggedTemplateLiteralLoose([""])));
13005
+ var MenuFooter = styled__default.div(_templateObject7$B || (_templateObject7$B = _taggedTemplateLiteralLoose(["\n ", ";\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: flex-end;\n"])), function (_ref) {
12465
13006
  var theme = _ref.theme;
12466
- return theme && styled.css(_templateObject8$w || (_templateObject8$w = _taggedTemplateLiteralLoose(["\n ", "\n "])), theme.styles.global.mainMenu.footerBackground);
13007
+ return theme && styled.css(_templateObject8$x || (_templateObject8$x = _taggedTemplateLiteralLoose(["\n ", "\n "])), theme.styles.global.mainMenu.footerBackground);
12467
13008
  });
12468
- var FooterItemContainer = styled__default.div(_templateObject9$r || (_templateObject9$r = _taggedTemplateLiteralLoose(["\n min-height: 70px;\n"])));
12469
- var PushContainer = styled__default.div(_templateObject10$l || (_templateObject10$l = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 100%;\n ", ";\n"])), function (_ref2) {
13009
+ var FooterItemContainer = styled__default.div(_templateObject9$s || (_templateObject9$s = _taggedTemplateLiteralLoose(["\n min-height: 70px;\n"])));
13010
+ var PushContainer = styled__default.div(_templateObject10$n || (_templateObject10$n = _taggedTemplateLiteralLoose(["\n position: relative;\n height: 100%;\n ", ";\n"])), function (_ref2) {
12470
13011
  var theme = _ref2.theme,
12471
13012
  isPinned = _ref2.isPinned;
12472
- return theme && styled.css(_templateObject11$f || (_templateObject11$f = _taggedTemplateLiteralLoose(["\n width: ", ";\n "])), isPinned ? theme.dimensions.global.mainMenu.width.open : theme.dimensions.global.mainMenu.width.closed);
13013
+ return theme && styled.css(_templateObject11$g || (_templateObject11$g = _taggedTemplateLiteralLoose(["\n width: ", ";\n "])), isPinned ? theme.dimensions.global.mainMenu.width.open : theme.dimensions.global.mainMenu.width.closed);
12473
13014
  });
12474
- var Container$S = styled__default.div(_templateObject12$b || (_templateObject12$b = _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 (_ref3) {
13015
+ var Container$T = styled__default.div(_templateObject12$d || (_templateObject12$d = _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 (_ref3) {
12475
13016
  var theme = _ref3.theme,
12476
13017
  open = _ref3.open,
12477
13018
  desktopSize = _ref3.desktopSize;
12478
- return theme && styled.css(_templateObject13$9 || (_templateObject13$9 = _taggedTemplateLiteralLoose(["\n ", "\n ", ";\n width: ", ";\n border-right: 1px solid ", ";\n\n ", "{\n transition: opacity ", " ", ";\n opacity: ", ";\n }\n "])), theme.styles.global.mainMenu.background, desktopSize === 'xxlarge' ? "" : styled.css(_templateObject14$7 || (_templateObject14$7 = _taggedTemplateLiteralLoose(["\n transition: width ", " ", "\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeOut), open ? theme.dimensions.global.mainMenu.width.open : theme.dimensions.global.mainMenu.width.closed, theme.styles.global.mainMenu.lines.backgroundColor, LogoType, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut, open ? 1 : 0);
13019
+ return theme && styled.css(_templateObject13$b || (_templateObject13$b = _taggedTemplateLiteralLoose(["\n ", "\n ", ";\n width: ", ";\n border-right: 1px solid ", ";\n\n ", "{\n transition: opacity ", " ", ";\n opacity: ", ";\n }\n "])), theme.styles.global.mainMenu.background, desktopSize === 'xxlarge' ? "" : styled.css(_templateObject14$9 || (_templateObject14$9 = _taggedTemplateLiteralLoose(["\n transition: width ", " ", "\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeOut), open ? theme.dimensions.global.mainMenu.width.open : theme.dimensions.global.mainMenu.width.closed, theme.styles.global.mainMenu.lines.backgroundColor, LogoType, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut, open ? 1 : 0);
12479
13020
  });
12480
- var ContainerInner = styled__default.div(_templateObject15$6 || (_templateObject15$6 = _taggedTemplateLiteralLoose(["\n width: ", ";\n display: flex;\n flex-direction: column;\n height: 100%;\n"])), function (_ref4) {
13021
+ var ContainerInner = styled__default.div(_templateObject15$7 || (_templateObject15$7 = _taggedTemplateLiteralLoose(["\n width: ", ";\n display: flex;\n flex-direction: column;\n height: 100%;\n"])), function (_ref4) {
12481
13022
  var theme = _ref4.theme;
12482
13023
  return theme.dimensions.global.mainMenu.width.open;
12483
13024
  });
@@ -12552,7 +13093,7 @@ var MainMenu = function MainMenu(_ref5) {
12552
13093
  }, [checkedInItems, content]);
12553
13094
  return React__default.createElement(PushContainer, {
12554
13095
  isPinned: menuState.isMenuPinned
12555
- }, ReactDom.createPortal(React__default.createElement(Container$S, {
13096
+ }, ReactDom.createPortal(React__default.createElement(Container$T, {
12556
13097
  open: menuState.isMenuOpen,
12557
13098
  desktopSize: menuState.desktopSize,
12558
13099
  onPointerEnter: menuState.isMenuPinned ? function () {} : autoMenuOpen,
@@ -12599,20 +13140,109 @@ var MainMenu = function MainMenu(_ref5) {
12599
13140
  })) : null))), document.body));
12600
13141
  };
12601
13142
 
12602
- var _templateObject$1k, _templateObject2$1b, _templateObject3$12, _templateObject4$Y;
12603
- var Container$T = styled__default.div(_templateObject$1k || (_templateObject$1k = _taggedTemplateLiteralLoose(["\n padding: 16px 10px 14px 23px;\n display: flex;\n flex-direction: row;\n border-top: 1px solid ", ";\n align-items: center;\n cursor: pointer;\n svg {\n margin-top: 7px;\n }\n"])), function (_ref) {
13143
+ var _templateObject$1l, _templateObject2$1c, _templateObject3$14, _templateObject4$_, _templateObject5$U, _templateObject6$G, _templateObject7$C, _templateObject8$y, _templateObject9$t, _templateObject10$o, _templateObject11$h;
13144
+ var MetaConatiner = styled__default.div(_templateObject$1l || (_templateObject$1l = _taggedTemplateLiteralLoose(["\n margin: 10px 10px;\n border: 1px solid var(--grey-3);\n background-color: var(--grey-a2);\n border-radius: 5px;\n &:active {\n box-shadow: 4px 4px var(--grey-a2);\n }\n"])));
13145
+ var LabelTitle = styled__default.div(_templateObject2$1c || (_templateObject2$1c = _taggedTemplateLiteralLoose(["\n max-width: 130px;\n overflow-wrap: initial;\n white-space: break-spaces;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n opacity: 0.76;\n font-size: 10px;\n font-weight: 500;\n letter-spacing: 0.29px;\n color: var(--grey-11);\n font-family: ", ";\n margin-top: 2px;\n"])), function (_ref) {
13146
+ var theme = _ref.theme;
13147
+ return theme.fontFamily.ui;
13148
+ });
13149
+ var LabelContent = styled__default.div(_templateObject3$14 || (_templateObject3$14 = _taggedTemplateLiteralLoose(["\n font-size: 10px;\n padding-left: 10px;\n max-width: 200px;\n overflow-wrap: initial;\n white-space: break-spaces;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 4px 0 5px 0;\n white-space: nowrap;\n font-weight: 500;\n letter-spacing: 0.29px;\n color: var(--grey-8);\n"])));
13150
+ var LabelNotes = styled__default.div(_templateObject4$_ || (_templateObject4$_ = _taggedTemplateLiteralLoose(["\n padding-left: 10px;\n max-width: 200px;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n margin: 5px 0 8px 0;\n max-height: 23px;\n font-size: 10px;\n font-weight: 500;\n letter-spacing: 0.29px;\n color: var(--grey-8);\n ", "\n"])), function (_ref2) {
13151
+ var theme = _ref2.theme;
13152
+ return theme && styled.css(_templateObject5$U || (_templateObject5$U = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n "])), theme.fontFamily.data);
13153
+ });
13154
+ var TitleContainer = styled__default.div(_templateObject6$G || (_templateObject6$G = _taggedTemplateLiteralLoose(["\n display: flex;\n gap:6px;\n flex-direction: row;\n align-items: center;\n margin-left: 10px;\n margin: 3px 0 5px 10px;\n"])));
13155
+ var Container$U = styled__default.div(_templateObject7$C || (_templateObject7$C = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n"])));
13156
+ var TitleBox = styled__default.div(_templateObject8$y || (_templateObject8$y = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n"])));
13157
+ var IconBox = styled__default.div(_templateObject9$t || (_templateObject9$t = _taggedTemplateLiteralLoose(["\n padding: 1px 5px 0 0;\n opacity: 0;\n ", ":hover & {\n opacity: 1;\n cursor: pointer;\n }\n"])), Container$U);
13158
+ var CopyTextBox = styled__default.pre(_templateObject10$o || (_templateObject10$o = _taggedTemplateLiteralLoose(["\n padding: 5px;\n font-size: 10px;\n line-height: 1.2;\n box-shadow: 2px 2px 4px (195deg 16% 72% / 72%);\n border: 1px solid var(--grey-8);\n background-color: var(--grey-2);\n border-radius: 5px;\n opacity: 0.76;\n font-weight: 500;\n color: var(--grey-11);\n position: absolute;\n max-width: 170px;\n white-space: pre-wrap;\n font-family: ", ";\n right:10px;\n margin-top: -23px;\n"])), function (_ref3) {
13159
+ var theme = _ref3.theme;
13160
+ return theme.fontFamily.data;
13161
+ });
13162
+ var CopyBox = styled__default.div(_templateObject11$h || (_templateObject11$h = _taggedTemplateLiteralLoose(["\n"])));
13163
+
13164
+ var UserDrawerMeta = function UserDrawerMeta(_ref4) {
13165
+ var item = _ref4.item,
13166
+ onUserDrawerMetaClick = _ref4.onUserDrawerMetaClick,
13167
+ copySuccessMessage = _ref4.copySuccessMessage,
13168
+ includeCopyTitle = _ref4.includeCopyTitle;
13169
+ var icon = item.icon,
13170
+ title = item.title,
13171
+ subTitle = item.subTitle,
13172
+ notes = item.notes,
13173
+ hasCopyIcon = item.hasCopyIcon;
13174
+
13175
+ var _useCopyToClipboard = useCopyToClipboard(),
13176
+ copyToClipboard = _useCopyToClipboard.copyToClipboard;
13177
+
13178
+ var _useState = React.useState(false),
13179
+ showCopyText = _useState[0],
13180
+ setShowCopyText = _useState[1];
13181
+
13182
+ var _useState2 = React.useState('dimmed'),
13183
+ onHoverColorValue = _useState2[0],
13184
+ setOnHoverColorValue = _useState2[1];
13185
+
13186
+ var onClickCopyText = React.useCallback(function (title, subTitle, notes) {
13187
+ var copyText;
13188
+
13189
+ if (includeCopyTitle) {
13190
+ copyText = (title ? title : '') + '\n' + (subTitle ? subTitle : '') + '\n' + (notes ? notes : '');
13191
+ } else {
13192
+ copyText = (subTitle ? subTitle : '') + '\n' + (notes ? notes : '');
13193
+ }
13194
+
13195
+ copyToClipboard(copyText);
13196
+ setShowCopyText(true);
13197
+ setTimeout(function () {
13198
+ setShowCopyText(false);
13199
+ }, 1500);
13200
+ }, [includeCopyTitle, copyToClipboard]);
13201
+ var onHoverMetaInfo = React.useCallback(function () {
13202
+ setOnHoverColorValue('mono');
13203
+ }, []);
13204
+ var onLeaveMeatInfo = React.useCallback(function () {
13205
+ setOnHoverColorValue('dimmed');
13206
+ }, []);
13207
+ return React__default.createElement(React.Fragment, null, title !== '' && React__default.createElement(Container$U, {
13208
+ onClick: onUserDrawerMetaClick
13209
+ }, React__default.createElement(MetaConatiner, null, React__default.createElement(TitleBox, null, React__default.createElement(TitleContainer, null, React__default.createElement(Icon, {
13210
+ icon: icon,
13211
+ size: 10,
13212
+ color: 'dimmed'
13213
+ }), React__default.createElement(LabelTitle, {
13214
+ title: title
13215
+ }, title)), React__default.createElement(CopyBox, null, showCopyText && React__default.createElement(CopyTextBox, null, copySuccessMessage !== '' ? copySuccessMessage : 'Copied!'), hasCopyIcon ? React__default.createElement(IconBox, {
13216
+ onClick: function onClick() {
13217
+ return onClickCopyText(title, subTitle, notes);
13218
+ },
13219
+ onMouseEnter: onHoverMetaInfo,
13220
+ onMouseLeave: onLeaveMeatInfo
13221
+ }, React__default.createElement(Icon, {
13222
+ icon: 'Copy',
13223
+ size: 12,
13224
+ color: onHoverColorValue
13225
+ })) : null)), subTitle !== '' ? React__default.createElement(LabelContent, {
13226
+ title: subTitle
13227
+ }, subTitle) : null, notes !== '' ? React__default.createElement(LabelNotes, {
13228
+ title: notes
13229
+ }, notes) : null)));
13230
+ };
13231
+
13232
+ var _templateObject$1m, _templateObject2$1d, _templateObject3$15, _templateObject4$$;
13233
+ var Container$V = styled__default.div(_templateObject$1m || (_templateObject$1m = _taggedTemplateLiteralLoose(["\n padding: 16px 10px 14px 23px;\n display: flex;\n flex-direction: row;\n border-top: 1px solid ", ";\n align-items: center;\n cursor: pointer;\n svg {\n margin-top: 7px;\n }\n"])), function (_ref) {
12604
13234
  var theme = _ref.theme;
12605
13235
  return theme.colors.divider;
12606
13236
  });
12607
- var ColumnContainer = styled__default.div(_templateObject2$1b || (_templateObject2$1b = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n padding-left: 14px;\n align-items: flex-start;\n"])));
12608
- var Title$8 = styled__default.div(_templateObject3$12 || (_templateObject3$12 = _taggedTemplateLiteralLoose(["\n opacity: 0.76;\n font-family: ", ";\n font-size: 12px;\n font-weight: 500;\n letter-spacing: 0.34px;\n color: ", ";\n"])), function (_ref2) {
13237
+ var ColumnContainer = styled__default.div(_templateObject2$1d || (_templateObject2$1d = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n padding-left: 14px;\n align-items: flex-start;\n"])));
13238
+ var Title$8 = styled__default.div(_templateObject3$15 || (_templateObject3$15 = _taggedTemplateLiteralLoose(["\n opacity: 0.76;\n font-family: ", ";\n font-size: 12px;\n font-weight: 500;\n letter-spacing: 0.34px;\n color: ", ";\n"])), function (_ref2) {
12609
13239
  var theme = _ref2.theme;
12610
13240
  return theme.fontFamily.ui;
12611
13241
  }, function (_ref3) {
12612
13242
  var theme = _ref3.theme;
12613
13243
  return theme.typography.global.mainMenu.subheader.color;
12614
13244
  });
12615
- var SubTitle$1 = styled__default.div(_templateObject4$Y || (_templateObject4$Y = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-size: 10px;\n font-weight: 500;\n letter-spacing: 0.29px;\n color: ", ";\n padding-top: 2px;\n opacity: 0.5;\n"])), function (_ref4) {
13245
+ var SubTitle$1 = styled__default.div(_templateObject4$$ || (_templateObject4$$ = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n font-size: 10px;\n font-weight: 500;\n letter-spacing: 0.29px;\n color: ", ";\n padding-top: 2px;\n opacity: 0.5;\n"])), function (_ref4) {
12616
13246
  var theme = _ref4.theme;
12617
13247
  return theme.fontFamily.ui;
12618
13248
  }, function (_ref5) {
@@ -12627,7 +13257,7 @@ var DrawerBottomMenu = function DrawerBottomMenu(_ref6) {
12627
13257
  subTitle = _ref6.subTitle,
12628
13258
  _ref6$onClickCallback = _ref6.onClickCallback,
12629
13259
  onClickCallback = _ref6$onClickCallback === void 0 ? function () {} : _ref6$onClickCallback;
12630
- return React__default.createElement(Container$T, {
13260
+ return React__default.createElement(Container$V, {
12631
13261
  onClick: onClickCallback
12632
13262
  }, React__default.createElement(Icon, {
12633
13263
  icon: icon,
@@ -12636,72 +13266,101 @@ var DrawerBottomMenu = function DrawerBottomMenu(_ref6) {
12636
13266
  }), React__default.createElement(ColumnContainer, null, React__default.createElement(Title$8, null, title), React__default.createElement(SubTitle$1, null, subTitle)));
12637
13267
  };
12638
13268
 
12639
- var _templateObject$1l, _templateObject2$1c, _templateObject3$13, _templateObject4$Z, _templateObject5$T, _templateObject6$F, _templateObject7$B, _templateObject8$x, _templateObject9$s, _templateObject10$m, _templateObject11$g, _templateObject12$c, _templateObject13$a, _templateObject14$8;
12640
- var DrawerTop = styled__default.div(_templateObject$1l || (_templateObject$1l = _taggedTemplateLiteralLoose([""])));
12641
- var DrawerBottom = styled__default.div(_templateObject2$1c || (_templateObject2$1c = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref) {
13269
+ var _templateObject$1n, _templateObject2$1e, _templateObject3$16, _templateObject4$10, _templateObject5$V, _templateObject6$H, _templateObject7$D, _templateObject8$z, _templateObject9$u, _templateObject10$p, _templateObject11$i, _templateObject12$e, _templateObject13$c, _templateObject14$a, _templateObject15$8, _templateObject16$6, _templateObject17$6, _templateObject18$4, _templateObject19$4;
13270
+ var DrawerTop = styled__default.div(_templateObject$1n || (_templateObject$1n = _taggedTemplateLiteralLoose([""])));
13271
+ var DrawerBottom = styled__default.div(_templateObject2$1e || (_templateObject2$1e = _taggedTemplateLiteralLoose(["\n ", ";\n"])), function (_ref) {
12642
13272
  var theme = _ref.theme;
12643
- return styled.css(_templateObject3$13 || (_templateObject3$13 = _taggedTemplateLiteralLoose(["\n width: 100%;\n position: fixed;\n bottom: 0;\n\n @media ", " {\n position: static;\n bottom: 0;\n }\n "])), theme.deviceMediaQuery.large);
13273
+ return styled.css(_templateObject3$16 || (_templateObject3$16 = _taggedTemplateLiteralLoose(["\n width: 100%;\n position: fixed;\n bottom: 50px;\n\n @media ", " {\n position: static;\n bottom: 0;\n }\n "])), theme.deviceMediaQuery.medium);
12644
13274
  });
12645
- var DrawerHeader = styled__default.h2(_templateObject4$Z || (_templateObject4$Z = _taggedTemplateLiteralLoose(["\n ", ";\n padding: 0;\n margin: 0 0 5px;\n"])), function (_ref2) {
13275
+ var DrawerHeader = styled__default.h2(_templateObject4$10 || (_templateObject4$10 = _taggedTemplateLiteralLoose(["\n ", ";\n padding: 0;\n margin: 0 0 5px;\n"])), function (_ref2) {
12646
13276
  var theme = _ref2.theme;
12647
13277
  return theme.typography.global.mainMenu.subheader;
12648
13278
  });
12649
- var CurrentUser = styled__default.div(_templateObject5$T || (_templateObject5$T = _taggedTemplateLiteralLoose(["\n padding: 20px 20px 15px;\n\n ", ";\n"])), function (_ref3) {
13279
+ var CurrentUser = styled__default.div(_templateObject5$V || (_templateObject5$V = _taggedTemplateLiteralLoose(["\n padding: 20px 20px 15px;\n\n ", ";\n"])), function (_ref3) {
12650
13280
  var theme = _ref3.theme;
12651
- return styled.css(_templateObject6$F || (_templateObject6$F = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n ", ";\n "])), theme.styles.global.mainMenu.lines.backgroundColor, theme.typography.global.mainMenu.identity);
13281
+ return styled.css(_templateObject6$H || (_templateObject6$H = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n ", ";\n "])), theme.styles.global.mainMenu.lines.backgroundColor, theme.typography.global.mainMenu.identity);
12652
13282
  });
12653
- var UserOptions = styled__default.div(_templateObject7$B || (_templateObject7$B = _taggedTemplateLiteralLoose(["\n padding: 20px 20px 10px 20px;\n ", ";\n\n"])), function (_ref4) {
13283
+ var UserOptions = styled__default.div(_templateObject7$D || (_templateObject7$D = _taggedTemplateLiteralLoose(["\n padding: 20px 20px 10px 20px;\n ", ";\n\n"])), function (_ref4) {
12654
13284
  var theme = _ref4.theme;
12655
- return styled.css(_templateObject8$x || (_templateObject8$x = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n "])), theme.styles.global.mainMenu.lines.backgroundColor);
13285
+ return styled.css(_templateObject8$z || (_templateObject8$z = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n "])), theme.styles.global.mainMenu.lines.backgroundColor);
12656
13286
  });
12657
- var Logout = styled__default.div(_templateObject9$s || (_templateObject9$s = _taggedTemplateLiteralLoose(["\n padding: 0 20px;\n"])));
12658
- var LinkMenu = styled__default.ul(_templateObject10$m || (_templateObject10$m = _taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 12px 0 0 0;\n list-style: none;\n"])));
12659
- var LinkMenuItem = styled__default.li(_templateObject11$g || (_templateObject11$g = _taggedTemplateLiteralLoose(["\n padding: 10px 0;\n"])));
12660
- var LinkMenuItemA = styled__default(reactRouterDom.Link)(_templateObject12$c || (_templateObject12$c = _taggedTemplateLiteralLoose(["\n ", ";\n display: block;\n width: 100%;\n\n ", ";\n\n ", ";\n"])), resetButtonStyles, function (_ref5) {
13287
+ var Logout = styled__default.div(_templateObject9$u || (_templateObject9$u = _taggedTemplateLiteralLoose(["\n padding: 0 20px;\n"])));
13288
+ var LinkMenu = styled__default.ul(_templateObject10$p || (_templateObject10$p = _taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 12px 0 0 0;\n list-style: none;\n"])));
13289
+ var LinkMenuItem = styled__default.li(_templateObject11$i || (_templateObject11$i = _taggedTemplateLiteralLoose(["\n padding: 10px 0;\n"])));
13290
+ var IconWrapperFooter = styled__default.div(_templateObject12$e || (_templateObject12$e = _taggedTemplateLiteralLoose(["\n width: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n > div {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n padding-right: 20px;\n"])));
13291
+ var LinkMenuItemA = styled__default(reactRouterDom.Link)(_templateObject13$c || (_templateObject13$c = _taggedTemplateLiteralLoose(["\n ", ";\n display: block;\n width: 100%;\n\n ", ";\n\n ", ";\n"])), resetButtonStyles, function (_ref5) {
12661
13292
  var theme = _ref5.theme;
12662
- return styled.css(_templateObject13$a || (_templateObject13$a = _taggedTemplateLiteralLoose(["\n ", ";\n\n &:hover {\n ", ";\n }\n "])), theme.typography.global.mainMenu.subItem["default"], theme.typography.global.mainMenu.subItem.hover);
13293
+ return styled.css(_templateObject14$a || (_templateObject14$a = _taggedTemplateLiteralLoose(["\n ", ";\n\n &:hover {\n ", ";\n }\n "])), theme.typography.global.mainMenu.subItem["default"], theme.typography.global.mainMenu.subItem.hover);
12663
13294
  }, function (_ref6) {
12664
13295
  var theme = _ref6.theme,
12665
13296
  isActive = _ref6.isActive;
12666
- return isActive && styled.css(_templateObject14$8 || (_templateObject14$8 = _taggedTemplateLiteralLoose(["\n &, &:hover {\n ", ";\n }\n "])), theme.typography.global.mainMenu.subItem.active);
12667
- });
12668
-
12669
- var UserMenu = function UserMenu(_ref7) {
12670
- var _ref7$hasLanguage = _ref7.hasLanguage,
12671
- hasLanguage = _ref7$hasLanguage === void 0 ? false : _ref7$hasLanguage,
12672
- _ref7$selectedLanguag = _ref7.selectedLanguageText,
12673
- selectedLanguageText = _ref7$selectedLanguag === void 0 ? '' : _ref7$selectedLanguag,
12674
- _ref7$hasLogout = _ref7.hasLogout,
12675
- hasLogout = _ref7$hasLogout === void 0 ? true : _ref7$hasLogout,
12676
- _ref7$logoutLink = _ref7.logoutLink,
12677
- logoutLink = _ref7$logoutLink === void 0 ? '/logout' : _ref7$logoutLink,
12678
- _ref7$logoutText = _ref7.logoutText,
12679
- logoutText = _ref7$logoutText === void 0 ? 'Logout' : _ref7$logoutText,
12680
- _ref7$hasCurrentUser = _ref7.hasCurrentUser,
12681
- hasCurrentUser = _ref7$hasCurrentUser === void 0 ? true : _ref7$hasCurrentUser,
12682
- _ref7$currentUserText = _ref7.currentUserText,
12683
- currentUserText = _ref7$currentUserText === void 0 ? 'Current User' : _ref7$currentUserText,
12684
- _ref7$accountOptionTe = _ref7.accountOptionText,
12685
- accountOptionText = _ref7$accountOptionTe === void 0 ? "Account Options" : _ref7$accountOptionTe,
12686
- _ref7$userSubmenu = _ref7.userSubmenu,
12687
- userSubmenu = _ref7$userSubmenu === void 0 ? [] : _ref7$userSubmenu,
12688
- userDrawerBespoke = _ref7.userDrawerBespoke,
12689
- loggedInUser = _ref7.loggedInUser,
12690
- _ref7$hasSwitchTheme = _ref7.hasSwitchTheme,
12691
- hasSwitchTheme = _ref7$hasSwitchTheme === void 0 ? false : _ref7$hasSwitchTheme,
12692
- _ref7$isLightMode = _ref7.isLightMode,
12693
- isLightMode = _ref7$isLightMode === void 0 ? true : _ref7$isLightMode,
12694
- _ref7$switchThemeText = _ref7.switchThemeText,
12695
- switchThemeText = _ref7$switchThemeText === void 0 ? 'SWITCH THEME' : _ref7$switchThemeText,
12696
- _ref7$selectedThemeTe = _ref7.selectedThemeText,
12697
- selectedThemeText = _ref7$selectedThemeTe === void 0 ? '' : _ref7$selectedThemeTe,
12698
- _ref7$onLogout = _ref7.onLogout,
12699
- onLogout = _ref7$onLogout === void 0 ? function () {} : _ref7$onLogout,
12700
- _ref7$onLanguageToggl = _ref7.onLanguageToggle,
12701
- onLanguageToggle = _ref7$onLanguageToggl === void 0 ? function () {} : _ref7$onLanguageToggl,
12702
- closeOnClick = _ref7.closeOnClick,
12703
- _ref7$onThemeToggle = _ref7.onThemeToggle,
12704
- onThemeToggle = _ref7$onThemeToggle === void 0 ? function () {} : _ref7$onThemeToggle;
13297
+ return isActive && styled.css(_templateObject15$8 || (_templateObject15$8 = _taggedTemplateLiteralLoose(["\n &, &:hover {\n ", ";\n }\n "])), theme.typography.global.mainMenu.subItem.active);
13298
+ });
13299
+ var FooterMeta = styled__default.div(_templateObject16$6 || (_templateObject16$6 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n border-top: ", " 1px solid;\n margin-top: auto;\n display: flex;\n flex-direction: row;\n align-items: center;\n width: 100%;\n font-size: 10px;\n font-weight: 400;\n color: var(--grey-a11);\n padding: 10px;\n padding-left: ", ";\n"])), function (_ref7) {
13300
+ var theme = _ref7.theme;
13301
+ return theme.fontFamily.ui;
13302
+ }, function (_ref8) {
13303
+ var theme = _ref8.theme;
13304
+ return theme.styles.global.mainMenu.lines.backgroundColor;
13305
+ }, function (_ref9) {
13306
+ var icon = _ref9.icon;
13307
+ return icon !== '' ? '31px;' : '21px;';
13308
+ });
13309
+ var NavigationContainer$1 = styled__default.div(_templateObject17$6 || (_templateObject17$6 = _taggedTemplateLiteralLoose(["\n max-height: 300px;\n overflow: scroll;\n overflow-x: hidden;\n overflow-y: auto;\n ", ";\n"])), function (_ref10) {
13310
+ var theme = _ref10.theme;
13311
+ return styled.css(_templateObject18$4 || (_templateObject18$4 = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n "])), theme.colors.divider);
13312
+ });
13313
+ var FooterText = styled__default.div(_templateObject19$4 || (_templateObject19$4 = _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 (_ref11) {
13314
+ var icon = _ref11.icon;
13315
+ return icon !== '' ? '136px;' : '164px;';
13316
+ });
13317
+
13318
+ var UserMenu = function UserMenu(_ref12) {
13319
+ var _ref12$hasLanguage = _ref12.hasLanguage,
13320
+ hasLanguage = _ref12$hasLanguage === void 0 ? false : _ref12$hasLanguage,
13321
+ _ref12$selectedLangua = _ref12.selectedLanguageText,
13322
+ selectedLanguageText = _ref12$selectedLangua === void 0 ? '' : _ref12$selectedLangua,
13323
+ _ref12$hasLogout = _ref12.hasLogout,
13324
+ hasLogout = _ref12$hasLogout === void 0 ? true : _ref12$hasLogout,
13325
+ _ref12$logoutLink = _ref12.logoutLink,
13326
+ logoutLink = _ref12$logoutLink === void 0 ? '/logout' : _ref12$logoutLink,
13327
+ _ref12$logoutText = _ref12.logoutText,
13328
+ logoutText = _ref12$logoutText === void 0 ? 'Logout' : _ref12$logoutText,
13329
+ _ref12$hasCurrentUser = _ref12.hasCurrentUser,
13330
+ hasCurrentUser = _ref12$hasCurrentUser === void 0 ? true : _ref12$hasCurrentUser,
13331
+ _ref12$currentUserTex = _ref12.currentUserText,
13332
+ currentUserText = _ref12$currentUserTex === void 0 ? 'Current User' : _ref12$currentUserTex,
13333
+ _ref12$accountOptionT = _ref12.accountOptionText,
13334
+ accountOptionText = _ref12$accountOptionT === void 0 ? "Account Options" : _ref12$accountOptionT,
13335
+ _ref12$userSubmenu = _ref12.userSubmenu,
13336
+ userSubmenu = _ref12$userSubmenu === void 0 ? [] : _ref12$userSubmenu,
13337
+ userDrawerBespoke = _ref12.userDrawerBespoke,
13338
+ loggedInUser = _ref12.loggedInUser,
13339
+ _ref12$hasSwitchTheme = _ref12.hasSwitchTheme,
13340
+ hasSwitchTheme = _ref12$hasSwitchTheme === void 0 ? false : _ref12$hasSwitchTheme,
13341
+ _ref12$isLightMode = _ref12.isLightMode,
13342
+ isLightMode = _ref12$isLightMode === void 0 ? true : _ref12$isLightMode,
13343
+ _ref12$switchThemeTex = _ref12.switchThemeText,
13344
+ switchThemeText = _ref12$switchThemeTex === void 0 ? 'SWITCH THEME' : _ref12$switchThemeTex,
13345
+ _ref12$selectedThemeT = _ref12.selectedThemeText,
13346
+ selectedThemeText = _ref12$selectedThemeT === void 0 ? '' : _ref12$selectedThemeT,
13347
+ _ref12$onLogout = _ref12.onLogout,
13348
+ onLogout = _ref12$onLogout === void 0 ? function () {} : _ref12$onLogout,
13349
+ _ref12$onLanguageTogg = _ref12.onLanguageToggle,
13350
+ onLanguageToggle = _ref12$onLanguageTogg === void 0 ? function () {} : _ref12$onLanguageTogg,
13351
+ closeOnClick = _ref12.closeOnClick,
13352
+ _ref12$onThemeToggle = _ref12.onThemeToggle,
13353
+ onThemeToggle = _ref12$onThemeToggle === void 0 ? function () {} : _ref12$onThemeToggle,
13354
+ userDrawerFooter = _ref12.userDrawerFooter,
13355
+ copySuccessMessage = _ref12.copySuccessMessage,
13356
+ includeCopyTitle = _ref12.includeCopyTitle,
13357
+ _ref12$onUserDrawerMe = _ref12.onUserDrawerMetaClick,
13358
+ onUserDrawerMetaClick = _ref12$onUserDrawerMe === void 0 ? function () {} : _ref12$onUserDrawerMe,
13359
+ userDrawerMeta = _ref12.userDrawerMeta,
13360
+ hasUserDrawerMeta = _ref12.hasUserDrawerMeta,
13361
+ hasUserDrawerFooter = _ref12.hasUserDrawerFooter;
13362
+ var icon = userDrawerFooter.icon,
13363
+ title = userDrawerFooter.title;
12705
13364
  var logoutHandler = React.useCallback(function (e) {
12706
13365
  try {
12707
13366
  e.preventDefault();
@@ -12721,9 +13380,18 @@ var UserMenu = function UserMenu(_ref7) {
12721
13380
  closeOnClick();
12722
13381
  }
12723
13382
  }, [closeOnClick]);
12724
- return React__default.createElement(React.Fragment, null, React__default.createElement(DrawerTop, null, hasCurrentUser ? React__default.createElement(CurrentUser, null, React__default.createElement(DrawerHeader, null, currentUserText), loggedInUser) : null, userSubmenu.length > 0 ? React__default.createElement(UserOptions, null, React__default.createElement(DrawerHeader, null, accountOptionText), React__default.createElement(LinkMenu, null, userSubmenu.map(function (_ref8, index) {
12725
- var text = _ref8.text,
12726
- href = _ref8.href;
13383
+ return React__default.createElement(React.Fragment, null, React__default.createElement(DrawerTop, null, hasCurrentUser ? React__default.createElement(CurrentUser, null, React__default.createElement(DrawerHeader, null, currentUserText), loggedInUser) : null, hasUserDrawerMeta ? React__default.createElement(NavigationContainer$1, null, userDrawerMeta === null || userDrawerMeta === void 0 ? void 0 : userDrawerMeta.map(function (item, key) {
13384
+ return React__default.createElement(UserDrawerMeta, Object.assign({
13385
+ onUserDrawerMetaClick: onUserDrawerMetaClick,
13386
+ key: key
13387
+ }, {
13388
+ item: item,
13389
+ includeCopyTitle: includeCopyTitle,
13390
+ copySuccessMessage: copySuccessMessage
13391
+ }));
13392
+ })) : null, userSubmenu.length > 0 ? React__default.createElement(UserOptions, null, React__default.createElement(DrawerHeader, null, accountOptionText), React__default.createElement(LinkMenu, null, userSubmenu.map(function (_ref13, index) {
13393
+ var text = _ref13.text,
13394
+ href = _ref13.href;
12727
13395
  return React__default.createElement(LinkMenuItem, {
12728
13396
  key: index
12729
13397
  }, React__default.createElement(LinkMenuItemA, {
@@ -12743,40 +13411,49 @@ var UserMenu = function UserMenu(_ref7) {
12743
13411
  title: "LANGUAGE / \u8A00\u8A9E",
12744
13412
  subTitle: selectedLanguageText,
12745
13413
  onClickCallback: onLanguageToggle
12746
- })));
13414
+ }), hasUserDrawerFooter ? React__default.createElement(FooterMeta, {
13415
+ title: title,
13416
+ icon: icon
13417
+ }, icon ? React__default.createElement(IconWrapperFooter, null, React__default.createElement(Icon, {
13418
+ icon: icon,
13419
+ size: 14,
13420
+ color: 'dimmed'
13421
+ })) : null, React__default.createElement(FooterText, {
13422
+ icon: icon
13423
+ }, title)) : null));
12747
13424
  };
12748
13425
 
12749
- var _templateObject$1m, _templateObject2$1d, _templateObject3$14, _templateObject4$_, _templateObject5$U, _templateObject6$G, _templateObject7$C, _templateObject8$y;
12750
- var Container$U = styled__default.div(_templateObject$1m || (_templateObject$1m = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 18px 20px 12px 20px;\n height: 122px;\n"])));
12751
- var ImgWrapper = styled__default.div(_templateObject2$1d || (_templateObject2$1d = _taggedTemplateLiteralLoose(["\n border-radius: 5px;\n overflow: hidden;\n height: 40px;\n width: 40px;\n flex-shrink: 0;\n"])));
12752
- var EmptyImg = styled__default.div(_templateObject3$14 || (_templateObject3$14 = _taggedTemplateLiteralLoose(["\n background-color: var(--grey-5);\n width: 100%;\n height: 100%;\n"])));
12753
- var Image$3 = styled__default.div(_templateObject4$_ || (_templateObject4$_ = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n background-image: url(", ");\n background-position: center center;\n background-size: cover;\n background-repeat: no-repeat;\n display: ", ";\n"])), function (p) {
13426
+ var _templateObject$1o, _templateObject2$1f, _templateObject3$17, _templateObject4$11, _templateObject5$W, _templateObject6$I, _templateObject7$E, _templateObject8$A;
13427
+ var Container$W = styled__default.div(_templateObject$1o || (_templateObject$1o = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 18px 20px 12px 20px;\n height: 122px;\n"])));
13428
+ var ImgWrapper = styled__default.div(_templateObject2$1f || (_templateObject2$1f = _taggedTemplateLiteralLoose(["\n border-radius: 5px;\n overflow: hidden;\n height: 40px;\n width: 40px;\n flex-shrink: 0;\n"])));
13429
+ var EmptyImg = styled__default.div(_templateObject3$17 || (_templateObject3$17 = _taggedTemplateLiteralLoose(["\n background-color: var(--grey-5);\n width: 100%;\n height: 100%;\n"])));
13430
+ var Image$2 = styled__default.div(_templateObject4$11 || (_templateObject4$11 = _taggedTemplateLiteralLoose(["\n position: absolute;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n background-image: url(", ");\n background-position: center center;\n background-size: cover;\n background-repeat: no-repeat;\n display: ", ";\n"])), function (p) {
12754
13431
  return p.image;
12755
13432
  }, function (p) {
12756
13433
  return p.image ? 'block' : 'none';
12757
13434
  });
12758
- var InfoContainer = styled__default.div(_templateObject5$U || (_templateObject5$U = _taggedTemplateLiteralLoose(["\n margin-left: 20px;\n"])));
12759
- var Title$9 = styled__default.div(_templateObject6$G || (_templateObject6$G = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n font-weight: 500;\n color: var(--grey-11);\n"])));
12760
- var Message = styled__default.div(_templateObject7$C || (_templateObject7$C = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n font-weight: 500;\n overflow: hidden;\n color: var(--grey-11);\n margin: 4px 0;\n height: 30px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: inline-block;\n vertical-align: middle;\n"])));
12761
- var TimeMsg = styled__default.div(_templateObject8$y || (_templateObject8$y = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n font-weight: 500;\n color: var(--grey-12);\n margin-top: 15px;\n"])));
13435
+ var InfoContainer = styled__default.div(_templateObject5$W || (_templateObject5$W = _taggedTemplateLiteralLoose(["\n margin-left: 20px;\n"])));
13436
+ var Title$9 = styled__default.div(_templateObject6$I || (_templateObject6$I = _taggedTemplateLiteralLoose(["\n font-size: 16px;\n font-weight: 500;\n color: var(--grey-11);\n"])));
13437
+ var Message = styled__default.div(_templateObject7$E || (_templateObject7$E = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n font-weight: 500;\n overflow: hidden;\n color: var(--grey-11);\n margin: 4px 0;\n height: 30px;\n text-overflow: ellipsis;\n overflow: hidden;\n display: inline-block;\n vertical-align: middle;\n"])));
13438
+ var TimeMsg = styled__default.div(_templateObject8$A || (_templateObject8$A = _taggedTemplateLiteralLoose(["\n font-size: 13px;\n font-weight: 500;\n color: var(--grey-12);\n margin-top: 15px;\n"])));
12762
13439
 
12763
13440
  var NotificationItem = function NotificationItem(_ref) {
12764
13441
  var imgUrl = _ref.imgUrl,
12765
13442
  title = _ref.title,
12766
13443
  message = _ref.message,
12767
13444
  time = _ref.time;
12768
- return React__default.createElement(Container$U, null, React__default.createElement(ImgWrapper, null, imgUrl ? React__default.createElement(Image$3, {
13445
+ return React__default.createElement(Container$W, null, React__default.createElement(ImgWrapper, null, imgUrl ? React__default.createElement(Image$2, {
12769
13446
  image: imgUrl
12770
13447
  }) : React__default.createElement(EmptyImg, null)), React__default.createElement(InfoContainer, null, React__default.createElement(Title$9, null, title), React__default.createElement(Message, null, message), React__default.createElement(TimeMsg, null, time)));
12771
13448
  };
12772
13449
 
12773
- var _templateObject$1n, _templateObject2$1e, _templateObject3$15;
12774
- var Container$V = styled__default.div(_templateObject$1n || (_templateObject$1n = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n"])));
12775
- var StatusContainer = styled__default.h2(_templateObject2$1e || (_templateObject2$1e = _taggedTemplateLiteralLoose(["\n text-transform: uppercase;\n padding: 10px 0 10px 20px;\n font-size: 14px;\n font-weight: 500;\n color: var(--grey-12);\n border-bottom: ", " 1px solid;\n margin: 0;\n"])), function (_ref) {
13450
+ var _templateObject$1p, _templateObject2$1g, _templateObject3$18;
13451
+ var Container$X = styled__default.div(_templateObject$1p || (_templateObject$1p = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: column;\n"])));
13452
+ var StatusContainer = styled__default.h2(_templateObject2$1g || (_templateObject2$1g = _taggedTemplateLiteralLoose(["\n text-transform: uppercase;\n padding: 10px 0 10px 20px;\n font-size: 14px;\n font-weight: 500;\n color: var(--grey-12);\n border-bottom: ", " 1px solid;\n margin: 0;\n"])), function (_ref) {
12776
13453
  var theme = _ref.theme;
12777
13454
  return theme.colors.divider;
12778
13455
  });
12779
- var NotificationWrapper = styled__default.div(_templateObject3$15 || (_templateObject3$15 = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n"])), function (_ref2) {
13456
+ var NotificationWrapper = styled__default.div(_templateObject3$18 || (_templateObject3$18 = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n"])), function (_ref2) {
12780
13457
  var colors = _ref2.theme.colors;
12781
13458
  return colors.divider;
12782
13459
  });
@@ -12800,21 +13477,21 @@ var NotificationsHistory = function NotificationsHistory(_ref3) {
12800
13477
  unreadNotificationsText = _ref3$unreadNotificat === void 0 ? 'Read' : _ref3$unreadNotificat;
12801
13478
 
12802
13479
  if (read.length === 0 && unread.length === 0) {
12803
- return React__default.createElement(Container$V, null, React__default.createElement(StatusContainer, null, noNotificationsText));
13480
+ return React__default.createElement(Container$X, null, React__default.createElement(StatusContainer, null, noNotificationsText));
12804
13481
  }
12805
13482
 
12806
- return React__default.createElement(Container$V, 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')));
13483
+ return React__default.createElement(Container$X, 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')));
12807
13484
  };
12808
13485
 
12809
- var _templateObject$1o, _templateObject2$1f, _templateObject3$16, _templateObject4$$, _templateObject5$V, _templateObject6$H, _templateObject7$D, _templateObject8$z, _templateObject9$t, _templateObject10$n, _templateObject11$h, _templateObject12$d, _templateObject13$b, _templateObject14$9;
12810
- var Container$W = styled__default.div(_templateObject$1o || (_templateObject$1o = _taggedTemplateLiteralLoose(["\n z-index: 9;\n position: sticky;\n top: 0;\n align-self: flex-start;\n height: 65px;\n width: 100%;\n display: flex;\n justify-content: space-between;\n\n ", "\n"])), function (_ref) {
13486
+ var _templateObject$1q, _templateObject2$1h, _templateObject3$19, _templateObject4$12, _templateObject5$X, _templateObject6$J, _templateObject7$F, _templateObject8$B, _templateObject9$v, _templateObject10$q, _templateObject11$j, _templateObject12$f, _templateObject13$d, _templateObject14$b;
13487
+ var Container$Y = styled__default.div(_templateObject$1q || (_templateObject$1q = _taggedTemplateLiteralLoose(["\n z-index: 9;\n position: sticky;\n top: 0;\n align-self: flex-start;\n height: 65px;\n width: 100%;\n display: flex;\n justify-content: space-between;\n\n ", "\n"])), function (_ref) {
12811
13488
  var theme = _ref.theme,
12812
13489
  colors = _ref.theme.colors;
12813
- return colors && styled.css(_templateObject2$1f || (_templateObject2$1f = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n background-color:", ";\n "])), theme.styles.global.mainMenu.lines.backgroundColor, theme.styles.global.mainMenu.background.backgroundColor);
13490
+ return colors && styled.css(_templateObject2$1h || (_templateObject2$1h = _taggedTemplateLiteralLoose(["\n border-bottom: ", " 1px solid;\n background-color:", ";\n "])), theme.styles.global.mainMenu.lines.backgroundColor, theme.styles.global.mainMenu.background.backgroundColor);
12814
13491
  });
12815
- var SearchBar = styled__default.div(_templateObject3$16 || (_templateObject3$16 = _taggedTemplateLiteralLoose(["\n margin-left: 25px;\n flex: 0 1 500px;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
12816
- var IconWrapper$3 = styled__default.div(_templateObject4$$ || (_templateObject4$$ = _taggedTemplateLiteralLoose(["\n flex: 0 40px;\n width: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n > div {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n"])));
12817
- var SearchInput = styled__default.input(_templateObject5$V || (_templateObject5$V = _taggedTemplateLiteralLoose(["\n ", ";\n font-family: ", ";\n flex: 1;\n height: 35px;\n line-height: 35px;\n border: none;\n outline: none;\n background: transparent;\n\n ", ";\n\n &::placeholder {\n font-style: italic;\n ", ";\n }\n"])), removeAutoFillStyle, function (_ref2) {
13492
+ var SearchBar = styled__default.div(_templateObject3$19 || (_templateObject3$19 = _taggedTemplateLiteralLoose(["\n margin-left: 25px;\n flex: 0 1 500px;\n display: flex;\n justify-content: center;\n align-items: center;\n"])));
13493
+ var IconWrapper$4 = styled__default.div(_templateObject4$12 || (_templateObject4$12 = _taggedTemplateLiteralLoose(["\n flex: 0 40px;\n width: 5px;\n display: flex;\n justify-content: center;\n align-items: center;\n > div {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n"])));
13494
+ var SearchInput = styled__default.input(_templateObject5$X || (_templateObject5$X = _taggedTemplateLiteralLoose(["\n ", ";\n font-family: ", ";\n flex: 1;\n height: 35px;\n line-height: 35px;\n border: none;\n outline: none;\n background: transparent;\n\n ", ";\n\n &::placeholder {\n font-style: italic;\n ", ";\n }\n"])), removeAutoFillStyle, function (_ref2) {
12818
13495
  var theme = _ref2.theme;
12819
13496
  return theme.fontFamily.data;
12820
13497
  }, function (_ref3) {
@@ -12824,19 +13501,19 @@ var SearchInput = styled__default.input(_templateObject5$V || (_templateObject5$
12824
13501
  var typography = _ref4.theme.typography;
12825
13502
  return typography.global.topBar.search.placeholder;
12826
13503
  });
12827
- var ButtonArea = styled__default.div(_templateObject6$H || (_templateObject6$H = _taggedTemplateLiteralLoose(["\n height: inherit;\n padding-right: 10px;\n display: flex;\n"])));
13504
+ var ButtonArea = styled__default.div(_templateObject6$J || (_templateObject6$J = _taggedTemplateLiteralLoose(["\n height: inherit;\n padding-right: 10px;\n display: flex;\n"])));
12828
13505
  var DrawerToggle = styled__default.button.attrs({
12829
13506
  type: 'button'
12830
- })(_templateObject7$D || (_templateObject7$D = _taggedTemplateLiteralLoose(["\n width: 60px;\n margin: 0 5px;\n height: inherit;\n background: none;\n border: none;\n outline: none;\n cursor: pointer;\n\n ", ";\n\n ", "\n"])), function (_ref5) {
13507
+ })(_templateObject7$F || (_templateObject7$F = _taggedTemplateLiteralLoose(["\n width: 60px;\n margin: 0 5px;\n height: inherit;\n background: none;\n border: none;\n outline: none;\n cursor: pointer;\n\n ", ";\n\n ", "\n"])), function (_ref5) {
12831
13508
  var theme = _ref5.theme;
12832
- return styled.css(_templateObject8$z || (_templateObject8$z = _taggedTemplateLiteralLoose(["\n border-bottom: 5px solid transparent;\n /*", ";*/\n\n &:hover {\n border-bottom-color: ", ";\n }\n\n transition: border ", " ", ";\n "])), theme.colors.menu.indicator, theme.colors.menu.hover, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut);
13509
+ return styled.css(_templateObject8$B || (_templateObject8$B = _taggedTemplateLiteralLoose(["\n border-bottom: 5px solid transparent;\n /*", ";*/\n\n &:hover {\n border-bottom-color: ", ";\n }\n\n transition: border ", " ", ";\n "])), theme.colors.menu.indicator, theme.colors.menu.hover, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut);
12833
13510
  }, function (_ref6) {
12834
13511
  var isActive = _ref6.isActive,
12835
13512
  theme = _ref6.theme;
12836
- return isActive && styled.css(_templateObject9$t || (_templateObject9$t = _taggedTemplateLiteralLoose(["\n &, &:hover {\n border-bottom-color: ", ";\n }\n "])), theme.colors.menu.active);
13513
+ return isActive && styled.css(_templateObject9$v || (_templateObject9$v = _taggedTemplateLiteralLoose(["\n &, &:hover {\n border-bottom-color: ", ";\n }\n "])), theme.colors.menu.active);
12837
13514
  });
12838
- var DrawerPortalWrapper = styled__default.div(_templateObject10$n || (_templateObject10$n = _taggedTemplateLiteralLoose([""])));
12839
- var Drawer = styled__default.div(_templateObject11$h || (_templateObject11$h = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n\n position: fixed;\n right: -10px;\n top: 65px;\n bottom: 0;\n background: ", ";\n border-left: ", " 1px solid;\n width: ", ";\n opacity: 0;\n visibility: hidden;\n z-index: 100;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n ", ";\n\n ", "\n"])), function (_ref7) {
13515
+ var DrawerPortalWrapper = styled__default.div(_templateObject10$q || (_templateObject10$q = _taggedTemplateLiteralLoose([""])));
13516
+ var Drawer = styled__default.div(_templateObject11$j || (_templateObject11$j = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n\n position: fixed;\n right: -10px;\n top: 65px;\n bottom: 0;\n background: ", ";\n border-left: ", " 1px solid;\n width: ", ";\n opacity: 0;\n visibility: hidden;\n z-index: 100;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n ", ";\n\n ", "\n"])), function (_ref7) {
12840
13517
  var theme = _ref7.theme;
12841
13518
  return theme.fontFamily.ui;
12842
13519
  }, function (_ref8) {
@@ -12850,12 +13527,12 @@ var Drawer = styled__default.div(_templateObject11$h || (_templateObject11$h = _
12850
13527
  return baseWidth ? baseWidth : "200px";
12851
13528
  }, function (_ref11) {
12852
13529
  var theme = _ref11.theme;
12853
- return styled.css(_templateObject12$d || (_templateObject12$d = _taggedTemplateLiteralLoose(["\n transition:\n opacity ", " ", ",\n right ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeInOut, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut);
13530
+ return styled.css(_templateObject12$f || (_templateObject12$f = _taggedTemplateLiteralLoose(["\n transition:\n opacity ", " ", ",\n right ", " ", ";\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeInOut, theme.animation.speed.normal, theme.animation.easing.primary.easeInOut);
12854
13531
  }, function (_ref12) {
12855
13532
  var isOpen = _ref12.isOpen;
12856
- return isOpen && styled.css(_templateObject13$b || (_templateObject13$b = _taggedTemplateLiteralLoose(["\n right: 0;\n opacity: 1;\n visibility: visible;\n "])));
13533
+ return isOpen && styled.css(_templateObject13$d || (_templateObject13$d = _taggedTemplateLiteralLoose(["\n right: 0;\n opacity: 1;\n visibility: visible;\n "])));
12857
13534
  });
12858
- var NotificationsContainer = styled__default.div(_templateObject14$9 || (_templateObject14$9 = _taggedTemplateLiteralLoose(["\n overflow-y: scroll;\n margin-right: -17px;\n"])));
13535
+ var NotificationsContainer = styled__default.div(_templateObject14$b || (_templateObject14$b = _taggedTemplateLiteralLoose(["\n overflow-y: scroll;\n margin-right: -17px;\n"])));
12859
13536
 
12860
13537
  var TopBar = function TopBar(_ref13) {
12861
13538
  var _ref13$hasNotificatio = _ref13.hasNotifications,
@@ -12899,7 +13576,15 @@ var TopBar = function TopBar(_ref13) {
12899
13576
  _ref13$onLanguageTogg = _ref13.onLanguageToggle,
12900
13577
  onLanguageToggle = _ref13$onLanguageTogg === void 0 ? function () {} : _ref13$onLanguageTogg,
12901
13578
  _ref13$onThemeToggle = _ref13.onThemeToggle,
12902
- onThemeToggle = _ref13$onThemeToggle === void 0 ? function () {} : _ref13$onThemeToggle;
13579
+ onThemeToggle = _ref13$onThemeToggle === void 0 ? function () {} : _ref13$onThemeToggle,
13580
+ userDrawerFooter = _ref13.userDrawerFooter,
13581
+ userDrawerMeta = _ref13.userDrawerMeta,
13582
+ _ref13$onUserDrawerMe = _ref13.onUserDrawerMetaClick,
13583
+ onUserDrawerMetaClick = _ref13$onUserDrawerMe === void 0 ? function () {} : _ref13$onUserDrawerMe,
13584
+ hasUserDrawerMeta = _ref13.hasUserDrawerMeta,
13585
+ copySuccessMessage = _ref13.copySuccessMessage,
13586
+ includeCopyTitle = _ref13.includeCopyTitle,
13587
+ hasUserDrawerFooter = _ref13.hasUserDrawerFooter;
12903
13588
 
12904
13589
  var _useState = React.useState(null),
12905
13590
  openDrawer = _useState[0],
@@ -12915,7 +13600,7 @@ var TopBar = function TopBar(_ref13) {
12915
13600
  });
12916
13601
  };
12917
13602
 
12918
- return React__default.createElement(Container$W, null, hasSearch ? React__default.createElement(SearchBar, null, React__default.createElement(IconWrapper$3, null, React__default.createElement(Icon, {
13603
+ return React__default.createElement(Container$Y, null, hasSearch ? React__default.createElement(SearchBar, null, React__default.createElement(IconWrapper$4, null, React__default.createElement(Icon, {
12919
13604
  icon: 'Search',
12920
13605
  size: 18,
12921
13606
  color: 'dimmed'
@@ -12964,7 +13649,14 @@ var TopBar = function TopBar(_ref13) {
12964
13649
  isLightMode: isLightMode,
12965
13650
  switchThemeText: switchThemeText,
12966
13651
  selectedThemeText: selectedThemeText,
12967
- onThemeToggle: onThemeToggle
13652
+ onThemeToggle: onThemeToggle,
13653
+ onUserDrawerMetaClick: onUserDrawerMetaClick,
13654
+ userDrawerFooter: userDrawerFooter,
13655
+ userDrawerMeta: userDrawerMeta,
13656
+ hasUserDrawerMeta: hasUserDrawerMeta,
13657
+ copySuccessMessage: copySuccessMessage,
13658
+ includeCopyTitle: includeCopyTitle,
13659
+ hasUserDrawerFooter: hasUserDrawerFooter
12968
13660
  }))), hasNotifications ? React__default.createElement(Drawer, {
12969
13661
  isOpen: openDrawer === 'notifications',
12970
13662
  baseWidth: '300px'
@@ -12994,8 +13686,8 @@ var Tabs = function Tabs(_ref) {
12994
13686
  }, children);
12995
13687
  };
12996
13688
 
12997
- var _templateObject$1p;
12998
- var TabListWrapper = styled__default.div(_templateObject$1p || (_templateObject$1p = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n"])));
13689
+ var _templateObject$1r;
13690
+ var TabListWrapper = styled__default.div(_templateObject$1r || (_templateObject$1r = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n"])));
12999
13691
 
13000
13692
  var TabList = function TabList(_ref) {
13001
13693
  var children = _ref.children,
@@ -13012,11 +13704,11 @@ var TabList = function TabList(_ref) {
13012
13704
 
13013
13705
  var _excluded$E = ["children", "tabFor", "onClick"];
13014
13706
 
13015
- var _templateObject$1q, _templateObject2$1g, _templateObject3$17;
13016
- var TabComponent = styled__default.div(_templateObject$1q || (_templateObject$1q = _taggedTemplateLiteralLoose(["\n margin-right: 39px;\n display: flex;\n align-items: center;\n line-height: 20px;\n"])));
13017
- var TabLabel = styled__default.label(_templateObject2$1g || (_templateObject2$1g = _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"])), function (_ref) {
13707
+ var _templateObject$1s, _templateObject2$1i, _templateObject3$1a;
13708
+ var TabComponent = styled__default.div(_templateObject$1s || (_templateObject$1s = _taggedTemplateLiteralLoose(["\n margin-right: 39px;\n display: flex;\n align-items: center;\n line-height: 20px;\n"])));
13709
+ var TabLabel = styled__default.label(_templateObject2$1i || (_templateObject2$1i = _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"])), function (_ref) {
13018
13710
  var theme = _ref.theme;
13019
- return styled.css(_templateObject3$17 || (_templateObject3$17 = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n "])), theme.fontFamily.ui);
13711
+ return styled.css(_templateObject3$1a || (_templateObject3$1a = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n "])), theme.fontFamily.ui);
13020
13712
  }, function (_ref2) {
13021
13713
  var active = _ref2.active;
13022
13714
  return active ? '600' : '500';
@@ -13051,8 +13743,8 @@ var Tab = function Tab(_ref5) {
13051
13743
 
13052
13744
  var _excluded$F = ["children", "tabId"];
13053
13745
 
13054
- var _templateObject$1r;
13055
- var Container$X = styled__default.div(_templateObject$1r || (_templateObject$1r = _taggedTemplateLiteralLoose(["\n"])));
13746
+ var _templateObject$1t;
13747
+ var Container$Z = styled__default.div(_templateObject$1t || (_templateObject$1t = _taggedTemplateLiteralLoose(["\n"])));
13056
13748
 
13057
13749
  var TabContent = function TabContent(_ref) {
13058
13750
  var children = _ref.children,
@@ -13062,20 +13754,20 @@ var TabContent = function TabContent(_ref) {
13062
13754
  var _useContext = React.useContext(TabContext),
13063
13755
  selected = _useContext.selected;
13064
13756
 
13065
- return selected === tabId ? React__default.createElement(Container$X, Object.assign({}, props), children) : null;
13757
+ return selected === tabId ? React__default.createElement(Container$Z, Object.assign({}, props), children) : null;
13066
13758
  };
13067
13759
 
13068
13760
  var _excluded$G = ["tabFor", "icon", "closeId", "counter", "status"];
13069
13761
 
13070
- var _templateObject$1s, _templateObject2$1h, _templateObject3$18, _templateObject4$10;
13071
- var Container$Y = styled__default.button(_templateObject$1s || (_templateObject$1s = _taggedTemplateLiteralLoose(["\n ", "\n flex-basis: auto;\n flex-grow: 1;\n"])), resetButtonStyles);
13072
- var LinkTab = styled__default.div(_templateObject2$1h || (_templateObject2$1h = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n\n ", ";\n\n ", "\n"])), function (_ref) {
13762
+ var _templateObject$1u, _templateObject2$1j, _templateObject3$1b, _templateObject4$13;
13763
+ var Container$_ = styled__default.button(_templateObject$1u || (_templateObject$1u = _taggedTemplateLiteralLoose(["\n ", "\n flex-basis: auto;\n flex-grow: 1;\n"])), resetButtonStyles);
13764
+ var LinkTab = styled__default.div(_templateObject2$1j || (_templateObject2$1j = _taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100%;\n\n ", ";\n\n ", "\n"])), function (_ref) {
13073
13765
  var theme = _ref.theme;
13074
- return styled.css(_templateObject3$18 || (_templateObject3$18 = _taggedTemplateLiteralLoose(["\n transition: border ", " ", ";\n border-bottom: 5px solid ", ";\n\n ", " {\n [stroke]{\n stroke: ", ";\n }\n }\n\n &:hover {\n border-bottom-color: ", ";\n ", " {\n [stroke]{\n stroke: ", ";\n }\n }\n }\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeInOut, theme.colors.menu.indicator, IconWrapper, theme.colors.icons['dimmed'], theme.colors.menu.hover, IconWrapper, theme.colors.menu.hover);
13766
+ return styled.css(_templateObject3$1b || (_templateObject3$1b = _taggedTemplateLiteralLoose(["\n transition: border ", " ", ";\n border-bottom: 5px solid ", ";\n\n ", " {\n [stroke]{\n stroke: ", ";\n }\n }\n\n &:hover {\n border-bottom-color: ", ";\n ", " {\n [stroke]{\n stroke: ", ";\n }\n }\n }\n "])), theme.animation.speed.normal, theme.animation.easing.primary.easeInOut, theme.colors.menu.indicator, IconWrapper, theme.colors.icons['dimmed'], theme.colors.menu.hover, IconWrapper, theme.colors.menu.hover);
13075
13767
  }, function (_ref2) {
13076
13768
  var isActive = _ref2.isActive,
13077
13769
  theme = _ref2.theme;
13078
- return isActive && styled.css(_templateObject4$10 || (_templateObject4$10 = _taggedTemplateLiteralLoose(["\n &, &:hover {\n border-bottom-color: ", ";\n ", " {\n [stroke]{\n stroke: ", ";\n }\n }\n }\n "])), theme.colors.menu.active, IconWrapper, theme.colors.menu.active);
13770
+ return isActive && styled.css(_templateObject4$13 || (_templateObject4$13 = _taggedTemplateLiteralLoose(["\n &, &:hover {\n border-bottom-color: ", ";\n ", " {\n [stroke]{\n stroke: ", ";\n }\n }\n }\n "])), theme.colors.menu.active, IconWrapper, theme.colors.menu.active);
13079
13771
  });
13080
13772
 
13081
13773
  var MobileTab = function MobileTab(_ref3) {
@@ -13094,7 +13786,7 @@ var MobileTab = function MobileTab(_ref3) {
13094
13786
  var newValue = selected === tabId ? closeId : tabId;
13095
13787
  setSelected(newValue);
13096
13788
  }, [closeId, selected, setSelected]);
13097
- return React__default.createElement(Container$Y, Object.assign({}, props, {
13789
+ return React__default.createElement(Container$_, Object.assign({}, props, {
13098
13790
  onClick: function onClick() {
13099
13791
  return onChangeTab(tabFor);
13100
13792
  }
@@ -13109,23 +13801,23 @@ var MobileTab = function MobileTab(_ref3) {
13109
13801
 
13110
13802
  var _excluded$H = ["icon", "title", "subtitle", "tabFor"];
13111
13803
 
13112
- var _templateObject$1t, _templateObject2$1i, _templateObject3$19, _templateObject4$11, _templateObject5$W, _templateObject6$I;
13113
- var Container$Z = styled__default.div(_templateObject$1t || (_templateObject$1t = _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) {
13804
+ var _templateObject$1v, _templateObject2$1k, _templateObject3$1c, _templateObject4$14, _templateObject5$Y, _templateObject6$K;
13805
+ var Container$$ = styled__default.div(_templateObject$1v || (_templateObject$1v = _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) {
13114
13806
  var active = _ref.active;
13115
- return active ? styled.css(_templateObject2$1i || (_templateObject2$1i = _taggedTemplateLiteralLoose(["\n border-bottom: 3px solid var(--primary-11);\n "]))) : styled.css(_templateObject3$19 || (_templateObject3$19 = _taggedTemplateLiteralLoose(["\n border-bottom: 3px solid transparent;\n "])));
13807
+ return active ? styled.css(_templateObject2$1k || (_templateObject2$1k = _taggedTemplateLiteralLoose(["\n border-bottom: 3px solid var(--primary-11);\n "]))) : styled.css(_templateObject3$1c || (_templateObject3$1c = _taggedTemplateLiteralLoose(["\n border-bottom: 3px solid transparent;\n "])));
13116
13808
  }, IconWrapper);
13117
- var Title$a = styled__default.div(_templateObject4$11 || (_templateObject4$11 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-family: ", ";\n letter-spacing: 0.09px;\n font-weight: 500;\n color: ", ";\n margin-bottom: 5px;\n flex-shrink: 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n"])), function (_ref2) {
13809
+ var Title$a = styled__default.div(_templateObject4$14 || (_templateObject4$14 = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-family: ", ";\n letter-spacing: 0.09px;\n font-weight: 500;\n color: ", ";\n margin-bottom: 5px;\n flex-shrink: 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n"])), function (_ref2) {
13118
13810
  var theme = _ref2.theme;
13119
13811
  return theme.fontFamily.ui;
13120
13812
  }, function (_ref3) {
13121
13813
  var active = _ref3.active;
13122
13814
  return active ? 'var(--primary-11)' : 'var(--grey-11)';
13123
13815
  });
13124
- var SubTitle$2 = styled__default.div(_templateObject5$W || (_templateObject5$W = _taggedTemplateLiteralLoose(["\n font-size: 12px;\n font-family: ", ";\n font-style: italic;\n color: var(--grey-a10);\n flex-shrink: 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n"])), function (_ref4) {
13816
+ var SubTitle$2 = styled__default.div(_templateObject5$Y || (_templateObject5$Y = _taggedTemplateLiteralLoose(["\n font-size: 12px;\n font-family: ", ";\n font-style: italic;\n color: var(--grey-a10);\n flex-shrink: 0;\n white-space: nowrap;\n text-overflow: ellipsis;\n"])), function (_ref4) {
13125
13817
  var theme = _ref4.theme;
13126
13818
  return theme.fontFamily.data;
13127
13819
  });
13128
- var TextGroup$1 = styled__default.div(_templateObject6$I || (_templateObject6$I = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n margin-right: 20px;\n"])));
13820
+ var TextGroup$1 = styled__default.div(_templateObject6$K || (_templateObject6$K = _taggedTemplateLiteralLoose(["\n margin-left: 12px;\n margin-right: 20px;\n"])));
13129
13821
 
13130
13822
  var TabWithIcon = function TabWithIcon(_ref5) {
13131
13823
  var icon = _ref5.icon,
@@ -13142,7 +13834,7 @@ var TabWithIcon = function TabWithIcon(_ref5) {
13142
13834
  setSelected(tabId);
13143
13835
  }, [setSelected]);
13144
13836
  var active = selected === tabFor;
13145
- return React__default.createElement(Container$Z, Object.assign({}, {
13837
+ return React__default.createElement(Container$$, Object.assign({}, {
13146
13838
  active: active
13147
13839
  }, props, {
13148
13840
  onClick: function onClick() {
@@ -13159,9 +13851,9 @@ var TabWithIcon = function TabWithIcon(_ref5) {
13159
13851
  }), title), subtitle && React__default.createElement(SubTitle$2, null, subtitle)));
13160
13852
  };
13161
13853
 
13162
- var _templateObject$1u, _templateObject2$1j;
13163
- var Container$_ = styled__default.div(_templateObject$1u || (_templateObject$1u = _taggedTemplateLiteralLoose([""])));
13164
- var TabListWrapper$1 = styled__default.div(_templateObject2$1j || (_templateObject2$1j = _taggedTemplateLiteralLoose(["\n padding-top: 10px;\n padding-left: ", ";\n box-shadow: 0 -5px 5px 0 var(--black-a1);\n border-bottom: 1px solid var(--grey-6);\n overflow-y: auto;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n &::-webkit-scrollbar { /* WebKit */\n width: 0;\n height: 0;\n }\n"])), function (_ref) {
13854
+ var _templateObject$1w, _templateObject2$1l;
13855
+ var Container$10 = styled__default.div(_templateObject$1w || (_templateObject$1w = _taggedTemplateLiteralLoose([""])));
13856
+ var TabListWrapper$1 = styled__default.div(_templateObject2$1l || (_templateObject2$1l = _taggedTemplateLiteralLoose(["\n padding-top: 10px;\n padding-left: ", ";\n box-shadow: 0 -5px 5px 0 var(--black-a1);\n border-bottom: 1px solid var(--grey-6);\n overflow-y: auto;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n &::-webkit-scrollbar { /* WebKit */\n width: 0;\n height: 0;\n }\n"])), function (_ref) {
13165
13857
  var paddingLeft = _ref.paddingLeft;
13166
13858
  return paddingLeft ? paddingLeft : '87px';
13167
13859
  });
@@ -13170,7 +13862,7 @@ var TabsWithIconBar = function TabsWithIconBar(_ref2) {
13170
13862
  var defaultTabId = _ref2.defaultTabId,
13171
13863
  tabList = _ref2.tabList,
13172
13864
  paddingLeft = _ref2.paddingLeft;
13173
- return React__default.createElement(Container$_, null, React__default.createElement(Tabs, null, React__default.createElement(TabListWrapper$1, Object.assign({}, {
13865
+ return React__default.createElement(Container$10, null, React__default.createElement(Tabs, null, React__default.createElement(TabListWrapper$1, Object.assign({}, {
13174
13866
  paddingLeft: paddingLeft
13175
13867
  }), React__default.createElement(TabList, Object.assign({}, {
13176
13868
  defaultTabId: defaultTabId
@@ -13199,13 +13891,13 @@ var TabsWithIconBar = function TabsWithIconBar(_ref2) {
13199
13891
 
13200
13892
  var _excluded$I = ["closeId", "closeText"];
13201
13893
 
13202
- var _templateObject$1v, _templateObject2$1k, _templateObject3$1a, _templateObject4$12;
13203
- var StyledButton$6 = styled__default.button(_templateObject$1v || (_templateObject$1v = _taggedTemplateLiteralLoose(["\n ", "\n\n ", ";\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, function (_ref) {
13894
+ var _templateObject$1x, _templateObject2$1m, _templateObject3$1d, _templateObject4$15;
13895
+ var StyledButton$6 = styled__default.button(_templateObject$1x || (_templateObject$1x = _taggedTemplateLiteralLoose(["\n ", "\n\n ", ";\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, function (_ref) {
13204
13896
  var theme = _ref.theme;
13205
- return styled.css(_templateObject2$1k || (_templateObject2$1k = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n ", ";\n border-top: 1px solid ", ";\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.menuItem["default"], theme.styles.global.mainMenu.background, theme.colors.divider);
13897
+ return styled.css(_templateObject2$1m || (_templateObject2$1m = _taggedTemplateLiteralLoose(["\n font-family: ", ";\n ", ";\n ", ";\n border-top: 1px solid ", ";\n "])), theme.fontFamily.ui, theme.typography.global.mainMenu.menuItem["default"], theme.styles.global.mainMenu.background, theme.colors.divider);
13206
13898
  }, MOBILE_CLOSE_HEIGHT);
13207
- var IconContainer$2 = styled__default.div(_templateObject3$1a || (_templateObject3$1a = _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"])));
13208
- var TextWrapper = styled__default.div(_templateObject4$12 || (_templateObject4$12 = _taggedTemplateLiteralLoose(["\n text-transform: uppercase;\n"])));
13899
+ var IconContainer$2 = styled__default.div(_templateObject3$1d || (_templateObject3$1d = _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"])));
13900
+ var TextWrapper = styled__default.div(_templateObject4$15 || (_templateObject4$15 = _taggedTemplateLiteralLoose(["\n text-transform: uppercase;\n"])));
13209
13901
 
13210
13902
  var CloseButton$1 = function CloseButton(_ref2) {
13211
13903
  var closeId = _ref2.closeId,
@@ -13227,9 +13919,9 @@ var CloseButton$1 = function CloseButton(_ref2) {
13227
13919
  })), React__default.createElement(TextWrapper, null, closeText));
13228
13920
  };
13229
13921
 
13230
- var _templateObject$1w, _templateObject2$1l;
13231
- var Container$$ = styled__default.div(_templateObject$1w || (_templateObject$1w = _taggedTemplateLiteralLoose(["\n position: relative;\n min-height: calc(100vh - ", "px);\n width: 100%;\n overflow-y: scroll;\n"])), MOBILE_NAVBAR_HEIGHT + MOBILE_CLOSE_HEIGHT);
13232
- var ContentWrapper = styled__default.div(_templateObject2$1l || (_templateObject2$1l = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n"])));
13922
+ var _templateObject$1y, _templateObject2$1n;
13923
+ var Container$11 = styled__default.div(_templateObject$1y || (_templateObject$1y = _taggedTemplateLiteralLoose(["\n position: relative;\n min-height: calc(100vh - ", "px);\n width: 100%;\n overflow-y: scroll;\n"])), MOBILE_NAVBAR_HEIGHT + MOBILE_CLOSE_HEIGHT);
13924
+ var ContentWrapper = styled__default.div(_templateObject2$1n || (_templateObject2$1n = _taggedTemplateLiteralLoose(["\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n"])));
13233
13925
 
13234
13926
  var MobileNavbarContent = function MobileNavbarContent(_ref) {
13235
13927
  var closeId = _ref.closeId,
@@ -13238,14 +13930,14 @@ var MobileNavbarContent = function MobileNavbarContent(_ref) {
13238
13930
  var _useContext = React.useContext(TabContext),
13239
13931
  selected = _useContext.selected;
13240
13932
 
13241
- return selected === closeId ? null : React__default.createElement(Container$$, null, React__default.createElement(ContentWrapper, null, children));
13933
+ return selected === closeId ? null : React__default.createElement(Container$11, null, React__default.createElement(ContentWrapper, null, children));
13242
13934
  };
13243
13935
 
13244
- var _templateObject$1x, _templateObject2$1m, _templateObject3$1b;
13245
- var Container$10 = styled__default.div(_templateObject$1x || (_templateObject$1x = _taggedTemplateLiteralLoose([""])));
13246
- var ItemWrapper = styled__default.div(_templateObject2$1m || (_templateObject2$1m = _taggedTemplateLiteralLoose(["\n padding: 14px 0;\n ", ";\n"])), function (_ref) {
13936
+ var _templateObject$1z, _templateObject2$1o, _templateObject3$1e;
13937
+ var Container$12 = styled__default.div(_templateObject$1z || (_templateObject$1z = _taggedTemplateLiteralLoose([""])));
13938
+ var ItemWrapper = styled__default.div(_templateObject2$1o || (_templateObject2$1o = _taggedTemplateLiteralLoose(["\n padding: 14px 0;\n ", ";\n"])), function (_ref) {
13247
13939
  var theme = _ref.theme;
13248
- return styled.css(_templateObject3$1b || (_templateObject3$1b = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", "\n "])), theme.colors.divider);
13940
+ return styled.css(_templateObject3$1e || (_templateObject3$1e = _taggedTemplateLiteralLoose(["\n border-bottom: 1px solid ", "\n "])), theme.colors.divider);
13249
13941
  });
13250
13942
 
13251
13943
  var MobileMenu = function MobileMenu(_ref2) {
@@ -13288,7 +13980,7 @@ var MobileMenu = function MobileMenu(_ref2) {
13288
13980
  var handleCloseMenu = React.useCallback(function () {
13289
13981
  setSelected(closeId);
13290
13982
  }, [closeId, setSelected]);
13291
- return React__default.createElement(Container$10, null, content.items.map(function (item, key) {
13983
+ return React__default.createElement(Container$12, null, content.items.map(function (item, key) {
13292
13984
  return React__default.createElement(ItemWrapper, {
13293
13985
  key: key,
13294
13986
  "data-key": key
@@ -13316,10 +14008,10 @@ var MobileMenu = function MobileMenu(_ref2) {
13316
14008
  })));
13317
14009
  };
13318
14010
 
13319
- var _templateObject$1y, _templateObject2$1n, _templateObject3$1c;
13320
- var Logo$1 = styled__default(reactRouterDom.Link)(_templateObject$1y || (_templateObject$1y = _taggedTemplateLiteralLoose(["\n ", ";\n display: flex;\n flex-basis: 0;\n flex-grow: 1;\n justify-content: center;\n align-items: center;\n object {\n pointer-events: none;\n height: 25px;\n }\n"])), resetButtonStyles);
13321
- var LogoMark$1 = styled__default.div(_templateObject2$1n || (_templateObject2$1n = _taggedTemplateLiteralLoose(["\n margin-right: 15px;\n"])));
13322
- var SVGObject$1 = styled__default.object(_templateObject3$1c || (_templateObject3$1c = _taggedTemplateLiteralLoose([""])));
14011
+ var _templateObject$1A, _templateObject2$1p, _templateObject3$1f;
14012
+ var Logo$1 = styled__default(reactRouterDom.Link)(_templateObject$1A || (_templateObject$1A = _taggedTemplateLiteralLoose(["\n ", ";\n display: flex;\n flex-basis: 0;\n flex-grow: 1;\n justify-content: center;\n align-items: center;\n object {\n pointer-events: none;\n height: 25px;\n }\n"])), resetButtonStyles);
14013
+ var LogoMark$1 = styled__default.div(_templateObject2$1p || (_templateObject2$1p = _taggedTemplateLiteralLoose(["\n margin-right: 15px;\n"])));
14014
+ var SVGObject$1 = styled__default.object(_templateObject3$1f || (_templateObject3$1f = _taggedTemplateLiteralLoose([""])));
13323
14015
 
13324
14016
  var MobileLogoLink = function MobileLogoLink(_ref) {
13325
14017
  var _ref$home = _ref.home,
@@ -13341,8 +14033,10 @@ var MobileLogoLink = function MobileLogoLink(_ref) {
13341
14033
  }) : React__default.createElement(SvgLogoMark, null)));
13342
14034
  };
13343
14035
 
13344
- var _templateObject$1z;
13345
- var Container$11 = styled__default.div(_templateObject$1z || (_templateObject$1z = _taggedTemplateLiteralLoose(["\n background: ", ";\n z-index: 100;\n display: flex;\n flex-direction: column;\n"])), function (_ref) {
14036
+ var _excluded$J = ["closeId", "hasLanguage", "hasLogout", "logoutLink", "hasCurrentUser", "userSubmenu", "userDrawerBespoke", "loggedInUser", "onLogout", "onLanguageToggle"];
14037
+
14038
+ var _templateObject$1B;
14039
+ var Container$13 = styled__default.div(_templateObject$1B || (_templateObject$1B = _taggedTemplateLiteralLoose(["\n background: ", ";\n z-index: 100;\n display: flex;\n flex-direction: column;\n"])), function (_ref) {
13346
14040
  var theme = _ref.theme;
13347
14041
  return theme.styles.global.mainMenu.background;
13348
14042
  });
@@ -13357,7 +14051,8 @@ var MobileUserMenu = function MobileUserMenu(_ref2) {
13357
14051
  userDrawerBespoke = _ref2.userDrawerBespoke,
13358
14052
  loggedInUser = _ref2.loggedInUser,
13359
14053
  onLogout = _ref2.onLogout,
13360
- onLanguageToggle = _ref2.onLanguageToggle;
14054
+ onLanguageToggle = _ref2.onLanguageToggle,
14055
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$J);
13361
14056
 
13362
14057
  var _useContext = React.useContext(TabContext),
13363
14058
  setSelected = _useContext.setSelected;
@@ -13365,7 +14060,7 @@ var MobileUserMenu = function MobileUserMenu(_ref2) {
13365
14060
  var handleCloseMenu = React.useCallback(function () {
13366
14061
  setSelected(closeId);
13367
14062
  }, [closeId, setSelected]);
13368
- return React__default.createElement(Container$11, null, React__default.createElement(UserMenu, Object.assign({}, {
14063
+ return React__default.createElement(Container$13, null, React__default.createElement(UserMenu, Object.assign({}, _extends({
13369
14064
  hasLanguage: hasLanguage,
13370
14065
  hasLogout: hasLogout,
13371
14066
  logoutLink: logoutLink,
@@ -13375,22 +14070,24 @@ var MobileUserMenu = function MobileUserMenu(_ref2) {
13375
14070
  loggedInUser: loggedInUser,
13376
14071
  onLogout: onLogout,
13377
14072
  onLanguageToggle: onLanguageToggle
13378
- }, {
14073
+ }, props), {
13379
14074
  closeOnClick: handleCloseMenu
13380
14075
  })));
13381
14076
  };
13382
14077
 
13383
- var _templateObject$1A, _templateObject2$1o;
14078
+ var _excluded$K = ["content", "home", "logoMark", "supportUrl", "defaultMenuOpen", "closeText", "hasLanguage", "hasLogout", "logoutLink", "hasCurrentUser", "hasNotifications", "userSubmenu", "userDrawerBespoke", "loggedInUser", "notificationsHistory", "customDrawer", "onLogout", "onLanguageToggle"];
14079
+
14080
+ var _templateObject$1C, _templateObject2$1q;
13384
14081
  var CLOSE_ID = 'closeMenu';
13385
14082
  var NOTI_TAB = 'notifications';
13386
14083
  var USER_TAB = 'user';
13387
14084
  var MENU_TAB = 'menu';
13388
14085
  var CUSTOM_TAB = 'custom';
13389
- var Container$12 = styled__default.nav(_templateObject$1A || (_templateObject$1A = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 99;\n"])), function (_ref) {
14086
+ var Container$14 = styled__default.nav(_templateObject$1C || (_templateObject$1C = _taggedTemplateLiteralLoose(["\n background-color: ", ";\n position: sticky;\n top: 0;\n left: 0;\n width: 100%;\n z-index: 99;\n"])), function (_ref) {
13390
14087
  var theme = _ref.theme;
13391
14088
  return theme.styles.global.mainMenu.background.backgroundColor;
13392
14089
  });
13393
- var HeaderContainer = styled__default.div(_templateObject2$1o || (_templateObject2$1o = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n height: ", "px;\n border-bottom: ", " 1px solid;\n\n ", " {\n flex-basis: 0;\n flex-grow: 3;\n }\n"])), MOBILE_NAVBAR_HEIGHT, function (_ref2) {
14090
+ var HeaderContainer = styled__default.div(_templateObject2$1q || (_templateObject2$1q = _taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n height: ", "px;\n border-bottom: ", " 1px solid;\n\n ", " {\n flex-basis: 0;\n flex-grow: 3;\n }\n"])), MOBILE_NAVBAR_HEIGHT, function (_ref2) {
13394
14091
  var theme = _ref2.theme;
13395
14092
  return theme.colors.divider;
13396
14093
  }, TabListWrapper);
@@ -13414,8 +14111,10 @@ var MobileNavbar = function MobileNavbar(_ref3) {
13414
14111
  notificationsHistory = _ref3.notificationsHistory,
13415
14112
  customDrawer = _ref3.customDrawer,
13416
14113
  onLogout = _ref3.onLogout,
13417
- onLanguageToggle = _ref3.onLanguageToggle;
13418
- return React__default.createElement(Container$12, null, React__default.createElement(Tabs, null, React__default.createElement(HeaderContainer, null, React__default.createElement(MobileLogoLink, Object.assign({}, {
14114
+ onLanguageToggle = _ref3.onLanguageToggle,
14115
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded$K);
14116
+
14117
+ return React__default.createElement(Container$14, null, React__default.createElement(Tabs, null, React__default.createElement(HeaderContainer, null, React__default.createElement(MobileLogoLink, Object.assign({}, {
13419
14118
  home: home,
13420
14119
  logoMark: logoMark
13421
14120
  }, {
@@ -13445,7 +14144,7 @@ var MobileNavbar = function MobileNavbar(_ref3) {
13445
14144
  tabId: NOTI_TAB
13446
14145
  }, notificationsHistory && hasNotifications ? React__default.createElement(NotificationsHistory, Object.assign({}, notificationsHistory)) : null), React__default.createElement(TabContent, {
13447
14146
  tabId: USER_TAB
13448
- }, React__default.createElement(MobileUserMenu, Object.assign({}, {
14147
+ }, React__default.createElement(MobileUserMenu, Object.assign({}, _extends({
13449
14148
  hasLanguage: hasLanguage,
13450
14149
  hasLogout: hasLogout,
13451
14150
  logoutLink: logoutLink,
@@ -13455,7 +14154,7 @@ var MobileNavbar = function MobileNavbar(_ref3) {
13455
14154
  loggedInUser: loggedInUser,
13456
14155
  onLogout: onLogout,
13457
14156
  onLanguageToggle: onLanguageToggle
13458
- }, {
14157
+ }, props), {
13459
14158
  closeId: CLOSE_ID
13460
14159
  }))), React__default.createElement(TabContent, {
13461
14160
  tabId: MENU_TAB
@@ -13472,7 +14171,7 @@ var MobileNavbar = function MobileNavbar(_ref3) {
13472
14171
  })))));
13473
14172
  };
13474
14173
 
13475
- var _excluded$J = ["content", "home", "openWidth", "logoMark", "logoText", "supportUrl", "defaultMenuOpen", "canAlwaysPin", "paddingOverride", "maxWidth", "children", "onMenuToggle"];
14174
+ var _excluded$L = ["content", "home", "openWidth", "logoMark", "logoText", "supportUrl", "defaultMenuOpen", "canAlwaysPin", "paddingOverride", "maxWidth", "children", "onMenuToggle"];
13476
14175
 
13477
14176
  var GlobalUI = function GlobalUI(_ref) {
13478
14177
  var content = _ref.content,
@@ -13487,7 +14186,7 @@ var GlobalUI = function GlobalUI(_ref) {
13487
14186
  maxWidth = _ref.maxWidth,
13488
14187
  children = _ref.children,
13489
14188
  onMenuToggle = _ref.onMenuToggle,
13490
- props = _objectWithoutPropertiesLoose(_ref, _excluded$J);
14189
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$L);
13491
14190
 
13492
14191
  var _useBreakpoints = useBreakpoints(),
13493
14192
  isLarge = _useBreakpoints.isLarge;
@@ -13514,18 +14213,18 @@ var GlobalUI = function GlobalUI(_ref) {
13514
14213
  }, props))), React__default.createElement(ContentArea, null, children));
13515
14214
  };
13516
14215
 
13517
- var _excluded$K = ["children"];
14216
+ var _excluded$M = ["children"];
13518
14217
 
13519
- var _templateObject$1B, _templateObject2$1p, _templateObject3$1d, _templateObject4$13, _templateObject5$X, _templateObject6$J, _templateObject7$E, _templateObject8$A, _templateObject9$u;
13520
- var Container$13 = styled__default.div(_templateObject$1B || (_templateObject$1B = _taggedTemplateLiteralLoose(["\n width: 286px;\n border-right: 1px solid hsla(0, 0%, 84%, 50%);\n height: 100%;\n overflow-y: auto;\n overflow-x: hidden;\n display: flex;\n flex-direction: column;\n"])));
13521
- var LogoContainer = styled__default.div(_templateObject2$1p || (_templateObject2$1p = _taggedTemplateLiteralLoose(["\n height: 84px;\n color: hsl(205, 7%, 35%);\n border-bottom: 1px solid hsla(0, 0%, 84%, 50%);\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n padding-top: 18px;\n padding-bottom: 15px;\n"])));
13522
- var LogoTopText = styled__default.div(_templateObject3$1d || (_templateObject3$1d = _taggedTemplateLiteralLoose(["\n height: 31px;\n font-family: Monorale;\n font-size: 18px;\n font-weight: 500;\n line-height: 1.72;\n letter-spacing: 4.5px;\n text-align: center;\n"])));
13523
- var LogoBottomText = styled__default.div(_templateObject4$13 || (_templateObject4$13 = _taggedTemplateLiteralLoose(["\n height: 19px;\n font-family: Monorale;\n font-size: 16px;\n font-weight: 300;\n line-height: normal;\n letter-spacing: 14.11px;\n text-align: center;\n"])));
13524
- var SidebarBox = styled__default.div(_templateObject5$X || (_templateObject5$X = _taggedTemplateLiteralLoose(["\n position: relative;\n border-bottom: 1px solid hsla(0, 0%, 84%, 50%);\n padding: 22px 20px 21px 20px;\n"])));
13525
- var SidebarHeading = styled__default.div(_templateObject6$J || (_templateObject6$J = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0.35px;\n color: hsl(0, 0%, 50%);\n margin-bottom: 18px;\n"])));
13526
- var SidebarLinkHeading = styled__default.div(_templateObject7$E || (_templateObject7$E = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0.35px;\n color: hsl(0, 0%, 50%);\n"])));
13527
- var BackLink = styled__default(reactRouterDom.Link)(_templateObject8$A || (_templateObject8$A = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0.35px;\n color: hsl(0, 0%, 50%);\n"])));
13528
- var SLink = styled__default(reactRouterDom.Link)(_templateObject9$u || (_templateObject9$u = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 30px;\n top: 15px;\n /* width: 80px; */\n /* height: 30px; */\n font-size: 14px;\n font-weight: 600;\n text-align: center;\n color: hsl(0, 0%, 55%);\n border-radius: 3px;\n background-color: hsl(206, 70%, 96%);\n text-decoration: none;\n padding: 7px 20px;\n"])));
14218
+ var _templateObject$1D, _templateObject2$1r, _templateObject3$1g, _templateObject4$16, _templateObject5$Z, _templateObject6$L, _templateObject7$G, _templateObject8$C, _templateObject9$w;
14219
+ var Container$15 = styled__default.div(_templateObject$1D || (_templateObject$1D = _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"])));
14220
+ var LogoContainer = styled__default.div(_templateObject2$1r || (_templateObject2$1r = _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"])));
14221
+ var LogoTopText = styled__default.div(_templateObject3$1g || (_templateObject3$1g = _taggedTemplateLiteralLoose(["\n height: 31px;\n font-family: Monorale;\n font-size: 18px;\n font-weight: 500;\n line-height: 1.72;\n letter-spacing: 4.5px;\n text-align: center;\n"])));
14222
+ var LogoBottomText = styled__default.div(_templateObject4$16 || (_templateObject4$16 = _taggedTemplateLiteralLoose(["\n height: 19px;\n font-family: Monorale;\n font-size: 16px;\n font-weight: 300;\n line-height: normal;\n letter-spacing: 14.11px;\n text-align: center;\n"])));
14223
+ var SidebarBox = styled__default.div(_templateObject5$Z || (_templateObject5$Z = _taggedTemplateLiteralLoose(["\n position: relative;\n border-bottom: 1px solid var(--grey-a7);\n padding: 22px 20px 21px 20px;\n"])));
14224
+ var SidebarHeading = styled__default.div(_templateObject6$L || (_templateObject6$L = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0.35px;\n color: var(--grey-10);\n margin-bottom: 18px;\n"])));
14225
+ var SidebarLinkHeading = styled__default.div(_templateObject7$G || (_templateObject7$G = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0.35px;\n color: var(--grey-10);\n"])));
14226
+ var BackLink = styled__default(reactRouterDom.Link)(_templateObject8$C || (_templateObject8$C = _taggedTemplateLiteralLoose(["\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0.35px;\n color: var(--grey-10);\n"])));
14227
+ var SLink = styled__default(reactRouterDom.Link)(_templateObject9$w || (_templateObject9$w = _taggedTemplateLiteralLoose(["\n position: absolute;\n right: 30px;\n top: 15px;\n /* width: 80px; */\n /* height: 30px; */\n font-size: 14px;\n font-weight: 600;\n text-align: center;\n color: var(--grey-9);\n border-radius: 3px;\n background-color: var(--primary-2);\n text-decoration: none;\n padding: 7px 20px;\n"])));
13529
14228
  var SidebarLink = function SidebarLink(_ref) {
13530
14229
  var title = _ref.title,
13531
14230
  to = _ref.to;
@@ -13541,9 +14240,9 @@ var Logo$2 = function Logo(_ref2) {
13541
14240
 
13542
14241
  var Sidebar = function Sidebar(_ref3) {
13543
14242
  var children = _ref3.children,
13544
- props = _objectWithoutPropertiesLoose(_ref3, _excluded$K);
14243
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded$M);
13545
14244
 
13546
- return React__default.createElement(Container$13, Object.assign({}, props), children);
14245
+ return React__default.createElement(Container$15, Object.assign({}, props), children);
13547
14246
  };
13548
14247
 
13549
14248
  Object.defineProperty(exports, 'IconSVGs', {
@@ -13580,6 +14279,7 @@ exports.FilterButton = FilterButton;
13580
14279
  exports.FilterDropdown = FilterDropdown;
13581
14280
  exports.FilterDropdownContainer = FilterDropdownContainer;
13582
14281
  exports.FilterInputs = FilterInputs;
14282
+ exports.FilterLayout = FilterLayout;
13583
14283
  exports.FiltersResults = FiltersResults;
13584
14284
  exports.Form = Form;
13585
14285
  exports.GlobalUI = GlobalUI;