@activecollab/components 1.0.380 → 1.0.382

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
@@ -269,7 +269,7 @@
269
269
  })(["display:inline-flex;svg{margin:0 4px;}"]);
270
270
  StyledButtonElement.displayName = "StyledButtonElement";
271
271
 
272
- var _excluded$1o = ["children", "active", "variant", "size", "className"];
272
+ var _excluded$1p = ["children", "active", "variant", "size", "className"];
273
273
  /**
274
274
  * @component Button
275
275
  * @description
@@ -299,7 +299,7 @@
299
299
  _ref$size = _ref.size,
300
300
  size = _ref$size === void 0 ? "medium" : _ref$size,
301
301
  className = _ref.className,
302
- args = _objectWithoutProperties(_ref, _excluded$1o);
302
+ args = _objectWithoutProperties(_ref, _excluded$1p);
303
303
  return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
304
304
  className: classNames__default["default"]("c-btn", className, {
305
305
  "c-btn--contained": variant === "primary" || variant === "contained",
@@ -373,12 +373,12 @@
373
373
  })(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
374
374
  StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
375
375
 
376
- var _excluded$1n = ["className", "disabled"];
376
+ var _excluded$1o = ["className", "disabled"];
377
377
  var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
378
378
  var className = _ref.className,
379
379
  _ref$disabled = _ref.disabled,
380
380
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
381
- rest = _objectWithoutProperties(_ref, _excluded$1n);
381
+ rest = _objectWithoutProperties(_ref, _excluded$1o);
382
382
  return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
383
383
  ref: ref,
384
384
  variant: "contained",
@@ -410,11 +410,11 @@
410
410
  });
411
411
  StyledButtonGroup$1.displayName = "StyledButtonGroup";
412
412
 
413
- var _excluded$1m = ["children", "className"];
413
+ var _excluded$1n = ["children", "className"];
414
414
  var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
415
415
  var children = _ref.children,
416
416
  className = _ref.className,
417
- rest = _objectWithoutProperties(_ref, _excluded$1m);
417
+ rest = _objectWithoutProperties(_ref, _excluded$1n);
418
418
  return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
419
419
  ref: ref,
420
420
  className: classNames__default["default"]("c-btn-group", className)
@@ -485,7 +485,7 @@
485
485
  return React.useContext(MenuContext);
486
486
  };
487
487
 
488
- var _excluded$1l = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
488
+ var _excluded$1m = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
489
489
  var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
490
490
  var children = _ref.children,
491
491
  anchorEl = _ref.anchorEl,
@@ -499,7 +499,7 @@
499
499
  _ref$strategy = _ref.strategy,
500
500
  strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
501
501
  afterWrite = _ref.afterWrite,
502
- rest = _objectWithoutProperties(_ref, _excluded$1l);
502
+ rest = _objectWithoutProperties(_ref, _excluded$1m);
503
503
  var _useState = React.useState(true),
504
504
  _useState2 = _slicedToArray(_useState, 2),
505
505
  exited = _useState2[0],
@@ -598,12 +598,12 @@
598
598
  });
599
599
  StyledOverlay.displayName = "StyledOverlay";
600
600
 
601
- var _excluded$1k = ["className", "disableBackgroundColor"];
601
+ var _excluded$1l = ["className", "disableBackgroundColor"];
602
602
  var Overlay = function Overlay(_ref) {
603
603
  var className = _ref.className,
604
604
  _ref$disableBackgroun = _ref.disableBackgroundColor,
605
605
  disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
606
- rest = _objectWithoutProperties(_ref, _excluded$1k);
606
+ rest = _objectWithoutProperties(_ref, _excluded$1l);
607
607
  return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
608
608
  className: classNames__default["default"]("c-overlay", className),
609
609
  $disableBackgroundColor: disableBackgroundColor
@@ -643,7 +643,7 @@
643
643
  })(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
644
644
  StyledWindow.displayName = "StyledWindow";
645
645
 
646
- var _excluded$1j = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
646
+ var _excluded$1k = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
647
647
  var returnFocus = {
648
648
  preventScroll: true
649
649
  };
@@ -660,7 +660,7 @@
660
660
  _ref$disableCloseOnEs = _ref.disableCloseOnEsc,
661
661
  disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
662
662
  onClick = _ref.onClick,
663
- rest = _objectWithoutProperties(_ref, _excluded$1j);
663
+ rest = _objectWithoutProperties(_ref, _excluded$1k);
664
664
  var innerRef = React.useRef(null);
665
665
  var handleRef = useForkRef(innerRef, ref);
666
666
  var _useLayerContext = useLayerContext(),
@@ -721,7 +721,7 @@
721
721
  }, FontStyle, BoxSizingStyle);
722
722
  StyledBubble.displayName = "StyledBubble";
723
723
 
724
- var _excluded$1i = ["children", "className", "innerRef", "style"];
724
+ var _excluded$1j = ["children", "className", "innerRef", "style"];
725
725
  var Bubble = function Bubble(_ref) {
726
726
  var children = _ref.children,
727
727
  className = _ref.className,
@@ -729,7 +729,7 @@
729
729
  innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
730
730
  _ref$style = _ref.style,
731
731
  style = _ref$style === void 0 ? {} : _ref$style,
732
- rest = _objectWithoutProperties(_ref, _excluded$1i);
732
+ rest = _objectWithoutProperties(_ref, _excluded$1j);
733
733
  return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
734
734
  ref: innerRef,
735
735
  className: classNames__default["default"]("c-bubble", className),
@@ -1049,7 +1049,7 @@
1049
1049
  });
1050
1050
  StyledTypography.displayName = "StyledTypography";
1051
1051
 
1052
- var _excluded$1h = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
1052
+ var _excluded$1i = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
1053
1053
  var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1054
1054
  var _ref$variant = _ref.variant,
1055
1055
  variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
@@ -1080,7 +1080,7 @@
1080
1080
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
1081
1081
  className = _ref.className,
1082
1082
  children = _ref.children,
1083
- props = _objectWithoutProperties(_ref, _excluded$1h);
1083
+ props = _objectWithoutProperties(_ref, _excluded$1i);
1084
1084
  var Component = as || "div";
1085
1085
  return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
1086
1086
  as: Component,
@@ -1103,13 +1103,13 @@
1103
1103
  });
1104
1104
  Typography.displayName = "Typography";
1105
1105
 
1106
- var _excluded$1g = ["title", "className", "leftElement", "rightElement"];
1106
+ var _excluded$1h = ["title", "className", "leftElement", "rightElement"];
1107
1107
  var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1108
1108
  var title = _ref.title,
1109
1109
  className = _ref.className,
1110
1110
  leftElement = _ref.leftElement,
1111
1111
  rightElement = _ref.rightElement,
1112
- props = _objectWithoutProperties(_ref, _excluded$1g);
1112
+ props = _objectWithoutProperties(_ref, _excluded$1h);
1113
1113
  return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
1114
1114
  className: classNames__default["default"]("c-menu-header", className),
1115
1115
  ref: ref
@@ -1134,11 +1134,11 @@
1134
1134
  });
1135
1135
  MenuHeader.displayName = "MenuHeader";
1136
1136
 
1137
- var _excluded$1f = ["children", "className"];
1137
+ var _excluded$1g = ["children", "className"];
1138
1138
  var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1139
1139
  var children = _ref.children,
1140
1140
  className = _ref.className,
1141
- props = _objectWithoutProperties(_ref, _excluded$1f);
1141
+ props = _objectWithoutProperties(_ref, _excluded$1g);
1142
1142
  return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
1143
1143
  className: classNames__default["default"]("c-menu-footer", className),
1144
1144
  ref: ref
@@ -1162,11 +1162,11 @@
1162
1162
  })(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
1163
1163
  StyledListSeparator.displayName = "StyledListSeparator";
1164
1164
 
1165
- var _excluded$1e = ["children", "className"];
1165
+ var _excluded$1f = ["children", "className"];
1166
1166
  var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1167
1167
  var children = _ref.children,
1168
1168
  className = _ref.className,
1169
- props = _objectWithoutProperties(_ref, _excluded$1e);
1169
+ props = _objectWithoutProperties(_ref, _excluded$1f);
1170
1170
  return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
1171
1171
  className: classNames__default["default"]("c-list-item", className),
1172
1172
  ref: ref,
@@ -1175,21 +1175,21 @@
1175
1175
  });
1176
1176
  ListItem.displayName = "ListItem";
1177
1177
 
1178
- var _excluded$1d = ["className"];
1178
+ var _excluded$1e = ["className"];
1179
1179
  var ListSeparator = function ListSeparator(_ref) {
1180
1180
  var className = _ref.className,
1181
- props = _objectWithoutProperties(_ref, _excluded$1d);
1181
+ props = _objectWithoutProperties(_ref, _excluded$1e);
1182
1182
  return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
1183
1183
  className: classNames__default["default"]("c-list-separator", className)
1184
1184
  }, props));
1185
1185
  };
1186
1186
  ListSeparator.displayName = "ListSeparator";
1187
1187
 
1188
- var _excluded$1c = ["children", "className"];
1188
+ var _excluded$1d = ["children", "className"];
1189
1189
  var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
1190
1190
  var children = _ref.children,
1191
1191
  className = _ref.className,
1192
- props = _objectWithoutProperties(_ref, _excluded$1c);
1192
+ props = _objectWithoutProperties(_ref, _excluded$1d);
1193
1193
  return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
1194
1194
  className: className,
1195
1195
  ref: ref,
@@ -1215,7 +1215,7 @@
1215
1215
  return size === "big" && styled.css(["width:40px;"]);
1216
1216
  });
1217
1217
 
1218
- var _excluded$1b = ["children", "className", "variant", "size", "active"];
1218
+ var _excluded$1c = ["children", "className", "variant", "size", "active"];
1219
1219
 
1220
1220
  // eslint-disable-next-line @typescript-eslint/no-empty-interface
1221
1221
 
@@ -1245,7 +1245,7 @@
1245
1245
  variant = _ref.variant,
1246
1246
  size = _ref.size,
1247
1247
  active = _ref.active,
1248
- args = _objectWithoutProperties(_ref, _excluded$1b);
1248
+ args = _objectWithoutProperties(_ref, _excluded$1c);
1249
1249
  return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
1250
1250
  className: className,
1251
1251
  variant: variant,
@@ -7722,14 +7722,14 @@
7722
7722
  });
7723
7723
  StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
7724
7724
 
7725
- var _excluded$1a = ["children", "className", "separator"];
7725
+ var _excluded$1b = ["children", "className", "separator"];
7726
7726
  var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
7727
7727
  var _dimensions$width, _childDimensions$widt;
7728
7728
  var children = _ref.children,
7729
7729
  className = _ref.className,
7730
7730
  _ref$separator = _ref.separator,
7731
7731
  separator = _ref$separator === void 0 ? "/" : _ref$separator,
7732
- rest = _objectWithoutProperties(_ref, _excluded$1a);
7732
+ rest = _objectWithoutProperties(_ref, _excluded$1b);
7733
7733
  var internalRef = React.useRef(null);
7734
7734
  var listWrapperRef = React.useRef(null);
7735
7735
  var olRef = React.useRef(null);
@@ -7896,10 +7896,10 @@
7896
7896
  return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
7897
7897
  });
7898
7898
 
7899
- var _excluded$19 = ["children"];
7899
+ var _excluded$1a = ["children"];
7900
7900
  var TooltipAnimation = function TooltipAnimation(_ref) {
7901
7901
  var children = _ref.children,
7902
- props = _objectWithoutProperties(_ref, _excluded$19);
7902
+ props = _objectWithoutProperties(_ref, _excluded$1a);
7903
7903
  return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
7904
7904
  timeout: 0
7905
7905
  }, props), children);
@@ -7974,12 +7974,12 @@
7974
7974
  });
7975
7975
  Tooltip.displayName = "Tooltip";
7976
7976
 
7977
- var _excluded$18 = ["weight", "children"];
7977
+ var _excluded$19 = ["weight", "children"];
7978
7978
  var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
7979
7979
  var _ref$weight = _ref.weight,
7980
7980
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
7981
7981
  children = _ref.children,
7982
- props = _objectWithoutProperties(_ref, _excluded$18);
7982
+ props = _objectWithoutProperties(_ref, _excluded$19);
7983
7983
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
7984
7984
  variant: "Body 2",
7985
7985
  weight: weight,
@@ -8028,7 +8028,7 @@
8028
8028
  });
8029
8029
  StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
8030
8030
 
8031
- var _excluded$17 = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "disabled"];
8031
+ var _excluded$18 = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "disabled"];
8032
8032
  var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
8033
8033
  var label = _ref.label,
8034
8034
  icon = _ref.icon,
@@ -8040,7 +8040,7 @@
8040
8040
  className = _ref.className,
8041
8041
  _ref$disabled = _ref.disabled,
8042
8042
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
8043
- args = _objectWithoutProperties(_ref, _excluded$17);
8043
+ args = _objectWithoutProperties(_ref, _excluded$18);
8044
8044
  return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
8045
8045
  ref: ref,
8046
8046
  className: className
@@ -8352,7 +8352,7 @@
8352
8352
  StyledDatePicker.displayName = "StyledDatePicker";
8353
8353
  StyledDayPicker.displayName = "StyledDayPicker";
8354
8354
 
8355
- var _excluded$16 = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
8355
+ var _excluded$17 = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
8356
8356
  var DatePicker = function DatePicker(_ref) {
8357
8357
  var className = _ref.className,
8358
8358
  onChange = _ref.onChange,
@@ -8374,7 +8374,7 @@
8374
8374
  _ref$fixedWeeks = _ref.fixedWeeks,
8375
8375
  fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
8376
8376
  defaultModifiers = _ref.modifiers,
8377
- rest = _objectWithoutProperties(_ref, _excluded$16);
8377
+ rest = _objectWithoutProperties(_ref, _excluded$17);
8378
8378
  var _useState = React.useState(),
8379
8379
  _useState2 = _slicedToArray(_useState, 2),
8380
8380
  enteredTo = _useState2[0],
@@ -9267,10 +9267,10 @@
9267
9267
  componentId: "sc-x4ge7a-0"
9268
9268
  })(["width:70%;background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.05) 50%,rgba(255,255,255,0) 60% );background-size:400%;height:16px;border-radius:8px;.neon &{background:linear-gradient( 90deg,rgba(255,255,255,0) 20%,rgba(0,0,0,0.2) 50%,rgba(255,255,255,0) 60% );background-size:500%;}animation-duration:1s;animation-iteration-count:infinite;animation-name:", ";animation-timing-function:linear;animation-direction:reverse;"], linearAnimation);
9269
9269
 
9270
- var _excluded$15 = ["className"];
9270
+ var _excluded$16 = ["className"];
9271
9271
  var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9272
9272
  var className = _ref.className,
9273
- rest = _objectWithoutProperties(_ref, _excluded$15);
9273
+ rest = _objectWithoutProperties(_ref, _excluded$16);
9274
9274
  return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
9275
9275
  ref: ref,
9276
9276
  className: classNames__default["default"]("c-loader c-loader--linear", className)
@@ -9284,10 +9284,10 @@
9284
9284
  componentId: "sc-1f35d5h-0"
9285
9285
  })(["display:inline-block;text-align:center;& > span{display:inline-block;width:18px;height:18px;background-color:#777;border-radius:100%;animation:", " 1.4s infinite ease-in-out both;}span:nth-child(1){animation-delay:-0.32s;}span:nth-child(2){animation-delay:-0.16s;}"], dotAnimation);
9286
9286
 
9287
- var _excluded$14 = ["className"];
9287
+ var _excluded$15 = ["className"];
9288
9288
  var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9289
9289
  var className = _ref.className,
9290
- rest = _objectWithoutProperties(_ref, _excluded$14);
9290
+ rest = _objectWithoutProperties(_ref, _excluded$15);
9291
9291
  return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
9292
9292
  ref: ref,
9293
9293
  className: classNames__default["default"]("c-loader c-loader--dots", className)
@@ -9309,7 +9309,7 @@
9309
9309
  return props.$activeColorPercentage === "75%" && styled.css(["border-right:", "px solid ", ";border-bottom:", "px solid ", ";border-left:", "px solid ", ";border-top:", "px solid ", ";"], props.$stroke, props.$activeStrokeColor, props.$stroke, props.$activeStrokeColor, props.$stroke, props.$inactiveStrokeColor, props.$stroke, props.$activeStrokeColor);
9310
9310
  });
9311
9311
 
9312
- var _excluded$13 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
9312
+ var _excluded$14 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
9313
9313
  var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9314
9314
  var _ref$radius = _ref.radius,
9315
9315
  radius = _ref$radius === void 0 ? 10 : _ref$radius,
@@ -9324,7 +9324,7 @@
9324
9324
  _ref$rotateDurationIn = _ref.rotateDurationInSeconds,
9325
9325
  rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
9326
9326
  className = _ref.className,
9327
- rest = _objectWithoutProperties(_ref, _excluded$13);
9327
+ rest = _objectWithoutProperties(_ref, _excluded$14);
9328
9328
  return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
9329
9329
  ref: ref,
9330
9330
  className: className,
@@ -9338,7 +9338,7 @@
9338
9338
  });
9339
9339
  SpinnerLoader.displayName = "SpinnerLoader";
9340
9340
 
9341
- var _excluded$12 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
9341
+ var _excluded$13 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
9342
9342
  exports.SortDirection = void 0;
9343
9343
  (function (SortDirection) {
9344
9344
  SortDirection["None"] = "none";
@@ -9386,7 +9386,7 @@
9386
9386
  loading = _ref.loading,
9387
9387
  _ref$loadingRows = _ref.loadingRows,
9388
9388
  loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
9389
- args = _objectWithoutProperties(_ref, _excluded$12);
9389
+ args = _objectWithoutProperties(_ref, _excluded$13);
9390
9390
  var _useState = React.useState(sortDirection),
9391
9391
  _useState2 = _slicedToArray(_useState, 2),
9392
9392
  columnDirection = _useState2[0],
@@ -9746,7 +9746,7 @@
9746
9746
  });
9747
9747
  StyledCompleteCheckbox.displayName = "StyledCompleteCheckbox";
9748
9748
 
9749
- var _excluded$11 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
9749
+ var _excluded$12 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
9750
9750
  var CompleteCheckbox = function CompleteCheckbox(_ref) {
9751
9751
  var _ref$completed = _ref.completed,
9752
9752
  completed = _ref$completed === void 0 ? false : _ref$completed,
@@ -9759,7 +9759,7 @@
9759
9759
  _ref$primary = _ref.primary,
9760
9760
  primary = _ref$primary === void 0 ? false : _ref$primary,
9761
9761
  checkMarkClassName = _ref.checkMarkClassName,
9762
- rest = _objectWithoutProperties(_ref, _excluded$11);
9762
+ rest = _objectWithoutProperties(_ref, _excluded$12);
9763
9763
  return /*#__PURE__*/React__default["default"].createElement(StyledCompleteCheckbox, _extends({
9764
9764
  onClick: onClick,
9765
9765
  className: classNames__default["default"]("c-complete-checkbox", className),
@@ -9790,7 +9790,7 @@
9790
9790
  });
9791
9791
  StyledPaper.displayName = "StyledPaper";
9792
9792
 
9793
- var _excluded$10 = ["children", "className", "type", "hover", "useOptimizedShadow"];
9793
+ var _excluded$11 = ["children", "className", "type", "hover", "useOptimizedShadow"];
9794
9794
  /**
9795
9795
  * This is a component description and should sit directly above your component
9796
9796
  */
@@ -9803,7 +9803,7 @@
9803
9803
  hover = _ref$hover === void 0 ? false : _ref$hover,
9804
9804
  _ref$useOptimizedShad = _ref.useOptimizedShadow,
9805
9805
  useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
9806
- rest = _objectWithoutProperties(_ref, _excluded$10);
9806
+ rest = _objectWithoutProperties(_ref, _excluded$11);
9807
9807
  return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
9808
9808
  className: classNames__default["default"](className, {
9809
9809
  "ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
@@ -9856,7 +9856,7 @@
9856
9856
  });
9857
9857
  StyledCard.displayName = "StyledCard";
9858
9858
 
9859
- var _excluded$$ = ["children", "className", "hoverable", "paperType"];
9859
+ var _excluded$10 = ["children", "className", "hoverable", "paperType"];
9860
9860
  var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9861
9861
  var children = _ref.children,
9862
9862
  className = _ref.className,
@@ -9864,7 +9864,7 @@
9864
9864
  hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
9865
9865
  _ref$paperType = _ref.paperType,
9866
9866
  paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
9867
- rest = _objectWithoutProperties(_ref, _excluded$$);
9867
+ rest = _objectWithoutProperties(_ref, _excluded$10);
9868
9868
  return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
9869
9869
  type: paperType,
9870
9870
  className: classNames__default["default"]("c-card", className),
@@ -9943,12 +9943,12 @@
9943
9943
  });
9944
9944
  EntityCard$1.displayName = "EntityCard";
9945
9945
 
9946
- var _excluded$_ = ["weight", "children"];
9946
+ var _excluded$$ = ["weight", "children"];
9947
9947
  var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9948
9948
  var _ref$weight = _ref.weight,
9949
9949
  weight = _ref$weight === void 0 ? "light" : _ref$weight,
9950
9950
  children = _ref.children,
9951
- props = _objectWithoutProperties(_ref, _excluded$_);
9951
+ props = _objectWithoutProperties(_ref, _excluded$$);
9952
9952
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
9953
9953
  weight: weight,
9954
9954
  variant: "Title 1",
@@ -9957,12 +9957,12 @@
9957
9957
  });
9958
9958
  Title1.displayName = "Title1";
9959
9959
 
9960
- var _excluded$Z = ["weight", "children"];
9960
+ var _excluded$_ = ["weight", "children"];
9961
9961
  var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9962
9962
  var _ref$weight = _ref.weight,
