sag_components 1.0.249 → 1.0.250
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/stories/components/CodeEditor.js +41 -0
- package/dist/stories/components/CodeEditor.style.js +13 -0
- package/dist/stories/components/CommonFunctions.js +1 -1
- package/dist/stories/components/Datepicker.js +13 -45
- package/dist/stories/components/Dropdown.js +13 -32
- package/dist/stories/components/Modal.js +20 -0
- package/dist/stories/components/Modal.style.js +21 -0
- package/dist/stories/components/NoDataFoundMessage.style.js +2 -2
- package/dist/stories/components/OneColumnContainer.js +8 -7
- package/dist/stories/components/OneColumnContainer.style.js +3 -3
- package/dist/stories/components/TextField.js +3 -25
- package/dist/stories/components/TextField.style.js +1 -1
- package/dist/stories/components/TitleDescription.js +4 -4
- package/dist/stories/components/TitleDescription.style.js +7 -7
- package/dist/stories/components/TotalBenchmark.js +5 -7
- package/dist/stories/components/TotalBenchmark.style.js +9 -13
- package/dist/stories/components/TotalBenchmarkAreachart.js +15 -15
- package/dist/stories/components/TotalBenchmarkAreachart.style.js +12 -14
- package/dist/stories/components/TotalBenchmarkArrows.js +7 -9
- package/dist/stories/components/TotalBenchmarkArrows.style.js +10 -12
- package/dist/stories/components/TotalBenchmarkBarchart.js +13 -18
- package/dist/stories/components/TotalBenchmarkBarchart.style.js +9 -11
- package/dist/stories/components/TotalCostModal.js +144 -0
- package/dist/stories/components/TotalDoughnutChart.js +2 -2
- package/dist/stories/components/TotalDoughnutChart.style.js +10 -10
- package/dist/stories/components/icons/InfoIcon.js +3 -3
- package/package.json +4 -1
- package/dist/stories/components/InfoIcon.js +0 -38
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _reactAce = _interopRequireDefault(require("react-ace"));
|
|
10
|
+
require("ace-builds/src-noconflict/mode-mysql");
|
|
11
|
+
require("ace-builds/src-noconflict/theme-monokai");
|
|
12
|
+
require("ace-builds/src-noconflict/ext-language_tools");
|
|
13
|
+
require("ace-builds/src-noconflict/snippets/mysql");
|
|
14
|
+
// CodeEditor.js
|
|
15
|
+
|
|
16
|
+
var CodeEditor = function CodeEditor(_ref) {
|
|
17
|
+
var value = _ref.value,
|
|
18
|
+
onChange = _ref.onChange;
|
|
19
|
+
return /*#__PURE__*/_react.default.createElement(_reactAce.default, {
|
|
20
|
+
style: {
|
|
21
|
+
height: "200px"
|
|
22
|
+
},
|
|
23
|
+
mode: "mysql",
|
|
24
|
+
theme: "monokai",
|
|
25
|
+
value: value,
|
|
26
|
+
onChange: onChange,
|
|
27
|
+
name: "code-editor",
|
|
28
|
+
editorProps: {
|
|
29
|
+
$blockScrolling: true
|
|
30
|
+
},
|
|
31
|
+
setOptions: {
|
|
32
|
+
enableBasicAutocompletion: true,
|
|
33
|
+
enableLiveAutocompletion: true,
|
|
34
|
+
enableSnippets: true,
|
|
35
|
+
showLineNumbers: true,
|
|
36
|
+
tabSize: 1
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
var _default = CodeEditor;
|
|
41
|
+
exports.default = _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.AceEditorContent = void 0;
|
|
8
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
9
|
+
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
|
+
var _reactAce = _interopRequireDefault(require("react-ace"));
|
|
11
|
+
var _templateObject;
|
|
12
|
+
var AceEditorContent = (0, _styledComponents.default)(_reactAce.default)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n height: 400px;\n"])));
|
|
13
|
+
exports.AceEditorContent = AceEditorContent;
|
|
@@ -11,7 +11,7 @@ var getCurrencySign = function getCurrencySign(currencyTypeToConvert, value) {
|
|
|
11
11
|
style: "currency",
|
|
12
12
|
currency: currencyTypeToConvert
|
|
13
13
|
});
|
|
14
|
-
currencySign = currencyFormatter.format(
|
|
14
|
+
currencySign = currencyFormatter.format(value).substring(0, 1);
|
|
15
15
|
return currencySign;
|
|
16
16
|
};
|
|
17
17
|
exports.getCurrencySign = getCurrencySign;
|
|
@@ -29,9 +29,7 @@ var Datepicker = function Datepicker(_ref) {
|
|
|
29
29
|
value = _ref.value,
|
|
30
30
|
disableClearable = _ref.disableClearable,
|
|
31
31
|
_ref$disabled = _ref.disabled,
|
|
32
|
-
disabled = _ref$disabled === void 0 ? false : _ref$disabled
|
|
33
|
-
_ref$labelColor = _ref.labelColor,
|
|
34
|
-
labelColor = _ref$labelColor === void 0 ? "#1B30AA" : _ref$labelColor;
|
|
32
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled;
|
|
35
33
|
/**
|
|
36
34
|
* SAG Datepicker
|
|
37
35
|
*/
|
|
@@ -55,68 +53,38 @@ var Datepicker = function Datepicker(_ref) {
|
|
|
55
53
|
if (shape === "round") {
|
|
56
54
|
// round
|
|
57
55
|
return {
|
|
58
|
-
"& .MuiInputLabel-inputRoot": {
|
|
59
|
-
fontFamily: "Poppins",
|
|
60
|
-
fontSize: "14px",
|
|
61
|
-
fontWidth: 400,
|
|
62
|
-
paddingLeft: "10px !important",
|
|
63
|
-
borderRadius: "12px",
|
|
64
|
-
width: width
|
|
65
|
-
//color: labelColor,
|
|
66
|
-
},
|
|
67
|
-
|
|
68
56
|
"& .MuiOutlinedInput-root": {
|
|
69
57
|
borderRadius: "12px",
|
|
70
58
|
fontFamily: "Poppins",
|
|
71
59
|
fontSize: "14px",
|
|
72
60
|
fontWidth: 400,
|
|
73
61
|
width: width,
|
|
74
|
-
//color: labelColor,
|
|
75
62
|
legend: {
|
|
76
|
-
marginLeft: "
|
|
77
|
-
},
|
|
78
|
-
// This matches the specificity of the default styles at https://github.com/mui-org/material-ui/blob/v4.11.3/packages/material-ui-lab/src/Autocomplete/Autocomplete.js#L90
|
|
79
|
-
'&[class*="MuiOutlinedInput-root"] .MuiInputLabel-input:first-of-type': {
|
|
80
|
-
// Default left padding is 6px
|
|
81
|
-
paddingLeft: "10px"
|
|
82
|
-
},
|
|
83
|
-
"& .MuiOutlinedInput-notchedOutline": {
|
|
84
|
-
borderColor: "#E7E7E7"
|
|
85
|
-
//color: labelColor,
|
|
86
|
-
},
|
|
87
|
-
|
|
88
|
-
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
89
|
-
borderColor: disabled ? "#E7E7E7" : labelColor // "#757575",
|
|
90
|
-
//color: labelColor,
|
|
91
|
-
},
|
|
92
|
-
|
|
93
|
-
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
94
|
-
borderColor: disabled ? "#E7E7E7" : labelColor
|
|
95
|
-
//color: labelColor,
|
|
63
|
+
marginLeft: "6px"
|
|
96
64
|
}
|
|
97
65
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
// Default transform is "translate(14px, 20px) scale(1)""
|
|
101
|
-
// This lines up the label with the initial cursor position in the input
|
|
102
|
-
// after changing its padding-left.
|
|
103
|
-
transform: "translate(14px, 18px) scale(1);",
|
|
66
|
+
"& .MuiAutocomplete-inputRoot": {
|
|
67
|
+
fontFamily: "Poppins",
|
|
104
68
|
fontSize: "14px",
|
|
105
|
-
|
|
69
|
+
fontWidth: 400,
|
|
70
|
+
paddingLeft: "10px !important",
|
|
71
|
+
borderRadius: "12px",
|
|
72
|
+
width: width
|
|
106
73
|
},
|
|
107
74
|
"& .MuiInputLabel-outlined": {
|
|
108
75
|
fontFamily: "Poppins",
|
|
109
|
-
|
|
110
|
-
color: disabled ? "#E7E7E7" : valueState ? labelColor : "#757575",
|
|
76
|
+
fontSize: "14px",
|
|
111
77
|
fontWidth: 400,
|
|
112
|
-
|
|
78
|
+
paddingLeft: "10px"
|
|
113
79
|
},
|
|
114
80
|
"& .MuiInputLabel-shrink": {
|
|
81
|
+
fontFamily: "Poppins",
|
|
82
|
+
fontSize: "14px",
|
|
83
|
+
fontWidth: 400,
|
|
115
84
|
marginLeft: "1px",
|
|
116
85
|
paddingLeft: "4px",
|
|
117
86
|
paddingRight: 0,
|
|
118
87
|
background: "white"
|
|
119
|
-
//color: labelColor,
|
|
120
88
|
}
|
|
121
89
|
};
|
|
122
90
|
} else {
|
|
@@ -20,7 +20,6 @@ var _CheckBoxOutlineBlank = _interopRequireDefault(require("@mui/icons-material/
|
|
|
20
20
|
var _CheckBox = _interopRequireDefault(require("@mui/icons-material/CheckBox"));
|
|
21
21
|
var _Search = _interopRequireDefault(require("@mui/icons-material/Search.js"));
|
|
22
22
|
var _ArrowDropDownIcon = require("./icons/ArrowDropDownIcon");
|
|
23
|
-
var _colors = require("@mui/material/colors");
|
|
24
23
|
//import PropTypes from "prop-types";
|
|
25
24
|
|
|
26
25
|
// import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
@@ -111,44 +110,20 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
111
110
|
"& .MuiOutlinedInput-root": {
|
|
112
111
|
borderRadius: "12px",
|
|
113
112
|
legend: {
|
|
114
|
-
marginLeft: "
|
|
113
|
+
marginLeft: "6px"
|
|
115
114
|
}
|
|
116
115
|
},
|
|
117
116
|
"& .MuiAutocomplete-inputRoot": {
|
|
118
117
|
paddingLeft: "10px !important",
|
|
119
|
-
borderRadius: "12px"
|
|
120
|
-
// This matches the specificity of the default styles at https://github.com/mui-org/material-ui/blob/v4.11.3/packages/material-ui-lab/src/Autocomplete/Autocomplete.js#L90
|
|
121
|
-
'&[class*="MuiOutlinedInput-root"] .MuiAutocomplete-input:first-of-type': {
|
|
122
|
-
// Default left padding is 6px
|
|
123
|
-
paddingLeft: "10px"
|
|
124
|
-
},
|
|
125
|
-
"& .MuiOutlinedInput-notchedOutline": {
|
|
126
|
-
borderColor: "#E7E7E7"
|
|
127
|
-
},
|
|
128
|
-
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
129
|
-
borderColor: disabled ? "#E7E7E7" : labelColor
|
|
130
|
-
},
|
|
131
|
-
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
132
|
-
borderColor: disabled ? "#E7E7E7" : labelColor
|
|
133
|
-
}
|
|
134
|
-
},
|
|
135
|
-
"& .MuiInputLabel-outlined:not(.MuiInputLabel-shrink)": {
|
|
136
|
-
// Default transform is "translate(14px, 20px) scale(1)""
|
|
137
|
-
// This lines up the label with the initial cursor position in the input
|
|
138
|
-
// after changing its padding-left.
|
|
139
|
-
transform: "translate(14px, 18px) scale(1);",
|
|
140
|
-
fontSize: "14px",
|
|
141
|
-
color: disabled ? "#E7E7E7" : currentInputValue && currentInputValue.length > 0 ? "#212121" : "#757575"
|
|
118
|
+
borderRadius: "12px"
|
|
142
119
|
},
|
|
143
120
|
"& .MuiInputLabel-outlined": {
|
|
144
|
-
paddingLeft: "10px"
|
|
145
|
-
color: disabled ? "#E7E7E7" : labelColor,
|
|
146
|
-
fontSize: "18px"
|
|
121
|
+
paddingLeft: "10px"
|
|
147
122
|
},
|
|
148
123
|
"& .MuiInputLabel-shrink": {
|
|
149
124
|
marginLeft: "1px",
|
|
150
125
|
paddingLeft: "4px",
|
|
151
|
-
paddingRight:
|
|
126
|
+
paddingRight: 0,
|
|
152
127
|
background: "white"
|
|
153
128
|
}
|
|
154
129
|
};
|
|
@@ -162,7 +137,6 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
162
137
|
syntheticBaseEvent: event,
|
|
163
138
|
inputValue: newInputValue
|
|
164
139
|
});
|
|
165
|
-
console.log("newInputValue", newInputValue);
|
|
166
140
|
};
|
|
167
141
|
var onChangeHandler = function onChangeHandler(event, newValue) {
|
|
168
142
|
setCurrentOption({
|
|
@@ -215,7 +189,14 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
215
189
|
},
|
|
216
190
|
disabled: disabled,
|
|
217
191
|
disablePortal: true,
|
|
218
|
-
disableClearable: disableClearable
|
|
192
|
+
disableClearable: disableClearable
|
|
193
|
+
// value={defaultValue && !currentOption?.newValue ? defaultValue : currentOption?.newValue}
|
|
194
|
+
// value={
|
|
195
|
+
// defaultValue && !defaultValueSetFlag
|
|
196
|
+
// ? defaultValue
|
|
197
|
+
// : currentOption?.newValue
|
|
198
|
+
// }
|
|
199
|
+
,
|
|
219
200
|
defaultValue: defaultValue,
|
|
220
201
|
id: "combo-box",
|
|
221
202
|
options: options,
|
|
@@ -254,7 +235,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
254
235
|
InputLabelProps: {
|
|
255
236
|
style: {
|
|
256
237
|
//color: labelColor,
|
|
257
|
-
|
|
238
|
+
fontSize: "14px",
|
|
258
239
|
fontFamily: "Poppins"
|
|
259
240
|
}
|
|
260
241
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _Modal = require("./Modal.style");
|
|
10
|
+
var Modal = function Modal(_ref) {
|
|
11
|
+
var isOpen = _ref.isOpen,
|
|
12
|
+
onClose = _ref.onClose,
|
|
13
|
+
children = _ref.children;
|
|
14
|
+
if (!isOpen) return null;
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement(_Modal.ModalOverlay, null, /*#__PURE__*/_react.default.createElement(_Modal.ModalContent, null, children, /*#__PURE__*/_react.default.createElement(_Modal.CloseButton, {
|
|
16
|
+
onClick: onClose
|
|
17
|
+
}, "Close")));
|
|
18
|
+
};
|
|
19
|
+
var _default = Modal;
|
|
20
|
+
exports.default = _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.SubmitButton = exports.ModalOverlay = exports.ModalContent = exports.CloseButton = void 0;
|
|
9
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
10
|
+
var _react = _interopRequireDefault(require("react"));
|
|
11
|
+
var _styledComponents = _interopRequireWildcard(require("styled-components"));
|
|
12
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5;
|
|
13
|
+
var fadeIn = (0, _styledComponents.keyframes)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n"])));
|
|
14
|
+
var ModalOverlay = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index:999999;\n background-color: rgba(0, 0, 0, 0.7);\n display: flex;\n justify-content: center;\n align-items: center;\n animation: ", " 0.3s ease-in-out;\n"])), fadeIn);
|
|
15
|
+
exports.ModalOverlay = ModalOverlay;
|
|
16
|
+
var ModalContent = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n background-color: #fff;\n overflow: scroll;\n padding: 20px;\n border-radius: 8px;\n width: 50%;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n animation: ", " 0.5s ease-in-out;\n"])), fadeIn);
|
|
17
|
+
exports.ModalContent = ModalContent;
|
|
18
|
+
var CloseButton = _styledComponents.default.button(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n margin-top: 10px;\n padding: 5px 15px;\n border: none;\n background-color: #333;\n color: #fff;\n cursor: pointer;\n border-radius: 4px;\n &:hover {\n background-color: #555;\n }\n"])));
|
|
19
|
+
exports.CloseButton = CloseButton;
|
|
20
|
+
var SubmitButton = _styledComponents.default.input(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n margin-top: 10px;\n margin-right: 10px;\n padding: 5px 15px;\n border: none;\n background-color: #333;\n color: #fff;\n cursor: pointer;\n border-radius: 4px;\n &:hover {\n background-color: #555;\n }\n"])));
|
|
21
|
+
exports.SubmitButton = SubmitButton;
|
|
@@ -8,9 +8,9 @@ exports.NoDataFoundTitle = exports.NoDataFoundText = exports.NoDataFoundContaine
|
|
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
9
9
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
10
|
var _templateObject, _templateObject2, _templateObject3;
|
|
11
|
-
var NoDataFoundContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n
|
|
11
|
+
var NoDataFoundContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n /* width: 95%;\n height: 70%; */\n"])));
|
|
12
12
|
exports.NoDataFoundContainer = NoDataFoundContainer;
|
|
13
|
-
var NoDataFoundTitle = _styledComponents.default.h4(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 600;\n font-size: 1rem;\n margin: 0;\n margin-top: 1.5rem;\n padding-right: 0.
|
|
13
|
+
var NoDataFoundTitle = _styledComponents.default.h4(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 600;\n font-size: 1rem;\n margin: 0;\n margin-top: 1.5rem;\n padding-right: 0.7rem;\n"])));
|
|
14
14
|
exports.NoDataFoundTitle = NoDataFoundTitle;
|
|
15
15
|
var NoDataFoundText = _styledComponents.default.p(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 400;\n font-size: 0.8rem;\n margin: 0;\n margin-top: 0.4rem;\n text-align: center;\n line-height: 1.1rem;\n"])));
|
|
16
16
|
exports.NoDataFoundText = NoDataFoundText;
|
|
@@ -43,15 +43,16 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
|
|
|
43
43
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
44
44
|
hover = _useState2[0],
|
|
45
45
|
setHover = _useState2[1];
|
|
46
|
-
var _useState3 = (0, _react.useState)(
|
|
46
|
+
var _useState3 = (0, _react.useState)(200),
|
|
47
47
|
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
48
48
|
offsetWidth = _useState4[0],
|
|
49
49
|
setOffsetWidth = _useState4[1];
|
|
50
50
|
var anotherRef = (0, _react.useRef)(null);
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}, [anotherRef]);
|
|
51
|
+
// useEffect(() => {
|
|
52
|
+
// setOffsetWidth(anotherRef.current.offsetWidth);
|
|
53
|
+
// console.log(anotherRef.current.offsetWidth);
|
|
54
|
+
// }, [anotherRef]);
|
|
55
|
+
|
|
55
56
|
return /*#__PURE__*/_react.default.createElement(_OneColumnContainer.StyledContainer, {
|
|
56
57
|
className: (0, _classnames.default)(itemClass, overStyle, draggingStyle, children && droppedStyle, divStyle),
|
|
57
58
|
width: width,
|
|
@@ -67,7 +68,7 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
|
|
|
67
68
|
display: display,
|
|
68
69
|
gridTemplateColumns: gridTemplateColumns
|
|
69
70
|
},
|
|
70
|
-
ref:
|
|
71
|
+
ref: nodeRef
|
|
71
72
|
}, console.log(anotherRef), isLoading && /*#__PURE__*/_react.default.createElement(_OneColumnContainer.LoadingDiv, {
|
|
72
73
|
id: "loadingDiv"
|
|
73
74
|
}, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.SkeletonTheme, {
|
|
@@ -87,7 +88,7 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
|
|
|
87
88
|
id: "InfoTextContainer",
|
|
88
89
|
width: width,
|
|
89
90
|
height: height
|
|
90
|
-
},
|
|
91
|
+
}, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTitleLabel, {
|
|
91
92
|
id: "InfoTitleLabel",
|
|
92
93
|
dangerouslySetInnerHTML: {
|
|
93
94
|
__html: infoTitle
|
|
@@ -20,11 +20,11 @@ var InfoTextContainer = _styledComponents.default.div(_templateObject2 || (_temp
|
|
|
20
20
|
return props.height;
|
|
21
21
|
});
|
|
22
22
|
exports.InfoTextContainer = InfoTextContainer;
|
|
23
|
-
var InfoTitleLabel = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n font-weight:
|
|
23
|
+
var InfoTitleLabel = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 700;\n color: black;\n margin: 0px 0px 10px 0px;\n font-size: 1.1em;\n\n /* overflow: scroll; */\n"])));
|
|
24
24
|
exports.InfoTitleLabel = InfoTitleLabel;
|
|
25
|
-
var InfoTextLabel = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n color: black;\n font-size:
|
|
25
|
+
var InfoTextLabel = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n color: black;\n font-size: 0.9em;\n line-height: 1.4em;\n font-weight: 500;\n\n /* overflow: scroll; */\n"])));
|
|
26
26
|
exports.InfoTextLabel = InfoTextLabel;
|
|
27
|
-
var IconContainer = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n width:
|
|
27
|
+
var IconContainer = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n width: 15px;\n height: 15px;\n position: absolute;\n margin-top: 10px;\n margin-right: 10px;\n top: 0;\n right: 0;\n"])));
|
|
28
28
|
exports.IconContainer = IconContainer;
|
|
29
29
|
var LoadingDiv = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n margin-top: 20px;\n display: flex;\n flex-direction: column;\n justify-content: space-evenly;\n align-items: center;\n width: 76%;\n height: 65%;\n"])));
|
|
30
30
|
exports.LoadingDiv = LoadingDiv;
|
|
@@ -41,9 +41,7 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
41
41
|
inputRef = _ref.inputRef,
|
|
42
42
|
_ref$allowedInput = _ref.allowedInput,
|
|
43
43
|
allowedInput = _ref$allowedInput === void 0 ? "all" : _ref$allowedInput,
|
|
44
|
-
onChange = _ref.onChange
|
|
45
|
-
_ref$multiline = _ref.multiline,
|
|
46
|
-
multiline = _ref$multiline === void 0 ? false : _ref$multiline;
|
|
44
|
+
onChange = _ref.onChange;
|
|
47
45
|
var _useState = (0, _react.useState)(null),
|
|
48
46
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
49
47
|
currentInputValue = _useState2[0],
|
|
@@ -100,14 +98,13 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
100
98
|
height: {
|
|
101
99
|
height: height
|
|
102
100
|
},
|
|
103
|
-
paddingTop:
|
|
101
|
+
paddingTop: 0,
|
|
104
102
|
marginTop: 0,
|
|
105
103
|
borderColor: "green",
|
|
106
104
|
borderRadius: "12px",
|
|
107
105
|
legend: {
|
|
108
106
|
marginLeft: "6px"
|
|
109
|
-
}
|
|
110
|
-
alignItems: multiline ? "flex-start" : "center"
|
|
107
|
+
}
|
|
111
108
|
},
|
|
112
109
|
"& .MuiAutocomplete-inputRoot": {
|
|
113
110
|
paddingLeft: "10px !important",
|
|
@@ -149,7 +146,6 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
149
146
|
}
|
|
150
147
|
};
|
|
151
148
|
return /*#__PURE__*/_react.default.createElement(_TextFieldStyle.TextFieldContainer, {
|
|
152
|
-
id: "TextFieldContainer",
|
|
153
149
|
width: width
|
|
154
150
|
}, /*#__PURE__*/_react.default.createElement(_styles.ThemeProvider, {
|
|
155
151
|
theme: theme
|
|
@@ -161,7 +157,6 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
161
157
|
}, /*#__PURE__*/_react.default.createElement("div", null, !passwordField && /*#__PURE__*/_react.default.createElement(_TextField.default, {
|
|
162
158
|
key: resetDefaultValue,
|
|
163
159
|
label: label,
|
|
164
|
-
multiline: multiline,
|
|
165
160
|
defaultValue: defaultValue,
|
|
166
161
|
placeholder: placeHolder,
|
|
167
162
|
id: "outlined-start-adornment",
|
|
@@ -177,23 +172,7 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
177
172
|
},
|
|
178
173
|
onChange: function onChange(event) {
|
|
179
174
|
onChangeHandler(event);
|
|
180
|
-
},
|
|
181
|
-
InputProps: {
|
|
182
|
-
textAlign: "flex-start",
|
|
183
|
-
alignItems: "flex-start",
|
|
184
|
-
alignContent: "flex-start",
|
|
185
|
-
disableUnderline: true,
|
|
186
|
-
style: {
|
|
187
|
-
//color: 'red',
|
|
188
|
-
textAlign: "start"
|
|
189
|
-
}
|
|
190
175
|
}
|
|
191
|
-
|
|
192
|
-
// style={{
|
|
193
|
-
// // height: '50px',
|
|
194
|
-
// // width: '50px',
|
|
195
|
-
// textAlign: 'start',
|
|
196
|
-
// justifyContent: 'start'}}
|
|
197
176
|
}), passwordField && /*#__PURE__*/_react.default.createElement(_FormControl.default, {
|
|
198
177
|
sx: getTextFieldStyle(),
|
|
199
178
|
variant: "outlined"
|
|
@@ -213,7 +192,6 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
213
192
|
}, showPassword ? /*#__PURE__*/_react.default.createElement(_Visibility.default, null) : /*#__PURE__*/_react.default.createElement(_VisibilityOff.default, null))),
|
|
214
193
|
defaultValue: defaultValue,
|
|
215
194
|
label: label,
|
|
216
|
-
multiline: multiline,
|
|
217
195
|
inputRef: inputRef !== null && inputRef !== void 0 ? inputRef : null,
|
|
218
196
|
ref: ref !== null && ref !== void 0 ? ref : null,
|
|
219
197
|
onKeyDown: function onKeyDown(event) {
|
|
@@ -10,7 +10,7 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
10
10
|
var _templateObject;
|
|
11
11
|
//import './font.css';
|
|
12
12
|
|
|
13
|
-
var TextFieldContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n
|
|
13
|
+
var TextFieldContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n width: ", "; \n text-align: left; \n position: relative; \n align-items: center;\n justify-content: center;\n font-family: Poppins; \n font-size: \"14px\";\n"])), function (props) {
|
|
14
14
|
return props.width;
|
|
15
15
|
});
|
|
16
16
|
exports.TextFieldContainer = TextFieldContainer;
|
|
@@ -19,7 +19,7 @@ var _TitleDescriptionStyle = require("./TitleDescription.style.js");
|
|
|
19
19
|
var _excluded = ["showRetailerIcon", "data", "viewCreativeOnClick", "width", "height", "textColor", "disabled"];
|
|
20
20
|
/*TitleDescription*/
|
|
21
21
|
var TitleDescription = function TitleDescription(_ref) {
|
|
22
|
-
var _data$objectivesDescr
|
|
22
|
+
var _data$objectivesDescr;
|
|
23
23
|
var _ref$showRetailerIcon = _ref.showRetailerIcon,
|
|
24
24
|
showRetailerIcon = _ref$showRetailerIcon === void 0 ? true : _ref$showRetailerIcon,
|
|
25
25
|
data = _ref.data,
|
|
@@ -134,11 +134,11 @@ var TitleDescription = function TitleDescription(_ref) {
|
|
|
134
134
|
id: "SubLineContainer"
|
|
135
135
|
}), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.SubLineContainer, {
|
|
136
136
|
id: "SubLineContainer"
|
|
137
|
-
},
|
|
137
|
+
}, /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.PeriodLabel, {
|
|
138
138
|
id: "PeriodLabel"
|
|
139
|
-
}, "Event Dates: ")
|
|
139
|
+
}, "Event Dates: "), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.PeriodValue, {
|
|
140
140
|
id: "PeriodValue"
|
|
141
|
-
}, data.eventDatesValue)
|
|
141
|
+
}, data.eventDatesValue))))));
|
|
142
142
|
};
|
|
143
143
|
exports.TitleDescription = TitleDescription;
|
|
144
144
|
var _default = TitleDescription;
|
|
@@ -16,13 +16,13 @@ var MainContainer = _styledComponents.default.div(_templateObject || (_templateO
|
|
|
16
16
|
return props.height;
|
|
17
17
|
});
|
|
18
18
|
exports.MainContainer = MainContainer;
|
|
19
|
-
var PanelContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n border-radius: 12px;\n background: #ffffff;\n padding: 1rem 1rem 1rem
|
|
19
|
+
var PanelContainer = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n flex-direction: column;\n align-items: center;\n justify-content: space-around;\n border-radius: 12px;\n background: #ffffff;\n padding: 1rem 1rem 1rem 3rem;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 1.4;\n white-space: pre-wrap;\n overflow: hidden;\n width: 100%;\n"])));
|
|
20
20
|
exports.PanelContainer = PanelContainer;
|
|
21
21
|
var EventNameAndViewCreativeContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n"])));
|
|
22
22
|
exports.EventNameAndViewCreativeContainer = EventNameAndViewCreativeContainer;
|
|
23
23
|
var EventNameViewCreativeSubContainer = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n align-items: center;\n"])));
|
|
24
24
|
exports.EventNameViewCreativeSubContainer = EventNameViewCreativeSubContainer;
|
|
25
|
-
var EventName = _styledComponents.default.h4(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n font-weight:
|
|
25
|
+
var EventName = _styledComponents.default.h4(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 700;\n font-size: 1.2rem;\n margin: 0;\n"])));
|
|
26
26
|
exports.EventName = EventName;
|
|
27
27
|
var ViewCreativeContainer = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 12px;\n border: 1px solid #ccc;\n margin-left: 10px;\n padding: 3px 10px;\n color: ", ";\n &:hover {\n cursor: ", ";\n }\n"])), function (props) {
|
|
28
28
|
return props.disabled ? "#B1B1B1" : "#212121";
|
|
@@ -30,11 +30,11 @@ var ViewCreativeContainer = _styledComponents.default.div(_templateObject6 || (_
|
|
|
30
30
|
return !props.disabled ? "pointer" : "default";
|
|
31
31
|
});
|
|
32
32
|
exports.ViewCreativeContainer = ViewCreativeContainer;
|
|
33
|
-
var ViewCreativeTextField = _styledComponents.default.h4(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin: 0 5px;\n
|
|
33
|
+
var ViewCreativeTextField = _styledComponents.default.h4(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n margin: 0 5px;\n"])));
|
|
34
34
|
exports.ViewCreativeTextField = ViewCreativeTextField;
|
|
35
35
|
var FilterValuesContainer = _styledComponents.default.div(_templateObject8 || (_templateObject8 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-content: center;\n align-items: center;\n width: 100%;\n margin: 0.5rem;\n"])));
|
|
36
36
|
exports.FilterValuesContainer = FilterValuesContainer;
|
|
37
|
-
var FilterValue = _styledComponents.default.p(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n color: #
|
|
37
|
+
var FilterValue = _styledComponents.default.p(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n color: #1b30aa;\n margin: 0;\n"])));
|
|
38
38
|
exports.FilterValue = FilterValue;
|
|
39
39
|
var FieldsDelimiter = _styledComponents.default.p(_templateObject10 || (_templateObject10 = (0, _taggedTemplateLiteral2.default)(["\n color: #ccc;\n margin: 0;\n"])));
|
|
40
40
|
exports.FieldsDelimiter = FieldsDelimiter;
|
|
@@ -48,7 +48,7 @@ var ObjectiesContainer = _styledComponents.default.div(_templateObject14 || (_te
|
|
|
48
48
|
exports.ObjectiesContainer = ObjectiesContainer;
|
|
49
49
|
var ObjectiesAndPeriodsContainer = _styledComponents.default.div(_templateObject15 || (_templateObject15 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n width: 100%;\n"])));
|
|
50
50
|
exports.ObjectiesAndPeriodsContainer = ObjectiesAndPeriodsContainer;
|
|
51
|
-
var ObjectivesTitle = _styledComponents.default.strong(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteral2.default)(["
|
|
51
|
+
var ObjectivesTitle = _styledComponents.default.strong(_templateObject16 || (_templateObject16 = (0, _taggedTemplateLiteral2.default)([""])));
|
|
52
52
|
exports.ObjectivesTitle = ObjectivesTitle;
|
|
53
53
|
var ObjectivesDescription = _styledComponents.default.p(_templateObject17 || (_templateObject17 = (0, _taggedTemplateLiteral2.default)(["\n margin: 0;\n"])));
|
|
54
54
|
exports.ObjectivesDescription = ObjectivesDescription;
|
|
@@ -62,11 +62,11 @@ var BottonsContainer = _styledComponents.default.div(_templateObject19 || (_temp
|
|
|
62
62
|
exports.BottonsContainer = BottonsContainer;
|
|
63
63
|
var DownloadButtonContainer = _styledComponents.default.div(_templateObject20 || (_templateObject20 = (0, _taggedTemplateLiteral2.default)([""])));
|
|
64
64
|
exports.DownloadButtonContainer = DownloadButtonContainer;
|
|
65
|
-
var PeriodsContainer = _styledComponents.default.div(_templateObject21 || (_templateObject21 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-wrap: wrap;\n align-content: flex-start;\n justify-content: flex-start;\n
|
|
65
|
+
var PeriodsContainer = _styledComponents.default.div(_templateObject21 || (_templateObject21 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-wrap: wrap;\n align-content: flex-start;\n justify-content: flex-start;\n margin-left: 40px;\n width: 25%;\n"])));
|
|
66
66
|
exports.PeriodsContainer = PeriodsContainer;
|
|
67
67
|
var SubLineContainer = _styledComponents.default.div(_templateObject22 || (_templateObject22 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n width: 100%;\n"])));
|
|
68
68
|
exports.SubLineContainer = SubLineContainer;
|
|
69
|
-
var PeriodLabel = _styledComponents.default.strong(_templateObject23 || (_templateObject23 = (0, _taggedTemplateLiteral2.default)(["
|
|
69
|
+
var PeriodLabel = _styledComponents.default.strong(_templateObject23 || (_templateObject23 = (0, _taggedTemplateLiteral2.default)([""])));
|
|
70
70
|
exports.PeriodLabel = PeriodLabel;
|
|
71
71
|
var PeriodValue = _styledComponents.default.p(_templateObject24 || (_templateObject24 = (0, _taggedTemplateLiteral2.default)(["\n margin: 0;\n"])));
|
|
72
72
|
exports.PeriodValue = PeriodValue;
|
|
@@ -69,14 +69,14 @@ var TotalBenchmark = function TotalBenchmark(_ref) {
|
|
|
69
69
|
}, /*#__PURE__*/_react.default.createElement(_TotalBenchmarkStyle.FormattedValue, {
|
|
70
70
|
id: "FormattedValue",
|
|
71
71
|
width: width
|
|
72
|
-
},
|
|
72
|
+
}, dotCut ? (0, _CommonFunctions.getFormattedValue)(item.value) : (0, _CommonFunctions.getNumberWithCommas)(item.value), dotCut ? (0, _CommonFunctions.getFormattedUnits)(item.value) : ""), /*#__PURE__*/_react.default.createElement(_TotalBenchmarkStyle.BenchmarkContainer, {
|
|
73
73
|
id: "BenchmarkContainer",
|
|
74
74
|
width: width
|
|
75
75
|
}, item.totalValue ? /*#__PURE__*/_react.default.createElement(_Benchmark.Benchmark, {
|
|
76
76
|
id: "Benchmark",
|
|
77
77
|
totalValue: item.totalValue,
|
|
78
|
-
currentValue: item.value
|
|
79
|
-
benchmarkValue: item.benchmarkValue
|
|
78
|
+
currentValue: item.value,
|
|
79
|
+
benchmarkValue: item.benchmarkValue,
|
|
80
80
|
height: 12 * getSizeFactor(),
|
|
81
81
|
width: 85 * getSizeFactor(),
|
|
82
82
|
color: "#79DB95",
|
|
@@ -85,11 +85,9 @@ var TotalBenchmark = function TotalBenchmark(_ref) {
|
|
|
85
85
|
underAvarageColor: "#FD5959",
|
|
86
86
|
backgroundColor: "#F2F2F2"
|
|
87
87
|
}) : ""))));
|
|
88
|
-
}) : /*#__PURE__*/_react.default.createElement(
|
|
89
|
-
id: "NoDataFoundContainer"
|
|
90
|
-
}, /*#__PURE__*/_react.default.createElement(_NoDataFoundMessage.NoDataFoundMessage, {
|
|
88
|
+
}) : /*#__PURE__*/_react.default.createElement(_NoDataFoundMessage.NoDataFoundMessage, {
|
|
91
89
|
noDataText: noDataText
|
|
92
|
-
}))
|
|
90
|
+
}));
|
|
93
91
|
};
|
|
94
92
|
exports.TotalBenchmark = TotalBenchmark;
|
|
95
93
|
var _default = TotalBenchmark;
|
|
@@ -4,13 +4,13 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.TitleAndValueContainer = exports.Title = exports.
|
|
7
|
+
exports.TitleAndValueContainer = exports.Title = exports.FormattedValue = exports.ControlsContainer = exports.Controls = exports.BenchmarkContainerParent = exports.BenchmarkContainer = void 0;
|
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/taggedTemplateLiteral"));
|
|
9
9
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
10
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7
|
|
10
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
|
|
11
11
|
var MIN_HEIGHT = 300;
|
|
12
12
|
var MIN_WIDTH = 260;
|
|
13
|
-
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n font-family: \"Poppins\", sans-serif;\n font-style: normal;\n font-size: ", ";\n color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 12px;\n align-content: center;\n flex-direction: column
|
|
13
|
+
var ControlsContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n position: relative;\n font-family: \"Poppins\", sans-serif;\n font-style: normal;\n font-size: ", ";\n color: ", ";\n width: ", ";\n height: ", ";\n border-radius: 12px;\n align-content: center;\n flex-direction: column; \n place-content: space-between;\n align-items: flex-start; \n background: #ffffff; \n"])), function (props) {
|
|
14
14
|
return props.rootFont;
|
|
15
15
|
}, function (props) {
|
|
16
16
|
return props.textColor;
|
|
@@ -20,19 +20,15 @@ var ControlsContainer = _styledComponents.default.div(_templateObject || (_templ
|
|
|
20
20
|
return props.height;
|
|
21
21
|
});
|
|
22
22
|
exports.ControlsContainer = ControlsContainer;
|
|
23
|
-
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n //display: flex;\n border-radius: 12px;\n /* width: 90%;\n height: 40%; */\n //justify-content: center
|
|
23
|
+
var Controls = _styledComponents.default.div(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n //display: flex;\n border-radius: 12px;\n /* width: 90%;\n height: 40%; */\n //justify-content: center; \n //align-items: flex-start;\n background: #ffffff;\n margin-bottom: 2rem;\n padding: 0px 0.8rem;\n"])));
|
|
24
24
|
exports.Controls = Controls;
|
|
25
25
|
var TitleAndValueContainer = _styledComponents.default.div(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n //display: flex;\n //flex-direction: column;\n width: 100%;\n"])));
|
|
26
26
|
exports.TitleAndValueContainer = TitleAndValueContainer;
|
|
27
|
-
var Title = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n font-weight:
|
|
27
|
+
var Title = _styledComponents.default.div(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n font-weight: 600;\n font-size: 1rem;\n margin-bottom: 1rem;\n"])));
|
|
28
28
|
exports.Title = Title;
|
|
29
|
-
var FormattedValue = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n font-weight: 500;\n font-size: 2.
|
|
29
|
+
var FormattedValue = _styledComponents.default.div(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n font-weight: 500;\n font-size: 2.22rem;\n"])));
|
|
30
30
|
exports.FormattedValue = FormattedValue;
|
|
31
|
-
var
|
|
32
|
-
exports.FormattedValueNoData = FormattedValueNoData;
|
|
33
|
-
var BenchmarkContainerParent = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n align-items: baseline;\n width: 100%;\n height: 100%;\n margin: 0;\n"])));
|
|
31
|
+
var BenchmarkContainerParent = _styledComponents.default.div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n display: flex; \n align-items: baseline;\n width: 100%;\n height: 100%;\n margin: 0;\n\n"])));
|
|
34
32
|
exports.BenchmarkContainerParent = BenchmarkContainerParent;
|
|
35
|
-
var BenchmarkContainer = _styledComponents.default.div(
|
|
36
|
-
exports.BenchmarkContainer = BenchmarkContainer;
|
|
37
|
-
var NoDataFoundContainer = _styledComponents.default.div(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n"])));
|
|
38
|
-
exports.NoDataFoundContainer = NoDataFoundContainer;
|
|
33
|
+
var BenchmarkContainer = _styledComponents.default.div(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n width: 100%;\n margin-top: 0;\n margin-left: 1rem;\n height: 0.9rem;\n //margin: 0;\n"])));
|
|
34
|
+
exports.BenchmarkContainer = BenchmarkContainer;
|