@activecollab/components 2.0.188 → 2.0.190
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/Input/InputAdornment.js +2 -1
- package/dist/cjs/components/Input/InputAdornment.js.map +1 -1
- package/dist/cjs/components/Input/InputCurrency.js +15 -5
- package/dist/cjs/components/Input/InputCurrency.js.map +1 -1
- 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/Input/InputAdornment.js +2 -1
- package/dist/esm/components/Input/InputAdornment.js.map +1 -1
- package/dist/esm/components/Input/InputCurrency.d.ts +1 -1
- package/dist/esm/components/Input/InputCurrency.d.ts.map +1 -1
- package/dist/esm/components/Input/InputCurrency.js +14 -4
- package/dist/esm/components/Input/InputCurrency.js.map +1 -1
- 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 +299 -209
- 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"
|
|
@@ -15839,7 +15839,8 @@
|
|
|
15839
15839
|
"marginLeft": "0.25rem",
|
|
15840
15840
|
"marginRight": "0.25rem",
|
|
15841
15841
|
"display": "flex",
|
|
15842
|
-
"alignItems": "center"
|
|
15842
|
+
"alignItems": "center",
|
|
15843
|
+
"gap": "0.5rem"
|
|
15843
15844
|
}, function (props) {
|
|
15844
15845
|
return props.$disablePointerEvents && styled.css(["", ""], {
|
|
15845
15846
|
"pointerEvents": "none"
|
|
@@ -15849,7 +15850,7 @@
|
|
|
15849
15850
|
var children = _ref.children,
|
|
15850
15851
|
as = _ref.as,
|
|
15851
15852
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
15852
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15853
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
15853
15854
|
var Component = as || "div";
|
|
15854
15855
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
15855
15856
|
as: Component,
|
|
@@ -16087,7 +16088,7 @@
|
|
|
16087
16088
|
};
|
|
16088
16089
|
};
|
|
16089
16090
|
|
|
16090
|
-
var _excluded$
|
|
16091
|
+
var _excluded$K = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onChange", "onClick", "align"];
|
|
16091
16092
|
var InputHours = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
16092
16093
|
var defaultValue = _ref.value,
|
|
16093
16094
|
onCancel = _ref.onCancel,
|
|
@@ -16107,7 +16108,7 @@
|
|
|
16107
16108
|
externalOnClick = _ref.onClick,
|
|
16108
16109
|
_ref$align = _ref.align,
|
|
16109
16110
|
align = _ref$align === void 0 ? "center" : _ref$align,
|
|
16110
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16111
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
16111
16112
|
var inputRef = React.useRef(null);
|
|
16112
16113
|
var handleRef = useForkRef(ref, inputRef);
|
|
16113
16114
|
var _useInputHours = useInputHours({
|
|
@@ -16146,7 +16147,7 @@
|
|
|
16146
16147
|
});
|
|
16147
16148
|
InputHours.displayName = "InputHours";
|
|
16148
16149
|
|
|
16149
|
-
var _excluded$
|
|
16150
|
+
var _excluded$J = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "invalid", "step", "thousandSeparator", "value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "onChange", "onClick", "limit", "placeholder", "trimDecimals", "min", "max"];
|
|
16150
16151
|
var InputNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16151
16152
|
var _ref$decimalLength = _ref.decimalLength,
|
|
16152
16153
|
decimalLength = _ref$decimalLength === void 0 ? 2 : _ref$decimalLength,
|
|
@@ -16175,7 +16176,7 @@
|
|
|
16175
16176
|
trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
|
|
16176
16177
|
min = _ref.min,
|
|
16177
16178
|
max = _ref.max,
|
|
16178
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16179
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
16179
16180
|
var inputRef = React.useRef(null);
|
|
16180
16181
|
var handleRef = useForkRef(ref, inputRef);
|
|
16181
16182
|
var _useInputNumber = useInputNumber({
|
|
@@ -16224,11 +16225,14 @@
|
|
|
16224
16225
|
});
|
|
16225
16226
|
InputNumber.displayName = "InputNumber";
|
|
16226
16227
|
|
|
16227
|
-
var _excluded$
|
|
16228
|
+
var _excluded$I = ["currency", "size", "startAdornment", "endAdornment", "disabled"];
|
|
16228
16229
|
var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16229
16230
|
var currency = _ref.currency,
|
|
16230
16231
|
size = _ref.size,
|
|
16231
|
-
|
|
16232
|
+
startAdornment = _ref.startAdornment,
|
|
16233
|
+
endAdornment = _ref.endAdornment,
|
|
16234
|
+
disabled = _ref.disabled,
|
|
16235
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
16232
16236
|
var variant = React.useMemo(function () {
|
|
16233
16237
|
if (size === "biggest") {
|
|
16234
16238
|
return "Header 2";
|
|
@@ -16244,16 +16248,23 @@
|
|
|
16244
16248
|
return /*#__PURE__*/React__default["default"].createElement(InputNumber, _extends({
|
|
16245
16249
|
size: size,
|
|
16246
16250
|
align: "right",
|
|
16247
|
-
|
|
16251
|
+
ref: ref,
|
|
16252
|
+
disabled: disabled,
|
|
16253
|
+
endAdornment: endAdornment && /*#__PURE__*/React__default["default"].createElement(InputAdornment, {
|
|
16254
|
+
disablePointerEvents: disabled
|
|
16255
|
+
}, endAdornment)
|
|
16256
|
+
}, rest, {
|
|
16257
|
+
startAdornment: /*#__PURE__*/React__default["default"].createElement(InputAdornment, {
|
|
16258
|
+
disablePointerEvents: disabled
|
|
16259
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography, {
|
|
16248
16260
|
variant: variant,
|
|
16249
16261
|
weight: weight
|
|
16250
|
-
}, currency))
|
|
16251
|
-
|
|
16252
|
-
}, rest));
|
|
16262
|
+
}, currency), startAdornment)
|
|
16263
|
+
}));
|
|
16253
16264
|
});
|
|
16254
16265
|
InputCurrency.displayName = "InputCurrency";
|
|
16255
16266
|
|
|
16256
|
-
var _excluded$
|
|
16267
|
+
var _excluded$H = ["size", "disabled", "show", "hideControl", "showTooltipText", "hideTooltipText", "value", "validation", "errorMessage", "invalid", "onChange"];
|
|
16257
16268
|
var transform = {
|
|
16258
16269
|
biggest: "big",
|
|
16259
16270
|
regular: "small",
|
|
@@ -16346,7 +16357,7 @@
|
|
|
16346
16357
|
errorMessage = _ref2.errorMessage,
|
|
16347
16358
|
invalid = _ref2.invalid,
|
|
16348
16359
|
onChange = _ref2.onChange,
|
|
16349
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
16360
|
+
rest = _objectWithoutProperties(_ref2, _excluded$H);
|
|
16350
16361
|
var inputRef = React.useRef(null);
|
|
16351
16362
|
var handleRef = useForkRef(ref, inputRef);
|
|
16352
16363
|
var _useState = React.useState(show),
|
|
@@ -16465,7 +16476,7 @@
|
|
|
16465
16476
|
componentId: "sc-1lmb5y-0"
|
|
16466
16477
|
})(["flex-shrink:0"]);
|
|
16467
16478
|
|
|
16468
|
-
var _excluded$
|
|
16479
|
+
var _excluded$G = ["size", "disabled", "value", "onChange", "scheme"];
|
|
16469
16480
|
var defaultOptions = [{
|
|
16470
16481
|
id: "https://",
|
|
16471
16482
|
name: "https://"
|
|
@@ -16481,7 +16492,7 @@
|
|
|
16481
16492
|
defaultValue = _ref$value === void 0 ? "" : _ref$value,
|
|
16482
16493
|
onChange = _ref.onChange,
|
|
16483
16494
|
scheme = _ref.scheme,
|
|
16484
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16495
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
16485
16496
|
var inputRef = React.useRef(null);
|
|
16486
16497
|
var handleRef = useForkRef(ref, inputRef);
|
|
16487
16498
|
var options = React.useMemo(function () {
|
|
@@ -16609,7 +16620,7 @@
|
|
|
16609
16620
|
});
|
|
16610
16621
|
InputUrl.displayName = "InputUrl";
|
|
16611
16622
|
|
|
16612
|
-
var _excluded$
|
|
16623
|
+
var _excluded$F = ["size", "disabled", "value", "onChange", "defaultCountry"];
|
|
16613
16624
|
var renderOption$2 = function renderOption(option, data) {
|
|
16614
16625
|
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
16626
|
checked: data.checked,
|
|
@@ -16625,7 +16636,7 @@
|
|
|
16625
16636
|
onChange = _ref.onChange,
|
|
16626
16637
|
_ref$defaultCountry = _ref.defaultCountry,
|
|
16627
16638
|
defaultCountry = _ref$defaultCountry === void 0 ? "US" : _ref$defaultCountry,
|
|
16628
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16639
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
16629
16640
|
var inputRef = React.useRef(null);
|
|
16630
16641
|
var handleRef = useForkRef(ref, inputRef);
|
|
16631
16642
|
var _useState = React.useState(defaultCountry),
|
|
@@ -16834,12 +16845,12 @@
|
|
|
16834
16845
|
[ref, handler]);
|
|
16835
16846
|
}
|
|
16836
16847
|
|
|
16837
|
-
var _excluded$
|
|
16848
|
+
var _excluded$E = ["children", "type"];
|
|
16838
16849
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16839
16850
|
var children = _ref.children,
|
|
16840
16851
|
_ref$type = _ref.type,
|
|
16841
16852
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
16842
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16853
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
16843
16854
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
16844
16855
|
ref: ref,
|
|
16845
16856
|
role: "button",
|
|
@@ -16894,7 +16905,7 @@
|
|
|
16894
16905
|
})(["color:var(--color-theme-700);"]);
|
|
16895
16906
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
16896
16907
|
|
|
16897
|
-
var _excluded$
|
|
16908
|
+
var _excluded$D = ["startAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "typographyProps"];
|
|
16898
16909
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
16899
16910
|
var startAdornment = _ref.startAdornment,
|
|
16900
16911
|
label = _ref.label,
|
|
@@ -16905,7 +16916,7 @@
|
|
|
16905
16916
|
backgroundColor = _ref.backgroundColor,
|
|
16906
16917
|
closeClassName = _ref.closeClassName,
|
|
16907
16918
|
typographyProps = _ref.typographyProps,
|
|
16908
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16919
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
16909
16920
|
var showClose = typeof onClose === "function";
|
|
16910
16921
|
var variant = React.useMemo(function () {
|
|
16911
16922
|
switch (size) {
|
|
@@ -16938,7 +16949,7 @@
|
|
|
16938
16949
|
});
|
|
16939
16950
|
Chip.displayName = "Chip";
|
|
16940
16951
|
|
|
16941
|
-
var _excluded$
|
|
16952
|
+
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
16953
|
var sizeMap = {
|
|
16943
16954
|
small: 18,
|
|
16944
16955
|
regular: 24,
|
|
@@ -16986,7 +16997,7 @@
|
|
|
16986
16997
|
triggerMode = _ref.triggerMode,
|
|
16987
16998
|
noResultText = _ref.noResultText,
|
|
16988
16999
|
emptyValue = _ref.emptyValue,
|
|
16989
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
17000
|
+
prop = _objectWithoutProperties(_ref, _excluded$C);
|
|
16990
17001
|
var selectedName = React.useMemo(function () {
|
|
16991
17002
|
var value = "";
|
|
16992
17003
|
if (!selected) {
|
|
@@ -17403,7 +17414,7 @@
|
|
|
17403
17414
|
componentId: "sc-uvsz9l-4"
|
|
17404
17415
|
})(["display:flex;justify-content:center;"]);
|
|
17405
17416
|
|
|
17406
|
-
var _excluded$
|
|
17417
|
+
var _excluded$B = ["mode", "selected", "min", "max", "onChange", "step", "size", "className", "placeholder", "triggerMode", "disabled", "invalid"];
|
|
17407
17418
|
nlp__default["default"].plugin(plg__default["default"]);
|
|
17408
17419
|
var StyledInputTimeWrapper = styled__default["default"].div.withConfig({
|
|
17409
17420
|
displayName: "InputTime__StyledInputTimeWrapper",
|
|
@@ -17431,7 +17442,7 @@
|
|
|
17431
17442
|
triggerMode = _ref.triggerMode,
|
|
17432
17443
|
disabled = _ref.disabled,
|
|
17433
17444
|
invalid = _ref.invalid,
|
|
17434
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17445
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
17435
17446
|
var _useState = React.useState(false),
|
|
17436
17447
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17437
17448
|
isOpen = _useState2[0],
|
|
@@ -17526,7 +17537,7 @@
|
|
|
17526
17537
|
})));
|
|
17527
17538
|
};
|
|
17528
17539
|
|
|
17529
|
-
var _excluded$
|
|
17540
|
+
var _excluded$A = ["value", "variant", "thousandSeparator", "decimalSeparator", "trimDecimals", "decimalSpaces", "format", "disableTooltip", "className", "as"];
|
|
17530
17541
|
var DisplayNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17531
17542
|
var value = _ref.value,
|
|
17532
17543
|
_ref$variant = _ref.variant,
|
|
@@ -17546,7 +17557,7 @@
|
|
|
17546
17557
|
className = _ref.className,
|
|
17547
17558
|
_ref$as = _ref.as,
|
|
17548
17559
|
as = _ref$as === void 0 ? "span" : _ref$as,
|
|
17549
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17560
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
17550
17561
|
var formattedValue = formatNumber(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, format);
|
|
17551
17562
|
var formattedLongValue = formatNumber(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "long");
|
|
17552
17563
|
if (format === "short") {
|
|
@@ -17569,7 +17580,7 @@
|
|
|
17569
17580
|
});
|
|
17570
17581
|
DisplayNumber.displayName = "DisplayNumber";
|
|
17571
17582
|
|
|
17572
|
-
var _excluded$
|
|
17583
|
+
var _excluded$z = ["value", "variant", "currencyCode", "currencyPosition", "thousandSeparator", "decimalSeparator", "trimDecimals", "decimalSpaces", "format", "disableTooltip", "className", "as"];
|
|
17573
17584
|
var DisplayCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17574
17585
|
var value = _ref.value,
|
|
17575
17586
|
_ref$variant = _ref.variant,
|
|
@@ -17593,7 +17604,7 @@
|
|
|
17593
17604
|
className = _ref.className,
|
|
17594
17605
|
_ref$as = _ref.as,
|
|
17595
17606
|
as = _ref$as === void 0 ? "span" : _ref$as,
|
|
17596
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17607
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
17597
17608
|
var formattedValue = formatCurrency(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "short", currencyCode, currencyPosition);
|
|
17598
17609
|
var formattedLongValue = formatCurrency(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "long", currencyCode, currencyPosition);
|
|
17599
17610
|
if (format === "short") {
|
|
@@ -17616,7 +17627,7 @@
|
|
|
17616
17627
|
});
|
|
17617
17628
|
DisplayCurrency.displayName = "DisplayCurrency";
|
|
17618
17629
|
|
|
17619
|
-
var _excluded$
|
|
17630
|
+
var _excluded$y = ["value", "variant", "thousandSeparator", "decimalSeparator", "trimZeroMinutes", "trimDecimals", "decimalSpaces", "format", "disableTooltip", "className", "withLeadingZero", "as"];
|
|
17620
17631
|
var DisplayHours = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17621
17632
|
var value = _ref.value,
|
|
17622
17633
|
_ref$variant = _ref.variant,
|
|
@@ -17639,7 +17650,7 @@
|
|
|
17639
17650
|
withLeadingZero = _ref.withLeadingZero,
|
|
17640
17651
|
_ref$as = _ref.as,
|
|
17641
17652
|
as = _ref$as === void 0 ? "span" : _ref$as,
|
|
17642
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17653
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
17643
17654
|
var numberValue = +String(value).replaceAll(thousandSeparator, "").replace(decimalSeparator, ".");
|
|
17644
17655
|
var formattedValue = formatNumber(numberValue, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "short");
|
|
17645
17656
|
var formattedLongValue = formatHours(numberValue, withLeadingZero, trimZeroMinutes);
|
|
@@ -17664,11 +17675,11 @@
|
|
|
17664
17675
|
});
|
|
17665
17676
|
DisplayHours.displayName = "DisplayHours";
|
|
17666
17677
|
|
|
17667
|
-
var _excluded$
|
|
17678
|
+
var _excluded$x = ["expanded"];
|
|
17668
17679
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17669
17680
|
var _ref$expanded = _ref.expanded,
|
|
17670
17681
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
17671
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17682
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
17672
17683
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
17673
17684
|
ref: ref,
|
|
17674
17685
|
viewBox: "0 0 24 24"
|
|
@@ -17790,7 +17801,7 @@
|
|
|
17790
17801
|
});
|
|
17791
17802
|
StyledTextarea.displayName = "StyledTextarea";
|
|
17792
17803
|
|
|
17793
|
-
var _excluded$
|
|
17804
|
+
var _excluded$w = ["className", "disabled", "invalid", "mode"];
|
|
17794
17805
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17795
17806
|
var className = _ref.className,
|
|
17796
17807
|
_ref$disabled = _ref.disabled,
|
|
@@ -17799,7 +17810,7 @@
|
|
|
17799
17810
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
17800
17811
|
_ref$mode = _ref.mode,
|
|
17801
17812
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
17802
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17813
|
+
rest = _objectWithoutProperties(_ref, _excluded$w);
|
|
17803
17814
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
17804
17815
|
$invalid: invalid,
|
|
17805
17816
|
ref: ref,
|
|
@@ -17905,7 +17916,7 @@
|
|
|
17905
17916
|
})(["@media (min-width:640px){display:none;}"]);
|
|
17906
17917
|
StyledHeader$1.displayName = "StyledHeader";
|
|
17907
17918
|
|
|
17908
|
-
var _excluded$
|
|
17919
|
+
var _excluded$v = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
17909
17920
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17910
17921
|
var children = _ref.children,
|
|
17911
17922
|
onClose = _ref.onClose,
|
|
@@ -17929,7 +17940,7 @@
|
|
|
17929
17940
|
bodyClassName = _ref.bodyClassName,
|
|
17930
17941
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
17931
17942
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
17932
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17943
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
17933
17944
|
var _useState = React.useState(defaultOpen),
|
|
17934
17945
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17935
17946
|
open = _useState2[0],
|
|
@@ -18049,13 +18060,13 @@
|
|
|
18049
18060
|
});
|
|
18050
18061
|
StyledHeader.displayName = "StyledHeader";
|
|
18051
18062
|
|
|
18052
|
-
var _excluded$
|
|
18063
|
+
var _excluded$u = ["className", "size", "children"];
|
|
18053
18064
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
18054
18065
|
var className = _ref.className,
|
|
18055
18066
|
_ref$size = _ref.size,
|
|
18056
18067
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
18057
18068
|
children = _ref.children,
|
|
18058
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18069
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
18059
18070
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
18060
18071
|
type: "paper-2",
|
|
18061
18072
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -18071,7 +18082,7 @@
|
|
|
18071
18082
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
18072
18083
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
18073
18084
|
|
|
18074
|
-
var _excluded$
|
|
18085
|
+
var _excluded$t = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value", "mode"];
|
|
18075
18086
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
18076
18087
|
var _ref$minRows = _ref.minRows,
|
|
18077
18088
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -18089,7 +18100,7 @@
|
|
|
18089
18100
|
value = _ref.value,
|
|
18090
18101
|
_ref$mode = _ref.mode,
|
|
18091
18102
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
18092
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
18103
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
18093
18104
|
var innerRef = React.useRef(null);
|
|
18094
18105
|
var _useState = React.useState(minRows),
|
|
18095
18106
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -18366,7 +18377,7 @@
|
|
|
18366
18377
|
});
|
|
18367
18378
|
StyledChoose.displayName = "StyledChoose";
|
|
18368
18379
|
|
|
18369
|
-
var _excluded$
|
|
18380
|
+
var _excluded$s = ["children", "disabled", "active", "className"];
|
|
18370
18381
|
/**
|
|
18371
18382
|
* Choose component
|
|
18372
18383
|
*/
|
|
@@ -18377,7 +18388,7 @@
|
|
|
18377
18388
|
_ref$active = _ref.active,
|
|
18378
18389
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
18379
18390
|
className = _ref.className,
|
|
18380
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
18391
|
+
args = _objectWithoutProperties(_ref, _excluded$s);
|
|
18381
18392
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
18382
18393
|
disabled: disabled,
|
|
18383
18394
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -18473,21 +18484,21 @@
|
|
|
18473
18484
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
18474
18485
|
StyledLink.displayName = "StyledLink";
|
|
18475
18486
|
|
|
18476
|
-
var _excluded$
|
|
18487
|
+
var _excluded$r = ["children", "className"];
|
|
18477
18488
|
/**
|
|
18478
18489
|
* Back link component
|
|
18479
18490
|
*/
|
|
18480
18491
|
var BackLink = function BackLink(_ref) {
|
|
18481
18492
|
var children = _ref.children,
|
|
18482
18493
|
className = _ref.className,
|
|
18483
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
18494
|
+
args = _objectWithoutProperties(_ref, _excluded$r);
|
|
18484
18495
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
18485
18496
|
className: classNames__default["default"]("c-back-link", className)
|
|
18486
18497
|
}, args), children);
|
|
18487
18498
|
};
|
|
18488
18499
|
BackLink.displayName = "BackLink";
|
|
18489
18500
|
|
|
18490
|
-
var _excluded$
|
|
18501
|
+
var _excluded$q = ["as", "children", "variant", "size", "disabled", "className"];
|
|
18491
18502
|
/**
|
|
18492
18503
|
* Link component
|
|
18493
18504
|
*/
|
|
@@ -18500,7 +18511,7 @@
|
|
|
18500
18511
|
_ref$disabled = _ref.disabled,
|
|
18501
18512
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
18502
18513
|
className = _ref.className,
|
|
18503
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
18514
|
+
args = _objectWithoutProperties(_ref, _excluded$q);
|
|
18504
18515
|
var Component = as || "a";
|
|
18505
18516
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
18506
18517
|
ref: ref,
|
|
@@ -19404,7 +19415,7 @@
|
|
|
19404
19415
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
19405
19416
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
19406
19417
|
|
|
19407
|
-
var _excluded$
|
|
19418
|
+
var _excluded$p = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
19408
19419
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19409
19420
|
var text = _ref.text,
|
|
19410
19421
|
type = _ref.type,
|
|
@@ -19415,7 +19426,7 @@
|
|
|
19415
19426
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
19416
19427
|
_ref$timeout = _ref.timeout,
|
|
19417
19428
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
19418
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19429
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
19419
19430
|
var handleOnClose = React.useCallback(function () {
|
|
19420
19431
|
if (typeof onClose === "function") {
|
|
19421
19432
|
onClose();
|
|
@@ -19463,7 +19474,7 @@
|
|
|
19463
19474
|
});
|
|
19464
19475
|
StyledValueButton.displayName = "StyledValueButton";
|
|
19465
19476
|
|
|
19466
|
-
var _excluded$
|
|
19477
|
+
var _excluded$o = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
19467
19478
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19468
19479
|
var _ref$active = _ref.active,
|
|
19469
19480
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -19472,7 +19483,7 @@
|
|
|
19472
19483
|
icon = _ref.icon,
|
|
19473
19484
|
label = _ref.label,
|
|
19474
19485
|
value = _ref.value,
|
|
19475
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
19486
|
+
args = _objectWithoutProperties(_ref, _excluded$o);
|
|
19476
19487
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
19477
19488
|
className: "c-value-button"
|
|
19478
19489
|
}, args, {
|
|
@@ -19540,7 +19551,7 @@
|
|
|
19540
19551
|
});
|
|
19541
19552
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
19542
19553
|
|
|
19543
|
-
var _excluded$
|
|
19554
|
+
var _excluded$n = ["children", "type", "size", "invalid", "open", "endAdornment", "typographyProps", "mode"];
|
|
19544
19555
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19545
19556
|
var children = _ref.children,
|
|
19546
19557
|
_ref$type = _ref.type,
|
|
@@ -19555,7 +19566,7 @@
|
|
|
19555
19566
|
typographyProps = _ref.typographyProps,
|
|
19556
19567
|
_ref$mode = _ref.mode,
|
|
19557
19568
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
19558
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19569
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
19559
19570
|
var variant = React.useMemo(function () {
|
|
19560
19571
|
if (size === "big") {
|
|
19561
19572
|
return "Body 1";
|
|
@@ -19586,7 +19597,7 @@
|
|
|
19586
19597
|
});
|
|
19587
19598
|
SelectTrigger.displayName = "SelectTrigger";
|
|
19588
19599
|
|
|
19589
|
-
var _excluded$
|
|
19600
|
+
var _excluded$m = ["mode", "selected", "min", "max", "onChange", "target", "triggerMode", "step"];
|
|
19590
19601
|
var renderOption = function renderOption(option) {
|
|
19591
19602
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
19592
19603
|
id: option.id
|
|
@@ -19605,7 +19616,7 @@
|
|
|
19605
19616
|
triggerMode = _ref.triggerMode,
|
|
19606
19617
|
_ref$step = _ref.step,
|
|
19607
19618
|
step = _ref$step === void 0 ? 15 : _ref$step,
|
|
19608
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19619
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
19609
19620
|
var generateTimeOptions = function generateTimeOptions() {
|
|
19610
19621
|
var minTime = moment__default["default"](isValidTime(min) ? min : "00:00", "HH:mm");
|
|
19611
19622
|
var maxTime = moment__default["default"](isValidTime(max) ? max : "23:45", "HH:mm");
|
|
@@ -19680,11 +19691,11 @@
|
|
|
19680
19691
|
});
|
|
19681
19692
|
StyledToggle.displayName = "StyledToggle";
|
|
19682
19693
|
|
|
19683
|
-
var _excluded$
|
|
19694
|
+
var _excluded$l = ["hovered", "className"];
|
|
19684
19695
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19685
19696
|
var hovered = _ref.hovered,
|
|
19686
19697
|
className = _ref.className,
|
|
19687
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
19698
|
+
args = _objectWithoutProperties(_ref, _excluded$l);
|
|
19688
19699
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
19689
19700
|
className: classNames__default["default"]("c-toggle", className),
|
|
19690
19701
|
$isHovered: hovered,
|
|
@@ -19712,11 +19723,11 @@
|
|
|
19712
19723
|
})(["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
19724
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
19714
19725
|
|
|
19715
|
-
var _excluded$
|
|
19726
|
+
var _excluded$k = ["text", "className"];
|
|
19716
19727
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
19717
19728
|
var text = _ref.text,
|
|
19718
19729
|
className = _ref.className,
|
|
19719
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19730
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
19720
19731
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
19721
19732
|
ref: ref,
|
|
19722
19733
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -19841,7 +19852,7 @@
|
|
|
19841
19852
|
});
|
|
19842
19853
|
StyledProgressRingPercentage.displayName = "StyledProgressRingPercentage";
|
|
19843
19854
|
|
|
19844
|
-
var _excluded$
|
|
19855
|
+
var _excluded$j = ["className", "children"];
|
|
19845
19856
|
var ProgressCircle = function ProgressCircle(_ref) {
|
|
19846
19857
|
var backgroundColor = _ref.backgroundColor,
|
|
19847
19858
|
progressColor = _ref.progressColor,
|
|
@@ -19918,7 +19929,7 @@
|
|
|
19918
19929
|
var ProgressRing = function ProgressRing(_ref2) {
|
|
19919
19930
|
var className = _ref2.className,
|
|
19920
19931
|
children = _ref2.children,
|
|
19921
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
19932
|
+
rest = _objectWithoutProperties(_ref2, _excluded$j);
|
|
19922
19933
|
return /*#__PURE__*/React__default["default"].createElement(StyledWrapper, {
|
|
19923
19934
|
className: classNames__default["default"](className),
|
|
19924
19935
|
"data-testid": "progress-ring"
|
|
@@ -19926,11 +19937,11 @@
|
|
|
19926
19937
|
};
|
|
19927
19938
|
ProgressRing.displayName = "ProgressRing";
|
|
19928
19939
|
|
|
19929
|
-
var _excluded$
|
|
19940
|
+
var _excluded$i = ["radius"];
|
|
19930
19941
|
var ProgressPie = function ProgressPie(_ref) {
|
|
19931
19942
|
var _ref$radius = _ref.radius,
|
|
19932
19943
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
19933
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
19944
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
19934
19945
|
return /*#__PURE__*/React__default["default"].createElement(ProgressCircle, _extends({}, rest, {
|
|
19935
19946
|
stroke: radius,
|
|
19936
19947
|
radius: radius
|
|
@@ -20254,7 +20265,7 @@
|
|
|
20254
20265
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
20255
20266
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
20256
20267
|
|
|
20257
|
-
var _excluded$
|
|
20268
|
+
var _excluded$h = ["invalid", "required", "size", "children", "className", "weight", "htmlFor"];
|
|
20258
20269
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
20259
20270
|
var _ref$invalid = _ref.invalid,
|
|
20260
20271
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -20267,7 +20278,7 @@
|
|
|
20267
20278
|
_ref$weight = _ref.weight,
|
|
20268
20279
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
20269
20280
|
htmlFor = _ref.htmlFor,
|
|
20270
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20281
|
+
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
20271
20282
|
var color = invalid ? "alert" : "primary";
|
|
20272
20283
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
20273
20284
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -20324,7 +20335,7 @@
|
|
|
20324
20335
|
});
|
|
20325
20336
|
StyledInput$1.displayName = "StyledInput";
|
|
20326
20337
|
|
|
20327
|
-
var _excluded$
|
|
20338
|
+
var _excluded$g = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef", "children"];
|
|
20328
20339
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
20329
20340
|
var className = _ref.className,
|
|
20330
20341
|
_ref$variant = _ref.variant,
|
|
@@ -20335,7 +20346,7 @@
|
|
|
20335
20346
|
inputProps = _ref.inputProps,
|
|
20336
20347
|
wrapRef = _ref.wrapRef,
|
|
20337
20348
|
children = _ref.children,
|
|
20338
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20349
|
+
props = _objectWithoutProperties(_ref, _excluded$g);
|
|
20339
20350
|
var intInputRef = React.useRef(null);
|
|
20340
20351
|
var handleRef = useForkRef(ref, intInputRef);
|
|
20341
20352
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -20366,14 +20377,14 @@
|
|
|
20366
20377
|
});
|
|
20367
20378
|
EditableContent.displayName = "EditableContent";
|
|
20368
20379
|
|
|
20369
|
-
var _excluded$
|
|
20380
|
+
var _excluded$f = ["onSave", "onCancel", "value", "inputProps", "allowEmptyString"];
|
|
20370
20381
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
20371
20382
|
var onSave = _ref.onSave,
|
|
20372
20383
|
onCancel = _ref.onCancel,
|
|
20373
20384
|
value = _ref.value,
|
|
20374
20385
|
inputProps = _ref.inputProps,
|
|
20375
20386
|
allowEmptyString = _ref.allowEmptyString,
|
|
20376
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20387
|
+
props = _objectWithoutProperties(_ref, _excluded$f);
|
|
20377
20388
|
var _useState = React.useState(value),
|
|
20378
20389
|
_useState2 = _slicedToArray(_useState, 2),
|
|
20379
20390
|
currentValue = _useState2[0],
|
|
@@ -20431,7 +20442,7 @@
|
|
|
20431
20442
|
});
|
|
20432
20443
|
EditableText.displayName = "EditableText";
|
|
20433
20444
|
|
|
20434
|
-
var _excluded$
|
|
20445
|
+
var _excluded$e = ["value", "onCancel", "onSave", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onEnterKeyPress", "inputProps", "onClick", "ticking", "onFocus"];
|
|
20435
20446
|
var StyledEditableContent = styled__default["default"](EditableContent).withConfig({
|
|
20436
20447
|
displayName: "EditableHours__StyledEditableContent",
|
|
20437
20448
|
componentId: "sc-nvi34j-0"
|
|
@@ -20458,7 +20469,7 @@
|
|
|
20458
20469
|
externalOnClick = _ref2.onClick,
|
|
20459
20470
|
ticking = _ref2.ticking,
|
|
20460
20471
|
onFocus = _ref2.onFocus,
|
|
20461
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
20472
|
+
rest = _objectWithoutProperties(_ref2, _excluded$e);
|
|
20462
20473
|
var inputRef = React.useRef(null);
|
|
20463
20474
|
var handleRef = useForkRef(ref, inputRef);
|
|
20464
20475
|
var _useInputHours = useInputHours({
|
|
@@ -20532,7 +20543,7 @@
|
|
|
20532
20543
|
});
|
|
20533
20544
|
EditableHours.displayName = "EditableHours";
|
|
20534
20545
|
|
|
20535
|
-
var _excluded$
|
|
20546
|
+
var _excluded$d = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "step", "thousandSeparator", "value", "onSave", "onCancel", "className", "allowEmptyValue", "onEnterKeyPress", "onClick", "onChange", "trimDecimals", "min", "max"];
|
|
20536
20547
|
var EditableCurrency = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
20537
20548
|
var _ref$decimalLength = _ref.decimalLength,
|
|
20538
20549
|
decimalLength = _ref$decimalLength === void 0 ? 2 : _ref$decimalLength,
|
|
@@ -20559,7 +20570,7 @@
|
|
|
20559
20570
|
trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
|
|
20560
20571
|
min = _ref.min,
|
|
20561
20572
|
max = _ref.max,
|
|
20562
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
20573
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
20563
20574
|
var inputRef = React.useRef(null);
|
|
20564
20575
|
var handleRef = useForkRef(ref, inputRef);
|
|
20565
20576
|
var _useInputNumber = useInputNumber({
|
|
@@ -20612,11 +20623,11 @@
|
|
|
20612
20623
|
});
|
|
20613
20624
|
EditableCurrency.displayName = "EditableCurrency";
|
|
20614
20625
|
|
|
20615
|
-
var _excluded$
|
|
20626
|
+
var _excluded$c = ["withDocuments"];
|
|
20616
20627
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
20617
20628
|
var _ref$withDocuments = _ref.withDocuments,
|
|
20618
20629
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
20619
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20630
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
20620
20631
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
20621
20632
|
width: 100,
|
|
20622
20633
|
height: 100,
|
|
@@ -20759,7 +20770,7 @@
|
|
|
20759
20770
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
20760
20771
|
});
|
|
20761
20772
|
|
|
20762
|
-
var _excluded$
|
|
20773
|
+
var _excluded$b = ["children", "gap", "renderAs"];
|
|
20763
20774
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
20764
20775
|
renderAs: "grid"
|
|
20765
20776
|
});
|
|
@@ -20768,7 +20779,7 @@
|
|
|
20768
20779
|
gap = _ref.gap,
|
|
20769
20780
|
_ref$renderAs = _ref.renderAs,
|
|
20770
20781
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
20771
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
20782
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
20772
20783
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
20773
20784
|
value: {
|
|
20774
20785
|
renderAs: renderAs
|
|
@@ -20780,14 +20791,14 @@
|
|
|
20780
20791
|
};
|
|
20781
20792
|
EntityGroup.displayName = "EntityGroup";
|
|
20782
20793
|
|
|
20783
|
-
var _excluded$
|
|
20794
|
+
var _excluded$a = ["children", "isCollection", "background", "className", "as"];
|
|
20784
20795
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
20785
20796
|
var children = _ref.children,
|
|
20786
20797
|
isCollection = _ref.isCollection,
|
|
20787
20798
|
background = _ref.background,
|
|
20788
20799
|
className = _ref.className,
|
|
20789
20800
|
as = _ref.as,
|
|
20790
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
20801
|
+
rest = _objectWithoutProperties(_ref, _excluded$a);
|
|
20791
20802
|
var _useContext = React.useContext(EntityGroupContext),
|
|
20792
20803
|
renderAs = _useContext.renderAs;
|
|
20793
20804
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -20806,13 +20817,13 @@
|
|
|
20806
20817
|
});
|
|
20807
20818
|
EntityCard.displayName = "EntityCard";
|
|
20808
20819
|
|
|
20809
|
-
var _excluded$
|
|
20820
|
+
var _excluded$9 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
20810
20821
|
var EntityProperty = function EntityProperty(_ref) {
|
|
20811
20822
|
var listOrder = _ref.listOrder,
|
|
20812
20823
|
listWidth = _ref.listWidth,
|
|
20813
20824
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
20814
20825
|
className = _ref.className,
|
|
20815
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20826
|
+
props = _objectWithoutProperties(_ref, _excluded$9);
|
|
20816
20827
|
var _useContext = React.useContext(EntityGroupContext),
|
|
20817
20828
|
renderAs = _useContext.renderAs;
|
|
20818
20829
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -20827,10 +20838,10 @@
|
|
|
20827
20838
|
};
|
|
20828
20839
|
EntityProperty.displayName = "EntityProperty";
|
|
20829
20840
|
|
|
20830
|
-
var _excluded$
|
|
20841
|
+
var _excluded$8 = ["children"];
|
|
20831
20842
|
var EntitySeparator = function EntitySeparator(_ref) {
|
|
20832
20843
|
var children = _ref.children,
|
|
20833
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
20844
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
20834
20845
|
return /*#__PURE__*/React__default["default"].createElement(_StyledDiv, rest, children);
|
|
20835
20846
|
};
|
|
20836
20847
|
var _StyledDiv = styled__default["default"]("div").withConfig({
|
|
@@ -20977,7 +20988,7 @@
|
|
|
20977
20988
|
}), children);
|
|
20978
20989
|
};
|
|
20979
20990
|
|
|
20980
|
-
var _excluded$
|
|
20991
|
+
var _excluded$7 = ["id", "title", "submenu", "searchPlaceholder", "disableInternalSort", "isSingleSelect", "defaultValue"];
|
|
20981
20992
|
var Filter = function Filter(_ref) {
|
|
20982
20993
|
var data = _ref.data,
|
|
20983
20994
|
_ref$selected = _ref.selected,
|
|
@@ -21144,7 +21155,7 @@
|
|
|
21144
21155
|
disableInternalSort = _ref2.disableInternalSort,
|
|
21145
21156
|
isSingleSelect = _ref2.isSingleSelect,
|
|
21146
21157
|
defaultValue = _ref2.defaultValue,
|
|
21147
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
21158
|
+
rest = _objectWithoutProperties(_ref2, _excluded$7);
|
|
21148
21159
|
return /*#__PURE__*/React__default["default"].createElement(SlideLeftRightTransition, {
|
|
21149
21160
|
key: "filter-submenu-".concat(index),
|
|
21150
21161
|
in: menu === id,
|
|
@@ -21364,7 +21375,7 @@
|
|
|
21364
21375
|
return props.size + "px";
|
|
21365
21376
|
});
|
|
21366
21377
|
|
|
21367
|
-
var _excluded$
|
|
21378
|
+
var _excluded$6 = ["limit", "size", "children", "hasTooltip"];
|
|
21368
21379
|
var AvatarGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
21369
21380
|
var _Children$toArray;
|
|
21370
21381
|
var limit = _ref.limit,
|
|
@@ -21373,7 +21384,7 @@
|
|
|
21373
21384
|
children = _ref.children,
|
|
21374
21385
|
_ref$hasTooltip = _ref.hasTooltip,
|
|
21375
21386
|
hasTooltip = _ref$hasTooltip === void 0 ? false : _ref$hasTooltip,
|
|
21376
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21387
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
21377
21388
|
// always display counter with min +2 as +1 can takes space of an 1 more Avatar
|
|
21378
21389
|
var minChildren = React.Children.count(children) - limit > 1 ? false : true;
|
|
21379
21390
|
// gap between Avatars
|
|
@@ -21539,14 +21550,14 @@
|
|
|
21539
21550
|
return React.useContext(SearchContext);
|
|
21540
21551
|
};
|
|
21541
21552
|
|
|
21542
|
-
var _excluded$
|
|
21553
|
+
var _excluded$5 = ["title", "renderIcon", "className", "index", "as"];
|
|
21543
21554
|
var CommandPaletteCommandItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
21544
21555
|
var title = _ref.title,
|
|
21545
21556
|
renderIcon = _ref.renderIcon,
|
|
21546
21557
|
className = _ref.className,
|
|
21547
21558
|
index = _ref.index,
|
|
21548
21559
|
as = _ref.as,
|
|
21549
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21560
|
+
rest = _objectWithoutProperties(_ref, _excluded$5);
|
|
21550
21561
|
var Component = as || "a";
|
|
21551
21562
|
var icon = renderIcon();
|
|
21552
21563
|
var _useSelectedContext = useSelectedContext(),
|
|
@@ -21715,7 +21726,7 @@
|
|
|
21715
21726
|
return "";
|
|
21716
21727
|
};
|
|
21717
21728
|
|
|
21718
|
-
var _excluded$
|
|
21729
|
+
var _excluded$4 = ["title", "renderIcon", "className", "index", "loading", "as"];
|
|
21719
21730
|
var generateRandomWidth = function generateRandomWidth() {
|
|
21720
21731
|
// generate range 30-80
|
|
21721
21732
|
var randomNum = Math.round(Math.random() * 30 + 30);
|
|
@@ -21728,7 +21739,7 @@
|
|
|
21728
21739
|
index = _ref.index,
|
|
21729
21740
|
loading = _ref.loading,
|
|
21730
21741
|
as = _ref.as,
|
|
21731
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21742
|
+
rest = _objectWithoutProperties(_ref, _excluded$4);
|
|
21732
21743
|
var Component = as || "a";
|
|
21733
21744
|
var icon = renderIcon && renderIcon();
|
|
21734
21745
|
var _useSelectedContext = useSelectedContext(),
|
|
@@ -21818,7 +21829,7 @@
|
|
|
21818
21829
|
});
|
|
21819
21830
|
};
|
|
21820
21831
|
|
|
21821
|
-
var _excluded$
|
|
21832
|
+
var _excluded$3 = ["children", "onChangeSearch", "search", "mode", "setMode", "loading", "idModeEnabled"];
|
|
21822
21833
|
var _CommandPalette = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
21823
21834
|
var children = _ref.children,
|
|
21824
21835
|
onChangeSearch = _ref.onChangeSearch,
|
|
@@ -21828,7 +21839,7 @@
|
|
|
21828
21839
|
loading = _ref.loading,
|
|
21829
21840
|
_ref$idModeEnabled = _ref.idModeEnabled,
|
|
21830
21841
|
idModeEnabled = _ref$idModeEnabled === void 0 ? false : _ref$idModeEnabled,
|
|
21831
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
21842
|
+
rest = _objectWithoutProperties(_ref, _excluded$3);
|
|
21832
21843
|
var _useState = React.useState(0),
|
|
21833
21844
|
_useState2 = _slicedToArray(_useState, 2),
|
|
21834
21845
|
selected = _useState2[0],
|
|
@@ -21993,25 +22004,25 @@
|
|
|
21993
22004
|
componentId: "sc-jfbqky-5"
|
|
21994
22005
|
})(["margin-block-start:24px;display:flex;flex-direction:column;gap:12px;align-items:center;", "{flex-direction:row;}"], screen.lg);
|
|
21995
22006
|
|
|
21996
|
-
var _excluded$
|
|
22007
|
+
var _excluded$2 = ["children"];
|
|
21997
22008
|
|
|
21998
22009
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
21999
22010
|
|
|
22000
22011
|
var EmptySlateFooter = function EmptySlateFooter(_ref) {
|
|
22001
22012
|
var children = _ref.children,
|
|
22002
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
22013
|
+
rest = _objectWithoutProperties(_ref, _excluded$2);
|
|
22003
22014
|
return /*#__PURE__*/React__default["default"].createElement(FooterContainer, rest, children);
|
|
22004
22015
|
};
|
|
22005
22016
|
EmptySlateFooter.displayName = "EmptySlateFooter";
|
|
22006
22017
|
|
|
22007
|
-
var _excluded = ["title", "description", "src", "alt", "children"];
|
|
22018
|
+
var _excluded$1 = ["title", "description", "src", "alt", "children"];
|
|
22008
22019
|
var EmptySlate = function EmptySlate(_ref) {
|
|
22009
22020
|
var title = _ref.title,
|
|
22010
22021
|
description = _ref.description,
|
|
22011
22022
|
src = _ref.src,
|
|
22012
22023
|
alt = _ref.alt,
|
|
22013
22024
|
children = _ref.children,
|
|
22014
|
-
rest = _objectWithoutProperties(_ref, _excluded);
|
|
22025
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
22015
22026
|
return /*#__PURE__*/React__default["default"].createElement(Container, _extends({}, rest, {
|
|
22016
22027
|
role: "status"
|
|
22017
22028
|
}), /*#__PURE__*/React__default["default"].createElement(StyledImg, {
|
|
@@ -22053,6 +22064,84 @@
|
|
|
22053
22064
|
}
|
|
22054
22065
|
Toolbar.displayName = "Toolbar";
|
|
22055
22066
|
|
|
22067
|
+
var StyledInfoBoxWrapper = styled__default["default"].div.withConfig({
|
|
22068
|
+
displayName: "Styles__StyledInfoBoxWrapper",
|
|
22069
|
+
componentId: "sc-amgpyr-0"
|
|
22070
|
+
})(["gap:4px;width:100%;border-radius:8px;padding-inline:16px;padding-block:12px;background-color:", ";border:1px solid ", ";position:relative;"], function (_ref) {
|
|
22071
|
+
var $color = _ref.$color,
|
|
22072
|
+
$opacity = _ref.$opacity;
|
|
22073
|
+
return $color + $opacity;
|
|
22074
|
+
}, function (_ref2) {
|
|
22075
|
+
var $color = _ref2.$color;
|
|
22076
|
+
return $color;
|
|
22077
|
+
});
|
|
22078
|
+
StyledInfoBoxWrapper.displayName = "StyledInfoBoxWrapper";
|
|
22079
|
+
var StyledInfoBoxHeader = styled__default["default"].div.withConfig({
|
|
22080
|
+
displayName: "Styles__StyledInfoBoxHeader",
|
|
22081
|
+
componentId: "sc-amgpyr-1"
|
|
22082
|
+
})(["display:flex;width:100%;flex-direction:column;gap:", ";"], function (_ref3) {
|
|
22083
|
+
var $hasTitle = _ref3.$hasTitle;
|
|
22084
|
+
return $hasTitle ? "4px" : "none";
|
|
22085
|
+
});
|
|
22086
|
+
StyledInfoBoxHeader.displayName = "StyledInfoBoxHeader";
|
|
22087
|
+
var StyledInfoBoxContainer = styled__default["default"].div.withConfig({
|
|
22088
|
+
displayName: "Styles__StyledInfoBoxContainer",
|
|
22089
|
+
componentId: "sc-amgpyr-2"
|
|
22090
|
+
})(["display:flex;justify-items:space-between;width:100%;gap:8px;"]);
|
|
22091
|
+
StyledInfoBoxContainer.displayName = "StyledInfoBoxContainer";
|
|
22092
|
+
var SyledInfoBoxInnerHeader = styled__default["default"].div.withConfig({
|
|
22093
|
+
displayName: "Styles__SyledInfoBoxInnerHeader",
|
|
22094
|
+
componentId: "sc-amgpyr-3"
|
|
22095
|
+
})(["display:flex;"]);
|
|
22096
|
+
SyledInfoBoxInnerHeader.displayName = "SyledInfoBoxInnerHeader";
|
|
22097
|
+
|
|
22098
|
+
var _excluded = ["type", "children", "showIcon", "icon", "title", "action"];
|
|
22099
|
+
var InfoBox = function InfoBox(_ref) {
|
|
22100
|
+
var _ref$type = _ref.type,
|
|
22101
|
+
type = _ref$type === void 0 ? "default" : _ref$type,
|
|
22102
|
+
children = _ref.children,
|
|
22103
|
+
showIcon = _ref.showIcon,
|
|
22104
|
+
icon = _ref.icon,
|
|
22105
|
+
_ref$title = _ref.title,
|
|
22106
|
+
title = _ref$title === void 0 ? null : _ref$title,
|
|
22107
|
+
_ref$action = _ref.action,
|
|
22108
|
+
action = _ref$action === void 0 ? null : _ref$action,
|
|
22109
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
22110
|
+
var statusColors = {
|
|
22111
|
+
success: colors$1.greenSuccess.color,
|
|
22112
|
+
warning: colors$1.redAlert.color,
|
|
22113
|
+
note: colors$1.yellowWarning.color,
|
|
22114
|
+
default: colors$1.blueSky.color,
|
|
22115
|
+
neutral: colors$1.gray.color
|
|
22116
|
+
};
|
|
22117
|
+
// https://davidwalsh.name/hex-opacity
|
|
22118
|
+
var opacity = "1A";
|
|
22119
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledInfoBoxWrapper, _extends({
|
|
22120
|
+
$color: "".concat(statusColors[type]),
|
|
22121
|
+
$opacity: opacity
|
|
22122
|
+
}, 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, {
|
|
22123
|
+
fill: statusColors[type],
|
|
22124
|
+
width: 18
|
|
22125
|
+
})) : type === "success" ? /*#__PURE__*/React__default["default"].createElement(CheckboxBlankTogglerIcon$1, {
|
|
22126
|
+
fill: statusColors[type],
|
|
22127
|
+
width: 18
|
|
22128
|
+
}) : type === "warning" ? /*#__PURE__*/React__default["default"].createElement(CloseCircleIcon$1, {
|
|
22129
|
+
fill: statusColors[type],
|
|
22130
|
+
width: 18
|
|
22131
|
+
}) : type === "note" || type === "default" ? /*#__PURE__*/React__default["default"].createElement(InfoIcon$1, {
|
|
22132
|
+
fill: statusColors[type],
|
|
22133
|
+
width: 18
|
|
22134
|
+
}) : /*#__PURE__*/React__default["default"].createElement(InfoIcon$1, {
|
|
22135
|
+
fill: statusColors["neutral"],
|
|
22136
|
+
width: 18
|
|
22137
|
+
})), /*#__PURE__*/React__default["default"].createElement(StyledInfoBoxHeader, {
|
|
22138
|
+
$hasTitle: title ? true : false
|
|
22139
|
+
}, /*#__PURE__*/React__default["default"].createElement(SyledInfoBoxInnerHeader, null, typeof title === "string" && title ? /*#__PURE__*/React__default["default"].createElement(Body2, {
|
|
22140
|
+
weight: "bold",
|
|
22141
|
+
lineHeight: "loose"
|
|
22142
|
+
}, title) : title, action), children)));
|
|
22143
|
+
};
|
|
22144
|
+
|
|
22056
22145
|
exports.AccessLogIcon = AccessLogIcon$1;
|
|
22057
22146
|
exports.Accordion = Accordion;
|
|
22058
22147
|
exports.AccordionContext = AccordionContext;
|
|
@@ -22214,6 +22303,7 @@
|
|
|
22214
22303
|
exports.HistoryOfChangesIcon = HistoryOfChangesIcon$1;
|
|
22215
22304
|
exports.IconButton = IconButton;
|
|
22216
22305
|
exports.ImageIcon = ImageIcon$1;
|
|
22306
|
+
exports.InfoBox = InfoBox;
|
|
22217
22307
|
exports.InfoIcon = InfoIcon$1;
|
|
22218
22308
|
exports.InfoSmallIcon = InfoSmallIcon$1;
|
|
22219
22309
|
exports.Input = Input;
|