9963
9963
  weight = _ref$weight === void 0 ? "light" : _ref$weight,
9964
9964
  children = _ref.children,
9965
- props = _objectWithoutProperties(_ref, _excluded$Z);
9965
+ props = _objectWithoutProperties(_ref, _excluded$_);
9966
9966
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
9967
9967
  weight: weight,
9968
9968
  variant: "Title 2",
@@ -9971,10 +9971,10 @@
9971
9971
  });
9972
9972
  Title2.displayName = "Title2";
9973
9973
 
9974
- var _excluded$Y = ["children"];
9974
+ var _excluded$Z = ["children"];
9975
9975
  var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9976
9976
  var children = _ref.children,
9977
- props = _objectWithoutProperties(_ref, _excluded$Y);
9977
+ props = _objectWithoutProperties(_ref, _excluded$Z);
9978
9978
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
9979
9979
  weight: "bold",
9980
9980
  variant: "Header 2",
@@ -9983,10 +9983,10 @@
9983
9983
  });
9984
9984
  Header2.displayName = "Header2";
9985
9985
 
9986
- var _excluded$X = ["children"];
9986
+ var _excluded$Y = ["children"];
9987
9987
  var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
9988
9988
  var children = _ref.children,
9989
- props = _objectWithoutProperties(_ref, _excluded$X);
9989
+ props = _objectWithoutProperties(_ref, _excluded$Y);
9990
9990
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
9991
9991
  weight: "bold",
9992
9992
  variant: "Header 3",
@@ -9995,12 +9995,12 @@
9995
9995
  });
9996
9996
  Header3.displayName = "Header3";
9997
9997
 
9998
- var _excluded$W = ["weight", "children"];
9998
+ var _excluded$X = ["weight", "children"];
9999
9999
  var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10000
10000
  var _ref$weight = _ref.weight,
10001
10001
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
10002
10002
  children = _ref.children,
10003
- props = _objectWithoutProperties(_ref, _excluded$W);
10003
+ props = _objectWithoutProperties(_ref, _excluded$X);
10004
10004
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10005
10005
  variant: "Body 1",
10006
10006
  weight: weight,
@@ -10009,12 +10009,12 @@
10009
10009
  });
10010
10010
  Body1.displayName = "Body1";
10011
10011
 
10012
- var _excluded$V = ["weight", "children"];
10012
+ var _excluded$W = ["weight", "children"];
10013
10013
  var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10014
10014
  var _ref$weight = _ref.weight,
10015
10015
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
10016
10016
  children = _ref.children,
10017
- props = _objectWithoutProperties(_ref, _excluded$V);
10017
+ props = _objectWithoutProperties(_ref, _excluded$W);
10018
10018
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10019
10019
  variant: "Caption 1",
10020
10020
  weight: weight,
@@ -10023,12 +10023,12 @@
10023
10023
  });
10024
10024
  Caption1.displayName = "Caption1";
10025
10025
 
10026
- var _excluded$U = ["weight", "children"];
10026
+ var _excluded$V = ["weight", "children"];
10027
10027
  var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10028
10028
  var _ref$weight = _ref.weight,
10029
10029
  weight = _ref$weight === void 0 ? "regular" : _ref$weight,
10030
10030
  children = _ref.children,
10031
- props = _objectWithoutProperties(_ref, _excluded$U);
10031
+ props = _objectWithoutProperties(_ref, _excluded$V);
10032
10032
  return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
10033
10033
  variant: "Caption 2",
10034
10034
  weight: weight,
@@ -10140,7 +10140,7 @@
10140
10140
  componentId: "sc-5x2tyd-1"
10141
10141
  })(["border-radius:100%;object-fit:cover;"]);
10142
10142
 
10143
- var _excluded$T = ["url", "alt", "size", "className", "imgClassName", "children"];
10143
+ var _excluded$U = ["url", "alt", "size", "className", "imgClassName", "children"];
10144
10144
  /**
10145
10145
  * @component Avatar
10146
10146
  * @description
@@ -10175,7 +10175,7 @@
10175
10175
  className = _ref.className,
10176
10176
  imgClassName = _ref.imgClassName,
10177
10177
  children = _ref.children,
10178
- rest = _objectWithoutProperties(_ref, _excluded$T);
10178
+ rest = _objectWithoutProperties(_ref, _excluded$U);
10179
10179
  var _useState = React.useState(false),
10180
10180
  _useState2 = _slicedToArray(_useState, 2),
10181
10181
  imageLoaded = _useState2[0],
@@ -10216,13 +10216,13 @@
10216
10216
  return props.$color && styled.css(["background-color:", ";"], props.$color);
10217
10217
  });
10218
10218
 
10219
- var _excluded$S = ["color", "size", "className"];
10219
+ var _excluded$T = ["color", "size", "className"];
10220
10220
  var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10221
10221
  var color = _ref.color,
10222
10222
  _ref$size = _ref.size,
10223
10223
  size = _ref$size === void 0 ? 8 : _ref$size,
10224
10224
  className = _ref.className,
10225
- rest = _objectWithoutProperties(_ref, _excluded$S);
10225
+ rest = _objectWithoutProperties(_ref, _excluded$T);
10226
10226
  return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
10227
10227
  className: classNames__default["default"]("c-dot", className),
10228
10228
  ref: ref,
@@ -10259,7 +10259,7 @@
10259
10259
  });
10260
10260
  StyledTagText.displayName = "StyledTagText";
10261
10261
 
10262
- var _excluded$R = ["name", "color", "showText", "showDot", "className"];
10262
+ var _excluded$S = ["name", "color", "showText", "showDot", "className"];
10263
10263
  var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10264
10264
  var name = _ref.name,
10265
10265
  color = _ref.color,
@@ -10268,7 +10268,7 @@
10268
10268
  _ref$showDot = _ref.showDot,
10269
10269
  showDot = _ref$showDot === void 0 ? true : _ref$showDot,
10270
10270
  className = _ref.className,
10271
- rest = _objectWithoutProperties(_ref, _excluded$R);
10271
+ rest = _objectWithoutProperties(_ref, _excluded$S);
10272
10272
  return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
10273
10273
  className: classNames__default["default"]("c-tag", className),
10274
10274
  ref: ref
@@ -10398,7 +10398,7 @@
10398
10398
  });
10399
10399
  StyledCheckbox$1.displayName = "StyledCheckbox";
10400
10400
 
10401
- var _excluded$Q = ["isIndeterminate", "data-testid"];
10401
+ var _excluded$R = ["isIndeterminate", "data-testid"];
10402
10402
 
10403
10403
  /**
10404
10404
  * @component CheckboxIcon
@@ -10422,7 +10422,7 @@
10422
10422
  var CheckboxIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
10423
10423
  var isIndeterminate = _ref.isIndeterminate,
10424
10424
  testId = _ref["data-testid"],
10425
- props = _objectWithoutProperties(_ref, _excluded$Q);
10425
+ props = _objectWithoutProperties(_ref, _excluded$R);
10426
10426
  var _useState = React.useState(false),
10427
10427
  _useState2 = _slicedToArray(_useState, 2),
10428
10428
  animate = _useState2[0],
@@ -10491,7 +10491,7 @@
10491
10491
  CheckboxIcon.displayName = "CheckboxIcon";
10492
10492
  var CheckboxIcon$1 = CheckboxIcon;
10493
10493
 
10494
- var _excluded$P = ["className", "hover", "id", "isIndeterminate"];
10494
+ var _excluded$Q = ["className", "hover", "id", "isIndeterminate"];
10495
10495
  /**
10496
10496
  * Checkbox component
10497
10497
  */
@@ -10501,7 +10501,7 @@
10501
10501
  _ref$id = _ref.id,
10502
10502
  id = _ref$id === void 0 ? "checkbox" : _ref$id,
10503
10503
  isIndeterminate = _ref.isIndeterminate,
10504
- rest = _objectWithoutProperties(_ref, _excluded$P);
10504
+ rest = _objectWithoutProperties(_ref, _excluded$Q);
10505
10505
  return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
10506
10506
  className: classNames__default["default"]("c-checkbox", {
10507
10507
  "c-checkbox__hover": hover,
@@ -10706,7 +10706,7 @@
10706
10706
  StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
10707
10707
  StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
10708
10708
 
10709
- var _excluded$O = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
10709
+ var _excluded$P = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
10710
10710
  var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10711
10711
  var children = _ref.children,
10712
10712
  className = _ref.className,
@@ -10720,7 +10720,7 @@
10720
10720
  invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
10721
10721
  innerColor = _ref.innerColor,
10722
10722
  outerColor = _ref.outerColor,
10723
- rest = _objectWithoutProperties(_ref, _excluded$O);
10723
+ rest = _objectWithoutProperties(_ref, _excluded$P);
10724
10724
  var _useState = React.useState({
10725
10725
  top: 0,
10726
10726
  right: 0,
@@ -10840,7 +10840,7 @@
10840
10840
  return height;
10841
10841
  };
10842
10842
 
10843
- var _excluded$N = ["as", "className", "invert", "style"];
10843
+ var _excluded$O = ["as", "className", "invert", "style"];
10844
10844
  var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
10845
10845
  var _ref$as = _ref.as,
10846
10846
  as = _ref$as === void 0 ? "div" : _ref$as,
@@ -10848,7 +10848,7 @@
10848
10848
  _ref$invert = _ref.invert,
10849
10849
  invert = _ref$invert === void 0 ? false : _ref$invert,
10850
10850
  style = _ref.style,
10851
- rest = _objectWithoutProperties(_ref, _excluded$N);
10851
+ rest = _objectWithoutProperties(_ref, _excluded$O);
10852
10852
  var internalRef = useInitScrollRef(null, invert);
10853
10853
  var handleRef = useForkRef(internalRef, ref);
10854
10854
  var props = _objectSpread2(_objectSpread2({}, rest), {}, {
@@ -11330,7 +11330,7 @@
11330
11330
  });
11331
11331
  StyledInput$2.displayName = "StyledInput";
11332
11332
 
11333
- var _excluded$M = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick"];
11333
+ var _excluded$N = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick"];
11334
11334
  var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
11335
11335
  var _ref$className = _ref.className,
11336
11336
  className = _ref$className === void 0 ? "" : _ref$className,
@@ -11347,7 +11347,7 @@
11347
11347
  endAdornment = _ref.endAdornment,
11348
11348
  wrapRef = _ref.wrapRef,
11349
11349
  wrapperClick = _ref.wrapperClick,
11350
- rest = _objectWithoutProperties(_ref, _excluded$M);
11350
+ rest = _objectWithoutProperties(_ref, _excluded$N);
11351
11351
  var intInputRef = React.useRef(null);
11352
11352
  var handleRef = useForkRef(ref, intInputRef);
11353
11353
  var handleWrapperClick = React.useCallback(function () {
@@ -11401,14 +11401,14 @@
11401
11401
  }, StyledRadioLabel);
11402
11402
  StyledRadioButton$1.displayName = "StyledRadioButton";
11403
11403
 
11404
- var _excluded$L = ["className", "id", "hover"];
11404
+ var _excluded$M = ["className", "id", "hover"];
11405
11405
  var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11406
11406
  var _ref$className = _ref.className,
11407
11407
  className = _ref$className === void 0 ? "" : _ref$className,
11408
11408
  _ref$id = _ref.id,
11409
11409
  id = _ref$id === void 0 ? "radio" : _ref$id,
11410
11410
  hover = _ref.hover,
11411
- props = _objectWithoutProperties(_ref, _excluded$L);
11411
+ props = _objectWithoutProperties(_ref, _excluded$M);
11412
11412
  return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
11413
11413
  className: classNames__default["default"]("c-radio-btn", {
11414
11414
  "c-radio-btn__hover": hover,
@@ -11616,7 +11616,7 @@
11616
11616
  };
11617
11617
  OptionContent.displayName = "OptionContent";
11618
11618
 
11619
- var _excluded$K = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
11619
+ var _excluded$L = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
11620
11620
  var Select = function Select(_ref) {
11621
11621
  var _ref$type = _ref.type,
11622
11622
  type = _ref$type === void 0 ? "single" : _ref$type,
@@ -11650,7 +11650,7 @@
11650
11650
  handleDefaultOptionChange = _ref.handleDefaultOptionChange,
11651
11651
  _ref$preselectDefault = _ref.preselectDefaultValue,
11652
11652
  preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
11653
- prop = _objectWithoutProperties(_ref, _excluded$K);
11653
+ prop = _objectWithoutProperties(_ref, _excluded$L);
11654
11654
  var childNode = React.useRef();
11655
11655
  var elementRef = React.useRef(null);
11656
11656
  var handleRef = useForkRef(childNode, elementRef);
@@ -11905,7 +11905,7 @@
11905
11905
  });
11906
11906
  StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
11907
11907
 
11908
- var _excluded$J = ["children", "active", "disabled", "className", "role"];
11908
+ var _excluded$K = ["children", "active", "disabled", "className", "role"];
11909
11909
  var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
11910
11910
  var children = _ref.children,
11911
11911
  _ref$active = _ref.active,
@@ -11914,7 +11914,7 @@
11914
11914
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
11915
11915
  className = _ref.className,
11916
11916
  role = _ref.role,
11917
- rest = _objectWithoutProperties(_ref, _excluded$J);
11917
+ rest = _objectWithoutProperties(_ref, _excluded$K);
11918
11918
  return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
11919
11919
  className: classNames__default["default"]("c-nav__item", {
11920
11920
  "c-nav__item--active": active
@@ -11955,11 +11955,11 @@
11955
11955
  });
11956
11956
  StyledExpandSingle.displayName = "StyledExpandSingle";
11957
11957
 
11958
- var _excluded$I = ["expanded"];
11958
+ var _excluded$J = ["expanded"];
11959
11959
  var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11960
11960
  var _ref$expanded = _ref.expanded,
11961
11961
  expanded = _ref$expanded === void 0 ? false : _ref$expanded,
11962
- rest = _objectWithoutProperties(_ref, _excluded$I);
11962
+ rest = _objectWithoutProperties(_ref, _excluded$J);
11963
11963
  return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
11964
11964
  ref: ref,
11965
11965
  viewBox: "0 0 24 24",
@@ -12249,7 +12249,7 @@
12249
12249
  };
12250
12250
  Nav.displayName = "Nav";
12251
12251
 
12252
- var _excluded$H = ["children", "as", "disablePointerEvents"];
12252
+ var _excluded$I = ["children", "as", "disablePointerEvents"];
12253
12253
  var InputAdornmentBase = styled__default["default"].div.withConfig({
12254
12254
  displayName: "InputAdornment__InputAdornmentBase",
12255
12255
  componentId: "sc-1xfjx1z-0"
@@ -12266,7 +12266,7 @@
12266
12266
  var children = _ref.children,
12267
12267
  as = _ref.as,
12268
12268
  disablePointerEvents = _ref.disablePointerEvents,
12269
- rest = _objectWithoutProperties(_ref, _excluded$H);
12269
+ rest = _objectWithoutProperties(_ref, _excluded$I);
12270
12270
  var Component = as || "div";
12271
12271
  return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
12272
12272
  as: Component,
@@ -12276,263 +12276,711 @@
12276
12276
  });
12277
12277
  InputAdornment.displayName = "InputAdornment";
12278
12278
 
12279
- var _excluded$G = ["expanded"];
12280
- var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12281
- var _ref$expanded = _ref.expanded,
12282
- expanded = _ref$expanded === void 0 ? false : _ref$expanded,
12283
- rest = _objectWithoutProperties(_ref, _excluded$G);
12284
- return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
12285
- ref: ref,
12286
- viewBox: "0 0 24 24"
12287
- }, rest), expanded ? /*#__PURE__*/React__default["default"].createElement("path", {
12288
- d: "M13 16l4.72 4.461a.867.867 0 010 1.275.993.993 0 01-1.348 0L13 18.549l-3.372 3.187a.993.993 0 01-1.349 0 .867.867 0 010-1.275L13 16zm4.72-11.736a.867.867 0 010 1.275L13 10 8.28 5.539a.867.867 0 010-1.275.993.993 0 011.348 0L13 7.451l3.372-3.187a.993.993 0 011.349 0zM13 15a2 2 0 100-4 2 2 0 000 4z"
12289
- }) : /*#__PURE__*/React__default["default"].createElement("path", {
12290
- d: "M17.72 16.264a.867.867 0 010 1.275L13 22l-4.72-4.461a.867.867 0 010-1.275.993.993 0 011.348 0L13 19.451l3.372-3.187a.993.993 0 011.349 0zM13 4l4.72 4.461a.867.867 0 010 1.275.993.993 0 01-1.348 0L13 6.549 9.628 9.736a.993.993 0 01-1.349 0 .867.867 0 010-1.275L13 4zm0 11a2 2 0 100-4 2 2 0 000 4z"
12291
- }));
12292
- });
12293
- ExpandAll.displayName = "ExpandAll";
12279
+ // export const decimalToHours = (decimal: string) => {
12280
+ // // we round it on two decimals first, to eliminate quirks, eg, 5.99999999 will return 5:59 instead of 6:00
12281
+ // decimal = parseFloat(decimal).toFixed(2);
12282
+ // decimal = decimal + "";
12283
+ // let hours;
12284
+ // let minutes_decimal;
12285
+ //
12286
+ // if (decimal.indexOf(".") < 0) {
12287
+ // hours = parseInt(decimal);
12288
+ // minutes_decimal = 0;
12289
+ // } else {
12290
+ // hours = parseInt(decimal.substring(0, decimal.indexOf(".")));
12291
+ // minutes_decimal = decimal.substring(decimal.indexOf(".") + 1);
12292
+ // minutes_decimal = minutes_decimal.substring(0, 2);
12293
+ // if (minutes_decimal.length === 1) {
12294
+ // minutes_decimal += "0";
12295
+ // } // if
12296
+ // minutes_decimal = parseInt(minutes_decimal);
12297
+ // } // if
12298
+ //
12299
+ // const minutes = Math.round((minutes_decimal / 100) * 60);
12300
+ //
12301
+ // if (hours < 10) {
12302
+ // hours = `0${hours}`;
12303
+ // }
12304
+ // return {
12305
+ // hours: hours,
12306
+ // minutes: minutes,
12307
+ // };
12308
+ // };
12294
12309
 
