@activecollab/components 2.0.170 → 2.0.171
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/Display/DisplayCurrency.js +62 -0
- package/dist/cjs/components/Display/DisplayCurrency.js.map +1 -0
- package/dist/cjs/components/Display/DisplayHours.js +60 -0
- package/dist/cjs/components/Display/DisplayHours.js.map +1 -0
- package/dist/cjs/components/Display/DisplayNumber.js +58 -0
- package/dist/cjs/components/Display/DisplayNumber.js.map +1 -0
- package/dist/cjs/components/Display/index.js +39 -0
- package/dist/cjs/components/Display/index.js.map +1 -0
- package/dist/cjs/components/Display/types.js +6 -0
- package/dist/cjs/components/Display/types.js.map +1 -0
- package/dist/cjs/components/index.js +11 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Display/DisplayCurrency.d.ts +7 -0
- package/dist/esm/components/Display/DisplayCurrency.d.ts.map +1 -0
- package/dist/esm/components/Display/DisplayCurrency.js +43 -0
- package/dist/esm/components/Display/DisplayCurrency.js.map +1 -0
- package/dist/esm/components/Display/DisplayHours.d.ts +4 -0
- package/dist/esm/components/Display/DisplayHours.d.ts.map +1 -0
- package/dist/esm/components/Display/DisplayHours.js +43 -0
- package/dist/esm/components/Display/DisplayHours.js.map +1 -0
- package/dist/esm/components/Display/DisplayNumber.d.ts +4 -0
- package/dist/esm/components/Display/DisplayNumber.d.ts.map +1 -0
- package/dist/esm/components/Display/DisplayNumber.js +41 -0
- package/dist/esm/components/Display/DisplayNumber.js.map +1 -0
- package/dist/esm/components/Display/index.d.ts +4 -0
- package/dist/esm/components/Display/index.d.ts.map +1 -0
- package/dist/esm/components/Display/index.js +4 -0
- package/dist/esm/components/Display/index.js.map +1 -0
- package/dist/esm/components/Display/types.d.ts +21 -0
- package/dist/esm/components/Display/types.d.ts.map +1 -0
- package/dist/esm/components/Display/types.js +2 -0
- package/dist/esm/components/Display/types.js.map +1 -0
- package/dist/esm/components/index.d.ts +1 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/index.js +270 -132
- 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
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
203
203
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
204
204
|
|
|
205
|
-
var _excluded$
|
|
205
|
+
var _excluded$1B = ["children", "active", "variant", "size", "className"];
|
|
206
206
|
/**
|
|
207
207
|
* @component Button
|
|
208
208
|
* @description
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
_ref$size = _ref.size,
|
|
233
233
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
234
234
|
className = _ref.className,
|
|
235
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
235
|
+
args = _objectWithoutProperties(_ref, _excluded$1B);
|
|
236
236
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
237
237
|
className: classNames__default["default"]("c-btn", className, {
|
|
238
238
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -306,12 +306,12 @@
|
|
|
306
306
|
AddCrossTinyIcon.displayName = "AddCrossTinyIcon";
|
|
307
307
|
var AddCrossTinyIcon$1 = AddCrossTinyIcon;
|
|
308
308
|
|
|
309
|
-
var _excluded$
|
|
309
|
+
var _excluded$1A = ["className", "disabled"];
|
|
310
310
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
311
311
|
var className = _ref.className,
|
|
312
312
|
_ref$disabled = _ref.disabled,
|
|
313
313
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
314
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
314
|
+
rest = _objectWithoutProperties(_ref, _excluded$1A);
|
|
315
315
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
316
316
|
ref: ref,
|
|
317
317
|
variant: "contained",
|
|
@@ -349,12 +349,12 @@
|
|
|
349
349
|
});
|
|
350
350
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
351
351
|
|
|
352
|
-
var _excluded$
|
|
352
|
+
var _excluded$1z = ["children", "className", "invalid"];
|
|
353
353
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
354
354
|
var children = _ref.children,
|
|
355
355
|
className = _ref.className,
|
|
356
356
|
invalid = _ref.invalid,
|
|
357
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
357
|
+
rest = _objectWithoutProperties(_ref, _excluded$1z);
|
|
358
358
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
359
359
|
ref: ref,
|
|
360
360
|
className: classNames__default["default"]("c-btn-group", className),
|
|
@@ -379,11 +379,11 @@
|
|
|
379
379
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
380
380
|
StyledListSeparator$1.displayName = "StyledListSeparator";
|
|
381
381
|
|
|
382
|
-
var _excluded$
|
|
382
|
+
var _excluded$1y = ["children", "className"];
|
|
383
383
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
384
384
|
var children = _ref.children,
|
|
385
385
|
className = _ref.className,
|
|
386
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
386
|
+
props = _objectWithoutProperties(_ref, _excluded$1y);
|
|
387
387
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
388
388
|
className: classNames__default["default"]("c-list-item", className),
|
|
389
389
|
ref: ref,
|
|
@@ -392,21 +392,21 @@
|
|
|
392
392
|
});
|
|
393
393
|
ListItem.displayName = "ListItem";
|
|
394
394
|
|
|
395
|
-
var _excluded$
|
|
395
|
+
var _excluded$1x = ["className"];
|
|
396
396
|
var ListSeparator = function ListSeparator(_ref) {
|
|
397
397
|
var className = _ref.className,
|
|
398
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
398
|
+
props = _objectWithoutProperties(_ref, _excluded$1x);
|
|
399
399
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator$1, _extends({
|
|
400
400
|
className: classNames__default["default"]("c-list-separator", className)
|
|
401
401
|
}, props));
|
|
402
402
|
};
|
|
403
403
|
ListSeparator.displayName = "ListSeparator";
|
|
404
404
|
|
|
405
|
-
var _excluded$
|
|
405
|
+
var _excluded$1w = ["children", "className"];
|
|
406
406
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
407
407
|
var children = _ref.children,
|
|
408
408
|
className = _ref.className,
|
|
409
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
409
|
+
props = _objectWithoutProperties(_ref, _excluded$1w);
|
|
410
410
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
411
411
|
className: className,
|
|
412
412
|
ref: ref,
|
|
@@ -871,7 +871,7 @@
|
|
|
871
871
|
return size === "big" && styled.css(["width:40px;"]);
|
|
872
872
|
});
|
|
873
873
|
|
|
874
|
-
var _excluded$
|
|
874
|
+
var _excluded$1v = ["children", "className", "variant", "size", "active"];
|
|
875
875
|
|
|
876
876
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
877
877
|
|
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
variant = _ref.variant,
|
|
902
902
|
size = _ref.size,
|
|
903
903
|
active = _ref.active,
|
|
904
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
904
|
+
args = _objectWithoutProperties(_ref, _excluded$1v);
|
|
905
905
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
906
906
|
className: className,
|
|
907
907
|
variant: variant,
|
|
@@ -8375,7 +8375,7 @@
|
|
|
8375
8375
|
}, FontStyle, BoxSizingStyle);
|
|
8376
8376
|
StyledBubble.displayName = "StyledBubble";
|
|
8377
8377
|
|
|
8378
|
-
var _excluded$
|
|
8378
|
+
var _excluded$1u = ["children", "className", "innerRef", "style"];
|
|
8379
8379
|
var Bubble = function Bubble(_ref) {
|
|
8380
8380
|
var children = _ref.children,
|
|
8381
8381
|
className = _ref.className,
|
|
@@ -8383,7 +8383,7 @@
|
|
|
8383
8383
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
8384
8384
|
_ref$style = _ref.style,
|
|
8385
8385
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
8386
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8386
|
+
rest = _objectWithoutProperties(_ref, _excluded$1u);
|
|
8387
8387
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
8388
8388
|
ref: innerRef,
|
|
8389
8389
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -8444,12 +8444,12 @@
|
|
|
8444
8444
|
});
|
|
8445
8445
|
StyledOverlay.displayName = "StyledOverlay";
|
|
8446
8446
|
|
|
8447
|
-
var _excluded$
|
|
8447
|
+
var _excluded$1t = ["className", "disableBackgroundColor"];
|
|
8448
8448
|
var Overlay = function Overlay(_ref) {
|
|
8449
8449
|
var className = _ref.className,
|
|
8450
8450
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
8451
8451
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
8452
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8452
|
+
rest = _objectWithoutProperties(_ref, _excluded$1t);
|
|
8453
8453
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
8454
8454
|
className: classNames__default["default"]("c-overlay", className),
|
|
8455
8455
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -8462,7 +8462,7 @@
|
|
|
8462
8462
|
componentId: "sc-1hgjasy-0"
|
|
8463
8463
|
})(["&[data-popper-reference-hidden]{display:none !important;pointer-events:none !important;}"]);
|
|
8464
8464
|
|
|
8465
|
-
var _excluded$
|
|
8465
|
+
var _excluded$1s = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
|
|
8466
8466
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8467
8467
|
var children = _ref.children,
|
|
8468
8468
|
anchorEl = _ref.anchorEl,
|
|
@@ -8476,7 +8476,7 @@
|
|
|
8476
8476
|
_ref$strategy = _ref.strategy,
|
|
8477
8477
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
8478
8478
|
afterWrite = _ref.afterWrite,
|
|
8479
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8479
|
+
rest = _objectWithoutProperties(_ref, _excluded$1s);
|
|
8480
8480
|
var _useState = React.useState(true),
|
|
8481
8481
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8482
8482
|
exited = _useState2[0],
|
|
@@ -8623,7 +8623,7 @@
|
|
|
8623
8623
|
};
|
|
8624
8624
|
var LayerContext$1 = LayerContext;
|
|
8625
8625
|
|
|
8626
|
-
var _excluded$
|
|
8626
|
+
var _excluded$1r = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
8627
8627
|
var returnFocus = {
|
|
8628
8628
|
preventScroll: true
|
|
8629
8629
|
};
|
|
@@ -8640,7 +8640,7 @@
|
|
|
8640
8640
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
8641
8641
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
8642
8642
|
onClick = _ref.onClick,
|
|
8643
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8643
|
+
rest = _objectWithoutProperties(_ref, _excluded$1r);
|
|
8644
8644
|
var innerRef = React.useRef(null);
|
|
8645
8645
|
var handleRef = useForkRef(innerRef, ref);
|
|
8646
8646
|
var _useLayerContext = useLayerContext(),
|
|
@@ -8951,7 +8951,7 @@
|
|
|
8951
8951
|
});
|
|
8952
8952
|
StyledTypography.displayName = "StyledTypography";
|
|
8953
8953
|
|
|
8954
|
-
var _excluded$
|
|
8954
|
+
var _excluded$1q = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
8955
8955
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8956
8956
|
var _ref$variant = _ref.variant,
|
|
8957
8957
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -8982,7 +8982,7 @@
|
|
|
8982
8982
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
8983
8983
|
className = _ref.className,
|
|
8984
8984
|
children = _ref.children,
|
|
8985
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
8985
|
+
props = _objectWithoutProperties(_ref, _excluded$1q);
|
|
8986
8986
|
var Component = as || "div";
|
|
8987
8987
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
8988
8988
|
as: Component,
|
|
@@ -9005,13 +9005,13 @@
|
|
|
9005
9005
|
});
|
|
9006
9006
|
Typography.displayName = "Typography";
|
|
9007
9007
|
|
|
9008
|
-
var _excluded$
|
|
9008
|
+
var _excluded$1p = ["title", "className", "leftElement", "rightElement"];
|
|
9009
9009
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9010
9010
|
var title = _ref.title,
|
|
9011
9011
|
className = _ref.className,
|
|
9012
9012
|
leftElement = _ref.leftElement,
|
|
9013
9013
|
rightElement = _ref.rightElement,
|
|
9014
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9014
|
+
props = _objectWithoutProperties(_ref, _excluded$1p);
|
|
9015
9015
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
9016
9016
|
className: classNames__default["default"]("c-menu-header", className),
|
|
9017
9017
|
ref: ref
|
|
@@ -9036,11 +9036,11 @@
|
|
|
9036
9036
|
});
|
|
9037
9037
|
MenuHeader.displayName = "MenuHeader";
|
|
9038
9038
|
|
|
9039
|
-
var _excluded$
|
|
9039
|
+
var _excluded$1o = ["children", "className"];
|
|
9040
9040
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9041
9041
|
var children = _ref.children,
|
|
9042
9042
|
className = _ref.className,
|
|
9043
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9043
|
+
props = _objectWithoutProperties(_ref, _excluded$1o);
|
|
9044
9044
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
9045
9045
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
9046
9046
|
ref: ref
|
|
@@ -9048,14 +9048,14 @@
|
|
|
9048
9048
|
});
|
|
9049
9049
|
MenuFooter.displayName = "MenuFooter";
|
|
9050
9050
|
|
|
9051
|
-
var _excluded$
|
|
9051
|
+
var _excluded$1n = ["children", "className", "separator"];
|
|
9052
9052
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
9053
9053
|
var _dimensions$width, _childDimensions$widt;
|
|
9054
9054
|
var children = _ref.children,
|
|
9055
9055
|
className = _ref.className,
|
|
9056
9056
|
_ref$separator = _ref.separator,
|
|
9057
9057
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
9058
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9058
|
+
rest = _objectWithoutProperties(_ref, _excluded$1n);
|
|
9059
9059
|
var internalRef = React.useRef(null);
|
|
9060
9060
|
var listWrapperRef = React.useRef(null);
|
|
9061
9061
|
var olRef = React.useRef(null);
|
|
@@ -9233,12 +9233,12 @@
|
|
|
9233
9233
|
}, value && value > 100 ? 99 + "+" : value);
|
|
9234
9234
|
};
|
|
9235
9235
|
|
|
9236
|
-
var _excluded$
|
|
9236
|
+
var _excluded$1m = ["weight", "children"];
|
|
9237
9237
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9238
9238
|
var _ref$weight = _ref.weight,
|
|
9239
9239
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9240
9240
|
children = _ref.children,
|
|
9241
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9241
|
+
props = _objectWithoutProperties(_ref, _excluded$1m);
|
|
9242
9242
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9243
9243
|
variant: "Body 2",
|
|
9244
9244
|
weight: weight,
|
|
@@ -9348,10 +9348,10 @@
|
|
|
9348
9348
|
};
|
|
9349
9349
|
FromElement.displayName = "FromElement";
|
|
9350
9350
|
|
|
9351
|
-
var _excluded$
|
|
9351
|
+
var _excluded$1l = ["children"];
|
|
9352
9352
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
9353
9353
|
var children = _ref.children,
|
|
9354
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9354
|
+
props = _objectWithoutProperties(_ref, _excluded$1l);
|
|
9355
9355
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
9356
9356
|
timeout: 0
|
|
9357
9357
|
}, props), children);
|
|
@@ -9426,7 +9426,7 @@
|
|
|
9426
9426
|
});
|
|
9427
9427
|
Tooltip.displayName = "Tooltip";
|
|
9428
9428
|
|
|
9429
|
-
var _excluded$
|
|
9429
|
+
var _excluded$1k = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "labelClassName", "disabled"];
|
|
9430
9430
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9431
9431
|
var label = _ref.label,
|
|
9432
9432
|
icon = _ref.icon,
|
|
@@ -9439,7 +9439,7 @@
|
|
|
9439
9439
|
labelClassName = _ref.labelClassName,
|
|
9440
9440
|
_ref$disabled = _ref.disabled,
|
|
9441
9441
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9442
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9442
|
+
args = _objectWithoutProperties(_ref, _excluded$1k);
|
|
9443
9443
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
9444
9444
|
ref: ref,
|
|
9445
9445
|
className: className
|
|
@@ -9819,7 +9819,7 @@
|
|
|
9819
9819
|
};
|
|
9820
9820
|
YearMonthPicker.displayName = "YearMonthPicker";
|
|
9821
9821
|
|
|
9822
|
-
var _excluded$
|
|
9822
|
+
var _excluded$1j = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers", "renderDay"];
|
|
9823
9823
|
var formatWeekdayName = function formatWeekdayName(str) {
|
|
9824
9824
|
return moment__default["default"](str).format("ddd").charAt(0);
|
|
9825
9825
|
};
|
|
@@ -9845,7 +9845,7 @@
|
|
|
9845
9845
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
9846
9846
|
defaultModifiers = _ref.modifiers,
|
|
9847
9847
|
renderDay = _ref.renderDay,
|
|
9848
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9848
|
+
rest = _objectWithoutProperties(_ref, _excluded$1j);
|
|
9849
9849
|
var _useState = React.useState(),
|
|
9850
9850
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9851
9851
|
enteredTo = _useState2[0],
|
|
@@ -10205,13 +10205,13 @@
|
|
|
10205
10205
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
10206
10206
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
10207
10207
|
|
|
10208
|
-
var _excluded$
|
|
10208
|
+
var _excluded$1i = ["className", "children"];
|
|
10209
10209
|
// import { useDialogContext } from "./DialogContext";
|
|
10210
10210
|
|
|
10211
10211
|
var DialogActions = function DialogActions(_ref) {
|
|
10212
10212
|
var className = _ref.className,
|
|
10213
10213
|
children = _ref.children,
|
|
10214
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10214
|
+
rest = _objectWithoutProperties(_ref, _excluded$1i);
|
|
10215
10215
|
// useDialogContext();
|
|
10216
10216
|
|
|
10217
10217
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -10220,13 +10220,13 @@
|
|
|
10220
10220
|
};
|
|
10221
10221
|
DialogActions.displayName = "DialogActions";
|
|
10222
10222
|
|
|
10223
|
-
var _excluded$
|
|
10223
|
+
var _excluded$1h = ["className", "children"];
|
|
10224
10224
|
// import { useDialogContext } from "./DialogContext";
|
|
10225
10225
|
|
|
10226
10226
|
var DialogContent = function DialogContent(_ref) {
|
|
10227
10227
|
var className = _ref.className,
|
|
10228
10228
|
children = _ref.children,
|
|
10229
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10229
|
+
rest = _objectWithoutProperties(_ref, _excluded$1h);
|
|
10230
10230
|
// useDialogContext();
|
|
10231
10231
|
|
|
10232
10232
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -10247,10 +10247,10 @@
|
|
|
10247
10247
|
};
|
|
10248
10248
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
10249
10249
|
|
|
10250
|
-
var _excluded$
|
|
10250
|
+
var _excluded$1g = ["children"];
|
|
10251
10251
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10252
10252
|
var children = _ref.children,
|
|
10253
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10253
|
+
props = _objectWithoutProperties(_ref, _excluded$1g);
|
|
10254
10254
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
10255
10255
|
weight: "bold",
|
|
10256
10256
|
variant: "Header 3",
|
|
@@ -10259,7 +10259,7 @@
|
|
|
10259
10259
|
});
|
|
10260
10260
|
Header3.displayName = "Header3";
|
|
10261
10261
|
|
|
10262
|
-
var _excluded$
|
|
10262
|
+
var _excluded$1f = ["children", "className", "disableDefaultHeading"];
|
|
10263
10263
|
// import { useDialogContext } from "./DialogContext";
|
|
10264
10264
|
|
|
10265
10265
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -10267,7 +10267,7 @@
|
|
|
10267
10267
|
className = _ref.className,
|
|
10268
10268
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
10269
10269
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
10270
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10270
|
+
rest = _objectWithoutProperties(_ref, _excluded$1f);
|
|
10271
10271
|
// useDialogContext();
|
|
10272
10272
|
|
|
10273
10273
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -10296,7 +10296,7 @@
|
|
|
10296
10296
|
function () {});
|
|
10297
10297
|
}
|
|
10298
10298
|
|
|
10299
|
-
var _excluded$
|
|
10299
|
+
var _excluded$1e = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose", "onClickOutside"];
|
|
10300
10300
|
var getHasTransition = function getHasTransition(children) {
|
|
10301
10301
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
10302
10302
|
};
|
|
@@ -10316,7 +10316,7 @@
|
|
|
10316
10316
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
10317
10317
|
onClose = _ref.onClose,
|
|
10318
10318
|
onClickOutside = _ref.onClickOutside,
|
|
10319
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10319
|
+
rest = _objectWithoutProperties(_ref, _excluded$1e);
|
|
10320
10320
|
var _useState = React.useState(defaultOpen),
|
|
10321
10321
|
_useState2 = _slicedToArray(_useState, 2),
|
|
10322
10322
|
open = _useState2[0],
|
|
@@ -10384,7 +10384,7 @@
|
|
|
10384
10384
|
});
|
|
10385
10385
|
Modal.displayName = "Modal";
|
|
10386
10386
|
|
|
10387
|
-
var _excluded$
|
|
10387
|
+
var _excluded$1d = ["in", "children", "style", "timeout"];
|
|
10388
10388
|
var defaultStyle$2 = function defaultStyle(duration) {
|
|
10389
10389
|
return {
|
|
10390
10390
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -10412,7 +10412,7 @@
|
|
|
10412
10412
|
style = _ref.style,
|
|
10413
10413
|
_ref$timeout = _ref.timeout,
|
|
10414
10414
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
10415
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10415
|
+
rest = _objectWithoutProperties(_ref, _excluded$1d);
|
|
10416
10416
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10417
10417
|
appear: true,
|
|
10418
10418
|
in: inProp,
|
|
@@ -10427,7 +10427,7 @@
|
|
|
10427
10427
|
};
|
|
10428
10428
|
Fade.displayName = "Fade";
|
|
10429
10429
|
|
|
10430
|
-
var _excluded$
|
|
10430
|
+
var _excluded$1c = ["in", "children", "style", "timeout", "initialDirection"];
|
|
10431
10431
|
var Slide = function Slide(_ref) {
|
|
10432
10432
|
var _ref$in = _ref.in,
|
|
10433
10433
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -10437,7 +10437,7 @@
|
|
|
10437
10437
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
10438
10438
|
_ref$initialDirection = _ref.initialDirection,
|
|
10439
10439
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
10440
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10440
|
+
rest = _objectWithoutProperties(_ref, _excluded$1c);
|
|
10441
10441
|
var directionSign;
|
|
10442
10442
|
switch (initialDirection) {
|
|
10443
10443
|
case "right":
|
|
@@ -10543,12 +10543,12 @@
|
|
|
10543
10543
|
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;}"]);
|
|
10544
10544
|
});
|
|
10545
10545
|
|
|
10546
|
-
var _excluded$
|
|
10546
|
+
var _excluded$1b = ["children", "direction"];
|
|
10547
10547
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10548
10548
|
var children = _ref.children,
|
|
10549
10549
|
_ref$direction = _ref.direction,
|
|
10550
10550
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10551
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10551
|
+
props = _objectWithoutProperties(_ref, _excluded$1b);
|
|
10552
10552
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10553
10553
|
timeout: 200,
|
|
10554
10554
|
classNames: "c-slide",
|
|
@@ -10591,7 +10591,7 @@
|
|
|
10591
10591
|
};
|
|
10592
10592
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10593
10593
|
|
|
10594
|
-
var _excluded$
|
|
10594
|
+
var _excluded$1a = ["in", "children", "style", "timeout"];
|
|
10595
10595
|
var defaultStyle = function defaultStyle(duration) {
|
|
10596
10596
|
return {
|
|
10597
10597
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -10625,7 +10625,7 @@
|
|
|
10625
10625
|
style = _ref.style,
|
|
10626
10626
|
_ref$timeout = _ref.timeout,
|
|
10627
10627
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10628
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10628
|
+
rest = _objectWithoutProperties(_ref, _excluded$1a);
|
|
10629
10629
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10630
10630
|
appear: true,
|
|
10631
10631
|
in: inProp,
|
|
@@ -10675,7 +10675,7 @@
|
|
|
10675
10675
|
};
|
|
10676
10676
|
Scale.displayName = "Scale";
|
|
10677
10677
|
|
|
10678
|
-
var _excluded$
|
|
10678
|
+
var _excluded$19 = ["children", "open", "onClose", "className", "enableBackgroundClick", "disableCloseOnEsc", "animate", "onClickOutside"];
|
|
10679
10679
|
var _Dialog = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10680
10680
|
var children = _ref.children,
|
|
10681
10681
|
_ref$open = _ref.open,
|
|
@@ -10689,7 +10689,7 @@
|
|
|
10689
10689
|
_ref$animate = _ref.animate,
|
|
10690
10690
|
animate = _ref$animate === void 0 ? "slide" : _ref$animate,
|
|
10691
10691
|
onClickOutside = _ref.onClickOutside,
|
|
10692
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10692
|
+
rest = _objectWithoutProperties(_ref, _excluded$19);
|
|
10693
10693
|
var animateDialog = function animateDialog() {
|
|
10694
10694
|
switch (animate) {
|
|
10695
10695
|
case "fade":
|
|
@@ -12348,10 +12348,10 @@
|
|
|
12348
12348
|
componentId: "sc-1n0a2yl-0"
|
|
12349
12349
|
})(["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);
|
|
12350
12350
|
|
|
12351
|
-
var _excluded$
|
|
12351
|
+
var _excluded$18 = ["className"];
|
|
12352
12352
|
var SkeletonLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12353
12353
|
var className = _ref.className,
|
|
12354
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12354
|
+
rest = _objectWithoutProperties(_ref, _excluded$18);
|
|
12355
12355
|
return /*#__PURE__*/React__default["default"].createElement(StyledSkeletonLoader, _extends({
|
|
12356
12356
|
ref: ref,
|
|
12357
12357
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -12365,10 +12365,10 @@
|
|
|
12365
12365
|
componentId: "sc-1f35d5h-0"
|
|
12366
12366
|
})(["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);
|
|
12367
12367
|
|
|
12368
|
-
var _excluded$
|
|
12368
|
+
var _excluded$17 = ["className"];
|
|
12369
12369
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12370
12370
|
var className = _ref.className,
|
|
12371
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12371
|
+
rest = _objectWithoutProperties(_ref, _excluded$17);
|
|
12372
12372
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
12373
12373
|
ref: ref,
|
|
12374
12374
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -12390,7 +12390,7 @@
|
|
|
12390
12390
|
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);
|
|
12391
12391
|
});
|
|
12392
12392
|
|
|
12393
|
-
var _excluded$
|
|
12393
|
+
var _excluded$16 = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
12394
12394
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12395
12395
|
var _ref$radius = _ref.radius,
|
|
12396
12396
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -12405,7 +12405,7 @@
|
|
|
12405
12405
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
12406
12406
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
12407
12407
|
className = _ref.className,
|
|
12408
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12408
|
+
rest = _objectWithoutProperties(_ref, _excluded$16);
|
|
12409
12409
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
12410
12410
|
ref: ref,
|
|
12411
12411
|
className: className,
|
|
@@ -12444,7 +12444,7 @@
|
|
|
12444
12444
|
});
|
|
12445
12445
|
StyledLinearLoader.displayName = "StyledLinearLoader";
|
|
12446
12446
|
|
|
12447
|
-
var _excluded$
|
|
12447
|
+
var _excluded$15 = ["height", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "animationDuration"];
|
|
12448
12448
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12449
12449
|
var _ref$height = _ref.height,
|
|
12450
12450
|
height = _ref$height === void 0 ? 4 : _ref$height,
|
|
@@ -12456,7 +12456,7 @@
|
|
|
12456
12456
|
activeColorPercentage = _ref$activeColorPerce === void 0 ? "25%" : _ref$activeColorPerce,
|
|
12457
12457
|
_ref$animationDuratio = _ref.animationDuration,
|
|
12458
12458
|
animationDuration = _ref$animationDuratio === void 0 ? 0.75 : _ref$animationDuratio,
|
|
12459
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12459
|
+
rest = _objectWithoutProperties(_ref, _excluded$15);
|
|
12460
12460
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
12461
12461
|
ref: ref,
|
|
12462
12462
|
$height: height,
|
|
@@ -12468,7 +12468,7 @@
|
|
|
12468
12468
|
});
|
|
12469
12469
|
LinearLoader.displayName = "LinearLoader";
|
|
12470
12470
|
|
|
12471
|
-
var _excluded$
|
|
12471
|
+
var _excluded$14 = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
12472
12472
|
var SortDirection = /*#__PURE__*/function (SortDirection) {
|
|
12473
12473
|
SortDirection["None"] = "none";
|
|
12474
12474
|
SortDirection["Asc"] = "asc";
|
|
@@ -12518,7 +12518,7 @@
|
|
|
12518
12518
|
loading = _ref.loading,
|
|
12519
12519
|
_ref$loadingRows = _ref.loadingRows,
|
|
12520
12520
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
12521
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12521
|
+
args = _objectWithoutProperties(_ref, _excluded$14);
|
|
12522
12522
|
var _useState = React.useState(sortDirection),
|
|
12523
12523
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12524
12524
|
columnDirection = _useState2[0],
|
|
@@ -12878,7 +12878,7 @@
|
|
|
12878
12878
|
});
|
|
12879
12879
|
StyledCompleteCheckbox.displayName = "StyledCompleteCheckbox";
|
|
12880
12880
|
|
|
12881
|
-
var _excluded$
|
|
12881
|
+
var _excluded$13 = ["completed", "disabled", "animate", "onClick", "className", "primary", "checkMarkClassName"];
|
|
12882
12882
|
var CompleteCheckbox = function CompleteCheckbox(_ref) {
|
|
12883
12883
|
var _ref$completed = _ref.completed,
|
|
12884
12884
|
completed = _ref$completed === void 0 ? false : _ref$completed,
|
|
@@ -12891,7 +12891,7 @@
|
|
|
12891
12891
|
_ref$primary = _ref.primary,
|
|
12892
12892
|
primary = _ref$primary === void 0 ? false : _ref$primary,
|
|
12893
12893
|
checkMarkClassName = _ref.checkMarkClassName,
|
|
12894
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12894
|
+
rest = _objectWithoutProperties(_ref, _excluded$13);
|
|
12895
12895
|
return /*#__PURE__*/React__default["default"].createElement(StyledCompleteCheckbox, _extends({
|
|
12896
12896
|
onClick: onClick,
|
|
12897
12897
|
className: classNames__default["default"]("c-complete-checkbox", className),
|
|
@@ -12926,7 +12926,7 @@
|
|
|
12926
12926
|
});
|
|
12927
12927
|
StyledPaper.displayName = "StyledPaper";
|
|
12928
12928
|
|
|
12929
|
-
var _excluded
|
|
12929
|
+
var _excluded$12 = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
12930
12930
|
/**
|
|
12931
12931
|
* This is a component description and should sit directly above your component
|
|
12932
12932
|
*/
|
|
@@ -12939,7 +12939,7 @@
|
|
|
12939
12939
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
12940
12940
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
12941
12941
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
12942
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
12942
|
+
rest = _objectWithoutProperties(_ref, _excluded$12);
|
|
12943
12943
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
12944
12944
|
className: classNames__default["default"](className, {
|
|
12945
12945
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -12995,7 +12995,7 @@
|
|
|
12995
12995
|
});
|
|
12996
12996
|
StyledCard.displayName = "StyledCard";
|
|
12997
12997
|
|
|
12998
|
-
var _excluded$
|
|
12998
|
+
var _excluded$11 = ["children", "className", "hoverable", "variant", "onClick"];
|
|
12999
12999
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13000
13000
|
var children = _ref.children,
|
|
13001
13001
|
className = _ref.className,
|
|
@@ -13004,7 +13004,7 @@
|
|
|
13004
13004
|
_ref$variant = _ref.variant,
|
|
13005
13005
|
variant = _ref$variant === void 0 ? "paper-2" : _ref$variant,
|
|
13006
13006
|
onClick = _ref.onClick,
|
|
13007
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13007
|
+
rest = _objectWithoutProperties(_ref, _excluded$11);
|
|
13008
13008
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
13009
13009
|
type: variant,
|
|
13010
13010
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -13085,12 +13085,12 @@
|
|
|
13085
13085
|
});
|
|
13086
13086
|
EntityCard$1.displayName = "EntityCard";
|
|
13087
13087
|
|
|
13088
|
-
var _excluded$
|
|
13088
|
+
var _excluded$10 = ["weight", "children"];
|
|
13089
13089
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13090
13090
|
var _ref$weight = _ref.weight,
|
|
13091
13091
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
13092
13092
|
children = _ref.children,
|
|
13093
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13093
|
+
props = _objectWithoutProperties(_ref, _excluded$10);
|
|
13094
13094
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13095
13095
|
weight: weight,
|
|
13096
13096
|
variant: "Title 1",
|
|
@@ -13099,12 +13099,12 @@
|
|
|
13099
13099
|
});
|
|
13100
13100
|
Title1.displayName = "Title1";
|
|
13101
13101
|
|
|
13102
|
-
var _excluded
|
|
13102
|
+
var _excluded$$ = ["weight", "children"];
|
|
13103
13103
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13104
13104
|
var _ref$weight = _ref.weight,
|
|
13105
13105
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
13106
13106
|
children = _ref.children,
|
|
13107
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
13107
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
13108
13108
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13109
13109
|
weight: weight,
|
|
13110
13110
|
variant: "Title 2",
|
|
@@ -13113,10 +13113,10 @@
|
|
|
13113
13113
|
});
|
|
13114
13114
|
Title2.displayName = "Title2";
|
|
13115
13115
|
|
|
13116
|
-
var _excluded$
|
|
13116
|
+
var _excluded$_ = ["children"];
|
|
13117
13117
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13118
13118
|
var children = _ref.children,
|
|
13119
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13119
|
+
props = _objectWithoutProperties(_ref, _excluded$_);
|
|
13120
13120
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13121
13121
|
weight: "bold",
|
|
13122
13122
|
variant: "Header 2",
|
|
@@ -13125,12 +13125,12 @@
|
|
|
13125
13125
|
});
|
|
13126
13126
|
Header2.displayName = "Header2";
|
|
13127
13127
|
|
|
13128
|
-
var _excluded$
|
|
13128
|
+
var _excluded$Z = ["weight", "children"];
|
|
13129
13129
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13130
13130
|
var _ref$weight = _ref.weight,
|
|
13131
13131
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
13132
13132
|
children = _ref.children,
|
|
13133
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13133
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
13134
13134
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13135
13135
|
variant: "Body 1",
|
|
13136
13136
|
weight: weight,
|
|
@@ -13139,12 +13139,12 @@
|
|
|
13139
13139
|
});
|
|
13140
13140
|
Body1.displayName = "Body1";
|
|
13141
13141
|
|
|
13142
|
-
var _excluded$
|
|
13142
|
+
var _excluded$Y = ["weight", "children"];
|
|
13143
13143
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13144
13144
|
var _ref$weight = _ref.weight,
|
|
13145
13145
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
13146
13146
|
children = _ref.children,
|
|
13147
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13147
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
13148
13148
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13149
13149
|
variant: "Caption 1",
|
|
13150
13150
|
weight: weight,
|
|
@@ -13153,12 +13153,12 @@
|
|
|
13153
13153
|
});
|
|
13154
13154
|
Caption1.displayName = "Caption1";
|
|
13155
13155
|
|
|
13156
|
-
var _excluded$
|
|
13156
|
+
var _excluded$X = ["weight", "children"];
|
|
13157
13157
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13158
13158
|
var _ref$weight = _ref.weight,
|
|
13159
13159
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
13160
13160
|
children = _ref.children,
|
|
13161
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13161
|
+
props = _objectWithoutProperties(_ref, _excluded$X);
|
|
13162
13162
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
13163
13163
|
variant: "Caption 2",
|
|
13164
13164
|
weight: weight,
|
|
@@ -13370,7 +13370,7 @@
|
|
|
13370
13370
|
componentId: "sc-5x2tyd-1"
|
|
13371
13371
|
})(["border-radius:100%;object-fit:cover;"]);
|
|
13372
13372
|
|
|
13373
|
-
var _excluded$
|
|
13373
|
+
var _excluded$W = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
13374
13374
|
/**
|
|
13375
13375
|
* @component Avatar
|
|
13376
13376
|
* @description
|
|
@@ -13405,7 +13405,7 @@
|
|
|
13405
13405
|
className = _ref.className,
|
|
13406
13406
|
imgClassName = _ref.imgClassName,
|
|
13407
13407
|
children = _ref.children,
|
|
13408
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13408
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
13409
13409
|
var _useState = React.useState(false),
|
|
13410
13410
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13411
13411
|
imageLoaded = _useState2[0],
|
|
@@ -13446,13 +13446,13 @@
|
|
|
13446
13446
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
13447
13447
|
});
|
|
13448
13448
|
|
|
13449
|
-
var _excluded$
|
|
13449
|
+
var _excluded$V = ["color", "size", "className"];
|
|
13450
13450
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13451
13451
|
var color = _ref.color,
|
|
13452
13452
|
_ref$size = _ref.size,
|
|
13453
13453
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
13454
13454
|
className = _ref.className,
|
|
13455
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13455
|
+
rest = _objectWithoutProperties(_ref, _excluded$V);
|
|
13456
13456
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
13457
13457
|
className: classNames__default["default"]("c-dot", className),
|
|
13458
13458
|
ref: ref,
|
|
@@ -13489,7 +13489,7 @@
|
|
|
13489
13489
|
});
|
|
13490
13490
|
StyledTagText.displayName = "StyledTagText";
|
|
13491
13491
|
|
|
13492
|
-
var _excluded$
|
|
13492
|
+
var _excluded$U = ["name", "color", "showText", "showDot", "className"];
|
|
13493
13493
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13494
13494
|
var name = _ref.name,
|
|
13495
13495
|
color = _ref.color,
|
|
@@ -13498,7 +13498,7 @@
|
|
|
13498
13498
|
_ref$showDot = _ref.showDot,
|
|
13499
13499
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
13500
13500
|
className = _ref.className,
|
|
13501
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13501
|
+
rest = _objectWithoutProperties(_ref, _excluded$U);
|
|
13502
13502
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
13503
13503
|
className: classNames__default["default"]("c-tag", className),
|
|
13504
13504
|
ref: ref
|
|
@@ -13604,7 +13604,7 @@
|
|
|
13604
13604
|
});
|
|
13605
13605
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
13606
13606
|
|
|
13607
|
-
var _excluded$
|
|
13607
|
+
var _excluded$T = ["children", "active", "disabled", "className", "role"];
|
|
13608
13608
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
13609
13609
|
var children = _ref.children,
|
|
13610
13610
|
_ref$active = _ref.active,
|
|
@@ -13613,7 +13613,7 @@
|
|
|
13613
13613
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
13614
13614
|
className = _ref.className,
|
|
13615
13615
|
role = _ref.role,
|
|
13616
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13616
|
+
rest = _objectWithoutProperties(_ref, _excluded$T);
|
|
13617
13617
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
13618
13618
|
className: classNames__default["default"]("c-nav__item", {
|
|
13619
13619
|
"c-nav__item--active": active
|
|
@@ -13654,11 +13654,11 @@
|
|
|
13654
13654
|
});
|
|
13655
13655
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
13656
13656
|
|
|
13657
|
-
var _excluded$
|
|
13657
|
+
var _excluded$S = ["expanded"];
|
|
13658
13658
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13659
13659
|
var _ref$expanded = _ref.expanded,
|
|
13660
13660
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
13661
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13661
|
+
rest = _objectWithoutProperties(_ref, _excluded$S);
|
|
13662
13662
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
13663
13663
|
ref: ref,
|
|
13664
13664
|
viewBox: "0 0 24 24",
|
|
@@ -13834,7 +13834,7 @@
|
|
|
13834
13834
|
};
|
|
13835
13835
|
OptionContent.displayName = "OptionContent";
|
|
13836
13836
|
|
|
13837
|
-
var _excluded$
|
|
13837
|
+
var _excluded$R = ["mixed", "data-testid"];
|
|
13838
13838
|
|
|
13839
13839
|
/**
|
|
13840
13840
|
* @component CheckboxIcon
|
|
@@ -13858,7 +13858,7 @@
|
|
|
13858
13858
|
var CheckboxIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
13859
13859
|
var mixed = _ref.mixed,
|
|
13860
13860
|
testId = _ref["data-testid"],
|
|
13861
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13861
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
13862
13862
|
// const [animate, setAnimate] = useState(false);
|
|
13863
13863
|
// const mountRef = useRef(false);
|
|
13864
13864
|
|
|
@@ -13952,7 +13952,7 @@
|
|
|
13952
13952
|
});
|
|
13953
13953
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
13954
13954
|
|
|
13955
|
-
var _excluded$
|
|
13955
|
+
var _excluded$Q = ["className", "hover", "id", "mixed", "checked", "onChange", "disabled"];
|
|
13956
13956
|
/**
|
|
13957
13957
|
* Checkbox component
|
|
13958
13958
|
*/
|
|
@@ -13966,7 +13966,7 @@
|
|
|
13966
13966
|
checked = _ref.checked,
|
|
13967
13967
|
onChange = _ref.onChange,
|
|
13968
13968
|
disabled = _ref.disabled,
|
|
13969
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13969
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
13970
13970
|
var _useState = React.useState(mixed && !checked),
|
|
13971
13971
|
_useState2 = _slicedToArray(_useState, 2),
|
|
13972
13972
|
indeterminate = _useState2[0],
|
|
@@ -14131,7 +14131,7 @@
|
|
|
14131
14131
|
})(["overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-right:8px;display:flex;justify-items:center;align-items:center;"]);
|
|
14132
14132
|
StyledOptionWrapper.displayName = "StyledOptionWrapper";
|
|
14133
14133
|
|
|
14134
|
-
var _excluded$
|
|
14134
|
+
var _excluded$P = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick", "mode"];
|
|
14135
14135
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14136
14136
|
var _ref$className = _ref.className,
|
|
14137
14137
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -14150,7 +14150,7 @@
|
|
|
14150
14150
|
wrapperClick = _ref.wrapperClick,
|
|
14151
14151
|
_ref$mode = _ref.mode,
|
|
14152
14152
|
mode = _ref$mode === void 0 ? "outlined" : _ref$mode,
|
|
14153
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14153
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
14154
14154
|
var intInputRef = React.useRef(null);
|
|
14155
14155
|
var handleRef = useForkRef(ref, intInputRef);
|
|
14156
14156
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -14207,14 +14207,14 @@
|
|
|
14207
14207
|
}, StyledRadioLabel);
|
|
14208
14208
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
14209
14209
|
|
|
14210
|
-
var _excluded$
|
|
14210
|
+
var _excluded$O = ["className", "id", "hover"];
|
|
14211
14211
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14212
14212
|
var _ref$className = _ref.className,
|
|
14213
14213
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
14214
14214
|
_ref$id = _ref.id,
|
|
14215
14215
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
14216
14216
|
hover = _ref.hover,
|
|
14217
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
14217
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
14218
14218
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
14219
14219
|
className: classNames__default["default"]("c-radio-btn", {
|
|
14220
14220
|
"c-radio-btn__hover": hover,
|
|
@@ -14362,7 +14362,7 @@
|
|
|
14362
14362
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
14363
14363
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
14364
14364
|
|
|
14365
|
-
var _excluded$
|
|
14365
|
+
var _excluded$N = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
14366
14366
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14367
14367
|
var children = _ref.children,
|
|
14368
14368
|
className = _ref.className,
|
|
@@ -14376,7 +14376,7 @@
|
|
|
14376
14376
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
14377
14377
|
innerColor = _ref.innerColor,
|
|
14378
14378
|
outerColor = _ref.outerColor,
|
|
14379
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14379
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
14380
14380
|
var _useState = React.useState({
|
|
14381
14381
|
top: 0,
|
|
14382
14382
|
right: 0,
|
|
@@ -14726,7 +14726,7 @@
|
|
|
14726
14726
|
};
|
|
14727
14727
|
};
|
|
14728
14728
|
|
|
14729
|
-
var _excluded$
|
|
14729
|
+
var _excluded$M = ["as", "className", "invert", "style"];
|
|
14730
14730
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14731
14731
|
var _ref$as = _ref.as,
|
|
14732
14732
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -14734,7 +14734,7 @@
|
|
|
14734
14734
|
_ref$invert = _ref.invert,
|
|
14735
14735
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
14736
14736
|
style = _ref.style,
|
|
14737
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14737
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
14738
14738
|
var internalRef = useInitScrollRef(null, invert);
|
|
14739
14739
|
var handleRef = useForkRef(internalRef, ref);
|
|
14740
14740
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -15374,7 +15374,7 @@
|
|
|
15374
15374
|
componentId: "sc-9x4q7e-0"
|
|
15375
15375
|
})(["cursor:auto"]);
|
|
15376
15376
|
|
|
15377
|
-
var _excluded$
|
|
15377
|
+
var _excluded$L = ["type", "mode", "target", "options", "selected", "mixed", "position", "onChange", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue", "startAdornment", "endAdornment", "focusInput"];
|
|
15378
15378
|
var Select = function Select(_ref) {
|
|
15379
15379
|
var _ref$type = _ref.type,
|
|
15380
15380
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -15412,7 +15412,7 @@
|
|
|
15412
15412
|
endAdornment = _ref.endAdornment,
|
|
15413
15413
|
_ref$focusInput = _ref.focusInput,
|
|
15414
15414
|
focusInput = _ref$focusInput === void 0 ? false : _ref$focusInput,
|
|
15415
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
15415
|
+
prop = _objectWithoutProperties(_ref, _excluded$L);
|
|
15416
15416
|
if (disableSearch && (startAdornment || endAdornment)) {
|
|
15417
15417
|
console.warn("Adornments are not visible when search bar is hidden");
|
|
15418
15418
|
}
|
|
@@ -15853,7 +15853,7 @@
|
|
|
15853
15853
|
};
|
|
15854
15854
|
Nav.displayName = "Nav";
|
|
15855
15855
|
|
|
15856
|
-
var _excluded$
|
|
15856
|
+
var _excluded$K = ["children", "as", "disablePointerEvents"];
|
|
15857
15857
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
15858
15858
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
15859
15859
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -15871,7 +15871,7 @@
|
|
|
15871
15871
|
var children = _ref.children,
|
|
15872
15872
|
as = _ref.as,
|
|
15873
15873
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
15874
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15874
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
15875
15875
|
var Component = as || "div";
|
|
15876
15876
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
15877
15877
|
as: Component,
|
|
@@ -16109,7 +16109,7 @@
|
|
|
16109
16109
|
};
|
|
16110
16110
|
};
|
|
16111
16111
|
|
|
16112
|
-
var _excluded$
|
|
16112
|
+
var _excluded$J = ["value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "withLeadingZero", "validation", "incrementOnlySelected", "minuteIncrement", "className", "onChange", "onClick", "align"];
|
|
16113
16113
|
var InputHours = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
16114
16114
|
var defaultValue = _ref.value,
|
|
16115
16115
|
onCancel = _ref.onCancel,
|
|
@@ -16129,7 +16129,7 @@
|
|
|
16129
16129
|
externalOnClick = _ref.onClick,
|
|
16130
16130
|
_ref$align = _ref.align,
|
|
16131
16131
|
align = _ref$align === void 0 ? "center" : _ref$align,
|
|
16132
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16132
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
16133
16133
|
var inputRef = React.useRef(null);
|
|
16134
16134
|
var handleRef = useForkRef(ref, inputRef);
|
|
16135
16135
|
var _useInputHours = useInputHours({
|
|
@@ -16168,7 +16168,7 @@
|
|
|
16168
16168
|
});
|
|
16169
16169
|
InputHours.displayName = "InputHours";
|
|
16170
16170
|
|
|
16171
|
-
var _excluded$
|
|
16171
|
+
var _excluded$I = ["decimalLength", "decimalSeparator", "disableAbbreviation", "disabled", "disableMacros", "invalid", "step", "thousandSeparator", "value", "onCancel", "onSave", "onEnterKeyPress", "allowEmptyValue", "onChange", "onClick", "limit", "placeholder", "trimDecimals", "min", "max"];
|
|
16172
16172
|
var InputNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16173
16173
|
var _ref$decimalLength = _ref.decimalLength,
|
|
16174
16174
|
decimalLength = _ref$decimalLength === void 0 ? 2 : _ref$decimalLength,
|
|
@@ -16197,7 +16197,7 @@
|
|
|
16197
16197
|
trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
|
|
16198
16198
|
min = _ref.min,
|
|
16199
16199
|
max = _ref.max,
|
|
16200
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16200
|
+
rest = _objectWithoutProperties(_ref, _excluded$I);
|
|
16201
16201
|
var inputRef = React.useRef(null);
|
|
16202
16202
|
var handleRef = useForkRef(ref, inputRef);
|
|
16203
16203
|
var _useInputNumber = useInputNumber({
|
|
@@ -16246,11 +16246,11 @@
|
|
|
16246
16246
|
});
|
|
16247
16247
|
InputNumber.displayName = "InputNumber";
|
|
16248
16248
|
|
|
16249
|
-
var _excluded$
|
|
16249
|
+
var _excluded$H = ["currency", "size"];
|
|
16250
16250
|
var InputCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16251
16251
|
var currency = _ref.currency,
|
|
16252
16252
|
size = _ref.size,
|
|
16253
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16253
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
16254
16254
|
var variant = React.useMemo(function () {
|
|
16255
16255
|
if (size === "biggest") {
|
|
16256
16256
|
return "Header 2";
|
|
@@ -16275,7 +16275,7 @@
|
|
|
16275
16275
|
});
|
|
16276
16276
|
InputCurrency.displayName = "InputCurrency";
|
|
16277
16277
|
|
|
16278
|
-
var _excluded$
|
|
16278
|
+
var _excluded$G = ["size", "disabled", "show", "hideControl", "showTooltipText", "hideTooltipText", "value", "validation", "errorMessage", "invalid", "onChange"];
|
|
16279
16279
|
var transform = {
|
|
16280
16280
|
biggest: "big",
|
|
16281
16281
|
regular: "small",
|
|
@@ -16368,7 +16368,7 @@
|
|
|
16368
16368
|
errorMessage = _ref2.errorMessage,
|
|
16369
16369
|
invalid = _ref2.invalid,
|
|
16370
16370
|
onChange = _ref2.onChange,
|
|
16371
|
-
rest = _objectWithoutProperties(_ref2, _excluded$
|
|
16371
|
+
rest = _objectWithoutProperties(_ref2, _excluded$G);
|
|
16372
16372
|
var inputRef = React.useRef(null);
|
|
16373
16373
|
var handleRef = useForkRef(ref, inputRef);
|
|
16374
16374
|
var _useState = React.useState(show),
|
|
@@ -16487,7 +16487,7 @@
|
|
|
16487
16487
|
componentId: "sc-1lmb5y-0"
|
|
16488
16488
|
})(["flex-shrink:0"]);
|
|
16489
16489
|
|
|
16490
|
-
var _excluded$
|
|
16490
|
+
var _excluded$F = ["size", "disabled", "value", "onChange", "scheme"];
|
|
16491
16491
|
var defaultOptions = [{
|
|
16492
16492
|
id: "https://",
|
|
16493
16493
|
name: "https://"
|
|
@@ -16503,7 +16503,7 @@
|
|
|
16503
16503
|
defaultValue = _ref$value === void 0 ? "" : _ref$value,
|
|
16504
16504
|
onChange = _ref.onChange,
|
|
16505
16505
|
scheme = _ref.scheme,
|
|
16506
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16506
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
16507
16507
|
var inputRef = React.useRef(null);
|
|
16508
16508
|
var handleRef = useForkRef(ref, inputRef);
|
|
16509
16509
|
var options = React.useMemo(function () {
|
|
@@ -16631,7 +16631,7 @@
|
|
|
16631
16631
|
});
|
|
16632
16632
|
InputUrl.displayName = "InputUrl";
|
|
16633
16633
|
|
|
16634
|
-
var _excluded$
|
|
16634
|
+
var _excluded$E = ["size", "disabled", "value", "onChange", "defaultCountry"];
|
|
16635
16635
|
var renderOption$2 = function renderOption(option, data) {
|
|
16636
16636
|
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, {
|
|
16637
16637
|
checked: data.checked,
|
|
@@ -16647,7 +16647,7 @@
|
|
|
16647
16647
|
onChange = _ref.onChange,
|
|
16648
16648
|
_ref$defaultCountry = _ref.defaultCountry,
|
|
16649
16649
|
defaultCountry = _ref$defaultCountry === void 0 ? "US" : _ref$defaultCountry,
|
|
16650
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16650
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
16651
16651
|
var inputRef = React.useRef(null);
|
|
16652
16652
|
var handleRef = useForkRef(ref, inputRef);
|
|
16653
16653
|
var _useState = React.useState(defaultCountry),
|
|
@@ -16856,12 +16856,12 @@
|
|
|
16856
16856
|
[ref, handler]);
|
|
16857
16857
|
}
|
|
16858
16858
|
|
|
16859
|
-
var _excluded$
|
|
16859
|
+
var _excluded$D = ["children", "type"];
|
|
16860
16860
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
16861
16861
|
var children = _ref.children,
|
|
16862
16862
|
_ref$type = _ref.type,
|
|
16863
16863
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
16864
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16864
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
16865
16865
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
16866
16866
|
ref: ref,
|
|
16867
16867
|
role: "button",
|
|
@@ -16916,7 +16916,7 @@
|
|
|
16916
16916
|
})(["color:var(--color-theme-700);"]);
|
|
16917
16917
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
16918
16918
|
|
|
16919
|
-
var _excluded$
|
|
16919
|
+
var _excluded$C = ["startAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "typographyProps"];
|
|
16920
16920
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
16921
16921
|
var startAdornment = _ref.startAdornment,
|
|
16922
16922
|
label = _ref.label,
|
|
@@ -16927,7 +16927,7 @@
|
|
|
16927
16927
|
backgroundColor = _ref.backgroundColor,
|
|
16928
16928
|
closeClassName = _ref.closeClassName,
|
|
16929
16929
|
typographyProps = _ref.typographyProps,
|
|
16930
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
16930
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
16931
16931
|
var showClose = typeof onClose === "function";
|
|
16932
16932
|
var variant = React.useMemo(function () {
|
|
16933
16933
|
switch (size) {
|
|
@@ -16960,7 +16960,7 @@
|
|
|
16960
16960
|
});
|
|
16961
16961
|
Chip.displayName = "Chip";
|
|
16962
16962
|
|
|
16963
|
-
var _excluded$
|
|
16963
|
+
var _excluded$B = ["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"];
|
|
16964
16964
|
var sizeMap = {
|
|
16965
16965
|
small: 18,
|
|
16966
16966
|
regular: 24,
|
|
@@ -17008,7 +17008,7 @@
|
|
|
17008
17008
|
triggerMode = _ref.triggerMode,
|
|
17009
17009
|
noResultText = _ref.noResultText,
|
|
17010
17010
|
emptyValue = _ref.emptyValue,
|
|
17011
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
17011
|
+
prop = _objectWithoutProperties(_ref, _excluded$B);
|
|
17012
17012
|
var selectedName = React.useMemo(function () {
|
|
17013
17013
|
var value = "";
|
|
17014
17014
|
if (!selected) {
|
|
@@ -17425,7 +17425,7 @@
|
|
|
17425
17425
|
componentId: "sc-uvsz9l-4"
|
|
17426
17426
|
})(["display:flex;justify-content:center;"]);
|
|
17427
17427
|
|
|
17428
|
-
var _excluded$
|
|
17428
|
+
var _excluded$A = ["mode", "selected", "min", "max", "onChange", "step", "size", "className", "placeholder", "triggerMode", "disabled", "invalid"];
|
|
17429
17429
|
nlp__default["default"].plugin(plg__default["default"]);
|
|
17430
17430
|
var StyledInputTimeWrapper = styled__default["default"].div.withConfig({
|
|
17431
17431
|
displayName: "InputTime__StyledInputTimeWrapper",
|
|
@@ -17453,7 +17453,7 @@
|
|
|
17453
17453
|
triggerMode = _ref.triggerMode,
|
|
17454
17454
|
disabled = _ref.disabled,
|
|
17455
17455
|
invalid = _ref.invalid,
|
|
17456
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
17456
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
17457
17457
|
var _useState = React.useState(defaultSelected || ""),
|
|
17458
17458
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17459
17459
|
selected = _useState2[0],
|
|
@@ -17537,6 +17537,141 @@
|
|
|
17537
17537
|
})));
|
|
17538
17538
|
};
|
|
17539
17539
|
|
|
17540
|
+
var _excluded$z = ["value", "variant", "thousandSeparator", "decimalSeparator", "trimDecimals", "decimalSpaces", "format", "disableTooltip", "className", "as"];
|
|
17541
|
+
var DisplayNumber = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17542
|
+
var value = _ref.value,
|
|
17543
|
+
_ref$variant = _ref.variant,
|
|
17544
|
+
variant = _ref$variant === void 0 ? "Body 2" : _ref$variant,
|
|
17545
|
+
_ref$thousandSeparato = _ref.thousandSeparator,
|
|
17546
|
+
thousandSeparator = _ref$thousandSeparato === void 0 ? "," : _ref$thousandSeparato,
|
|
17547
|
+
_ref$decimalSeparator = _ref.decimalSeparator,
|
|
17548
|
+
decimalSeparator = _ref$decimalSeparator === void 0 ? "." : _ref$decimalSeparator,
|
|
17549
|
+
_ref$trimDecimals = _ref.trimDecimals,
|
|
17550
|
+
trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
|
|
17551
|
+
_ref$decimalSpaces = _ref.decimalSpaces,
|
|
17552
|
+
decimalSpaces = _ref$decimalSpaces === void 0 ? 2 : _ref$decimalSpaces,
|
|
17553
|
+
_ref$format = _ref.format,
|
|
17554
|
+
format = _ref$format === void 0 ? "long" : _ref$format,
|
|
17555
|
+
_ref$disableTooltip = _ref.disableTooltip,
|
|
17556
|
+
disableTooltip = _ref$disableTooltip === void 0 ? false : _ref$disableTooltip,
|
|
17557
|
+
className = _ref.className,
|
|
17558
|
+
_ref$as = _ref.as,
|
|
17559
|
+
as = _ref$as === void 0 ? "span" : _ref$as,
|
|
17560
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
17561
|
+
var formattedValue = formatNumber(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, format);
|
|
17562
|
+
var formattedLongValue = formatNumber(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "long");
|
|
17563
|
+
if (format === "short") {
|
|
17564
|
+
return /*#__PURE__*/React__default["default"].createElement(Tooltip, {
|
|
17565
|
+
title: formattedLongValue,
|
|
17566
|
+
disable: disableTooltip || !formattedLongValue.includes(thousandSeparator) && !formattedLongValue.includes(decimalSeparator)
|
|
17567
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
17568
|
+
as: as,
|
|
17569
|
+
variant: variant,
|
|
17570
|
+
className: className,
|
|
17571
|
+
ref: ref
|
|
17572
|
+
}, rest), formattedValue));
|
|
17573
|
+
}
|
|
17574
|
+
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
17575
|
+
as: as,
|
|
17576
|
+
variant: variant,
|
|
17577
|
+
className: className,
|
|
17578
|
+
ref: ref
|
|
17579
|
+
}, rest), formattedLongValue);
|
|
17580
|
+
});
|
|
17581
|
+
DisplayNumber.displayName = "DisplayNumber";
|
|
17582
|
+
|
|
17583
|
+
var _excluded$y = ["value", "variant", "currencyCode", "currencyPosition", "thousandSeparator", "decimalSeparator", "trimDecimals", "decimalSpaces", "format", "disableTooltip", "className", "as"];
|
|
17584
|
+
var DisplayCurrency = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17585
|
+
var value = _ref.value,
|
|
17586
|
+
_ref$variant = _ref.variant,
|
|
17587
|
+
variant = _ref$variant === void 0 ? "Body 2" : _ref$variant,
|
|
17588
|
+
_ref$currencyCode = _ref.currencyCode,
|
|
17589
|
+
currencyCode = _ref$currencyCode === void 0 ? "USD" : _ref$currencyCode,
|
|
17590
|
+
_ref$currencyPosition = _ref.currencyPosition,
|
|
17591
|
+
currencyPosition = _ref$currencyPosition === void 0 ? "right" : _ref$currencyPosition,
|
|
17592
|
+
_ref$thousandSeparato = _ref.thousandSeparator,
|
|
17593
|
+
thousandSeparator = _ref$thousandSeparato === void 0 ? "," : _ref$thousandSeparato,
|
|
17594
|
+
_ref$decimalSeparator = _ref.decimalSeparator,
|
|
17595
|
+
decimalSeparator = _ref$decimalSeparator === void 0 ? "." : _ref$decimalSeparator,
|
|
17596
|
+
_ref$trimDecimals = _ref.trimDecimals,
|
|
17597
|
+
trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
|
|
17598
|
+
_ref$decimalSpaces = _ref.decimalSpaces,
|
|
17599
|
+
decimalSpaces = _ref$decimalSpaces === void 0 ? 2 : _ref$decimalSpaces,
|
|
17600
|
+
_ref$format = _ref.format,
|
|
17601
|
+
format = _ref$format === void 0 ? "long" : _ref$format,
|
|
17602
|
+
_ref$disableTooltip = _ref.disableTooltip,
|
|
17603
|
+
disableTooltip = _ref$disableTooltip === void 0 ? false : _ref$disableTooltip,
|
|
17604
|
+
className = _ref.className,
|
|
17605
|
+
_ref$as = _ref.as,
|
|
17606
|
+
as = _ref$as === void 0 ? "span" : _ref$as,
|
|
17607
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
17608
|
+
var formattedValue = formatCurrency(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "short", currencyCode, currencyPosition);
|
|
17609
|
+
var formattedLongValue = formatCurrency(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "long", currencyCode, currencyPosition);
|
|
17610
|
+
if (format === "short") {
|
|
17611
|
+
return /*#__PURE__*/React__default["default"].createElement(Tooltip, {
|
|
17612
|
+
title: formattedLongValue,
|
|
17613
|
+
disable: disableTooltip || !formattedLongValue.includes(thousandSeparator) && !formattedLongValue.includes(decimalSeparator)
|
|
17614
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
17615
|
+
as: as,
|
|
17616
|
+
variant: variant,
|
|
17617
|
+
className: className,
|
|
17618
|
+
ref: ref
|
|
17619
|
+
}, rest), formattedValue));
|
|
17620
|
+
}
|
|
17621
|
+
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
17622
|
+
as: as,
|
|
17623
|
+
variant: variant,
|
|
17624
|
+
className: className,
|
|
17625
|
+
ref: ref
|
|
17626
|
+
}, rest), formattedLongValue);
|
|
17627
|
+
});
|
|
17628
|
+
DisplayCurrency.displayName = "DisplayCurrency";
|
|
17629
|
+
|
|
17630
|
+
var _excluded$x = ["value", "variant", "thousandSeparator", "decimalSeparator", "trimDecimals", "decimalSpaces", "format", "disableTooltip", "className", "withLeadingZero", "as"];
|
|
17631
|
+
var DisplayHours = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17632
|
+
var value = _ref.value,
|
|
17633
|
+
_ref$variant = _ref.variant,
|
|
17634
|
+
variant = _ref$variant === void 0 ? "Body 2" : _ref$variant,
|
|
17635
|
+
_ref$thousandSeparato = _ref.thousandSeparator,
|
|
17636
|
+
thousandSeparator = _ref$thousandSeparato === void 0 ? "," : _ref$thousandSeparato,
|
|
17637
|
+
_ref$decimalSeparator = _ref.decimalSeparator,
|
|
17638
|
+
decimalSeparator = _ref$decimalSeparator === void 0 ? "." : _ref$decimalSeparator,
|
|
17639
|
+
_ref$trimDecimals = _ref.trimDecimals,
|
|
17640
|
+
trimDecimals = _ref$trimDecimals === void 0 ? true : _ref$trimDecimals,
|
|
17641
|
+
_ref$decimalSpaces = _ref.decimalSpaces,
|
|
17642
|
+
decimalSpaces = _ref$decimalSpaces === void 0 ? 2 : _ref$decimalSpaces,
|
|
17643
|
+
_ref$format = _ref.format,
|
|
17644
|
+
format = _ref$format === void 0 ? "long" : _ref$format,
|
|
17645
|
+
_ref$disableTooltip = _ref.disableTooltip,
|
|
17646
|
+
disableTooltip = _ref$disableTooltip === void 0 ? false : _ref$disableTooltip,
|
|
17647
|
+
className = _ref.className,
|
|
17648
|
+
withLeadingZero = _ref.withLeadingZero,
|
|
17649
|
+
_ref$as = _ref.as,
|
|
17650
|
+
as = _ref$as === void 0 ? "span" : _ref$as,
|
|
17651
|
+
rest = _objectWithoutProperties(_ref, _excluded$x);
|
|
17652
|
+
var formattedValue = formatNumber(value, thousandSeparator, decimalSeparator, trimDecimals, decimalSpaces, "short");
|
|
17653
|
+
var formattedLongValue = formatHours(value, withLeadingZero);
|
|
17654
|
+
var showShortVersion = Number(value) > 1000 || String(value).includes(",") || String(value).includes(".");
|
|
17655
|
+
if (format === "short" && showShortVersion) {
|
|
17656
|
+
return /*#__PURE__*/React__default["default"].createElement(Tooltip, {
|
|
17657
|
+
title: formattedLongValue,
|
|
17658
|
+
disable: disableTooltip || !formattedValue.includes(thousandSeparator) && !formattedValue.includes(decimalSeparator)
|
|
17659
|
+
}, /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
17660
|
+
as: as,
|
|
17661
|
+
variant: variant,
|
|
17662
|
+
className: className,
|
|
17663
|
+
ref: ref
|
|
17664
|
+
}, rest), formattedValue));
|
|
17665
|
+
}
|
|
17666
|
+
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
17667
|
+
as: as,
|
|
17668
|
+
variant: variant,
|
|
17669
|
+
className: className,
|
|
17670
|
+
ref: ref
|
|
17671
|
+
}, rest), formattedLongValue);
|
|
17672
|
+
});
|
|
17673
|
+
DisplayHours.displayName = "DisplayHours";
|
|
17674
|
+
|
|
17540
17675
|
var _excluded$w = ["expanded"];
|
|
17541
17676
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
17542
17677
|
var _ref$expanded = _ref.expanded,
|
|
@@ -22026,6 +22161,9 @@
|
|
|
22026
22161
|
exports.Dialog = Dialog;
|
|
22027
22162
|
exports.DiscussionAddIcon = DiscussionAddIcon$1;
|
|
22028
22163
|
exports.DiscussionIcon = DiscussionIcon$1;
|
|
22164
|
+
exports.DisplayCurrency = DisplayCurrency;
|
|
22165
|
+
exports.DisplayHours = DisplayHours;
|
|
22166
|
+
exports.DisplayNumber = DisplayNumber;
|
|
22029
22167
|
exports.DollarCheckmarkIcon = DollarCheckmarkIcon$1;
|
|
22030
22168
|
exports.DollarCheckmarkSmallIcon = DollarCheckmarkSmallIcon$1;
|
|
22031
22169
|
exports.DollarClockIcon = DollarClockIcon$1;
|