@dxc-technology/halstack-react 0.0.0-b821bfb → 0.0.0-ba408d4
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/BackgroundColorContext.js +8 -4
- package/ThemeContext.js +84 -88
- package/V3Select/V3Select.js +33 -127
- package/V3Textarea/V3Textarea.js +10 -14
- package/accordion/Accordion.js +23 -87
- package/accordion-group/AccordionGroup.js +13 -15
- package/alert/Alert.js +38 -132
- package/badge/Badge.js +9 -13
- package/box/Box.js +9 -13
- package/button/Button.d.ts +4 -0
- package/button/Button.js +15 -71
- package/button/Button.stories.tsx +306 -0
- package/button/types.d.ts +57 -0
- package/button/types.js +5 -0
- package/card/Card.js +19 -73
- package/checkbox/Checkbox.js +13 -37
- package/chip/Chip.js +17 -61
- package/common/RequiredComponent.js +3 -11
- package/common/variables.js +3 -1
- package/date/Date.js +16 -22
- package/date-input/DateInput.js +18 -22
- package/dialog/Dialog.js +16 -50
- package/dropdown/Dropdown.js +37 -131
- package/file-input/FileInput.js +48 -160
- package/file-input/FileItem.js +29 -123
- package/footer/Footer.js +34 -158
- package/footer/Icons.js +13 -13
- package/header/Header.js +35 -179
- package/header/Icons.js +11 -11
- package/heading/Heading.js +18 -72
- package/input-text/Icons.js +2 -2
- package/input-text/InputText.js +36 -130
- package/input-text/index.d.ts +1 -1
- package/layout/ApplicationLayout.js +31 -123
- package/layout/Icons.js +7 -7
- package/link/Link.js +18 -72
- package/main.d.ts +44 -40
- package/main.js +91 -87
- package/number-input/NumberInput.js +5 -13
- package/number-input/NumberInputContext.js +1 -1
- package/package.json +14 -11
- package/paginator/Icons.js +9 -9
- package/paginator/Paginator.d.ts +4 -0
- package/paginator/Paginator.js +24 -131
- package/paginator/types.d.ts +38 -0
- package/paginator/types.js +5 -0
- package/password-input/PasswordInput.js +15 -19
- package/progress-bar/ProgressBar.js +18 -72
- package/radio/Radio.js +12 -26
- package/resultsetTable/ResultsetTable.js +35 -119
- package/select/Select.js +161 -434
- package/sidenav/Sidenav.js +15 -49
- package/slider/Slider.js +19 -83
- package/spinner/Spinner.js +38 -152
- package/switch/Switch.js +12 -26
- package/table/Table.js +10 -24
- package/tabs/Tabs.js +26 -110
- package/tag/Tag.js +22 -96
- package/text-input/TextInput.js +104 -271
- package/textarea/Textarea.js +20 -72
- package/toggle/Toggle.js +15 -49
- package/toggle-group/ToggleGroup.js +23 -107
- package/upload/Upload.js +11 -15
- package/upload/buttons-upload/ButtonsUpload.js +13 -37
- package/upload/buttons-upload/Icons.js +7 -7
- package/upload/dragAndDropArea/DragAndDropArea.js +24 -128
- package/upload/dragAndDropArea/Icons.js +6 -6
- package/upload/file-upload/FileToUpload.js +16 -90
- package/upload/file-upload/Icons.js +13 -13
- package/upload/files-upload/FilesToUpload.js +12 -26
- package/upload/transaction/Icons.js +31 -31
- package/upload/transaction/Transaction.js +17 -61
- package/upload/transactions/Transactions.js +13 -57
- package/wizard/Icons.js +8 -8
- package/wizard/Wizard.js +31 -165
- package/button/Button.stories.js +0 -27
- package/button/index.d.ts +0 -24
- package/paginator/index.d.ts +0 -20
|
@@ -5,61 +5,61 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.videoIcon = exports.defaultIcon = exports.closeIcon = exports.audioIcon = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var closeIcon = _react["default"].createElement("svg", {
|
|
12
|
+
var closeIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
14
|
width: "30",
|
|
15
15
|
height: "30",
|
|
16
16
|
viewBox: "0 0 24 24"
|
|
17
|
-
}, _react["default"].createElement("path", {
|
|
17
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
18
18
|
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
19
|
-
}), _react["default"].createElement("path", {
|
|
19
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
20
20
|
d: "M0 0h24v24H0z",
|
|
21
21
|
fill: "none"
|
|
22
22
|
}));
|
|
23
23
|
|
|
24
24
|
exports.closeIcon = closeIcon;
|
|
25
25
|
|
|
26
|
-
var defaultIcon = _react["default"].createElement("svg", {
|
|
26
|
+
var defaultIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
27
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
28
|
width: "24",
|
|
29
29
|
height: "24",
|
|
30
30
|
viewBox: "0 0 24 24"
|
|
31
|
-
}, _react["default"].createElement("path", {
|
|
31
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
32
32
|
fill: "none",
|
|
33
33
|
d: "M0 0h24v24H0V0z"
|
|
34
|
-
}), _react["default"].createElement("path", {
|
|
34
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
35
35
|
d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zM6 20V4h7v5h5v11H6z"
|
|
36
36
|
}));
|
|
37
37
|
|
|
38
38
|
exports.defaultIcon = defaultIcon;
|
|
39
39
|
|
|
40
|
-
var videoIcon = _react["default"].createElement("svg", {
|
|
40
|
+
var videoIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
41
41
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42
42
|
width: "24",
|
|
43
43
|
height: "24",
|
|
44
44
|
viewBox: "0 0 24 24"
|
|
45
|
-
}, _react["default"].createElement("path", {
|
|
45
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
46
46
|
d: "M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"
|
|
47
|
-
}), _react["default"].createElement("path", {
|
|
47
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
48
48
|
d: "M0 0h24v24H0z",
|
|
49
49
|
fill: "none"
|
|
50
50
|
}));
|
|
51
51
|
|
|
52
52
|
exports.videoIcon = videoIcon;
|
|
53
53
|
|
|
54
|
-
var audioIcon = _react["default"].createElement("svg", {
|
|
54
|
+
var audioIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
55
55
|
xmlns: "http://www.w3.org/2000/svg",
|
|
56
56
|
width: "24",
|
|
57
57
|
height: "24",
|
|
58
58
|
viewBox: "0 0 24 24"
|
|
59
|
-
}, _react["default"].createElement("path", {
|
|
59
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
60
60
|
fill: "none",
|
|
61
61
|
d: "M0 0h24v24H0V0z"
|
|
62
|
-
}), _react["default"].createElement("path", {
|
|
62
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
63
63
|
d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"
|
|
64
64
|
}));
|
|
65
65
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
@@ -23,25 +23,11 @@ var _ButtonsUpload = _interopRequireDefault(require("../buttons-upload/ButtonsUp
|
|
|
23
23
|
|
|
24
24
|
var _useTheme = _interopRequireDefault(require("../../useTheme.js"));
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n height: 83%;\n overflow: auto;\n margin-top: 2px;\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n border-radius: 3px;\n background-color: ", ";\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: ", ";\n }\n"]);
|
|
28
|
-
|
|
29
|
-
_templateObject2 = function _templateObject2() {
|
|
30
|
-
return data;
|
|
31
|
-
};
|
|
26
|
+
var _templateObject, _templateObject2;
|
|
32
27
|
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
function _templateObject() {
|
|
37
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n width: 100%;\n padding: 20px;\n border-radius: 4px 4px 0px 4px;\n box-shadow: 0px 0px 1px ", ";\n background-color: ", ";\n"]);
|
|
38
|
-
|
|
39
|
-
_templateObject = function _templateObject() {
|
|
40
|
-
return data;
|
|
41
|
-
};
|
|
28
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
42
29
|
|
|
43
|
-
|
|
44
|
-
}
|
|
30
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
45
31
|
|
|
46
32
|
var DxcFilesToUpload = function DxcFilesToUpload(_ref) {
|
|
47
33
|
var filesToUpload = _ref.filesToUpload,
|
|
@@ -79,22 +65,22 @@ var DxcFilesToUpload = function DxcFilesToUpload(_ref) {
|
|
|
79
65
|
}
|
|
80
66
|
};
|
|
81
67
|
|
|
82
|
-
return _react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
68
|
+
return /*#__PURE__*/_react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
83
69
|
theme: colorsTheme.upload
|
|
84
|
-
}, _react["default"].createElement(DXCFilesToUpload, {
|
|
70
|
+
}, /*#__PURE__*/_react["default"].createElement(DXCFilesToUpload, {
|
|
85
71
|
onDrop: handleDrop,
|
|
86
72
|
onDragEnter: handleDragIn,
|
|
87
73
|
onDragOver: handleDrag,
|
|
88
74
|
onDragLeave: handleDragOut
|
|
89
|
-
}, _react["default"].createElement(FilesToUpload, null, filesToUpload.map(function (fileToUpload) {
|
|
90
|
-
return _react["default"].createElement(_FileToUpload["default"], {
|
|
75
|
+
}, /*#__PURE__*/_react["default"].createElement(FilesToUpload, null, filesToUpload.map(function (fileToUpload) {
|
|
76
|
+
return /*#__PURE__*/_react["default"].createElement(_FileToUpload["default"], {
|
|
91
77
|
name: fileToUpload.name,
|
|
92
78
|
type: fileToUpload.type,
|
|
93
79
|
image: fileToUpload.image,
|
|
94
80
|
onDelete: fileToUpload.deleteFile,
|
|
95
81
|
tabIndexValue: tabIndexValue
|
|
96
82
|
});
|
|
97
|
-
})), _react["default"].createElement(_ButtonsUpload["default"], {
|
|
83
|
+
})), /*#__PURE__*/_react["default"].createElement(_ButtonsUpload["default"], {
|
|
98
84
|
addFile: addFile,
|
|
99
85
|
onUpload: onUpload,
|
|
100
86
|
tabIndex: tabIndexValue
|
|
@@ -107,13 +93,13 @@ DxcFilesToUpload.propTypes = {
|
|
|
107
93
|
onUpload: _propTypes["default"].func
|
|
108
94
|
};
|
|
109
95
|
|
|
110
|
-
var DXCFilesToUpload = _styledComponents["default"].div(_templateObject(), function (props) {
|
|
96
|
+
var DXCFilesToUpload = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n width: 100%;\n padding: 20px;\n border-radius: 4px 4px 0px 4px;\n box-shadow: 0px 0px 1px ", ";\n background-color: ", ";\n"])), function (props) {
|
|
111
97
|
return props.theme.shadowColor;
|
|
112
98
|
}, function (props) {
|
|
113
99
|
return props.theme.backgroundColor;
|
|
114
100
|
});
|
|
115
101
|
|
|
116
|
-
var FilesToUpload = _styledComponents["default"].div(_templateObject2(), function (props) {
|
|
102
|
+
var FilesToUpload = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n height: 83%;\n overflow: auto;\n margin-top: 2px;\n ::-webkit-scrollbar {\n width: 3px;\n }\n ::-webkit-scrollbar-track {\n border-radius: 3px;\n background-color: ", ";\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: ", ";\n }\n"])), function (props) {
|
|
117
103
|
return props.theme.scrollBarTrackColor;
|
|
118
104
|
}, function (props) {
|
|
119
105
|
return props.theme.scrollBarThumbColor;
|
|
@@ -5,155 +5,155 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.
|
|
8
|
+
exports.videoIconError = exports.videoIcon = exports.successIcon = exports.imageIconError = exports.imageIcon = exports.errorIcon = exports.defaultIconError = exports.defaultIcon = exports.audioIconError = exports.audioIcon = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
12
|
-
var successIcon = _react["default"].createElement("svg", {
|
|
12
|
+
var successIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
14
|
width: "24",
|
|
15
15
|
height: "24",
|
|
16
16
|
viewBox: "0 0 24 24",
|
|
17
17
|
fill: "#50B50F"
|
|
18
|
-
}, _react["default"].createElement("path", {
|
|
18
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
19
19
|
fill: "none",
|
|
20
20
|
d: "M0 0h24v24H0z"
|
|
21
|
-
}), _react["default"].createElement("path", {
|
|
21
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
22
22
|
d: "M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"
|
|
23
23
|
}));
|
|
24
24
|
|
|
25
25
|
exports.successIcon = successIcon;
|
|
26
26
|
|
|
27
|
-
var errorIcon = _react["default"].createElement("svg", {
|
|
27
|
+
var errorIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
28
28
|
xmlns: "http://www.w3.org/2000/svg",
|
|
29
29
|
width: "24",
|
|
30
30
|
height: "24",
|
|
31
31
|
viewBox: "0 0 24 24",
|
|
32
32
|
fill: "#D0011B"
|
|
33
|
-
}, _react["default"].createElement("path", {
|
|
33
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
34
34
|
d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"
|
|
35
|
-
}), _react["default"].createElement("path", {
|
|
35
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
36
36
|
d: "M0 0h24v24H0z",
|
|
37
37
|
fill: "none"
|
|
38
38
|
}));
|
|
39
39
|
|
|
40
40
|
exports.errorIcon = errorIcon;
|
|
41
41
|
|
|
42
|
-
var defaultIcon = _react["default"].createElement("svg", {
|
|
42
|
+
var defaultIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
43
43
|
xmlns: "http://www.w3.org/2000/svg",
|
|
44
44
|
width: "24",
|
|
45
45
|
height: "24",
|
|
46
46
|
viewBox: "0 0 24 24",
|
|
47
47
|
fill: "#D9D9D9"
|
|
48
|
-
}, _react["default"].createElement("path", {
|
|
48
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
49
49
|
d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"
|
|
50
|
-
}), _react["default"].createElement("path", {
|
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
51
51
|
d: "M0 0h24v24H0z",
|
|
52
52
|
fill: "none"
|
|
53
53
|
}));
|
|
54
54
|
|
|
55
55
|
exports.defaultIcon = defaultIcon;
|
|
56
56
|
|
|
57
|
-
var imageIcon = _react["default"].createElement("svg", {
|
|
57
|
+
var imageIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
58
58
|
xmlns: "http://www.w3.org/2000/svg",
|
|
59
59
|
width: "24",
|
|
60
60
|
height: "24",
|
|
61
61
|
viewBox: "0 0 24 24",
|
|
62
62
|
fill: "#D9D9D9"
|
|
63
|
-
}, _react["default"].createElement("path", {
|
|
63
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
64
64
|
d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"
|
|
65
|
-
}), _react["default"].createElement("path", {
|
|
65
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
66
66
|
d: "M0 0h24v24H0z",
|
|
67
67
|
fill: "none"
|
|
68
68
|
}));
|
|
69
69
|
|
|
70
70
|
exports.imageIcon = imageIcon;
|
|
71
71
|
|
|
72
|
-
var videoIcon = _react["default"].createElement("svg", {
|
|
72
|
+
var videoIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
73
73
|
xmlns: "http://www.w3.org/2000/svg",
|
|
74
74
|
width: "24",
|
|
75
75
|
height: "24",
|
|
76
76
|
viewBox: "0 0 24 24",
|
|
77
77
|
fill: "#D9D9D9"
|
|
78
|
-
}, _react["default"].createElement("path", {
|
|
78
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
79
79
|
d: "M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"
|
|
80
|
-
}), _react["default"].createElement("path", {
|
|
80
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
81
81
|
d: "M0 0h24v24H0z",
|
|
82
82
|
fill: "none"
|
|
83
83
|
}));
|
|
84
84
|
|
|
85
85
|
exports.videoIcon = videoIcon;
|
|
86
86
|
|
|
87
|
-
var audioIcon = _react["default"].createElement("svg", {
|
|
87
|
+
var audioIcon = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
88
88
|
xmlns: "http://www.w3.org/2000/svg",
|
|
89
89
|
width: "24",
|
|
90
90
|
height: "24",
|
|
91
91
|
viewBox: "0 0 24 24",
|
|
92
92
|
fill: "#D9D9D9"
|
|
93
|
-
}, _react["default"].createElement("path", {
|
|
93
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
94
94
|
fill: "none",
|
|
95
95
|
d: "M0 0h24v24H0V0z"
|
|
96
|
-
}), _react["default"].createElement("path", {
|
|
96
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
97
97
|
d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"
|
|
98
98
|
}));
|
|
99
99
|
|
|
100
100
|
exports.audioIcon = audioIcon;
|
|
101
101
|
|
|
102
|
-
var defaultIconError = _react["default"].createElement("svg", {
|
|
102
|
+
var defaultIconError = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
103
103
|
xmlns: "http://www.w3.org/2000/svg",
|
|
104
104
|
width: "24",
|
|
105
105
|
height: "24",
|
|
106
106
|
viewBox: "0 0 24 24",
|
|
107
107
|
fill: "#D0011B"
|
|
108
|
-
}, _react["default"].createElement("path", {
|
|
108
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
109
109
|
d: "M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"
|
|
110
|
-
}), _react["default"].createElement("path", {
|
|
110
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
111
111
|
d: "M0 0h24v24H0z",
|
|
112
112
|
fill: "none"
|
|
113
113
|
}));
|
|
114
114
|
|
|
115
115
|
exports.defaultIconError = defaultIconError;
|
|
116
116
|
|
|
117
|
-
var imageIconError = _react["default"].createElement("svg", {
|
|
117
|
+
var imageIconError = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
118
118
|
xmlns: "http://www.w3.org/2000/svg",
|
|
119
119
|
width: "24",
|
|
120
120
|
height: "24",
|
|
121
121
|
viewBox: "0 0 24 24",
|
|
122
122
|
fill: "#D0011B"
|
|
123
|
-
}, _react["default"].createElement("path", {
|
|
123
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
124
124
|
d: "M21 19V5c0-1.1-.9-2-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2zM8.5 13.5l2.5 3.01L14.5 12l4.5 6H5l3.5-4.5z"
|
|
125
|
-
}), _react["default"].createElement("path", {
|
|
125
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
126
126
|
d: "M0 0h24v24H0z",
|
|
127
127
|
fill: "none"
|
|
128
128
|
}));
|
|
129
129
|
|
|
130
130
|
exports.imageIconError = imageIconError;
|
|
131
131
|
|
|
132
|
-
var videoIconError = _react["default"].createElement("svg", {
|
|
132
|
+
var videoIconError = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
133
133
|
xmlns: "http://www.w3.org/2000/svg",
|
|
134
134
|
width: "24",
|
|
135
135
|
height: "24",
|
|
136
136
|
viewBox: "0 0 24 24",
|
|
137
137
|
fill: "#D0011B"
|
|
138
|
-
}, _react["default"].createElement("path", {
|
|
138
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
139
139
|
d: "M18 4l2 4h-3l-2-4h-2l2 4h-3l-2-4H8l2 4H7L5 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V4h-4z"
|
|
140
|
-
}), _react["default"].createElement("path", {
|
|
140
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
141
141
|
d: "M0 0h24v24H0z",
|
|
142
142
|
fill: "none"
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
145
|
exports.videoIconError = videoIconError;
|
|
146
146
|
|
|
147
|
-
var audioIconError = _react["default"].createElement("svg", {
|
|
147
|
+
var audioIconError = /*#__PURE__*/_react["default"].createElement("svg", {
|
|
148
148
|
xmlns: "http://www.w3.org/2000/svg",
|
|
149
149
|
width: "24",
|
|
150
150
|
height: "24",
|
|
151
151
|
viewBox: "0 0 24 24",
|
|
152
152
|
fill: "#D0011B"
|
|
153
|
-
}, _react["default"].createElement("path", {
|
|
153
|
+
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
154
154
|
fill: "none",
|
|
155
155
|
d: "M0 0h24v24H0V0z"
|
|
156
|
-
}), _react["default"].createElement("path", {
|
|
156
|
+
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
157
157
|
d: "M21 3H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H3V5h18v14zM8 15c0-1.66 1.34-3 3-3 .35 0 .69.07 1 .18V6h5v2h-3v7.03c-.02 1.64-1.35 2.97-3 2.97-1.66 0-3-1.34-3-3z"
|
|
158
158
|
}));
|
|
159
159
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
@@ -27,55 +27,11 @@ var _useTheme = _interopRequireDefault(require("../../useTheme.js"));
|
|
|
27
27
|
|
|
28
28
|
var _BackgroundColorContext = require("../../BackgroundColorContext.js");
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-direction: row;\n width: 80%;\n"]);
|
|
32
|
-
|
|
33
|
-
_templateObject5 = function _templateObject5() {
|
|
34
|
-
return data;
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
return data;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
function _templateObject4() {
|
|
41
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n width: 25px;\n height: 20px;\n max-width: 20%;\n"]);
|
|
42
|
-
|
|
43
|
-
_templateObject4 = function _templateObject4() {
|
|
44
|
-
return data;
|
|
45
|
-
};
|
|
46
|
-
|
|
47
|
-
return data;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function _templateObject3() {
|
|
51
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n margin-right: 16px;\n width: 80%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n"]);
|
|
52
|
-
|
|
53
|
-
_templateObject3 = function _templateObject3() {
|
|
54
|
-
return data;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
return data;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
function _templateObject2() {
|
|
61
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n mask-size: ", ";\n height: ", ";\n width: ", ";\n margin-right: 16px;\n max-width: 20%;\n & svg {\n fill: ", ";\n }\n"]);
|
|
62
|
-
|
|
63
|
-
_templateObject2 = function _templateObject2() {
|
|
64
|
-
return data;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
return data;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
function _templateObject() {
|
|
71
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n font-family: ", ";\n max-width: 100%;\n display: flex;\n flex-direction: row;\n margin-bottom: 16px;\n color: ", ";\n .MuiCircularProgress-root {\n width: 28px !important;\n height: 28px !important;\n }\n"]);
|
|
30
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
72
31
|
|
|
73
|
-
|
|
74
|
-
return data;
|
|
75
|
-
};
|
|
32
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
76
33
|
|
|
77
|
-
|
|
78
|
-
}
|
|
34
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
79
35
|
|
|
80
36
|
var DxcTransaction = function DxcTransaction(_ref) {
|
|
81
37
|
var _ref$name = _ref.name,
|
|
@@ -90,19 +46,19 @@ var DxcTransaction = function DxcTransaction(_ref) {
|
|
|
90
46
|
|
|
91
47
|
var icon = status === "error" && (type.includes("image") && _Icons.imageIconError || type.includes("video") && _Icons.videoIconError || type.includes("audio") && _Icons.audioIconError || _Icons.defaultIconError) || type.includes("image") && _Icons.imageIcon || type.includes("video") && _Icons.videoIcon || type.includes("audio") && _Icons.audioIcon || _Icons.defaultIcon;
|
|
92
48
|
|
|
93
|
-
return _react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
49
|
+
return /*#__PURE__*/_react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
94
50
|
theme: colorsTheme.upload
|
|
95
|
-
}, _react["default"].createElement(DXCTransaction, {
|
|
51
|
+
}, /*#__PURE__*/_react["default"].createElement(DXCTransaction, {
|
|
96
52
|
status: status
|
|
97
|
-
}, _react["default"].createElement(FileImage, {
|
|
53
|
+
}, /*#__PURE__*/_react["default"].createElement(FileImage, {
|
|
98
54
|
status: status
|
|
99
|
-
}, icon), status === "processing" && _react["default"].createElement(FileData, null, _react["default"].createElement(FileName, null, name), _react["default"].createElement(_BackgroundColorContext.BackgroundColorProvider, {
|
|
55
|
+
}, icon), status === "processing" && /*#__PURE__*/_react["default"].createElement(FileData, null, /*#__PURE__*/_react["default"].createElement(FileName, null, name), /*#__PURE__*/_react["default"].createElement(_BackgroundColorContext.BackgroundColorProvider, {
|
|
100
56
|
color: colorsTheme.upload.backgroundColor
|
|
101
|
-
}, _react["default"].createElement(_Spinner["default"], {
|
|
57
|
+
}, /*#__PURE__*/_react["default"].createElement(_Spinner["default"], {
|
|
102
58
|
mode: "small"
|
|
103
|
-
}))) || status === "success" && _react["default"].createElement(FileData, null, _react["default"].createElement(FileName, null, name), _react["default"].createElement(FileStatus, null, _Icons.successIcon)) || status === "error" && _react["default"].createElement(FileData, null, _react["default"].createElement(_Tooltip["default"], {
|
|
59
|
+
}))) || status === "success" && /*#__PURE__*/_react["default"].createElement(FileData, null, /*#__PURE__*/_react["default"].createElement(FileName, null, name), /*#__PURE__*/_react["default"].createElement(FileStatus, null, _Icons.successIcon)) || status === "error" && /*#__PURE__*/_react["default"].createElement(FileData, null, /*#__PURE__*/_react["default"].createElement(_Tooltip["default"], {
|
|
104
60
|
title: message
|
|
105
|
-
}, _react["default"].createElement(FileName, null, name)), _react["default"].createElement(FileStatus, null, _Icons.errorIcon), " ")));
|
|
61
|
+
}, /*#__PURE__*/_react["default"].createElement(FileName, null, name)), /*#__PURE__*/_react["default"].createElement(FileStatus, null, _Icons.errorIcon), " ")));
|
|
106
62
|
};
|
|
107
63
|
|
|
108
64
|
DxcTransaction.propTypes = {
|
|
@@ -112,13 +68,13 @@ DxcTransaction.propTypes = {
|
|
|
112
68
|
message: _propTypes["default"].string
|
|
113
69
|
};
|
|
114
70
|
|
|
115
|
-
var DXCTransaction = _styledComponents["default"].div(_templateObject(), function (props) {
|
|
71
|
+
var DXCTransaction = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n font-family: ", ";\n max-width: 100%;\n display: flex;\n flex-direction: row;\n margin-bottom: 16px;\n color: ", ";\n .MuiCircularProgress-root {\n width: 28px !important;\n height: 28px !important;\n }\n"])), function (props) {
|
|
116
72
|
return props.theme.fontFamily;
|
|
117
73
|
}, function (props) {
|
|
118
74
|
return props.status === "error" && props.theme.errorColor;
|
|
119
75
|
});
|
|
120
76
|
|
|
121
|
-
var FileImage = _styledComponents["default"].div(_templateObject2(), function (props) {
|
|
77
|
+
var FileImage = _styledComponents["default"].div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n mask-size: ", ";\n height: ", ";\n width: ", ";\n margin-right: 16px;\n max-width: 20%;\n & svg {\n fill: ", ";\n }\n"])), function (props) {
|
|
122
78
|
return "".concat(props.theme.uploadedFileIconSize, " ").concat(props.theme.uploadedFileIconSize);
|
|
123
79
|
}, function (props) {
|
|
124
80
|
return props.theme.uploadedFileIconSize;
|
|
@@ -128,7 +84,7 @@ var FileImage = _styledComponents["default"].div(_templateObject2(), function (p
|
|
|
128
84
|
return props.status === "error" && props.theme.errorColor || props.theme.uploadedFileIconColor;
|
|
129
85
|
});
|
|
130
86
|
|
|
131
|
-
var FileName = _styledComponents["default"].div(_templateObject3(), function (props) {
|
|
87
|
+
var FileName = _styledComponents["default"].div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n margin-right: 16px;\n width: 80%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n"])), function (props) {
|
|
132
88
|
return props.theme.fileNameFontSize;
|
|
133
89
|
}, function (props) {
|
|
134
90
|
return props.theme.fileNameFontStyle;
|
|
@@ -140,9 +96,9 @@ var FileName = _styledComponents["default"].div(_templateObject3(), function (pr
|
|
|
140
96
|
return props.theme.fileNameFontColor;
|
|
141
97
|
});
|
|
142
98
|
|
|
143
|
-
var FileStatus = _styledComponents["default"].div(_templateObject4());
|
|
99
|
+
var FileStatus = _styledComponents["default"].div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["\n width: 25px;\n height: 20px;\n max-width: 20%;\n"])));
|
|
144
100
|
|
|
145
|
-
var FileData = _styledComponents["default"].div(_templateObject5());
|
|
101
|
+
var FileData = _styledComponents["default"].div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-direction: row;\n width: 80%;\n"])));
|
|
146
102
|
|
|
147
103
|
var _default = DxcTransaction;
|
|
148
104
|
exports["default"] = _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");
|
|
4
|
-
|
|
5
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
6
4
|
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
|
|
7
7
|
Object.defineProperty(exports, "__esModule", {
|
|
8
8
|
value: true
|
|
9
9
|
});
|
|
@@ -21,65 +21,21 @@ var _Transaction = _interopRequireDefault(require("../transaction/Transaction"))
|
|
|
21
21
|
|
|
22
22
|
var _useTheme = _interopRequireDefault(require("../../useTheme.js"));
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n font-weight: ", ";\n"]);
|
|
26
|
-
|
|
27
|
-
_templateObject5 = function _templateObject5() {
|
|
28
|
-
return data;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
return data;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
function _templateObject4() {
|
|
35
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n"]);
|
|
36
|
-
|
|
37
|
-
_templateObject4 = function _templateObject4() {
|
|
38
|
-
return data;
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
return data;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
function _templateObject3() {
|
|
45
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n margin-bottom: 4px;\n"]);
|
|
46
|
-
|
|
47
|
-
_templateObject3 = function _templateObject3() {
|
|
48
|
-
return data;
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
return data;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
function _templateObject2() {
|
|
55
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-direction: column;\n padding-bottom: 35px;\n"]);
|
|
56
|
-
|
|
57
|
-
_templateObject2 = function _templateObject2() {
|
|
58
|
-
return data;
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
return data;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
function _templateObject() {
|
|
65
|
-
var data = (0, _taggedTemplateLiteral2["default"])(["\n font-family: ", ";\n max-width: 100%;\n width: 35%;\n padding-top: 46px;\n padding-left: 65px;\n border-radius: 4px 0px 4px 4px;\n box-shadow: 0px 0px 1px ", ";\n background-color: ", ";\n overflow: auto;\n ::-webkit-scrollbar {\n width: 3px;\n height: 3px;\n }\n ::-webkit-scrollbar-track {\n border-radius: 3px;\n background-color: ", ";\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: ", ";\n }\n"]);
|
|
24
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
66
25
|
|
|
67
|
-
|
|
68
|
-
return data;
|
|
69
|
-
};
|
|
26
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
70
27
|
|
|
71
|
-
|
|
72
|
-
}
|
|
28
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
73
29
|
|
|
74
30
|
var DxcTransactions = function DxcTransactions(_ref) {
|
|
75
31
|
var transactions = _ref.transactions;
|
|
76
32
|
var colorsTheme = (0, _useTheme["default"])();
|
|
77
|
-
return _react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
33
|
+
return /*#__PURE__*/_react["default"].createElement(_styledComponents.ThemeProvider, {
|
|
78
34
|
theme: colorsTheme.upload
|
|
79
|
-
}, _react["default"].createElement(DXCTransactions, null, _react["default"].createElement(TransactionsText, null, _react["default"].createElement(TransactionsTitle, null, "Files uploaded"), _react["default"].createElement(TransactionsSubTitle, null, _react["default"].createElement(TransactionsNumber, null, transactions && transactions.filter(function (file) {
|
|
35
|
+
}, /*#__PURE__*/_react["default"].createElement(DXCTransactions, null, /*#__PURE__*/_react["default"].createElement(TransactionsText, null, /*#__PURE__*/_react["default"].createElement(TransactionsTitle, null, "Files uploaded"), /*#__PURE__*/_react["default"].createElement(TransactionsSubTitle, null, /*#__PURE__*/_react["default"].createElement(TransactionsNumber, null, transactions && transactions.filter(function (file) {
|
|
80
36
|
return file.status === "success";
|
|
81
37
|
}).length), " ", "documents in total")), transactions.map(function (transaction) {
|
|
82
|
-
return _react["default"].createElement(_Transaction["default"], {
|
|
38
|
+
return /*#__PURE__*/_react["default"].createElement(_Transaction["default"], {
|
|
83
39
|
name: transaction.name,
|
|
84
40
|
type: transaction.type,
|
|
85
41
|
status: transaction.status,
|
|
@@ -92,7 +48,7 @@ DxcTransactions.propTypes = {
|
|
|
92
48
|
transactions: _propTypes["default"].array
|
|
93
49
|
};
|
|
94
50
|
|
|
95
|
-
var DXCTransactions = _styledComponents["default"].div(_templateObject(), function (props) {
|
|
51
|
+
var DXCTransactions = _styledComponents["default"].div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2["default"])(["\n font-family: ", ";\n max-width: 100%;\n width: 35%;\n padding-top: 46px;\n padding-left: 65px;\n border-radius: 4px 0px 4px 4px;\n box-shadow: 0px 0px 1px ", ";\n background-color: ", ";\n overflow: auto;\n ::-webkit-scrollbar {\n width: 3px;\n height: 3px;\n }\n ::-webkit-scrollbar-track {\n border-radius: 3px;\n background-color: ", ";\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 3px;\n background-color: ", ";\n }\n"])), function (props) {
|
|
96
52
|
return props.theme.fontFamily;
|
|
97
53
|
}, function (props) {
|
|
98
54
|
return props.theme.shadowColor;
|
|
@@ -104,9 +60,9 @@ var DXCTransactions = _styledComponents["default"].div(_templateObject(), functi
|
|
|
104
60
|
return props.theme.scrollBarThumbColor;
|
|
105
61
|
});
|
|
106
62
|
|
|
107
|
-
var TransactionsText = _styledComponents["default"].span(_templateObject2());
|
|
63
|
+
var TransactionsText = _styledComponents["default"].span(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2["default"])(["\n display: flex;\n flex-direction: column;\n padding-bottom: 35px;\n"])));
|
|
108
64
|
|
|
109
|
-
var TransactionsTitle = _styledComponents["default"].span(_templateObject3(), function (props) {
|
|
65
|
+
var TransactionsTitle = _styledComponents["default"].span(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n margin-bottom: 4px;\n"])), function (props) {
|
|
110
66
|
return props.theme.uploadedFilesTitleFontSize;
|
|
111
67
|
}, function (props) {
|
|
112
68
|
return props.theme.uploadedFilesTitleFontStyle;
|
|
@@ -118,7 +74,7 @@ var TransactionsTitle = _styledComponents["default"].span(_templateObject3(), fu
|
|
|
118
74
|
return props.theme.uploadedFilesTitleFontColor;
|
|
119
75
|
});
|
|
120
76
|
|
|
121
|
-
var TransactionsSubTitle = _styledComponents["default"].span(_templateObject4(), function (props) {
|
|
77
|
+
var TransactionsSubTitle = _styledComponents["default"].span(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2["default"])(["\n font-size: ", ";\n font-style: ", ";\n font-weight: ", ";\n text-transform: ", ";\n color: ", ";\n"])), function (props) {
|
|
122
78
|
return props.theme.uploadedFilesSubtitleFontSize;
|
|
123
79
|
}, function (props) {
|
|
124
80
|
return props.theme.uploadedFilesSubtitleFontStyle;
|
|
@@ -130,7 +86,7 @@ var TransactionsSubTitle = _styledComponents["default"].span(_templateObject4(),
|
|
|
130
86
|
return props.theme.uploadedFilesSubtitleFontColor;
|
|
131
87
|
});
|
|
132
88
|
|
|
133
|
-
var TransactionsNumber = _styledComponents["default"].span(_templateObject5(), function (props) {
|
|
89
|
+
var TransactionsNumber = _styledComponents["default"].span(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2["default"])(["\n font-weight: ", ";\n"])), function (props) {
|
|
134
90
|
return props.theme.uploadedFilesNumberFontWeight;
|
|
135
91
|
});
|
|
136
92
|
|