12295
- var StyledMenuSelectorDots = styled__default["default"](TreeDotsIcon$1).withConfig({
12296
- displayName: "Styles__StyledMenuSelectorDots",
12297
- componentId: "sc-1x7qbnu-0"
12298
- })(["", ""], {
12299
- "marginLeft": "0.5rem",
12300
- "flexShrink": "0",
12301
- "cursor": "pointer"
12310
+ var decimalToHours = function decimalToHours(num) {
12311
+ var withLeadingZeroHours = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
12312
+ if (!num) {
12313
+ return "";
12314
+ }
12315
+ if (typeof num === "string" && !num) {
12316
+ return withLeadingZeroHours ? "00:00" : "0:00";
12317
+ }
12318
+ if (typeof num === "string" && num.indexOf(":") >= 0) {
12319
+ //eslint-disable-next-line
12320
+ var _num$split = num.split(":"),
12321
+ _num$split2 = _slicedToArray(_num$split, 2),
12322
+ _hours = _num$split2[0],
12323
+ _minutes = _num$split2[1];
12324
+ if (_minutes && _minutes.length === 1 && Number(_minutes) < 10) {
12325
+ _minutes = "".concat(Number(_minutes), "0");
12326
+ }
12327
+ if (_hours && _minutes) {
12328
+ if (withLeadingZeroHours) {
12329
+ return "".concat(withLeadingZero(_hours), ":").concat(_minutes);
12330
+ }
12331
+ return "".concat(_hours, ":").concat(_minutes);
12332
+ } else if (!_hours && _minutes) {
12333
+ return withLeadingZeroHours ? "00:".concat(_minutes) : "0:".concat(_minutes);
12334
+ } else if (!_minutes && _hours) {
12335
+ return withLeadingZeroHours ? "".concat(withLeadingZero(_hours), ":00") : "".concat(_hours, ":00");
12336
+ } else {
12337
+ return withLeadingZeroHours ? "00:00" : "0:00";
12338
+ }
12339
+ }
12340
+ if (typeof num === "string" && num.indexOf(",") >= 0) {
12341
+ num = num.replace(",", ".");
12342
+ }
12343
+ var input = typeof num === "string" ? parseFloat(num) : num;
12344
+ if (!isDecimal(input)) {
12345
+ if (withLeadingZeroHours) {
12346
+ return "".concat(withLeadingZero(input), ":00");
12347
+ }
12348
+ return "".concat(input, ":00");
12349
+ }
12350
+ var decimal = input.toFixed(2);
12351
+ var time = decimal.toString().split(".");
12352
+ var hours = time[0];
12353
+ if (withLeadingZeroHours) {
12354
+ hours = withLeadingZero(hours);
12355
+ }
12356
+ var minutes = time[1];
12357
+ var minutes_formatted = Math.round(parseInt(minutes, 10) / 100 * 60);
12358
+ return "".concat(hours, ":").concat(withLeadingZero(minutes_formatted));
12359
+ };
12360
+ var withLeadingZero = function withLeadingZero(num) {
12361
+ var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
12362
+ var s = "".concat(num);
12363
+ while (s.length < size) {
12364
+ s = "0" + s;
12365
+ }
12366
+ return s;
12367
+ };
12368
+ var isDecimal = function isDecimal(num) {
12369
+ return !Number.isInteger(num);
12370
+ };
12371
+
12372
+ var StyledDiv = styled__default["default"].div.withConfig({
12373
+ displayName: "Styles__StyledDiv",
12374
+ componentId: "sc-1wapx2a-0"
12375
+ })(["", " ", " ", ""], FontStyle, BoxSizingStyle, {
12376
+ "position": "relative",
12377
+ "display": "inline-block",
12378
+ "maxWidth": "100%"
12302
12379
  });
12303
- StyledMenuSelectorDots.displayName = "StyledMenuSelectorDots";
12304
- var StyledMenuSelectorBack = styled__default["default"](ArrowLeftIcon$1).withConfig({
12305
- displayName: "Styles__StyledMenuSelectorBack",
12306
- componentId: "sc-1x7qbnu-1"
12307
- })(["", ""], {
12308
- "marginRight": "0.5rem",
12309
- "flexShrink": "0",
12310
- "cursor": "pointer",
12311
- "stroke": "currentColor"
12380
+ var StyledSpan = styled__default["default"](Typography).withConfig({
12381
+ displayName: "Styles__StyledSpan",
12382
+ componentId: "sc-1wapx2a-1"
12383
+ })(["visibility:hidden;display:block;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;position:relative;border:1px solid transparent;border-radius:6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:pre;font-variant-numeric:tabular-nums;", " &:empty:before{content:\" \";}"], function (_ref) {
12384
+ var $disabled = _ref.$disabled;
12385
+ return $disabled && styled.css(["visibility:visible;"]);
12312
12386
  });
12313
- StyledMenuSelectorBack.displayName = "StyledMenuSelectorBack";
12314
- var StyledMenuSelector = styled__default["default"].div.withConfig({
12315
- displayName: "Styles__StyledMenuSelector",
12316
- componentId: "sc-1x7qbnu-2"
12317
- })(["", " ", " color:var(--color-theme-700);"], BoxSizingStyle, FontStyle);
12318
- StyledMenuSelector.displayName = "StyledMenuSelector";
12319
- var StyledMenuSelectorInner = styled__default["default"].div.withConfig({
12320
- displayName: "Styles__StyledMenuSelectorInner",
12321
- componentId: "sc-1x7qbnu-3"
12322
- })(["", ""], {
12323
- "margin": "1rem",
12324
- "display": "flex",
12325
- "alignItems": "center"
12387
+ StyledSpan.displayName = "StyledSpan";
12388
+ var StyledInput$1 = styled__default["default"](Typography).withConfig({
12389
+ displayName: "Styles__StyledInput",
12390
+ componentId: "sc-1wapx2a-2"
12391
+ })(["", " background-color:inherit;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;text-overflow:ellipsis;font-variant-numeric:tabular-nums;&:focus-whitin{text-overflow:clip;}outline-width:0px;outline:none;&:disabled{display:none;}"], {
12392
+ "position": "absolute",
12393
+ "inset": "0px",
12394
+ "boxSizing": "border-box",
12395
+ "width": "100%",
12396
+ "overflow": "hidden",
12397
+ "whiteSpace": "nowrap",
12398
+ "borderRadius": "0.375rem",
12399
+ "borderWidth": "1px",
12400
+ "borderStyle": "solid",
12401
+ "borderColor": "transparent",
12402
+ ":focus-within": {
12403
+ "overflow": "scroll",
12404
+ "borderColor": "var(--color-theme-700)"
12405
+ },
12406
+ ":hover": {
12407
+ "borderColor": "var(--color-theme-700)"
12408
+ }
12326
12409
  });
12327
- StyledMenuSelectorInner.displayName = "StyledMenuSelectorInner";
12410
+ StyledInput$1.displayName = "StyledInput";
12328
12411
 
12329
- var MenuSelector = function MenuSelector(_ref) {
12330
- var defaultValue = _ref.defaultValue,
12331
- children = _ref.children,
12332
- placeholder = _ref.placeholder,
12333
- onChange = _ref.onChange,
12334
- onBack = _ref.onBack,
12335
- onEdit = _ref.onEdit,
12336
- _ref$autoFocus = _ref.autoFocus,
12337
- autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus,
12338
- className = _ref.className,
12339
- onFocus = _ref.onFocus,
12340
- onBlur = _ref.onBlur,
12341
- _ref$autoComplete = _ref.autoComplete,
12342
- autoComplete = _ref$autoComplete === void 0 ? false : _ref$autoComplete;
12343
- var handleChange = React.useCallback(function (e) {
12344
- if (typeof onChange === "function") {
12345
- onChange(e.target.value);
12346
- }
12347
- }, [onChange]);
12348
- return /*#__PURE__*/React__default["default"].createElement(StyledMenuSelector, {
12349
- className: classNames__default["default"]("c-menu-selector", className)
12350
- }, /*#__PURE__*/React__default["default"].createElement(StyledMenuSelectorInner, null, typeof onBack === "function" ? /*#__PURE__*/React__default["default"].createElement(StyledMenuSelectorBack, {
12351
- onClick: onBack,
12352
- width: "16px",
12353
- height: "16px"
12354
- }) : null, /*#__PURE__*/React__default["default"].createElement(Input, {
12355
- onChange: handleChange,
12356
- placeholder: placeholder,
12357
- autoFocus: autoFocus,
12358
- defaultValue: defaultValue,
12359
- onFocus: onFocus,
12360
- onBlur: onBlur,
12361
- autoComplete: autoComplete ? "on" : "off"
12362
- }), typeof onEdit === "function" ? /*#__PURE__*/React__default["default"].createElement(StyledMenuSelectorDots, {
12363
- onClick: onEdit
12364
- }) : null), children);
12365
- };
12366
- MenuSelector.displayName = "MenuSelector";
12367
-
12368
- var StyledTextarea = styled__default["default"].textarea.withConfig({
12369
- displayName: "Styles__StyledTextarea",
12370
- componentId: "sc-m6jqw8-0"
12371
- })(["", " ", " ", " ", " ", " border-width:1px;border-style:solid;", " border-radius:8px;padding:4px 8px 6px 8px;height:auto;background-color:var(--input-background-color);transition:all 0.3s ease;width:360px;min-height:90px;outline:none;", " ", " ", " ", " &::placeholder{", "}", ""], {
12372
- "fontSize": "0.875rem"
12373
- }, {
12374
- "color": "var(--color-theme-900)"
12375
- }, {
12376
- "lineHeight": "1.375"
12377
- }, {
12378
- "letterSpacing": "0.02em"
12379
- }, {
12380
- "fontWeight": "400"
12381
- }, {
12382
- "borderColor": "var(--color-theme-500)"
12383
- }, FontStyle, BoxSizingStyle, function (props) {
12384
- return props.disabled && styled.css(["", ""], {
12385
- "cursor": "not-allowed",
12386
- "opacity": "0.5"
12387
- });
12388
- }, function (props) {
12389
- return !props.disabled && !props.$invalid && styled.css(["&:active,&:focus,&:hover{", "}"], {
12390
- "borderColor": "var(--color-primary)"
12391
- });
12392
- }, {
12393
- "color": "var(--color-theme-transparent-500)"
12394
- }, function (props) {
12395
- return !props.disabled && props.$invalid && styled.css(["", ""], {
12396
- "borderColor": "var(--red-alert)"
12397
- });
12398
- });
12399
- StyledTextarea.displayName = "StyledTextarea";
12400
-
12401
- var _excluded$F = ["className", "disabled", "invalid"];
12402
- var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12412
+ var _excluded$H = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
12413
+ var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12403
12414
  var className = _ref.className,
12415
+ _ref$variant = _ref.variant,
12416
+ variant = _ref$variant === void 0 ? "Body 2" : _ref$variant,
12417
+ weight = _ref.weight,
12404
12418
  _ref$disabled = _ref.disabled,
12405
12419
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
12406
- _ref$invalid = _ref.invalid,
12407
- invalid = _ref$invalid === void 0 ? false : _ref$invalid,
12408
- rest = _objectWithoutProperties(_ref, _excluded$F);
12409
- return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
12410
- $invalid: invalid,
12411
- ref: ref,
12420
+ inputProps = _ref.inputProps,
12421
+ wrapRef = _ref.wrapRef,
12422
+ props = _objectWithoutProperties(_ref, _excluded$H);
12423
+ var intInputRef = React.useRef(null);
12424
+ var handleRef = useForkRef(ref, intInputRef);
12425
+ var handleBlur = React.useCallback(function (evt) {
12426
+ if (intInputRef !== null && intInputRef !== void 0 && intInputRef.current) {
12427
+ intInputRef.current.scrollLeft = 0;
12428
+ }
12429
+ typeof (inputProps === null || inputProps === void 0 ? void 0 : inputProps.onBlur) === "function" && (inputProps === null || inputProps === void 0 ? void 0 : inputProps.onBlur(evt));
12430
+ }, [inputProps]);
12431
+ return /*#__PURE__*/React__default["default"].createElement(StyledDiv, _extends({
12432
+ className: className,
12433
+ ref: wrapRef
12434
+ }, props), /*#__PURE__*/React__default["default"].createElement(StyledSpan, {
12435
+ variant: variant,
12436
+ forwardedAs: "span",
12437
+ weight: weight,
12438
+ $disabled: disabled
12439
+ }, inputProps === null || inputProps === void 0 ? void 0 : inputProps.value), /*#__PURE__*/React__default["default"].createElement(StyledInput$1, _extends({}, inputProps, {
12440
+ ref: handleRef,
12441
+ forwardedAs: "input",
12442
+ variant: variant,
12443
+ weight: weight,
12444
+ value: inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
12445
+ onBlur: handleBlur,
12412
12446
  disabled: disabled,
12413
- className: classNames__default["default"]("c-textarea", {
12414
- "c-textarea__disabled": disabled
12415
- }, className)
12416
- }));
12447
+ "data-form-type": "other"
12448
+ })));
12417
12449
  });
12418
- Textarea.displayName = "Textarea";
12450
+ EditableContent.displayName = "EditableContent";
12419
12451
 
12420
- function createChainedFunction() {
12421
- for (var _len = arguments.length, functions = new Array(_len), _key = 0; _key < _len; _key++) {
12422
- functions[_key] = arguments[_key];
12423
- }
12424
- return functions.reduce(function (acc, func) {
12425
- if (func === null) {
12426
- return acc;
12427
- }
12428
- return function chainedFunction() {
12429
- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
12430
- args[_key2] = arguments[_key2];
12431
- }
12432
- acc && acc.apply(this, args);
12433
- func && func.apply(this, args);
12434
- };
12435
- },
12436
- // eslint-disable-next-line @typescript-eslint/no-empty-function
12437
- function () {});
12438
- }
12452
+ // eslint-disable-next-line @typescript-eslint/no-empty-interface
12439
12453
 
12440
- var _excluded$E = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose", "onClickOutside"];
12441
- var getHasTransition = function getHasTransition(children) {
12442
- return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
12443
- };
12444
- var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12454
+ var HoursWrapper = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
12445
12455
  var children = _ref.children,
12446
- _ref$disableFocusLock = _ref.disableFocusLock,
12447
- disableFocusLock = _ref$disableFocusLock === void 0 ? false : _ref$disableFocusLock,
12448
- _ref$disableScrollLoc = _ref.disableScrollLock,
12449
- disableScrollLock = _ref$disableScrollLoc === void 0 ? false : _ref$disableScrollLoc,
12450
- _ref$disableBackgroun = _ref.disableBackgroundClick,
12451
- disableBackgroundClick = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
12452
- _ref$disableBackgroun2 = _ref.disableBackgroundColor,
12453
- disableBackgroundColor = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
12454
- _ref$disableCloseOnEs = _ref.disableCloseOnEsc,
12455
- disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
12456
- _ref$open = _ref.open,
12457
- defaultOpen = _ref$open === void 0 ? false : _ref$open,
12458
- onClose = _ref.onClose,
12459
- onClickOutside = _ref.onClickOutside,
12460
- rest = _objectWithoutProperties(_ref, _excluded$E);
12461
- var _useState = React.useState(defaultOpen),
12456
+ value = _ref.value,
12457
+ onCancel = _ref.onCancel,
12458
+ onSave = _ref.onSave,
12459
+ onEnterKeyPress = _ref.onEnterKeyPress,
12460
+ allowEmptyValue = _ref.allowEmptyValue,
12461
+ _ref$withLeadingZero = _ref.withLeadingZero,
12462
+ withLeadingZero = _ref$withLeadingZero === void 0 ? true : _ref$withLeadingZero,
12463
+ _ref$validation = _ref.validation,
12464
+ validation = _ref$validation === void 0 ? validateTimeInput : _ref$validation,
12465
+ _ref$incrementOnlySel = _ref.incrementOnlySelected,
12466
+ incrementOnlySelected = _ref$incrementOnlySel === void 0 ? false : _ref$incrementOnlySel,
12467
+ _ref$minuteIncrement = _ref.minuteIncrement,
12468
+ minuteIncrement = _ref$minuteIncrement === void 0 ? 1 : _ref$minuteIncrement;
12469
+ var inputRef = React.useRef(null);
12470
+ var handleRef = useForkRef(ref, inputRef);
12471
+ var _useState = React.useState(function () {
12472
+ return decimalToHours(value, withLeadingZero);
12473
+ }),
12462
12474
  _useState2 = _slicedToArray(_useState, 2),
12463
- open = _useState2[0],
12464
- setOpen = _useState2[1];
12465
- var _useState3 = React.useState(true),
12475
+ currentValue = _useState2[0],
12476
+ setCurrentValue = _useState2[1];
12477
+ var _useState3 = React.useState(function () {
12478
+ return decimalToHours(value, withLeadingZero);
12479
+ }),
12466
12480
  _useState4 = _slicedToArray(_useState3, 2),
