@activecollab/components 1.0.326 → 1.0.327
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/Filter/Filter.js +9 -4
- package/dist/cjs/components/Filter/Filter.js.map +1 -1
- package/dist/esm/components/Filter/Filter.d.ts +2 -0
- package/dist/esm/components/Filter/Filter.d.ts.map +1 -1
- package/dist/esm/components/Filter/Filter.js +6 -3
- package/dist/esm/components/Filter/Filter.js.map +1 -1
- package/dist/index.js +159 -157
- 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
|
@@ -269,7 +269,7 @@
|
|
|
269
269
|
})(["display:inline-flex;svg{margin:0 4px;}"]);
|
|
270
270
|
StyledButtonElement.displayName = "StyledButtonElement";
|
|
271
271
|
|
|
272
|
-
var _excluded$
|
|
272
|
+
var _excluded$1j = ["children", "active", "variant", "size", "className"];
|
|
273
273
|
/**
|
|
274
274
|
* @component Button
|
|
275
275
|
* @description
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
_ref$size = _ref.size,
|
|
300
300
|
size = _ref$size === void 0 ? "medium" : _ref$size,
|
|
301
301
|
className = _ref.className,
|
|
302
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
302
|
+
args = _objectWithoutProperties(_ref, _excluded$1j);
|
|
303
303
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton$2, _extends({
|
|
304
304
|
className: classNames__default["default"]("c-btn", className, {
|
|
305
305
|
"c-btn--contained": variant === "primary" || variant === "contained",
|
|
@@ -373,12 +373,12 @@
|
|
|
373
373
|
})(["svg{fill:var(--color-theme-100);}&:hover svg{transform:rotate(90deg);transition:ease 0.3s;}"]);
|
|
374
374
|
StyledGlobalAddButton.displayName = "StyledGlobalAddButton";
|
|
375
375
|
|
|
376
|
-
var _excluded$
|
|
376
|
+
var _excluded$1i = ["className", "disabled"];
|
|
377
377
|
var GlobalAddButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
378
378
|
var className = _ref.className,
|
|
379
379
|
_ref$disabled = _ref.disabled,
|
|
380
380
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
381
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
381
|
+
rest = _objectWithoutProperties(_ref, _excluded$1i);
|
|
382
382
|
return /*#__PURE__*/React__default["default"].createElement(StyledGlobalAddButton, _extends({
|
|
383
383
|
ref: ref,
|
|
384
384
|
variant: "contained",
|
|
@@ -410,11 +410,11 @@
|
|
|
410
410
|
});
|
|
411
411
|
StyledButtonGroup$1.displayName = "StyledButtonGroup";
|
|
412
412
|
|
|
413
|
-
var _excluded$
|
|
413
|
+
var _excluded$1h = ["children", "className"];
|
|
414
414
|
var ButtonGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
415
415
|
var children = _ref.children,
|
|
416
416
|
className = _ref.className,
|
|
417
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
417
|
+
rest = _objectWithoutProperties(_ref, _excluded$1h);
|
|
418
418
|
return /*#__PURE__*/React__default["default"].createElement(StyledButtonGroup$1, _extends({
|
|
419
419
|
ref: ref,
|
|
420
420
|
className: classNames__default["default"]("c-btn-group", className)
|
|
@@ -474,7 +474,7 @@
|
|
|
474
474
|
return React.useContext(MenuContext);
|
|
475
475
|
};
|
|
476
476
|
|
|
477
|
-
var _excluded$
|
|
477
|
+
var _excluded$1g = ["children", "anchorEl", "open", "style", "transition", "placement", "strategy", "afterWrite"];
|
|
478
478
|
var Popper = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
479
479
|
var children = _ref.children,
|
|
480
480
|
anchorEl = _ref.anchorEl,
|
|
@@ -488,7 +488,7 @@
|
|
|
488
488
|
_ref$strategy = _ref.strategy,
|
|
489
489
|
strategy = _ref$strategy === void 0 ? "absolute" : _ref$strategy,
|
|
490
490
|
afterWrite = _ref.afterWrite,
|
|
491
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
491
|
+
rest = _objectWithoutProperties(_ref, _excluded$1g);
|
|
492
492
|
var _useState = React.useState(true),
|
|
493
493
|
_useState2 = _slicedToArray(_useState, 2),
|
|
494
494
|
exited = _useState2[0],
|
|
@@ -587,12 +587,12 @@
|
|
|
587
587
|
});
|
|
588
588
|
StyledOverlay.displayName = "StyledOverlay";
|
|
589
589
|
|
|
590
|
-
var _excluded$
|
|
590
|
+
var _excluded$1f = ["className", "disableBackgroundColor"];
|
|
591
591
|
var Overlay = function Overlay(_ref) {
|
|
592
592
|
var className = _ref.className,
|
|
593
593
|
_ref$disableBackgroun = _ref.disableBackgroundColor,
|
|
594
594
|
disableBackgroundColor = _ref$disableBackgroun === void 0 ? false : _ref$disableBackgroun,
|
|
595
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
595
|
+
rest = _objectWithoutProperties(_ref, _excluded$1f);
|
|
596
596
|
return /*#__PURE__*/React__default["default"].createElement(StyledOverlay, _extends({
|
|
597
597
|
className: classNames__default["default"]("c-overlay", className),
|
|
598
598
|
$disableBackgroundColor: disableBackgroundColor
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
})(["", " ", " position:fixed;top:0;right:0;bottom:0;left:0;"], FontStyle, BoxSizingStyle);
|
|
633
633
|
StyledWindow.displayName = "StyledWindow";
|
|
634
634
|
|
|
635
|
-
var _excluded$
|
|
635
|
+
var _excluded$1e = ["children", "onClose", "className", "style", "onKeyDown", "disableFocusLock", "disableScrollLock", "disableCloseOnEsc", "onClick"];
|
|
636
636
|
var returnFocus = {
|
|
637
637
|
preventScroll: true
|
|
638
638
|
};
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
_ref$disableCloseOnEs = _ref.disableCloseOnEsc,
|
|
650
650
|
disableCloseOnEsc = _ref$disableCloseOnEs === void 0 ? false : _ref$disableCloseOnEs,
|
|
651
651
|
onClick = _ref.onClick,
|
|
652
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
652
|
+
rest = _objectWithoutProperties(_ref, _excluded$1e);
|
|
653
653
|
var innerRef = React.useRef(null);
|
|
654
654
|
var handleRef = useForkRef(innerRef, ref);
|
|
655
655
|
var _useLayerContext = useLayerContext(),
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
}, FontStyle, BoxSizingStyle);
|
|
710
710
|
StyledBubble.displayName = "StyledBubble";
|
|
711
711
|
|
|
712
|
-
var _excluded$
|
|
712
|
+
var _excluded$1d = ["children", "className", "innerRef", "style"];
|
|
713
713
|
var Bubble = function Bubble(_ref) {
|
|
714
714
|
var children = _ref.children,
|
|
715
715
|
className = _ref.className,
|
|
@@ -717,7 +717,7 @@
|
|
|
717
717
|
innerRef = _ref$innerRef === void 0 ? null : _ref$innerRef,
|
|
718
718
|
_ref$style = _ref.style,
|
|
719
719
|
style = _ref$style === void 0 ? {} : _ref$style,
|
|
720
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
720
|
+
rest = _objectWithoutProperties(_ref, _excluded$1d);
|
|
721
721
|
return /*#__PURE__*/React__default["default"].createElement(StyledBubble, _extends({}, rest, {
|
|
722
722
|
ref: innerRef,
|
|
723
723
|
className: classNames__default["default"]("c-bubble", className),
|
|
@@ -1035,7 +1035,7 @@
|
|
|
1035
1035
|
});
|
|
1036
1036
|
StyledTypography.displayName = "StyledTypography";
|
|
1037
1037
|
|
|
1038
|
-
var _excluded$
|
|
1038
|
+
var _excluded$1c = ["variant", "as", "color", "italic", "tabularNums", "letterSpacing", "lineHeight", "align", "decoration", "transform", "overflow", "whitespace", "wordBreak", "weight", "className", "children"];
|
|
1039
1039
|
var Typography = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1040
1040
|
var _ref$variant = _ref.variant,
|
|
1041
1041
|
variant = _ref$variant === void 0 ? "Title 1" : _ref$variant,
|
|
@@ -1066,7 +1066,7 @@
|
|
|
1066
1066
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
1067
1067
|
className = _ref.className,
|
|
1068
1068
|
children = _ref.children,
|
|
1069
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1069
|
+
props = _objectWithoutProperties(_ref, _excluded$1c);
|
|
1070
1070
|
var Component = as || "div";
|
|
1071
1071
|
return /*#__PURE__*/React__default["default"].createElement(StyledTypography, _extends({
|
|
1072
1072
|
as: Component,
|
|
@@ -1089,13 +1089,13 @@
|
|
|
1089
1089
|
});
|
|
1090
1090
|
Typography.displayName = "Typography";
|
|
1091
1091
|
|
|
1092
|
-
var _excluded$
|
|
1092
|
+
var _excluded$1b = ["title", "className", "leftElement", "rightElement"];
|
|
1093
1093
|
var MenuHeader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1094
1094
|
var title = _ref.title,
|
|
1095
1095
|
className = _ref.className,
|
|
1096
1096
|
leftElement = _ref.leftElement,
|
|
1097
1097
|
rightElement = _ref.rightElement,
|
|
1098
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1098
|
+
props = _objectWithoutProperties(_ref, _excluded$1b);
|
|
1099
1099
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuHeader, _extends({}, props, {
|
|
1100
1100
|
className: classNames__default["default"]("c-menu-header", className),
|
|
1101
1101
|
ref: ref
|
|
@@ -1120,11 +1120,11 @@
|
|
|
1120
1120
|
});
|
|
1121
1121
|
MenuHeader.displayName = "MenuHeader";
|
|
1122
1122
|
|
|
1123
|
-
var _excluded$
|
|
1123
|
+
var _excluded$1a = ["children", "className"];
|
|
1124
1124
|
var MenuFooter = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1125
1125
|
var children = _ref.children,
|
|
1126
1126
|
className = _ref.className,
|
|
1127
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1127
|
+
props = _objectWithoutProperties(_ref, _excluded$1a);
|
|
1128
1128
|
return /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter$1, _extends({}, props, {
|
|
1129
1129
|
className: classNames__default["default"]("c-menu-footer", className),
|
|
1130
1130
|
ref: ref
|
|
@@ -1148,11 +1148,11 @@
|
|
|
1148
1148
|
})(["border-top:1px solid var(--border-primary);margin:12px 16px;height:1px;"]);
|
|
1149
1149
|
StyledListSeparator.displayName = "StyledListSeparator";
|
|
1150
1150
|
|
|
1151
|
-
var _excluded$
|
|
1151
|
+
var _excluded$19 = ["children", "className"];
|
|
1152
1152
|
var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1153
1153
|
var children = _ref.children,
|
|
1154
1154
|
className = _ref.className,
|
|
1155
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1155
|
+
props = _objectWithoutProperties(_ref, _excluded$19);
|
|
1156
1156
|
return /*#__PURE__*/React__default["default"].createElement(StyledListItem, _extends({
|
|
1157
1157
|
className: classNames__default["default"]("c-list-item", className),
|
|
1158
1158
|
ref: ref,
|
|
@@ -1161,21 +1161,21 @@
|
|
|
1161
1161
|
});
|
|
1162
1162
|
ListItem.displayName = "ListItem";
|
|
1163
1163
|
|
|
1164
|
-
var _excluded$
|
|
1164
|
+
var _excluded$18 = ["className"];
|
|
1165
1165
|
var ListSeparator = function ListSeparator(_ref) {
|
|
1166
1166
|
var className = _ref.className,
|
|
1167
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1167
|
+
props = _objectWithoutProperties(_ref, _excluded$18);
|
|
1168
1168
|
return /*#__PURE__*/React__default["default"].createElement(StyledListSeparator, _extends({
|
|
1169
1169
|
className: classNames__default["default"]("c-list-separator", className)
|
|
1170
1170
|
}, props));
|
|
1171
1171
|
};
|
|
1172
1172
|
ListSeparator.displayName = "ListSeparator";
|
|
1173
1173
|
|
|
1174
|
-
var _excluded$
|
|
1174
|
+
var _excluded$17 = ["children", "className"];
|
|
1175
1175
|
var _List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
1176
1176
|
var children = _ref.children,
|
|
1177
1177
|
className = _ref.className,
|
|
1178
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
1178
|
+
props = _objectWithoutProperties(_ref, _excluded$17);
|
|
1179
1179
|
return /*#__PURE__*/React__default["default"].createElement(StyledList, _extends({
|
|
1180
1180
|
className: className,
|
|
1181
1181
|
ref: ref,
|
|
@@ -1201,7 +1201,7 @@
|
|
|
1201
1201
|
return size === "big" && styled.css(["width:40px;"]);
|
|
1202
1202
|
});
|
|
1203
1203
|
|
|
1204
|
-
var _excluded$
|
|
1204
|
+
var _excluded$16 = ["children", "className", "variant", "size", "active"];
|
|
1205
1205
|
|
|
1206
1206
|
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
|
1207
1207
|
|
|
@@ -1231,7 +1231,7 @@
|
|
|
1231
1231
|
variant = _ref.variant,
|
|
1232
1232
|
size = _ref.size,
|
|
1233
1233
|
active = _ref.active,
|
|
1234
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
1234
|
+
args = _objectWithoutProperties(_ref, _excluded$16);
|
|
1235
1235
|
return /*#__PURE__*/React__default["default"].createElement(StyledIconButton, _extends({
|
|
1236
1236
|
className: className,
|
|
1237
1237
|
variant: variant,
|
|
@@ -7483,14 +7483,14 @@
|
|
|
7483
7483
|
});
|
|
7484
7484
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
7485
7485
|
|
|
7486
|
-
var _excluded$
|
|
7486
|
+
var _excluded$15 = ["children", "className", "separator"];
|
|
7487
7487
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7488
7488
|
var _dimensions$width, _childDimensions$widt;
|
|
7489
7489
|
var children = _ref.children,
|
|
7490
7490
|
className = _ref.className,
|
|
7491
7491
|
_ref$separator = _ref.separator,
|
|
7492
7492
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
7493
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7493
|
+
rest = _objectWithoutProperties(_ref, _excluded$15);
|
|
7494
7494
|
var internalRef = React.useRef(null);
|
|
7495
7495
|
var listWrapperRef = React.useRef(null);
|
|
7496
7496
|
var olRef = React.useRef(null);
|
|
@@ -7657,10 +7657,10 @@
|
|
|
7657
7657
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
7658
7658
|
});
|
|
7659
7659
|
|
|
7660
|
-
var _excluded$
|
|
7660
|
+
var _excluded$14 = ["children"];
|
|
7661
7661
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
7662
7662
|
var children = _ref.children,
|
|
7663
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7663
|
+
props = _objectWithoutProperties(_ref, _excluded$14);
|
|
7664
7664
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
7665
7665
|
timeout: 0
|
|
7666
7666
|
}, props), children);
|
|
@@ -7735,12 +7735,12 @@
|
|
|
7735
7735
|
});
|
|
7736
7736
|
Tooltip.displayName = "Tooltip";
|
|
7737
7737
|
|
|
7738
|
-
var _excluded$
|
|
7738
|
+
var _excluded$13 = ["weight", "children"];
|
|
7739
7739
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7740
7740
|
var _ref$weight = _ref.weight,
|
|
7741
7741
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
7742
7742
|
children = _ref.children,
|
|
7743
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7743
|
+
props = _objectWithoutProperties(_ref, _excluded$13);
|
|
7744
7744
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
7745
7745
|
variant: "Body 2",
|
|
7746
7746
|
weight: weight,
|
|
@@ -7789,7 +7789,7 @@
|
|
|
7789
7789
|
});
|
|
7790
7790
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
7791
7791
|
|
|
7792
|
-
var _excluded$
|
|
7792
|
+
var _excluded$12 = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "disabled"];
|
|
7793
7793
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7794
7794
|
var label = _ref.label,
|
|
7795
7795
|
icon = _ref.icon,
|
|
@@ -7801,7 +7801,7 @@
|
|
|
7801
7801
|
className = _ref.className,
|
|
7802
7802
|
_ref$disabled = _ref.disabled,
|
|
7803
7803
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7804
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
7804
|
+
args = _objectWithoutProperties(_ref, _excluded$12);
|
|
7805
7805
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
7806
7806
|
ref: ref,
|
|
7807
7807
|
className: className
|
|
@@ -8112,7 +8112,7 @@
|
|
|
8112
8112
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
8113
8113
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
8114
8114
|
|
|
8115
|
-
var _excluded$
|
|
8115
|
+
var _excluded$11 = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
8116
8116
|
var DatePicker = function DatePicker(_ref) {
|
|
8117
8117
|
var className = _ref.className,
|
|
8118
8118
|
onChange = _ref.onChange,
|
|
@@ -8134,7 +8134,7 @@
|
|
|
8134
8134
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
8135
8135
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
8136
8136
|
defaultModifiers = _ref.modifiers,
|
|
8137
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8137
|
+
rest = _objectWithoutProperties(_ref, _excluded$11);
|
|
8138
8138
|
var _useState = React.useState(),
|
|
8139
8139
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8140
8140
|
enteredTo = _useState2[0],
|
|
@@ -9026,10 +9026,10 @@
|
|
|
9026
9026
|
componentId: "sc-x4ge7a-0"
|
|
9027
9027
|
})(["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);
|
|
9028
9028
|
|
|
9029
|
-
var _excluded
|
|
9029
|
+
var _excluded$10 = ["className"];
|
|
9030
9030
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9031
9031
|
var className = _ref.className,
|
|
9032
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
9032
|
+
rest = _objectWithoutProperties(_ref, _excluded$10);
|
|
9033
9033
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
9034
9034
|
ref: ref,
|
|
9035
9035
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -9043,10 +9043,10 @@
|
|
|
9043
9043
|
componentId: "sc-1f35d5h-0"
|
|
9044
9044
|
})(["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);
|
|
9045
9045
|
|
|
9046
|
-
var _excluded
|
|
9046
|
+
var _excluded$$ = ["className"];
|
|
9047
9047
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9048
9048
|
var className = _ref.className,
|
|
9049
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
9049
|
+
rest = _objectWithoutProperties(_ref, _excluded$$);
|
|
9050
9050
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
9051
9051
|
ref: ref,
|
|
9052
9052
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -9068,7 +9068,7 @@
|
|
|
9068
9068
|
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);
|
|
9069
9069
|
});
|
|
9070
9070
|
|
|
9071
|
-
var _excluded$
|
|
9071
|
+
var _excluded$_ = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
9072
9072
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9073
9073
|
var _ref$radius = _ref.radius,
|
|
9074
9074
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -9083,7 +9083,7 @@
|
|
|
9083
9083
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
9084
9084
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
9085
9085
|
className = _ref.className,
|
|
9086
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9086
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
9087
9087
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
9088
9088
|
ref: ref,
|
|
9089
9089
|
className: className,
|
|
@@ -9097,7 +9097,7 @@
|
|
|
9097
9097
|
});
|
|
9098
9098
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
9099
9099
|
|
|
9100
|
-
var _excluded$
|
|
9100
|
+
var _excluded$Z = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
9101
9101
|
exports.SortDirection = void 0;
|
|
9102
9102
|
(function (SortDirection) {
|
|
9103
9103
|
SortDirection["None"] = "none";
|
|
@@ -9145,7 +9145,7 @@
|
|
|
9145
9145
|
loading = _ref.loading,
|
|
9146
9146
|
_ref$loadingRows = _ref.loadingRows,
|
|
9147
9147
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
9148
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9148
|
+
args = _objectWithoutProperties(_ref, _excluded$Z);
|
|
9149
9149
|
var _useState = React.useState(sortDirection),
|
|
9150
9150
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9151
9151
|
columnDirection = _useState2[0],
|
|
@@ -9547,7 +9547,7 @@
|
|
|
9547
9547
|
});
|
|
9548
9548
|
StyledPaper.displayName = "StyledPaper";
|
|
9549
9549
|
|
|
9550
|
-
var _excluded$
|
|
9550
|
+
var _excluded$Y = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
9551
9551
|
/**
|
|
9552
9552
|
* This is a component description and should sit directly above your component
|
|
9553
9553
|
*/
|
|
@@ -9560,7 +9560,7 @@
|
|
|
9560
9560
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
9561
9561
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
9562
9562
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
9563
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9563
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
9564
9564
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
9565
9565
|
className: classNames__default["default"](className, {
|
|
9566
9566
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -9613,7 +9613,7 @@
|
|
|
9613
9613
|
});
|
|
9614
9614
|
StyledCard.displayName = "StyledCard";
|
|
9615
9615
|
|
|
9616
|
-
var _excluded$
|
|
9616
|
+
var _excluded$X = ["children", "className", "hoverable", "paperType"];
|
|
9617
9617
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9618
9618
|
var children = _ref.children,
|
|
9619
9619
|
className = _ref.className,
|
|
@@ -9621,7 +9621,7 @@
|
|
|
9621
9621
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
9622
9622
|
_ref$paperType = _ref.paperType,
|
|
9623
9623
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
9624
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9624
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
9625
9625
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
9626
9626
|
type: paperType,
|
|
9627
9627
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -9700,12 +9700,12 @@
|
|
|
9700
9700
|
});
|
|
9701
9701
|
EntityCard$1.displayName = "EntityCard";
|
|
9702
9702
|
|
|
9703
|
-
var _excluded$
|
|
9703
|
+
var _excluded$W = ["weight", "children"];
|
|
9704
9704
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9705
9705
|
var _ref$weight = _ref.weight,
|
|
9706
9706
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9707
9707
|
children = _ref.children,
|
|
9708
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9708
|
+
props = _objectWithoutProperties(_ref, _excluded$W);
|
|
9709
9709
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9710
9710
|
weight: weight,
|
|
9711
9711
|
variant: "Title 1",
|
|
@@ -9714,12 +9714,12 @@
|
|
|
9714
9714
|
});
|
|
9715
9715
|
Title1.displayName = "Title1";
|
|
9716
9716
|
|
|
9717
|
-
var _excluded$
|
|
9717
|
+
var _excluded$V = ["weight", "children"];
|
|
9718
9718
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9719
9719
|
var _ref$weight = _ref.weight,
|
|
9720
9720
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9721
9721
|
children = _ref.children,
|
|
9722
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9722
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
9723
9723
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9724
9724
|
weight: weight,
|
|
9725
9725
|
variant: "Title 2",
|
|
@@ -9728,10 +9728,10 @@
|
|
|
9728
9728
|
});
|
|
9729
9729
|
Title2.displayName = "Title2";
|
|
9730
9730
|
|
|
9731
|
-
var _excluded$
|
|
9731
|
+
var _excluded$U = ["children"];
|
|
9732
9732
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9733
9733
|
var children = _ref.children,
|
|
9734
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9734
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
9735
9735
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9736
9736
|
weight: "bold",
|
|
9737
9737
|
variant: "Header 2",
|
|
@@ -9740,10 +9740,10 @@
|
|
|
9740
9740
|
});
|
|
9741
9741
|
Header2.displayName = "Header2";
|
|
9742
9742
|
|
|
9743
|
-
var _excluded$
|
|
9743
|
+
var _excluded$T = ["children"];
|
|
9744
9744
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9745
9745
|
var children = _ref.children,
|
|
9746
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9746
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
9747
9747
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9748
9748
|
weight: "bold",
|
|
9749
9749
|
variant: "Header 3",
|
|
@@ -9752,12 +9752,12 @@
|
|
|
9752
9752
|
});
|
|
9753
9753
|
Header3.displayName = "Header3";
|
|
9754
9754
|
|
|
9755
|
-
var _excluded$
|
|
9755
|
+
var _excluded$S = ["weight", "children"];
|
|
9756
9756
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9757
9757
|
var _ref$weight = _ref.weight,
|
|
9758
9758
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9759
9759
|
children = _ref.children,
|
|
9760
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9760
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
9761
9761
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9762
9762
|
variant: "Body 1",
|
|
9763
9763
|
weight: weight,
|
|
@@ -9766,12 +9766,12 @@
|
|
|
9766
9766
|
});
|
|
9767
9767
|
Body1.displayName = "Body1";
|
|
9768
9768
|
|
|
9769
|
-
var _excluded$
|
|
9769
|
+
var _excluded$R = ["weight", "children"];
|
|
9770
9770
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9771
9771
|
var _ref$weight = _ref.weight,
|
|
9772
9772
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9773
9773
|
children = _ref.children,
|
|
9774
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9774
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
9775
9775
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9776
9776
|
variant: "Caption 1",
|
|
9777
9777
|
weight: weight,
|
|
@@ -9780,12 +9780,12 @@
|
|
|
9780
9780
|
});
|
|
9781
9781
|
Caption1.displayName = "Caption1";
|
|
9782
9782
|
|
|
9783
|
-
var _excluded$
|
|
9783
|
+
var _excluded$Q = ["weight", "children"];
|
|
9784
9784
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9785
9785
|
var _ref$weight = _ref.weight,
|
|
9786
9786
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9787
9787
|
children = _ref.children,
|
|
9788
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9788
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
9789
9789
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9790
9790
|
variant: "Caption 2",
|
|
9791
9791
|
weight: weight,
|
|
@@ -9897,7 +9897,7 @@
|
|
|
9897
9897
|
componentId: "sc-5x2tyd-1"
|
|
9898
9898
|
})(["border-radius:100%;object-fit:cover;"]);
|
|
9899
9899
|
|
|
9900
|
-
var _excluded$
|
|
9900
|
+
var _excluded$P = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
9901
9901
|
/**
|
|
9902
9902
|
* @component Avatar
|
|
9903
9903
|
* @description
|
|
@@ -9932,7 +9932,7 @@
|
|
|
9932
9932
|
className = _ref.className,
|
|
9933
9933
|
imgClassName = _ref.imgClassName,
|
|
9934
9934
|
children = _ref.children,
|
|
9935
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9935
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
9936
9936
|
var _useState = React.useState(false),
|
|
9937
9937
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9938
9938
|
imageLoaded = _useState2[0],
|
|
@@ -9973,13 +9973,13 @@
|
|
|
9973
9973
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
9974
9974
|
});
|
|
9975
9975
|
|
|
9976
|
-
var _excluded$
|
|
9976
|
+
var _excluded$O = ["color", "size", "className"];
|
|
9977
9977
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9978
9978
|
var color = _ref.color,
|
|
9979
9979
|
_ref$size = _ref.size,
|
|
9980
9980
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
9981
9981
|
className = _ref.className,
|
|
9982
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9982
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
9983
9983
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
9984
9984
|
className: classNames__default["default"]("c-dot", className),
|
|
9985
9985
|
ref: ref,
|
|
@@ -10016,7 +10016,7 @@
|
|
|
10016
10016
|
});
|
|
10017
10017
|
StyledTagText.displayName = "StyledTagText";
|
|
10018
10018
|
|
|
10019
|
-
var _excluded$
|
|
10019
|
+
var _excluded$N = ["name", "color", "showText", "showDot", "className"];
|
|
10020
10020
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10021
10021
|
var name = _ref.name,
|
|
10022
10022
|
color = _ref.color,
|
|
@@ -10025,7 +10025,7 @@
|
|
|
10025
10025
|
_ref$showDot = _ref.showDot,
|
|
10026
10026
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
10027
10027
|
className = _ref.className,
|
|
10028
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10028
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
10029
10029
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
10030
10030
|
className: classNames__default["default"]("c-tag", className),
|
|
10031
10031
|
ref: ref
|
|
@@ -10145,7 +10145,7 @@
|
|
|
10145
10145
|
}, StyledInput$3, StyledLabel);
|
|
10146
10146
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
10147
10147
|
|
|
10148
|
-
var _excluded$
|
|
10148
|
+
var _excluded$M = ["className", "hover", "id"];
|
|
10149
10149
|
/**
|
|
10150
10150
|
* Checkbox component
|
|
10151
10151
|
*/
|
|
@@ -10154,7 +10154,7 @@
|
|
|
10154
10154
|
hover = _ref.hover,
|
|
10155
10155
|
_ref$id = _ref.id,
|
|
10156
10156
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
10157
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10157
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
10158
10158
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
10159
10159
|
className: classNames__default["default"]("c-checkbox", {
|
|
10160
10160
|
"c-checkbox__hover": hover,
|
|
@@ -10348,7 +10348,7 @@
|
|
|
10348
10348
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
10349
10349
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
10350
10350
|
|
|
10351
|
-
var _excluded$
|
|
10351
|
+
var _excluded$L = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
10352
10352
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10353
10353
|
var children = _ref.children,
|
|
10354
10354
|
className = _ref.className,
|
|
@@ -10362,7 +10362,7 @@
|
|
|
10362
10362
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
10363
10363
|
innerColor = _ref.innerColor,
|
|
10364
10364
|
outerColor = _ref.outerColor,
|
|
10365
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10365
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
10366
10366
|
var _useState = React.useState({
|
|
10367
10367
|
top: 0,
|
|
10368
10368
|
right: 0,
|
|
@@ -10482,7 +10482,7 @@
|
|
|
10482
10482
|
return height;
|
|
10483
10483
|
};
|
|
10484
10484
|
|
|
10485
|
-
var _excluded$
|
|
10485
|
+
var _excluded$K = ["as", "className", "invert", "style"];
|
|
10486
10486
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10487
10487
|
var _ref$as = _ref.as,
|
|
10488
10488
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -10490,7 +10490,7 @@
|
|
|
10490
10490
|
_ref$invert = _ref.invert,
|
|
10491
10491
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
10492
10492
|
style = _ref.style,
|
|
10493
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10493
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
10494
10494
|
var internalRef = useInitScrollRef(null, invert);
|
|
10495
10495
|
var handleRef = useForkRef(internalRef, ref);
|
|
10496
10496
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -10972,7 +10972,7 @@
|
|
|
10972
10972
|
});
|
|
10973
10973
|
StyledInput$2.displayName = "StyledInput";
|
|
10974
10974
|
|
|
10975
|
-
var _excluded$
|
|
10975
|
+
var _excluded$J = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick"];
|
|
10976
10976
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10977
10977
|
var _ref$className = _ref.className,
|
|
10978
10978
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -10989,7 +10989,7 @@
|
|
|
10989
10989
|
endAdornment = _ref.endAdornment,
|
|
10990
10990
|
wrapRef = _ref.wrapRef,
|
|
10991
10991
|
wrapperClick = _ref.wrapperClick,
|
|
10992
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10992
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
10993
10993
|
var intInputRef = React.useRef(null);
|
|
10994
10994
|
var handleRef = useForkRef(ref, intInputRef);
|
|
10995
10995
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -11043,14 +11043,14 @@
|
|
|
11043
11043
|
}, StyledRadioLabel);
|
|
11044
11044
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
11045
11045
|
|
|
11046
|
-
var _excluded$
|
|
11046
|
+
var _excluded$I = ["className", "id", "hover"];
|
|
11047
11047
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11048
11048
|
var _ref$className = _ref.className,
|
|
11049
11049
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
11050
11050
|
_ref$id = _ref.id,
|
|
11051
11051
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
11052
11052
|
hover = _ref.hover,
|
|
11053
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11053
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
11054
11054
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
11055
11055
|
className: classNames__default["default"]("c-radio-btn", {
|
|
11056
11056
|
"c-radio-btn__hover": hover,
|
|
@@ -11258,7 +11258,7 @@
|
|
|
11258
11258
|
};
|
|
11259
11259
|
OptionContent.displayName = "OptionContent";
|
|
11260
11260
|
|
|
11261
|
-
var _excluded$
|
|
11261
|
+
var _excluded$H = ["type", "mode", "target", "options", "selected", "position", "onChange", "actionIcon", "actionLabel", "placeholder", "emptyAction", "disableSearch", "forceCloseMenu", "selectClassName", "keepSameOptionsOrder", "onSelectOpen", "onSelectClose", "renderOption", "handleDefaultOptionChange", "preselectDefaultValue"];
|
|
11262
11262
|
var Select = function Select(_ref) {
|
|
11263
11263
|
var _ref$type = _ref.type,
|
|
11264
11264
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -11292,7 +11292,7 @@
|
|
|
11292
11292
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
11293
11293
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
11294
11294
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
11295
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
11295
|
+
prop = _objectWithoutProperties(_ref, _excluded$H);
|
|
11296
11296
|
var childNode = React.useRef();
|
|
11297
11297
|
var elementRef = React.useRef(null);
|
|
11298
11298
|
var handleRef = useForkRef(childNode, elementRef);
|
|
@@ -11541,7 +11541,7 @@
|
|
|
11541
11541
|
});
|
|
11542
11542
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
11543
11543
|
|
|
11544
|
-
var _excluded$
|
|
11544
|
+
var _excluded$G = ["children", "active", "disabled", "className", "role"];
|
|
11545
11545
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11546
11546
|
var children = _ref.children,
|
|
11547
11547
|
_ref$active = _ref.active,
|
|
@@ -11550,7 +11550,7 @@
|
|
|
11550
11550
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11551
11551
|
className = _ref.className,
|
|
11552
11552
|
role = _ref.role,
|
|
11553
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11553
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
11554
11554
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
11555
11555
|
className: classNames__default["default"]("c-nav__item", {
|
|
11556
11556
|
"c-nav__item--active": active
|
|
@@ -11591,11 +11591,11 @@
|
|
|
11591
11591
|
});
|
|
11592
11592
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
11593
11593
|
|
|
11594
|
-
var _excluded$
|
|
11594
|
+
var _excluded$F = ["expanded"];
|
|
11595
11595
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11596
11596
|
var _ref$expanded = _ref.expanded,
|
|
11597
11597
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11598
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11598
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
11599
11599
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
11600
11600
|
ref: ref,
|
|
11601
11601
|
viewBox: "0 0 24 24",
|
|
@@ -11885,7 +11885,7 @@
|
|
|
11885
11885
|
};
|
|
11886
11886
|
Nav.displayName = "Nav";
|
|
11887
11887
|
|
|
11888
|
-
var _excluded$
|
|
11888
|
+
var _excluded$E = ["children", "as", "disablePointerEvents"];
|
|
11889
11889
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
11890
11890
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
11891
11891
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -11902,7 +11902,7 @@
|
|
|
11902
11902
|
var children = _ref.children,
|
|
11903
11903
|
as = _ref.as,
|
|
11904
11904
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
11905
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11905
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
11906
11906
|
var Component = as || "div";
|
|
11907
11907
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
11908
11908
|
as: Component,
|
|
@@ -11912,11 +11912,11 @@
|
|
|
11912
11912
|
});
|
|
11913
11913
|
InputAdornment.displayName = "InputAdornment";
|
|
11914
11914
|
|
|
11915
|
-
var _excluded$
|
|
11915
|
+
var _excluded$D = ["expanded"];
|
|
11916
11916
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11917
11917
|
var _ref$expanded = _ref.expanded,
|
|
11918
11918
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11919
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11919
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
11920
11920
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
11921
11921
|
ref: ref,
|
|
11922
11922
|
viewBox: "0 0 24 24"
|
|
@@ -12034,14 +12034,14 @@
|
|
|
12034
12034
|
});
|
|
12035
12035
|
StyledTextarea.displayName = "StyledTextarea";
|
|
12036
12036
|
|
|
12037
|
-
var _excluded$
|
|
12037
|
+
var _excluded$C = ["className", "disabled", "invalid"];
|
|
12038
12038
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12039
12039
|
var className = _ref.className,
|
|
12040
12040
|
_ref$disabled = _ref.disabled,
|
|
12041
12041
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12042
12042
|
_ref$invalid = _ref.invalid,
|
|
12043
12043
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
12044
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12044
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
12045
12045
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
12046
12046
|
$invalid: invalid,
|
|
12047
12047
|
ref: ref,
|
|
@@ -12073,7 +12073,7 @@
|
|
|
12073
12073
|
function () {});
|
|
12074
12074
|
}
|
|
12075
12075
|
|
|
12076
|
-
var _excluded$
|
|
12076
|
+
var _excluded$B = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
12077
12077
|
var getHasTransition = function getHasTransition(children) {
|
|
12078
12078
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
12079
12079
|
};
|
|
@@ -12092,7 +12092,7 @@
|
|
|
12092
12092
|
_ref$open = _ref.open,
|
|
12093
12093
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
12094
12094
|
onClose = _ref.onClose,
|
|
12095
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12095
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
12096
12096
|
var _useState = React.useState(defaultOpen),
|
|
12097
12097
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12098
12098
|
open = _useState2[0],
|
|
@@ -12230,7 +12230,7 @@
|
|
|
12230
12230
|
});
|
|
12231
12231
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
12232
12232
|
|
|
12233
|
-
var _excluded$
|
|
12233
|
+
var _excluded$A = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
12234
12234
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12235
12235
|
var children = _ref.children,
|
|
12236
12236
|
onClose = _ref.onClose,
|
|
@@ -12254,7 +12254,7 @@
|
|
|
12254
12254
|
bodyClassName = _ref.bodyClassName,
|
|
12255
12255
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
12256
12256
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
12257
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12257
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
12258
12258
|
var _useState = React.useState(defaultOpen),
|
|
12259
12259
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12260
12260
|
open = _useState2[0],
|
|
@@ -12347,13 +12347,13 @@
|
|
|
12347
12347
|
});
|
|
12348
12348
|
StyledHeader.displayName = "StyledHeader";
|
|
12349
12349
|
|
|
12350
|
-
var _excluded$
|
|
12350
|
+
var _excluded$z = ["className", "size", "children"];
|
|
12351
12351
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12352
12352
|
var className = _ref.className,
|
|
12353
12353
|
_ref$size = _ref.size,
|
|
12354
12354
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
12355
12355
|
children = _ref.children,
|
|
12356
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12356
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
12357
12357
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
12358
12358
|
type: "paper-2",
|
|
12359
12359
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -12369,7 +12369,7 @@
|
|
|
12369
12369
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
12370
12370
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
12371
12371
|
|
|
12372
|
-
var _excluded$
|
|
12372
|
+
var _excluded$y = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
12373
12373
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12374
12374
|
var _ref$minRows = _ref.minRows,
|
|
12375
12375
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -12385,7 +12385,7 @@
|
|
|
12385
12385
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
12386
12386
|
onKeyDown = _ref.onKeyDown,
|
|
12387
12387
|
value = _ref.value,
|
|
12388
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12388
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
12389
12389
|
var innerRef = React.useRef(null);
|
|
12390
12390
|
var _useState = React.useState(minRows),
|
|
12391
12391
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12661,7 +12661,7 @@
|
|
|
12661
12661
|
});
|
|
12662
12662
|
StyledChoose.displayName = "StyledChoose";
|
|
12663
12663
|
|
|
12664
|
-
var _excluded$
|
|
12664
|
+
var _excluded$x = ["children", "disabled", "active", "className"];
|
|
12665
12665
|
/**
|
|
12666
12666
|
* Choose component
|
|
12667
12667
|
*/
|
|
@@ -12672,7 +12672,7 @@
|
|
|
12672
12672
|
_ref$active = _ref.active,
|
|
12673
12673
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12674
12674
|
className = _ref.className,
|
|
12675
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12675
|
+
args = _objectWithoutProperties(_ref, _excluded$x);
|
|
12676
12676
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
12677
12677
|
disabled: disabled,
|
|
12678
12678
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -12768,21 +12768,21 @@
|
|
|
12768
12768
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
12769
12769
|
StyledLink.displayName = "StyledLink";
|
|
12770
12770
|
|
|
12771
|
-
var _excluded$
|
|
12771
|
+
var _excluded$w = ["children", "className"];
|
|
12772
12772
|
/**
|
|
12773
12773
|
* Back link component
|
|
12774
12774
|
*/
|
|
12775
12775
|
var BackLink = function BackLink(_ref) {
|
|
12776
12776
|
var children = _ref.children,
|
|
12777
12777
|
className = _ref.className,
|
|
12778
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12778
|
+
args = _objectWithoutProperties(_ref, _excluded$w);
|
|
12779
12779
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
12780
12780
|
className: classNames__default["default"]("c-back-link", className)
|
|
12781
12781
|
}, args), children);
|
|
12782
12782
|
};
|
|
12783
12783
|
BackLink.displayName = "BackLink";
|
|
12784
12784
|
|
|
12785
|
-
var _excluded$
|
|
12785
|
+
var _excluded$v = ["as", "children", "variant", "size", "disabled", "className"];
|
|
12786
12786
|
/**
|
|
12787
12787
|
* Link component
|
|
12788
12788
|
*/
|
|
@@ -12795,7 +12795,7 @@
|
|
|
12795
12795
|
_ref$disabled = _ref.disabled,
|
|
12796
12796
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12797
12797
|
className = _ref.className,
|
|
12798
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12798
|
+
args = _objectWithoutProperties(_ref, _excluded$v);
|
|
12799
12799
|
var Component = as || "a";
|
|
12800
12800
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
12801
12801
|
ref: ref,
|
|
@@ -12906,7 +12906,7 @@
|
|
|
12906
12906
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
12907
12907
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
12908
12908
|
|
|
12909
|
-
var _excluded$
|
|
12909
|
+
var _excluded$u = ["in", "children", "style", "timeout"];
|
|
12910
12910
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
12911
12911
|
return {
|
|
12912
12912
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -12934,7 +12934,7 @@
|
|
|
12934
12934
|
style = _ref.style,
|
|
12935
12935
|
_ref$timeout = _ref.timeout,
|
|
12936
12936
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
12937
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12937
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
12938
12938
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
12939
12939
|
appear: true,
|
|
12940
12940
|
in: inProp,
|
|
@@ -12949,7 +12949,7 @@
|
|
|
12949
12949
|
};
|
|
12950
12950
|
Fade.displayName = "Fade";
|
|
12951
12951
|
|
|
12952
|
-
var _excluded$
|
|
12952
|
+
var _excluded$t = ["in", "children", "style", "timeout", "initialDirection"];
|
|
12953
12953
|
var Slide = function Slide(_ref) {
|
|
12954
12954
|
var _ref$in = _ref.in,
|
|
12955
12955
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -12959,7 +12959,7 @@
|
|
|
12959
12959
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
12960
12960
|
_ref$initialDirection = _ref.initialDirection,
|
|
12961
12961
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
12962
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12962
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
12963
12963
|
var directionSign;
|
|
12964
12964
|
switch (initialDirection) {
|
|
12965
12965
|
case "right":
|
|
@@ -13012,12 +13012,12 @@
|
|
|
13012
13012
|
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;}"]);
|
|
13013
13013
|
});
|
|
13014
13014
|
|
|
13015
|
-
var _excluded$
|
|
13015
|
+
var _excluded$s = ["children", "direction"];
|
|
13016
13016
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
13017
13017
|
var children = _ref.children,
|
|
13018
13018
|
_ref$direction = _ref.direction,
|
|
13019
13019
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
13020
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13020
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
13021
13021
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
13022
13022
|
timeout: 200,
|
|
13023
13023
|
classNames: "c-slide",
|
|
@@ -13060,7 +13060,7 @@
|
|
|
13060
13060
|
};
|
|
13061
13061
|
ResizeTransition.displayName = "ResizeTransition";
|
|
13062
13062
|
|
|
13063
|
-
var _excluded$
|
|
13063
|
+
var _excluded$r = ["in", "children", "style", "timeout"];
|
|
13064
13064
|
var defaultStyle = function defaultStyle(duration) {
|
|
13065
13065
|
return {
|
|
13066
13066
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -13094,7 +13094,7 @@
|
|
|
13094
13094
|
style = _ref.style,
|
|
13095
13095
|
_ref$timeout = _ref.timeout,
|
|
13096
13096
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
13097
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13097
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
13098
13098
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
13099
13099
|
appear: true,
|
|
13100
13100
|
in: inProp,
|
|
@@ -13144,13 +13144,13 @@
|
|
|
13144
13144
|
};
|
|
13145
13145
|
Scale.displayName = "Scale";
|
|
13146
13146
|
|
|
13147
|
-
var _excluded$
|
|
13147
|
+
var _excluded$q = ["className", "children"];
|
|
13148
13148
|
// import { useDialogContext } from "./DialogContext";
|
|
13149
13149
|
|
|
13150
13150
|
var DialogActions = function DialogActions(_ref) {
|
|
13151
13151
|
var className = _ref.className,
|
|
13152
13152
|
children = _ref.children,
|
|
13153
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13153
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
13154
13154
|
// useDialogContext();
|
|
13155
13155
|
|
|
13156
13156
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -13159,13 +13159,13 @@
|
|
|
13159
13159
|
};
|
|
13160
13160
|
DialogActions.displayName = "DialogActions";
|
|
13161
13161
|
|
|
13162
|
-
var _excluded$
|
|
13162
|
+
var _excluded$p = ["className", "children"];
|
|
13163
13163
|
// import { useDialogContext } from "./DialogContext";
|
|
13164
13164
|
|
|
13165
13165
|
var DialogContent = function DialogContent(_ref) {
|
|
13166
13166
|
var className = _ref.className,
|
|
13167
13167
|
children = _ref.children,
|
|
13168
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13168
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
13169
13169
|
// useDialogContext();
|
|
13170
13170
|
|
|
13171
13171
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -13186,7 +13186,7 @@
|
|
|
13186
13186
|
};
|
|
13187
13187
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
13188
13188
|
|
|
13189
|
-
var _excluded$
|
|
13189
|
+
var _excluded$o = ["children", "className", "disableDefaultHeading"];
|
|
13190
13190
|
// import { useDialogContext } from "./DialogContext";
|
|
13191
13191
|
|
|
13192
13192
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -13194,7 +13194,7 @@
|
|
|
13194
13194
|
className = _ref.className,
|
|
13195
13195
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
13196
13196
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
13197
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13197
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
13198
13198
|
// useDialogContext();
|
|
13199
13199
|
|
|
13200
13200
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -13462,7 +13462,7 @@
|
|
|
13462
13462
|
});
|
|
13463
13463
|
StyledPressed.displayName = "StyledPressed";
|
|
13464
13464
|
|
|
13465
|
-
var _excluded$
|
|
13465
|
+
var _excluded$n = ["children", "active", "className"];
|
|
13466
13466
|
/**
|
|
13467
13467
|
* Pressed wrapper for button component
|
|
13468
13468
|
* @deprecated
|
|
@@ -13472,7 +13472,7 @@
|
|
|
13472
13472
|
_ref$active = _ref.active,
|
|
13473
13473
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
13474
13474
|
className = _ref.className,
|
|
13475
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13475
|
+
args = _objectWithoutProperties(_ref, _excluded$n);
|
|
13476
13476
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
13477
13477
|
active: active,
|
|
13478
13478
|
ref: ref,
|
|
@@ -13969,7 +13969,7 @@
|
|
|
13969
13969
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
13970
13970
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
13971
13971
|
|
|
13972
|
-
var _excluded$
|
|
13972
|
+
var _excluded$m = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
13973
13973
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13974
13974
|
var text = _ref.text,
|
|
13975
13975
|
type = _ref.type,
|
|
@@ -13980,7 +13980,7 @@
|
|
|
13980
13980
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
13981
13981
|
_ref$timeout = _ref.timeout,
|
|
13982
13982
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
13983
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13983
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
13984
13984
|
var handleOnClose = React.useCallback(function () {
|
|
13985
13985
|
if (typeof onClose === "function") {
|
|
13986
13986
|
onClose();
|
|
@@ -14028,7 +14028,7 @@
|
|
|
14028
14028
|
});
|
|
14029
14029
|
StyledValueButton.displayName = "StyledValueButton";
|
|
14030
14030
|
|
|
14031
|
-
var _excluded$
|
|
14031
|
+
var _excluded$l = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
14032
14032
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14033
14033
|
var _ref$active = _ref.active,
|
|
14034
14034
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -14037,7 +14037,7 @@
|
|
|
14037
14037
|
icon = _ref.icon,
|
|
14038
14038
|
label = _ref.label,
|
|
14039
14039
|
value = _ref.value,
|
|
14040
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14040
|
+
args = _objectWithoutProperties(_ref, _excluded$l);
|
|
14041
14041
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
14042
14042
|
className: "c-value-button"
|
|
14043
14043
|
}, args, {
|
|
@@ -14066,12 +14066,12 @@
|
|
|
14066
14066
|
})(["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;}"]);
|
|
14067
14067
|
StyledButton.displayName = "StyledButton";
|
|
14068
14068
|
|
|
14069
|
-
var _excluded$
|
|
14069
|
+
var _excluded$k = ["children", "type"];
|
|
14070
14070
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14071
14071
|
var children = _ref.children,
|
|
14072
14072
|
_ref$type = _ref.type,
|
|
14073
14073
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
14074
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14074
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
14075
14075
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
14076
14076
|
ref: ref,
|
|
14077
14077
|
role: "button",
|
|
@@ -14117,7 +14117,7 @@
|
|
|
14117
14117
|
});
|
|
14118
14118
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
14119
14119
|
|
|
14120
|
-
var _excluded$
|
|
14120
|
+
var _excluded$j = ["children", "type", "size", "invalid", "open", "endAdornment", "typographyProps"];
|
|
14121
14121
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14122
14122
|
var children = _ref.children,
|
|
14123
14123
|
_ref$type = _ref.type,
|
|
@@ -14130,7 +14130,7 @@
|
|
|
14130
14130
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
14131
14131
|
endAdornment = _ref.endAdornment,
|
|
14132
14132
|
typographyProps = _ref.typographyProps,
|
|
14133
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14133
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
14134
14134
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
14135
14135
|
ref: ref,
|
|
14136
14136
|
role: "button",
|
|
@@ -14177,11 +14177,11 @@
|
|
|
14177
14177
|
});
|
|
14178
14178
|
StyledToggle.displayName = "StyledToggle";
|
|
14179
14179
|
|
|
14180
|
-
var _excluded$
|
|
14180
|
+
var _excluded$i = ["hovered", "className"];
|
|
14181
14181
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14182
14182
|
var hovered = _ref.hovered,
|
|
14183
14183
|
className = _ref.className,
|
|
14184
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14184
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
14185
14185
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
14186
14186
|
className: classNames__default["default"]("c-toggle", className),
|
|
14187
14187
|
$isHovered: hovered,
|
|
@@ -14334,7 +14334,7 @@
|
|
|
14334
14334
|
});
|
|
14335
14335
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
14336
14336
|
|
|
14337
|
-
var _excluded$
|
|
14337
|
+
var _excluded$h = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
14338
14338
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14339
14339
|
var leftAdornment = _ref.leftAdornment,
|
|
14340
14340
|
label = _ref.label,
|
|
@@ -14346,7 +14346,7 @@
|
|
|
14346
14346
|
closeClassName = _ref.closeClassName,
|
|
14347
14347
|
variant = _ref.variant,
|
|
14348
14348
|
typographyProps = _ref.typographyProps,
|
|
14349
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14349
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
14350
14350
|
var showClose = typeof onClose === "function";
|
|
14351
14351
|
var _variant = React.useMemo(function () {
|
|
14352
14352
|
if (typeof variant !== "undefined") {
|
|
@@ -14422,7 +14422,7 @@
|
|
|
14422
14422
|
return isFirst.current;
|
|
14423
14423
|
};
|
|
14424
14424
|
|
|
14425
|
-
var _excluded$
|
|
14425
|
+
var _excluded$g = ["options", "selected", "loading", "loadingText", "onChange", "placeholder", "handleEmptyAction", "disabled", "size", "invalid", "type", "renderChip", "forceCloseMenu", "renderOption", "limitChips", "hiddenNumberText", "inPortal", "inputWrapperClassName", "scrollWrapper", "onClose", "onClear"];
|
|
14426
14426
|
var ComboBox = function ComboBox(_ref) {
|
|
14427
14427
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
14428
14428
|
var _ref$options = _ref.options,
|
|
@@ -14455,7 +14455,7 @@
|
|
|
14455
14455
|
scrollWrapper = _ref.scrollWrapper,
|
|
14456
14456
|
onClose = _ref.onClose,
|
|
14457
14457
|
onClear = _ref.onClear,
|
|
14458
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
14458
|
+
prop = _objectWithoutProperties(_ref, _excluded$g);
|
|
14459
14459
|
var selectedName = React.useMemo(function () {
|
|
14460
14460
|
var value = "";
|
|
14461
14461
|
if (!selected) {
|
|
@@ -14859,11 +14859,11 @@
|
|
|
14859
14859
|
})(["display:flex;justify-content:center;gap:12px;align-items:center;height:32px;padding:4px 16px 4px 4px;position:relative;background:none;border:none;cursor:pointer;&:before{content:\"\";display:block;height:2px;width:0%;position:absolute;left:16px;background:var(--color-primary);transition:ease 0.3s all;border-radius:30px;opacity:0;}&:hover{", "{color:var(--page-paper-main);}&:before{height:32px;width:100%;left:0;opacity:1;}", "{fill:var(--page-paper-main);transform:rotate(90deg);transition:ease 0.3s;}}"], StyledText, StyledAddCrossIcon);
|
|
14860
14860
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
14861
14861
|
|
|
14862
|
-
var _excluded$
|
|
14862
|
+
var _excluded$f = ["text", "className"];
|
|
14863
14863
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14864
14864
|
var text = _ref.text,
|
|
14865
14865
|
className = _ref.className,
|
|
14866
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14866
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
14867
14867
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
14868
14868
|
ref: ref,
|
|
14869
14869
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -15046,11 +15046,11 @@
|
|
|
15046
15046
|
};
|
|
15047
15047
|
ProgressRing.displayName = "ProgressRing";
|
|
15048
15048
|
|
|
15049
|
-
var _excluded$
|
|
15049
|
+
var _excluded$e = ["radius"];
|
|
15050
15050
|
var ProgressPie = function ProgressPie(_ref) {
|
|
15051
15051
|
var _ref$radius = _ref.radius,
|
|
15052
15052
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
15053
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15053
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
15054
15054
|
return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
|
|
15055
15055
|
stroke: radius,
|
|
15056
15056
|
radius: radius
|
|
@@ -15374,7 +15374,7 @@
|
|
|
15374
15374
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
15375
15375
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
15376
15376
|
|
|
15377
|
-
var _excluded$
|
|
15377
|
+
var _excluded$d = ["invalid", "required", "size", "children", "className", "weight"];
|
|
15378
15378
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15379
15379
|
var _ref$invalid = _ref.invalid,
|
|
15380
15380
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -15386,7 +15386,7 @@
|
|
|
15386
15386
|
className = _ref.className,
|
|
15387
15387
|
_ref$weight = _ref.weight,
|
|
15388
15388
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
15389
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15389
|
+
props = _objectWithoutProperties(_ref, _excluded$d);
|
|
15390
15390
|
var color = invalid ? "alert" : "primary";
|
|
15391
15391
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
15392
15392
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -15445,7 +15445,7 @@
|
|
|
15445
15445
|
});
|
|
15446
15446
|
StyledInput$1.displayName = "StyledInput";
|
|
15447
15447
|
|
|
15448
|
-
var _excluded$
|
|
15448
|
+
var _excluded$c = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
15449
15449
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15450
15450
|
var className = _ref.className,
|
|
15451
15451
|
_ref$variant = _ref.variant,
|
|
@@ -15455,7 +15455,7 @@
|
|
|
15455
15455
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15456
15456
|
inputProps = _ref.inputProps,
|
|
15457
15457
|
wrapRef = _ref.wrapRef,
|
|
15458
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15458
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
15459
15459
|
var intInputRef = React.useRef(null);
|
|
15460
15460
|
var handleRef = useForkRef(ref, intInputRef);
|
|
15461
15461
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -15485,13 +15485,13 @@
|
|
|
15485
15485
|
});
|
|
15486
15486
|
EditableContent.displayName = "EditableContent";
|
|
15487
15487
|
|
|
15488
|
-
var _excluded$
|
|
15488
|
+
var _excluded$b = ["onSave", "onCancel", "value", "inputProps"];
|
|
15489
15489
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15490
15490
|
var onSave = _ref.onSave,
|
|
15491
15491
|
onCancel = _ref.onCancel,
|
|
15492
15492
|
value = _ref.value,
|
|
15493
15493
|
inputProps = _ref.inputProps,
|
|
15494
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15494
|
+
props = _objectWithoutProperties(_ref, _excluded$b);
|
|
15495
15495
|
var _useState = React.useState(value),
|
|
15496
15496
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15497
15497
|
currentValue = _useState2[0],
|
|
@@ -15549,11 +15549,11 @@
|
|
|
15549
15549
|
});
|
|
15550
15550
|
EditableText.displayName = "EditableText";
|
|
15551
15551
|
|
|
15552
|
-
var _excluded$
|
|
15552
|
+
var _excluded$a = ["withDocuments"];
|
|
15553
15553
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
15554
15554
|
var _ref$withDocuments = _ref.withDocuments,
|
|
15555
15555
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
15556
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15556
|
+
props = _objectWithoutProperties(_ref, _excluded$a);
|
|
15557
15557
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
15558
15558
|
width: 100,
|
|
15559
15559
|
height: 100,
|
|
@@ -15696,7 +15696,7 @@
|
|
|
15696
15696
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
15697
15697
|
});
|
|
15698
15698
|
|
|
15699
|
-
var _excluded$
|
|
15699
|
+
var _excluded$9 = ["children", "gap", "renderAs"];
|
|
15700
15700
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
15701
15701
|
renderAs: "grid"
|
|
15702
15702
|
});
|
|
@@ -15705,7 +15705,7 @@
|
|
|
15705
15705
|
gap = _ref.gap,
|
|
15706
15706
|
_ref$renderAs = _ref.renderAs,
|
|
15707
15707
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
15708
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15708
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
15709
15709
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
15710
15710
|
value: {
|
|
15711
15711
|
renderAs: renderAs
|
|
@@ -15717,14 +15717,14 @@
|
|
|
15717
15717
|
};
|
|
15718
15718
|
EntityGroup.displayName = "EntityGroup";
|
|
15719
15719
|
|
|
15720
|
-
var _excluded$
|
|
15720
|
+
var _excluded$8 = ["children", "isCollection", "background", "className", "as"];
|
|
15721
15721
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15722
15722
|
var children = _ref.children,
|
|
15723
15723
|
isCollection = _ref.isCollection,
|
|
15724
15724
|
background = _ref.background,
|
|
15725
15725
|
className = _ref.className,
|
|
15726
15726
|
as = _ref.as,
|
|
15727
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15727
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
15728
15728
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15729
15729
|
renderAs = _useContext.renderAs;
|
|
15730
15730
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -15743,13 +15743,13 @@
|
|
|
15743
15743
|
});
|
|
15744
15744
|
EntityCard.displayName = "EntityCard";
|
|
15745
15745
|
|
|
15746
|
-
var _excluded$
|
|
15746
|
+
var _excluded$7 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
15747
15747
|
var EntityProperty = function EntityProperty(_ref) {
|
|
15748
15748
|
var listOrder = _ref.listOrder,
|
|
15749
15749
|
listWidth = _ref.listWidth,
|
|
15750
15750
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
15751
15751
|
className = _ref.className,
|
|
15752
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15752
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
15753
15753
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15754
15754
|
renderAs = _useContext.renderAs;
|
|
15755
15755
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -15889,6 +15889,7 @@
|
|
|
15889
15889
|
}), children);
|
|
15890
15890
|
};
|
|
15891
15891
|
|
|
15892
|
+
var _excluded$6 = ["id", "title", "submenu", "searchPlaceholder", "disableInternalSort", "isSingleSelect", "defaultValue"];
|
|
15892
15893
|
var Filter = function Filter(_ref) {
|
|
15893
15894
|
var data = _ref.data,
|
|
15894
15895
|
_ref$selected = _ref.selected,
|
|
@@ -16056,7 +16057,8 @@
|
|
|
16056
16057
|
searchPlaceholder = _ref2.searchPlaceholder,
|
|
16057
16058
|
disableInternalSort = _ref2.disableInternalSort,
|
|
16058
16059
|
isSingleSelect = _ref2.isSingleSelect,
|
|
16059
|
-
defaultValue = _ref2.defaultValue
|
|
16060
|
+
defaultValue = _ref2.defaultValue,
|
|
16061
|
+
rest = _objectWithoutProperties(_ref2, _excluded$6);
|
|
16060
16062
|
return /*#__PURE__*/React__default["default"].createElement(SlideLeftRightTransition, {
|
|
16061
16063
|
key: "filter-submenu-".concat(index),
|
|
16062
16064
|
in: menu === id,
|
|
@@ -16075,7 +16077,7 @@
|
|
|
16075
16077
|
indexPage: menu === "index"
|
|
16076
16078
|
}, /*#__PURE__*/React__default["default"].createElement(FocusLock.MoveFocusInside, {
|
|
16077
16079
|
disabled: enteredMenu !== id
|
|
16078
|
-
}, /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
16080
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select, _extends({
|
|
16079
16081
|
options: submenu,
|
|
16080
16082
|
selected: filter[id],
|
|
16081
16083
|
onChange: handleChange,
|
|
@@ -16087,7 +16089,7 @@
|
|
|
16087
16089
|
disableSearch: Boolean(submenu.length <= 7),
|
|
16088
16090
|
disabledInternalSort: disableInternalSort,
|
|
16089
16091
|
defaultValue: defaultValue
|
|
16090
|
-
}), (_filter$id = filter[id]) !== null && _filter$id !== void 0 && _filter$id.length ? /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, null, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
16092
|
+
}, rest)), (_filter$id = filter[id]) !== null && _filter$id !== void 0 && _filter$id.length ? /*#__PURE__*/React__default["default"].createElement(StyledMenuFooter, null, /*#__PURE__*/React__default["default"].createElement(Button, {
|
|
16091
16093
|
variant: "text colored",
|
|
16092
16094
|
size: "small",
|
|
16093
16095
|
onClick: handleReset
|