@activecollab/components 2.0.187 → 2.0.189
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/cjs/components/InfoBox/index.js +17 -0
- package/dist/cjs/components/InfoBox/index.js.map +1 -0
- package/dist/cjs/components/index.js +11 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/InfoBox/index.d.ts +2 -0
- package/dist/esm/components/InfoBox/index.d.ts.map +1 -0
- package/dist/esm/components/InfoBox/index.js +2 -0
- package/dist/esm/components/InfoBox/index.js.map +1 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +283 -204
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
202
202
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
203
203
|
|
|
204
|
-
var _excluded$
|
|
204
|
+
var _excluded$1C = ["children", "active", "variant", "size", "className"];
|
|
205
205
|
/**
|
|
206
206
|
* @component Button
|
|
207
207
|
* @description
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
_ref$size = _ref.size,
|
|
232
232
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
233
233
|
className = _ref.className,
|
|
234
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
234
|
+
args = _objectWithoutProperties(_ref, _excluded$1C);
|
|
235
235
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
236
236
|
className: classNames__default["default"]("c-btn", className, {
|
|
237
237
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -305,12 +305,12 @@
|
|
|
305
305
|
AddCrossTinyIcon.displayName = "AddCrossTinyIcon";
|
|
306
306
|
var AddCrossTinyIcon$1 = AddCrossTinyIcon;
|
|
307
307
|
|
|
308
|
-
var _excluded$
|
|
308
|
+
var _excluded$1B = ["className", "disabled"];
|
|
309
309
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
310
310
|
var className = _ref.className,
|
|
311
311
|
_ref$disabled = _ref.disabled,
|
|
312
312
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
313
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
313
|
+
rest = _objectWithoutProperties(_ref, _excluded$1B);
|
|
314
314
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
315
315
|
ref: ref,
|
|
316
316
|
variant: "contained",
|
|
@@ -348,12 +348,12 @@
|
|
|
348
348
|
});
|
|
349
349
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
350
350
|
|
|
351
|
-
var _excluded$
|
|
351
|
+
var _excluded$1A = ["children", "className", "invalid"];
|
|
352
352
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
353
353
|
var children = _ref.children,
|
|
354
354
|
className = _ref.className,
|
|
355
355
|
invalid = _ref.invalid,
|
|
356
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
356
|
+
rest = _objectWithoutProperties(_ref, _excluded$1A);
|
|
357
357
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
358
358
|
ref: ref,
|
|
359
359
|
className: classNames__default["default"]("c-btn-group", className),
|
|
@@ -378,11 +378,11 @@
|
|
|
378
378
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
379
379
|
StyledListSeparator$1.displayName = "StyledListSeparator";
|
|
380
380
|
|
|
381
|
-
var _excluded$
|
|
381
|
+
var _excluded$1z = ["children", "className"];
|
|
382
382
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
383
383
|
var children = _ref.children,
|
|
384
384
|
className = _ref.className,
|
|
385
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
385
|
+
props = _objectWithoutProperties(_ref, _excluded$1z);
|
|
386
386
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
387
387
|
className: classNames__default["default"]("c-list-item", className),
|
|
388
388
|
ref: ref,
|
|
@@ -391,21 +391,21 @@
|
|
|
391
391
|
});
|
|
392
392
|
ListItem.displayName = "ListItem";
|
|
393
393
|
|
|
394
|
-
var _excluded$
|
|
394
|
+
var _excluded$1y = ["className"];
|
|
395
395
|
var ListSeparator = function ListSeparator(_ref) {
|
|
396
396
|
var className = _ref.className,
|
|
397
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
397
|
+
props = _objectWithoutProperties(_ref, _excluded$1y);
|
|
398
398
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator$1, _extends({
|
|
399
399
|
className: classNames__default["default"]("c-list-separator", className)
|
|
400
400
|
}, props));
|
|
401
401
|
};
|
|
402
402
|
ListSeparator.displayName = "ListSeparator";
|
|
403
403
|
|
|
404
|
-
var _excluded$
|
|
404
|
+
var _excluded$1x = ["children", "className"];
|
|
405
405
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
406
406
|
var children = _ref.children,
|
|
407
407
|
className = _ref.className,
|
|
408
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
408
|
+
props = _objectWithoutProperties(_ref, _excluded$1x);
|
|
409
409
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
410
410
|
className: className,
|
|
411
411
|
ref: ref,
|
|
@@ -888,7 +888,7 @@
|
|
|
888
888
|
return size === "big" && styled.css(["width:40px;"]);
|
|
889
889
|
});
|
|
890
890
|
|
|
891
|
-
var _excluded$
|
|
891
|
+
var _excluded$1w = ["children", "className", "variant", "size", "active"];
|
|
892
892
|
|
|
893
893
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
894
894
|
|
|
@@ -918,7 +918,7 @@
|
|
|
918
918
|
variant = _ref.variant,
|
|
919
919
|
size = _ref.size,
|
|
920
920
|
active = _ref.active,
|
|
921
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
921
|
+
args = _objectWithoutProperties(_ref, _excluded$1w);
|
|
922
922
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
923
923
|
className: className,
|
|
924
924
|
variant: variant,
|
|
@@ -8472,7 +8472,7 @@
|
|
|
8472
8472
|
}, FontStyle, BoxSizingStyle);
|
|
8473
8473
|
StyledBubble.displayName = "StyledBubble";
|
|
8474
8474
|
|
|
8475
|
-
var _excluded$
|
|
8475
|
+
var _excluded$1v = ["children", "className", "innerRef", "style"];
|
|
8476
8476
|
var Bubble = function Bubble(_ref) {
|
|
8477
8477
|
var children = _ref.children,
|
|
8478
8478
|
className = _ref.className,
|
|
@@ -8480,7 +8480,7 @@
|
|
|
8480
8480
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
8481
8481
|
_ref$style = _ref.style,
|
|
8482
8482
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
8483
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8483
|
+
rest = _objectWithoutProperties(_ref, _excluded$1v);
|
|
8484
8484
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
8485
8485
|
ref: innerRef,
|
|
8486
8486
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -8541,12 +8541,12 @@
|
|
|
8541
8541
|
});
|
|
8542
8542
|
StyledOverlay.displayName = "StyledOverlay";
|
|
8543
8543
|
|
|
8544
|
-
var _excluded$
|
|
8544
|
+
var _excluded$1u = ["className", "disableBackgroundColor"];
|
|
8545
8545
|
var Overlay = function Overlay(_ref) {
|
|
8546
8546
|
var className = _ref.className,
|
|
8547
8547
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
8548
8548
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
8549
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8549
|
+
rest = _objectWithoutProperties(_ref, _excluded$1u);
|
|
8550
8550
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
8551
8551
|
className: classNames__default["default"]("c-overlay", className),
|
|
8552
8552
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -8559,7 +8559,7 @@
|
|
|
8559
8559
|
componentId: "sc-1hgjasy-0"
|
|
8560
8560
|
})(["&[data-popper-reference-hidden]{display:none !important;pointer-events:none !important;}"]);
|
|
8561
8561
|
|
|
8562
|
-
var _excluded$
|
|
8562
|
+
var _excluded$1t = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
|
|
8563
8563
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8564
8564
|
var children = _ref.children,
|
|
8565
8565
|
anchorEl = _ref.anchorEl,
|
|
@@ -8573,7 +8573,7 @@
|
|
|
8573
8573
|
_ref$strategy = _ref.strategy,
|
|
8574
8574
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
8575
8575
|
afterWrite = _ref.afterWrite,
|
|
8576
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8576
|
+
rest = _objectWithoutProperties(_ref, _excluded$1t);
|
|
8577
8577
|
var _useState = React.useState(true),
|
|
8578
8578
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8579
8579
|
exited = _useState2[0],
|
|
@@ -8720,7 +8720,7 @@
|
|
|
8720
8720
|
};
|
|
8721
8721
|
var LayerContext$1 = LayerContext;
|
|
8722
8722
|
|
|
8723
|
-
var _excluded$
|
|
8723
|
+
var _excluded$1s = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
8724
8724
|
var returnFocus = {
|
|
8725
8725
|
preventScroll: true
|
|
8726
8726
|
};
|
|
@@ -8737,7 +8737,7 @@
|
|
|
8737
8737
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
8738
8738
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
8739
8739
|
onClick = _ref.onClick,
|
|
8740
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8740
|
+
rest = _objectWithoutProperties(_ref, _excluded$1s);
|
|
8741
8741
|
var innerRef = React.useRef(null);
|
|
8742
8742
|
var handleRef = useForkRef(innerRef, ref);
|
|
8743
8743
|
var _useLayerContext = useLayerContext(),
|
|
@@ -9049,7 +9049,7 @@
|
|
|
9049
9049
|
});
|
|
9050
9050
|
StyledTypography.displayName = "StyledTypography";
|
|
9051
9051
|
|
|
9052
|
-
var _excluded$
|
|
9052
|
+
var _excluded$1r = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
9053
9053
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9054
9054
|
var _ref$variant = _ref.variant,
|
|
9055
9055
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -9080,7 +9080,7 @@
|
|
|
9080
9080
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9081
9081
|
className = _ref.className,
|
|
9082
9082
|
children = _ref.children,
|
|
9083
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9083
|
+
props = _objectWithoutProperties(_ref, _excluded$1r);
|
|
9084
9084
|
var Component = as || "div";
|
|
9085
9085
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
9086
9086
|
as: Component,
|
|
@@ -9103,13 +9103,13 @@
|
|
|
9103
9103
|
});
|
|
9104
9104
|
Typography.displayName = "Typography";
|
|
9105
9105
|
|
|
9106
|
-
var _excluded$
|
|
9106
|
+
var _excluded$1q = ["title", "className", "leftElement", "rightElement"];
|
|
9107
9107
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9108
9108
|
var title = _ref.title,
|
|
9109
9109
|
className = _ref.className,
|
|
9110
9110
|
leftElement = _ref.leftElement,
|
|
9111
9111
|
rightElement = _ref.rightElement,
|
|
9112
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9112
|
+
props = _objectWithoutProperties(_ref, _excluded$1q);
|
|
9113
9113
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
9114
9114
|
className: classNames__default["default"]("c-menu-header", className),
|
|
9115
9115
|
ref: ref
|
|
@@ -9134,11 +9134,11 @@
|
|
|
9134
9134
|
});
|
|
9135
9135
|
MenuHeader.displayName = "MenuHeader";
|
|
9136
9136
|
|
|
9137
|
-
var _excluded$
|
|
9137
|
+
var _excluded$1p = ["children", "className"];
|
|
9138
9138
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9139
9139
|
var children = _ref.children,
|
|
9140
9140
|
className = _ref.className,
|
|
9141
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9141
|
+
props = _objectWithoutProperties(_ref, _excluded$1p);
|
|
9142
9142
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
9143
9143
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
9144
9144
|
ref: ref
|
|
@@ -9146,14 +9146,14 @@
|
|
|
9146
9146
|
});
|
|
9147
9147
|
MenuFooter.displayName = "MenuFooter";
|
|
9148
9148
|
|
|
9149
|
-
var _excluded$
|
|
9149
|
+
var _excluded$1o = ["children", "className", "separator"];
|
|
9150
9150
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
9151
9151
|
var _dimensions$width, _childDimensions$widt;
|
|
9152
9152
|
var children = _ref.children,
|
|
9153
9153
|
className = _ref.className,
|
|
9154
9154
|
_ref$separator = _ref.separator,
|
|
9155
9155
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
9156
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9156
|
+
rest = _objectWithoutProperties(_ref, _excluded$1o);
|
|
9157
9157
|
var internalRef = React.useRef(null);
|
|
9158
9158
|
var listWrapperRef = React.useRef(null);
|
|
9159
9159
|
var olRef = React.useRef(null);
|
|
@@ -9331,12 +9331,12 @@
|
|
|
9331
9331
|
}, value && value > 100 ? 99 + "+" : value);
|
|
9332
9332
|
};
|
|
9333
9333
|
|
|
9334
|
-
var _excluded$
|
|
9334
|
+
var _excluded$1n = ["weight", "children"];
|
|
9335
9335
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9336
9336
|
var _ref$weight = _ref.weight,
|
|
9337
9337
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9338
9338
|
children = _ref.children,
|
|
9339
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9339
|
+
props = _objectWithoutProperties(_ref, _excluded$1n);
|
|
9340
9340
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9341
9341
|
variant: "Body 2",
|
|
9342
9342
|
weight: weight,
|
|
@@ -9446,10 +9446,10 @@
|
|
|
9446
9446
|
};
|
|
9447
9447
|
FromElement.displayName = "FromElement";
|
|
9448
9448
|
|
|
9449
|
-
var _excluded$
|
|
9449
|
+
var _excluded$1m = ["children"];
|
|
9450
9450
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
9451
9451
|
var children = _ref.children,
|
|
9452
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9452
|
+
props = _objectWithoutProperties(_ref, _excluded$1m);
|
|
9453
9453
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
9454
9454
|
timeout: 0
|
|
9455
9455
|
}, props), children);
|
|
@@ -9524,7 +9524,7 @@
|
|
|
9524
9524
|
});
|
|
9525
9525
|
Tooltip.displayName = "Tooltip";
|
|
9526
9526
|
|
|
9527
|
-
var _excluded$
|
|
9527
|
+
var _excluded$1l = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "labelClassName", "disabled"];
|
|
9528
9528
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9529
9529
|
var label = _ref.label,
|
|
9530
9530
|
icon = _ref.icon,
|
|
@@ -9537,7 +9537,7 @@
|
|
|
9537
9537
|
labelClassName = _ref.labelClassName,
|
|
9538
9538
|
_ref$disabled = _ref.disabled,
|
|
9539
9539
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9540
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9540
|
+
args = _objectWithoutProperties(_ref, _excluded$1l);
|
|
9541
9541
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
9542
9542
|
ref: ref,
|
|
9543
9543
|
className: className
|
|
@@ -9917,7 +9917,7 @@
|
|
|
9917
9917
|
};
|
|
9918
9918
|
YearMonthPicker.displayName = "YearMonthPicker";
|
|
9919
9919
|
|
|
9920
|
-
var _excluded$
|
|
9920
|
+
var _excluded$1k = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers", "renderDay"];
|
|
9921
9921
|
var formatWeekdayName = function formatWeekdayName(str) {
|
|
9922
9922
|
return moment__default["default"](str).format("ddd").charAt(0);
|
|
9923
9923
|
};
|
|
@@ -9943,7 +9943,7 @@
|
|
|
9943
9943
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
9944
9944
|
defaultModifiers = _ref.modifiers,
|
|
9945
9945
|
renderDay = _ref.renderDay,
|
|
9946
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9946
|
+
rest = _objectWithoutProperties(_ref, _excluded$1k);
|
|
9947
9947
|
var _useState = React.useState(),
|
|
9948
9948
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9949
9949
|
enteredTo = _useState2[0],
|
|
@@ -10303,13 +10303,13 @@
|
|
|
10303
10303
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
10304
10304
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
10305
10305
|
|
|
10306
|
-
var _excluded$
|
|
10306
|
+
var _excluded$1j = ["className", "children"];
|
|
10307
10307
|
// import { useDialogContext } from "./DialogContext";
|
|
10308
10308
|
|
|
10309
10309
|
var DialogActions = function DialogActions(_ref) {
|
|
10310
10310
|
var className = _ref.className,
|
|
10311
10311
|
children = _ref.children,
|
|
10312
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10312
|
+
rest = _objectWithoutProperties(_ref, _excluded$1j);
|
|
10313
10313
|
// useDialogContext();
|
|
10314
10314
|
|
|
10315
10315
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -10318,13 +10318,13 @@
|
|
|
10318
10318
|
};
|
|
10319
10319
|
DialogActions.displayName = "DialogActions";
|
|
10320
10320
|
|
|
10321
|
-
var _excluded$
|
|
10321
|
+
var _excluded$1i = ["className", "children"];
|
|
10322
10322
|
// import { useDialogContext } from "./DialogContext";
|
|
10323
10323
|
|
|
10324
10324
|
var DialogContent = function DialogContent(_ref) {
|
|
10325
10325
|
var className = _ref.className,
|
|
10326
10326
|
children = _ref.children,
|
|
10327
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10327
|
+
rest = _objectWithoutProperties(_ref, _excluded$1i);
|
|
10328
10328
|
// useDialogContext();
|
|
10329
10329
|
|
|
10330
10330
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -10345,10 +10345,10 @@
|
|
|
10345
10345
|
};
|
|
10346
10346
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
10347
10347
|
|
|
10348
|
-
var _excluded$
|
|
10348
|
+
var _excluded$1h = ["children"];
|
|
10349
10349
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10350
10350
|
var children = _ref.children,
|
|
10351
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10351
|
+
props = _objectWithoutProperties(_ref, _excluded$1h);
|
|
10352
10352
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10353
10353
|
weight: "bold",
|
|
10354
10354
|
variant: "Header 3",
|
|
@@ -10357,7 +10357,7 @@
|
|
|
10357
10357
|
});
|
|
10358
10358
|
Header3.displayName = "Header3";
|
|
10359
10359
|
|
|
10360
|
-
var _excluded$
|
|
10360
|
+
var _excluded$1g = ["children", "className", "disableDefaultHeading"];
|
|
10361
10361
|
// import { useDialogContext } from "./DialogContext";
|
|
10362
10362
|
|
|
10363
10363
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -10365,7 +10365,7 @@
|
|
|
10365
10365
|
className = _ref.className,
|
|
10366
10366
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
10367
10367
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
10368
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10368
|
+
rest = _objectWithoutProperties(_ref, _excluded$1g);
|
|
10369
10369
|
// useDialogContext();
|
|
10370
10370
|
|
|
10371
10371
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -10394,7 +10394,7 @@
|
|
|
10394
10394
|
function () {});
|
|
10395
10395
|
}
|
|
10396
10396
|
|
|
10397
|
-
var _excluded$
|
|
10397
|
+
var _excluded$1f = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose", "onClickOutside"];
|
|
10398
10398
|
var getHasTransition = function getHasTransition(children) {
|
|
10399
10399
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
10400
10400
|
};
|
|
@@ -10414,7 +10414,7 @@
|
|
|
10414
10414
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
10415
10415
|
onClose = _ref.onClose,
|
|
10416
10416
|
onClickOutside = _ref.onClickOutside,
|
|
10417
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10417
|
+
rest = _objectWithoutProperties(_ref, _excluded$1f);
|
|
10418
10418
|
var _useState = React.useState(defaultOpen),
|
|
10419
10419
|
_useState2 = _slicedToArray(_useState, 2),
|
|
10420
10420
|
open = _useState2[0],
|
|
@@ -10482,7 +10482,7 @@
|
|
|
10482
10482
|
});
|
|
10483
10483
|
Modal.displayName = "Modal";
|
|
10484
10484
|
|
|
10485
|
-
var _excluded$
|
|
10485
|
+
var _excluded$1e = ["in", "children", "style", "timeout"];
|
|
10486
10486
|
var defaultStyle$2 = function defaultStyle(duration) {
|
|
10487
10487
|
return {
|
|
10488
10488
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -10510,7 +10510,7 @@
|
|
|
10510
10510
|
style = _ref.style,
|
|
10511
10511
|
_ref$timeout = _ref.timeout,
|
|
10512
10512
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
10513
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10513
|
+
rest = _objectWithoutProperties(_ref, _excluded$1e);
|
|
10514
10514
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10515
10515
|
appear: true,
|
|
10516
10516
|
in: inProp,
|
|
@@ -10525,7 +10525,7 @@
|
|
|
10525
10525
|
};
|
|
10526
10526
|
Fade.displayName = "Fade";
|
|
10527
10527
|
|
|
10528
|
-
var _excluded$
|
|
10528
|
+
var _excluded$1d = ["in", "children", "style", "timeout", "initialDirection"];
|
|
10529
10529
|
var Slide = function Slide(_ref) {
|
|
10530
10530
|
var _ref$in = _ref.in,
|
|
10531
10531
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -10535,7 +10535,7 @@
|
|
|
10535
10535
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
10536
10536
|
_ref$initialDirection = _ref.initialDirection,
|
|
10537
10537
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
10538
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10538
|
+
rest = _objectWithoutProperties(_ref, _excluded$1d);
|
|
10539
10539
|
var directionSign;
|
|
10540
10540
|
switch (initialDirection) {
|
|
10541
10541
|
case "right":
|
|
@@ -10641,12 +10641,12 @@
|
|
|
10641
10641
|
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;}"]);
|
|
10642
10642
|
});
|
|
10643
10643
|
|
|
10644
|
-
var _excluded$
|
|
10644
|
+
var _excluded$1c = ["children", "direction"];
|
|
10645
10645
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10646
10646
|
var children = _ref.children,
|
|
10647
10647
|
_ref$direction = _ref.direction,
|
|
10648
10648
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10649
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10649
|
+
props = _objectWithoutProperties(_ref, _excluded$1c);
|
|
10650
10650
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10651
10651
|
timeout: 200,
|
|
10652
10652
|
classNames: "c-slide",
|
|
@@ -10689,7 +10689,7 @@
|
|
|
10689
10689
|
};
|
|
10690
10690
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10691
10691
|
|
|
10692
|
-
var _excluded$
|
|
10692
|
+
var _excluded$1b = ["in", "children", "style", "timeout"];
|
|
10693
10693
|
var defaultStyle = function defaultStyle(duration) {
|
|
10694
10694
|
return {
|
|
10695
10695
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -10723,7 +10723,7 @@
|
|
|
10723
10723
|
style = _ref.style,
|
|
10724
10724
|
_ref$timeout = _ref.timeout,
|
|
10725
10725
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10726
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10726
|
+
rest = _objectWithoutProperties(_ref, _excluded$1b);
|
|
10727
10727
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10728
10728
|
appear: true,
|
|
10729
10729
|
in: inProp,
|
|
@@ -10773,7 +10773,7 @@
|
|
|
10773
10773
|
};
|
|
10774
10774
|
Scale.displayName = "Scale";
|
|
10775
10775
|
|
|
10776
|
-
var _excluded$
|
|
10776
|
+
var _excluded$1a = ["children", "open", "onClose", "className", "enableBackgroundClick", "disableCloseOnEsc", "animate", "onClickOutside"];
|
|
10777
10777
|
var _Dialog = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10778
10778
|
var children = _ref.children,
|
|
10779
10779
|
_ref$open = _ref.open,
|
|
@@ -10787,7 +10787,7 @@
|
|
|
10787
10787
|
_ref$animate = _ref.animate,
|
|
10788
10788
|
animate = _ref$animate === void 0 ? "slide" : _ref$animate,
|
|
10789
10789
|
onClickOutside = _ref.onClickOutside,
|
|
10790
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10790
|
+
rest = _objectWithoutProperties(_ref, _excluded$1a);
|
|
10791
10791
|
var animateDialog = function animateDialog() {
|
|
10792
10792
|
switch (animate) {
|
|
10793
10793
|
case "fade":
|
|
@@ -12447,10 +12447,10 @@
|
|
|
12447
12447
|
componentId: "sc-1n0a2yl-0"
|
|
12448
12448
|
})(["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);
|
|
12449
12449
|
|
|
12450
|
-
var _excluded$
|
|
12450
|
+
var _excluded$19 = ["className"];
|
|
12451
12451
|
var SkeletonLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12452
12452
|
var className = _ref.className,
|
|
12453
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12453
|
+
rest = _objectWithoutProperties(_ref, _excluded$19);
|
|
12454
12454
|
return /*#__PURE__*/React__default["default"].createElement(StyledSkeletonLoader, _extends({
|
|
12455
12455
|
ref: ref,
|
|
12456
12456
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -12464,10 +12464,10 @@
|
|
|
12464
12464
|
componentId: "sc-1f35d5h-0"
|
|
12465
12465
|
})(["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);
|
|
12466
12466
|
|
|
12467
|
-
var _excluded$
|
|
12467
|
+
var _excluded$18 = ["className"];
|
|
12468
12468
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12469
12469
|
var className = _ref.className,
|
|
12470
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12470
|
+
rest = _objectWithoutProperties(_ref, _excluded$18);
|
|
12471
12471
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
12472
12472
|
ref: ref,
|
|
12473
12473
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -12489,7 +12489,7 @@
|
|
|
12489
12489
|
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);
|
|
12490
12490
|
});
|
|
12491
12491
|
|
|
12492
|
-
var _excluded$
|
|
12492
|
+
var _excluded$17 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
12493
12493
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12494
12494
|
var _ref$radius = _ref.radius,
|
|
12495
12495
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -12504,7 +12504,7 @@
|
|
|
12504
12504
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
12505
12505
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
12506
12506
|
className = _ref.className,
|
|
12507
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12507
|
+
rest = _objectWithoutProperties(_ref, _excluded$17);
|
|
12508
12508
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
12509
12509
|
ref: ref,
|
|
12510
12510
|
className: className,
|
|
@@ -12543,7 +12543,7 @@
|
|
|
12543
12543
|
});
|
|
12544
12544
|
StyledLinearLoader.displayName = "StyledLinearLoader";
|
|
12545
12545
|
|
|
12546
|
-
var _excluded$
|
|
12546
|
+
var _excluded$16 = ["height", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "animationDuration"];
|
|
12547
12547
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12548
12548
|
var _ref$height = _ref.height,
|
|
12549
12549
|
height = _ref$height === void 0 ? 4 : _ref$height,
|
|
@@ -12555,7 +12555,7 @@
|
|
|
12555
12555
|
activeColorPercentage = _ref$activeColorPerce === void 0 ? "25%" : _ref$activeColorPerce,
|
|
12556
12556
|
_ref$animationDuratio = _ref.animationDuration,
|
|
12557
12557
|
animationDuration = _ref$animationDuratio === void 0 ? 0.75 : _ref$animationDuratio,
|
|
12558
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12558
|
+
rest = _objectWithoutProperties(_ref, _excluded$16);
|
|
12559
12559
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
12560
12560
|
ref: ref,
|
|
12561
12561
|
$height: height,
|
|
@@ -12567,7 +12567,7 @@
|
|
|
12567
12567
|
});
|
|
12568
12568
|
LinearLoader.displayName = "LinearLoader";
|
|
12569
12569
|
|
|
12570
|
-
var _excluded$
|
|
12570
|
+
var _excluded$15 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
12571
12571
|
var SortDirection = /*#__PURE__*/function (SortDirection) {
|
|
12572
12572
|
SortDirection["None"] = "none";
|
|
12573
12573
|
SortDirection["Asc"] = "asc";
|
|
@@ -12617,7 +12617,7 @@
|
|
|
12617
12617
|
loading = _ref.loading,
|
|
12618
12618
|
_ref$loadingRows = _ref.loadingRows,
|
|
12619
12619
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
12620
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12620
|
+
args = _objectWithoutProperties(_ref, _excluded$15);
|
|
12621
12621
|
var _useState = React.useState(sortDirection),
|
|
12622
12622
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12623
12623
|
columnDirection = _useState2[0],
|
|
@@ -12977,7 +12977,7 @@
|
|
|
12977
12977
|
});
|
|
12978
12978
|
StyledCompleteCheckbox.displayName = "StyledCompleteCheckbox";
|
|
12979
12979
|
|
|
12980
|
-
var _excluded$
|
|
12980
|
+
var _excluded$14 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
|
|
12981
12981
|
var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
12982
12982
|
var _ref$completed = _ref.completed,
|
|
12983
12983
|
completed = _ref$completed === void 0 ? false : _ref$completed,
|
|
@@ -12990,7 +12990,7 @@
|
|
|
12990
12990
|
_ref$primary = _ref.primary,
|
|
12991
12991
|
primary = _ref$primary === void 0 ? false : _ref$primary,
|
|
12992
12992
|
checkMarkClassName = _ref.checkMarkClassName,
|
|
12993
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12993
|
+
rest = _objectWithoutProperties(_ref, _excluded$14);
|
|
12994
12994
|
return /*#__PURE__*/React__default["default"].createElement(StyledCompleteCheckbox, _extends({
|
|
12995
12995
|
onClick: onClick,
|
|
12996
12996
|
className: classNames__default["default"]("c-complete-checkbox", className),
|
|
@@ -13025,7 +13025,7 @@
|
|
|
13025
13025
|
});
|
|
13026
13026
|
StyledPaper.displayName = "StyledPaper";
|
|
13027
13027
|
|
|
13028
|
-
var _excluded$
|
|
13028
|
+
var _excluded$13 = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
13029
13029
|
/**
|
|
13030
13030
|
* This is a component description and should sit directly above your component
|
|
13031
13031
|
*/
|
|
@@ -13038,7 +13038,7 @@
|
|
|
13038
13038
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
13039
13039
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
13040
13040
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
13041
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13041
|
+
rest = _objectWithoutProperties(_ref, _excluded$13);
|
|
13042
13042
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
13043
13043
|
className: classNames__default["default"](className, {
|
|
13044
13044
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -13094,7 +13094,7 @@
|
|
|
13094
13094
|
});
|
|
13095
13095
|
StyledCard.displayName = "StyledCard";
|
|
13096
13096
|
|
|
13097
|
-
var _excluded$
|
|
13097
|
+
var _excluded$12 = ["children", "className", "hoverable", "variant", "onClick"];
|
|
13098
13098
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13099
13099
|
var children = _ref.children,
|
|
13100
13100
|
className = _ref.className,
|
|
@@ -13103,7 +13103,7 @@
|
|
|
13103
13103
|
_ref$variant = _ref.variant,
|
|
13104
13104
|
variant = _ref$variant === void 0 ? "paper-2" : _ref$variant,
|
|
13105
13105
|
onClick = _ref.onClick,
|
|
13106
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13106
|
+
rest = _objectWithoutProperties(_ref, _excluded$12);
|
|
13107
13107
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
13108
13108
|
type: variant,
|
|
13109
13109
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -13184,12 +13184,12 @@
|
|
|
13184
13184
|
});
|
|
13185
13185
|
EntityCard$1.displayName = "EntityCard";
|
|
13186
13186
|
|
|
13187
|
-
var _excluded$
|
|
13187
|
+
var _excluded$11 = ["weight", "children"];
|
|
13188
13188
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13189
13189
|
var _ref$weight = _ref.weight,
|
|
13190
13190
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
13191
13191
|
children = _ref.children,
|
|
13192
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13192
|
+
props = _objectWithoutProperties(_ref, _excluded$11);
|
|
13193
13193
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13194
13194
|
weight: weight,
|
|
13195
13195
|
variant: "Title 1",
|
|
@@ -13198,12 +13198,12 @@
|
|
|
13198
13198
|
});
|
|
13199
13199
|
Title1.displayName = "Title1";
|
|
13200
13200
|
|
|
13201
|
-
var _excluded
|
|
13201
|
+
var _excluded$10 = ["weight", "children"];
|
|
13202
13202
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13203
13203
|
var _ref$weight = _ref.weight,
|
|
13204
13204
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
13205
13205
|
children = _ref.children,
|
|
13206
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
13206
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
13207
13207
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13208
13208
|
weight: weight,
|
|
13209
13209
|
variant: "Title 2",
|
|
@@ -13212,10 +13212,10 @@
|
|
|
13212
13212
|
});
|
|
13213
13213
|
Title2.displayName = "Title2";
|
|
13214
13214
|
|
|
13215
|
-
var _excluded
|
|
13215
|
+
var _excluded$$ = ["children"];
|
|
13216
13216
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13217
13217
|
var children = _ref.children,
|
|
13218
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
13218
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
13219
13219
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13220
13220
|
weight: "bold",
|
|
13221
13221
|
variant: "Header 2",
|
|
@@ -13224,12 +13224,12 @@
|
|
|
13224
13224
|
});
|
|
13225
13225
|
Header2.displayName = "Header2";
|
|
13226
13226
|
|
|
13227
|
-
var _excluded$
|
|
13227
|
+
var _excluded$_ = ["weight", "children"];
|
|
13228
13228
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13229
13229
|
var _ref$weight = _ref.weight,
|
|
13230
13230
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
13231
13231
|
children = _ref.children,
|
|
13232
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13232
|
+
props = _objectWithoutProperties(_ref, _excluded$_);
|
|
13233
13233
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13234
13234
|
variant: "Body 1",
|
|
13235
13235
|
weight: weight,
|
|
@@ -13238,12 +13238,12 @@
|
|
|
13238
13238
|
});
|
|
13239
13239
|
Body1.displayName = "Body1";
|
|
13240
13240
|
|
|
13241
|
-
var _excluded$
|
|
13241
|
+
var _excluded$Z = ["weight", "children"];
|
|
13242
13242
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13243
13243
|
var _ref$weight = _ref.weight,
|
|
13244
13244
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
13245
13245
|
children = _ref.children,
|
|
13246
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13246
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
13247
13247
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13248
13248
|
variant: "Caption 1",
|
|
13249
13249
|
weight: weight,
|
|
@@ -13252,12 +13252,12 @@
|
|
|
13252
13252
|
});
|
|
13253
13253
|
Caption1.displayName = "Caption1";
|
|
13254
13254
|
|
|
13255
|
-
var _excluded$
|
|
13255
|
+
var _excluded$Y = ["weight", "children"];
|
|
13256
13256
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13257
13257
|
var _ref$weight = _ref.weight,
|
|
13258
13258
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
13259
13259
|
children = _ref.children,
|
|
13260
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13260
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
13261
13261
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13262
13262
|
variant: "Caption 2",
|
|
13263
13263
|
weight: weight,
|
|
@@ -13469,7 +13469,7 @@
|
|
|
13469
13469
|
componentId: "sc-5x2tyd-1"
|
|
13470
13470
|
})(["border-radius:100%;object-fit:cover;"]);
|
|
13471
13471
|
|
|
13472
|
-
var _excluded$
|
|
13472
|
+
var _excluded$X = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
13473
13473
|
/**
|
|
13474
13474
|
* @component Avatar
|
|
13475
13475
|
* @description
|
|
@@ -13504,7 +13504,7 @@
|
|
|
13504
13504
|
className = _ref.className,
|
|
13505
13505
|
imgClassName = _ref.imgClassName,
|
|
13506
13506
|
children = _ref.children,
|
|
13507
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13507
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
13508
13508
|
var _useState = React.useState(false),
|
|
13509
13509
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13510
13510
|
imageLoaded = _useState2[0],
|
|
@@ -13545,13 +13545,13 @@
|
|
|
13545
13545
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
13546
13546
|
});
|
|
13547
13547
|
|
|
13548
|
-
var _excluded$
|
|
13548
|
+
var _excluded$W = ["color", "size", "className"];
|
|
13549
13549
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13550
13550
|
var color = _ref.color,
|
|
13551
13551
|
_ref$size = _ref.size,
|
|
13552
13552
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
13553
13553
|
className = _ref.className,
|
|
13554
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13554
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
13555
13555
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
13556
13556
|
className: classNames__default["default"]("c-dot", className),
|
|
13557
13557
|
ref: ref,
|
|
@@ -13588,7 +13588,7 @@
|
|
|
13588
13588
|
});
|
|
13589
13589
|
StyledTagText.displayName = "StyledTagText";
|
|
13590
13590
|
|
|
13591
|
-
var _excluded$
|
|
13591
|
+
var _excluded$V = ["name", "color", "showText", "showDot", "className"];
|
|
13592
13592
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13593
13593
|
var name = _ref.name,
|
|
13594
13594
|
color = _ref.color,
|
|
@@ -13597,7 +13597,7 @@
|
|
|
13597
13597
|
_ref$showDot = _ref.showDot,
|
|
13598
13598
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
13599
13599
|
className = _ref.className,
|
|
13600
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13600
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
13601
13601
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
13602
13602
|
className: classNames__default["default"]("c-tag", className),
|
|
13603
13603
|
ref: ref
|
|
@@ -13709,7 +13709,7 @@
|
|
|
13709
13709
|
});
|
|
13710
13710
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
13711
13711
|
|
|
13712
|
-
var _excluded$
|
|
13712
|
+
var _excluded$U = ["children", "active", "disabled", "className", "role"];
|
|
13713
13713
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
13714
13714
|
var children = _ref.children,
|
|
13715
13715
|
_ref$active = _ref.active,
|
|
@@ -13718,7 +13718,7 @@
|
|
|
13718
13718
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13719
13719
|
className = _ref.className,
|
|
13720
13720
|
role = _ref.role,
|
|
13721
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13721
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
13722
13722
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
13723
13723
|
className: classNames__default["default"]("c-nav__item", {
|
|
13724
13724
|
"c-nav__item--active": active
|
|
@@ -13766,11 +13766,11 @@
|
|
|
13766
13766
|
});
|
|
13767
13767
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
13768
13768
|
|
|
13769
|
-
var _excluded$
|
|
13769
|
+
var _excluded$T = ["expanded"];
|
|
13770
13770
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13771
13771
|
var _ref$expanded = _ref.expanded,
|
|
13772
13772
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
13773
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13773
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
13774
13774
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
13775
13775
|
ref: ref,
|
|
13776
13776
|
viewBox: "0 0 24 24",
|
|
@@ -13946,7 +13946,7 @@
|
|
|
13946
13946
|
};
|
|
13947
13947
|
OptionContent.displayName = "OptionContent";
|
|
13948
13948
|
|
|
13949
|
-
var _excluded$
|
|
13949
|
+
var _excluded$S = ["mixed", "data-testid"];
|
|
13950
13950
|
|
|
13951
13951
|
/**
|
|
13952
13952
|
* @component CheckboxIcon
|
|
@@ -13970,7 +13970,7 @@
|
|
|
13970
13970
|
var CheckboxIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
13971
13971
|
var mixed = _ref.mixed,
|
|
13972
13972
|
testId = _ref["data-testid"],
|
|
13973
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13973
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
13974
13974
|
// const [animate, setAnimate] = useState(false);
|
|
13975
13975
|
// const mountRef = useRef(false);
|
|
13976
13976
|
|
|
@@ -14064,7 +14064,7 @@
|
|
|
14064
14064
|
});
|
|
14065
14065
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
14066
14066
|
|
|
14067
|
-
var _excluded$
|
|
14067
|
+
var _excluded$R = ["className", "hover", "id", "mixed", "checked", "onChange", "disabled"];
|
|
14068
14068
|
/**
|
|
14069
14069
|
* Checkbox component
|
|
14070
14070
|
*/
|
|
@@ -14078,7 +14078,7 @@
|
|
|
14078
14078
|
checked = _ref.checked,
|
|
14079
14079
|
onChange = _ref.onChange,
|
|
14080
14080
|
disabled = _ref.disabled,
|
|
14081
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14081
|
+
rest = _objectWithoutProperties(_ref, _excluded$R);
|
|
14082
14082
|
var _useState = React.useState(mixed && !checked),
|
|
14083
14083
|
_useState2 = _slicedToArray(_useState, 2),
|
|
14084
14084
|
indeterminate = _useState2[0],
|
|
@@ -14243,7 +14243,7 @@
|
|
|
14243
14243
|
})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:8px;display:flex;justify-items:center;align-items:center;"]);
|
|
14244
14244
|
StyledOptionWrapper.displayName = "StyledOptionWrapper";
|
|
14245
14245
|
|
|
14246
|
-
var _excluded$
|
|
14246
|
+
var _excluded$Q = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick", "mode"];
|
|
14247
14247
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14248
14248
|
var _ref$className = _ref.className,
|
|
14249
14249
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -14262,7 +14262,7 @@
|
|
|
14262
14262
|
wrapperClick = _ref.wrapperClick,
|
|
14263
14263
|
_ref$mode = _ref.mode,
|
|
14264
14264
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
14265
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14265
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
14266
14266
|
var intInputRef = React.useRef(null);
|
|
14267
14267
|
var handleRef = useForkRef(ref, intInputRef);
|
|
14268
14268
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -14319,14 +14319,14 @@
|
|
|
14319
14319
|
}, StyledRadioLabel);
|
|
14320
14320
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
14321
14321
|
|
|
14322
|
-
var _excluded$
|
|
14322
|
+
var _excluded$P = ["className", "id", "hover"];
|
|
14323
14323
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14324
14324
|
var _ref$className = _ref.className,
|
|
14325
14325
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
14326
14326
|
_ref$id = _ref.id,
|
|
14327
14327
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
14328
14328
|
hover = _ref.hover,
|
|
14329
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
14329
|
+
props = _objectWithoutProperties(_ref, _excluded$P);
|
|
14330
14330
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
14331
14331
|
className: classNames__default["default"]("c-radio-btn", {
|
|
14332
14332
|
"c-radio-btn__hover": hover,
|
|
@@ -14474,7 +14474,7 @@
|
|
|
14474
14474
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
14475
14475
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
14476
14476
|
|
|
14477
|
-
var _excluded$
|
|
14477
|
+
var _excluded$O = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
14478
14478
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14479
14479
|
var children = _ref.children,
|
|
14480
14480
|
className = _ref.className,
|
|
@@ -14488,7 +14488,7 @@
|
|
|
14488
14488
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
14489
14489
|
innerColor = _ref.innerColor,
|
|
14490
14490
|
outerColor = _ref.outerColor,
|
|
14491
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14491
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
14492
14492
|
var _useState = React.useState({
|
|
14493
14493
|
top: 0,
|
|
14494
14494
|
right: 0,
|
|
@@ -14838,7 +14838,7 @@
|
|
|
14838
14838
|
};
|
|
14839
14839
|
};
|
|
14840
14840
|
|
|
14841
|
-
var _excluded$
|
|
14841
|
+
var _excluded$N = ["as", "className", "invert", "style"];
|
|
14842
14842
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14843
14843
|
var _ref$as = _ref.as,
|
|
14844
14844
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -14846,7 +14846,7 @@
|
|
|
14846
14846
|
_ref$invert = _ref.invert,
|
|
14847
14847
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
14848
14848
|
style = _ref.style,
|
|
14849
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14849
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
14850
14850
|
var internalRef = useInitScrollRef(null, invert);
|
|
14851
14851
|
var handleRef = useForkRef(internalRef, ref);
|
|
14852
14852
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -15486,7 +15486,7 @@
|
|
|
15486
15486
|
componentId: "sc-9x4q7e-0"
|
|
15487
15487
|
})(["cursor:auto"]);
|
|
15488
15488
|
|
|
15489
|
-
var _excluded$
|
|
15489
|
+
var _excluded$M = ["type", "mode", "target", "options", "selected", "mixed", "position", "onChange", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue", "startAdornment", "endAdornment", "focusInput"];
|
|
15490
15490
|
var Select = function Select(_ref) {
|
|
15491
15491
|
var _ref$type = _ref.type,
|
|
15492
15492
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -15524,7 +15524,7 @@
|
|
|
15524
15524
|
endAdornment = _ref.endAdornment,
|
|
15525
15525
|
_ref$focusInput = _ref.focusInput,
|
|
15526
15526
|
focusInput = _ref$focusInput === void 0 ? false : _ref$focusInput,
|
|
15527
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
15527
|
+
prop = _objectWithoutProperties(_ref, _excluded$M);
|
|
15528
15528
|
if (disableSearch && (startAdornment || endAdornment)) {
|
|
15529
15529
|
console.warn("Adornments are not visible when search bar is hidden");
|
|
15530
15530
|
}
|
|
@@ -15831,7 +15831,7 @@
|
|
|
15831
15831
|
};
|
|
15832
15832
|
Nav.displayName = "Nav";
|
|
15833
15833
|
|
|
15834
|
-
var _excluded$
|
|
15834
|
+
var _excluded$L = ["children", "as", "disablePointerEvents"];
|
|
15835
15835
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
15836
15836
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
15837
15837
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -15849,7 +15849,7 @@
|
|
|
15849
15849
|
var children = _ref.children,
|
|
15850
15850
|
as = _ref.as,
|
|
15851
15851
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
15852
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15852
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
15853
15853
|
var Component = as || "div";
|
|
15854
15854
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
15855
15855
|
as: Component,
|
|
@@ -16087,7 +16087,7 @@
|
|
|
16087
16087
|
};
|
|
16088
16088
|
};
|
|
16089
16089
|
|
|
16090
|
-
var _excluded$
|
|
16090
|
+
var _excluded$K = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onChange", "onClick", "align"];
|
|
16091
16091
|
var InputHours = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
16092
16092
|
var defaultValue = _ref.value,
|
|
16093
16093
|
onCancel = _ref.onCancel,
|
|
@@ -16107,7 +16107,7 @@
|
|
|
16107
16107
|
externalOnClick = _ref.onClick,
|
|
16108
16108
|
_ref$align = _ref.align,
|
|
16109
16109
|
align = _ref$align === void 0 ? "center" : _ref$align,
|
|
16110
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16110
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
16111
16111
|
var inputRef = React.useRef(null);
|
|
16112
16112
|
var handleRef = useForkRef(ref, inputRef);
|
|
16113
16113
|
var _useInputHours = useInputHours({
|
|
@@ -16146,7 +16146,7 @@
|
|
|
16146
16146
|
});
|
|
16147
16147
|
InputHours.displayName = "InputHours";
|
|
16148
16148
|
|
|
16149
|
-
var _excluded$
|
|
16149
|
+
var _excluded$J = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "invalid", "step", "thousandSeparator", "value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "onChange", "onClick", "limit", "placeholder", "trimDecimals", "min", "max"];
|
|
16150
16150
|
var InputNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16151
16151
|
var _ref$decimalLength = _ref.decimalLength,
|
|
16152
16152
|
decimalLength = _ref$decimalLength === void 0 ? 2 : _ref$decimalLength,
|
|
@@ -16175,7 +16175,7 @@
|
|
|
16175
16175
|
trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
|
|
16176
16176
|
min = _ref.min,
|
|
16177
16177
|
max = _ref.max,
|
|
16178
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16178
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
16179
16179
|
var inputRef = React.useRef(null);
|
|
16180
16180
|
var handleRef = useForkRef(ref, inputRef);
|
|
16181
16181
|
var _useInputNumber = useInputNumber({
|
|
@@ -16224,11 +16224,11 @@
|
|
|
16224
16224
|
});
|
|
16225
16225
|
InputNumber.displayName = "InputNumber";
|
|
16226
16226
|
|
|
16227
|
-
var _excluded$
|
|
16227
|
+
var _excluded$I = ["currency", "size"];
|
|
16228
16228
|
var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16229
16229
|
var currency = _ref.currency,
|
|
16230
16230
|
size = _ref.size,
|
|
16231
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16231
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
16232
16232
|
var variant = React.useMemo(function () {
|
|
16233
16233
|
if (size === "biggest") {
|
|
16234
16234
|
return "Header 2";
|
|
@@ -16253,7 +16253,7 @@
|
|
|
16253
16253
|
});
|
|
16254
16254
|
InputCurrency.displayName = "InputCurrency";
|
|
16255
16255
|
|
|
16256
|
-
var _excluded$
|
|
16256
|
+
var _excluded$H = ["size", "disabled", "show", "hideControl", "showTooltipText", "hideTooltipText", "value", "validation", "errorMessage", "invalid", "onChange"];
|
|
16257
16257
|
var transform = {
|
|
16258
16258
|
biggest: "big",
|
|
16259
16259
|
regular: "small",
|
|
@@ -16346,7 +16346,7 @@
|
|
|
16346
16346
|
errorMessage = _ref2.errorMessage,
|
|
16347
16347
|
invalid = _ref2.invalid,
|
|
16348
16348
|
onChange = _ref2.onChange,
|
|
16349
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
16349
|
+
rest = _objectWithoutProperties(_ref2, _excluded$H);
|
|
16350
16350
|
var inputRef = React.useRef(null);
|
|
16351
16351
|
var handleRef = useForkRef(ref, inputRef);
|
|
16352
16352
|
var _useState = React.useState(show),
|
|
@@ -16465,7 +16465,7 @@
|
|
|
16465
16465
|
componentId: "sc-1lmb5y-0"
|
|
16466
16466
|
})(["flex-shrink:0"]);
|
|
16467
16467
|
|
|
16468
|
-
var _excluded$
|
|
16468
|
+
var _excluded$G = ["size", "disabled", "value", "onChange", "scheme"];
|
|
16469
16469
|
var defaultOptions = [{
|
|
16470
16470
|
id: "https://",
|
|
16471
16471
|
name: "https://"
|
|
@@ -16481,7 +16481,7 @@
|
|
|
16481
16481
|
defaultValue = _ref$value === void 0 ? "" : _ref$value,
|
|
16482
16482
|
onChange = _ref.onChange,
|
|
16483
16483
|
scheme = _ref.scheme,
|
|
16484
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16484
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
16485
16485
|
var inputRef = React.useRef(null);
|
|
16486
16486
|
var handleRef = useForkRef(ref, inputRef);
|
|
16487
16487
|
var options = React.useMemo(function () {
|
|
@@ -16609,7 +16609,7 @@
|
|
|
16609
16609
|
});
|
|
16610
16610
|
InputUrl.displayName = "InputUrl";
|
|
16611
16611
|
|
|
16612
|
-
var _excluded$
|
|
16612
|
+
var _excluded$F = ["size", "disabled", "value", "onChange", "defaultCountry"];
|
|
16613
16613
|
var renderOption$2 = function renderOption(option, data) {
|
|
16614
16614
|
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, /*#__PURE__*/React__default["default"].createElement(StyledOptionWrapper, null, /*#__PURE__*/React__default["default"].createElement(StyledOptionFlag, null, countryExplorer.getCountryFlag(option.id)), /*#__PURE__*/React__default["default"].createElement(StyledOptionName, null, option.name)), /*#__PURE__*/React__default["default"].createElement(RadioButton, {
|
|
16615
16615
|
checked: data.checked,
|
|
@@ -16625,7 +16625,7 @@
|
|
|
16625
16625
|
onChange = _ref.onChange,
|
|
16626
16626
|
_ref$defaultCountry = _ref.defaultCountry,
|
|
16627
16627
|
defaultCountry = _ref$defaultCountry === void 0 ? "US" : _ref$defaultCountry,
|
|
16628
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16628
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
16629
16629
|
var inputRef = React.useRef(null);
|
|
16630
16630
|
var handleRef = useForkRef(ref, inputRef);
|
|
16631
16631
|
var _useState = React.useState(defaultCountry),
|
|
@@ -16834,12 +16834,12 @@
|
|
|
16834
16834
|
[ref, handler]);
|
|
16835
16835
|
}
|
|
16836
16836
|
|
|
16837
|
-
var _excluded$
|
|
16837
|
+
var _excluded$E = ["children", "type"];
|
|
16838
16838
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16839
16839
|
var children = _ref.children,
|
|
16840
16840
|
_ref$type = _ref.type,
|
|
16841
16841
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
16842
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16842
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
16843
16843
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
16844
16844
|
ref: ref,
|
|
16845
16845
|
role: "button",
|
|
@@ -16894,7 +16894,7 @@
|
|
|
16894
16894
|
})(["color:var(--color-theme-700);"]);
|
|
16895
16895
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
16896
16896
|
|
|
16897
|
-
var _excluded$
|
|
16897
|
+
var _excluded$D = ["startAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "typographyProps"];
|
|
16898
16898
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
16899
16899
|
var startAdornment = _ref.startAdornment,
|
|
16900
16900
|
label = _ref.label,
|
|
@@ -16905,7 +16905,7 @@
|
|
|
16905
16905
|
backgroundColor = _ref.backgroundColor,
|
|
16906
16906
|
closeClassName = _ref.closeClassName,
|
|
16907
16907
|
typographyProps = _ref.typographyProps,
|
|
16908
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16908
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
16909
16909
|
var showClose = typeof onClose === "function";
|
|
16910
16910
|
var variant = React.useMemo(function () {
|
|
16911
16911
|
switch (size) {
|
|
@@ -16938,7 +16938,7 @@
|
|
|
16938
16938
|
});
|
|
16939
16939
|
Chip.displayName = "Chip";
|
|
16940
16940
|
|
|
16941
|
-
var _excluded$
|
|
16941
|
+
var _excluded$C = ["options", "selected", "loading", "loadingText", "onChange", "onInputChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear", "onDeselect", "defaultValue", "open", "onOpen", "triggerMode", "noResultText", "emptyValue"];
|
|
16942
16942
|
var sizeMap = {
|
|
16943
16943
|
small: 18,
|
|
16944
16944
|
regular: 24,
|
|
@@ -16986,7 +16986,7 @@
|
|
|
16986
16986
|
triggerMode = _ref.triggerMode,
|
|
16987
16987
|
noResultText = _ref.noResultText,
|
|
16988
16988
|
emptyValue = _ref.emptyValue,
|
|
16989
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
16989
|
+
prop = _objectWithoutProperties(_ref, _excluded$C);
|
|
16990
16990
|
var selectedName = React.useMemo(function () {
|
|
16991
16991
|
var value = "";
|
|
16992
16992
|
if (!selected) {
|
|
@@ -17403,7 +17403,7 @@
|
|
|
17403
17403
|
componentId: "sc-uvsz9l-4"
|
|
17404
17404
|
})(["display:flex;justify-content:center;"]);
|
|
17405
17405
|
|
|
17406
|
-
var _excluded$
|
|
17406
|
+
var _excluded$B = ["mode", "selected", "min", "max", "onChange", "step", "size", "className", "placeholder", "triggerMode", "disabled", "invalid"];
|
|
17407
17407
|
nlp__default["default"].plugin(plg__default["default"]);
|
|
17408
17408
|
var StyledInputTimeWrapper = styled__default["default"].div.withConfig({
|
|
17409
17409
|
displayName: "InputTime__StyledInputTimeWrapper",
|
|
@@ -17431,7 +17431,7 @@
|
|
|
17431
17431
|
triggerMode = _ref.triggerMode,
|
|
17432
17432
|
disabled = _ref.disabled,
|
|
17433
17433
|
invalid = _ref.invalid,
|
|
17434
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17434
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
17435
17435
|
var _useState = React.useState(false),
|
|
17436
17436
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17437
17437
|
isOpen = _useState2[0],
|
|
@@ -17526,7 +17526,7 @@
|
|
|
17526
17526
|
})));
|
|
17527
17527
|
};
|
|
17528
17528
|
|
|
17529
|
-
var _excluded$
|
|
17529
|
+
var _excluded$A = ["value", "variant", "thousandSeparator", "decimalSeparator", "trimDecimals", "decimalSpaces", "format", "disableTooltip", "className", "as"];
|
|
17530
17530
|
var DisplayNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17531
17531
|
var value = _ref.value,
|
|
17532
17532
|
_ref$variant = _ref.variant,
|
|
@@ -17546,7 +17546,7 @@
|
|
|
17546
17546
|
className = _ref.className,
|
|
17547
17547
|
_ref$as = _ref.as,
|
|
17548
17548
|
as = _ref$as === void 0 ? "span" : _ref$as,
|
|
17549
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17549
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
17550
17550
|
var formattedValue = formatNumber(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, format);
|
|
17551
17551
|
var formattedLongValue = formatNumber(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "long");
|
|
17552
17552
|
if (format === "short") {
|
|
@@ -17569,7 +17569,7 @@
|
|
|
17569
17569
|
});
|
|
17570
17570
|
DisplayNumber.displayName = "DisplayNumber";
|
|
17571
17571
|
|
|
17572
|
-
var _excluded$
|
|
17572
|
+
var _excluded$z = ["value", "variant", "currencyCode", "currencyPosition", "thousandSeparator", "decimalSeparator", "trimDecimals", "decimalSpaces", "format", "disableTooltip", "className", "as"];
|
|
17573
17573
|
var DisplayCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17574
17574
|
var value = _ref.value,
|
|
17575
17575
|
_ref$variant = _ref.variant,
|
|
@@ -17593,7 +17593,7 @@
|
|
|
17593
17593
|
className = _ref.className,
|
|
17594
17594
|
_ref$as = _ref.as,
|
|
17595
17595
|
as = _ref$as === void 0 ? "span" : _ref$as,
|
|
17596
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17596
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
17597
17597
|
var formattedValue = formatCurrency(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "short", currencyCode, currencyPosition);
|
|
17598
17598
|
var formattedLongValue = formatCurrency(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "long", currencyCode, currencyPosition);
|
|
17599
17599
|
if (format === "short") {
|
|
@@ -17616,7 +17616,7 @@
|
|
|
17616
17616
|
});
|
|
17617
17617
|
DisplayCurrency.displayName = "DisplayCurrency";
|
|
17618
17618
|
|
|
17619
|
-
var _excluded$
|
|
17619
|
+
var _excluded$y = ["value", "variant", "thousandSeparator", "decimalSeparator", "trimZeroMinutes", "trimDecimals", "decimalSpaces", "format", "disableTooltip", "className", "withLeadingZero", "as"];
|
|
17620
17620
|
var DisplayHours = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17621
17621
|
var value = _ref.value,
|
|
17622
17622
|
_ref$variant = _ref.variant,
|
|
@@ -17639,7 +17639,7 @@
|
|
|
17639
17639
|
withLeadingZero = _ref.withLeadingZero,
|
|
17640
17640
|
_ref$as = _ref.as,
|
|
17641
17641
|
as = _ref$as === void 0 ? "span" : _ref$as,
|
|
17642
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17642
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
17643
17643
|
var numberValue = +String(value).replaceAll(thousandSeparator, "").replace(decimalSeparator, ".");
|
|
17644
17644
|
var formattedValue = formatNumber(numberValue, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "short");
|
|
17645
17645
|
var formattedLongValue = formatHours(numberValue, withLeadingZero, trimZeroMinutes);
|
|
@@ -17664,11 +17664,11 @@
|
|
|
17664
17664
|
});
|
|
17665
17665
|
DisplayHours.displayName = "DisplayHours";
|
|
17666
17666
|
|
|
17667
|
-
var _excluded$
|
|
17667
|
+
var _excluded$x = ["expanded"];
|
|
17668
17668
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17669
17669
|
var _ref$expanded = _ref.expanded,
|
|
17670
17670
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
17671
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17671
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
17672
17672
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
17673
17673
|
ref: ref,
|
|
17674
17674
|
viewBox: "0 0 24 24"
|
|
@@ -17790,7 +17790,7 @@
|
|
|
17790
17790
|
});
|
|
17791
17791
|
StyledTextarea.displayName = "StyledTextarea";
|
|
17792
17792
|
|
|
17793
|
-
var _excluded$
|
|
17793
|
+
var _excluded$w = ["className", "disabled", "invalid", "mode"];
|
|
17794
17794
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17795
17795
|
var className = _ref.className,
|
|
17796
17796
|
_ref$disabled = _ref.disabled,
|
|
@@ -17799,7 +17799,7 @@
|
|
|
17799
17799
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
17800
17800
|
_ref$mode = _ref.mode,
|
|
17801
17801
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
17802
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17802
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
17803
17803
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
17804
17804
|
$invalid: invalid,
|
|
17805
17805
|
ref: ref,
|
|
@@ -17905,7 +17905,7 @@
|
|
|
17905
17905
|
})(["@media (min-width:640px){display:none;}"]);
|
|
17906
17906
|
StyledHeader$1.displayName = "StyledHeader";
|
|
17907
17907
|
|
|
17908
|
-
var _excluded$
|
|
17908
|
+
var _excluded$v = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
17909
17909
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17910
17910
|
var children = _ref.children,
|
|
17911
17911
|
onClose = _ref.onClose,
|
|
@@ -17929,7 +17929,7 @@
|
|
|
17929
17929
|
bodyClassName = _ref.bodyClassName,
|
|
17930
17930
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
17931
17931
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
17932
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17932
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
17933
17933
|
var _useState = React.useState(defaultOpen),
|
|
17934
17934
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17935
17935
|
open = _useState2[0],
|
|
@@ -18049,13 +18049,13 @@
|
|
|
18049
18049
|
});
|
|
18050
18050
|
StyledHeader.displayName = "StyledHeader";
|
|
18051
18051
|
|
|
18052
|
-
var _excluded$
|
|
18052
|
+
var _excluded$u = ["className", "size", "children"];
|
|
18053
18053
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
18054
18054
|
var className = _ref.className,
|
|
18055
18055
|
_ref$size = _ref.size,
|
|
18056
18056
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
18057
18057
|
children = _ref.children,
|
|
18058
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18058
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
18059
18059
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
18060
18060
|
type: "paper-2",
|
|
18061
18061
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -18071,7 +18071,7 @@
|
|
|
18071
18071
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
18072
18072
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
18073
18073
|
|
|
18074
|
-
var _excluded$
|
|
18074
|
+
var _excluded$t = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value", "mode"];
|
|
18075
18075
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
18076
18076
|
var _ref$minRows = _ref.minRows,
|
|
18077
18077
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -18089,7 +18089,7 @@
|
|
|
18089
18089
|
value = _ref.value,
|
|
18090
18090
|
_ref$mode = _ref.mode,
|
|
18091
18091
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
18092
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18092
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
18093
18093
|
var innerRef = React.useRef(null);
|
|
18094
18094
|
var _useState = React.useState(minRows),
|
|
18095
18095
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18366,7 +18366,7 @@
|
|
|
18366
18366
|
});
|
|
18367
18367
|
StyledChoose.displayName = "StyledChoose";
|
|
18368
18368
|
|
|
18369
|
-
var _excluded$
|
|
18369
|
+
var _excluded$s = ["children", "disabled", "active", "className"];
|
|
18370
18370
|
/**
|
|
18371
18371
|
* Choose component
|
|
18372
18372
|
*/
|
|
@@ -18377,7 +18377,7 @@
|
|
|
18377
18377
|
_ref$active = _ref.active,
|
|
18378
18378
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
18379
18379
|
className = _ref.className,
|
|
18380
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
18380
|
+
args = _objectWithoutProperties(_ref, _excluded$s);
|
|
18381
18381
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
18382
18382
|
disabled: disabled,
|
|
18383
18383
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -18473,21 +18473,21 @@
|
|
|
18473
18473
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
18474
18474
|
StyledLink.displayName = "StyledLink";
|
|
18475
18475
|
|
|
18476
|
-
var _excluded$
|
|
18476
|
+
var _excluded$r = ["children", "className"];
|
|
18477
18477
|
/**
|
|
18478
18478
|
* Back link component
|
|
18479
18479
|
*/
|
|
18480
18480
|
var BackLink = function BackLink(_ref) {
|
|
18481
18481
|
var children = _ref.children,
|
|
18482
18482
|
className = _ref.className,
|
|
18483
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
18483
|
+
args = _objectWithoutProperties(_ref, _excluded$r);
|
|
18484
18484
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
18485
18485
|
className: classNames__default["default"]("c-back-link", className)
|
|
18486
18486
|
}, args), children);
|
|
18487
18487
|
};
|
|
18488
18488
|
BackLink.displayName = "BackLink";
|
|
18489
18489
|
|
|
18490
|
-
var _excluded$
|
|
18490
|
+
var _excluded$q = ["as", "children", "variant", "size", "disabled", "className"];
|
|
18491
18491
|
/**
|
|
18492
18492
|
* Link component
|
|
18493
18493
|
*/
|
|
@@ -18500,7 +18500,7 @@
|
|
|
18500
18500
|
_ref$disabled = _ref.disabled,
|
|
18501
18501
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
18502
18502
|
className = _ref.className,
|
|
18503
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
18503
|
+
args = _objectWithoutProperties(_ref, _excluded$q);
|
|
18504
18504
|
var Component = as || "a";
|
|
18505
18505
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
18506
18506
|
ref: ref,
|
|
@@ -19404,7 +19404,7 @@
|
|
|
19404
19404
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
19405
19405
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
19406
19406
|
|
|
19407
|
-
var _excluded$
|
|
19407
|
+
var _excluded$p = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
19408
19408
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19409
19409
|
var text = _ref.text,
|
|
19410
19410
|
type = _ref.type,
|
|
@@ -19415,7 +19415,7 @@
|
|
|
19415
19415
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
19416
19416
|
_ref$timeout = _ref.timeout,
|
|
19417
19417
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
19418
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19418
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
19419
19419
|
var handleOnClose = React.useCallback(function () {
|
|
19420
19420
|
if (typeof onClose === "function") {
|
|
19421
19421
|
onClose();
|
|
@@ -19463,7 +19463,7 @@
|
|
|
19463
19463
|
});
|
|
19464
19464
|
StyledValueButton.displayName = "StyledValueButton";
|
|
19465
19465
|
|
|
19466
|
-
var _excluded$
|
|
19466
|
+
var _excluded$o = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
19467
19467
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19468
19468
|
var _ref$active = _ref.active,
|
|
19469
19469
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -19472,7 +19472,7 @@
|
|
|
19472
19472
|
icon = _ref.icon,
|
|
19473
19473
|
label = _ref.label,
|
|
19474
19474
|
value = _ref.value,
|
|
19475
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
19475
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
19476
19476
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
19477
19477
|
className: "c-value-button"
|
|
19478
19478
|
}, args, {
|
|
@@ -19540,7 +19540,7 @@
|
|
|
19540
19540
|
});
|
|
19541
19541
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
19542
19542
|
|
|
19543
|
-
var _excluded$
|
|
19543
|
+
var _excluded$n = ["children", "type", "size", "invalid", "open", "endAdornment", "typographyProps", "mode"];
|
|
19544
19544
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19545
19545
|
var children = _ref.children,
|
|
19546
19546
|
_ref$type = _ref.type,
|
|
@@ -19555,7 +19555,7 @@
|
|
|
19555
19555
|
typographyProps = _ref.typographyProps,
|
|
19556
19556
|
_ref$mode = _ref.mode,
|
|
19557
19557
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
19558
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19558
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
19559
19559
|
var variant = React.useMemo(function () {
|
|
19560
19560
|
if (size === "big") {
|
|
19561
19561
|
return "Body 1";
|
|
@@ -19586,7 +19586,7 @@
|
|
|
19586
19586
|
});
|
|
19587
19587
|
SelectTrigger.displayName = "SelectTrigger";
|
|
19588
19588
|
|
|
19589
|
-
var _excluded$
|
|
19589
|
+
var _excluded$m = ["mode", "selected", "min", "max", "onChange", "target", "triggerMode", "step"];
|
|
19590
19590
|
var renderOption = function renderOption(option) {
|
|
19591
19591
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19592
19592
|
id: option.id
|
|
@@ -19605,7 +19605,7 @@
|
|
|
19605
19605
|
triggerMode = _ref.triggerMode,
|
|
19606
19606
|
_ref$step = _ref.step,
|
|
19607
19607
|
step = _ref$step === void 0 ? 15 : _ref$step,
|
|
19608
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19608
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
19609
19609
|
var generateTimeOptions = function generateTimeOptions() {
|
|
19610
19610
|
var minTime = moment__default["default"](isValidTime(min) ? min : "00:00", "HH:mm");
|
|
19611
19611
|
var maxTime = moment__default["default"](isValidTime(max) ? max : "23:45", "HH:mm");
|
|
@@ -19680,11 +19680,11 @@
|
|
|
19680
19680
|
});
|
|
19681
19681
|
StyledToggle.displayName = "StyledToggle";
|
|
19682
19682
|
|
|
19683
|
-
var _excluded$
|
|
19683
|
+
var _excluded$l = ["hovered", "className"];
|
|
19684
19684
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19685
19685
|
var hovered = _ref.hovered,
|
|
19686
19686
|
className = _ref.className,
|
|
19687
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
19687
|
+
args = _objectWithoutProperties(_ref, _excluded$l);
|
|
19688
19688
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
19689
19689
|
className: classNames__default["default"]("c-toggle", className),
|
|
19690
19690
|
$isHovered: hovered,
|
|
@@ -19712,11 +19712,11 @@
|
|
|
19712
19712
|
})(["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);
|
|
19713
19713
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
19714
19714
|
|
|
19715
|
-
var _excluded$
|
|
19715
|
+
var _excluded$k = ["text", "className"];
|
|
19716
19716
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19717
19717
|
var text = _ref.text,
|
|
19718
19718
|
className = _ref.className,
|
|
19719
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19719
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
19720
19720
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
19721
19721
|
ref: ref,
|
|
19722
19722
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -19841,7 +19841,7 @@
|
|
|
19841
19841
|
});
|
|
19842
19842
|
StyledProgressRingPercentage.displayName = "StyledProgressRingPercentage";
|
|
19843
19843
|
|
|
19844
|
-
var _excluded$
|
|
19844
|
+
var _excluded$j = ["className", "children"];
|
|
19845
19845
|
var ProgressCircle = function ProgressCircle(_ref) {
|
|
19846
19846
|
var backgroundColor = _ref.backgroundColor,
|
|
19847
19847
|
progressColor = _ref.progressColor,
|
|
@@ -19918,7 +19918,7 @@
|
|
|
19918
19918
|
var ProgressRing = function ProgressRing(_ref2) {
|
|
19919
19919
|
var className = _ref2.className,
|
|
19920
19920
|
children = _ref2.children,
|
|
19921
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
19921
|
+
rest = _objectWithoutProperties(_ref2, _excluded$j);
|
|
19922
19922
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
19923
19923
|
className: classNames__default["default"](className),
|
|
19924
19924
|
"data-testid": "progress-ring"
|
|
@@ -19926,11 +19926,11 @@
|
|
|
19926
19926
|
};
|
|
19927
19927
|
ProgressRing.displayName = "ProgressRing";
|
|
19928
19928
|
|
|
19929
|
-
var _excluded$
|
|
19929
|
+
var _excluded$i = ["radius"];
|
|
19930
19930
|
var ProgressPie = function ProgressPie(_ref) {
|
|
19931
19931
|
var _ref$radius = _ref.radius,
|
|
19932
19932
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
19933
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19933
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
19934
19934
|
return /*#__PURE__*/React__default["default"].createElement(ProgressCircle, _extends({}, rest, {
|
|
19935
19935
|
stroke: radius,
|
|
19936
19936
|
radius: radius
|
|
@@ -20254,7 +20254,7 @@
|
|
|
20254
20254
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
20255
20255
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
20256
20256
|
|
|
20257
|
-
var _excluded$
|
|
20257
|
+
var _excluded$h = ["invalid", "required", "size", "children", "className", "weight", "htmlFor"];
|
|
20258
20258
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
20259
20259
|
var _ref$invalid = _ref.invalid,
|
|
20260
20260
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -20267,7 +20267,7 @@
|
|
|
20267
20267
|
_ref$weight = _ref.weight,
|
|
20268
20268
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
20269
20269
|
htmlFor = _ref.htmlFor,
|
|
20270
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20270
|
+
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
20271
20271
|
var color = invalid ? "alert" : "primary";
|
|
20272
20272
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
20273
20273
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -20324,7 +20324,7 @@
|
|
|
20324
20324
|
});
|
|
20325
20325
|
StyledInput$1.displayName = "StyledInput";
|
|
20326
20326
|
|
|
20327
|
-
var _excluded$
|
|
20327
|
+
var _excluded$g = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef", "children"];
|
|
20328
20328
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
20329
20329
|
var className = _ref.className,
|
|
20330
20330
|
_ref$variant = _ref.variant,
|
|
@@ -20335,7 +20335,7 @@
|
|
|
20335
20335
|
inputProps = _ref.inputProps,
|
|
20336
20336
|
wrapRef = _ref.wrapRef,
|
|
20337
20337
|
children = _ref.children,
|
|
20338
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20338
|
+
props = _objectWithoutProperties(_ref, _excluded$g);
|
|
20339
20339
|
var intInputRef = React.useRef(null);
|
|
20340
20340
|
var handleRef = useForkRef(ref, intInputRef);
|
|
20341
20341
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -20366,14 +20366,14 @@
|
|
|
20366
20366
|
});
|
|
20367
20367
|
EditableContent.displayName = "EditableContent";
|
|
20368
20368
|
|
|
20369
|
-
var _excluded$
|
|
20369
|
+
var _excluded$f = ["onSave", "onCancel", "value", "inputProps", "allowEmptyString"];
|
|
20370
20370
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
20371
20371
|
var onSave = _ref.onSave,
|
|
20372
20372
|
onCancel = _ref.onCancel,
|
|
20373
20373
|
value = _ref.value,
|
|
20374
20374
|
inputProps = _ref.inputProps,
|
|
20375
20375
|
allowEmptyString = _ref.allowEmptyString,
|
|
20376
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20376
|
+
props = _objectWithoutProperties(_ref, _excluded$f);
|
|
20377
20377
|
var _useState = React.useState(value),
|
|
20378
20378
|
_useState2 = _slicedToArray(_useState, 2),
|
|
20379
20379
|
currentValue = _useState2[0],
|
|
@@ -20431,7 +20431,7 @@
|
|
|
20431
20431
|
});
|
|
20432
20432
|
EditableText.displayName = "EditableText";
|
|
20433
20433
|
|
|
20434
|
-
var _excluded$
|
|
20434
|
+
var _excluded$e = ["value", "onCancel", "onSave", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onEnterKeyPress", "inputProps", "onClick", "ticking", "onFocus"];
|
|
20435
20435
|
var StyledEditableContent = styled__default["default"](EditableContent).withConfig({
|
|
20436
20436
|
displayName: "EditableHours__StyledEditableContent",
|
|
20437
20437
|
componentId: "sc-nvi34j-0"
|
|
@@ -20458,7 +20458,7 @@
|
|
|
20458
20458
|
externalOnClick = _ref2.onClick,
|
|
20459
20459
|
ticking = _ref2.ticking,
|
|
20460
20460
|
onFocus = _ref2.onFocus,
|
|
20461
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
20461
|
+
rest = _objectWithoutProperties(_ref2, _excluded$e);
|
|
20462
20462
|
var inputRef = React.useRef(null);
|
|
20463
20463
|
var handleRef = useForkRef(ref, inputRef);
|
|
20464
20464
|
var _useInputHours = useInputHours({
|
|
@@ -20532,7 +20532,7 @@
|
|
|
20532
20532
|
});
|
|
20533
20533
|
EditableHours.displayName = "EditableHours";
|
|
20534
20534
|
|
|
20535
|
-
var _excluded$
|
|
20535
|
+
var _excluded$d = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "step", "thousandSeparator", "value", "onSave", "onCancel", "className", "allowEmptyValue", "onEnterKeyPress", "onClick", "onChange", "trimDecimals", "min", "max"];
|
|
20536
20536
|
var EditableCurrency = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
20537
20537
|
var _ref$decimalLength = _ref.decimalLength,
|
|
20538
20538
|
decimalLength = _ref$decimalLength === void 0 ? 2 : _ref$decimalLength,
|
|
@@ -20559,7 +20559,7 @@
|
|
|
20559
20559
|
trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
|
|
20560
20560
|
min = _ref.min,
|
|
20561
20561
|
max = _ref.max,
|
|
20562
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
20562
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
20563
20563
|
var inputRef = React.useRef(null);
|
|
20564
20564
|
var handleRef = useForkRef(ref, inputRef);
|
|
20565
20565
|
var _useInputNumber = useInputNumber({
|
|
@@ -20612,11 +20612,11 @@
|
|
|
20612
20612
|
});
|
|
20613
20613
|
EditableCurrency.displayName = "EditableCurrency";
|
|
20614
20614
|
|
|
20615
|
-
var _excluded$
|
|
20615
|
+
var _excluded$c = ["withDocuments"];
|
|
20616
20616
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
20617
20617
|
var _ref$withDocuments = _ref.withDocuments,
|
|
20618
20618
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
20619
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20619
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
20620
20620
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
20621
20621
|
width: 100,
|
|
20622
20622
|
height: 100,
|
|
@@ -20759,7 +20759,7 @@
|
|
|
20759
20759
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
20760
20760
|
});
|
|
20761
20761
|
|
|
20762
|
-
var _excluded$
|
|
20762
|
+
var _excluded$b = ["children", "gap", "renderAs"];
|
|
20763
20763
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
20764
20764
|
renderAs: "grid"
|
|
20765
20765
|
});
|
|
@@ -20768,7 +20768,7 @@
|
|
|
20768
20768
|
gap = _ref.gap,
|
|
20769
20769
|
_ref$renderAs = _ref.renderAs,
|
|
20770
20770
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
20771
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
20771
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
20772
20772
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
20773
20773
|
value: {
|
|
20774
20774
|
renderAs: renderAs
|
|
@@ -20780,14 +20780,14 @@
|
|
|
20780
20780
|
};
|
|
20781
20781
|
EntityGroup.displayName = "EntityGroup";
|
|
20782
20782
|
|
|
20783
|
-
var _excluded$
|
|
20783
|
+
var _excluded$a = ["children", "isCollection", "background", "className", "as"];
|
|
20784
20784
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
20785
20785
|
var children = _ref.children,
|
|
20786
20786
|
isCollection = _ref.isCollection,
|
|
20787
20787
|
background = _ref.background,
|
|
20788
20788
|
className = _ref.className,
|
|
20789
20789
|
as = _ref.as,
|
|
20790
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
20790
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
20791
20791
|
var _useContext = React.useContext(EntityGroupContext),
|
|
20792
20792
|
renderAs = _useContext.renderAs;
|
|
20793
20793
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -20806,13 +20806,13 @@
|
|
|
20806
20806
|
});
|
|
20807
20807
|
EntityCard.displayName = "EntityCard";
|
|
20808
20808
|
|
|
20809
|
-
var _excluded$
|
|
20809
|
+
var _excluded$9 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
20810
20810
|
var EntityProperty = function EntityProperty(_ref) {
|
|
20811
20811
|
var listOrder = _ref.listOrder,
|
|
20812
20812
|
listWidth = _ref.listWidth,
|
|
20813
20813
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
20814
20814
|
className = _ref.className,
|
|
20815
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20815
|
+
props = _objectWithoutProperties(_ref, _excluded$9);
|
|
20816
20816
|
var _useContext = React.useContext(EntityGroupContext),
|
|
20817
20817
|
renderAs = _useContext.renderAs;
|
|
20818
20818
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -20827,10 +20827,10 @@
|
|
|
20827
20827
|
};
|
|
20828
20828
|
EntityProperty.displayName = "EntityProperty";
|
|
20829
20829
|
|
|
20830
|
-
var _excluded$
|
|
20830
|
+
var _excluded$8 = ["children"];
|
|
20831
20831
|
var EntitySeparator = function EntitySeparator(_ref) {
|
|
20832
20832
|
var children = _ref.children,
|
|
20833
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
20833
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
20834
20834
|
return /*#__PURE__*/React__default["default"].createElement(_StyledDiv, rest, children);
|
|
20835
20835
|
};
|
|
20836
20836
|
var _StyledDiv = styled__default["default"]("div").withConfig({
|
|
@@ -20977,7 +20977,7 @@
|
|
|
20977
20977
|
}), children);
|
|
20978
20978
|
};
|
|
20979
20979
|
|
|
20980
|
-
var _excluded$
|
|
20980
|
+
var _excluded$7 = ["id", "title", "submenu", "searchPlaceholder", "disableInternalSort", "isSingleSelect", "defaultValue"];
|
|
20981
20981
|
var Filter = function Filter(_ref) {
|
|
20982
20982
|
var data = _ref.data,
|
|
20983
20983
|
_ref$selected = _ref.selected,
|
|
@@ -21144,7 +21144,7 @@
|
|
|
21144
21144
|
disableInternalSort = _ref2.disableInternalSort,
|
|
21145
21145
|
isSingleSelect = _ref2.isSingleSelect,
|
|
21146
21146
|
defaultValue = _ref2.defaultValue,
|
|
21147
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
21147
|
+
rest = _objectWithoutProperties(_ref2, _excluded$7);
|
|
21148
21148
|
return /*#__PURE__*/React__default["default"].createElement(SlideLeftRightTransition, {
|
|
21149
21149
|
key: "filter-submenu-".concat(index),
|
|
21150
21150
|
in: menu === id,
|
|
@@ -21364,7 +21364,7 @@
|
|
|
21364
21364
|
return props.size + "px";
|
|
21365
21365
|
});
|
|
21366
21366
|
|
|
21367
|
-
var _excluded$
|
|
21367
|
+
var _excluded$6 = ["limit", "size", "children", "hasTooltip"];
|
|
21368
21368
|
var AvatarGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
21369
21369
|
var _Children$toArray;
|
|
21370
21370
|
var limit = _ref.limit,
|
|
@@ -21373,7 +21373,7 @@
|
|
|
21373
21373
|
children = _ref.children,
|
|
21374
21374
|
_ref$hasTooltip = _ref.hasTooltip,
|
|
21375
21375
|
hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip,
|
|
21376
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21376
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
21377
21377
|
// always display counter with min +2 as +1 can takes space of an 1 more Avatar
|
|
21378
21378
|
var minChildren = React.Children.count(children) - limit > 1 ? false : true;
|
|
21379
21379
|
// gap between Avatars
|
|
@@ -21539,14 +21539,14 @@
|
|
|
21539
21539
|
return React.useContext(SearchContext);
|
|
21540
21540
|
};
|
|
21541
21541
|
|
|
21542
|
-
var _excluded$
|
|
21542
|
+
var _excluded$5 = ["title", "renderIcon", "className", "index", "as"];
|
|
21543
21543
|
var CommandPaletteCommandItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
21544
21544
|
var title = _ref.title,
|
|
21545
21545
|
renderIcon = _ref.renderIcon,
|
|
21546
21546
|
className = _ref.className,
|
|
21547
21547
|
index = _ref.index,
|
|
21548
21548
|
as = _ref.as,
|
|
21549
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21549
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
21550
21550
|
var Component = as || "a";
|
|
21551
21551
|
var icon = renderIcon();
|
|
21552
21552
|
var _useSelectedContext = useSelectedContext(),
|
|
@@ -21715,7 +21715,7 @@
|
|
|
21715
21715
|
return "";
|
|
21716
21716
|
};
|
|
21717
21717
|
|
|
21718
|
-
var _excluded$
|
|
21718
|
+
var _excluded$4 = ["title", "renderIcon", "className", "index", "loading", "as"];
|
|
21719
21719
|
var generateRandomWidth = function generateRandomWidth() {
|
|
21720
21720
|
// generate range 30-80
|
|
21721
21721
|
var randomNum = Math.round(Math.random() * 30 + 30);
|
|
@@ -21728,7 +21728,7 @@
|
|
|
21728
21728
|
index = _ref.index,
|
|
21729
21729
|
loading = _ref.loading,
|
|
21730
21730
|
as = _ref.as,
|
|
21731
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21731
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
21732
21732
|
var Component = as || "a";
|
|
21733
21733
|
var icon = renderIcon && renderIcon();
|
|
21734
21734
|
var _useSelectedContext = useSelectedContext(),
|
|
@@ -21818,7 +21818,7 @@
|
|
|
21818
21818
|
});
|
|
21819
21819
|
};
|
|
21820
21820
|
|
|
21821
|
-
var _excluded$
|
|
21821
|
+
var _excluded$3 = ["children", "onChangeSearch", "search", "mode", "setMode", "loading", "idModeEnabled"];
|
|
21822
21822
|
var _CommandPalette = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
21823
21823
|
var children = _ref.children,
|
|
21824
21824
|
onChangeSearch = _ref.onChangeSearch,
|
|
@@ -21828,7 +21828,7 @@
|
|
|
21828
21828
|
loading = _ref.loading,
|
|
21829
21829
|
_ref$idModeEnabled = _ref.idModeEnabled,
|
|
21830
21830
|
idModeEnabled = _ref$idModeEnabled === void 0 ? false : _ref$idModeEnabled,
|
|
21831
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21831
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
21832
21832
|
var _useState = React.useState(0),
|
|
21833
21833
|
_useState2 = _slicedToArray(_useState, 2),
|
|
21834
21834
|
selected = _useState2[0],
|
|
@@ -21993,25 +21993,25 @@
|
|
|
21993
21993
|
componentId: "sc-jfbqky-5"
|
|
21994
21994
|
})(["margin-block-start:24px;display:flex;flex-direction:column;gap:12px;align-items:center;", "{flex-direction:row;}"], screen.lg);
|
|
21995
21995
|
|
|
21996
|
-
var _excluded$
|
|
21996
|
+
var _excluded$2 = ["children"];
|
|
21997
21997
|
|
|
21998
21998
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
21999
21999
|
|
|
22000
22000
|
var EmptySlateFooter = function EmptySlateFooter(_ref) {
|
|
22001
22001
|
var children = _ref.children,
|
|
22002
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22002
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
22003
22003
|
return /*#__PURE__*/React__default["default"].createElement(FooterContainer, rest, children);
|
|
22004
22004
|
};
|
|
22005
22005
|
EmptySlateFooter.displayName = "EmptySlateFooter";
|
|
22006
22006
|
|
|
22007
|
-
var _excluded = ["title", "description", "src", "alt", "children"];
|
|
22007
|
+
var _excluded$1 = ["title", "description", "src", "alt", "children"];
|
|
22008
22008
|
var EmptySlate = function EmptySlate(_ref) {
|
|
22009
22009
|
var title = _ref.title,
|
|
22010
22010
|
description = _ref.description,
|
|
22011
22011
|
src = _ref.src,
|
|
22012
22012
|
alt = _ref.alt,
|
|
22013
22013
|
children = _ref.children,
|
|
22014
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
22014
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
22015
22015
|
return /*#__PURE__*/React__default["default"].createElement(Container, _extends({}, rest, {
|
|
22016
22016
|
role: "status"
|
|
22017
22017
|
}), /*#__PURE__*/React__default["default"].createElement(StyledImg, {
|
|
@@ -22053,6 +22053,84 @@
|
|
|
22053
22053
|
}
|
|
22054
22054
|
Toolbar.displayName = "Toolbar";
|
|
22055
22055
|
|
|
22056
|
+
var StyledInfoBoxWrapper = styled__default["default"].div.withConfig({
|
|
22057
|
+
displayName: "Styles__StyledInfoBoxWrapper",
|
|
22058
|
+
componentId: "sc-amgpyr-0"
|
|
22059
|
+
})(["gap:4px;width:100%;border-radius:8px;padding-inline:16px;padding-block:12px;background-color:", ";border:1px solid ", ";position:relative;"], function (_ref) {
|
|
22060
|
+
var $color = _ref.$color,
|
|
22061
|
+
$opacity = _ref.$opacity;
|
|
22062
|
+
return $color + $opacity;
|
|
22063
|
+
}, function (_ref2) {
|
|
22064
|
+
var $color = _ref2.$color;
|
|
22065
|
+
return $color;
|
|
22066
|
+
});
|
|
22067
|
+
StyledInfoBoxWrapper.displayName = "StyledInfoBoxWrapper";
|
|
22068
|
+
var StyledInfoBoxHeader = styled__default["default"].div.withConfig({
|
|
22069
|
+
displayName: "Styles__StyledInfoBoxHeader",
|
|
22070
|
+
componentId: "sc-amgpyr-1"
|
|
22071
|
+
})(["display:flex;width:100%;flex-direction:column;gap:", ";"], function (_ref3) {
|
|
22072
|
+
var $hasTitle = _ref3.$hasTitle;
|
|
22073
|
+
return $hasTitle ? "4px" : "none";
|
|
22074
|
+
});
|
|
22075
|
+
StyledInfoBoxHeader.displayName = "StyledInfoBoxHeader";
|
|
22076
|
+
var StyledInfoBoxContainer = styled__default["default"].div.withConfig({
|
|
22077
|
+
displayName: "Styles__StyledInfoBoxContainer",
|
|
22078
|
+
componentId: "sc-amgpyr-2"
|
|
22079
|
+
})(["display:flex;justify-items:space-between;width:100%;gap:8px;"]);
|
|
22080
|
+
StyledInfoBoxContainer.displayName = "StyledInfoBoxContainer";
|
|
22081
|
+
var SyledInfoBoxInnerHeader = styled__default["default"].div.withConfig({
|
|
22082
|
+
displayName: "Styles__SyledInfoBoxInnerHeader",
|
|
22083
|
+
componentId: "sc-amgpyr-3"
|
|
22084
|
+
})(["display:flex;"]);
|
|
22085
|
+
SyledInfoBoxInnerHeader.displayName = "SyledInfoBoxInnerHeader";
|
|
22086
|
+
|
|
22087
|
+
var _excluded = ["type", "children", "showIcon", "icon", "title", "action"];
|
|
22088
|
+
var InfoBox = function InfoBox(_ref) {
|
|
22089
|
+
var _ref$type = _ref.type,
|
|
22090
|
+
type = _ref$type === void 0 ? "default" : _ref$type,
|
|
22091
|
+
children = _ref.children,
|
|
22092
|
+
showIcon = _ref.showIcon,
|
|
22093
|
+
icon = _ref.icon,
|
|
22094
|
+
_ref$title = _ref.title,
|
|
22095
|
+
title = _ref$title === void 0 ? null : _ref$title,
|
|
22096
|
+
_ref$action = _ref.action,
|
|
22097
|
+
action = _ref$action === void 0 ? null : _ref$action,
|
|
22098
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
22099
|
+
var statusColors = {
|
|
22100
|
+
success: colors$1.greenSuccess.color,
|
|
22101
|
+
warning: colors$1.redAlert.color,
|
|
22102
|
+
note: colors$1.yellowWarning.color,
|
|
22103
|
+
default: colors$1.blueSky.color,
|
|
22104
|
+
neutral: colors$1.gray.color
|
|
22105
|
+
};
|
|
22106
|
+
// https://davidwalsh.name/hex-opacity
|
|
22107
|
+
var opacity = "1A";
|
|
22108
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledInfoBoxWrapper, _extends({
|
|
22109
|
+
$color: "".concat(statusColors[type]),
|
|
22110
|
+
$opacity: opacity
|
|
22111
|
+
}, rest), /*#__PURE__*/React__default["default"].createElement(StyledInfoBoxContainer, null, showIcon && /*#__PURE__*/React__default["default"].createElement("span", null, icon && /*#__PURE__*/React__default["default"].isValidElement(icon) ? ( /*#__PURE__*/React__default["default"].cloneElement(icon, {
|
|
22112
|
+
fill: statusColors[type],
|
|
22113
|
+
width: 18
|
|
22114
|
+
})) : type === "success" ? /*#__PURE__*/React__default["default"].createElement(CheckboxBlankTogglerIcon$1, {
|
|
22115
|
+
fill: statusColors[type],
|
|
22116
|
+
width: 18
|
|
22117
|
+
}) : type === "warning" ? /*#__PURE__*/React__default["default"].createElement(CloseCircleIcon$1, {
|
|
22118
|
+
fill: statusColors[type],
|
|
22119
|
+
width: 18
|
|
22120
|
+
}) : type === "note" || type === "default" ? /*#__PURE__*/React__default["default"].createElement(InfoIcon$1, {
|
|
22121
|
+
fill: statusColors[type],
|
|
22122
|
+
width: 18
|
|
22123
|
+
}) : /*#__PURE__*/React__default["default"].createElement(InfoIcon$1, {
|
|
22124
|
+
fill: statusColors["neutral"],
|
|
22125
|
+
width: 18
|
|
22126
|
+
})), /*#__PURE__*/React__default["default"].createElement(StyledInfoBoxHeader, {
|
|
22127
|
+
$hasTitle: title ? true : false
|
|
22128
|
+
}, /*#__PURE__*/React__default["default"].createElement(SyledInfoBoxInnerHeader, null, typeof title === "string" && title ? /*#__PURE__*/React__default["default"].createElement(Body2, {
|
|
22129
|
+
weight: "bold",
|
|
22130
|
+
lineHeight: "loose"
|
|
22131
|
+
}, title) : title, action), children)));
|
|
22132
|
+
};
|
|
22133
|
+
|
|
22056
22134
|
exports.AccessLogIcon = AccessLogIcon$1;
|
|
22057
22135
|
exports.Accordion = Accordion;
|
|
22058
22136
|
exports.AccordionContext = AccordionContext;
|
|
@@ -22214,6 +22292,7 @@
|
|
|
22214
22292
|
exports.HistoryOfChangesIcon = HistoryOfChangesIcon$1;
|
|
22215
22293
|
exports.IconButton = IconButton;
|
|
22216
22294
|
exports.ImageIcon = ImageIcon$1;
|
|
22295
|
+
exports.InfoBox = InfoBox;
|
|
22217
22296
|
exports.InfoIcon = InfoIcon$1;
|
|
22218
22297
|
exports.InfoSmallIcon = InfoSmallIcon$1;
|
|
22219
22298
|
exports.Input = Input;
|