12467
- exited = _useState4[0],
12468
- setExited = _useState4[1];
12469
- var innerRef = React.useRef(null);
12470
- var handleRef = useForkRef(innerRef, ref);
12471
- var hasTransition = React.useMemo(function () {
12472
- return getHasTransition(children);
12473
- }, [children]);
12481
+ prevValue = _useState4[0],
12482
+ setPrevValue = _useState4[1];
12483
+ var escapeRef = React.useRef(false);
12474
12484
  React.useEffect(function () {
12475
- setOpen(defaultOpen);
12476
- }, [defaultOpen]);
12477
- var handleClose = React.useCallback(function () {
12478
- setOpen(false);
12479
- if (!hasTransition) {
12480
- typeof onClose === "function" && onClose();
12481
- }
12482
- }, [hasTransition, onClose]);
12483
- var handleBackgroundClick = React.useCallback(function (event) {
12484
- if (!disableBackgroundClick) {
12485
- event.preventDefault();
12486
- return handleClose();
12485
+ var _value;
12486
+ if (value !== undefined) {
12487
+ _value = decimalToHours(value, withLeadingZero);
12487
12488
  }
12488
- if (onClickOutside) {
12489
- onClickOutside(event);
12489
+ if (currentValue !== _value) {
12490
+ setCurrentValue(_value);
12491
+ setPrevValue(_value);
12490
12492
  }
12491
- }, [disableBackgroundClick, onClickOutside, handleClose]);
12492
- var handleEnter = React.useCallback(function () {
12493
- setExited(false);
12494
- }, []);
12495
- var handleExited = React.useCallback(function () {
12496
- setExited(true);
12497
- typeof onClose === "function" && onClose();
12498
- }, [onClose]);
12499
- var childProps = React.useMemo(function () {
12500
- var props = {};
12501
-
12502
- // It's a Transition like component
12503
- if (hasTransition && children) {
12504
- props = {
12505
- onEnter: createChainedFunction(handleEnter, children.props.onEnter),
12506
- onExited: createChainedFunction(handleExited, children.props.onExited),
12507
- in: open
12508
- };
12493
+ // eslint-disable-next-line react-hooks/exhaustive-deps
12494
+ }, [value]);
12495
+ var handleBlur = React.useCallback(function (e) {
12496
+ if (escapeRef.current) {
12497
+ setCurrentValue(prevValue);
12498
+ } else {
12499
+ if (e.target.value.trim().length > 0 && prevValue !== e.target.value) {
12500
+ var _value = decimalToHours(e.target.value, withLeadingZero);
12501
+ setPrevValue(_value);
12502
+ setCurrentValue(_value);
12503
+ typeof onSave === "function" && onSave(e);
12504
+ } else {
12505
+ !allowEmptyValue ? setCurrentValue(prevValue) : typeof onSave === "function" && prevValue !== e.target.value && onSave(e);
12506
+ }
12509
12507
  }
12510
- return props;
12511
- }, [children, handleEnter, handleExited, hasTransition, open]);
12512
- if (!open && (!hasTransition || exited)) {
12513
- return null;
12514
- }
12515
- return /*#__PURE__*/React__default["default"].createElement(Window, _extends({}, rest, {
12516
- ref: handleRef,
12517
- onClose: handleClose,
12518
- disableFocusLock: disableFocusLock,
12519
- disableScrollLock: disableScrollLock,
12520
- disableCloseOnEsc: disableCloseOnEsc
12521
- }), open ? /*#__PURE__*/React__default["default"].createElement(Overlay, {
12522
- onClick: handleBackgroundClick,
12523
- disableBackgroundColor: disableBackgroundColor
12524
- }) : null, /*#__PURE__*/React.cloneElement(children, childProps));
12525
- });
12526
- Modal.displayName = "Modal";
12527
-
12528
- var StyledSheetIcons = styled__default["default"].div.withConfig({
12529
- displayName: "Styles__StyledSheetIcons",
12530
- componentId: "sc-144eyxd-0"
12531
- })(["display:flex;height:0;position:relative;span{position:relative;background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);cursor:pointer;border-radius:100%;width:40px;height:40px;display:flex;justify-content:center;align-items:center;& > *{height:40px;width:40px;padding:8px;fill:var(--color-theme-600);}}"]);
12532
- StyledSheetIcons.displayName = "StyledSheetIcons";
12533
- var StyledSheetWrapper = styled__default["default"].div.withConfig({
12534
- displayName: "Styles__StyledSheetWrapper",
12535
- componentId: "sc-144eyxd-1"
12508
+ }, [allowEmptyValue, onSave, prevValue, withLeadingZero]);
12509
+ var handleIncrementDecrement = React.useCallback(function (increment) {
12510
+ if (inputRef.current) {
12511
+ var selectionStart = inputRef.current.selectionStart;
12512
+ if (selectionStart !== null) {
12513
+ var dotsIndex = currentValue.indexOf(":");
12514
+ var _currentValue$split$m = currentValue.split(":").map(Number),
12515
+ _currentValue$split$m2 = _slicedToArray(_currentValue$split$m, 2),
12516
+ hours = _currentValue$split$m2[0],
12517
+ minutes = _currentValue$split$m2[1];
12518
+ var newHours = hours;
12519
+ var newMinutes = minutes;
12520
+ if (selectionStart < dotsIndex) {
12521
+ if (increment) {
12522
+ newHours += 1;
12523
+ } else {
12524
+ newHours -= 1;
12525
+ if (newHours < 0) newHours = 0;
12526
+ }
12527
+ } else if (selectionStart > dotsIndex) {
12528
+ if (increment) {
12529
+ newMinutes += minuteIncrement;
12530
+ if (newMinutes > 59) {
12531
+ newMinutes = 0;
12532
+ if (!incrementOnlySelected) newHours += 1;
12533
+ }
12534
+ } else {
12535
+ if (newMinutes >= minuteIncrement || newMinutes === 0) {
12536
+ newMinutes -= minuteIncrement;
12537
+ if (newMinutes < 0 && newHours > 0) {
12538
+ newMinutes = 60 - minuteIncrement;
12539
+ if (!incrementOnlySelected) newHours -= 1;
12540
+ }
12541
+ if (newHours < 0) {
12542
+ newHours = 0;
12543
+ }
12544
+ } else {
12545
+ newMinutes = 0;
12546
+ }
12547
+ }
12548
+ }
12549
+ var newMinutesString = newMinutes < 10 ? "0".concat(newMinutes) : newMinutes;
12550
+ var newHoursString = withLeadingZero && newHours < 10 ? "0".concat(newHours) : newHours;
12551
+ var newValue = "".concat(newHoursString, ":").concat(newMinutesString);
12552
+ if (validation(newValue, withLeadingZero)) {
12553
+ setCurrentValue(newValue);
12554
+ requestAnimationFrame(function () {
12555
+ var _inputRef$current;
12556
+ var newDotsIndex = newValue.indexOf(":");
12557
+ var isHoursSelected = selectionStart < newDotsIndex;
12558
+ var newSelectionStart = isHoursSelected ? 0 : newDotsIndex + 1;
12559
+ var selectionEnd = isHoursSelected ? newDotsIndex : newValue.length;
12560
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.setSelectionRange(newSelectionStart, selectionEnd);
12561
+ });
12562
+ }
12563
+ }
12564
+ }
12565
+ }, [currentValue, incrementOnlySelected, minuteIncrement, validation, withLeadingZero]);
12566
+ var handleKeyDown = React.useCallback(function (e) {
12567
+ if (e.key === "Enter") {
12568
+ e.target.blur();
12569
+ onEnterKeyPress && onEnterKeyPress();
12570
+ }
12571
+ if (e.key === "ArrowLeft") {
12572
+ return;
12573
+ }
12574
+ if (e.key === "ArrowRight") {
12575
+ return;
12576
+ }
12577
+ if (e.key === "Escape") {
12578
+ escapeRef.current = true;
12579
+ e.target.blur();
12580
+ typeof onCancel === "function" && onCancel();
12581
+ escapeRef.current = false;
12582
+ }
12583
+ if (e.key === "Backspace") {
12584
+ return;
12585
+ }
12586
+ if ((e.metaKey || e.ctrlKey) && e.key === "a") {
12587
+ var _inputRef$current2;
12588
+ (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.select();
12589
+ return;
12590
+ }
12591
+ var input = e.target;
12592
+ var start = input.selectionStart;
12593
+ var end = input.selectionEnd;
12594
+ var currentValue = input.value;
12595
+ if (e.key === "Tab") {
12596
+ if (start !== end) {
12597
+ if (e.shiftKey) {
12598
+ var newDotsIndex = currentValue.indexOf(":");
12599
+ var isMinutesSelected = start > newDotsIndex;
12600
+ if (isMinutesSelected) {
12601
+ var _inputRef$current3;
12602
+ e.preventDefault();
12603
+ (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.setSelectionRange(0, newDotsIndex);
12604
+ }
12605
+ } else {
12606
+ var _newDotsIndex = currentValue.indexOf(":");
12607
+ var isHoursSelected = start < _newDotsIndex;
12608
+ if (isHoursSelected) {
12609
+ var _inputRef$current4;
12610
+ e.preventDefault();
12611
+ (_inputRef$current4 = inputRef.current) === null || _inputRef$current4 === void 0 ? void 0 : _inputRef$current4.setSelectionRange(_newDotsIndex + 1, currentValue.length);
12612
+ }
12613
+ }
12614
+ }
12615
+ return;
12616
+ }
12617
+ if (start !== end) {
12618
+ if (e.key === "ArrowUp") {
12619
+ handleIncrementDecrement(true);
12620
+ return;
12621
+ }
12622
+ if (e.key === "ArrowDown") {
12623
+ handleIncrementDecrement(false);
12624
+ return;
12625
+ }
12626
+ var newValue = currentValue.substring(0, start) + e.key + currentValue.substring(end);
12627
+ if (!validation(newValue, withLeadingZero)) {
12628
+ e.preventDefault();
12629
+ return;
12630
+ }
12631
+ } else {
12632
+ var _newValue = currentValue.substring(0, start) + e.key + currentValue.substring(end);
12633
+ if (!validation(_newValue, withLeadingZero)) {
12634
+ e.preventDefault();
12635
+ return;
12636
+ }
12637
+ }
12638
+ }, [handleIncrementDecrement, onCancel, onEnterKeyPress, validation, withLeadingZero]);
12639
+ var handleChange = React.useCallback(function (e) {
12640
+ setCurrentValue(e.target.value);
12641
+ }, []);
12642
+ var handleClick = function handleClick() {
12643
+ var _inputRef$current5;
12644
+ var selectionStart = (_inputRef$current5 = inputRef.current) === null || _inputRef$current5 === void 0 ? void 0 : _inputRef$current5.selectionStart;
12645
+ if (inputRef.current && currentValue && currentValue.length > 0 && typeof selectionStart === "number") {
12646
+ var dotsIndex = currentValue.indexOf(":");
12647
+ if (selectionStart < dotsIndex) {
12648
+ var _inputRef$current6;
12649
+ (_inputRef$current6 = inputRef.current) === null || _inputRef$current6 === void 0 ? void 0 : _inputRef$current6.setSelectionRange(0, dotsIndex);
12650
+ } else if (selectionStart >= dotsIndex) {
12651
+ var _inputRef$current7;
12652
+ (_inputRef$current7 = inputRef.current) === null || _inputRef$current7 === void 0 ? void 0 : _inputRef$current7.setSelectionRange(dotsIndex + 1, currentValue.length);
12653
+ }
12654
+ }
12655
+ };
12656
+ var handleDoubleClick = function handleDoubleClick() {
12657
+ if (inputRef.current) {
12658
+ var _inputRef$current8;
12659
+ (_inputRef$current8 = inputRef.current) === null || _inputRef$current8 === void 0 ? void 0 : _inputRef$current8.select();
12660
+ }
12661
+ };
12662
+ var inputProps = {
12663
+ value: currentValue,
12664
+ onBlur: handleBlur,
12665
+ onKeyDown: handleKeyDown,
12666
+ onChange: handleChange,
12667
+ onClick: handleClick,
12668
+ onDoubleClick: handleDoubleClick,
12669
+ onEnterKeyPress: onEnterKeyPress
12670
+ };
12671
+ if (!children) {
12672
+ console.error("No children provided!");
12673
+ return null;
12674
+ }
12675
+ return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].Children.map(children, function (child) {
12676
+ var el = child;
12677
+ if (el && el.type === EditableContent) {
12678
+ return /*#__PURE__*/React__default["default"].cloneElement(child, {
12679
+ ref: handleRef,
12680
+ inputProps: inputProps
12681
+ });
12682
+ }
12683
+ return /*#__PURE__*/React__default["default"].cloneElement(child, _objectSpread2({
12684
+ ref: handleRef
12685
+ }, inputProps));
12686
+ }));
12687
+ });
12688
+ HoursWrapper.displayName = "HoursWrapper";
12689
+
12690
+ var _excluded$G = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className"];
12691
+ var InputHours = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
12692
+ var value = _ref.value,
12693
+ onCancel = _ref.onCancel,
12694
+ onSave = _ref.onSave,
12695
+ onEnterKeyPress = _ref.onEnterKeyPress,
12696
+ allowEmptyValue = _ref.allowEmptyValue,
12697
+ _ref$withLeadingZero = _ref.withLeadingZero,
12698
+ withLeadingZero = _ref$withLeadingZero === void 0 ? true : _ref$withLeadingZero,
12699
+ _ref$validation = _ref.validation,
12700
+ validation = _ref$validation === void 0 ? validateTimeInput : _ref$validation,
12701
+ _ref$incrementOnlySel = _ref.incrementOnlySelected,
12702
+ incrementOnlySelected = _ref$incrementOnlySel === void 0 ? false : _ref$incrementOnlySel,
12703
+ _ref$minuteIncrement = _ref.minuteIncrement,
12704
+ minuteIncrement = _ref$minuteIncrement === void 0 ? 1 : _ref$minuteIncrement,
12705
+ className = _ref.className,
12706
+ rest = _objectWithoutProperties(_ref, _excluded$G);
12707
+ var inputRef = React.useRef(null);
12708
+ var handleRef = useForkRef(ref, inputRef);
12709
+ return /*#__PURE__*/React__default["default"].createElement(HoursWrapper, {
12710
+ value: value,
12711
+ onCancel: onCancel,
12712
+ onSave: onSave,
12713
+ onEnterKeyPress: onEnterKeyPress,
12714
+ incrementOnlySelected: incrementOnlySelected,
12715
+ minuteIncrement: minuteIncrement,
12716
+ allowEmptyValue: allowEmptyValue,
12717
+ withLeadingZero: withLeadingZero,
12718
+ validation: validation
12719
+ }, /*#__PURE__*/React__default["default"].createElement(Input, _extends({
12720
+ ref: handleRef,
12721
+ className: className,
12722
+ placeholder: withLeadingZero ? "00:00" : "0:00"
12723
+ }, rest)));
12724
+ });
12725
+ InputHours.displayName = "InputHours";
12726
+
12727
+ var _excluded$F = ["expanded"];
12728
+ var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12729
+ var _ref$expanded = _ref.expanded,
12730
+ expanded = _ref$expanded === void 0 ? false : _ref$expanded,
12731
+ rest = _objectWithoutProperties(_ref, _excluded$F);
12732
+ return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
12733
+ ref: ref,
12734
+ viewBox: "0 0 24 24"
12735
+ }, rest), expanded ? /*#__PURE__*/React__default["default"].createElement("path", {
12736
+ d: "M13 16l4.72 4.461a.867.867 0 010 1.275.993.993 0 01-1.348 0L13 18.549l-3.372 3.187a.993.993 0 01-1.349 0 .867.867 0 010-1.275L13 16zm4.72-11.736a.867.867 0 010 1.275L13 10 8.28 5.539a.867.867 0 010-1.275.993.993 0 011.348 0L13 7.451l3.372-3.187a.993.993 0 011.349 0zM13 15a2 2 0 100-4 2 2 0 000 4z"
12737
+ }) : /*#__PURE__*/React__default["default"].createElement("path", {
12738
+ d: "M17.72 16.264a.867.867 0 010 1.275L13 22l-4.72-4.461a.867.867 0 010-1.275.993.993 0 011.348 0L13 19.451l3.372-3.187a.993.993 0 011.349 0zM13 4l4.72 4.461a.867.867 0 010 1.275.993.993 0 01-1.348 0L13 6.549 9.628 9.736a.993.993 0 01-1.349 0 .867.867 0 010-1.275L13 4zm0 11a2 2 0 100-4 2 2 0 000 4z"
12739
+ }));
12740
+ });
12741
+ ExpandAll.displayName = "ExpandAll";
12742
+
12743
+ var StyledMenuSelectorDots = styled__default["default"](TreeDotsIcon$1).withConfig({
12744
+ displayName: "Styles__StyledMenuSelectorDots",
12745
+ componentId: "sc-1x7qbnu-0"
12746
+ })(["", ""], {
12747
+ "marginLeft": "0.5rem",
12748
+ "flexShrink": "0",
12749
+ "cursor": "pointer"
12750
+ });
12751
+ StyledMenuSelectorDots.displayName = "StyledMenuSelectorDots";
12752
+ var StyledMenuSelectorBack = styled__default["default"](ArrowLeftIcon$1).withConfig({
12753
+ displayName: "Styles__StyledMenuSelectorBack",
12754
+ componentId: "sc-1x7qbnu-1"
12755
+ })(["", ""], {
12756
+ "marginRight": "0.5rem",
12757
+ "flexShrink": "0",
12758
+ "cursor": "pointer",
12759
+ "stroke": "currentColor"
12760
+ });
12761
+ StyledMenuSelectorBack.displayName = "StyledMenuSelectorBack";
12762
+ var StyledMenuSelector = styled__default["default"].div.withConfig({
12763
+ displayName: "Styles__StyledMenuSelector",
12764
+ componentId: "sc-1x7qbnu-2"
12765
+ })(["", " ", " color:var(--color-theme-700);"], BoxSizingStyle, FontStyle);
12766
+ StyledMenuSelector.displayName = "StyledMenuSelector";
12767
+ var StyledMenuSelectorInner = styled__default["default"].div.withConfig({
12768
+ displayName: "Styles__StyledMenuSelectorInner",
12769
+ componentId: "sc-1x7qbnu-3"
12770
+ })(["", ""], {
12771
+ "margin": "1rem",
12772
+ "display": "flex",
12773
+ "alignItems": "center"
12774
+ });
12775
+ StyledMenuSelectorInner.displayName = "StyledMenuSelectorInner";
12776
+
12777
+ var MenuSelector = function MenuSelector(_ref) {
12778
+ var defaultValue = _ref.defaultValue,
12779
+ children = _ref.children,
12780
+ placeholder = _ref.placeholder,
12781
+ onChange = _ref.onChange,
12782
+ onBack = _ref.onBack,
12783
+ onEdit = _ref.onEdit,
12784
+ _ref$autoFocus = _ref.autoFocus,
12785
+ autoFocus = _ref$autoFocus === void 0 ? false : _ref$autoFocus,
12786
+ className = _ref.className,
12787
+ onFocus = _ref.onFocus,
12788
+ onBlur = _ref.onBlur,
12789
+ _ref$autoComplete = _ref.autoComplete,
12790
+ autoComplete = _ref$autoComplete === void 0 ? false : _ref$autoComplete;
12791
+ var handleChange = React.useCallback(function (e) {
12792
+ if (typeof onChange === "function") {
12793
+ onChange(e.target.value);
12794
+ }
12795
+ }, [onChange]);
12796
+ return /*#__PURE__*/React__default["default"].createElement(StyledMenuSelector, {
12797
+ className: classNames__default["default"]("c-menu-selector", className)
12798
+ }, /*#__PURE__*/React__default["default"].createElement(StyledMenuSelectorInner, null, typeof onBack === "function" ? /*#__PURE__*/React__default["default"].createElement(StyledMenuSelectorBack, {
12799
+ onClick: onBack,
12800
+ width: "16px",
12801
+ height: "16px"
12802
+ }) : null, /*#__PURE__*/React__default["default"].createElement(Input, {
12803
+ onChange: handleChange,
12804
+ placeholder: placeholder,
12805
+ autoFocus: autoFocus,
12806
+ defaultValue: defaultValue,
12807
+ onFocus: onFocus,
12808
+ onBlur: onBlur,
12809
+ autoComplete: autoComplete ? "on" : "off"
12810
+ }), typeof onEdit === "function" ? /*#__PURE__*/React__default["default"].createElement(StyledMenuSelectorDots, {
12811
+ onClick: onEdit
12812
+ }) : null), children);
12813
+ };
12814
+ MenuSelector.displayName = "MenuSelector";
12815
+
12816
+ var StyledTextarea = styled__default["default"].textarea.withConfig({
12817
+ displayName: "Styles__StyledTextarea",
12818
+ componentId: "sc-m6jqw8-0"
12819
+ })(["", " ", " ", " ", " ", " border-width:1px;border-style:solid;", " border-radius:8px;padding:4px 8px 6px 8px;height:auto;background-color:var(--input-background-color);transition:all 0.3s ease;width:360px;min-height:90px;outline:none;", " ", " ", " ", " &::placeholder{", "}", ""], {
12820
+ "fontSize": "0.875rem"
12821
+ }, {
12822
+ "color": "var(--color-theme-900)"
12823
+ }, {
12824
+ "lineHeight": "1.375"
12825
+ }, {
12826
+ "letterSpacing": "0.02em"
12827
+ }, {
12828
+ "fontWeight": "400"
12829
+ }, {
12830
+ "borderColor": "var(--color-theme-500)"
12831
+ }, FontStyle, BoxSizingStyle, function (props) {
12832
+ return props.disabled && styled.css(["", ""], {
12833
+ "cursor": "not-allowed",
12834
+ "opacity": "0.5"
12835
+ });
12836
+ }, function (props) {
12837
+ return !props.disabled && !props.$invalid && styled.css(["&:active,&:focus,&:hover{", "}"], {
12838
+ "borderColor": "var(--color-primary)"
12839
+ });
12840
+ }, {
12841
+ "color": "var(--color-theme-transparent-500)"
12842
+ }, function (props) {
12843
+ return !props.disabled && props.$invalid && styled.css(["", ""], {
12844
+ "borderColor": "var(--red-alert)"
12845
+ });
12846
+ });
12847
+ StyledTextarea.displayName = "StyledTextarea";
12848
+
12849
+ var _excluded$E = ["className", "disabled", "invalid"];
12850
+ var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12851
+ var className = _ref.className,
12852
+ _ref$disabled = _ref.disabled,
12853
+ disabled = _ref$disabled === void 0 ? false : _ref$disabled,
12854
+ _ref$invalid = _ref.invalid,
12855
+ invalid = _ref$invalid === void 0 ? false : _ref$invalid,
12856
+ rest = _objectWithoutProperties(_ref, _excluded$E);
12857
+ return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
12858
+ $invalid: invalid,
12859
+ ref: ref,
12860
+ disabled: disabled,
12861
+ className: classNames__default["default"]("c-textarea", {
12862
+ "c-textarea__disabled": disabled
12863
+ }, className)
12864
+ }));
12865
+ });
12866
+ Textarea.displayName = "Textarea";
12867
+
12868
+ function createChainedFunction() {
12869
+ for (var _len = arguments.length, functions = new Array(_len), _key = 0; _key < _len; _key++) {
12870
+ functions[_key] = arguments[_key];
12871
+ }
12872
+ return functions.reduce(function (acc, func) {
12873
+ if (func === null) {
12874
+ return acc;
12875
+ }
12876
+ return function chainedFunction() {
12877
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
12878
+ args[_key2] = arguments[_key2];
12879
+ }
12880
+ acc && acc.apply(this, args);
12881
+ func && func.apply(this, args);
12882
+ };
12883
+ },
12884
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
12885
+ function () {});
12886
+ }
12887
+
12888
+ var _excluded$D = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose", "onClickOutside"];
12889
+ var getHasTransition = function getHasTransition(children) {
12890
+ return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
12891
+ };
12892
+ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12893
+ var children = _ref.children,
12894
+ _ref$disableFocusLock = _ref.disableFocusLock,
12895
+ disableFocusLock = _ref$disableFocusLock === void 0 ? false : _ref$disableFocusLock,
12896
+ _ref$disableScrollLoc = _ref.disableScrollLock,
12897
+ disableScrollLock = _ref$disableScrollLoc === void 0 ? false : _ref$disableScrollLoc,
12898
+ _ref$disableBackgroun = _ref.disableBackgroundClick,
12899
+ disableBackgroundClick = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
12900
+ _ref$disableBackgroun2 = _ref.disableBackgroundColor,
12901
+ disableBackgroundColor = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
12902
+ _ref$disableCloseOnEs = _ref.disableCloseOnEsc,
12903
+ disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
12904
+ _ref$open = _ref.open,
12905
+ defaultOpen = _ref$open === void 0 ? false : _ref$open,
12906
+ onClose = _ref.onClose,
12907
+ onClickOutside = _ref.onClickOutside,
12908
+ rest = _objectWithoutProperties(_ref, _excluded$D);
12909
+ var _useState = React.useState(defaultOpen),
12910
+ _useState2 = _slicedToArray(_useState, 2),
12911
+ open = _useState2[0],
12912
+ setOpen = _useState2[1];
12913
+ var _useState3 = React.useState(true),
12914
+ _useState4 = _slicedToArray(_useState3, 2),
12915
+ exited = _useState4[0],
12916
+ setExited = _useState4[1];
12917
+ var innerRef = React.useRef(null);
12918
+ var handleRef = useForkRef(innerRef, ref);
12919
+ var hasTransition = React.useMemo(function () {
12920
+ return getHasTransition(children);
12921
+ }, [children]);
12922
+ React.useEffect(function () {
12923
+ setOpen(defaultOpen);
12924
+ }, [defaultOpen]);
12925
+ var handleClose = React.useCallback(function () {
12926
+ setOpen(false);
12927
+ if (!hasTransition) {
12928
+ typeof onClose === "function" && onClose();
12929
+ }
12930
+ }, [hasTransition, onClose]);
12931
+ var handleBackgroundClick = React.useCallback(function (event) {
12932
+ if (!disableBackgroundClick) {
12933
+ event.preventDefault();
12934
+ return handleClose();
12935
+ }
12936
+ if (onClickOutside) {
12937
+ onClickOutside(event);
12938
+ }
12939
+ }, [disableBackgroundClick, onClickOutside, handleClose]);
12940
+ var handleEnter = React.useCallback(function () {
12941
+ setExited(false);
12942
+ }, []);
12943
+ var handleExited = React.useCallback(function () {
12944
+ setExited(true);
12945
+ typeof onClose === "function" && onClose();
12946
+ }, [onClose]);
12947
+ var childProps = React.useMemo(function () {
12948
+ var props = {};
12949
+
12950
+ // It's a Transition like component
12951
+ if (hasTransition && children) {
12952
+ props = {
12953
+ onEnter: createChainedFunction(handleEnter, children.props.onEnter),
12954
+ onExited: createChainedFunction(handleExited, children.props.onExited),
12955
+ in: open
12956
+ };
12957
+ }
12958
+ return props;
12959
+ }, [children, handleEnter, handleExited, hasTransition, open]);
12960
+ if (!open && (!hasTransition || exited)) {
12961
+ return null;
12962
+ }
12963
+ return /*#__PURE__*/React__default["default"].createElement(Window, _extends({}, rest, {
12964
+ ref: handleRef,
12965
+ onClose: handleClose,
12966
+ disableFocusLock: disableFocusLock,
12967
+ disableScrollLock: disableScrollLock,
12968
+ disableCloseOnEsc: disableCloseOnEsc
12969
+ }), open ? /*#__PURE__*/React__default["default"].createElement(Overlay, {
12970
+ onClick: handleBackgroundClick,
12971
+ disableBackgroundColor: disableBackgroundColor
12972
+ }) : null, /*#__PURE__*/React.cloneElement(children, childProps));
12973
+ });
12974
+ Modal.displayName = "Modal";
12975
+
12976
+ var StyledSheetIcons = styled__default["default"].div.withConfig({
12977
+ displayName: "Styles__StyledSheetIcons",
12978
+ componentId: "sc-144eyxd-0"
12979
+ })(["display:flex;height:0;position:relative;span{position:relative;background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);cursor:pointer;border-radius:100%;width:40px;height:40px;display:flex;justify-content:center;align-items:center;& > *{height:40px;width:40px;padding:8px;fill:var(--color-theme-600);}}"]);
12980
+ StyledSheetIcons.displayName = "StyledSheetIcons";
12981
+ var StyledSheetWrapper = styled__default["default"].div.withConfig({
12982
+ displayName: "Styles__StyledSheetWrapper",
12983
+ componentId: "sc-144eyxd-1"
12536
12984
  })(["", " ", " position:relative;max-width:95vw;display:flex;flex-direction:row;", " ", " ", " ", " ", " ", ""], BoxSizingStyle, FontStyle, function (props) {
12537
12985
  return props.$mode === "stretch" ? styled.css(["margin-top:8px;height:calc(100vh - 16px);width:calc(100vw - 100px);max-width:1000px;", "{flex-direction:column;width:0;height:calc(100vh - 32px);& > *{margin-bottom:8px;animation-fill-mode:both;}span{top:8px;}}"], StyledSheetIcons) : styled.css(["max-height:calc(100vh - 156px);margin-top:126px;margin-bottom:30px;width:540px;flex-direction:column;", "{flex-direction:row-reverse;& > *{margin-left:8px;animation-fill-mode:both;}span{top:-48px;right:8px;}}"], StyledSheetIcons);
12538
12986
  }, function (props) {
@@ -12598,7 +13046,7 @@
12598
13046
  });
12599
13047
  StyledCssTransition.displayName = "StyledCssTransition";
12600
13048
 
12601
- var _excluded$D = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
13049
+ var _excluded$C = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
12602
13050
  var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12603
13051
  var children = _ref.children,
12604
13052
  onClose = _ref.onClose,
@@ -12622,7 +13070,7 @@
12622
13070
  bodyClassName = _ref.bodyClassName,
12623
13071
  _ref$disableBackgroun2 = _ref.disableBackgroundClick,
12624
13072
  disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
12625
- rest = _objectWithoutProperties(_ref, _excluded$D);
13073
+ rest = _objectWithoutProperties(_ref, _excluded$C);
12626
13074
  var _useState = React.useState(defaultOpen),
12627
13075
  _useState2 = _slicedToArray(_useState, 2),
12628
13076
  open = _useState2[0],
@@ -12715,13 +13163,13 @@
12715
13163
  });
