@activecollab/components 1.0.149 → 1.0.152
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/Entity/EntityCard.js +56 -0
- package/dist/cjs/components/Entity/EntityCard.js.map +1 -0
- package/dist/cjs/components/Entity/EntityGroup.js +47 -0
- package/dist/cjs/components/Entity/EntityGroup.js.map +1 -0
- package/dist/cjs/components/Entity/EntityProperty.js +48 -0
- package/dist/cjs/components/Entity/EntityProperty.js.map +1 -0
- package/dist/cjs/components/Entity/Styles.js +79 -0
- package/dist/cjs/components/Entity/Styles.js.map +1 -0
- package/dist/cjs/components/Entity/data.js +877 -0
- package/dist/cjs/components/Entity/data.js.map +1 -0
- package/dist/cjs/components/Entity/index.js +20 -0
- package/dist/cjs/components/Entity/index.js.map +1 -0
- package/dist/cjs/components/Menu/Menu.js +9 -1
- package/dist/cjs/components/Menu/Menu.js.map +1 -1
- package/dist/cjs/components/Paper/Styles.js +7 -4
- package/dist/cjs/components/Paper/Styles.js.map +1 -1
- package/dist/cjs/components/index.js +13 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Entity/EntityCard.d.ts +12 -0
- package/dist/esm/components/Entity/EntityCard.d.ts.map +1 -0
- package/dist/esm/components/Entity/EntityCard.js +37 -0
- package/dist/esm/components/Entity/EntityCard.js.map +1 -0
- package/dist/esm/components/Entity/EntityGroup.d.ts +7 -0
- package/dist/esm/components/Entity/EntityGroup.d.ts.map +1 -0
- package/dist/esm/components/Entity/EntityGroup.js +28 -0
- package/dist/esm/components/Entity/EntityGroup.js.map +1 -0
- package/dist/esm/components/Entity/EntityProperty.d.ts +9 -0
- package/dist/esm/components/Entity/EntityProperty.d.ts.map +1 -0
- package/dist/esm/components/Entity/EntityProperty.js +29 -0
- package/dist/esm/components/Entity/EntityProperty.js.map +1 -0
- package/dist/esm/components/Entity/Styles.d.ts +20 -0
- package/dist/esm/components/Entity/Styles.d.ts.map +1 -0
- package/dist/esm/components/Entity/Styles.js +59 -0
- package/dist/esm/components/Entity/Styles.js.map +1 -0
- package/dist/esm/components/Entity/data.d.ts +42 -0
- package/dist/esm/components/Entity/data.d.ts.map +1 -0
- package/dist/esm/components/Entity/data.js +866 -0
- package/dist/esm/components/Entity/data.js.map +1 -0
- package/dist/esm/components/Entity/index.d.ts +7 -0
- package/dist/esm/components/Entity/index.d.ts.map +1 -0
- package/dist/esm/components/Entity/index.js +9 -0
- package/dist/esm/components/Entity/index.js.map +1 -0
- package/dist/esm/components/Menu/Menu.d.ts.map +1 -1
- package/dist/esm/components/Menu/Menu.js +9 -1
- package/dist/esm/components/Menu/Menu.js.map +1 -1
- package/dist/esm/components/Paper/Styles.d.ts +1 -0
- package/dist/esm/components/Paper/Styles.d.ts.map +1 -1
- package/dist/esm/components/Paper/Styles.js +4 -3
- package/dist/esm/components/Paper/Styles.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 +297 -146
- 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
|
@@ -314,7 +314,7 @@
|
|
|
314
314
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
315
315
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
316
316
|
|
|
317
|
-
var _excluded$
|
|
317
|
+
var _excluded$16 = ["children", "variant", "size", "disabled", "className"];
|
|
318
318
|
|
|
319
319
|
/**
|
|
320
320
|
* Button component
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
_ref$disabled = _ref.disabled,
|
|
329
329
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
330
330
|
className = _ref.className,
|
|
331
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
331
|
+
args = _objectWithoutProperties(_ref, _excluded$16);
|
|
332
332
|
|
|
333
333
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
334
334
|
disabled: disabled,
|
|
@@ -381,12 +381,12 @@
|
|
|
381
381
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
382
382
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
383
383
|
|
|
384
|
-
var _excluded$
|
|
384
|
+
var _excluded$15 = ["className", "disabled"];
|
|
385
385
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
386
386
|
var className = _ref.className,
|
|
387
387
|
_ref$disabled = _ref.disabled,
|
|
388
388
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
389
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
389
|
+
rest = _objectWithoutProperties(_ref, _excluded$15);
|
|
390
390
|
|
|
391
391
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
392
392
|
ref: ref,
|
|
@@ -419,11 +419,11 @@
|
|
|
419
419
|
});
|
|
420
420
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
421
421
|
|
|
422
|
-
var _excluded$
|
|
422
|
+
var _excluded$14 = ["children", "className"];
|
|
423
423
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
424
424
|
var children = _ref.children,
|
|
425
425
|
className = _ref.className,
|
|
426
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
426
|
+
rest = _objectWithoutProperties(_ref, _excluded$14);
|
|
427
427
|
|
|
428
428
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
429
429
|
ref: ref,
|
|
@@ -486,7 +486,7 @@
|
|
|
486
486
|
return React.useContext(MenuContext);
|
|
487
487
|
};
|
|
488
488
|
|
|
489
|
-
var _excluded$
|
|
489
|
+
var _excluded$13 = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy"];
|
|
490
490
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
491
491
|
var children = _ref.children,
|
|
492
492
|
anchorEl = _ref.anchorEl,
|
|
@@ -499,7 +499,7 @@
|
|
|
499
499
|
initialPlacement = _ref$placement === void 0 ? "bottom" : _ref$placement,
|
|
500
500
|
_ref$strategy = _ref.strategy,
|
|
501
501
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
502
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
502
|
+
rest = _objectWithoutProperties(_ref, _excluded$13);
|
|
503
503
|
|
|
504
504
|
var _useState = React.useState(true),
|
|
505
505
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -605,12 +605,12 @@
|
|
|
605
605
|
});
|
|
606
606
|
StyledOverlay.displayName = "StyledOverlay";
|
|
607
607
|
|
|
608
|
-
var _excluded
|
|
608
|
+
var _excluded$12 = ["className", "disableBackgroundColor"];
|
|
609
609
|
var Overlay = function Overlay(_ref) {
|
|
610
610
|
var className = _ref.className,
|
|
611
611
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
612
612
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
613
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
613
|
+
rest = _objectWithoutProperties(_ref, _excluded$12);
|
|
614
614
|
|
|
615
615
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
616
616
|
className: classNames__default["default"]("c-overlay", className),
|
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
655
655
|
StyledWindow.displayName = "StyledWindow";
|
|
656
656
|
|
|
657
|
-
var _excluded$
|
|
657
|
+
var _excluded$11 = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "preventClickEventBubbling", "onClick"];
|
|
658
658
|
var returnFocus = {
|
|
659
659
|
preventScroll: true
|
|
660
660
|
};
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
672
672
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
673
673
|
onClick = _ref.onClick,
|
|
674
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
674
|
+
rest = _objectWithoutProperties(_ref, _excluded$11);
|
|
675
675
|
|
|
676
676
|
var innerRef = React.useRef(null);
|
|
677
677
|
var handleRef = useForkRef(innerRef, ref);
|
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
}, FontStyle, BoxSizingStyle);
|
|
746
746
|
StyledBubble.displayName = "StyledBubble";
|
|
747
747
|
|
|
748
|
-
var _excluded$
|
|
748
|
+
var _excluded$10 = ["children", "className", "innerRef", "style"];
|
|
749
749
|
var Bubble = function Bubble(_ref) {
|
|
750
750
|
var children = _ref.children,
|
|
751
751
|
className = _ref.className,
|
|
@@ -753,7 +753,7 @@
|
|
|
753
753
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
754
754
|
_ref$style = _ref.style,
|
|
755
755
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
756
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
756
|
+
rest = _objectWithoutProperties(_ref, _excluded$10);
|
|
757
757
|
|
|
758
758
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
759
759
|
ref: innerRef,
|
|
@@ -848,10 +848,18 @@
|
|
|
848
848
|
var handleRefRef = useForkRef(target ? target.ref : undefined, setChildNode);
|
|
849
849
|
var handleRef = useForkRef(handleRefRef, elementRef);
|
|
850
850
|
var handleOpen = React.useCallback(function (event) {
|
|
851
|
+
var _target$props;
|
|
852
|
+
|
|
851
853
|
event && event.preventDefault();
|
|
854
|
+
|
|
855
|
+
if (preventClickEventBubbling) {
|
|
856
|
+
event === null || event === void 0 ? void 0 : event.stopPropagation();
|
|
857
|
+
}
|
|
858
|
+
|
|
852
859
|
setOpen(true);
|
|
853
860
|
typeof onOpen === "function" && onOpen();
|
|
854
|
-
|
|
861
|
+
typeof (target === null || target === void 0 ? void 0 : (_target$props = target.props) === null || _target$props === void 0 ? void 0 : _target$props.onClick) === "function" && target.props.onClick(event);
|
|
862
|
+
}, [onOpen, preventClickEventBubbling, target === null || target === void 0 ? void 0 : target.props]);
|
|
855
863
|
var handleClose = React.useCallback(function () {
|
|
856
864
|
if (typeof onBeforeClose === "function" && !onBeforeClose()) {
|
|
857
865
|
return;
|
|
@@ -1064,7 +1072,7 @@
|
|
|
1064
1072
|
});
|
|
1065
1073
|
StyledTypography.displayName = "StyledTypography";
|
|
1066
1074
|
|
|
1067
|
-
var _excluded
|
|
1075
|
+
var _excluded$$ = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
1068
1076
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1069
1077
|
var _ref$variant = _ref.variant,
|
|
1070
1078
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1095,7 +1103,7 @@
|
|
|
1095
1103
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1096
1104
|
className = _ref.className,
|
|
1097
1105
|
children = _ref.children,
|
|
1098
|
-
props = _objectWithoutProperties(_ref, _excluded
|
|
1106
|
+
props = _objectWithoutProperties(_ref, _excluded$$);
|
|
1099
1107
|
|
|
1100
1108
|
var Component = as || "div";
|
|
1101
1109
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
@@ -1119,13 +1127,13 @@
|
|
|
1119
1127
|
});
|
|
1120
1128
|
Typography.displayName = "Typography";
|
|
1121
1129
|
|
|
1122
|
-
var _excluded$
|
|
1130
|
+
var _excluded$_ = ["title", "className", "leftElement", "rightElement"];
|
|
1123
1131
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1124
1132
|
var title = _ref.title,
|
|
1125
1133
|
className = _ref.className,
|
|
1126
1134
|
leftElement = _ref.leftElement,
|
|
1127
1135
|
rightElement = _ref.rightElement,
|
|
1128
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1136
|
+
props = _objectWithoutProperties(_ref, _excluded$_);
|
|
1129
1137
|
|
|
1130
1138
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1131
1139
|
className: classNames__default["default"]("c-menu-header", className),
|
|
@@ -1151,11 +1159,11 @@
|
|
|
1151
1159
|
});
|
|
1152
1160
|
MenuHeader.displayName = "MenuHeader";
|
|
1153
1161
|
|
|
1154
|
-
var _excluded$
|
|
1162
|
+
var _excluded$Z = ["children", "className"];
|
|
1155
1163
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1156
1164
|
var children = _ref.children,
|
|
1157
1165
|
className = _ref.className,
|
|
1158
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1166
|
+
props = _objectWithoutProperties(_ref, _excluded$Z);
|
|
1159
1167
|
|
|
1160
1168
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, _extends({}, props, {
|
|
1161
1169
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
@@ -1196,11 +1204,11 @@
|
|
|
1196
1204
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1197
1205
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1198
1206
|
|
|
1199
|
-
var _excluded$
|
|
1207
|
+
var _excluded$Y = ["children", "className"];
|
|
1200
1208
|
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1201
1209
|
var children = _ref.children,
|
|
1202
1210
|
className = _ref.className,
|
|
1203
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1211
|
+
props = _objectWithoutProperties(_ref, _excluded$Y);
|
|
1204
1212
|
|
|
1205
1213
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({}, props, {
|
|
1206
1214
|
className: className,
|
|
@@ -1209,11 +1217,11 @@
|
|
|
1209
1217
|
});
|
|
1210
1218
|
List.displayName = "List";
|
|
1211
1219
|
|
|
1212
|
-
var _excluded$
|
|
1220
|
+
var _excluded$X = ["children", "className"];
|
|
1213
1221
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1214
1222
|
var children = _ref.children,
|
|
1215
1223
|
className = _ref.className,
|
|
1216
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1224
|
+
props = _objectWithoutProperties(_ref, _excluded$X);
|
|
1217
1225
|
|
|
1218
1226
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({}, props, {
|
|
1219
1227
|
className: classNames__default["default"]("c-list-item", className),
|
|
@@ -3705,7 +3713,7 @@
|
|
|
3705
3713
|
});
|
|
3706
3714
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
3707
3715
|
|
|
3708
|
-
var _excluded$
|
|
3716
|
+
var _excluded$W = ["children", "className", "separator"];
|
|
3709
3717
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
3710
3718
|
var _dimensions$width, _childDimensions$widt;
|
|
3711
3719
|
|
|
@@ -3713,7 +3721,7 @@
|
|
|
3713
3721
|
className = _ref.className,
|
|
3714
3722
|
_ref$separator = _ref.separator,
|
|
3715
3723
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
3716
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
3724
|
+
rest = _objectWithoutProperties(_ref, _excluded$W);
|
|
3717
3725
|
|
|
3718
3726
|
var internalRef = React.useRef(null);
|
|
3719
3727
|
var listWrapperRef = React.useRef(null);
|
|
@@ -3900,11 +3908,11 @@
|
|
|
3900
3908
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
3901
3909
|
});
|
|
3902
3910
|
|
|
3903
|
-
var _excluded$
|
|
3911
|
+
var _excluded$V = ["children"];
|
|
3904
3912
|
|
|
3905
3913
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
3906
3914
|
var children = _ref.children,
|
|
3907
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
3915
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
3908
3916
|
|
|
3909
3917
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
3910
3918
|
timeout: 0
|
|
@@ -3991,12 +3999,12 @@
|
|
|
3991
3999
|
});
|
|
3992
4000
|
Tooltip.displayName = "Tooltip";
|
|
3993
4001
|
|
|
3994
|
-
var _excluded$
|
|
4002
|
+
var _excluded$U = ["weight", "children"];
|
|
3995
4003
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
3996
4004
|
var _ref$weight = _ref.weight,
|
|
3997
4005
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
3998
4006
|
children = _ref.children,
|
|
3999
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
4007
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
4000
4008
|
|
|
4001
4009
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
4002
4010
|
variant: "Body 2",
|
|
@@ -4044,7 +4052,7 @@
|
|
|
4044
4052
|
});
|
|
4045
4053
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
4046
4054
|
|
|
4047
|
-
var _excluded$
|
|
4055
|
+
var _excluded$T = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className"];
|
|
4048
4056
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
4049
4057
|
var label = _ref.label,
|
|
4050
4058
|
icon = _ref.icon,
|
|
@@ -4054,7 +4062,7 @@
|
|
|
4054
4062
|
tooltipText = _ref.tooltipText,
|
|
4055
4063
|
onClearAll = _ref.onClearAll,
|
|
4056
4064
|
className = _ref.className,
|
|
4057
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
4065
|
+
args = _objectWithoutProperties(_ref, _excluded$T);
|
|
4058
4066
|
|
|
4059
4067
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
4060
4068
|
className: className
|
|
@@ -4369,7 +4377,7 @@
|
|
|
4369
4377
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
4370
4378
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
4371
4379
|
|
|
4372
|
-
var _excluded$
|
|
4380
|
+
var _excluded$S = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
4373
4381
|
var DatePicker = function DatePicker(_ref) {
|
|
4374
4382
|
var className = _ref.className,
|
|
4375
4383
|
onChange = _ref.onChange,
|
|
@@ -4391,7 +4399,7 @@
|
|
|
4391
4399
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
4392
4400
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
4393
4401
|
defaultModifiers = _ref.modifiers,
|
|
4394
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
4402
|
+
rest = _objectWithoutProperties(_ref, _excluded$S);
|
|
4395
4403
|
|
|
4396
4404
|
var _useState = React.useState(),
|
|
4397
4405
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -5316,7 +5324,7 @@
|
|
|
5316
5324
|
};
|
|
5317
5325
|
Tbody.displayName = "Tbody";
|
|
5318
5326
|
|
|
5319
|
-
var _excluded$
|
|
5327
|
+
var _excluded$R = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue"];
|
|
5320
5328
|
exports.SortDirection = void 0;
|
|
5321
5329
|
|
|
5322
5330
|
(function (SortDirection) {
|
|
@@ -5366,7 +5374,7 @@
|
|
|
5366
5374
|
} : _ref$groupHead,
|
|
5367
5375
|
isCollapsible = _ref.isCollapsible,
|
|
5368
5376
|
emptyValue = _ref.emptyValue,
|
|
5369
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
5377
|
+
args = _objectWithoutProperties(_ref, _excluded$R);
|
|
5370
5378
|
|
|
5371
5379
|
var _useState = React.useState(sortDirection),
|
|
5372
5380
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -5776,17 +5784,18 @@
|
|
|
5776
5784
|
};
|
|
5777
5785
|
CompleteCheckbox.displayName = "CompleteCheckbox";
|
|
5778
5786
|
|
|
5787
|
+
var PaperStyles = styled.css(["", " border-radius:var(--ac-br-8);", " ", ""], {
|
|
5788
|
+
"backgroundColor": "var(--page-paper-main)"
|
|
5789
|
+
}, FontStyle, BoxSizingStyle);
|
|
5779
5790
|
var StyledPaper = styled__default["default"].div.withConfig({
|
|
5780
5791
|
displayName: "Styles__StyledPaper",
|
|
5781
5792
|
componentId: "sc-1ld1e2o-0"
|
|
5782
|
-
})(["", "
|
|
5783
|
-
"backgroundColor": "var(--page-paper-main)"
|
|
5784
|
-
}, FontStyle, BoxSizingStyle, function (props) {
|
|
5793
|
+
})(["", " ", ""], PaperStyles, function (props) {
|
|
5785
5794
|
return props.type === "paper-3" && styled.css(["border:solid 1px var(--border-primary);"]);
|
|
5786
5795
|
});
|
|
5787
5796
|
StyledPaper.displayName = "StyledPaper";
|
|
5788
5797
|
|
|
5789
|
-
var _excluded$
|
|
5798
|
+
var _excluded$Q = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
5790
5799
|
|
|
5791
5800
|
/**
|
|
5792
5801
|
* This is a component description and should sit directly above your component
|
|
@@ -5800,7 +5809,7 @@
|
|
|
5800
5809
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
5801
5810
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
5802
5811
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
5803
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5812
|
+
rest = _objectWithoutProperties(_ref, _excluded$Q);
|
|
5804
5813
|
|
|
5805
5814
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
5806
5815
|
className: classNames__default["default"](className, {
|
|
@@ -5854,7 +5863,7 @@
|
|
|
5854
5863
|
});
|
|
5855
5864
|
StyledCard.displayName = "StyledCard";
|
|
5856
5865
|
|
|
5857
|
-
var _excluded$
|
|
5866
|
+
var _excluded$P = ["children", "className", "hoverable", "paperType"];
|
|
5858
5867
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5859
5868
|
var children = _ref.children,
|
|
5860
5869
|
className = _ref.className,
|
|
@@ -5862,7 +5871,7 @@
|
|
|
5862
5871
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
5863
5872
|
_ref$paperType = _ref.paperType,
|
|
5864
5873
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
5865
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
5874
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
5866
5875
|
|
|
5867
5876
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
5868
5877
|
type: paperType,
|
|
@@ -5874,7 +5883,7 @@
|
|
|
5874
5883
|
});
|
|
5875
5884
|
Card.displayName = "Card";
|
|
5876
5885
|
|
|
5877
|
-
var StyledEntityCard = styled__default["default"](Card).withConfig({
|
|
5886
|
+
var StyledEntityCard$1 = styled__default["default"](Card).withConfig({
|
|
5878
5887
|
displayName: "Styles__StyledEntityCard",
|
|
5879
5888
|
componentId: "sc-3vmxf-0"
|
|
5880
5889
|
})(["padding:12px;line-height:1.375;", " ", ""], function (props) {
|
|
@@ -5882,9 +5891,9 @@
|
|
|
5882
5891
|
}, function (props) {
|
|
5883
5892
|
return props.$renderAs === "grid-item" && styled.css(["display:flex;flex-direction:column;height:250px;width:250px;.card-body{flex-grow:1;}"]);
|
|
5884
5893
|
});
|
|
5885
|
-
StyledEntityCard.displayName = "StyledEntityCard";
|
|
5894
|
+
StyledEntityCard$1.displayName = "StyledEntityCard";
|
|
5886
5895
|
|
|
5887
|
-
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5896
|
+
var EntityCard$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5888
5897
|
var _ref$renderAs = _ref.renderAs,
|
|
5889
5898
|
renderAs = _ref$renderAs === void 0 ? "list-item" : _ref$renderAs,
|
|
5890
5899
|
properties = _ref.properties,
|
|
@@ -5931,7 +5940,7 @@
|
|
|
5931
5940
|
return renderProperty(p);
|
|
5932
5941
|
})));
|
|
5933
5942
|
}, []);
|
|
5934
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledEntityCard, {
|
|
5943
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledEntityCard$1, {
|
|
5935
5944
|
ref: ref,
|
|
5936
5945
|
hoverable: true,
|
|
5937
5946
|
className: classNames__default["default"]("entity-card-wrapper", {
|
|
@@ -5942,14 +5951,14 @@
|
|
|
5942
5951
|
$renderAs: renderAs
|
|
5943
5952
|
}, renderAs === "list-item" ? renderAsListItem(properties) : null, renderAs === "grid-item" ? renderAsGridItem(properties) : null);
|
|
5944
5953
|
});
|
|
5945
|
-
EntityCard.displayName = "EntityCard";
|
|
5954
|
+
EntityCard$1.displayName = "EntityCard";
|
|
5946
5955
|
|
|
5947
|
-
var _excluded$
|
|
5956
|
+
var _excluded$O = ["weight", "children"];
|
|
5948
5957
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5949
5958
|
var _ref$weight = _ref.weight,
|
|
5950
5959
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
5951
5960
|
children = _ref.children,
|
|
5952
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5961
|
+
props = _objectWithoutProperties(_ref, _excluded$O);
|
|
5953
5962
|
|
|
5954
5963
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5955
5964
|
weight: weight,
|
|
@@ -5959,12 +5968,12 @@
|
|
|
5959
5968
|
});
|
|
5960
5969
|
Title1.displayName = "Title1";
|
|
5961
5970
|
|
|
5962
|
-
var _excluded$
|
|
5971
|
+
var _excluded$N = ["weight", "children"];
|
|
5963
5972
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5964
5973
|
var _ref$weight = _ref.weight,
|
|
5965
5974
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
5966
5975
|
children = _ref.children,
|
|
5967
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5976
|
+
props = _objectWithoutProperties(_ref, _excluded$N);
|
|
5968
5977
|
|
|
5969
5978
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5970
5979
|
weight: weight,
|
|
@@ -5974,10 +5983,10 @@
|
|
|
5974
5983
|
});
|
|
5975
5984
|
Title2.displayName = "Title2";
|
|
5976
5985
|
|
|
5977
|
-
var _excluded$
|
|
5986
|
+
var _excluded$M = ["children"];
|
|
5978
5987
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5979
5988
|
var children = _ref.children,
|
|
5980
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
5989
|
+
props = _objectWithoutProperties(_ref, _excluded$M);
|
|
5981
5990
|
|
|
5982
5991
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5983
5992
|
weight: "bold",
|
|
@@ -5987,10 +5996,10 @@
|
|
|
5987
5996
|
});
|
|
5988
5997
|
Header2.displayName = "Header2";
|
|
5989
5998
|
|
|
5990
|
-
var _excluded$
|
|
5999
|
+
var _excluded$L = ["children"];
|
|
5991
6000
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
5992
6001
|
var children = _ref.children,
|
|
5993
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6002
|
+
props = _objectWithoutProperties(_ref, _excluded$L);
|
|
5994
6003
|
|
|
5995
6004
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
5996
6005
|
weight: "bold",
|
|
@@ -6000,12 +6009,12 @@
|
|
|
6000
6009
|
});
|
|
6001
6010
|
Header3.displayName = "Header3";
|
|
6002
6011
|
|
|
6003
|
-
var _excluded$
|
|
6012
|
+
var _excluded$K = ["weight", "children"];
|
|
6004
6013
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6005
6014
|
var _ref$weight = _ref.weight,
|
|
6006
6015
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6007
6016
|
children = _ref.children,
|
|
6008
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6017
|
+
props = _objectWithoutProperties(_ref, _excluded$K);
|
|
6009
6018
|
|
|
6010
6019
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6011
6020
|
variant: "Body 1",
|
|
@@ -6015,12 +6024,12 @@
|
|
|
6015
6024
|
});
|
|
6016
6025
|
Body1.displayName = "Body1";
|
|
6017
6026
|
|
|
6018
|
-
var _excluded$
|
|
6027
|
+
var _excluded$J = ["weight", "children"];
|
|
6019
6028
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6020
6029
|
var _ref$weight = _ref.weight,
|
|
6021
6030
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6022
6031
|
children = _ref.children,
|
|
6023
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6032
|
+
props = _objectWithoutProperties(_ref, _excluded$J);
|
|
6024
6033
|
|
|
6025
6034
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6026
6035
|
variant: "Caption 1",
|
|
@@ -6030,12 +6039,12 @@
|
|
|
6030
6039
|
});
|
|
6031
6040
|
Caption1.displayName = "Caption1";
|
|
6032
6041
|
|
|
6033
|
-
var _excluded$
|
|
6042
|
+
var _excluded$I = ["weight", "children"];
|
|
6034
6043
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6035
6044
|
var _ref$weight = _ref.weight,
|
|
6036
6045
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
6037
6046
|
children = _ref.children,
|
|
6038
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
6047
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
6039
6048
|
|
|
6040
6049
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
6041
6050
|
variant: "Caption 2",
|
|
@@ -6154,7 +6163,7 @@
|
|
|
6154
6163
|
"borderRadius": "9999px"
|
|
6155
6164
|
});
|
|
6156
6165
|
|
|
6157
|
-
var _excluded$
|
|
6166
|
+
var _excluded$H = ["url", "alt", "size", "className"];
|
|
6158
6167
|
var Avatar = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6159
6168
|
var url = _ref.url,
|
|
6160
6169
|
_ref$alt = _ref.alt,
|
|
@@ -6162,7 +6171,7 @@
|
|
|
6162
6171
|
_ref$size = _ref.size,
|
|
6163
6172
|
size = _ref$size === void 0 ? 24 : _ref$size,
|
|
6164
6173
|
className = _ref.className,
|
|
6165
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6174
|
+
rest = _objectWithoutProperties(_ref, _excluded$H);
|
|
6166
6175
|
|
|
6167
6176
|
return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({}, rest, {
|
|
6168
6177
|
ref: ref,
|
|
@@ -6184,13 +6193,13 @@
|
|
|
6184
6193
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
6185
6194
|
});
|
|
6186
6195
|
|
|
6187
|
-
var _excluded$
|
|
6196
|
+
var _excluded$G = ["color", "size", "className"];
|
|
6188
6197
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6189
6198
|
var color = _ref.color,
|
|
6190
6199
|
_ref$size = _ref.size,
|
|
6191
6200
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
6192
6201
|
className = _ref.className,
|
|
6193
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6202
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
6194
6203
|
|
|
6195
6204
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
6196
6205
|
className: classNames__default["default"]("c-dot", className),
|
|
@@ -6228,7 +6237,7 @@
|
|
|
6228
6237
|
});
|
|
6229
6238
|
StyledTagText.displayName = "StyledTagText";
|
|
6230
6239
|
|
|
6231
|
-
var _excluded$
|
|
6240
|
+
var _excluded$F = ["name", "color", "showText", "showDot", "className"];
|
|
6232
6241
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6233
6242
|
var name = _ref.name,
|
|
6234
6243
|
color = _ref.color,
|
|
@@ -6237,7 +6246,7 @@
|
|
|
6237
6246
|
_ref$showDot = _ref.showDot,
|
|
6238
6247
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
6239
6248
|
className = _ref.className,
|
|
6240
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6249
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
6241
6250
|
|
|
6242
6251
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
6243
6252
|
className: classNames__default["default"]("c-tag", className),
|
|
@@ -6257,10 +6266,10 @@
|
|
|
6257
6266
|
componentId: "sc-x4ge7a-0"
|
|
6258
6267
|
})(["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);
|
|
6259
6268
|
|
|
6260
|
-
var _excluded$
|
|
6269
|
+
var _excluded$E = ["className"];
|
|
6261
6270
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6262
6271
|
var className = _ref.className,
|
|
6263
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6272
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
6264
6273
|
|
|
6265
6274
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
6266
6275
|
ref: ref,
|
|
@@ -6275,10 +6284,10 @@
|
|
|
6275
6284
|
componentId: "sc-1f35d5h-0"
|
|
6276
6285
|
})(["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);
|
|
6277
6286
|
|
|
6278
|
-
var _excluded$
|
|
6287
|
+
var _excluded$D = ["className"];
|
|
6279
6288
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6280
6289
|
var className = _ref.className,
|
|
6281
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6290
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
6282
6291
|
|
|
6283
6292
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
6284
6293
|
ref: ref,
|
|
@@ -6301,7 +6310,7 @@
|
|
|
6301
6310
|
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);
|
|
6302
6311
|
});
|
|
6303
6312
|
|
|
6304
|
-
var _excluded$
|
|
6313
|
+
var _excluded$C = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
6305
6314
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6306
6315
|
var _ref$radius = _ref.radius,
|
|
6307
6316
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -6316,7 +6325,7 @@
|
|
|
6316
6325
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
6317
6326
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
6318
6327
|
className = _ref.className,
|
|
6319
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6328
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
6320
6329
|
|
|
6321
6330
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader, _extends({
|
|
6322
6331
|
ref: ref,
|
|
@@ -6446,7 +6455,7 @@
|
|
|
6446
6455
|
}, StyledInput$1, StyledLabel);
|
|
6447
6456
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
6448
6457
|
|
|
6449
|
-
var _excluded$
|
|
6458
|
+
var _excluded$B = ["className", "hover", "id"];
|
|
6450
6459
|
|
|
6451
6460
|
/**
|
|
6452
6461
|
* Checkbox component
|
|
@@ -6456,7 +6465,7 @@
|
|
|
6456
6465
|
hover = _ref.hover,
|
|
6457
6466
|
_ref$id = _ref.id,
|
|
6458
6467
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
6459
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6468
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
6460
6469
|
|
|
6461
6470
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
6462
6471
|
className: classNames__default["default"]("c-checkbox", {
|
|
@@ -6646,7 +6655,7 @@
|
|
|
6646
6655
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
6647
6656
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
6648
6657
|
|
|
6649
|
-
var _excluded$
|
|
6658
|
+
var _excluded$A = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
6650
6659
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6651
6660
|
var children = _ref.children,
|
|
6652
6661
|
className = _ref.className,
|
|
@@ -6660,7 +6669,7 @@
|
|
|
6660
6669
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
6661
6670
|
innerColor = _ref.innerColor,
|
|
6662
6671
|
outerColor = _ref.outerColor,
|
|
6663
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6672
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
6664
6673
|
|
|
6665
6674
|
var _useState = React.useState({
|
|
6666
6675
|
top: 0,
|
|
@@ -6790,7 +6799,7 @@
|
|
|
6790
6799
|
return height;
|
|
6791
6800
|
};
|
|
6792
6801
|
|
|
6793
|
-
var _excluded$
|
|
6802
|
+
var _excluded$z = ["as", "className", "invert", "style"];
|
|
6794
6803
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
6795
6804
|
var _ref$as = _ref.as,
|
|
6796
6805
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -6798,7 +6807,7 @@
|
|
|
6798
6807
|
_ref$invert = _ref.invert,
|
|
6799
6808
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
6800
6809
|
style = _ref.style,
|
|
6801
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
6810
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
6802
6811
|
|
|
6803
6812
|
var internalRef = useInitScrollRef(null, invert);
|
|
6804
6813
|
var handleRef = useForkRef(internalRef, ref);
|
|
@@ -7305,7 +7314,7 @@
|
|
|
7305
7314
|
});
|
|
7306
7315
|
StyledInput.displayName = "StyledInput";
|
|
7307
7316
|
|
|
7308
|
-
var _excluded$
|
|
7317
|
+
var _excluded$y = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef"];
|
|
7309
7318
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7310
7319
|
var _ref$className = _ref.className,
|
|
7311
7320
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -7321,7 +7330,7 @@
|
|
|
7321
7330
|
startAdornment = _ref.startAdornment,
|
|
7322
7331
|
endAdornment = _ref.endAdornment,
|
|
7323
7332
|
wrapRef = _ref.wrapRef,
|
|
7324
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7333
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
7325
7334
|
|
|
7326
7335
|
var intInputRef = React.useRef(null);
|
|
7327
7336
|
var handleRef = useForkRef(ref, intInputRef);
|
|
@@ -7374,14 +7383,14 @@
|
|
|
7374
7383
|
}, StyledRadioLabel);
|
|
7375
7384
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
7376
7385
|
|
|
7377
|
-
var _excluded$
|
|
7386
|
+
var _excluded$x = ["className", "id", "hover"];
|
|
7378
7387
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7379
7388
|
var _ref$className = _ref.className,
|
|
7380
7389
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
7381
7390
|
_ref$id = _ref.id,
|
|
7382
7391
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
7383
7392
|
hover = _ref.hover,
|
|
7384
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7393
|
+
props = _objectWithoutProperties(_ref, _excluded$x);
|
|
7385
7394
|
|
|
7386
7395
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
7387
7396
|
className: classNames__default["default"]("c-radio-btn", {
|
|
@@ -7474,7 +7483,7 @@
|
|
|
7474
7483
|
};
|
|
7475
7484
|
OptionContent.displayName = "OptionContent";
|
|
7476
7485
|
|
|
7477
|
-
var _excluded$
|
|
7486
|
+
var _excluded$w = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
7478
7487
|
var Select = function Select(_ref) {
|
|
7479
7488
|
var _ref$type = _ref.type,
|
|
7480
7489
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -7508,7 +7517,7 @@
|
|
|
7508
7517
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
7509
7518
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
7510
7519
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
7511
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
7520
|
+
prop = _objectWithoutProperties(_ref, _excluded$w);
|
|
7512
7521
|
|
|
7513
7522
|
var _useState = React.useState(),
|
|
7514
7523
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -7767,7 +7776,7 @@
|
|
|
7767
7776
|
});
|
|
7768
7777
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
7769
7778
|
|
|
7770
|
-
var _excluded$
|
|
7779
|
+
var _excluded$v = ["children", "active", "disabled", "className", "role"];
|
|
7771
7780
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7772
7781
|
var children = _ref.children,
|
|
7773
7782
|
_ref$active = _ref.active,
|
|
@@ -7776,7 +7785,7 @@
|
|
|
7776
7785
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7777
7786
|
className = _ref.className,
|
|
7778
7787
|
role = _ref.role,
|
|
7779
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7788
|
+
rest = _objectWithoutProperties(_ref, _excluded$v);
|
|
7780
7789
|
|
|
7781
7790
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
7782
7791
|
className: classNames__default["default"]("c-nav__item", {
|
|
@@ -7818,11 +7827,11 @@
|
|
|
7818
7827
|
});
|
|
7819
7828
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
7820
7829
|
|
|
7821
|
-
var _excluded$
|
|
7830
|
+
var _excluded$u = ["expanded"];
|
|
7822
7831
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7823
7832
|
var _ref$expanded = _ref.expanded,
|
|
7824
7833
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
7825
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7834
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
7826
7835
|
|
|
7827
7836
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
7828
7837
|
ref: ref,
|
|
@@ -8135,7 +8144,7 @@
|
|
|
8135
8144
|
};
|
|
8136
8145
|
Nav.displayName = "Nav";
|
|
8137
8146
|
|
|
8138
|
-
var _excluded$
|
|
8147
|
+
var _excluded$t = ["children", "as", "disablePointerEvents"];
|
|
8139
8148
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
8140
8149
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
8141
8150
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -8152,7 +8161,7 @@
|
|
|
8152
8161
|
var children = _ref.children,
|
|
8153
8162
|
as = _ref.as,
|
|
8154
8163
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
8155
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8164
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
8156
8165
|
|
|
8157
8166
|
var Component = as || "div";
|
|
8158
8167
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
@@ -8163,11 +8172,11 @@
|
|
|
8163
8172
|
});
|
|
8164
8173
|
InputAdornment.displayName = "InputAdornment";
|
|
8165
8174
|
|
|
8166
|
-
var _excluded$
|
|
8175
|
+
var _excluded$s = ["expanded"];
|
|
8167
8176
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8168
8177
|
var _ref$expanded = _ref.expanded,
|
|
8169
8178
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
8170
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8179
|
+
rest = _objectWithoutProperties(_ref, _excluded$s);
|
|
8171
8180
|
|
|
8172
8181
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
8173
8182
|
ref: ref,
|
|
@@ -8374,14 +8383,14 @@
|
|
|
8374
8383
|
});
|
|
8375
8384
|
StyledTextarea.displayName = "StyledTextarea";
|
|
8376
8385
|
|
|
8377
|
-
var _excluded$
|
|
8386
|
+
var _excluded$r = ["className", "disabled", "invalid"];
|
|
8378
8387
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8379
8388
|
var className = _ref.className,
|
|
8380
8389
|
_ref$disabled = _ref.disabled,
|
|
8381
8390
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
8382
8391
|
_ref$invalid = _ref.invalid,
|
|
8383
8392
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
8384
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8393
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
8385
8394
|
|
|
8386
8395
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
8387
8396
|
$invalid: invalid,
|
|
@@ -8416,7 +8425,7 @@
|
|
|
8416
8425
|
function () {});
|
|
8417
8426
|
}
|
|
8418
8427
|
|
|
8419
|
-
var _excluded$
|
|
8428
|
+
var _excluded$q = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "preventClickEventBubbling", "open", "onClose"];
|
|
8420
8429
|
|
|
8421
8430
|
var getHasTransition = function getHasTransition(children) {
|
|
8422
8431
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
@@ -8437,7 +8446,7 @@
|
|
|
8437
8446
|
_ref$open = _ref.open,
|
|
8438
8447
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
8439
8448
|
onClose = _ref.onClose,
|
|
8440
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8449
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
8441
8450
|
|
|
8442
8451
|
var _useState = React.useState(defaultOpen),
|
|
8443
8452
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8577,7 +8586,7 @@
|
|
|
8577
8586
|
});
|
|
8578
8587
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
8579
8588
|
|
|
8580
|
-
var _excluded$
|
|
8589
|
+
var _excluded$p = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick", "preventClickEventBubbling"];
|
|
8581
8590
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8582
8591
|
var children = _ref.children,
|
|
8583
8592
|
onClose = _ref.onClose,
|
|
@@ -8603,7 +8612,7 @@
|
|
|
8603
8612
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
8604
8613
|
_ref$preventClickEven = _ref.preventClickEventBubbling,
|
|
8605
8614
|
preventClickEventBubbling = _ref$preventClickEven === void 0 ? false : _ref$preventClickEven,
|
|
8606
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8615
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
8607
8616
|
|
|
8608
8617
|
var _useState = React.useState(defaultOpen),
|
|
8609
8618
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -8702,13 +8711,13 @@
|
|
|
8702
8711
|
});
|
|
8703
8712
|
StyledHeader.displayName = "StyledHeader";
|
|
8704
8713
|
|
|
8705
|
-
var _excluded$
|
|
8714
|
+
var _excluded$o = ["className", "size", "children"];
|
|
8706
8715
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8707
8716
|
var className = _ref.className,
|
|
8708
8717
|
_ref$size = _ref.size,
|
|
8709
8718
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
8710
8719
|
children = _ref.children,
|
|
8711
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8720
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
8712
8721
|
|
|
8713
8722
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
8714
8723
|
type: "paper-2",
|
|
@@ -8725,7 +8734,7 @@
|
|
|
8725
8734
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
8726
8735
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
8727
8736
|
|
|
8728
|
-
var _excluded$
|
|
8737
|
+
var _excluded$n = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
8729
8738
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8730
8739
|
var _ref$minRows = _ref.minRows,
|
|
8731
8740
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -8741,7 +8750,7 @@
|
|
|
8741
8750
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
8742
8751
|
onKeyDown = _ref.onKeyDown,
|
|
8743
8752
|
value = _ref.value,
|
|
8744
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8753
|
+
rest = _objectWithoutProperties(_ref, _excluded$n);
|
|
8745
8754
|
|
|
8746
8755
|
var innerRef = React.useRef(null);
|
|
8747
8756
|
|
|
@@ -9032,7 +9041,7 @@
|
|
|
9032
9041
|
});
|
|
9033
9042
|
StyledChoose.displayName = "StyledChoose";
|
|
9034
9043
|
|
|
9035
|
-
var _excluded$
|
|
9044
|
+
var _excluded$m = ["children", "disabled", "active", "className"];
|
|
9036
9045
|
|
|
9037
9046
|
/**
|
|
9038
9047
|
* Choose component
|
|
@@ -9044,7 +9053,7 @@
|
|
|
9044
9053
|
_ref$active = _ref.active,
|
|
9045
9054
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9046
9055
|
className = _ref.className,
|
|
9047
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9056
|
+
args = _objectWithoutProperties(_ref, _excluded$m);
|
|
9048
9057
|
|
|
9049
9058
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
9050
9059
|
disabled: disabled,
|
|
@@ -9137,7 +9146,7 @@
|
|
|
9137
9146
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
9138
9147
|
StyledLink.displayName = "StyledLink";
|
|
9139
9148
|
|
|
9140
|
-
var _excluded$
|
|
9149
|
+
var _excluded$l = ["children", "className"];
|
|
9141
9150
|
|
|
9142
9151
|
/**
|
|
9143
9152
|
* Back link component
|
|
@@ -9145,7 +9154,7 @@
|
|
|
9145
9154
|
var BackLink = function BackLink(_ref) {
|
|
9146
9155
|
var children = _ref.children,
|
|
9147
9156
|
className = _ref.className,
|
|
9148
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9157
|
+
args = _objectWithoutProperties(_ref, _excluded$l);
|
|
9149
9158
|
|
|
9150
9159
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
9151
9160
|
className: classNames__default["default"]("c-back-link", className)
|
|
@@ -9153,7 +9162,7 @@
|
|
|
9153
9162
|
};
|
|
9154
9163
|
BackLink.displayName = "BackLink";
|
|
9155
9164
|
|
|
9156
|
-
var _excluded$
|
|
9165
|
+
var _excluded$k = ["children", "variant", "size", "disabled", "className"];
|
|
9157
9166
|
|
|
9158
9167
|
/**
|
|
9159
9168
|
* Link component
|
|
@@ -9166,7 +9175,7 @@
|
|
|
9166
9175
|
_ref$disabled = _ref.disabled,
|
|
9167
9176
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9168
9177
|
className = _ref.className,
|
|
9169
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9178
|
+
args = _objectWithoutProperties(_ref, _excluded$k);
|
|
9170
9179
|
|
|
9171
9180
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
9172
9181
|
disabled: disabled,
|
|
@@ -9311,11 +9320,11 @@
|
|
|
9311
9320
|
});
|
|
9312
9321
|
Dialog.displayName = "Dialog";
|
|
9313
9322
|
|
|
9314
|
-
var _excluded$
|
|
9323
|
+
var _excluded$j = ["className", "children"];
|
|
9315
9324
|
var DialogContent = function DialogContent(_ref) {
|
|
9316
9325
|
var className = _ref.className,
|
|
9317
9326
|
children = _ref.children,
|
|
9318
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9327
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
9319
9328
|
|
|
9320
9329
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
9321
9330
|
className: classNames__default["default"]("c-dialog-content", className)
|
|
@@ -9331,13 +9340,13 @@
|
|
|
9331
9340
|
};
|
|
9332
9341
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
9333
9342
|
|
|
9334
|
-
var _excluded$
|
|
9343
|
+
var _excluded$i = ["children", "className", "disableDefaultHeading"];
|
|
9335
9344
|
var DialogTitle = function DialogTitle(_ref) {
|
|
9336
9345
|
var children = _ref.children,
|
|
9337
9346
|
className = _ref.className,
|
|
9338
9347
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
9339
9348
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
9340
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9349
|
+
rest = _objectWithoutProperties(_ref, _excluded$i);
|
|
9341
9350
|
|
|
9342
9351
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
9343
9352
|
className: classNames__default["default"]("c-dialog-title-wrapper", className)
|
|
@@ -9345,11 +9354,11 @@
|
|
|
9345
9354
|
};
|
|
9346
9355
|
DialogTitle.displayName = "DialogTitle";
|
|
9347
9356
|
|
|
9348
|
-
var _excluded$
|
|
9357
|
+
var _excluded$h = ["className", "children"];
|
|
9349
9358
|
var DialogActions = function DialogActions(_ref) {
|
|
9350
9359
|
var className = _ref.className,
|
|
9351
9360
|
children = _ref.children,
|
|
9352
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9361
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
9353
9362
|
|
|
9354
9363
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
9355
9364
|
className: classNames__default["default"]("c-dialog-actions", className)
|
|
@@ -9559,7 +9568,7 @@
|
|
|
9559
9568
|
});
|
|
9560
9569
|
StyledPressed.displayName = "StyledPressed";
|
|
9561
9570
|
|
|
9562
|
-
var _excluded$
|
|
9571
|
+
var _excluded$g = ["children", "active", "className"];
|
|
9563
9572
|
|
|
9564
9573
|
/**
|
|
9565
9574
|
* Pressed wrapper for button component
|
|
@@ -9569,7 +9578,7 @@
|
|
|
9569
9578
|
_ref$active = _ref.active,
|
|
9570
9579
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
9571
9580
|
className = _ref.className,
|
|
9572
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9581
|
+
args = _objectWithoutProperties(_ref, _excluded$g);
|
|
9573
9582
|
|
|
9574
9583
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
9575
9584
|
active: active,
|
|
@@ -10055,7 +10064,7 @@
|
|
|
10055
10064
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
10056
10065
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
10057
10066
|
|
|
10058
|
-
var _excluded$
|
|
10067
|
+
var _excluded$f = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
10059
10068
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10060
10069
|
var text = _ref.text,
|
|
10061
10070
|
type = _ref.type,
|
|
@@ -10066,7 +10075,7 @@
|
|
|
10066
10075
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
10067
10076
|
_ref$timeout = _ref.timeout,
|
|
10068
10077
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
10069
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10078
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
10070
10079
|
|
|
10071
10080
|
var handleOnClose = React.useCallback(function () {
|
|
10072
10081
|
if (typeof onClose === "function") {
|
|
@@ -10091,7 +10100,7 @@
|
|
|
10091
10100
|
});
|
|
10092
10101
|
ToastMessage.displayName = "ToastMessage";
|
|
10093
10102
|
|
|
10094
|
-
var _excluded$
|
|
10103
|
+
var _excluded$e = ["in", "children", "style", "timeout"];
|
|
10095
10104
|
|
|
10096
10105
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
10097
10106
|
return {
|
|
@@ -10121,7 +10130,7 @@
|
|
|
10121
10130
|
style = _ref.style,
|
|
10122
10131
|
_ref$timeout = _ref.timeout,
|
|
10123
10132
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
10124
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10133
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
10125
10134
|
|
|
10126
10135
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10127
10136
|
appear: true,
|
|
@@ -10137,7 +10146,7 @@
|
|
|
10137
10146
|
};
|
|
10138
10147
|
Fade.displayName = "Fade";
|
|
10139
10148
|
|
|
10140
|
-
var _excluded$
|
|
10149
|
+
var _excluded$d = ["in", "children", "style", "timeout", "initialDirection"];
|
|
10141
10150
|
var Slide = function Slide(_ref) {
|
|
10142
10151
|
var _ref$in = _ref.in,
|
|
10143
10152
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -10147,7 +10156,7 @@
|
|
|
10147
10156
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
10148
10157
|
_ref$initialDirection = _ref.initialDirection,
|
|
10149
10158
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
10150
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10159
|
+
rest = _objectWithoutProperties(_ref, _excluded$d);
|
|
10151
10160
|
|
|
10152
10161
|
var directionSign;
|
|
10153
10162
|
|
|
@@ -10207,12 +10216,12 @@
|
|
|
10207
10216
|
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;}"]);
|
|
10208
10217
|
});
|
|
10209
10218
|
|
|
10210
|
-
var _excluded$
|
|
10219
|
+
var _excluded$c = ["children", "direction"];
|
|
10211
10220
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
10212
10221
|
var children = _ref.children,
|
|
10213
10222
|
_ref$direction = _ref.direction,
|
|
10214
10223
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
10215
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
10224
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
10216
10225
|
|
|
10217
10226
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
10218
10227
|
timeout: 200,
|
|
@@ -10256,7 +10265,7 @@
|
|
|
10256
10265
|
};
|
|
10257
10266
|
ResizeTransition.displayName = "ResizeTransition";
|
|
10258
10267
|
|
|
10259
|
-
var _excluded$
|
|
10268
|
+
var _excluded$b = ["in", "children", "style", "timeout"];
|
|
10260
10269
|
|
|
10261
10270
|
var defaultStyle = function defaultStyle(duration) {
|
|
10262
10271
|
return {
|
|
@@ -10292,7 +10301,7 @@
|
|
|
10292
10301
|
style = _ref.style,
|
|
10293
10302
|
_ref$timeout = _ref.timeout,
|
|
10294
10303
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
10295
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10304
|
+
rest = _objectWithoutProperties(_ref, _excluded$b);
|
|
10296
10305
|
|
|
10297
10306
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
10298
10307
|
appear: true,
|
|
@@ -10367,7 +10376,7 @@
|
|
|
10367
10376
|
});
|
|
10368
10377
|
StyledValueButton.displayName = "StyledValueButton";
|
|
10369
10378
|
|
|
10370
|
-
var _excluded$
|
|
10379
|
+
var _excluded$a = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
10371
10380
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10372
10381
|
var _ref$active = _ref.active,
|
|
10373
10382
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -10376,7 +10385,7 @@
|
|
|
10376
10385
|
icon = _ref.icon,
|
|
10377
10386
|
label = _ref.label,
|
|
10378
10387
|
value = _ref.value,
|
|
10379
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10388
|
+
args = _objectWithoutProperties(_ref, _excluded$a);
|
|
10380
10389
|
|
|
10381
10390
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
10382
10391
|
className: "c-value-button"
|
|
@@ -10406,12 +10415,12 @@
|
|
|
10406
10415
|
})(["border:none;margin:0;padding:0;width:auto;overflow:visible;cursor:pointer;background:transparent;outline:none;color:inherit;font:inherit;line-height:inherit;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;&::-moz-focus-inner{border:0;padding:0;}"]);
|
|
10407
10416
|
StyledButton.displayName = "StyledButton";
|
|
10408
10417
|
|
|
10409
|
-
var _excluded$
|
|
10418
|
+
var _excluded$9 = ["children", "type"];
|
|
10410
10419
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10411
10420
|
var children = _ref.children,
|
|
10412
10421
|
_ref$type = _ref.type,
|
|
10413
10422
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
10414
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10423
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
10415
10424
|
|
|
10416
10425
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
10417
10426
|
ref: ref,
|
|
@@ -10455,7 +10464,7 @@
|
|
|
10455
10464
|
})(["transform:rotate(180deg);margin-left:8px;flex-shrink:0;"]);
|
|
10456
10465
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
10457
10466
|
|
|
10458
|
-
var _excluded$
|
|
10467
|
+
var _excluded$8 = ["children", "type", "size", "invalid", "endAdornment"];
|
|
10459
10468
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10460
10469
|
var children = _ref.children,
|
|
10461
10470
|
_ref$type = _ref.type,
|
|
@@ -10465,7 +10474,7 @@
|
|
|
10465
10474
|
_ref$invalid = _ref.invalid,
|
|
10466
10475
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
10467
10476
|
endAdornment = _ref.endAdornment,
|
|
10468
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10477
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
10469
10478
|
|
|
10470
10479
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
10471
10480
|
ref: ref,
|
|
@@ -10511,11 +10520,11 @@
|
|
|
10511
10520
|
});
|
|
10512
10521
|
StyledToggle.displayName = "StyledToggle";
|
|
10513
10522
|
|
|
10514
|
-
var _excluded$
|
|
10523
|
+
var _excluded$7 = ["hovered", "className"];
|
|
10515
10524
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10516
10525
|
var hovered = _ref.hovered,
|
|
10517
10526
|
className = _ref.className,
|
|
10518
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
10527
|
+
args = _objectWithoutProperties(_ref, _excluded$7);
|
|
10519
10528
|
|
|
10520
10529
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
10521
10530
|
className: classNames__default["default"]("c-toggle", className),
|
|
@@ -10631,14 +10640,14 @@
|
|
|
10631
10640
|
});
|
|
10632
10641
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
10633
10642
|
|
|
10634
|
-
var _excluded$
|
|
10643
|
+
var _excluded$6 = ["leftAdornment", "label", "onClose", "size"];
|
|
10635
10644
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10636
10645
|
var leftAdornment = _ref.leftAdornment,
|
|
10637
10646
|
label = _ref.label,
|
|
10638
10647
|
onClose = _ref.onClose,
|
|
10639
10648
|
_ref$size = _ref.size,
|
|
10640
10649
|
size = _ref$size === void 0 ? "regular" : _ref$size,
|
|
10641
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10650
|
+
rest = _objectWithoutProperties(_ref, _excluded$6);
|
|
10642
10651
|
|
|
10643
10652
|
var showClose = typeof onClose === "function";
|
|
10644
10653
|
var variant = React.useMemo(function () {
|
|
@@ -10696,7 +10705,7 @@
|
|
|
10696
10705
|
[ref, handler]);
|
|
10697
10706
|
}
|
|
10698
10707
|
|
|
10699
|
-
var _excluded$
|
|
10708
|
+
var _excluded$5 = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText"];
|
|
10700
10709
|
var ComboBox = function ComboBox(_ref) {
|
|
10701
10710
|
var _comboBoxRef$current;
|
|
10702
10711
|
|
|
@@ -10724,7 +10733,7 @@
|
|
|
10724
10733
|
_ref$limitChips = _ref.limitChips,
|
|
10725
10734
|
limitChips = _ref$limitChips === void 0 ? 2 : _ref$limitChips,
|
|
10726
10735
|
hiddenNumberText = _ref.hiddenNumberText,
|
|
10727
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
10736
|
+
prop = _objectWithoutProperties(_ref, _excluded$5);
|
|
10728
10737
|
|
|
10729
10738
|
var selectedName = React.useMemo(function () {
|
|
10730
10739
|
var value = "";
|
|
@@ -11428,7 +11437,7 @@
|
|
|
11428
11437
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
11429
11438
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
11430
11439
|
|
|
11431
|
-
var _excluded$
|
|
11440
|
+
var _excluded$4 = ["invalid", "required", "size", "children", "className", "weight"];
|
|
11432
11441
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11433
11442
|
var _ref$invalid = _ref.invalid,
|
|
11434
11443
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -11440,7 +11449,7 @@
|
|
|
11440
11449
|
className = _ref.className,
|
|
11441
11450
|
_ref$weight = _ref.weight,
|
|
11442
11451
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
11443
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11452
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
11444
11453
|
|
|
11445
11454
|
var color = invalid ? "alert" : "primary";
|
|
11446
11455
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
@@ -11559,11 +11568,11 @@
|
|
|
11559
11568
|
};
|
|
11560
11569
|
ProgressRing.displayName = "ProgressRing";
|
|
11561
11570
|
|
|
11562
|
-
var _excluded = ["withDocuments"];
|
|
11571
|
+
var _excluded$3 = ["withDocuments"];
|
|
11563
11572
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
11564
11573
|
var _ref$withDocuments = _ref.withDocuments,
|
|
11565
11574
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
11566
|
-
props = _objectWithoutProperties(_ref, _excluded);
|
|
11575
|
+
props = _objectWithoutProperties(_ref, _excluded$3);
|
|
11567
11576
|
|
|
11568
11577
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
11569
11578
|
width: 100,
|
|
@@ -11615,6 +11624,147 @@
|
|
|
11615
11624
|
FolderIcon.displayName = "FolderIcon";
|
|
11616
11625
|
var FolderIcon$1 = FolderIcon;
|
|
11617
11626
|
|
|
11627
|
+
var StyledEntityCard = styled__default["default"](Card).withConfig({
|
|
11628
|
+
displayName: "Styles__StyledEntityCard",
|
|
11629
|
+
componentId: "sc-bjeea8-0"
|
|
11630
|
+
})(["line-height:1.375;", " ", " ", " ", " ", ""], function (_ref) {
|
|
11631
|
+
var $renderAs = _ref.$renderAs;
|
|
11632
|
+
return $renderAs === "list" && styled.css(["display:flex;flex-direction:row;align-items:center;min-height:48px;margin-bottom:4px;justify-content:space-between;padding:0 16px 0 16px;"]);
|
|
11633
|
+
}, function (_ref2) {
|
|
11634
|
+
var $renderAs = _ref2.$renderAs;
|
|
11635
|
+
return $renderAs === "grid" && styled.css(["display:flex;flex-direction:column;position:relative;padding:20px 24px;height:280px;"]);
|
|
11636
|
+
}, function (props) {
|
|
11637
|
+
return props.$gap && styled.css(["gap:", "px;"], props.$gap);
|
|
11638
|
+
}, function (props) {
|
|
11639
|
+
return props.$background && styled.css(["background-color:", ";"], props.$background);
|
|
11640
|
+
}, function (_ref3) {
|
|
11641
|
+
var $isCollection = _ref3.$isCollection,
|
|
11642
|
+
$background = _ref3.$background;
|
|
11643
|
+
return $isCollection && styled.css(["&::after{display:block;content:\"\";position:absolute;top:0;bottom:0;right:0;left:0;transform:rotate(-3deg);z-index:-1;", ";background-color:", ";}"], PaperStyles, $background);
|
|
11644
|
+
});
|
|
11645
|
+
StyledEntityCard.displayName = "StyledEntityCard";
|
|
11646
|
+
var StyledEntityProperty = styled__default["default"]("div").withConfig({
|
|
11647
|
+
displayName: "Styles__StyledEntityProperty",
|
|
11648
|
+
componentId: "sc-bjeea8-1"
|
|
11649
|
+
})(["", " ", " ", ""], function (_ref4) {
|
|
11650
|
+
var $renderAs = _ref4.$renderAs,
|
|
11651
|
+
$width = _ref4.$width;
|
|
11652
|
+
return $renderAs === "list" && styled.css(["display:flex;align-items:center;min-width:24px;flex:", ";"], $width ? "unset" : 1);
|
|
11653
|
+
}, function (props) {
|
|
11654
|
+
return props.$renderAs === "list" && props.$order && styled.css(["order:", ";"], props.$order);
|
|
11655
|
+
}, function (props) {
|
|
11656
|
+
return props.$renderAs === "list" && props.$width && styled.css(["width:", ";"], props.$width);
|
|
11657
|
+
});
|
|
11658
|
+
StyledEntityProperty.displayName = "StyledEntityProperty";
|
|
11659
|
+
var StyledEntityGroup = styled__default["default"]("div").withConfig({
|
|
11660
|
+
displayName: "Styles__StyledEntityGroup",
|
|
11661
|
+
componentId: "sc-bjeea8-2"
|
|
11662
|
+
})(["", " ", " ", ""], function (_ref5) {
|
|
11663
|
+
var $renderAs = _ref5.$renderAs,
|
|
11664
|
+
$gap = _ref5.$gap;
|
|
11665
|
+
return $renderAs === "grid" && styled.css(["display:grid;grid-gap:", ";grid-template-columns:repeat(auto-fill,minmax(260px,1fr));"], $gap ? "".concat($gap, "px") : "initial");
|
|
11666
|
+
}, function (props) {
|
|
11667
|
+
return props.$renderAs === "list" && styled.css(["display:flex;flex-direction:column;"]);
|
|
11668
|
+
}, function (props) {
|
|
11669
|
+
return props.$gap && props.$renderAs === "list" && styled.css(["", "{gap:", "px;}"], StyledEntityCard, props.$gap);
|
|
11670
|
+
});
|
|
11671
|
+
StyledEntityGroup.displayName = "StyledEntityGroup";
|
|
11672
|
+
var StyledEntityActions = styled__default["default"]("div").withConfig({
|
|
11673
|
+
displayName: "Styles__StyledEntityActions",
|
|
11674
|
+
componentId: "sc-bjeea8-3"
|
|
11675
|
+
})(["display:flex;flex-direction:column;align-items:center;", " ", ""], function (_ref6) {
|
|
11676
|
+
var $renderAs = _ref6.$renderAs;
|
|
11677
|
+
return $renderAs === "grid" && styled.css(["position:absolute;right:16px;top:20px;"]);
|
|
11678
|
+
}, function (_ref7) {
|
|
11679
|
+
var $renderAs = _ref7.$renderAs;
|
|
11680
|
+
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
11681
|
+
});
|
|
11682
|
+
|
|
11683
|
+
var _excluded$2 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
11684
|
+
var EntityProperty = function EntityProperty(_ref) {
|
|
11685
|
+
var listOrder = _ref.listOrder,
|
|
11686
|
+
listWidth = _ref.listWidth,
|
|
11687
|
+
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
11688
|
+
className = _ref.className,
|
|
11689
|
+
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
11690
|
+
|
|
11691
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledEntityProperty, _extends({
|
|
11692
|
+
className: classNames__default["default"]("c_property", className, {
|
|
11693
|
+
"tw-hidden": visibleFromBreakpoint,
|
|
11694
|
+
"sm:tw-flex": visibleFromBreakpoint === "sm",
|
|
11695
|
+
"md:tw-flex": visibleFromBreakpoint === "md",
|
|
11696
|
+
"lg:tw-flex": visibleFromBreakpoint === "lg",
|
|
11697
|
+
"xl:tw-flex": visibleFromBreakpoint === "xl",
|
|
11698
|
+
"2xl:tw-flex": visibleFromBreakpoint === "2xl"
|
|
11699
|
+
})
|
|
11700
|
+
}, props, {
|
|
11701
|
+
$order: listOrder,
|
|
11702
|
+
$width: listWidth
|
|
11703
|
+
}));
|
|
11704
|
+
};
|
|
11705
|
+
EntityProperty.displayName = "EntityProperty";
|
|
11706
|
+
|
|
11707
|
+
var _excluded$1 = ["children", "actions", "renderAs", "isCollection", "background", "className"];
|
|
11708
|
+
var EntityCard = function EntityCard(_ref) {
|
|
11709
|
+
var children = _ref.children,
|
|
11710
|
+
actions = _ref.actions,
|
|
11711
|
+
_ref$renderAs = _ref.renderAs,
|
|
11712
|
+
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
11713
|
+
isCollection = _ref.isCollection,
|
|
11714
|
+
background = _ref.background,
|
|
11715
|
+
className = _ref.className,
|
|
11716
|
+
rest = _objectWithoutProperties(_ref, _excluded$1);
|
|
11717
|
+
|
|
11718
|
+
var paperType = renderAs === "grid" ? "paper-1" : "paper-2";
|
|
11719
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledEntityCard, _extends({
|
|
11720
|
+
$renderAs: renderAs,
|
|
11721
|
+
$background: background,
|
|
11722
|
+
paperType: paperType,
|
|
11723
|
+
className: className,
|
|
11724
|
+
$isCollection: isCollection
|
|
11725
|
+
}, rest), React__default["default"].Children.map(children, function (child) {
|
|
11726
|
+
if ( /*#__PURE__*/React__default["default"].isValidElement(child) && child.type === EntityProperty) {
|
|
11727
|
+
return /*#__PURE__*/React__default["default"].cloneElement(child, {
|
|
11728
|
+
$renderAs: renderAs
|
|
11729
|
+
});
|
|
11730
|
+
}
|
|
11731
|
+
|
|
11732
|
+
return null;
|
|
11733
|
+
}), actions && /*#__PURE__*/React__default["default"].createElement(StyledEntityActions, {
|
|
11734
|
+
$renderAs: renderAs
|
|
11735
|
+
}, actions));
|
|
11736
|
+
};
|
|
11737
|
+
EntityCard.displayName = "EntityCard";
|
|
11738
|
+
|
|
11739
|
+
var _excluded = ["children", "gap", "renderAs"];
|
|
11740
|
+
var EntityGroup = function EntityGroup(_ref) {
|
|
11741
|
+
var children = _ref.children,
|
|
11742
|
+
gap = _ref.gap,
|
|
11743
|
+
_ref$renderAs = _ref.renderAs,
|
|
11744
|
+
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
11745
|
+
rest = _objectWithoutProperties(_ref, _excluded);
|
|
11746
|
+
|
|
11747
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledEntityGroup, _extends({
|
|
11748
|
+
$renderAs: renderAs,
|
|
11749
|
+
$gap: gap
|
|
11750
|
+
}, rest), React__default["default"].Children.map(children, function (child) {
|
|
11751
|
+
if ( /*#__PURE__*/React__default["default"].isValidElement(child) && child.type === EntityCard) {
|
|
11752
|
+
return /*#__PURE__*/React__default["default"].cloneElement(child, {
|
|
11753
|
+
renderAs: renderAs
|
|
11754
|
+
});
|
|
11755
|
+
}
|
|
11756
|
+
|
|
11757
|
+
return null;
|
|
11758
|
+
}));
|
|
11759
|
+
};
|
|
11760
|
+
EntityGroup.displayName = "EntityGroup";
|
|
11761
|
+
|
|
11762
|
+
var Entity = {
|
|
11763
|
+
Group: EntityGroup,
|
|
11764
|
+
Card: EntityCard,
|
|
11765
|
+
Property: EntityProperty
|
|
11766
|
+
};
|
|
11767
|
+
|
|
11618
11768
|
exports.Accordion = Accordion;
|
|
11619
11769
|
exports.AccordionContext = AccordionContext;
|
|
11620
11770
|
exports.AccordionItem = AccordionItem;
|
|
@@ -11713,7 +11863,8 @@
|
|
|
11713
11863
|
exports.EditIcon = EditIcon$1;
|
|
11714
11864
|
exports.EditMultipleIcon = EditMultipleIcon$1;
|
|
11715
11865
|
exports.EmojiIcon = EmojiIcon$1;
|
|
11716
|
-
exports.
|
|
11866
|
+
exports.Entity = Entity;
|
|
11867
|
+
exports.EntityCard = EntityCard$1;
|
|
11717
11868
|
exports.EstimatesIcon = EstimatesIcon$1;
|
|
11718
11869
|
exports.ExpandAll = ExpandAll;
|
|
11719
11870
|
exports.ExpandAllIcon = ExpandAllIcon$1;
|