@activecollab/components 1.0.325 → 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/CounterButton/CounterButton.js +5 -1
- package/dist/cjs/components/CounterButton/CounterButton.js.map +1 -1
- package/dist/cjs/components/CounterButton/Styles.js +4 -2
- package/dist/cjs/components/CounterButton/Styles.js.map +1 -1
- package/dist/cjs/components/Filter/Filter.js +20 -8
- package/dist/cjs/components/Filter/Filter.js.map +1 -1
- package/dist/cjs/components/Icons/collection/Move.js +48 -0
- package/dist/cjs/components/Icons/collection/Move.js.map +1 -0
- package/dist/cjs/components/Icons/collection/index.js +7 -0
- package/dist/cjs/components/Icons/collection/index.js.map +1 -1
- package/dist/cjs/components/Toolbar/Toolbar.js +34 -0
- package/dist/cjs/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/cjs/components/Toolbar/Toolbar.styles.js +14 -0
- package/dist/cjs/components/Toolbar/Toolbar.styles.js.map +1 -0
- package/dist/cjs/components/Toolbar/index.js +17 -0
- package/dist/cjs/components/Toolbar/index.js.map +1 -0
- package/dist/esm/components/CounterButton/CounterButton.d.ts +2 -0
- package/dist/esm/components/CounterButton/CounterButton.d.ts.map +1 -1
- package/dist/esm/components/CounterButton/CounterButton.js +5 -1
- package/dist/esm/components/CounterButton/CounterButton.js.map +1 -1
- package/dist/esm/components/CounterButton/Styles.d.ts.map +1 -1
- package/dist/esm/components/CounterButton/Styles.js +4 -2
- package/dist/esm/components/CounterButton/Styles.js.map +1 -1
- package/dist/esm/components/Filter/Filter.d.ts +10 -1
- package/dist/esm/components/Filter/Filter.d.ts.map +1 -1
- package/dist/esm/components/Filter/Filter.js +17 -7
- package/dist/esm/components/Filter/Filter.js.map +1 -1
- package/dist/esm/components/Icons/collection/Move.d.ts +23 -0
- package/dist/esm/components/Icons/collection/Move.d.ts.map +1 -0
- package/dist/esm/components/Icons/collection/Move.js +41 -0
- package/dist/esm/components/Icons/collection/Move.js.map +1 -0
- package/dist/esm/components/Icons/collection/index.d.ts +1 -0
- package/dist/esm/components/Icons/collection/index.d.ts.map +1 -1
- package/dist/esm/components/Icons/collection/index.js +1 -0
- package/dist/esm/components/Icons/collection/index.js.map +1 -1
- package/dist/esm/components/Toolbar/Toolbar.d.ts +10 -0
- package/dist/esm/components/Toolbar/Toolbar.d.ts.map +1 -0
- package/dist/esm/components/Toolbar/Toolbar.js +27 -0
- package/dist/esm/components/Toolbar/Toolbar.js.map +1 -0
- package/dist/esm/components/Toolbar/Toolbar.styles.d.ts +3 -0
- package/dist/esm/components/Toolbar/Toolbar.styles.d.ts.map +1 -0
- package/dist/esm/components/Toolbar/Toolbar.styles.js +6 -0
- package/dist/esm/components/Toolbar/Toolbar.styles.js.map +1 -0
- package/dist/esm/components/Toolbar/index.d.ts +2 -0
- package/dist/esm/components/Toolbar/index.d.ts.map +1 -0
- package/dist/esm/components/Toolbar/index.js +2 -0
- package/dist/esm/components/Toolbar/index.js.map +1 -0
- package/dist/index.js +217 -163
- 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,
|
|
@@ -4914,6 +4914,44 @@
|
|
|
4914
4914
|
MoveTriggerIcon.displayName = "MoveTriggerIcon";
|
|
4915
4915
|
var MoveTriggerIcon$1 = MoveTriggerIcon;
|
|
4916
4916
|
|
|
4917
|
+
/**
|
|
4918
|
+
* @component MoveIcon
|
|
4919
|
+
* @description
|
|
4920
|
+
*
|
|
4921
|
+
* The React Icon component is a visual element that displays an icon to represent a concept, object, or action.
|
|
4922
|
+
* The Icon component is
|
|
4923
|
+
* customizable, allowing for variations in size, color, and style to fit the needs of the application.
|
|
4924
|
+
*
|
|
4925
|
+
*
|
|
4926
|
+
* @example
|
|
4927
|
+
* return (
|
|
4928
|
+
* <MoveIcon className="mr-2" />
|
|
4929
|
+
* )
|
|
4930
|
+
*
|
|
4931
|
+
* @see
|
|
4932
|
+
* https://system.activecollab.com/?path=/story/foundation-icons-icons--icons
|
|
4933
|
+
* @see
|
|
4934
|
+
* https://design.activecollab.com/docs/foundations/icons
|
|
4935
|
+
*/
|
|
4936
|
+
var MoveIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, svgRef) {
|
|
4937
|
+
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
4938
|
+
width: 24,
|
|
4939
|
+
height: 24,
|
|
4940
|
+
viewBox: "0 0 24 24",
|
|
4941
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4942
|
+
"data-testid": "MoveIcon",
|
|
4943
|
+
fill: "var(--color-theme-600)",
|
|
4944
|
+
focusable: false,
|
|
4945
|
+
ref: svgRef
|
|
4946
|
+
}, props), /*#__PURE__*/React__default["default"].createElement("path", {
|
|
4947
|
+
fillRule: "evenodd",
|
|
4948
|
+
clipRule: "evenodd",
|
|
4949
|
+
d: "M4 16a2 2 0 01-2-2V4a2 2 0 012-2h10a2 2 0 011.995 1.85L16 4H4v10h7v-3l4 4-4 4v-3H4zm15 4V8H8v4H6V8a2 2 0 012-2h11a2 2 0 012 2v12a2 2 0 01-2 2H8a2 2 0 01-2-2v-2h2v2h11z"
|
|
4950
|
+
}));
|
|
4951
|
+
});
|
|
4952
|
+
MoveIcon.displayName = "MoveIcon";
|
|
4953
|
+
var MoveIcon$1 = MoveIcon;
|
|
4954
|
+
|
|
4917
4955
|
/**
|
|
4918
4956
|
* @component MyWorkIcon
|
|
4919
4957
|
* @description
|
|
@@ -7445,14 +7483,14 @@
|
|
|
7445
7483
|
});
|
|
7446
7484
|
StyledBreadcrumbListItem.displayName = "StyledBreadcrumbListItem";
|
|
7447
7485
|
|
|
7448
|
-
var _excluded$
|
|
7486
|
+
var _excluded$15 = ["children", "className", "separator"];
|
|
7449
7487
|
var Breadcrumbs = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
7450
7488
|
var _dimensions$width, _childDimensions$widt;
|
|
7451
7489
|
var children = _ref.children,
|
|
7452
7490
|
className = _ref.className,
|
|
7453
7491
|
_ref$separator = _ref.separator,
|
|
7454
7492
|
separator = _ref$separator === void 0 ? "/" : _ref$separator,
|
|
7455
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
7493
|
+
rest = _objectWithoutProperties(_ref, _excluded$15);
|
|
7456
7494
|
var internalRef = React.useRef(null);
|
|
7457
7495
|
var listWrapperRef = React.useRef(null);
|
|
7458
7496
|
var olRef = React.useRef(null);
|
|
@@ -7619,10 +7657,10 @@
|
|
|
7619
7657
|
return props.$isLight && styled.css(["background-color:var(--page-paper-main);box-shadow:var(--shadow-secondary);color:var(--color-theme-700);"]);
|
|
7620
7658
|
});
|
|
7621
7659
|
|
|
7622
|
-
var _excluded$
|
|
7660
|
+
var _excluded$14 = ["children"];
|
|
7623
7661
|
var TooltipAnimation = function TooltipAnimation(_ref) {
|
|
7624
7662
|
var children = _ref.children,
|
|
7625
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7663
|
+
props = _objectWithoutProperties(_ref, _excluded$14);
|
|
7626
7664
|
return /*#__PURE__*/React__default["default"].createElement(FromElement, _extends({
|
|
7627
7665
|
timeout: 0
|
|
7628
7666
|
}, props), children);
|
|
@@ -7697,12 +7735,12 @@
|
|
|
7697
7735
|
});
|
|
7698
7736
|
Tooltip.displayName = "Tooltip";
|
|
7699
7737
|
|
|
7700
|
-
var _excluded$
|
|
7738
|
+
var _excluded$13 = ["weight", "children"];
|
|
7701
7739
|
var Body2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7702
7740
|
var _ref$weight = _ref.weight,
|
|
7703
7741
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
7704
7742
|
children = _ref.children,
|
|
7705
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
7743
|
+
props = _objectWithoutProperties(_ref, _excluded$13);
|
|
7706
7744
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
7707
7745
|
variant: "Body 2",
|
|
7708
7746
|
weight: weight,
|
|
@@ -7721,10 +7759,12 @@
|
|
|
7721
7759
|
var StyledCounterButton = styled__default["default"](Button).withConfig({
|
|
7722
7760
|
displayName: "Styles__StyledCounterButton",
|
|
7723
7761
|
componentId: "sc-1ecrcba-1"
|
|
7724
|
-
})(["", " ", ""], function (props) {
|
|
7725
|
-
return props.$active && styled.css(["padding:0 8px;svg{fill:var(--color-primary);}&:hover{background:var(--color-primary-300);}"]);
|
|
7762
|
+
})(["", " ", " ", ""], function (props) {
|
|
7763
|
+
return props.$active && !props.disabled && styled.css(["padding:0 8px;svg{fill:var(--color-primary);}&:hover{background:var(--color-primary-300);}"]);
|
|
7726
7764
|
}, function (props) {
|
|
7727
7765
|
return props.$selected && styled.css(["border-top-right-radius:0;border-bottom-right-radius:0;background-color:var(--color-primary-200);"]);
|
|
7766
|
+
}, function (props) {
|
|
7767
|
+
return props.disabled && styled.css(["pointer-events:none;opacity:0.5;"]);
|
|
7728
7768
|
});
|
|
7729
7769
|
StyledCounterButton.displayName = "StyledCounterButton";
|
|
7730
7770
|
var StyledCounterButtonCounter = styled__default["default"].div.withConfig({
|
|
@@ -7749,7 +7789,7 @@
|
|
|
7749
7789
|
});
|
|
7750
7790
|
StyledCounterButtonLabel.displayName = "StyledCounterButtonLabel";
|
|
7751
7791
|
|
|
7752
|
-
var _excluded$
|
|
7792
|
+
var _excluded$12 = ["label", "icon", "active", "counter", "tooltipText", "onClearAll", "className", "disabled"];
|
|
7753
7793
|
var CounterButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
7754
7794
|
var label = _ref.label,
|
|
7755
7795
|
icon = _ref.icon,
|
|
@@ -7759,11 +7799,15 @@
|
|
|
7759
7799
|
tooltipText = _ref.tooltipText,
|
|
7760
7800
|
onClearAll = _ref.onClearAll,
|
|
7761
7801
|
className = _ref.className,
|
|
7762
|
-
|
|
7802
|
+
_ref$disabled = _ref.disabled,
|
|
7803
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
7804
|
+
args = _objectWithoutProperties(_ref, _excluded$12);
|
|
7763
7805
|
return /*#__PURE__*/React__default["default"].createElement(StyledCounterButtonWrapper, {
|
|
7764
7806
|
ref: ref,
|
|
7765
7807
|
className: className
|
|
7766
7808
|
}, /*#__PURE__*/React__default["default"].createElement(StyledCounterButton, _extends({
|
|
7809
|
+
disabled: disabled,
|
|
7810
|
+
"aria-disabled": disabled,
|
|
7767
7811
|
className: classNames__default["default"]("c-counter-button", {
|
|
7768
7812
|
"c-counter-button__selected": counter
|
|
7769
7813
|
})
|
|
@@ -8068,7 +8112,7 @@
|
|
|
8068
8112
|
StyledDatePicker.displayName = "StyledDatePicker";
|
|
8069
8113
|
StyledDayPicker.displayName = "StyledDayPicker";
|
|
8070
8114
|
|
|
8071
|
-
var _excluded$
|
|
8115
|
+
var _excluded$11 = ["className", "onChange", "onDayClick", "selectedDays", "disabledDays", "selectionMode", "month", "onMonthChange", "dateRequired", "firstDayOfWeek", "fixedWeeks", "modifiers"];
|
|
8072
8116
|
var DatePicker = function DatePicker(_ref) {
|
|
8073
8117
|
var className = _ref.className,
|
|
8074
8118
|
onChange = _ref.onChange,
|
|
@@ -8090,7 +8134,7 @@
|
|
|
8090
8134
|
_ref$fixedWeeks = _ref.fixedWeeks,
|
|
8091
8135
|
fixedWeeks = _ref$fixedWeeks === void 0 ? true : _ref$fixedWeeks,
|
|
8092
8136
|
defaultModifiers = _ref.modifiers,
|
|
8093
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
8137
|
+
rest = _objectWithoutProperties(_ref, _excluded$11);
|
|
8094
8138
|
var _useState = React.useState(),
|
|
8095
8139
|
_useState2 = _slicedToArray(_useState, 2),
|
|
8096
8140
|
enteredTo = _useState2[0],
|
|
@@ -8982,10 +9026,10 @@
|
|
|
8982
9026
|
componentId: "sc-x4ge7a-0"
|
|
8983
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);
|
|
8984
9028
|
|
|
8985
|
-
var _excluded
|
|
9029
|
+
var _excluded$10 = ["className"];
|
|
8986
9030
|
var LinearLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8987
9031
|
var className = _ref.className,
|
|
8988
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
9032
|
+
rest = _objectWithoutProperties(_ref, _excluded$10);
|
|
8989
9033
|
return /*#__PURE__*/React__default["default"].createElement(StyledLinearLoader, _extends({
|
|
8990
9034
|
ref: ref,
|
|
8991
9035
|
className: classNames__default["default"]("c-loader c-loader--linear", className)
|
|
@@ -8999,10 +9043,10 @@
|
|
|
8999
9043
|
componentId: "sc-1f35d5h-0"
|
|
9000
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);
|
|
9001
9045
|
|
|
9002
|
-
var _excluded
|
|
9046
|
+
var _excluded$$ = ["className"];
|
|
9003
9047
|
var DotsLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9004
9048
|
var className = _ref.className,
|
|
9005
|
-
rest = _objectWithoutProperties(_ref, _excluded
|
|
9049
|
+
rest = _objectWithoutProperties(_ref, _excluded$$);
|
|
9006
9050
|
return /*#__PURE__*/React__default["default"].createElement(StyledDotsLoader, _extends({
|
|
9007
9051
|
ref: ref,
|
|
9008
9052
|
className: classNames__default["default"]("c-loader c-loader--dots", className)
|
|
@@ -9024,7 +9068,7 @@
|
|
|
9024
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);
|
|
9025
9069
|
});
|
|
9026
9070
|
|
|
9027
|
-
var _excluded$
|
|
9071
|
+
var _excluded$_ = ["radius", "stroke", "activeStrokeColor", "inactiveStrokeColor", "activeColorPercentage", "rotateDurationInSeconds", "className"];
|
|
9028
9072
|
var SpinnerLoader = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9029
9073
|
var _ref$radius = _ref.radius,
|
|
9030
9074
|
radius = _ref$radius === void 0 ? 10 : _ref$radius,
|
|
@@ -9039,7 +9083,7 @@
|
|
|
9039
9083
|
_ref$rotateDurationIn = _ref.rotateDurationInSeconds,
|
|
9040
9084
|
rotateDurationInSeconds = _ref$rotateDurationIn === void 0 ? 0.75 : _ref$rotateDurationIn,
|
|
9041
9085
|
className = _ref.className,
|
|
9042
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9086
|
+
rest = _objectWithoutProperties(_ref, _excluded$_);
|
|
9043
9087
|
return /*#__PURE__*/React__default["default"].createElement(StyledSpinnerLoader$1, _extends({
|
|
9044
9088
|
ref: ref,
|
|
9045
9089
|
className: className,
|
|
@@ -9053,7 +9097,7 @@
|
|
|
9053
9097
|
});
|
|
9054
9098
|
SpinnerLoader.displayName = "SpinnerLoader";
|
|
9055
9099
|
|
|
9056
|
-
var _excluded$
|
|
9100
|
+
var _excluded$Z = ["header", "rows", "className", "sortBy", "sortDirection", "onSortCallback", "theadClass", "noResultsCallback", "groupBy", "groupHead", "isCollapsible", "emptyValue", "loading", "loadingRows"];
|
|
9057
9101
|
exports.SortDirection = void 0;
|
|
9058
9102
|
(function (SortDirection) {
|
|
9059
9103
|
SortDirection["None"] = "none";
|
|
@@ -9101,7 +9145,7 @@
|
|
|
9101
9145
|
loading = _ref.loading,
|
|
9102
9146
|
_ref$loadingRows = _ref.loadingRows,
|
|
9103
9147
|
loadingRows = _ref$loadingRows === void 0 ? 7 : _ref$loadingRows,
|
|
9104
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
9148
|
+
args = _objectWithoutProperties(_ref, _excluded$Z);
|
|
9105
9149
|
var _useState = React.useState(sortDirection),
|
|
9106
9150
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9107
9151
|
columnDirection = _useState2[0],
|
|
@@ -9503,7 +9547,7 @@
|
|
|
9503
9547
|
});
|
|
9504
9548
|
StyledPaper.displayName = "StyledPaper";
|
|
9505
9549
|
|
|
9506
|
-
var _excluded$
|
|
9550
|
+
var _excluded$Y = ["children", "className", "type", "hover", "useOptimizedShadow"];
|
|
9507
9551
|
/**
|
|
9508
9552
|
* This is a component description and should sit directly above your component
|
|
9509
9553
|
*/
|
|
@@ -9516,7 +9560,7 @@
|
|
|
9516
9560
|
hover = _ref$hover === void 0 ? false : _ref$hover,
|
|
9517
9561
|
_ref$useOptimizedShad = _ref.useOptimizedShadow,
|
|
9518
9562
|
useOptimizedShadow = _ref$useOptimizedShad === void 0 ? false : _ref$useOptimizedShad,
|
|
9519
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9563
|
+
rest = _objectWithoutProperties(_ref, _excluded$Y);
|
|
9520
9564
|
return /*#__PURE__*/React__default["default"].createElement(StyledPaper, _extends({
|
|
9521
9565
|
className: classNames__default["default"](className, {
|
|
9522
9566
|
"ac-shadow--raised--lg": !useOptimizedShadow && hover && type === "paper-1",
|
|
@@ -9569,7 +9613,7 @@
|
|
|
9569
9613
|
});
|
|
9570
9614
|
StyledCard.displayName = "StyledCard";
|
|
9571
9615
|
|
|
9572
|
-
var _excluded$
|
|
9616
|
+
var _excluded$X = ["children", "className", "hoverable", "paperType"];
|
|
9573
9617
|
var Card = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9574
9618
|
var children = _ref.children,
|
|
9575
9619
|
className = _ref.className,
|
|
@@ -9577,7 +9621,7 @@
|
|
|
9577
9621
|
hoverable = _ref$hoverable === void 0 ? false : _ref$hoverable,
|
|
9578
9622
|
_ref$paperType = _ref.paperType,
|
|
9579
9623
|
paperType = _ref$paperType === void 0 ? "paper-2" : _ref$paperType,
|
|
9580
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9624
|
+
rest = _objectWithoutProperties(_ref, _excluded$X);
|
|
9581
9625
|
return /*#__PURE__*/React__default["default"].createElement(StyledCard, _extends({}, rest, {
|
|
9582
9626
|
type: paperType,
|
|
9583
9627
|
className: classNames__default["default"]("c-card", className),
|
|
@@ -9656,12 +9700,12 @@
|
|
|
9656
9700
|
});
|
|
9657
9701
|
EntityCard$1.displayName = "EntityCard";
|
|
9658
9702
|
|
|
9659
|
-
var _excluded$
|
|
9703
|
+
var _excluded$W = ["weight", "children"];
|
|
9660
9704
|
var Title1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9661
9705
|
var _ref$weight = _ref.weight,
|
|
9662
9706
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9663
9707
|
children = _ref.children,
|
|
9664
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9708
|
+
props = _objectWithoutProperties(_ref, _excluded$W);
|
|
9665
9709
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9666
9710
|
weight: weight,
|
|
9667
9711
|
variant: "Title 1",
|
|
@@ -9670,12 +9714,12 @@
|
|
|
9670
9714
|
});
|
|
9671
9715
|
Title1.displayName = "Title1";
|
|
9672
9716
|
|
|
9673
|
-
var _excluded$
|
|
9717
|
+
var _excluded$V = ["weight", "children"];
|
|
9674
9718
|
var Title2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9675
9719
|
var _ref$weight = _ref.weight,
|
|
9676
9720
|
weight = _ref$weight === void 0 ? "light" : _ref$weight,
|
|
9677
9721
|
children = _ref.children,
|
|
9678
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9722
|
+
props = _objectWithoutProperties(_ref, _excluded$V);
|
|
9679
9723
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9680
9724
|
weight: weight,
|
|
9681
9725
|
variant: "Title 2",
|
|
@@ -9684,10 +9728,10 @@
|
|
|
9684
9728
|
});
|
|
9685
9729
|
Title2.displayName = "Title2";
|
|
9686
9730
|
|
|
9687
|
-
var _excluded$
|
|
9731
|
+
var _excluded$U = ["children"];
|
|
9688
9732
|
var Header2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9689
9733
|
var children = _ref.children,
|
|
9690
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9734
|
+
props = _objectWithoutProperties(_ref, _excluded$U);
|
|
9691
9735
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9692
9736
|
weight: "bold",
|
|
9693
9737
|
variant: "Header 2",
|
|
@@ -9696,10 +9740,10 @@
|
|
|
9696
9740
|
});
|
|
9697
9741
|
Header2.displayName = "Header2";
|
|
9698
9742
|
|
|
9699
|
-
var _excluded$
|
|
9743
|
+
var _excluded$T = ["children"];
|
|
9700
9744
|
var Header3 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9701
9745
|
var children = _ref.children,
|
|
9702
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9746
|
+
props = _objectWithoutProperties(_ref, _excluded$T);
|
|
9703
9747
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9704
9748
|
weight: "bold",
|
|
9705
9749
|
variant: "Header 3",
|
|
@@ -9708,12 +9752,12 @@
|
|
|
9708
9752
|
});
|
|
9709
9753
|
Header3.displayName = "Header3";
|
|
9710
9754
|
|
|
9711
|
-
var _excluded$
|
|
9755
|
+
var _excluded$S = ["weight", "children"];
|
|
9712
9756
|
var Body1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9713
9757
|
var _ref$weight = _ref.weight,
|
|
9714
9758
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9715
9759
|
children = _ref.children,
|
|
9716
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9760
|
+
props = _objectWithoutProperties(_ref, _excluded$S);
|
|
9717
9761
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9718
9762
|
variant: "Body 1",
|
|
9719
9763
|
weight: weight,
|
|
@@ -9722,12 +9766,12 @@
|
|
|
9722
9766
|
});
|
|
9723
9767
|
Body1.displayName = "Body1";
|
|
9724
9768
|
|
|
9725
|
-
var _excluded$
|
|
9769
|
+
var _excluded$R = ["weight", "children"];
|
|
9726
9770
|
var Caption1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9727
9771
|
var _ref$weight = _ref.weight,
|
|
9728
9772
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9729
9773
|
children = _ref.children,
|
|
9730
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9774
|
+
props = _objectWithoutProperties(_ref, _excluded$R);
|
|
9731
9775
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9732
9776
|
variant: "Caption 1",
|
|
9733
9777
|
weight: weight,
|
|
@@ -9736,12 +9780,12 @@
|
|
|
9736
9780
|
});
|
|
9737
9781
|
Caption1.displayName = "Caption1";
|
|
9738
9782
|
|
|
9739
|
-
var _excluded$
|
|
9783
|
+
var _excluded$Q = ["weight", "children"];
|
|
9740
9784
|
var Caption2 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9741
9785
|
var _ref$weight = _ref.weight,
|
|
9742
9786
|
weight = _ref$weight === void 0 ? "regular" : _ref$weight,
|
|
9743
9787
|
children = _ref.children,
|
|
9744
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
9788
|
+
props = _objectWithoutProperties(_ref, _excluded$Q);
|
|
9745
9789
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
9746
9790
|
variant: "Caption 2",
|
|
9747
9791
|
weight: weight,
|
|
@@ -9853,7 +9897,7 @@
|
|
|
9853
9897
|
componentId: "sc-5x2tyd-1"
|
|
9854
9898
|
})(["border-radius:100%;object-fit:cover;"]);
|
|
9855
9899
|
|
|
9856
|
-
var _excluded$
|
|
9900
|
+
var _excluded$P = ["url", "alt", "size", "className", "imgClassName", "children"];
|
|
9857
9901
|
/**
|
|
9858
9902
|
* @component Avatar
|
|
9859
9903
|
* @description
|
|
@@ -9888,7 +9932,7 @@
|
|
|
9888
9932
|
className = _ref.className,
|
|
9889
9933
|
imgClassName = _ref.imgClassName,
|
|
9890
9934
|
children = _ref.children,
|
|
9891
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9935
|
+
rest = _objectWithoutProperties(_ref, _excluded$P);
|
|
9892
9936
|
var _useState = React.useState(false),
|
|
9893
9937
|
_useState2 = _slicedToArray(_useState, 2),
|
|
9894
9938
|
imageLoaded = _useState2[0],
|
|
@@ -9929,13 +9973,13 @@
|
|
|
9929
9973
|
return props.$color && styled.css(["background-color:", ";"], props.$color);
|
|
9930
9974
|
});
|
|
9931
9975
|
|
|
9932
|
-
var _excluded$
|
|
9976
|
+
var _excluded$O = ["color", "size", "className"];
|
|
9933
9977
|
var Dot = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9934
9978
|
var color = _ref.color,
|
|
9935
9979
|
_ref$size = _ref.size,
|
|
9936
9980
|
size = _ref$size === void 0 ? 8 : _ref$size,
|
|
9937
9981
|
className = _ref.className,
|
|
9938
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
9982
|
+
rest = _objectWithoutProperties(_ref, _excluded$O);
|
|
9939
9983
|
return /*#__PURE__*/React__default["default"].createElement(StyledDot, _extends({
|
|
9940
9984
|
className: classNames__default["default"]("c-dot", className),
|
|
9941
9985
|
ref: ref,
|
|
@@ -9972,7 +10016,7 @@
|
|
|
9972
10016
|
});
|
|
9973
10017
|
StyledTagText.displayName = "StyledTagText";
|
|
9974
10018
|
|
|
9975
|
-
var _excluded$
|
|
10019
|
+
var _excluded$N = ["name", "color", "showText", "showDot", "className"];
|
|
9976
10020
|
var Tag = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
9977
10021
|
var name = _ref.name,
|
|
9978
10022
|
color = _ref.color,
|
|
@@ -9981,7 +10025,7 @@
|
|
|
9981
10025
|
_ref$showDot = _ref.showDot,
|
|
9982
10026
|
showDot = _ref$showDot === void 0 ? true : _ref$showDot,
|
|
9983
10027
|
className = _ref.className,
|
|
9984
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10028
|
+
rest = _objectWithoutProperties(_ref, _excluded$N);
|
|
9985
10029
|
return /*#__PURE__*/React__default["default"].createElement(StyledTag, _extends({
|
|
9986
10030
|
className: classNames__default["default"]("c-tag", className),
|
|
9987
10031
|
ref: ref
|
|
@@ -10101,7 +10145,7 @@
|
|
|
10101
10145
|
}, StyledInput$3, StyledLabel);
|
|
10102
10146
|
StyledCheckbox$1.displayName = "StyledCheckbox";
|
|
10103
10147
|
|
|
10104
|
-
var _excluded$
|
|
10148
|
+
var _excluded$M = ["className", "hover", "id"];
|
|
10105
10149
|
/**
|
|
10106
10150
|
* Checkbox component
|
|
10107
10151
|
*/
|
|
@@ -10110,7 +10154,7 @@
|
|
|
10110
10154
|
hover = _ref.hover,
|
|
10111
10155
|
_ref$id = _ref.id,
|
|
10112
10156
|
id = _ref$id === void 0 ? "checkbox" : _ref$id,
|
|
10113
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10157
|
+
rest = _objectWithoutProperties(_ref, _excluded$M);
|
|
10114
10158
|
return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox$1, {
|
|
10115
10159
|
className: classNames__default["default"]("c-checkbox", {
|
|
10116
10160
|
"c-checkbox__hover": hover,
|
|
@@ -10304,7 +10348,7 @@
|
|
|
10304
10348
|
StyledScrollShadowLeft.displayName = "StyledScrollShadowLeft";
|
|
10305
10349
|
StyledScrollShadowRight.displayName = "StyledScrollShadowRight";
|
|
10306
10350
|
|
|
10307
|
-
var _excluded$
|
|
10351
|
+
var _excluded$L = ["children", "className", "disableVertical", "disableHorizontal", "invertHorizontal", "invertVertical", "innerColor", "outerColor"];
|
|
10308
10352
|
var ScrollShadow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10309
10353
|
var children = _ref.children,
|
|
10310
10354
|
className = _ref.className,
|
|
@@ -10318,7 +10362,7 @@
|
|
|
10318
10362
|
invertVertical = _ref$invertVertical === void 0 ? false : _ref$invertVertical,
|
|
10319
10363
|
innerColor = _ref.innerColor,
|
|
10320
10364
|
outerColor = _ref.outerColor,
|
|
10321
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10365
|
+
rest = _objectWithoutProperties(_ref, _excluded$L);
|
|
10322
10366
|
var _useState = React.useState({
|
|
10323
10367
|
top: 0,
|
|
10324
10368
|
right: 0,
|
|
@@ -10438,7 +10482,7 @@
|
|
|
10438
10482
|
return height;
|
|
10439
10483
|
};
|
|
10440
10484
|
|
|
10441
|
-
var _excluded$
|
|
10485
|
+
var _excluded$K = ["as", "className", "invert", "style"];
|
|
10442
10486
|
var ScrollElement = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
10443
10487
|
var _ref$as = _ref.as,
|
|
10444
10488
|
as = _ref$as === void 0 ? "div" : _ref$as,
|
|
@@ -10446,7 +10490,7 @@
|
|
|
10446
10490
|
_ref$invert = _ref.invert,
|
|
10447
10491
|
invert = _ref$invert === void 0 ? false : _ref$invert,
|
|
10448
10492
|
style = _ref.style,
|
|
10449
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10493
|
+
rest = _objectWithoutProperties(_ref, _excluded$K);
|
|
10450
10494
|
var internalRef = useInitScrollRef(null, invert);
|
|
10451
10495
|
var handleRef = useForkRef(internalRef, ref);
|
|
10452
10496
|
var props = _objectSpread2(_objectSpread2({}, rest), {}, {
|
|
@@ -10928,7 +10972,7 @@
|
|
|
10928
10972
|
});
|
|
10929
10973
|
StyledInput$2.displayName = "StyledInput";
|
|
10930
10974
|
|
|
10931
|
-
var _excluded$
|
|
10975
|
+
var _excluded$J = ["className", "style", "type", "disabled", "size", "invalid", "startAdornment", "endAdornment", "wrapRef", "wrapperClick"];
|
|
10932
10976
|
var Input = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
10933
10977
|
var _ref$className = _ref.className,
|
|
10934
10978
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
@@ -10945,7 +10989,7 @@
|
|
|
10945
10989
|
endAdornment = _ref.endAdornment,
|
|
10946
10990
|
wrapRef = _ref.wrapRef,
|
|
10947
10991
|
wrapperClick = _ref.wrapperClick,
|
|
10948
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
10992
|
+
rest = _objectWithoutProperties(_ref, _excluded$J);
|
|
10949
10993
|
var intInputRef = React.useRef(null);
|
|
10950
10994
|
var handleRef = useForkRef(ref, intInputRef);
|
|
10951
10995
|
var handleWrapperClick = React.useCallback(function () {
|
|
@@ -10999,14 +11043,14 @@
|
|
|
10999
11043
|
}, StyledRadioLabel);
|
|
11000
11044
|
StyledRadioButton$1.displayName = "StyledRadioButton";
|
|
11001
11045
|
|
|
11002
|
-
var _excluded$
|
|
11046
|
+
var _excluded$I = ["className", "id", "hover"];
|
|
11003
11047
|
var RadioButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11004
11048
|
var _ref$className = _ref.className,
|
|
11005
11049
|
className = _ref$className === void 0 ? "" : _ref$className,
|
|
11006
11050
|
_ref$id = _ref.id,
|
|
11007
11051
|
id = _ref$id === void 0 ? "radio" : _ref$id,
|
|
11008
11052
|
hover = _ref.hover,
|
|
11009
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
11053
|
+
props = _objectWithoutProperties(_ref, _excluded$I);
|
|
11010
11054
|
return /*#__PURE__*/React__default["default"].createElement(StyledRadioButton$1, {
|
|
11011
11055
|
className: classNames__default["default"]("c-radio-btn", {
|
|
11012
11056
|
"c-radio-btn__hover": hover,
|
|
@@ -11214,7 +11258,7 @@
|
|
|
11214
11258
|
};
|
|
11215
11259
|
OptionContent.displayName = "OptionContent";
|
|
11216
11260
|
|
|
11217
|
-
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"];
|
|
11218
11262
|
var Select = function Select(_ref) {
|
|
11219
11263
|
var _ref$type = _ref.type,
|
|
11220
11264
|
type = _ref$type === void 0 ? "single" : _ref$type,
|
|
@@ -11248,7 +11292,7 @@
|
|
|
11248
11292
|
handleDefaultOptionChange = _ref.handleDefaultOptionChange,
|
|
11249
11293
|
_ref$preselectDefault = _ref.preselectDefaultValue,
|
|
11250
11294
|
preselectDefaultValue = _ref$preselectDefault === void 0 ? type === "single" : _ref$preselectDefault,
|
|
11251
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
11295
|
+
prop = _objectWithoutProperties(_ref, _excluded$H);
|
|
11252
11296
|
var childNode = React.useRef();
|
|
11253
11297
|
var elementRef = React.useRef(null);
|
|
11254
11298
|
var handleRef = useForkRef(childNode, elementRef);
|
|
@@ -11497,7 +11541,7 @@
|
|
|
11497
11541
|
});
|
|
11498
11542
|
StyledNavAsMoreTarget.displayName = "StyledNavAsMoreTarget";
|
|
11499
11543
|
|
|
11500
|
-
var _excluded$
|
|
11544
|
+
var _excluded$G = ["children", "active", "disabled", "className", "role"];
|
|
11501
11545
|
var Item = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
11502
11546
|
var children = _ref.children,
|
|
11503
11547
|
_ref$active = _ref.active,
|
|
@@ -11506,7 +11550,7 @@
|
|
|
11506
11550
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11507
11551
|
className = _ref.className,
|
|
11508
11552
|
role = _ref.role,
|
|
11509
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11553
|
+
rest = _objectWithoutProperties(_ref, _excluded$G);
|
|
11510
11554
|
return /*#__PURE__*/React__default["default"].createElement(StyledNavListItem, _extends({
|
|
11511
11555
|
className: classNames__default["default"]("c-nav__item", {
|
|
11512
11556
|
"c-nav__item--active": active
|
|
@@ -11547,11 +11591,11 @@
|
|
|
11547
11591
|
});
|
|
11548
11592
|
StyledExpandSingle.displayName = "StyledExpandSingle";
|
|
11549
11593
|
|
|
11550
|
-
var _excluded$
|
|
11594
|
+
var _excluded$F = ["expanded"];
|
|
11551
11595
|
var ExpandSingle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11552
11596
|
var _ref$expanded = _ref.expanded,
|
|
11553
11597
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11554
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11598
|
+
rest = _objectWithoutProperties(_ref, _excluded$F);
|
|
11555
11599
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpandSingle, _extends({
|
|
11556
11600
|
ref: ref,
|
|
11557
11601
|
viewBox: "0 0 24 24",
|
|
@@ -11841,7 +11885,7 @@
|
|
|
11841
11885
|
};
|
|
11842
11886
|
Nav.displayName = "Nav";
|
|
11843
11887
|
|
|
11844
|
-
var _excluded$
|
|
11888
|
+
var _excluded$E = ["children", "as", "disablePointerEvents"];
|
|
11845
11889
|
var InputAdornmentBase = styled__default["default"].div.withConfig({
|
|
11846
11890
|
displayName: "InputAdornment__InputAdornmentBase",
|
|
11847
11891
|
componentId: "sc-1xfjx1z-0"
|
|
@@ -11858,7 +11902,7 @@
|
|
|
11858
11902
|
var children = _ref.children,
|
|
11859
11903
|
as = _ref.as,
|
|
11860
11904
|
disablePointerEvents = _ref.disablePointerEvents,
|
|
11861
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11905
|
+
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
11862
11906
|
var Component = as || "div";
|
|
11863
11907
|
return /*#__PURE__*/React__default["default"].createElement(InputAdornmentBase, _extends({}, rest, {
|
|
11864
11908
|
as: Component,
|
|
@@ -11868,11 +11912,11 @@
|
|
|
11868
11912
|
});
|
|
11869
11913
|
InputAdornment.displayName = "InputAdornment";
|
|
11870
11914
|
|
|
11871
|
-
var _excluded$
|
|
11915
|
+
var _excluded$D = ["expanded"];
|
|
11872
11916
|
var ExpandAll = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11873
11917
|
var _ref$expanded = _ref.expanded,
|
|
11874
11918
|
expanded = _ref$expanded === void 0 ? false : _ref$expanded,
|
|
11875
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
11919
|
+
rest = _objectWithoutProperties(_ref, _excluded$D);
|
|
11876
11920
|
return /*#__PURE__*/React__default["default"].createElement(StyledExpand, _extends({
|
|
11877
11921
|
ref: ref,
|
|
11878
11922
|
viewBox: "0 0 24 24"
|
|
@@ -11990,14 +12034,14 @@
|
|
|
11990
12034
|
});
|
|
11991
12035
|
StyledTextarea.displayName = "StyledTextarea";
|
|
11992
12036
|
|
|
11993
|
-
var _excluded$
|
|
12037
|
+
var _excluded$C = ["className", "disabled", "invalid"];
|
|
11994
12038
|
var Textarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
11995
12039
|
var className = _ref.className,
|
|
11996
12040
|
_ref$disabled = _ref.disabled,
|
|
11997
12041
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
11998
12042
|
_ref$invalid = _ref.invalid,
|
|
11999
12043
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
12000
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12044
|
+
rest = _objectWithoutProperties(_ref, _excluded$C);
|
|
12001
12045
|
return /*#__PURE__*/React__default["default"].createElement(StyledTextarea, _extends({}, rest, {
|
|
12002
12046
|
$invalid: invalid,
|
|
12003
12047
|
ref: ref,
|
|
@@ -12029,7 +12073,7 @@
|
|
|
12029
12073
|
function () {});
|
|
12030
12074
|
}
|
|
12031
12075
|
|
|
12032
|
-
var _excluded$
|
|
12076
|
+
var _excluded$B = ["children", "disableFocusLock", "disableScrollLock", "disableBackgroundClick", "disableBackgroundColor", "disableCloseOnEsc", "open", "onClose"];
|
|
12033
12077
|
var getHasTransition = function getHasTransition(children) {
|
|
12034
12078
|
return children.props ? Object.prototype.hasOwnProperty.call(children.props, "in") : false;
|
|
12035
12079
|
};
|
|
@@ -12048,7 +12092,7 @@
|
|
|
12048
12092
|
_ref$open = _ref.open,
|
|
12049
12093
|
defaultOpen = _ref$open === void 0 ? false : _ref$open,
|
|
12050
12094
|
onClose = _ref.onClose,
|
|
12051
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12095
|
+
rest = _objectWithoutProperties(_ref, _excluded$B);
|
|
12052
12096
|
var _useState = React.useState(defaultOpen),
|
|
12053
12097
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12054
12098
|
open = _useState2[0],
|
|
@@ -12186,7 +12230,7 @@
|
|
|
12186
12230
|
});
|
|
12187
12231
|
StyledCssTransition.displayName = "StyledCssTransition";
|
|
12188
12232
|
|
|
12189
|
-
var _excluded$
|
|
12233
|
+
var _excluded$A = ["children", "onClose", "controls", "open", "animation", "position", "mode", "disableFocusLock", "disableScrollLock", "disableBackgroundColor", "bodyStyle", "bodyClassName", "disableBackgroundClick"];
|
|
12190
12234
|
var Sheet = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12191
12235
|
var children = _ref.children,
|
|
12192
12236
|
onClose = _ref.onClose,
|
|
@@ -12210,7 +12254,7 @@
|
|
|
12210
12254
|
bodyClassName = _ref.bodyClassName,
|
|
12211
12255
|
_ref$disableBackgroun2 = _ref.disableBackgroundClick,
|
|
12212
12256
|
disableBackgroundClick = _ref$disableBackgroun2 === void 0 ? false : _ref$disableBackgroun2,
|
|
12213
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12257
|
+
rest = _objectWithoutProperties(_ref, _excluded$A);
|
|
12214
12258
|
var _useState = React.useState(defaultOpen),
|
|
12215
12259
|
_useState2 = _slicedToArray(_useState, 2),
|
|
12216
12260
|
open = _useState2[0],
|
|
@@ -12303,13 +12347,13 @@
|
|
|
12303
12347
|
});
|
|
12304
12348
|
StyledHeader.displayName = "StyledHeader";
|
|
12305
12349
|
|
|
12306
|
-
var _excluded$
|
|
12350
|
+
var _excluded$z = ["className", "size", "children"];
|
|
12307
12351
|
var Header = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12308
12352
|
var className = _ref.className,
|
|
12309
12353
|
_ref$size = _ref.size,
|
|
12310
12354
|
size = _ref$size === void 0 ? "small" : _ref$size,
|
|
12311
12355
|
children = _ref.children,
|
|
12312
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12356
|
+
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
12313
12357
|
return /*#__PURE__*/React__default["default"].createElement(StyledHeader, _extends({
|
|
12314
12358
|
type: "paper-2",
|
|
12315
12359
|
className: classNames__default["default"]("c-header", className),
|
|
@@ -12325,7 +12369,7 @@
|
|
|
12325
12369
|
})(["white-space:pre-wrap;overflow-wrap:break-word;resize:none;"]);
|
|
12326
12370
|
StyledAutoResizeTextarea.displayName = "StyledAutoResizeTextarea";
|
|
12327
12371
|
|
|
12328
|
-
var _excluded$
|
|
12372
|
+
var _excluded$y = ["minRows", "maxRows", "lineHeight", "onChange", "className", "preventNewRowOnEnter", "cursorAtTextEnd", "onKeyDown", "value"];
|
|
12329
12373
|
var AutoResizeTextarea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
12330
12374
|
var _ref$minRows = _ref.minRows,
|
|
12331
12375
|
minRows = _ref$minRows === void 0 ? 1 : _ref$minRows,
|
|
@@ -12341,7 +12385,7 @@
|
|
|
12341
12385
|
cursorAtTextEnd = _ref$cursorAtTextEnd === void 0 ? false : _ref$cursorAtTextEnd,
|
|
12342
12386
|
onKeyDown = _ref.onKeyDown,
|
|
12343
12387
|
value = _ref.value,
|
|
12344
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12388
|
+
rest = _objectWithoutProperties(_ref, _excluded$y);
|
|
12345
12389
|
var innerRef = React.useRef(null);
|
|
12346
12390
|
var _useState = React.useState(minRows),
|
|
12347
12391
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -12617,7 +12661,7 @@
|
|
|
12617
12661
|
});
|
|
12618
12662
|
StyledChoose.displayName = "StyledChoose";
|
|
12619
12663
|
|
|
12620
|
-
var _excluded$
|
|
12664
|
+
var _excluded$x = ["children", "disabled", "active", "className"];
|
|
12621
12665
|
/**
|
|
12622
12666
|
* Choose component
|
|
12623
12667
|
*/
|
|
@@ -12628,7 +12672,7 @@
|
|
|
12628
12672
|
_ref$active = _ref.active,
|
|
12629
12673
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
12630
12674
|
className = _ref.className,
|
|
12631
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12675
|
+
args = _objectWithoutProperties(_ref, _excluded$x);
|
|
12632
12676
|
return /*#__PURE__*/React__default["default"].createElement(StyledChoose, _extends({
|
|
12633
12677
|
disabled: disabled,
|
|
12634
12678
|
className: classNames__default["default"]("c-choose", className),
|
|
@@ -12724,21 +12768,21 @@
|
|
|
12724
12768
|
StyledLinkElements.displayName = "StyledLinkElements";
|
|
12725
12769
|
StyledLink.displayName = "StyledLink";
|
|
12726
12770
|
|
|
12727
|
-
var _excluded$
|
|
12771
|
+
var _excluded$w = ["children", "className"];
|
|
12728
12772
|
/**
|
|
12729
12773
|
* Back link component
|
|
12730
12774
|
*/
|
|
12731
12775
|
var BackLink = function BackLink(_ref) {
|
|
12732
12776
|
var children = _ref.children,
|
|
12733
12777
|
className = _ref.className,
|
|
12734
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12778
|
+
args = _objectWithoutProperties(_ref, _excluded$w);
|
|
12735
12779
|
return /*#__PURE__*/React__default["default"].createElement(StyledBackLink, _extends({
|
|
12736
12780
|
className: classNames__default["default"]("c-back-link", className)
|
|
12737
12781
|
}, args), children);
|
|
12738
12782
|
};
|
|
12739
12783
|
BackLink.displayName = "BackLink";
|
|
12740
12784
|
|
|
12741
|
-
var _excluded$
|
|
12785
|
+
var _excluded$v = ["as", "children", "variant", "size", "disabled", "className"];
|
|
12742
12786
|
/**
|
|
12743
12787
|
* Link component
|
|
12744
12788
|
*/
|
|
@@ -12751,7 +12795,7 @@
|
|
|
12751
12795
|
_ref$disabled = _ref.disabled,
|
|
12752
12796
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
12753
12797
|
className = _ref.className,
|
|
12754
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
12798
|
+
args = _objectWithoutProperties(_ref, _excluded$v);
|
|
12755
12799
|
var Component = as || "a";
|
|
12756
12800
|
return /*#__PURE__*/React__default["default"].createElement(StyledLink, _extends({
|
|
12757
12801
|
ref: ref,
|
|
@@ -12862,7 +12906,7 @@
|
|
|
12862
12906
|
})(["padding:20px 30px;", " ", ""], FontStyle, BoxSizingStyle);
|
|
12863
12907
|
StyledDialogActions.displayName = "StyledDialogActions";
|
|
12864
12908
|
|
|
12865
|
-
var _excluded$
|
|
12909
|
+
var _excluded$u = ["in", "children", "style", "timeout"];
|
|
12866
12910
|
var defaultStyle$1 = function defaultStyle(duration) {
|
|
12867
12911
|
return {
|
|
12868
12912
|
transition: "all ".concat(duration, "ms ease-in-out"),
|
|
@@ -12890,7 +12934,7 @@
|
|
|
12890
12934
|
style = _ref.style,
|
|
12891
12935
|
_ref$timeout = _ref.timeout,
|
|
12892
12936
|
timeout = _ref$timeout === void 0 ? 500 : _ref$timeout,
|
|
12893
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12937
|
+
rest = _objectWithoutProperties(_ref, _excluded$u);
|
|
12894
12938
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
12895
12939
|
appear: true,
|
|
12896
12940
|
in: inProp,
|
|
@@ -12905,7 +12949,7 @@
|
|
|
12905
12949
|
};
|
|
12906
12950
|
Fade.displayName = "Fade";
|
|
12907
12951
|
|
|
12908
|
-
var _excluded$
|
|
12952
|
+
var _excluded$t = ["in", "children", "style", "timeout", "initialDirection"];
|
|
12909
12953
|
var Slide = function Slide(_ref) {
|
|
12910
12954
|
var _ref$in = _ref.in,
|
|
12911
12955
|
inProp = _ref$in === void 0 ? false : _ref$in,
|
|
@@ -12915,7 +12959,7 @@
|
|
|
12915
12959
|
timeout = _ref$timeout === void 0 ? 300 : _ref$timeout,
|
|
12916
12960
|
_ref$initialDirection = _ref.initialDirection,
|
|
12917
12961
|
initialDirection = _ref$initialDirection === void 0 ? "left" : _ref$initialDirection,
|
|
12918
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
12962
|
+
rest = _objectWithoutProperties(_ref, _excluded$t);
|
|
12919
12963
|
var directionSign;
|
|
12920
12964
|
switch (initialDirection) {
|
|
12921
12965
|
case "right":
|
|
@@ -12968,12 +13012,12 @@
|
|
|
12968
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;}"]);
|
|
12969
13013
|
});
|
|
12970
13014
|
|
|
12971
|
-
var _excluded$
|
|
13015
|
+
var _excluded$s = ["children", "direction"];
|
|
12972
13016
|
var SlideLeftRightTransition = function SlideLeftRightTransition(_ref) {
|
|
12973
13017
|
var children = _ref.children,
|
|
12974
13018
|
_ref$direction = _ref.direction,
|
|
12975
13019
|
direction = _ref$direction === void 0 ? "left" : _ref$direction,
|
|
12976
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
13020
|
+
props = _objectWithoutProperties(_ref, _excluded$s);
|
|
12977
13021
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.CSSTransition, _extends({
|
|
12978
13022
|
timeout: 200,
|
|
12979
13023
|
classNames: "c-slide",
|
|
@@ -13016,7 +13060,7 @@
|
|
|
13016
13060
|
};
|
|
13017
13061
|
ResizeTransition.displayName = "ResizeTransition";
|
|
13018
13062
|
|
|
13019
|
-
var _excluded$
|
|
13063
|
+
var _excluded$r = ["in", "children", "style", "timeout"];
|
|
13020
13064
|
var defaultStyle = function defaultStyle(duration) {
|
|
13021
13065
|
return {
|
|
13022
13066
|
transition: "all ".concat(duration, "ms ease-in"),
|
|
@@ -13050,7 +13094,7 @@
|
|
|
13050
13094
|
style = _ref.style,
|
|
13051
13095
|
_ref$timeout = _ref.timeout,
|
|
13052
13096
|
timeout = _ref$timeout === void 0 ? 200 : _ref$timeout,
|
|
13053
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13097
|
+
rest = _objectWithoutProperties(_ref, _excluded$r);
|
|
13054
13098
|
return /*#__PURE__*/React__default["default"].createElement(reactTransitionGroup.Transition, _extends({
|
|
13055
13099
|
appear: true,
|
|
13056
13100
|
in: inProp,
|
|
@@ -13100,13 +13144,13 @@
|
|
|
13100
13144
|
};
|
|
13101
13145
|
Scale.displayName = "Scale";
|
|
13102
13146
|
|
|
13103
|
-
var _excluded$
|
|
13147
|
+
var _excluded$q = ["className", "children"];
|
|
13104
13148
|
// import { useDialogContext } from "./DialogContext";
|
|
13105
13149
|
|
|
13106
13150
|
var DialogActions = function DialogActions(_ref) {
|
|
13107
13151
|
var className = _ref.className,
|
|
13108
13152
|
children = _ref.children,
|
|
13109
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13153
|
+
rest = _objectWithoutProperties(_ref, _excluded$q);
|
|
13110
13154
|
// useDialogContext();
|
|
13111
13155
|
|
|
13112
13156
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogActions, _extends({
|
|
@@ -13115,13 +13159,13 @@
|
|
|
13115
13159
|
};
|
|
13116
13160
|
DialogActions.displayName = "DialogActions";
|
|
13117
13161
|
|
|
13118
|
-
var _excluded$
|
|
13162
|
+
var _excluded$p = ["className", "children"];
|
|
13119
13163
|
// import { useDialogContext } from "./DialogContext";
|
|
13120
13164
|
|
|
13121
13165
|
var DialogContent = function DialogContent(_ref) {
|
|
13122
13166
|
var className = _ref.className,
|
|
13123
13167
|
children = _ref.children,
|
|
13124
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13168
|
+
rest = _objectWithoutProperties(_ref, _excluded$p);
|
|
13125
13169
|
// useDialogContext();
|
|
13126
13170
|
|
|
13127
13171
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogContent, _extends({
|
|
@@ -13142,7 +13186,7 @@
|
|
|
13142
13186
|
};
|
|
13143
13187
|
DialogContentDivider.displayName = "DialogContentDivider";
|
|
13144
13188
|
|
|
13145
|
-
var _excluded$
|
|
13189
|
+
var _excluded$o = ["children", "className", "disableDefaultHeading"];
|
|
13146
13190
|
// import { useDialogContext } from "./DialogContext";
|
|
13147
13191
|
|
|
13148
13192
|
var DialogTitle = function DialogTitle(_ref) {
|
|
@@ -13150,7 +13194,7 @@
|
|
|
13150
13194
|
className = _ref.className,
|
|
13151
13195
|
_ref$disableDefaultHe = _ref.disableDefaultHeading,
|
|
13152
13196
|
disableDefaultHeading = _ref$disableDefaultHe === void 0 ? false : _ref$disableDefaultHe,
|
|
13153
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13197
|
+
rest = _objectWithoutProperties(_ref, _excluded$o);
|
|
13154
13198
|
// useDialogContext();
|
|
13155
13199
|
|
|
13156
13200
|
return /*#__PURE__*/React__default["default"].createElement(StyledDialogTitle, _extends({
|
|
@@ -13418,7 +13462,7 @@
|
|
|
13418
13462
|
});
|
|
13419
13463
|
StyledPressed.displayName = "StyledPressed";
|
|
13420
13464
|
|
|
13421
|
-
var _excluded$
|
|
13465
|
+
var _excluded$n = ["children", "active", "className"];
|
|
13422
13466
|
/**
|
|
13423
13467
|
* Pressed wrapper for button component
|
|
13424
13468
|
* @deprecated
|
|
@@ -13428,7 +13472,7 @@
|
|
|
13428
13472
|
_ref$active = _ref.active,
|
|
13429
13473
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
13430
13474
|
className = _ref.className,
|
|
13431
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
13475
|
+
args = _objectWithoutProperties(_ref, _excluded$n);
|
|
13432
13476
|
return /*#__PURE__*/React__default["default"].createElement(StyledPressed, _extends({
|
|
13433
13477
|
active: active,
|
|
13434
13478
|
ref: ref,
|
|
@@ -13925,7 +13969,7 @@
|
|
|
13925
13969
|
StyledToastMessage.displayName = "StyledToastMessage";
|
|
13926
13970
|
StyledCloseSmallIcon.displayName = "StyledCloseSmallIcon";
|
|
13927
13971
|
|
|
13928
|
-
var _excluded$
|
|
13972
|
+
var _excluded$m = ["text", "type", "onClose", "dismissible", "dropShadow", "timeout"];
|
|
13929
13973
|
var ToastMessage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13930
13974
|
var text = _ref.text,
|
|
13931
13975
|
type = _ref.type,
|
|
@@ -13936,7 +13980,7 @@
|
|
|
13936
13980
|
dropShadow = _ref$dropShadow === void 0 ? false : _ref$dropShadow,
|
|
13937
13981
|
_ref$timeout = _ref.timeout,
|
|
13938
13982
|
timeout = _ref$timeout === void 0 ? 0 : _ref$timeout,
|
|
13939
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
13983
|
+
rest = _objectWithoutProperties(_ref, _excluded$m);
|
|
13940
13984
|
var handleOnClose = React.useCallback(function () {
|
|
13941
13985
|
if (typeof onClose === "function") {
|
|
13942
13986
|
onClose();
|
|
@@ -13984,7 +14028,7 @@
|
|
|
13984
14028
|
});
|
|
13985
14029
|
StyledValueButton.displayName = "StyledValueButton";
|
|
13986
14030
|
|
|
13987
|
-
var _excluded$
|
|
14031
|
+
var _excluded$l = ["active", "alwaysShowIcon", "icon", "label", "value"];
|
|
13988
14032
|
var ValueButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
13989
14033
|
var _ref$active = _ref.active,
|
|
13990
14034
|
active = _ref$active === void 0 ? false : _ref$active,
|
|
@@ -13993,7 +14037,7 @@
|
|
|
13993
14037
|
icon = _ref.icon,
|
|
13994
14038
|
label = _ref.label,
|
|
13995
14039
|
value = _ref.value,
|
|
13996
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14040
|
+
args = _objectWithoutProperties(_ref, _excluded$l);
|
|
13997
14041
|
return /*#__PURE__*/React__default["default"].createElement(StyledValueButton, _extends({
|
|
13998
14042
|
className: "c-value-button"
|
|
13999
14043
|
}, args, {
|
|
@@ -14022,12 +14066,12 @@
|
|
|
14022
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;}"]);
|
|
14023
14067
|
StyledButton.displayName = "StyledButton";
|
|
14024
14068
|
|
|
14025
|
-
var _excluded$
|
|
14069
|
+
var _excluded$k = ["children", "type"];
|
|
14026
14070
|
var Trigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14027
14071
|
var children = _ref.children,
|
|
14028
14072
|
_ref$type = _ref.type,
|
|
14029
14073
|
type = _ref$type === void 0 ? "button" : _ref$type,
|
|
14030
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14074
|
+
rest = _objectWithoutProperties(_ref, _excluded$k);
|
|
14031
14075
|
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends({
|
|
14032
14076
|
ref: ref,
|
|
14033
14077
|
role: "button",
|
|
@@ -14073,7 +14117,7 @@
|
|
|
14073
14117
|
});
|
|
14074
14118
|
StyledCaretIcon.displayName = "StyledCaretIcon";
|
|
14075
14119
|
|
|
14076
|
-
var _excluded$
|
|
14120
|
+
var _excluded$j = ["children", "type", "size", "invalid", "open", "endAdornment", "typographyProps"];
|
|
14077
14121
|
var SelectTrigger = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14078
14122
|
var children = _ref.children,
|
|
14079
14123
|
_ref$type = _ref.type,
|
|
@@ -14086,7 +14130,7 @@
|
|
|
14086
14130
|
open = _ref$open === void 0 ? false : _ref$open,
|
|
14087
14131
|
endAdornment = _ref.endAdornment,
|
|
14088
14132
|
typographyProps = _ref.typographyProps,
|
|
14089
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14133
|
+
rest = _objectWithoutProperties(_ref, _excluded$j);
|
|
14090
14134
|
return /*#__PURE__*/React__default["default"].createElement(StyledSelectTrigger, _extends({
|
|
14091
14135
|
ref: ref,
|
|
14092
14136
|
role: "button",
|
|
@@ -14133,11 +14177,11 @@
|
|
|
14133
14177
|
});
|
|
14134
14178
|
StyledToggle.displayName = "StyledToggle";
|
|
14135
14179
|
|
|
14136
|
-
var _excluded$
|
|
14180
|
+
var _excluded$i = ["hovered", "className"];
|
|
14137
14181
|
var Toggle = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14138
14182
|
var hovered = _ref.hovered,
|
|
14139
14183
|
className = _ref.className,
|
|
14140
|
-
args = _objectWithoutProperties(_ref, _excluded$
|
|
14184
|
+
args = _objectWithoutProperties(_ref, _excluded$i);
|
|
14141
14185
|
return /*#__PURE__*/React__default["default"].createElement(StyledToggle, {
|
|
14142
14186
|
className: classNames__default["default"]("c-toggle", className),
|
|
14143
14187
|
$isHovered: hovered,
|
|
@@ -14290,7 +14334,7 @@
|
|
|
14290
14334
|
});
|
|
14291
14335
|
ChipCloseIcon.displayName = "ChipCloseIcon";
|
|
14292
14336
|
|
|
14293
|
-
var _excluded$
|
|
14337
|
+
var _excluded$h = ["leftAdornment", "label", "onClose", "size", "color", "backgroundColor", "closeClassName", "variant", "typographyProps"];
|
|
14294
14338
|
var Chip = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, ref) {
|
|
14295
14339
|
var leftAdornment = _ref.leftAdornment,
|
|
14296
14340
|
label = _ref.label,
|
|
@@ -14302,7 +14346,7 @@
|
|
|
14302
14346
|
closeClassName = _ref.closeClassName,
|
|
14303
14347
|
variant = _ref.variant,
|
|
14304
14348
|
typographyProps = _ref.typographyProps,
|
|
14305
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14349
|
+
rest = _objectWithoutProperties(_ref, _excluded$h);
|
|
14306
14350
|
var showClose = typeof onClose === "function";
|
|
14307
14351
|
var _variant = React.useMemo(function () {
|
|
14308
14352
|
if (typeof variant !== "undefined") {
|
|
@@ -14378,7 +14422,7 @@
|
|
|
14378
14422
|
return isFirst.current;
|
|
14379
14423
|
};
|
|
14380
14424
|
|
|
14381
|
-
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"];
|
|
14382
14426
|
var ComboBox = function ComboBox(_ref) {
|
|
14383
14427
|
var _comboBoxRef$current2, _comboBoxRef$current3;
|
|
14384
14428
|
var _ref$options = _ref.options,
|
|
@@ -14411,7 +14455,7 @@
|
|
|
14411
14455
|
scrollWrapper = _ref.scrollWrapper,
|
|
14412
14456
|
onClose = _ref.onClose,
|
|
14413
14457
|
onClear = _ref.onClear,
|
|
14414
|
-
prop = _objectWithoutProperties(_ref, _excluded$
|
|
14458
|
+
prop = _objectWithoutProperties(_ref, _excluded$g);
|
|
14415
14459
|
var selectedName = React.useMemo(function () {
|
|
14416
14460
|
var value = "";
|
|
14417
14461
|
if (!selected) {
|
|
@@ -14815,11 +14859,11 @@
|
|
|
14815
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);
|
|
14816
14860
|
StyledAddToListButton.displayName = "StyledAddToListButton";
|
|
14817
14861
|
|
|
14818
|
-
var _excluded$
|
|
14862
|
+
var _excluded$f = ["text", "className"];
|
|
14819
14863
|
var AddToListButton = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
14820
14864
|
var text = _ref.text,
|
|
14821
14865
|
className = _ref.className,
|
|
14822
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
14866
|
+
rest = _objectWithoutProperties(_ref, _excluded$f);
|
|
14823
14867
|
return /*#__PURE__*/React__default["default"].createElement(StyledAddToListButton, _extends({
|
|
14824
14868
|
ref: ref,
|
|
14825
14869
|
className: classNames__default["default"]("c--add-to-list-btn", className)
|
|
@@ -15002,11 +15046,11 @@
|
|
|
15002
15046
|
};
|
|
15003
15047
|
ProgressRing.displayName = "ProgressRing";
|
|
15004
15048
|
|
|
15005
|
-
var _excluded$
|
|
15049
|
+
var _excluded$e = ["radius"];
|
|
15006
15050
|
var ProgressPie = function ProgressPie(_ref) {
|
|
15007
15051
|
var _ref$radius = _ref.radius,
|
|
15008
15052
|
radius = _ref$radius === void 0 ? 20 : _ref$radius,
|
|
15009
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15053
|
+
rest = _objectWithoutProperties(_ref, _excluded$e);
|
|
15010
15054
|
return /*#__PURE__*/React__default["default"].createElement(ProgressRing, _extends({}, rest, {
|
|
15011
15055
|
stroke: radius,
|
|
15012
15056
|
radius: radius
|
|
@@ -15330,7 +15374,7 @@
|
|
|
15330
15374
|
ThumbsDownIcon.displayName = "ThumbsDownIcon";
|
|
15331
15375
|
var ThumbsDownIcon$1 = ThumbsDownIcon;
|
|
15332
15376
|
|
|
15333
|
-
var _excluded$
|
|
15377
|
+
var _excluded$d = ["invalid", "required", "size", "children", "className", "weight"];
|
|
15334
15378
|
var Label = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15335
15379
|
var _ref$invalid = _ref.invalid,
|
|
15336
15380
|
invalid = _ref$invalid === void 0 ? false : _ref$invalid,
|
|
@@ -15342,7 +15386,7 @@
|
|
|
15342
15386
|
className = _ref.className,
|
|
15343
15387
|
_ref$weight = _ref.weight,
|
|
15344
15388
|
weight = _ref$weight === void 0 ? "bold" : _ref$weight,
|
|
15345
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15389
|
+
props = _objectWithoutProperties(_ref, _excluded$d);
|
|
15346
15390
|
var color = invalid ? "alert" : "primary";
|
|
15347
15391
|
var variant = size === "regular" ? "Body 2" : "Caption 1";
|
|
15348
15392
|
return /*#__PURE__*/React__default["default"].createElement(Typography, _extends({
|
|
@@ -15401,7 +15445,7 @@
|
|
|
15401
15445
|
});
|
|
15402
15446
|
StyledInput$1.displayName = "StyledInput";
|
|
15403
15447
|
|
|
15404
|
-
var _excluded$
|
|
15448
|
+
var _excluded$c = ["className", "variant", "weight", "disabled", "inputProps", "wrapRef"];
|
|
15405
15449
|
var EditableContent = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15406
15450
|
var className = _ref.className,
|
|
15407
15451
|
_ref$variant = _ref.variant,
|
|
@@ -15411,7 +15455,7 @@
|
|
|
15411
15455
|
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
15412
15456
|
inputProps = _ref.inputProps,
|
|
15413
15457
|
wrapRef = _ref.wrapRef,
|
|
15414
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15458
|
+
props = _objectWithoutProperties(_ref, _excluded$c);
|
|
15415
15459
|
var intInputRef = React.useRef(null);
|
|
15416
15460
|
var handleRef = useForkRef(ref, intInputRef);
|
|
15417
15461
|
var handleBlur = React.useCallback(function (evt) {
|
|
@@ -15441,13 +15485,13 @@
|
|
|
15441
15485
|
});
|
|
15442
15486
|
EditableContent.displayName = "EditableContent";
|
|
15443
15487
|
|
|
15444
|
-
var _excluded$
|
|
15488
|
+
var _excluded$b = ["onSave", "onCancel", "value", "inputProps"];
|
|
15445
15489
|
var EditableText = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15446
15490
|
var onSave = _ref.onSave,
|
|
15447
15491
|
onCancel = _ref.onCancel,
|
|
15448
15492
|
value = _ref.value,
|
|
15449
15493
|
inputProps = _ref.inputProps,
|
|
15450
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15494
|
+
props = _objectWithoutProperties(_ref, _excluded$b);
|
|
15451
15495
|
var _useState = React.useState(value),
|
|
15452
15496
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15453
15497
|
currentValue = _useState2[0],
|
|
@@ -15505,11 +15549,11 @@
|
|
|
15505
15549
|
});
|
|
15506
15550
|
EditableText.displayName = "EditableText";
|
|
15507
15551
|
|
|
15508
|
-
var _excluded$
|
|
15552
|
+
var _excluded$a = ["withDocuments"];
|
|
15509
15553
|
var FolderIcon = /*#__PURE__*/React__default["default"].forwardRef(function (_ref, svgRef) {
|
|
15510
15554
|
var _ref$withDocuments = _ref.withDocuments,
|
|
15511
15555
|
withDocuments = _ref$withDocuments === void 0 ? false : _ref$withDocuments,
|
|
15512
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15556
|
+
props = _objectWithoutProperties(_ref, _excluded$a);
|
|
15513
15557
|
return /*#__PURE__*/React__default["default"].createElement("svg", _extends({
|
|
15514
15558
|
width: 100,
|
|
15515
15559
|
height: 100,
|
|
@@ -15652,7 +15696,7 @@
|
|
|
15652
15696
|
return $renderAs === "list" && styled.css(["justify-self:flex-end;"]);
|
|
15653
15697
|
});
|
|
15654
15698
|
|
|
15655
|
-
var _excluded$
|
|
15699
|
+
var _excluded$9 = ["children", "gap", "renderAs"];
|
|
15656
15700
|
var EntityGroupContext = /*#__PURE__*/React__default["default"].createContext({
|
|
15657
15701
|
renderAs: "grid"
|
|
15658
15702
|
});
|
|
@@ -15661,7 +15705,7 @@
|
|
|
15661
15705
|
gap = _ref.gap,
|
|
15662
15706
|
_ref$renderAs = _ref.renderAs,
|
|
15663
15707
|
renderAs = _ref$renderAs === void 0 ? "grid" : _ref$renderAs,
|
|
15664
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15708
|
+
rest = _objectWithoutProperties(_ref, _excluded$9);
|
|
15665
15709
|
return /*#__PURE__*/React__default["default"].createElement(EntityGroupContext.Provider, {
|
|
15666
15710
|
value: {
|
|
15667
15711
|
renderAs: renderAs
|
|
@@ -15673,14 +15717,14 @@
|
|
|
15673
15717
|
};
|
|
15674
15718
|
EntityGroup.displayName = "EntityGroup";
|
|
15675
15719
|
|
|
15676
|
-
var _excluded$
|
|
15720
|
+
var _excluded$8 = ["children", "isCollection", "background", "className", "as"];
|
|
15677
15721
|
var EntityCard = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
15678
15722
|
var children = _ref.children,
|
|
15679
15723
|
isCollection = _ref.isCollection,
|
|
15680
15724
|
background = _ref.background,
|
|
15681
15725
|
className = _ref.className,
|
|
15682
15726
|
as = _ref.as,
|
|
15683
|
-
rest = _objectWithoutProperties(_ref, _excluded$
|
|
15727
|
+
rest = _objectWithoutProperties(_ref, _excluded$8);
|
|
15684
15728
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15685
15729
|
renderAs = _useContext.renderAs;
|
|
15686
15730
|
var classSuffix = "c-entity-card-".concat(renderAs);
|
|
@@ -15699,13 +15743,13 @@
|
|
|
15699
15743
|
});
|
|
15700
15744
|
EntityCard.displayName = "EntityCard";
|
|
15701
15745
|
|
|
15702
|
-
var _excluded$
|
|
15746
|
+
var _excluded$7 = ["listOrder", "listWidth", "visibleFromBreakpoint", "className"];
|
|
15703
15747
|
var EntityProperty = function EntityProperty(_ref) {
|
|
15704
15748
|
var listOrder = _ref.listOrder,
|
|
15705
15749
|
listWidth = _ref.listWidth,
|
|
15706
15750
|
visibleFromBreakpoint = _ref.visibleFromBreakpoint,
|
|
15707
15751
|
className = _ref.className,
|
|
15708
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
15752
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
15709
15753
|
var _useContext = React.useContext(EntityGroupContext),
|
|
15710
15754
|
renderAs = _useContext.renderAs;
|
|
15711
15755
|
var classSuffix = "c-entity-property-".concat(renderAs);
|
|
@@ -15845,6 +15889,7 @@
|
|
|
15845
15889
|
}), children);
|
|
15846
15890
|
};
|
|
15847
15891
|
|
|
15892
|
+
var _excluded$6 = ["id", "title", "submenu", "searchPlaceholder", "disableInternalSort", "isSingleSelect", "defaultValue"];
|
|
15848
15893
|
var Filter = function Filter(_ref) {
|
|
15849
15894
|
var data = _ref.data,
|
|
15850
15895
|
_ref$selected = _ref.selected,
|
|
@@ -15858,7 +15903,13 @@
|
|
|
15858
15903
|
width = _ref$width === void 0 ? 260 : _ref$width,
|
|
15859
15904
|
noResultText = _ref.noResultText,
|
|
15860
15905
|
emptyFilterText = _ref.emptyFilterText,
|
|
15861
|
-
children = _ref.children
|
|
15906
|
+
children = _ref.children,
|
|
15907
|
+
_ref$icon = _ref.icon,
|
|
15908
|
+
icon = _ref$icon === void 0 ? /*#__PURE__*/React__default["default"].createElement(FilterIcon$1, null) : _ref$icon,
|
|
15909
|
+
_ref$position = _ref.position,
|
|
15910
|
+
position = _ref$position === void 0 ? "bottom-end" : _ref$position,
|
|
15911
|
+
_ref$disabled = _ref.disabled,
|
|
15912
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
15862
15913
|
var _useState = React.useState(false),
|
|
15863
15914
|
_useState2 = _slicedToArray(_useState, 2),
|
|
15864
15915
|
open = _useState2[0],
|
|
@@ -15964,14 +16015,15 @@
|
|
|
15964
16015
|
open: open,
|
|
15965
16016
|
onOpen: handleOpen,
|
|
15966
16017
|
onClose: handleClose,
|
|
15967
|
-
position:
|
|
16018
|
+
position: position,
|
|
15968
16019
|
target: /*#__PURE__*/React__default["default"].createElement(CounterButton, {
|
|
15969
16020
|
active: open,
|
|
15970
16021
|
label: label,
|
|
15971
|
-
icon:
|
|
16022
|
+
icon: icon,
|
|
15972
16023
|
counter: count,
|
|
15973
16024
|
tooltipText: clearAllText,
|
|
15974
|
-
onClearAll: handleClearAll
|
|
16025
|
+
onClearAll: handleClearAll,
|
|
16026
|
+
disabled: disabled
|
|
15975
16027
|
})
|
|
15976
16028
|
}, /*#__PURE__*/React__default["default"].createElement(ResizeTransition, {
|
|
15977
16029
|
in: true
|
|
@@ -16005,7 +16057,8 @@
|
|
|
16005
16057
|
searchPlaceholder = _ref2.searchPlaceholder,
|
|
16006
16058
|
disableInternalSort = _ref2.disableInternalSort,
|
|
16007
16059
|
isSingleSelect = _ref2.isSingleSelect,
|
|
16008
|
-
defaultValue = _ref2.defaultValue
|
|
16060
|
+
defaultValue = _ref2.defaultValue,
|
|
16061
|
+
rest = _objectWithoutProperties(_ref2, _excluded$6);
|
|
16009
16062
|
return /*#__PURE__*/React__default["default"].createElement(SlideLeftRightTransition, {
|
|
16010
16063
|
key: "filter-submenu-".concat(index),
|
|
16011
16064
|
in: menu === id,
|
|
@@ -16024,7 +16077,7 @@
|
|
|
16024
16077
|
indexPage: menu === "index"
|
|
16025
16078
|
}, /*#__PURE__*/React__default["default"].createElement(FocusLock.MoveFocusInside, {
|
|
16026
16079
|
disabled: enteredMenu !== id
|
|
16027
|
-
}, /*#__PURE__*/React__default["default"].createElement(Select, {
|
|
16080
|
+
}, /*#__PURE__*/React__default["default"].createElement(Select, _extends({
|
|
16028
16081
|
options: submenu,
|
|
16029
16082
|
selected: filter[id],
|
|
16030
16083
|
onChange: handleChange,
|
|
@@ -16036,7 +16089,7 @@
|
|
|
16036
16089
|
disableSearch: Boolean(submenu.length <= 7),
|
|
16037
16090
|
disabledInternalSort: disableInternalSort,
|
|
16038
16091
|
defaultValue: defaultValue
|
|
16039
|
-
}), (_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, {
|
|
16040
16093
|
variant: "text colored",
|
|
16041
16094
|
size: "small",
|
|
16042
16095
|
onClick: handleReset
|
|
@@ -17120,6 +17173,7 @@
|
|
|
17120
17173
|
exports.MessageSmallIcon = MessageSmallIcon$1;
|
|
17121
17174
|
exports.MinusIcon = MinusIcon$1;
|
|
17122
17175
|
exports.Modal = Modal;
|
|
17176
|
+
exports.MoveIcon = MoveIcon$1;
|
|
17123
17177
|
exports.MoveTriggerIcon = MoveTriggerIcon$1;
|
|
17124
17178
|
exports.MultiAvatar = MultiAvatar;
|
|
17125
17179
|
exports.MyWorkIcon = MyWorkIcon$1;
|