12716
13164
  StyledHeader.displayName = "StyledHeader";
12717
13165
 
12718
- var _excluded$C = ["className", "size", "children"];
13166
+ var _excluded$B = ["className", "size", "children"];
12719
13167
  var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12720
13168
  var className = _ref.className,
12721
13169
  _ref$size = _ref.size,
12722
13170
  size = _ref$size === void 0 ? "small" : _ref$size,
12723
13171
  children = _ref.children,
12724
- rest = _objectWithoutProperties(_ref, _excluded$C);
13172
+ rest = _objectWithoutProperties(_ref, _excluded$B);
12725
13173
  return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
12726
13174
  type: "paper-2",
12727
13175
  className: classNames__default["default"]("c-header", className),
@@ -12737,7 +13185,7 @@
12737
13185
  })(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
12738
13186
  StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
12739
13187
 
12740
- var _excluded$B = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
13188
+ var _excluded$A = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
12741
13189
  var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12742
13190
  var _ref$minRows = _ref.minRows,
12743
13191
  minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
@@ -12753,7 +13201,7 @@
12753
13201
  cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
12754
13202
  onKeyDown = _ref.onKeyDown,
12755
13203
  value = _ref.value,
12756
- rest = _objectWithoutProperties(_ref, _excluded$B);
13204
+ rest = _objectWithoutProperties(_ref, _excluded$A);
12757
13205
  var innerRef = React.useRef(null);
12758
13206
  var _useState = React.useState(minRows),
12759
13207
  _useState2 = _slicedToArray(_useState, 2),
@@ -13029,7 +13477,7 @@
13029
13477
  });
13030
13478
  StyledChoose.displayName = "StyledChoose";
13031
13479
 
13032
- var _excluded$A = ["children", "disabled", "active", "className"];
13480
+ var _excluded$z = ["children", "disabled", "active", "className"];
13033
13481
  /**
13034
13482
  * Choose component
13035
13483
  */
@@ -13040,7 +13488,7 @@
13040
13488
  _ref$active = _ref.active,
13041
13489
  active = _ref$active === void 0 ? false : _ref$active,
13042
13490
  className = _ref.className,
13043
- args = _objectWithoutProperties(_ref, _excluded$A);
13491
+ args = _objectWithoutProperties(_ref, _excluded$z);
13044
13492
  return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
13045
13493
  disabled: disabled,
13046
13494
  className: classNames__default["default"]("c-choose", className),
@@ -13136,21 +13584,21 @@
13136
13584
  StyledLinkElements.displayName = "StyledLinkElements";
13137
13585
  StyledLink.displayName = "StyledLink";
13138
13586
 
13139
- var _excluded$z = ["children", "className"];
13587
+ var _excluded$y = ["children", "className"];
13140
13588
  /**
13141
13589
  * Back link component
13142
13590
  */
13143
13591
  var BackLink = function BackLink(_ref) {
13144
13592
  var children = _ref.children,
13145
13593
  className = _ref.className,
13146
- args = _objectWithoutProperties(_ref, _excluded$z);
13594
+ args = _objectWithoutProperties(_ref, _excluded$y);
13147
13595
  return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
13148
13596
  className: classNames__default["default"]("c-back-link", className)
13149
13597
  }, args), children);
13150
13598
  };
13151
13599
  BackLink.displayName = "BackLink";
13152
13600
 
13153
- var _excluded$y = ["as", "children", "variant", "size", "disabled", "className"];
13601
+ var _excluded$x = ["as", "children", "variant", "size", "disabled", "className"];
13154
13602
  /**
13155
13603
  * Link component
13156
13604
  */
@@ -13163,7 +13611,7 @@
13163
13611
  _ref$disabled = _ref.disabled,
13164
13612
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
13165
13613
  className = _ref.className,
13166
- args = _objectWithoutProperties(_ref, _excluded$y);
13614
+ args = _objectWithoutProperties(_ref, _excluded$x);
13167
13615
  var Component = as || "a";
13168
13616
  return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
13169
13617
  ref: ref,
@@ -13274,7 +13722,7 @@
13274
13722
  })(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
13275
13723
  StyledDialogActions.displayName = "StyledDialogActions";
13276
13724
 
13277
- var _excluded$x = ["in", "children", "style", "timeout"];
13725
+ var _excluded$w = ["in", "children", "style", "timeout"];
13278
13726
  var defaultStyle$1 = function defaultStyle(duration) {
13279
13727
  return {
13280
13728
  transition: "all ".concat(duration, "ms ease-in-out"),
@@ -13302,7 +13750,7 @@
13302
13750
  style = _ref.style,
13303
13751
  _ref$timeout = _ref.timeout,
13304
13752
  timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
13305
- rest = _objectWithoutProperties(_ref, _excluded$x);
13753
+ rest = _objectWithoutProperties(_ref, _excluded$w);
13306
13754
  return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
13307
13755
  appear: true,
13308
13756
  in: inProp,
@@ -13317,7 +13765,7 @@
13317
13765
  };
13318
13766
  Fade.displayName = "Fade";
13319
13767
 
13320
- var _excluded$w = ["in", "children", "style", "timeout", "initialDirection"];
13768
+ var _excluded$v = ["in", "children", "style", "timeout", "initialDirection"];
13321
13769
  var Slide = function Slide(_ref) {
13322
13770
  var _ref$in = _ref.in,
13323
13771
  inProp = _ref$in === void 0 ? false : _ref$in,
@@ -13327,7 +13775,7 @@
13327
13775
  timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
13328
13776
  _ref$initialDirection = _ref.initialDirection,
13329
13777
  initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
13330
- rest = _objectWithoutProperties(_ref, _excluded$w);
13778
+ rest = _objectWithoutProperties(_ref, _excluded$v);
13331
13779
  var directionSign;
13332
13780
  switch (initialDirection) {
13333
13781
  case "right":
@@ -13380,12 +13828,12 @@
13380
13828
  return props.$direction === "right" && styled.css(["&.c-slide-enter{position:absolute;transform:translateX(-100%);}&.c-slide-enter-active{transform:translateX(0%);transition:all 200ms ease;}&.c-slide-exit{position:absolute;}&.c-slide-exit-active{transform:translateX(100%);transition:all 200ms ease;}"]);
13381
13829
  });
13382
13830
 
13383
- var _excluded$v = ["children", "direction"];
13831
+ var _excluded$u = ["children", "direction"];
13384
13832
  var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
13385
13833
  var children = _ref.children,
13386
13834
  _ref$direction = _ref.direction,
13387
13835
  direction = _ref$direction === void 0 ? "left" : _ref$direction,
13388
- props = _objectWithoutProperties(_ref, _excluded$v);
13836
+ props = _objectWithoutProperties(_ref, _excluded$u);
13389
13837
  return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
13390
13838
  timeout: 200,
13391
13839
  classNames: "c-slide",
@@ -13428,7 +13876,7 @@
13428
13876
  };
13429
13877
  ResizeTransition.displayName = "ResizeTransition";
13430
13878
 
13431
- var _excluded$u = ["in", "children", "style", "timeout"];
13879
+ var _excluded$t = ["in", "children", "style", "timeout"];
13432
13880
  var defaultStyle = function defaultStyle(duration) {
13433
13881
  return {
13434
13882
  transition: "all ".concat(duration, "ms ease-in"),
@@ -13462,7 +13910,7 @@
13462
13910
  style = _ref.style,
13463
13911
  _ref$timeout = _ref.timeout,
13464
13912
  timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
13465
- rest = _objectWithoutProperties(_ref, _excluded$u);
13913
+ rest = _objectWithoutProperties(_ref, _excluded$t);
13466
13914
  return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
13467
13915
  appear: true,
13468
13916
  in: inProp,
@@ -13512,13 +13960,13 @@
13512
13960
  };
13513
13961
  Scale.displayName = "Scale";
13514
13962
 
13515
- var _excluded$t = ["className", "children"];
13963
+ var _excluded$s = ["className", "children"];
13516
13964
  // import { useDialogContext } from "./DialogContext";
13517
13965
 
13518
13966
  var DialogActions = function DialogActions(_ref) {
13519
13967
  var className = _ref.className,
13520
13968
  children = _ref.children,
13521
- rest = _objectWithoutProperties(_ref, _excluded$t);
13969
+ rest = _objectWithoutProperties(_ref, _excluded$s);
13522
13970
  // useDialogContext();
13523
13971
 
13524
13972
  return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
@@ -13527,13 +13975,13 @@
13527
13975
  };
13528
13976
  DialogActions.displayName = "DialogActions";
13529
13977
 
13530
- var _excluded$s = ["className", "children"];
13978
+ var _excluded$r = ["className", "children"];
13531
13979
  // import { useDialogContext } from "./DialogContext";
13532
13980
 
13533
13981
  var DialogContent = function DialogContent(_ref) {
13534
13982
  var className = _ref.className,
13535
13983
  children = _ref.children,
13536
- rest = _objectWithoutProperties(_ref, _excluded$s);
13984
+ rest = _objectWithoutProperties(_ref, _excluded$r);
13537
13985
  // useDialogContext();
13538
13986
 
13539
13987
  return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
@@ -13554,7 +14002,7 @@
13554
14002
  };
13555
14003
  DialogContentDivider.displayName = "DialogContentDivider";
13556
14004
 
13557
- var _excluded$r = ["children", "className", "disableDefaultHeading"];
14005
+ var _excluded$q = ["children", "className", "disableDefaultHeading"];
13558
14006
  // import { useDialogContext } from "./DialogContext";
13559
14007
 
13560
14008
  var DialogTitle = function DialogTitle(_ref) {
@@ -13562,7 +14010,7 @@
13562
14010
  className = _ref.className,
13563
14011
  _ref$disableDefaultHe = _ref.disableDefaultHeading,
13564
14012
  disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
13565
- rest = _objectWithoutProperties(_ref, _excluded$r);
14013
+ rest = _objectWithoutProperties(_ref, _excluded$q);
13566
14014
  // useDialogContext();
13567
14015
 
13568
14016
  return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
@@ -13571,7 +14019,7 @@
13571
14019
  };
13572
14020
  DialogTitle.displayName = "DialogTitle";
13573
14021
 
13574
- var _excluded$q = ["children", "open", "onClose", "className", "enableBackgroundClick", "disableCloseOnEsc", "animate", "onClickOutside"];
14022
+ var _excluded$p = ["children", "open", "onClose", "className", "enableBackgroundClick", "disableCloseOnEsc", "animate", "onClickOutside"];
13575
14023
  var _Dialog = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13576
14024
  var children = _ref.children,
13577
14025
  _ref$open = _ref.open,
@@ -13585,7 +14033,7 @@
13585
14033
  _ref$animate = _ref.animate,
13586
14034
  animate = _ref$animate === void 0 ? "slide" : _ref$animate,
13587
14035
  onClickOutside = _ref.onClickOutside,
13588
- rest = _objectWithoutProperties(_ref, _excluded$q);
14036
+ rest = _objectWithoutProperties(_ref, _excluded$p);
13589
14037
  var animateDialog = function animateDialog() {
13590
14038
  switch (animate) {
13591
14039
  case "fade":
@@ -13834,7 +14282,7 @@
13834
14282
  });
13835
14283
  StyledPressed.displayName = "StyledPressed";
13836
14284
 
13837
- var _excluded$p = ["children", "active", "className"];
14285
+ var _excluded$o = ["children", "active", "className"];
13838
14286
  /**
13839
14287
  * Pressed wrapper for button component
13840
14288
  * @deprecated
@@ -13844,7 +14292,7 @@
13844
14292
  _ref$active = _ref.active,
13845
14293
  active = _ref$active === void 0 ? false : _ref$active,
13846
14294
  className = _ref.className,
13847
- args = _objectWithoutProperties(_ref, _excluded$p);
14295
+ args = _objectWithoutProperties(_ref, _excluded$o);
13848
14296
  return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
13849
14297
  active: active,
13850
14298
  ref: ref,
@@ -14350,7 +14798,7 @@
14350
14798
  StyledToastMessage.displayName = "StyledToastMessage";
14351
14799
  StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
14352
14800
 
14353
- var _excluded$o = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
14801
+ var _excluded$n = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
14354
14802
  var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14355
14803
  var text = _ref.text,
14356
14804
  type = _ref.type,
@@ -14361,7 +14809,7 @@
14361
14809
  dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
14362
14810
  _ref$timeout = _ref.timeout,
14363
14811
  timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
14364
- rest = _objectWithoutProperties(_ref, _excluded$o);
14812
+ rest = _objectWithoutProperties(_ref, _excluded$n);
14365
14813
  var handleOnClose = React.useCallback(function () {
14366
14814
  if (typeof onClose === "function") {
14367
14815
  onClose();
@@ -14409,7 +14857,7 @@
14409
14857
  });
14410
14858
  StyledValueButton.displayName = "StyledValueButton";
14411
14859
 
14412
- var _excluded$n = ["active", "alwaysShowIcon", "icon", "label", "value"];
14860
+ var _excluded$m = ["active", "alwaysShowIcon", "icon", "label", "value"];
14413
14861
  var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14414
14862
  var _ref$active = _ref.active,
14415
14863
  active = _ref$active === void 0 ? false : _ref$active,
@@ -14418,7 +14866,7 @@
14418
14866
  icon = _ref.icon,
14419
14867
  label = _ref.label,
14420
14868
  value = _ref.value,
14421
- args = _objectWithoutProperties(_ref, _excluded$n);
14869
+ args = _objectWithoutProperties(_ref, _excluded$m);
14422
14870
  return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
14423
14871
  className: "c-value-button"
14424
14872
  }, args, {
@@ -14447,12 +14895,12 @@
14447
14895
  })(["border:none;margin:0;padding:0;width:auto;overflow:visible;cursor:pointer;background:transparent;outline:none;color:inherit;font:inherit;line-height:inherit;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;&::-moz-focus-inner{border:0;padding:0;}"]);
14448
14896
  StyledButton.displayName = "StyledButton";
14449
14897
 
14450
- var _excluded$m = ["children", "type"];
14898
+ var _excluded$l = ["children", "type"];
14451
14899
  var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14452
14900
  var children = _ref.children,
14453
14901
  _ref$type = _ref.type,
14454
14902
  type = _ref$type === void 0 ? "button" : _ref$type,
14455
- rest = _objectWithoutProperties(_ref, _excluded$m);
14903
+ rest = _objectWithoutProperties(_ref, _excluded$l);
14456
14904
  return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
14457
14905
  ref: ref,
14458
14906
  role: "button",
@@ -14498,7 +14946,7 @@
14498
14946
  });
14499
14947
  StyledCaretIcon.displayName = "StyledCaretIcon";
14500
14948
 
14501
- var _excluded$l = ["children", "type", "size", "invalid", "open", "endAdornment", "typographyProps"];
14949
+ var _excluded$k = ["children", "type", "size", "invalid", "open", "endAdornment", "typographyProps"];
14502
14950
  var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14503
14951
  var children = _ref.children,
14504
14952
  _ref$type = _ref.type,
@@ -14511,7 +14959,7 @@
14511
14959
  open = _ref$open === void 0 ? false : _ref$open,
14512
14960
  endAdornment = _ref.endAdornment,
14513
14961
  typographyProps = _ref.typographyProps,
14514
- rest = _objectWithoutProperties(_ref, _excluded$l);
14962
+ rest = _objectWithoutProperties(_ref, _excluded$k);
14515
14963
  return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
14516
14964
  ref: ref,
14517
14965
  role: "button",
@@ -14558,11 +15006,11 @@
14558
15006
  });
14559
15007
  StyledToggle.displayName = "StyledToggle";
14560
15008
 
14561
- var _excluded$k = ["hovered", "className"];
15009
+ var _excluded$j = ["hovered", "className"];
14562
15010
  var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14563
15011
  var hovered = _ref.hovered,
14564
15012
  className = _ref.className,
14565
- args = _objectWithoutProperties(_ref, _excluded$k);
15013
+ args = _objectWithoutProperties(_ref, _excluded$j);
14566
15014
  return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
14567
15015
  className: classNames__default["default"]("c-toggle", className),
14568
15016
  $isHovered: hovered,
@@ -14666,7 +15114,7 @@
14666
15114
  })(["color:var(--color-theme-700);"]);
14667
15115
  ChipCloseIcon.displayName = "ChipCloseIcon";
14668
15116
 
14669
- var _excluded$j = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
15117
+ var _excluded$i = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
14670
15118
  var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
14671
15119
  var leftAdornment = _ref.leftAdornment,
14672
15120
  label = _ref.label,
@@ -14678,7 +15126,7 @@
14678
15126
  closeClassName = _ref.closeClassName,
14679
15127
  variant = _ref.variant,
14680
15128
  typographyProps = _ref.typographyProps,
14681
- rest = _objectWithoutProperties(_ref, _excluded$j);
15129
+ rest = _objectWithoutProperties(_ref, _excluded$i);
14682
15130
  var showClose = typeof onClose === "function";
14683
15131
  var _variant = React.useMemo(function () {
14684
15132
  if (typeof variant !== "undefined") {
@@ -14754,7 +15202,7 @@
14754
15202
  return isFirst.current;
14755
15203
  };
14756
15204
 
14757
- var _excluded$i = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear"];
15205
+ var _excluded$h = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear"];
14758
15206
  var ComboBox = function ComboBox(_ref) {
14759
15207
  var _comboBoxRef$current2, _comboBoxRef$current3;
14760
15208
  var _ref$options = _ref.options,
@@ -14787,7 +15235,7 @@
14787
15235
  scrollWrapper = _ref.scrollWrapper,
14788
15236
  onClose = _ref.onClose,
14789
15237
  onClear = _ref.onClear,
14790
- prop = _objectWithoutProperties(_ref, _excluded$i);
15238
+ prop = _objectWithoutProperties(_ref, _excluded$h);
14791
15239
  var selectedName = React.useMemo(function () {
14792
15240
  var value = "";
14793
15241
  if (!selected) {
@@ -15191,11 +15639,11 @@
15191
15639
  })(["display:flex;justify-content:center;gap:12px;align-items:center;height:32px;padding:4px 16px 4px 4px;position:relative;background:none;border:none;cursor:pointer;&:before{content:\"\";display:block;height:2px;width:0%;position:absolute;left:16px;background:var(--color-primary);transition:ease 0.3s all;border-radius:30px;opacity:0;}&:hover{", "{color:var(--page-paper-main);}&:before{height:32px;width:100%;left:0;opacity:1;}", "{fill:var(--page-paper-main);transform:rotate(90deg);transition:ease 0.3s;}}"], StyledText, StyledAddCrossIcon);
15192
15640
  StyledAddToListButton.displayName = "StyledAddToListButton";
15193
15641
 
15194
- var _excluded$h = ["text", "className"];
15642
+ var _excluded$g = ["text", "className"];
15195
15643
  var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15196
15644
  var text = _ref.text,
15197
15645
  className = _ref.className,
15198
- rest = _objectWithoutProperties(_ref, _excluded$h);
15646
+ rest = _objectWithoutProperties(_ref, _excluded$g);
15199
15647
  return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
15200
15648
  ref: ref,
15201
15649
  className: classNames__default["default"]("c--add-to-list-btn", className)
@@ -15378,11 +15826,11 @@
15378
15826
  };
15379
15827
  ProgressRing.displayName = "ProgressRing";
15380
15828
 
15381
- var _excluded$g = ["radius"];
15829
+ var _excluded$f = ["radius"];
15382
15830
  var ProgressPie = function ProgressPie(_ref) {
15383
15831
  var _ref$radius = _ref.radius,
15384
15832
  radius = _ref$radius === void 0 ? 20 : _ref$radius,
15385
- rest = _objectWithoutProperties(_ref, _excluded$g);
15833
+ rest = _objectWithoutProperties(_ref, _excluded$f);
15386
15834
  return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
15387
15835
  stroke: radius,
15388
15836
  radius: radius
@@ -15597,617 +16045,209 @@
15597
16045
  d: "M7 0A7 7 0 1 1 .008 6.653 6.323 6.323 0 1 0 6.653.008C6.768.003 6.883 0 7 0Z",
15598
16046
  fill: "#FFB000"
15599
16047
  }), /*#__PURE__*/React__default["default"].createElement("path", {
15600
- d: "M7 0a6.989 6.989 0 0 1 5.58 2.774 7 7 0 0 0-9.807 9.807A7 7 0 0 1 7 0Z",
15601
- fill: "#FFEB97"
15602
- }), /*#__PURE__*/React__default["default"].createElement("circle", {
15603
- stroke: "#975F00",
15604
- strokeWidth: ".677",
15605
- cx: "7",
15606
- cy: "7",
15607
- r: "6.661"
15608
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15609
- fill: "#FFF",
15610
- d: "M2 14V7h2.968v2.258H10v2.484H7.687V14z"
15611
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15612
- fill: "#CCC",
15613
- d: "M2 12h5.113v2H2z"
15614
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15615
- d: "M4.593 7.375v2.258h5.032v1.734h-2.21v2.258h-5.04v-6.25h2.218Z",
15616
- stroke: "#5A3900",
15617
- strokeWidth: ".75"
15618
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15619
- d: "M6.206 7.71s3.326-.847 4.657.847",
15620
- stroke: "#000"
15621
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15622
- fill: "#000",
15623
- fillRule: "nonzero",
15624
- d: "M10 3h2v1h-2zM6 2h2v1H6z"
15625
- })));
15626
- });
15627
- ThinkingIcon.displayName = "ThinkingIcon";
15628
- var ThinkingIcon$1 = ThinkingIcon;
15629
-
15630
- var ThumbsUpIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
15631
- return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
15632
- width: "14",
15633
- height: "14",
15634
- xmlns: "http://www.w3.org/2000/svg",
15635
- ref: svgRef
15636
- }, props), /*#__PURE__*/React__default["default"].createElement("g", {
15637
- fill: "none",
15638
- fillRule: "evenodd"
15639
- }, /*#__PURE__*/React__default["default"].createElement("path", {
15640
- d: "M7 2.71C7 4.477 5.308 4.866 4.516 5.87c-.487.62-.677 1.806-.677 1.806v5.194C5.182 13.341 6.096 14 8.806 14c2.164-.021 2.54-.045 3.388-.903.903-.903 1.806-4.39 1.806-6.323 0-.15-.04-.322-.08-.514-.198-.934-1.401-1.129-2.404-1.129-.718 0-1.401.11-1.423.11-.214 0-.315-.299-.226-.527.266-.684.294-1.755.294-2.908C10.161 0 8.581 0 8.581 0S7 0 7 2.71Z",
15641
- fill: "#FFD60B"
15642
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15643
- d: "m4.122 12.763 1.516.785 2.565.34h1.985l1.61-.822 1.469-4.105V7.484c-.558 2.76-1.498 4.33-2.818 4.71-1.32.38-3.408.145-6.265-.702l-.062 1.271Z",
15644
- fill: "#FFB000"
15645
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15646
- d: "m4.516 6.473 1.659-1.416.967-1.495.365-2.419L8.695.341l1.088.525-.14 1.328c-.231-.748-.577-1.001-1.037-.759-.69.364.198 3.188-1.653 4.131-1.851.943-2.83 3.42-2.83 4.836V7.398l.393-.925Z",
15647
- fill: "#FFEB97"
15648
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15649
- d: "M8.57.34c.155.007.614.055.932.425.19.22.32.553.32 1.041 0 1.103-.015 2.13-.27 2.785.518.815 1.092.876 1.713.88h.251c.518 0 1.098.049 1.534.254.256.12.462.297.532.579.069 2.345-.761 5.687-1.63 6.555-.787.797-1.156.783-3.146.802-1.968 0-2.958-.358-3.878-.73a37.501 37.501 0 0 0-.75-.297v-4.93c.028-.168.2-1.11.605-1.624.241-.306.576-.548.912-.797.83-.613 1.644-1.26 1.644-2.573 0-.815.148-1.364.36-1.73.31-.539.758-.63.87-.64Z",
15650
- stroke: "#975F00",
15651
- strokeWidth: ".677"
15652
- }), /*#__PURE__*/React__default["default"].createElement("rect", {
15653
- stroke: "#975F00",
15654
- strokeWidth: ".677",
15655
- fill: "#FFF",
15656
- x: ".339",
15657
- y: "6.339",
15658
- width: "3.839",
15659
- height: "7.323",
15660
- rx: "1.129"
15661
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15662
- d: "M.677 11.516c0 .25.203.452.452.452h2.258c.25 0 .452-.202.452-.452v1.355c0 .25-.202.452-.452.452H1.13a.452.452 0 0 1-.452-.452Z",
15663
- fill: "#CCC"
15664
- })));
15665
- });
15666
- ThumbsUpIcon.displayName = "ThumbsUpIcon";
15667
- var ThumbsUpIcon$1 = ThumbsUpIcon;
15668
-
15669
- var ThumbsDownIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
15670
- return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
15671
- width: "14",
15672
- height: "14",
15673
- xmlns: "http://www.w3.org/2000/svg",
15674
- ref: svgRef
15675
- }, props), /*#__PURE__*/React__default["default"].createElement("g", {
15676
- fill: "none",
15677
- fillRule: "evenodd"
15678
- }, /*#__PURE__*/React__default["default"].createElement("path", {
15679
- d: "M7 11.29C7 9.523 8.692 9.134 9.484 8.13c.487-.62.677-1.806.677-1.806V1.129C8.818.659 7.904 0 5.194 0 3.03.021 2.654.045 1.806.903.903 1.806 0 5.293 0 7.226c0 .15.04.322.08.514.198.934 1.401 1.129 2.404 1.129.718 0 1.401-.11 1.423-.11.214 0 .315.299.226.527-.266.684-.294 1.755-.294 2.908C3.839 14 5.419 14 5.419 14S7 14 7 11.29Z",
15680
- fill: "#FFD60B"
15681
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15682
- d: "M9.878 1.237 8.362.452 5.797.112H3.812l-1.61.822L.733 5.04v1.477c.558-2.76 1.498-4.33 2.818-4.71 1.32-.38 3.408-.145 6.265.702l.062-1.271Z",
15683
- fill: "#FFB000"
15684
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15685
- d: "M9.484 7.527 7.825 8.943l-.967 1.495-.365 2.419-1.188.802-1.088-.525.14-1.328c.231.748.577 1.001 1.037.759.69-.364-.198-3.188 1.653-4.131 1.851-.943 2.83-3.42 2.83-4.836v3.004l-.393.925Z",
15686
- fill: "#FFEB97"
15687
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15688
- d: "M5.43 13.66c-.155-.007-.614-.055-.932-.425-.19-.22-.32-.553-.32-1.041 0-1.103.015-2.13.27-2.785-.518-.815-1.092-.876-1.713-.88h-.251c-.518 0-1.098-.049-1.534-.254-.256-.12-.462-.297-.532-.579-.069-2.345.761-5.687 1.63-6.555C2.834.344 3.203.358 5.193.34c2.083 0 3.072.401 4.04.795.195.079.388.157.589.232v4.93c-.029.168-.202 1.11-.606 1.624-.213.27-.499.49-.794.71-1.074.8-1.762 1.446-1.762 2.66 0 .815-.148 1.364-.36 1.73-.31.539-.758.63-.87.64Z",
15689
- stroke: "#975F00",
15690
- strokeWidth: ".677"
15691
- }), /*#__PURE__*/React__default["default"].createElement("rect", {
15692
- stroke: "#975F00",
15693
- strokeWidth: ".677",
15694
- fill: "#FFF",
15695
- transform: "rotate(180 11.742 4)",
15696
- x: "9.823",
15697
- y: ".339",
15698
- width: "3.839",
15699
- height: "7.323",
15700
- rx: "1.129"
15701
- }), /*#__PURE__*/React__default["default"].createElement("path", {
15702
- d: "M13.323 2.484a.452.452 0 0 0-.452-.452h-2.258a.452.452 0 0 0-.452.452V1.129c0-.25.202-.452.452-.452h2.258c.25 0 .452.203.452.452Z",
15703
- fill: "#CCC"
15704
- })));
15705
- });
15706
- ThumbsDownIcon.displayName = "ThumbsDownIcon";
15707
- var ThumbsDownIcon$1 = ThumbsDownIcon;
15708
-
15709
- var _excluded$f = ["invalid", "required", "size", "children", "className", "weight", "htmlFor"];
15710
- var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15711
- var _ref$invalid = _ref.invalid,
15712
- invalid = _ref$invalid === void 0 ? false : _ref$invalid,
15713
- _ref$required = _ref.required,
15714
- required = _ref$required === void 0 ? false : _ref$required,
15715
- _ref$size = _ref.size,
15716
- size = _ref$size === void 0 ? "regular" : _ref$size,
15717
- children = _ref.children,
15718
- className = _ref.className,
15719
- _ref$weight = _ref.weight,
15720
- weight = _ref$weight === void 0 ? "bold" : _ref$weight,
15721
- htmlFor = _ref.htmlFor,
15722
- props = _objectWithoutProperties(_ref, _excluded$f);
15723
- var color = invalid ? "alert" : "primary";
15724
- var variant = size === "regular" ? "Body 2" : "Caption 1";
15725
- return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
15726
- as: "label",
15727
- className: classNames__default["default"]("c-label", className),
15728
- variant: variant,
15729
- color: color,
15730
- weight: weight,
15731
- ref: ref,
15732
- htmlFor: htmlFor
15733
- }, props), children, required ? "*" : null);
15734
- });
15735
- Label.displayName = "Label";
15736
-
15737
- var GlobalStyle = styled.createGlobalStyle([":root{--color-primary:#5d2bff;--color-secondary:#5d2bff;--color-theme-100:#ffffff;--color-theme-200:#f6f6f9;--color-theme-300:#ebebee;--color-theme-400:#d7d7da;--color-theme-500:#b9b9bd;--color-theme-600:#89898e;--color-theme-700:#6d6d73;--color-theme-800:#5b5b61;--color-theme-900:#303037;--color-primary-200:rgba(93,43,255,0.05);--color-primary-300:rgba(93,43,255,0.1);--color-primary-400:rgba(93,43,255,0.25);--color-primary-500:rgba(93,43,255,0.5);--color-primary-600:rgba(93,43,255,0.75);--color-primary-700:#5d2bff;--color-primary-800:#4a21cd;--color-primary-900:#32178b;--color-secondary-200:rgba(93,43,255,0.05);--color-secondary-300:rgba(93,43,255,0.1);--color-secondary-400:rgba(93,43,255,0.25);--color-secondary-500:rgba(93,43,255,0.5);--color-secondary-600:rgba(93,43,255,0.75);--color-secondary-700:#5d2bff;--color-secondary-800:#4a21cd;--color-secondary-900:#32178b;--color-theme-transparent-200:rgba(36,36,76,0.04);--color-theme-transparent-300:rgba(48,48,55,0.1);--color-theme-transparent-400:rgba(48,48,55,0.2);--color-theme-transparent-500:rgba(48,48,55,0.34);--color-theme-transparent-600:rgba(48,48,55,0.57);--color-theme-transparent-700:rgba(48,48,55,0.7);--color-theme-transparent-800:rgba(48,48,55,0.8);--color-primary-opaque-300:#efeaff;--color-primary-opaque-400:#d6caff;--color-secondary-opaque-300:#efeaff;--color-secondary-opaque-400:#d6caff;--color-sucess-green:#64cd93;--color-pale-green:#c3e799;--body-bg-main:rgb(244,245,247);--body-bg-main-transparent:rgba(244,245,247,0);--page-paper-main:#ffffff;--border-primary:#d7d7da;--note-bg:#fff9f1;--shadow-primary-hover:0 64px 64px 0 rgba(0,0,0,0.1),0 32px 32px 0 rgba(0,0,0,0.06),0 16px 16px 0 rgba(0,0,0,0.04),0 4px 4px 0 rgba(0,0,0,0.04),0 2px 2px 0 rgba(0,0,0,0.04);--shadow-primary:0 64px 64px 0 rgba(0,0,0,0.06),0 32px 32px 0 rgba(0,0,0,0.03),0 16px 16px 0 rgba(0,0,0,0.02),0 4px 4px 0 rgba(0,0,0,0.02),0 2px 2px 0 rgba(0,0,0,0.02);--shadow-secondary:0 4px 14px 0 rgba(0,0,0,0.17);--shadow-tertiary:0 4px 6px -2px rgba(0,0,0,0.05),0 10px 15px -3px rgba(0,0,0,0.1);--shadow-tertiary-hover:0 4px 10px -2px rgba(0,0,0,0.1),0 12px 20px -3px rgba(0,0,0,0.2);--page-paper-main-shadow:rgba( 255,255,255,0 );--modal-background:rgba(244,245,247,0.6);--highlight-dark:rgba(0,0,0,0.03);--input-background-color:#ffffff;--red-alert:rgb(237,97,97);-- --warning:#ffcc6b;--only-white:#ffffff;--only-black:#000000;--ac-br-4:4px;--ac-br-6:6px;--ac-br-8:8px;--ac-br-rounded:999px;}.cupcake{--color-primary:#29bcdd;--color-secondary:#fe6fa7;--color-primary-200:rgba(41,188,221,0.07);--color-primary-300:rgba(41,188,221,0.12);--color-primary-400:rgba(41,188,221,0.26);--color-primary-500:rgba(41,188,221,0.52);--color-primary-600:rgba(41,188,221,0.75);--color-primary-700:#29bcdd;--color-primary-800:#219fbb;--color-primary-900:#1a768b;--color-secondary-200:rgba(254,111,167,0.07);--color-secondary-300:rgba(254,111,167,0.13);--color-secondary-400:rgba(254,111,167,0.27);--color-secondary-500:rgba(254,111,167,0.52);--color-secondary-600:rgba(254,111,167,0.75);--color-secondary-700:#fe6fa7;--color-secondary-800:#dd6091;--color-secondary-900:#ab496f;--color-primary-opaque-300:#e5f7fb;--color-primary-opaque-400:#c8eef6;--color-secondary-opaque-300:#ffecf4;--color-secondary-opaque-400:#ffd8e7;}.classic{--color-primary:#4182f2;--color-secondary:#4182f2;--color-primary-200:rgba(65,130,242,0.07);--color-primary-300:rgba(65,130,242,0.13);--color-primary-400:rgba(65,130,242,0.26);--color-primary-500:rgba(65,130,242,0.52);--color-primary-600:rgba(65,130,242,0.75);--color-primary-700:#4182f2;--color-primary-800:#356bc8;--color-primary-900:#244a8a;--color-secondary-200:rgba(65,130,242,0.07);--color-secondary-300:rgba(65,130,242,0.13);--color-secondary-400:rgba(65,130,242,0.26);--color-secondary-500:rgba(65,130,242,0.52);--color-secondary-600:rgba(65,130,242,0.75);--color-secondary-700:#4182f2;--color-secondary-800:#356bc8;--color-secondary-900:#244a8a;--color-primary-opaque-300:#e6effd;--color-primary-opaque-400:#cedffc;--color-secondary-opaque-300:#e6effd;--color-secondary-opaque-400:#cedffc;}.neon{--color-primary:#67ffc8;--color-secondary:#67ffc8;--color-theme-100:#000000;--color-theme-200:#31333e;--color-theme-300:#2b2d37;--color-theme-400:#1f2024;--color-theme-500:#6D6D73;--color-theme-600:#89898e;--color-theme-700:#b0b0b5;--color-theme-800:#dfdfe5;--color-theme-900:#ffffff;--color-primary-200:rgba(103,255,200,0.05);--color-primary-300:rgba(103,255,200,0.1);--color-primary-400:rgba(103,255,200,0.25);--color-primary-500:rgba(103,255,200,0.5);--color-primary-600:rgba(103,255,200,0.75);--color-primary-700:#67ffc8;--color-primary-800:#a5ffdf;--color-primary-900:#d0fdec;--color-secondary-200:rgba(103,255,200,0.05);--color-secondary-300:rgba(103,255,200,0.1);--color-secondary-400:rgba(103,255,200,0.25);--color-secondary-500:rgba(103,255,200,0.5);--color-secondary-600:rgba(103,255,200,0.75);--color-secondary-700:#67ffc8;--color-secondary-800:#a5ffdf;--color-secondary-900:#d0fdec;--color-theme-transparent-200:rgba(6,7,8,0.12);--color-theme-transparent-300:rgba(6,7,8,0.22);--color-theme-transparent-400:rgba(6,7,8,0.5);--color-theme-transparent-500:rgba(255,255,255,0.27);--color-theme-transparent-600:rgba(255,255,255,0.4);--color-theme-transparent-700:rgba(255,255,255,0.6);--color-theme-transparent-800:rgba(255,255,255,0.85);--color-primary-opaque-300:#3b4e51;--color-primary-opaque-400:#436b64;--color-secondary-opaque-300:#3b4e51;--color-secondary-opaque-400:#436b64;--body-bg-main:rgb(44,46,56);--body-bg-main-transparent:rgba(44,46,56,0);--page-paper-main:#373a44;--border-primary:#1f2024;--note-bg:#464545;--shadow-primary-hover:0 64px 64px 0 rgba(0,0,0,0.2),0 32px 32px 0 rgba(0,0,0,0.2),0 16px 16px 0 rgba(0,0,0,0.2),0 4px 4px 0 rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.2);--shadow-primary:0 64px 64px 0 rgba(0,0,0,0.1),0 32px 32px 0 rgba(0,0,0,0.1),0 16px 16px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);--shadow-secondary:0 4px 14px 0 rgba(0,0,0,0.3);--shadow-tertiary:0 4px 6px -2px rgba(0,0,0,0.1),0 10px 15px -3px rgba(0,0,0,0.15);--shadow-tertiary-hover:0 4px 12px -2px rgba(0,0,0,0.4),0 10px 30px -3px rgba(0,0,0,0.5);--page-paper-main-shadow:rgba( 55,58,68,0 );--modal-background:rgba(44,46,56,0.7);--highlight-dark:rgba(0,0,0,0.06);--input-background-color:#2c2e38;--only-white:#ffffff;--only-black:#000000;}html{color-scheme:light;}html{&.neon{color-scheme:dark;}}.ac-shadow,.ac-shadow--raised{&--lg{box-shadow:var(--shadow-primary);}&--sm{box-shadow:var(--shadow-tertiary);}}.ac-shadow--raised{&--lg{transition:box-shadow 0.3s;&:hover{box-shadow:var(--shadow-primary-hover);}}&--sm{transition:box-shadow 0.3s;&:hover{box-shadow:var(--shadow-tertiary-hover);}}}.ac-shadow-optimized--sm{position:relative;box-shadow:var(--shadow-tertiary);&::before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:var(--shadow-tertiary);opacity:0;border-radius:var(--ac-br-6);transition:opacity 0.3s ease;z-index:-1;}@media (hover:hover){&:hover::before{opacity:1;}}}.ac-shadow-optimized--lg{position:relative;box-shadow:var(--shadow-primary);&::before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:var(--shadow-primary);opacity:0;border-radius:var(--ac-br-8);transition:opacity 0.3s ease;z-index:-1;}@media (hover:hover){&:hover::before{opacity:1;}}}.ac-border-radius{&-4{border-radius:var(--ac-br-4);}&-6{border-radius:var(--ac-br-6);}&-8{border-radius:var(--ac-br-8);}&-rounded{border-radius:var(--ac-br-rounded);}}.c-cooltip{position:relative;--cooltip-spacing:0.5rem;--cooltip-padding:0.25rem 0.625rem;--cooltip-max-width:12.5rem;--cooltip-transition-duration:0.15s,0.1s,0.15s;--cooltip-transition-delay:0.6s;--cooltip-timing:ease,ease,cubic-bezier(0.39,0.575,0.565,1);}.c-cooltip::after{pointer-events:none;content:attr(data-tooltip);position:absolute;color:#fff;opacity:0;background-color:rgba(0,0,0,0.9);border-radius:0.5rem;font-size:0.75rem;font-weight:500;line-height:1.3;max-width:var(--cooltip-max-width);padding:var(--cooltip-padding);text-align:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.c-cooltip--top::after{bottom:calc(100% + var(--cooltip-spacing));left:50%;transform:scale(0.85) translateX(-50%);transform-origin:0;}.c-cooltip--right::after{left:calc(100% + var(--cooltip-spacing));transform:scale(0.85);}.c-cooltip--bottom::after{top:calc(100% + var(--cooltip-spacing));left:50%;transform:scale(0.85) translateX(-50%);transform-origin:0;}.c-cooltip--left::after{right:calc(100% + var(--cooltip-spacing));transform:scale(0.85);}.c-cooltip:disabled::after,[aria-pressed=\"true\"]::after{display:none;}@media (hover:hover){.c-cooltip--top:not(:focus):hover::after,.c-cooltip--bottom:not(:focus):hover::after{transition-property:opacity,transform;transition-duration:var(--cooltip-transition-duration);transition-delay:var(--cooltip-transition-delay);transition-timing-function:var(--cooltip-timing);transform:scale(1) translateX(-50%);opacity:1;}.c-cooltip--right:not(:focus):hover::after,.c-cooltip--left:not(:focus):hover::after{transition-property:opacity,transform;transition-duration:var(--cooltip-transition-duration);transition-delay:var(--cooltip-transition-delay);transition-timing-function:var(--cooltip-timing);transform:scale(1);opacity:1;}}"]);
15738
-
15739
- var StyledDiv = styled__default["default"].div.withConfig({
15740
- displayName: "Styles__StyledDiv",
15741
- componentId: "sc-1wapx2a-0"
15742
- })(["", " ", " ", ""], FontStyle, BoxSizingStyle, {
15743
- "position": "relative",
15744
- "display": "inline-block",
15745
- "maxWidth": "100%"
15746
- });
15747
- var StyledSpan = styled__default["default"](Typography).withConfig({
15748
- displayName: "Styles__StyledSpan",
15749
- componentId: "sc-1wapx2a-1"
15750
- })(["visibility:hidden;display:block;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;position:relative;border:1px solid transparent;border-radius:6px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:pre;font-variant-numeric:tabular-nums;", " &:empty:before{content:\" \";}"], function (_ref) {
15751
- var $disabled = _ref.$disabled;
15752
- return $disabled && styled.css(["visibility:visible;"]);
15753
- });
15754
- StyledSpan.displayName = "StyledSpan";
15755
- var StyledInput$1 = styled__default["default"](Typography).withConfig({
15756
- displayName: "Styles__StyledInput",
15757
- componentId: "sc-1wapx2a-2"
15758
- })(["", " background-color:inherit;padding-left:4px;padding-right:4px;padding-top:1px;padding-bottom:1px;text-overflow:ellipsis;font-variant-numeric:tabular-nums;&:focus-whitin{text-overflow:clip;}outline-width:0px;outline:none;&:disabled{display:none;}"], {
15759
- "position": "absolute",
15760
- "inset": "0px",
15761
- "boxSizing": "border-box",
15762
- "width": "100%",
15763
- "overflow": "hidden",
15764
- "whiteSpace": "nowrap",
15765
- "borderRadius": "0.375rem",
15766
- "borderWidth": "1px",
15767
- "borderStyle": "solid",
15768
- "borderColor": "transparent",
15769
- ":focus-within": {
15770
- "overflow": "scroll",
15771
- "borderColor": "var(--color-theme-700)"
15772
- },
15773
- ":hover": {
15774
- "borderColor": "var(--color-theme-700)"
15775
- }
15776
- });
15777
- StyledInput$1.displayName = "StyledInput";
15778
-
15779
- var _excluded$e = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
15780
- var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15781
- var className = _ref.className,
15782
- _ref$variant = _ref.variant,
15783
- variant = _ref$variant === void 0 ? "Body 2" : _ref$variant,
15784
- weight = _ref.weight,
15785
- _ref$disabled = _ref.disabled,
15786
- disabled = _ref$disabled === void 0 ? false : _ref$disabled,
15787
- inputProps = _ref.inputProps,
15788
- wrapRef = _ref.wrapRef,
15789
- props = _objectWithoutProperties(_ref, _excluded$e);
15790
- var intInputRef = React.useRef(null);
15791
- var handleRef = useForkRef(ref, intInputRef);
15792
- var handleBlur = React.useCallback(function (evt) {
15793
- if (intInputRef !== null && intInputRef !== void 0 && intInputRef.current) {
15794
- intInputRef.current.scrollLeft = 0;
15795
- }
15796
- typeof (inputProps === null || inputProps === void 0 ? void 0 : inputProps.onBlur) === "function" && (inputProps === null || inputProps === void 0 ? void 0 : inputProps.onBlur(evt));
15797
- }, [inputProps]);
15798
- return /*#__PURE__*/React__default["default"].createElement(StyledDiv, _extends({
15799
- className: className,
15800
- ref: wrapRef
15801
- }, props), /*#__PURE__*/React__default["default"].createElement(StyledSpan, {
15802
- variant: variant,
15803
- forwardedAs: "span",
15804
- weight: weight,
15805
- $disabled: disabled
15806
- }, inputProps === null || inputProps === void 0 ? void 0 : inputProps.value), /*#__PURE__*/React__default["default"].createElement(StyledInput$1, _extends({}, inputProps, {
15807
- ref: handleRef,
15808
- forwardedAs: "input",
15809
- variant: variant,
15810
- weight: weight,
15811
- value: inputProps === null || inputProps === void 0 ? void 0 : inputProps.value,
15812
- onBlur: handleBlur,
15813
- disabled: disabled,
15814
- "data-form-type": "other"
16048
+ d: "M7 0a6.989 6.989 0 0 1 5.58 2.774 7 7 0 0 0-9.807 9.807A7 7 0 0 1 7 0Z",
16049
+ fill: "#FFEB97"
16050
+ }), /*#__PURE__*/React__default["default"].createElement("circle", {
16051
+ stroke: "#975F00",
16052
+ strokeWidth: ".677",
16053
+ cx: "7",
16054
+ cy: "7",
16055
+ r: "6.661"
16056
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16057
+ fill: "#FFF",
16058
+ d: "M2 14V7h2.968v2.258H10v2.484H7.687V14z"
16059
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16060
+ fill: "#CCC",
16061
+ d: "M2 12h5.113v2H2z"
16062
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16063
+ d: "M4.593 7.375v2.258h5.032v1.734h-2.21v2.258h-5.04v-6.25h2.218Z",
16064
+ stroke: "#5A3900",
16065
+ strokeWidth: ".75"
16066
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16067
+ d: "M6.206 7.71s3.326-.847 4.657.847",
16068
+ stroke: "#000"
16069
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16070
+ fill: "#000",
16071
+ fillRule: "nonzero",
16072
+ d: "M10 3h2v1h-2zM6 2h2v1H6z"
15815
16073
  })));
15816
16074
  });
15817
- EditableContent.displayName = "EditableContent";
16075
+ ThinkingIcon.displayName = "ThinkingIcon";
16076
+ var ThinkingIcon$1 = ThinkingIcon;
15818
16077
 
15819
- var _excluded$d = ["onSave", "onCancel", "value", "inputProps", "allowEmptyString"];
15820
- var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15821
- var onSave = _ref.onSave,
15822
- onCancel = _ref.onCancel,
15823
- value = _ref.value,
15824
- inputProps = _ref.inputProps,
15825
- allowEmptyString = _ref.allowEmptyString,
15826
- props = _objectWithoutProperties(_ref, _excluded$d);
15827
- var _useState = React.useState(value),
15828
- _useState2 = _slicedToArray(_useState, 2),
15829
- currentValue = _useState2[0],
15830
- setCurrentValue = _useState2[1];
15831
- var _useState3 = React.useState(value),
15832
- _useState4 = _slicedToArray(_useState3, 2),
15833
- prevValue = _useState4[0],
15834
- setPrevValue = _useState4[1];
15835
- var escapeRef = React.useRef(false);
15836
- React.useEffect(function () {
15837
- if (currentValue !== value) {
15838
- setCurrentValue(value);
15839
- setPrevValue(value);
15840
- }
15841
- // eslint-disable-next-line react-hooks/exhaustive-deps
15842
- }, [value]);
15843
- var handleBlur = React.useCallback(function (e) {
15844
- if (escapeRef.current) {
15845
- setCurrentValue(prevValue);
15846
- escapeRef.current = false;
15847
- } else {
15848
- if (e.target.value.trim().length > 0 && prevValue !== e.target.value) {
15849
- setPrevValue(e.target.value);
15850
- setCurrentValue(e.target.value);
15851
- typeof onSave === "function" && onSave(e);
15852
- } else {
15853
- !allowEmptyString ? setCurrentValue(prevValue) : typeof onSave === "function" && prevValue !== e.target.value && onSave(e);
15854
- }
15855
- }
15856
- }, [allowEmptyString, onSave, prevValue]);
15857
- var handleKeyDown = React.useCallback(function (e) {
15858
- if (e.key === "Enter") {
15859
- e.target.blur();
15860
- }
15861
- if (e.key === "Escape") {
15862
- escapeRef.current = true;
15863
- e.target.blur();
15864
- typeof onCancel === "function" && onCancel();
15865
- }
15866
- }, [onCancel]);
15867
- var handleChange = React.useCallback(function (e) {
15868
- setCurrentValue(e.target.value);
15869
- }, []);
15870
- return /*#__PURE__*/React__default["default"].createElement(EditableContent, _extends({}, props, {
15871
- ref: ref,
15872
- inputProps: _objectSpread2(_objectSpread2({}, inputProps), {}, {
15873
- value: currentValue !== null && currentValue !== void 0 ? currentValue : "",
15874
- onBlur: handleBlur,
15875
- onKeyDown: handleKeyDown,
15876
- onChange: handleChange,
15877
- type: "text",
15878
- className: classNames__default["default"]("c-input", inputProps === null || inputProps === void 0 ? void 0 : inputProps.className)
15879
- })
15880
- }));
16078
+ var ThumbsUpIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
16079
+ return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
16080
+ width: "14",
16081
+ height: "14",
16082
+ xmlns: "http://www.w3.org/2000/svg",
16083
+ ref: svgRef
16084
+ }, props), /*#__PURE__*/React__default["default"].createElement("g", {
16085
+ fill: "none",
16086
+ fillRule: "evenodd"
16087
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
16088
+ d: "M7 2.71C7 4.477 5.308 4.866 4.516 5.87c-.487.62-.677 1.806-.677 1.806v5.194C5.182 13.341 6.096 14 8.806 14c2.164-.021 2.54-.045 3.388-.903.903-.903 1.806-4.39 1.806-6.323 0-.15-.04-.322-.08-.514-.198-.934-1.401-1.129-2.404-1.129-.718 0-1.401.11-1.423.11-.214 0-.315-.299-.226-.527.266-.684.294-1.755.294-2.908C10.161 0 8.581 0 8.581 0S7 0 7 2.71Z",
16089
+ fill: "#FFD60B"
16090
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16091
+ d: "m4.122 12.763 1.516.785 2.565.34h1.985l1.61-.822 1.469-4.105V7.484c-.558 2.76-1.498 4.33-2.818 4.71-1.32.38-3.408.145-6.265-.702l-.062 1.271Z",
16092
+ fill: "#FFB000"
16093
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16094
+ d: "m4.516 6.473 1.659-1.416.967-1.495.365-2.419L8.695.341l1.088.525-.14 1.328c-.231-.748-.577-1.001-1.037-.759-.69.364.198 3.188-1.653 4.131-1.851.943-2.83 3.42-2.83 4.836V7.398l.393-.925Z",
16095
+ fill: "#FFEB97"
16096
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16097
+ d: "M8.57.34c.155.007.614.055.932.425.19.22.32.553.32 1.041 0 1.103-.015 2.13-.27 2.785.518.815 1.092.876 1.713.88h.251c.518 0 1.098.049 1.534.254.256.12.462.297.532.579.069 2.345-.761 5.687-1.63 6.555-.787.797-1.156.783-3.146.802-1.968 0-2.958-.358-3.878-.73a37.501 37.501 0 0 0-.75-.297v-4.93c.028-.168.2-1.11.605-1.624.241-.306.576-.548.912-.797.83-.613 1.644-1.26 1.644-2.573 0-.815.148-1.364.36-1.73.31-.539.758-.63.87-.64Z",
16098
+ stroke: "#975F00",
16099
+ strokeWidth: ".677"
16100
+ }), /*#__PURE__*/React__default["default"].createElement("rect", {
16101
+ stroke: "#975F00",
16102
+ strokeWidth: ".677",
16103
+ fill: "#FFF",
16104
+ x: ".339",
16105
+ y: "6.339",
16106
+ width: "3.839",
16107
+ height: "7.323",
16108
+ rx: "1.129"
16109
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16110
+ d: "M.677 11.516c0 .25.203.452.452.452h2.258c.25 0 .452-.202.452-.452v1.355c0 .25-.202.452-.452.452H1.13a.452.452 0 0 1-.452-.452Z",
16111
+ fill: "#CCC"
16112
+ })));
15881
16113
  });
15882
- EditableText.displayName = "EditableText";
15883
-
15884
- // export const decimalToHours = (decimal: string) => {
15885
- // // we round it on two decimals first, to eliminate quirks, eg, 5.99999999 will return 5:59 instead of 6:00
15886
- // decimal = parseFloat(decimal).toFixed(2);
15887
- // decimal = decimal + "";
15888
- // let hours;
15889
- // let minutes_decimal;
15890
- //
15891
- // if (decimal.indexOf(".") < 0) {
15892
- // hours = parseInt(decimal);
15893
- // minutes_decimal = 0;
15894
- // } else {
15895
- // hours = parseInt(decimal.substring(0, decimal.indexOf(".")));
15896
- // minutes_decimal = decimal.substring(decimal.indexOf(".") + 1);
15897
- // minutes_decimal = minutes_decimal.substring(0, 2);
15898
- // if (minutes_decimal.length === 1) {
15899
- // minutes_decimal += "0";
15900
- // } // if
15901
- // minutes_decimal = parseInt(minutes_decimal);
15902
- // } // if
15903
- //
15904
- // const minutes = Math.round((minutes_decimal / 100) * 60);
15905
- //
15906
- // if (hours < 10) {
15907
- // hours = `0${hours}`;
15908
- // }
15909
- // return {
15910
- // hours: hours,
15911
- // minutes: minutes,
15912
- // };
15913
- // };
16114
+ ThumbsUpIcon.displayName = "ThumbsUpIcon";
16115
+ var ThumbsUpIcon$1 = ThumbsUpIcon;
15914
16116
 
15915
- var decimalToHours = function decimalToHours(num) {
15916
- var withLeadingZeroHours = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
15917
- if (!num) {
15918
- return "";
15919
- }
15920
- if (typeof num === "string" && !num) {
15921
- return withLeadingZeroHours ? "00:00" : "0:00";
15922
- }
15923
- if (typeof num === "string" && num.indexOf(":") >= 0) {
15924
- //eslint-disable-next-line
15925
- var _num$split = num.split(":"),
15926
- _num$split2 = _slicedToArray(_num$split, 2),
15927
- _hours = _num$split2[0],
15928
- _minutes = _num$split2[1];
15929
- if (_minutes && _minutes.length === 1 && Number(_minutes) < 10) {
15930
- _minutes = "".concat(Number(_minutes), "0");
15931
- }
15932
- if (_hours && _minutes) {
15933
- if (withLeadingZeroHours) {
15934
- return "".concat(withLeadingZero(_hours), ":").concat(_minutes);
15935
- }
15936
- return "".concat(_hours, ":").concat(_minutes);
15937
- } else if (!_hours && _minutes) {
15938
- return withLeadingZeroHours ? "00:".concat(_minutes) : "0:".concat(_minutes);
15939
- } else if (!_minutes && _hours) {
15940
- return withLeadingZeroHours ? "".concat(withLeadingZero(_hours), ":00") : "".concat(_hours, ":00");
15941
- } else {
15942
- return withLeadingZeroHours ? "00:00" : "0:00";
15943
- }
15944
- }
15945
- if (typeof num === "string" && num.indexOf(",") >= 0) {
15946
- num = num.replace(",", ".");
15947
- }
15948
- var input = typeof num === "string" ? parseFloat(num) : num;
15949
- if (!isDecimal(input)) {
15950
- if (withLeadingZeroHours) {
15951
- return "".concat(withLeadingZero(input), ":00");
15952
- }
15953
- return "".concat(input, ":00");
15954
- }
15955
- var decimal = input.toFixed(2);
15956
- var time = decimal.toString().split(".");
15957
- var hours = time[0];
15958
- if (withLeadingZeroHours) {
15959
- hours = withLeadingZero(hours);
15960
- }
15961
- var minutes = time[1];
15962
- var minutes_formatted = Math.round(parseInt(minutes, 10) / 100 * 60);
15963
- return "".concat(hours, ":").concat(withLeadingZero(minutes_formatted));
15964
- };
15965
- var withLeadingZero = function withLeadingZero(num) {
15966
- var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
15967
- var s = "".concat(num);
15968
- while (s.length < size) {
15969
- s = "0" + s;
15970
- }
15971
- return s;
15972
- };
15973
- var isDecimal = function isDecimal(num) {
15974
- return !Number.isInteger(num);
15975
- };
16117
+ var ThumbsDownIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
16118
+ return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
16119
+ width: "14",
16120
+ height: "14",
16121
+ xmlns: "http://www.w3.org/2000/svg",
16122
+ ref: svgRef
16123
+ }, props), /*#__PURE__*/React__default["default"].createElement("g", {
16124
+ fill: "none",
16125
+ fillRule: "evenodd"
16126
+ }, /*#__PURE__*/React__default["default"].createElement("path", {
16127
+ d: "M7 11.29C7 9.523 8.692 9.134 9.484 8.13c.487-.62.677-1.806.677-1.806V1.129C8.818.659 7.904 0 5.194 0 3.03.021 2.654.045 1.806.903.903 1.806 0 5.293 0 7.226c0 .15.04.322.08.514.198.934 1.401 1.129 2.404 1.129.718 0 1.401-.11 1.423-.11.214 0 .315.299.226.527-.266.684-.294 1.755-.294 2.908C3.839 14 5.419 14 5.419 14S7 14 7 11.29Z",
16128
+ fill: "#FFD60B"
16129
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16130
+ d: "M9.878 1.237 8.362.452 5.797.112H3.812l-1.61.822L.733 5.04v1.477c.558-2.76 1.498-4.33 2.818-4.71 1.32-.38 3.408-.145 6.265.702l.062-1.271Z",
16131
+ fill: "#FFB000"
16132
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16133
+ d: "M9.484 7.527 7.825 8.943l-.967 1.495-.365 2.419-1.188.802-1.088-.525.14-1.328c.231.748.577 1.001 1.037.759.69-.364-.198-3.188 1.653-4.131 1.851-.943 2.83-3.42 2.83-4.836v3.004l-.393.925Z",
16134
+ fill: "#FFEB97"
16135
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16136
+ d: "M5.43 13.66c-.155-.007-.614-.055-.932-.425-.19-.22-.32-.553-.32-1.041 0-1.103.015-2.13.27-2.785-.518-.815-1.092-.876-1.713-.88h-.251c-.518 0-1.098-.049-1.534-.254-.256-.12-.462-.297-.532-.579-.069-2.345.761-5.687 1.63-6.555C2.834.344 3.203.358 5.193.34c2.083 0 3.072.401 4.04.795.195.079.388.157.589.232v4.93c-.029.168-.202 1.11-.606 1.624-.213.27-.499.49-.794.71-1.074.8-1.762 1.446-1.762 2.66 0 .815-.148 1.364-.36 1.73-.31.539-.758.63-.87.64Z",
16137
+ stroke: "#975F00",
16138
+ strokeWidth: ".677"
16139
+ }), /*#__PURE__*/React__default["default"].createElement("rect", {
16140
+ stroke: "#975F00",
16141
+ strokeWidth: ".677",
16142
+ fill: "#FFF",
16143
+ transform: "rotate(180 11.742 4)",
16144
+ x: "9.823",
16145
+ y: ".339",
16146
+ width: "3.839",
16147
+ height: "7.323",
16148
+ rx: "1.129"
16149
+ }), /*#__PURE__*/React__default["default"].createElement("path", {
16150
+ d: "M13.323 2.484a.452.452 0 0 0-.452-.452h-2.258a.452.452 0 0 0-.452.452V1.129c0-.25.202-.452.452-.452h2.258c.25 0 .452.203.452.452Z",
16151
+ fill: "#CCC"
16152
+ })));
16153
+ });
16154
+ ThumbsDownIcon.displayName = "ThumbsDownIcon";
16155
+ var ThumbsDownIcon$1 = ThumbsDownIcon;
15976
16156
 
15977
- // eslint-disable-next-line @typescript-eslint/no-empty-interface
16157
+ var _excluded$e = ["invalid", "required", "size", "children", "className", "weight", "htmlFor"];
16158
+ var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
16159
+ var _ref$invalid = _ref.invalid,
16160
+ invalid = _ref$invalid === void 0 ? false : _ref$invalid,
16161
+ _ref$required = _ref.required,
16162
+ required = _ref$required === void 0 ? false : _ref$required,
16163
+ _ref$size = _ref.size,
16164
+ size = _ref$size === void 0 ? "regular" : _ref$size,
16165
+ children = _ref.children,
16166
+ className = _ref.className,
16167
+ _ref$weight = _ref.weight,
16168
+ weight = _ref$weight === void 0 ? "bold" : _ref$weight,
16169
+ htmlFor = _ref.htmlFor,
16170
+ props = _objectWithoutProperties(_ref, _excluded$e);
16171
+ var color = invalid ? "alert" : "primary";
16172
+ var variant = size === "regular" ? "Body 2" : "Caption 1";
16173
+ return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
16174
+ as: "label",
16175
+ className: classNames__default["default"]("c-label", className),
16176
+ variant: variant,
16177
+ color: color,
16178
+ weight: weight,
16179
+ ref: ref,
16180
+ htmlFor: htmlFor
16181
+ }, props), children, required ? "*" : null);
16182
+ });
16183
+ Label.displayName = "Label";
15978
16184
 
15979
- var HoursWrapper = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
15980
- var children = _ref.children,
15981
- value = _ref.value,
16185
+ var GlobalStyle = styled.createGlobalStyle([":root{--color-primary:#5d2bff;--color-secondary:#5d2bff;--color-theme-100:#ffffff;--color-theme-200:#f6f6f9;--color-theme-300:#ebebee;--color-theme-400:#d7d7da;--color-theme-500:#b9b9bd;--color-theme-600:#89898e;--color-theme-700:#6d6d73;--color-theme-800:#5b5b61;--color-theme-900:#303037;--color-primary-200:rgba(93,43,255,0.05);--color-primary-300:rgba(93,43,255,0.1);--color-primary-400:rgba(93,43,255,0.25);--color-primary-500:rgba(93,43,255,0.5);--color-primary-600:rgba(93,43,255,0.75);--color-primary-700:#5d2bff;--color-primary-800:#4a21cd;--color-primary-900:#32178b;--color-secondary-200:rgba(93,43,255,0.05);--color-secondary-300:rgba(93,43,255,0.1);--color-secondary-400:rgba(93,43,255,0.25);--color-secondary-500:rgba(93,43,255,0.5);--color-secondary-600:rgba(93,43,255,0.75);--color-secondary-700:#5d2bff;--color-secondary-800:#4a21cd;--color-secondary-900:#32178b;--color-theme-transparent-200:rgba(36,36,76,0.04);--color-theme-transparent-300:rgba(48,48,55,0.1);--color-theme-transparent-400:rgba(48,48,55,0.2);--color-theme-transparent-500:rgba(48,48,55,0.34);--color-theme-transparent-600:rgba(48,48,55,0.57);--color-theme-transparent-700:rgba(48,48,55,0.7);--color-theme-transparent-800:rgba(48,48,55,0.8);--color-primary-opaque-300:#efeaff;--color-primary-opaque-400:#d6caff;--color-secondary-opaque-300:#efeaff;--color-secondary-opaque-400:#d6caff;--color-sucess-green:#64cd93;--color-pale-green:#c3e799;--body-bg-main:rgb(244,245,247);--body-bg-main-transparent:rgba(244,245,247,0);--page-paper-main:#ffffff;--border-primary:#d7d7da;--note-bg:#fff9f1;--shadow-primary-hover:0 64px 64px 0 rgba(0,0,0,0.1),0 32px 32px 0 rgba(0,0,0,0.06),0 16px 16px 0 rgba(0,0,0,0.04),0 4px 4px 0 rgba(0,0,0,0.04),0 2px 2px 0 rgba(0,0,0,0.04);--shadow-primary:0 64px 64px 0 rgba(0,0,0,0.06),0 32px 32px 0 rgba(0,0,0,0.03),0 16px 16px 0 rgba(0,0,0,0.02),0 4px 4px 0 rgba(0,0,0,0.02),0 2px 2px 0 rgba(0,0,0,0.02);--shadow-secondary:0 4px 14px 0 rgba(0,0,0,0.17);--shadow-tertiary:0 4px 6px -2px rgba(0,0,0,0.05),0 10px 15px -3px rgba(0,0,0,0.1);--shadow-tertiary-hover:0 4px 10px -2px rgba(0,0,0,0.1),0 12px 20px -3px rgba(0,0,0,0.2);--page-paper-main-shadow:rgba( 255,255,255,0 );--modal-background:rgba(244,245,247,0.6);--highlight-dark:rgba(0,0,0,0.03);--input-background-color:#ffffff;--red-alert:rgb(237,97,97);-- --warning:#ffcc6b;--only-white:#ffffff;--only-black:#000000;--ac-br-4:4px;--ac-br-6:6px;--ac-br-8:8px;--ac-br-rounded:999px;}.cupcake{--color-primary:#29bcdd;--color-secondary:#fe6fa7;--color-primary-200:rgba(41,188,221,0.07);--color-primary-300:rgba(41,188,221,0.12);--color-primary-400:rgba(41,188,221,0.26);--color-primary-500:rgba(41,188,221,0.52);--color-primary-600:rgba(41,188,221,0.75);--color-primary-700:#29bcdd;--color-primary-800:#219fbb;--color-primary-900:#1a768b;--color-secondary-200:rgba(254,111,167,0.07);--color-secondary-300:rgba(254,111,167,0.13);--color-secondary-400:rgba(254,111,167,0.27);--color-secondary-500:rgba(254,111,167,0.52);--color-secondary-600:rgba(254,111,167,0.75);--color-secondary-700:#fe6fa7;--color-secondary-800:#dd6091;--color-secondary-900:#ab496f;--color-primary-opaque-300:#e5f7fb;--color-primary-opaque-400:#c8eef6;--color-secondary-opaque-300:#ffecf4;--color-secondary-opaque-400:#ffd8e7;}.classic{--color-primary:#4182f2;--color-secondary:#4182f2;--color-primary-200:rgba(65,130,242,0.07);--color-primary-300:rgba(65,130,242,0.13);--color-primary-400:rgba(65,130,242,0.26);--color-primary-500:rgba(65,130,242,0.52);--color-primary-600:rgba(65,130,242,0.75);--color-primary-700:#4182f2;--color-primary-800:#356bc8;--color-primary-900:#244a8a;--color-secondary-200:rgba(65,130,242,0.07);--color-secondary-300:rgba(65,130,242,0.13);--color-secondary-400:rgba(65,130,242,0.26);--color-secondary-500:rgba(65,130,242,0.52);--color-secondary-600:rgba(65,130,242,0.75);--color-secondary-700:#4182f2;--color-secondary-800:#356bc8;--color-secondary-900:#244a8a;--color-primary-opaque-300:#e6effd;--color-primary-opaque-400:#cedffc;--color-secondary-opaque-300:#e6effd;--color-secondary-opaque-400:#cedffc;}.neon{--color-primary:#67ffc8;--color-secondary:#67ffc8;--color-theme-100:#000000;--color-theme-200:#31333e;--color-theme-300:#2b2d37;--color-theme-400:#1f2024;--color-theme-500:#6D6D73;--color-theme-600:#89898e;--color-theme-700:#b0b0b5;--color-theme-800:#dfdfe5;--color-theme-900:#ffffff;--color-primary-200:rgba(103,255,200,0.05);--color-primary-300:rgba(103,255,200,0.1);--color-primary-400:rgba(103,255,200,0.25);--color-primary-500:rgba(103,255,200,0.5);--color-primary-600:rgba(103,255,200,0.75);--color-primary-700:#67ffc8;--color-primary-800:#a5ffdf;--color-primary-900:#d0fdec;--color-secondary-200:rgba(103,255,200,0.05);--color-secondary-300:rgba(103,255,200,0.1);--color-secondary-400:rgba(103,255,200,0.25);--color-secondary-500:rgba(103,255,200,0.5);--color-secondary-600:rgba(103,255,200,0.75);--color-secondary-700:#67ffc8;--color-secondary-800:#a5ffdf;--color-secondary-900:#d0fdec;--color-theme-transparent-200:rgba(6,7,8,0.12);--color-theme-transparent-300:rgba(6,7,8,0.22);--color-theme-transparent-400:rgba(6,7,8,0.5);--color-theme-transparent-500:rgba(255,255,255,0.27);--color-theme-transparent-600:rgba(255,255,255,0.4);--color-theme-transparent-700:rgba(255,255,255,0.6);--color-theme-transparent-800:rgba(255,255,255,0.85);--color-primary-opaque-300:#3b4e51;--color-primary-opaque-400:#436b64;--color-secondary-opaque-300:#3b4e51;--color-secondary-opaque-400:#436b64;--body-bg-main:rgb(44,46,56);--body-bg-main-transparent:rgba(44,46,56,0);--page-paper-main:#373a44;--border-primary:#1f2024;--note-bg:#464545;--shadow-primary-hover:0 64px 64px 0 rgba(0,0,0,0.2),0 32px 32px 0 rgba(0,0,0,0.2),0 16px 16px 0 rgba(0,0,0,0.2),0 4px 4px 0 rgba(0,0,0,0.2),0 2px 2px 0 rgba(0,0,0,0.2);--shadow-primary:0 64px 64px 0 rgba(0,0,0,0.1),0 32px 32px 0 rgba(0,0,0,0.1),0 16px 16px 0 rgba(0,0,0,0.1),0 4px 4px 0 rgba(0,0,0,0.1),0 2px 2px 0 rgba(0,0,0,0.1);--shadow-secondary:0 4px 14px 0 rgba(0,0,0,0.3);--shadow-tertiary:0 4px 6px -2px rgba(0,0,0,0.1),0 10px 15px -3px rgba(0,0,0,0.15);--shadow-tertiary-hover:0 4px 12px -2px rgba(0,0,0,0.4),0 10px 30px -3px rgba(0,0,0,0.5);--page-paper-main-shadow:rgba( 55,58,68,0 );--modal-background:rgba(44,46,56,0.7);--highlight-dark:rgba(0,0,0,0.06);--input-background-color:#2c2e38;--only-white:#ffffff;--only-black:#000000;}html{color-scheme:light;}html{&.neon{color-scheme:dark;}}.ac-shadow,.ac-shadow--raised{&--lg{box-shadow:var(--shadow-primary);}&--sm{box-shadow:var(--shadow-tertiary);}}.ac-shadow--raised{&--lg{transition:box-shadow 0.3s;&:hover{box-shadow:var(--shadow-primary-hover);}}&--sm{transition:box-shadow 0.3s;&:hover{box-shadow:var(--shadow-tertiary-hover);}}}.ac-shadow-optimized--sm{position:relative;box-shadow:var(--shadow-tertiary);&::before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:var(--shadow-tertiary);opacity:0;border-radius:var(--ac-br-6);transition:opacity 0.3s ease;z-index:-1;}@media (hover:hover){&:hover::before{opacity:1;}}}.ac-shadow-optimized--lg{position:relative;box-shadow:var(--shadow-primary);&::before{position:absolute;top:0;left:0;width:100%;height:100%;content:\"\";box-shadow:var(--shadow-primary);opacity:0;border-radius:var(--ac-br-8);transition:opacity 0.3s ease;z-index:-1;}@media (hover:hover){&:hover::before{opacity:1;}}}.ac-border-radius{&-4{border-radius:var(--ac-br-4);}&-6{border-radius:var(--ac-br-6);}&-8{border-radius:var(--ac-br-8);}&-rounded{border-radius:var(--ac-br-rounded);}}.c-cooltip{position:relative;--cooltip-spacing:0.5rem;--cooltip-padding:0.25rem 0.625rem;--cooltip-max-width:12.5rem;--cooltip-transition-duration:0.15s,0.1s,0.15s;--cooltip-transition-delay:0.6s;--cooltip-timing:ease,ease,cubic-bezier(0.39,0.575,0.565,1);}.c-cooltip::after{pointer-events:none;content:attr(data-tooltip);position:absolute;color:#fff;opacity:0;background-color:rgba(0,0,0,0.9);border-radius:0.5rem;font-size:0.75rem;font-weight:500;line-height:1.3;max-width:var(--cooltip-max-width);padding:var(--cooltip-padding);text-align:center;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;}.c-cooltip--top::after{bottom:calc(100% + var(--cooltip-spacing));left:50%;transform:scale(0.85) translateX(-50%);transform-origin:0;}.c-cooltip--right::after{left:calc(100% + var(--cooltip-spacing));transform:scale(0.85);}.c-cooltip--bottom::after{top:calc(100% + var(--cooltip-spacing));left:50%;transform:scale(0.85) translateX(-50%);transform-origin:0;}.c-cooltip--left::after{right:calc(100% + var(--cooltip-spacing));transform:scale(0.85);}.c-cooltip:disabled::after,[aria-pressed=\"true\"]::after{display:none;}@media (hover:hover){.c-cooltip--top:not(:focus):hover::after,.c-cooltip--bottom:not(:focus):hover::after{transition-property:opacity,transform;transition-duration:var(--cooltip-transition-duration);transition-delay:var(--cooltip-transition-delay);transition-timing-function:var(--cooltip-timing);transform:scale(1) translateX(-50%);opacity:1;}.c-cooltip--right:not(:focus):hover::after,.c-cooltip--left:not(:focus):hover::after{transition-property:opacity,transform;transition-duration:var(--cooltip-transition-duration);transition-delay:var(--cooltip-transition-delay);transition-timing-function:var(--cooltip-timing);transform:scale(1);opacity:1;}}"]);
16186
+
16187
+ var _excluded$d = ["onSave", "onCancel", "value", "inputProps", "allowEmptyString"];
16188
+ var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
16189
+ var onSave = _ref.onSave,
15982
16190
  onCancel = _ref.onCancel,
15983
- onSave = _ref.onSave,
15984
- allowEmptyValue = _ref.allowEmptyValue,
15985
- _ref$withLeadingZero = _ref.withLeadingZero,
15986
- withLeadingZero = _ref$withLeadingZero === void 0 ? true : _ref$withLeadingZero,
15987
- _ref$validation = _ref.validation,
15988
- validation = _ref$validation === void 0 ? validateTimeInput : _ref$validation,
15989
- _ref$incrementOnlySel = _ref.incrementOnlySelected,
15990
- incrementOnlySelected = _ref$incrementOnlySel === void 0 ? false : _ref$incrementOnlySel,
15991
- _ref$minuteIncrement = _ref.minuteIncrement,
15992
- minuteIncrement = _ref$minuteIncrement === void 0 ? 1 : _ref$minuteIncrement;
15993
- var inputRef = React.useRef(null);
15994
- var handleRef = useForkRef(ref, inputRef);
15995
- var _useState = React.useState(function () {
15996
- return decimalToHours(value, withLeadingZero);
15997
- }),
16191
+ value = _ref.value,
16192
+ inputProps = _ref.inputProps,
16193
+ allowEmptyString = _ref.allowEmptyString,
16194
+ props = _objectWithoutProperties(_ref, _excluded$d);
16195
+ var _useState = React.useState(value),
15998
16196
  _useState2 = _slicedToArray(_useState, 2),
15999
16197
  currentValue = _useState2[0],
16000
16198
  setCurrentValue = _useState2[1];
16001
- var _useState3 = React.useState(function () {
16002
- return decimalToHours(value, withLeadingZero);
16003
- }),
16199
+ var _useState3 = React.useState(value),
16004
16200
  _useState4 = _slicedToArray(_useState3, 2),
16005
16201
  prevValue = _useState4[0],
16006
16202
  setPrevValue = _useState4[1];
16007
16203
  var escapeRef = React.useRef(false);
16008
16204
  React.useEffect(function () {
16009
- var _value;
16010
- if (value !== undefined) {
16011
- _value = decimalToHours(value, withLeadingZero);
16012
- }
16013
- if (currentValue !== _value) {
16014
- setCurrentValue(_value);
16015
- setPrevValue(_value);
16205
+ if (currentValue !== value) {
16206
+ setCurrentValue(value);
16207
+ setPrevValue(value);
16016
16208
  }
16017
16209
  // eslint-disable-next-line react-hooks/exhaustive-deps
16018
16210
  }, [value]);
16019
16211
  var handleBlur = React.useCallback(function (e) {
16020
16212
  if (escapeRef.current) {
16021
16213
  setCurrentValue(prevValue);
16214
+ escapeRef.current = false;
16022
16215
  } else {
16023
16216
  if (e.target.value.trim().length > 0 && prevValue !== e.target.value) {
16024
- var _value = decimalToHours(e.target.value, withLeadingZero);
16025
- setPrevValue(_value);
16026
- setCurrentValue(_value);
16217
+ setPrevValue(e.target.value);
16218
+ setCurrentValue(e.target.value);
16027
16219
  typeof onSave === "function" && onSave(e);
16028
16220
  } else {
16029
- !allowEmptyValue ? setCurrentValue(prevValue) : typeof onSave === "function" && prevValue !== e.target.value && onSave(e);
16030
- }
16031
- }
16032
- }, [allowEmptyValue, onSave, prevValue, withLeadingZero]);
16033
- var handleIncrementDecrement = React.useCallback(function (increment) {
16034
- if (inputRef.current) {
16035
- var selectionStart = inputRef.current.selectionStart;
16036
- if (selectionStart !== null) {
16037
- var dotsIndex = currentValue.indexOf(":");
16038
- var _currentValue$split$m = currentValue.split(":").map(Number),
16039
- _currentValue$split$m2 = _slicedToArray(_currentValue$split$m, 2),
16040
- hours = _currentValue$split$m2[0],
16041
- minutes = _currentValue$split$m2[1];
16042
- var newHours = hours;
16043
- var newMinutes = minutes;
16044
- if (selectionStart < dotsIndex) {
16045
- if (increment) {
16046
- newHours += 1;
16047
- } else {
16048
- newHours -= 1;
16049
- if (newHours < 0) newHours = 0;
16050
- }
16051
- } else if (selectionStart > dotsIndex) {
16052
- if (increment) {
16053
- newMinutes += minuteIncrement;
16054
- if (newMinutes > 59) {
16055
- newMinutes = 0;
16056
- if (!incrementOnlySelected) newHours += 1;
16057
- }
16058
- } else {
16059
- if (newMinutes >= minuteIncrement || newMinutes === 0) {
16060
- newMinutes -= minuteIncrement;
16061
- if (newMinutes < 0 && newHours > 0) {
16062
- newMinutes = 60 - minuteIncrement;
16063
- if (!incrementOnlySelected) newHours -= 1;
16064
- }
16065
- if (newHours < 0) {
16066
- newHours = 0;
16067
- }
16068
- } else {
16069
- newMinutes = 0;
16070
- }
16071
- }
16072
- }
16073
- var newMinutesString = newMinutes < 10 ? "0".concat(newMinutes) : newMinutes;
16074
- var newHoursString = withLeadingZero && newHours < 10 ? "0".concat(newHours) : newHours;
16075
- var newValue = "".concat(newHoursString, ":").concat(newMinutesString);
16076
- if (validation(newValue, withLeadingZero)) {
16077
- setCurrentValue(newValue);
16078
- requestAnimationFrame(function () {
16079
- var _inputRef$current;
16080
- var newDotsIndex = newValue.indexOf(":");
16081
- var isHoursSelected = selectionStart < newDotsIndex;
16082
- var newSelectionStart = isHoursSelected ? 0 : newDotsIndex + 1;
16083
- var selectionEnd = isHoursSelected ? newDotsIndex : newValue.length;
16084
- (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.setSelectionRange(newSelectionStart, selectionEnd);
16085
- });
16086
- }
16221
+ !allowEmptyString ? setCurrentValue(prevValue) : typeof onSave === "function" && prevValue !== e.target.value && onSave(e);
16087
16222
  }
16088
16223
  }
16089
- }, [currentValue, incrementOnlySelected, minuteIncrement, validation, withLeadingZero]);
16224
+ }, [allowEmptyString, onSave, prevValue]);
16090
16225
  var handleKeyDown = React.useCallback(function (e) {
16091
16226
  if (e.key === "Enter") {
16092
16227
  e.target.blur();
16093
16228
  }
16094
- if (e.key === "ArrowLeft") {
16095
- return;
16096
- }
16097
- if (e.key === "ArrowRight") {
16098
- return;
16099
- }
16100
16229
  if (e.key === "Escape") {
16101
16230
  escapeRef.current = true;
16102
16231
  e.target.blur();
16103
16232
  typeof onCancel === "function" && onCancel();
16104
- escapeRef.current = false;
16105
- }
16106
- if (e.key === "Backspace") {
16107
- return;
16108
- }
16109
- if ((e.metaKey || e.ctrlKey) && e.key === "a") {
16110
- var _inputRef$current2;
16111
- (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.select();
16112
- return;
16113
- }
16114
- var input = e.target;
16115
- var start = input.selectionStart;
16116
- var end = input.selectionEnd;
16117
- var currentValue = input.value;
16118
- if (e.key === "Tab") {
16119
- if (start !== end) {
16120
- if (e.shiftKey) {
16121
- var newDotsIndex = currentValue.indexOf(":");
16122
- var isMinutesSelected = start > newDotsIndex;
16123
- if (isMinutesSelected) {
16124
- var _inputRef$current3;
16125
- e.preventDefault();
16126
- (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.setSelectionRange(0, newDotsIndex);
16127
- }
16128
- } else {
16129
- var _newDotsIndex = currentValue.indexOf(":");
16130
- var isHoursSelected = start < _newDotsIndex;
16131
- if (isHoursSelected) {
16132
- var _inputRef$current4;
16133
- e.preventDefault();
16134
- (_inputRef$current4 = inputRef.current) === null || _inputRef$current4 === void 0 ? void 0 : _inputRef$current4.setSelectionRange(_newDotsIndex + 1, currentValue.length);
16135
- }
16136
- }
16137
- }
16138
- return;
16139
- }
16140
- if (start !== end) {
16141
- if (e.key === "ArrowUp") {
16142
- handleIncrementDecrement(true);
16143
- return;
16144
- }
16145
- if (e.key === "ArrowDown") {
16146
- handleIncrementDecrement(false);
16147
- return;
16148
- }
16149
- var newValue = currentValue.substring(0, start) + e.key + currentValue.substring(end);
16150
- if (!validation(newValue, withLeadingZero)) {
16151
- e.preventDefault();
16152
- return;
16153
- }
16154
- } else {
16155
- var _newValue = currentValue.substring(0, start) + e.key + currentValue.substring(end);
16156
- if (!validation(_newValue, withLeadingZero)) {
16157
- e.preventDefault();
16158
- return;
16159
- }
16160
16233
  }
16161
- }, [handleIncrementDecrement, onCancel, validation, withLeadingZero]);
16234
+ }, [onCancel]);
16162
16235
  var handleChange = React.useCallback(function (e) {
16163
16236
  setCurrentValue(e.target.value);
16164
16237
  }, []);
16165
- var handleClick = function handleClick() {
16166
- var _inputRef$current5;
16167
- var selectionStart = (_inputRef$current5 = inputRef.current) === null || _inputRef$current5 === void 0 ? void 0 : _inputRef$current5.selectionStart;
16168
- if (inputRef.current && currentValue && currentValue.length > 0 && typeof selectionStart === "number") {
16169
- var dotsIndex = currentValue.indexOf(":");
16170
- if (selectionStart < dotsIndex) {
16171
- var _inputRef$current6;
16172
- (_inputRef$current6 = inputRef.current) === null || _inputRef$current6 === void 0 ? void 0 : _inputRef$current6.setSelectionRange(0, dotsIndex);
16173
- } else if (selectionStart >= dotsIndex) {
16174
- var _inputRef$current7;
16175
- (_inputRef$current7 = inputRef.current) === null || _inputRef$current7 === void 0 ? void 0 : _inputRef$current7.setSelectionRange(dotsIndex + 1, currentValue.length);
16176
- }
16177
- }
16178
- };
16179
- var handleDoubleClick = function handleDoubleClick() {
16180
- if (inputRef.current) {
16181
- var _inputRef$current8;
16182
- (_inputRef$current8 = inputRef.current) === null || _inputRef$current8 === void 0 ? void 0 : _inputRef$current8.select();
16183
- }
16184
- };
16185
- var inputProps = {
16186
- value: currentValue,
16187
- onBlur: handleBlur,
16188
- onKeyDown: handleKeyDown,
16189
- onChange: handleChange,
16190
- onClick: handleClick,
16191
- onDoubleClick: handleDoubleClick
16192
- };
16193
- if (!children) {
16194
- console.error("No children provided!");
16195
- return null;
16196
- }
16197
- return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, React__default["default"].Children.map(children, function (child) {
16198
- var el = child;
16199
- if (el && el.type === EditableContent) {
16200
- return /*#__PURE__*/React__default["default"].cloneElement(child, {
16201
- ref: handleRef,
16202
- inputProps: inputProps
16203
- });
16204
- }
16205
- return /*#__PURE__*/React__default["default"].cloneElement(child, _objectSpread2({
16206
- ref: handleRef
16207
- }, inputProps));
16238
+ return /*#__PURE__*/React__default["default"].createElement(EditableContent, _extends({}, props, {
16239
+ ref: ref,
16240
+ inputProps: _objectSpread2(_objectSpread2({}, inputProps), {}, {
16241
+ value: currentValue !== null && currentValue !== void 0 ? currentValue : "",
16242
+ onBlur: handleBlur,
16243
+ onKeyDown: handleKeyDown,
16244
+ onChange: handleChange,
16245
+ type: "text",
16246
+ className: classNames__default["default"]("c-input", inputProps === null || inputProps === void 0 ? void 0 : inputProps.className)
16247
+ })
16208
16248
  }));
16209
16249
  });
16210
- HoursWrapper.displayName = "HoursWrapper";
16250
+ EditableText.displayName = "EditableText";
16211
16251
 
16212
16252
  var _excluded$c = ["value", "onCancel", "onSave", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "inputProps"];
16213
16253
  var EditableHours = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
@@ -17868,6 +17908,7 @@
17868
17908
  exports.InfoSmallIcon = InfoSmallIcon$1;
17869
17909
  exports.Input = Input;
17870
17910
  exports.InputAdornment = InputAdornment;
17911
+ exports.InputHours = InputHours;
17871
17912
  exports.InsertLinkIcon = InsertLinkIcon$1;
17872
17913
  exports.IntegrationsIcon = IntegrationsIcon$1;
17873
17914
  exports.InvoicesIcon = InvoicesIcon$1;