sag_components 1.0.250 → 1.0.252
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/.eslintrc.js +30 -0
- package/.history/.env_20231001120549 +0 -0
- package/.history/.env_20231001120613 +1 -0
- package/.history/.env_20231003143620 +1 -0
- package/.history/.eslintrc_20230928112617.js +26 -0
- package/.history/.eslintrc_20230928130534.js +27 -0
- package/.history/.eslintrc_20230928133400.js +28 -0
- package/.history/.eslintrc_20230928133404.js +28 -0
- package/.history/.eslintrc_20230928133416.js +28 -0
- package/.history/.eslintrc_20230928133419.js +28 -0
- package/.history/.eslintrc_20230928133432.js +28 -0
- package/.history/.eslintrc_20230928133439.js +28 -0
- package/.history/.eslintrc_20230928133458.js +29 -0
- package/.history/.eslintrc_20230928133500.js +28 -0
- package/.history/.eslintrc_20230928134009.js +28 -0
- package/.history/.eslintrc_20230928135318.js +34 -0
- package/.history/.eslintrc_20230928135321.js +34 -0
- package/.history/.eslintrc_20230928135323.js +34 -0
- package/.history/.eslintrc_20230928135332.js +34 -0
- package/.history/.eslintrc_20230928135333.js +34 -0
- package/.history/.eslintrc_20230928135352.js +29 -0
- package/.history/.eslintrc_20230928135353.js +29 -0
- package/.history/.eslintrc_20230928135355.js +29 -0
- package/.history/.eslintrc_20230928135408.js +29 -0
- package/.history/.eslintrc_20230928135538.js +30 -0
- package/.history/.eslintrc_20230928135539.js +30 -0
- package/.history/.eslintrc_20230928135543.js +30 -0
- package/.history/.gitignore_20230921093332 +119 -0
- package/.history/.gitignore_20230921111638 +120 -0
- package/.history/.gitignore_20230921111650 +120 -0
- package/.history/.gitignore_20230921111810 +121 -0
- package/.history/package_20230928095230.json +74 -0
- package/.history/package_20230928112303.json +75 -0
- package/.history/package_20230928131946.json +80 -0
- package/.history/package_20230928131950.json +81 -0
- package/.history/package_20230928131953.json +80 -0
- package/.history/package_20230928131956.json +81 -0
- package/.history/package_20230928131959.json +80 -0
- package/.history/package_20230928132003.json +81 -0
- package/.history/package_20230928132004.json +81 -0
- package/.history/package_20230928134639.json +80 -0
- package/.history/package_20230928134643.json +81 -0
- package/.history/package_20230928134645.json +81 -0
- package/.history/package_20230928134650.json +81 -0
- package/.history/package_20230928134912.json +81 -0
- package/.history/package_20230928174159.json +81 -0
- package/.history/package_20230928174200.json +81 -0
- package/.history/package_20230928174202.json +81 -0
- package/.history/package_20230928174226.json +81 -0
- package/.history/package_20230928174227.json +81 -0
- package/.history/package_20230928174228.json +81 -0
- package/.history/package_20230928174318.json +81 -0
- package/.history/package_20230928174320.json +81 -0
- package/.history/package_20231001121933.json +82 -0
- package/.history/package_20231001131144.json +82 -0
- package/.history/package_20231001134252.json +81 -0
- package/.history/package_20231004111340.json +82 -0
- package/.history/package_20231004111550.json +82 -0
- package/.history/package_20231004135419.json +82 -0
- package/dist/stories/components/CommonFunctions.js +15 -15
- package/dist/stories/components/Datepicker.js +45 -13
- package/dist/stories/components/Dropdown.js +32 -13
- package/dist/stories/components/NoDataFoundMessage.style.js +2 -2
- package/dist/stories/components/OneColumnContainer.js +7 -8
- package/dist/stories/components/OneColumnContainer.style.js +3 -3
- package/dist/stories/components/TextField.js +25 -3
- 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 +7 -5
- package/dist/stories/components/TotalBenchmark.style.js +13 -9
- package/dist/stories/components/TotalBenchmarkAreachart.js +15 -15
- package/dist/stories/components/TotalBenchmarkAreachart.style.js +14 -12
- package/dist/stories/components/TotalBenchmarkArrows.js +9 -7
- package/dist/stories/components/TotalBenchmarkArrows.style.js +12 -10
- package/dist/stories/components/TotalBenchmarkBarchart.js +18 -13
- package/dist/stories/components/TotalBenchmarkBarchart.style.js +11 -9
- package/dist/stories/components/TotalDoughnutChart.js +99 -81
- package/dist/stories/components/TotalDoughnutChart.style.js +20 -22
- package/dist/stories/components/icons/InfoIcon.js +3 -3
- package/package.json +26 -21
- package/dist/stories/components/CodeEditor.js +0 -41
- package/dist/stories/components/CodeEditor.style.js +0 -13
- package/dist/stories/components/Modal.js +0 -20
- package/dist/stories/components/Modal.style.js +0 -21
- package/dist/stories/components/TotalCostModal.js +0 -144
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sag_components",
|
|
3
|
+
"version": "1.0.251",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "react-scripts start",
|
|
8
|
+
"lint": "eslint .",
|
|
9
|
+
"build": "cross-env BABEL_ENV=production babel src -d dist ",
|
|
10
|
+
"storybook": "storybook dev -p 6006",
|
|
11
|
+
"build-storybook": "storybook build"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [],
|
|
14
|
+
"author": "SAG",
|
|
15
|
+
"license": "ISC",
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@babel/cli": "^7.21.5",
|
|
18
|
+
"@babel/preset-env": "^7.21.4",
|
|
19
|
+
"@babel/preset-react": "^7.18.6",
|
|
20
|
+
"@babel/preset-typescript": "^7.21.4",
|
|
21
|
+
"@storybook/addon-a11y": "^7.4.5",
|
|
22
|
+
"@storybook/addon-essentials": "^7.4.5",
|
|
23
|
+
"@storybook/addon-interactions": "^7.4.5",
|
|
24
|
+
"@storybook/addon-links": "^7.4.5",
|
|
25
|
+
"@storybook/addon-storysource": "^7.4.5",
|
|
26
|
+
"@storybook/blocks": "^7.4.5",
|
|
27
|
+
"@storybook/preset-scss": "^1.0.3",
|
|
28
|
+
"@storybook/react": "^7.4.5",
|
|
29
|
+
"@storybook/react-webpack5": "^7.4.5",
|
|
30
|
+
"@storybook/testing-library": "^0.2.1",
|
|
31
|
+
"cross-env": "^7.0.3",
|
|
32
|
+
"css-loader": "^5.2.7",
|
|
33
|
+
"eslint": "^8.50.0",
|
|
34
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
35
|
+
"eslint-plugin-import": "^2.28.1",
|
|
36
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
37
|
+
"eslint-plugin-react": "^7.33.2",
|
|
38
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
39
|
+
"react-dom": "^18.2.0",
|
|
40
|
+
"sass": "^1.68.0",
|
|
41
|
+
"sass-loader": "^13.3.2",
|
|
42
|
+
"style-loader": "^3.3.3"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@dnd-kit/core": "^6.0.8",
|
|
46
|
+
"@emotion/react": "^11.11.0",
|
|
47
|
+
"@emotion/styled": "^11.11.0",
|
|
48
|
+
"@fontsource/roboto": "^4.5.8",
|
|
49
|
+
"@fortawesome/fontawesome-svg-core": "^6.4.0",
|
|
50
|
+
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
51
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
52
|
+
"@mui/icons-material": "^5.11.16",
|
|
53
|
+
"@mui/material": "^5.13.0",
|
|
54
|
+
"@mui/styled-engine-sc": "^5.12.0",
|
|
55
|
+
"@mui/x-date-pickers": "^6.11.1",
|
|
56
|
+
"@storybook/addon-designs": "^7.0.5",
|
|
57
|
+
"babel-plugin-react-css-modules": "^5.2.6",
|
|
58
|
+
"classnames": "^2.3.2",
|
|
59
|
+
"dayjs": "^1.11.9",
|
|
60
|
+
"hoopy": "^0.1.4",
|
|
61
|
+
"prop-types": "^15.8.1",
|
|
62
|
+
"react": "^18.2.0",
|
|
63
|
+
"react-css-modules": "^4.7.11",
|
|
64
|
+
"react-loading-skeleton": "^3.3.1",
|
|
65
|
+
"react-scripts": "5.0.1",
|
|
66
|
+
"recharts": "^2.6.2",
|
|
67
|
+
"storybook": "^7.4.5",
|
|
68
|
+
"styled-components": "^5.3.11"
|
|
69
|
+
},
|
|
70
|
+
"browserslist": {
|
|
71
|
+
"production": [
|
|
72
|
+
">0.2%",
|
|
73
|
+
"not dead",
|
|
74
|
+
"not op_mini all"
|
|
75
|
+
],
|
|
76
|
+
"development": [
|
|
77
|
+
"last 1 chrome version",
|
|
78
|
+
"last 1 firefox version",
|
|
79
|
+
"last 1 safari version"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sag_components",
|
|
3
|
+
"version": "1.0.252",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "react-scripts start",
|
|
8
|
+
"lint": "eslint .",
|
|
9
|
+
"build": "cross-env BABEL_ENV=production babel src -d dist ",
|
|
10
|
+
"storybook": "storybook dev -p 6006",
|
|
11
|
+
"build-storybook": "storybook build"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [],
|
|
14
|
+
"author": "SAG",
|
|
15
|
+
"license": "ISC",
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@babel/cli": "^7.21.5",
|
|
18
|
+
"@babel/preset-env": "^7.21.4",
|
|
19
|
+
"@babel/preset-react": "^7.18.6",
|
|
20
|
+
"@babel/preset-typescript": "^7.21.4",
|
|
21
|
+
"@storybook/addon-a11y": "^7.4.5",
|
|
22
|
+
"@storybook/addon-essentials": "^7.4.5",
|
|
23
|
+
"@storybook/addon-interactions": "^7.4.5",
|
|
24
|
+
"@storybook/addon-links": "^7.4.5",
|
|
25
|
+
"@storybook/addon-storysource": "^7.4.5",
|
|
26
|
+
"@storybook/blocks": "^7.4.5",
|
|
27
|
+
"@storybook/preset-scss": "^1.0.3",
|
|
28
|
+
"@storybook/react": "^7.4.5",
|
|
29
|
+
"@storybook/react-webpack5": "^7.4.5",
|
|
30
|
+
"@storybook/testing-library": "^0.2.1",
|
|
31
|
+
"cross-env": "^7.0.3",
|
|
32
|
+
"css-loader": "^5.2.7",
|
|
33
|
+
"eslint": "^8.50.0",
|
|
34
|
+
"eslint-config-airbnb": "^19.0.4",
|
|
35
|
+
"eslint-plugin-import": "^2.28.1",
|
|
36
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
37
|
+
"eslint-plugin-react": "^7.33.2",
|
|
38
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
39
|
+
"react-dom": "^18.2.0",
|
|
40
|
+
"sass": "^1.68.0",
|
|
41
|
+
"sass-loader": "^13.3.2",
|
|
42
|
+
"style-loader": "^3.3.3"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@dnd-kit/core": "^6.0.8",
|
|
46
|
+
"@emotion/react": "^11.11.0",
|
|
47
|
+
"@emotion/styled": "^11.11.0",
|
|
48
|
+
"@fontsource/roboto": "^4.5.8",
|
|
49
|
+
"@fortawesome/fontawesome-svg-core": "^6.4.0",
|
|
50
|
+
"@fortawesome/free-solid-svg-icons": "^6.4.0",
|
|
51
|
+
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
52
|
+
"@mui/icons-material": "^5.11.16",
|
|
53
|
+
"@mui/material": "^5.13.0",
|
|
54
|
+
"@mui/styled-engine-sc": "^5.12.0",
|
|
55
|
+
"@mui/x-date-pickers": "^6.11.1",
|
|
56
|
+
"@storybook/addon-designs": "^7.0.5",
|
|
57
|
+
"babel-plugin-react-css-modules": "^5.2.6",
|
|
58
|
+
"classnames": "^2.3.2",
|
|
59
|
+
"dayjs": "^1.11.9",
|
|
60
|
+
"hoopy": "^0.1.4",
|
|
61
|
+
"prop-types": "^15.8.1",
|
|
62
|
+
"react": "^18.2.0",
|
|
63
|
+
"react-css-modules": "^4.7.11",
|
|
64
|
+
"react-loading-skeleton": "^3.3.1",
|
|
65
|
+
"react-scripts": "5.0.1",
|
|
66
|
+
"recharts": "^2.6.2",
|
|
67
|
+
"storybook": "^7.4.5",
|
|
68
|
+
"styled-components": "^5.3.11"
|
|
69
|
+
},
|
|
70
|
+
"browserslist": {
|
|
71
|
+
"production": [
|
|
72
|
+
">0.2%",
|
|
73
|
+
"not dead",
|
|
74
|
+
"not op_mini all"
|
|
75
|
+
],
|
|
76
|
+
"development": [
|
|
77
|
+
"last 1 chrome version",
|
|
78
|
+
"last 1 firefox version",
|
|
79
|
+
"last 1 safari version"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
}
|
|
@@ -5,46 +5,46 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.getNumberWithCommas = exports.getFormattedValue = exports.getFormattedUnits = exports.getCurrencySign = void 0;
|
|
7
7
|
var getCurrencySign = function getCurrencySign(currencyTypeToConvert, value) {
|
|
8
|
-
if (!currencyTypeToConvert) return
|
|
9
|
-
var currencySign =
|
|
10
|
-
var currencyFormatter = new Intl.NumberFormat(
|
|
11
|
-
style:
|
|
8
|
+
if (!currencyTypeToConvert) return '';
|
|
9
|
+
var currencySign = '';
|
|
10
|
+
var currencyFormatter = new Intl.NumberFormat('en-US', {
|
|
11
|
+
style: 'currency',
|
|
12
12
|
currency: currencyTypeToConvert
|
|
13
13
|
});
|
|
14
|
-
currencySign = currencyFormatter.format(value).substring(0, 1);
|
|
14
|
+
currencySign = currencyFormatter.format(Math.abs(value)).substring(0, 1);
|
|
15
15
|
return currencySign;
|
|
16
16
|
};
|
|
17
17
|
exports.getCurrencySign = getCurrencySign;
|
|
18
18
|
var getFormattedUnits = function getFormattedUnits(num) {
|
|
19
19
|
if (Math.abs(num) >= 1000000000) {
|
|
20
|
-
return
|
|
20
|
+
return 'B';
|
|
21
21
|
}
|
|
22
22
|
if (Math.abs(num) >= 1000000) {
|
|
23
|
-
return
|
|
23
|
+
return 'M';
|
|
24
24
|
}
|
|
25
25
|
if (Math.abs(num) >= 1000) {
|
|
26
|
-
return
|
|
26
|
+
return 'K';
|
|
27
27
|
}
|
|
28
|
-
return
|
|
28
|
+
return '';
|
|
29
29
|
};
|
|
30
30
|
exports.getFormattedUnits = getFormattedUnits;
|
|
31
31
|
var getFormattedValue = function getFormattedValue(num) {
|
|
32
32
|
if (Math.abs(num) >= 1000000000) {
|
|
33
|
-
return (num / 1000000000).toFixed(1).replace(/\.0$/,
|
|
33
|
+
return (num / 1000000000).toFixed(1).replace(/\.0$/, '');
|
|
34
34
|
}
|
|
35
35
|
if (Math.abs(num) >= 1000000) {
|
|
36
|
-
return (num / 1000000).toFixed(1).replace(/\.0$/,
|
|
36
|
+
return (num / 1000000).toFixed(1).replace(/\.0$/, '');
|
|
37
37
|
}
|
|
38
38
|
if (Math.abs(num) >= 1000) {
|
|
39
|
-
return (num / 1000).toFixed(1).replace(/\.0$/,
|
|
39
|
+
return (num / 1000).toFixed(1).replace(/\.0$/, '');
|
|
40
40
|
}
|
|
41
41
|
return num;
|
|
42
42
|
};
|
|
43
43
|
exports.getFormattedValue = getFormattedValue;
|
|
44
44
|
var getNumberWithCommas = function getNumberWithCommas(x) {
|
|
45
|
-
|
|
45
|
+
var param = x.toString();
|
|
46
46
|
var pattern = /(-?\d+)(\d{3})/;
|
|
47
|
-
while (pattern.test(
|
|
48
|
-
return
|
|
47
|
+
while (pattern.test(param)) param = param.replace(pattern, '$1,$2');
|
|
48
|
+
return param;
|
|
49
49
|
};
|
|
50
50
|
exports.getNumberWithCommas = getNumberWithCommas;
|
|
@@ -29,7 +29,9 @@ 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
|
|
32
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
33
|
+
_ref$labelColor = _ref.labelColor,
|
|
34
|
+
labelColor = _ref$labelColor === void 0 ? "#1B30AA" : _ref$labelColor;
|
|
33
35
|
/**
|
|
34
36
|
* SAG Datepicker
|
|
35
37
|
*/
|
|
@@ -53,38 +55,68 @@ var Datepicker = function Datepicker(_ref) {
|
|
|
53
55
|
if (shape === "round") {
|
|
54
56
|
// round
|
|
55
57
|
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
|
+
|
|
56
68
|
"& .MuiOutlinedInput-root": {
|
|
57
69
|
borderRadius: "12px",
|
|
58
70
|
fontFamily: "Poppins",
|
|
59
71
|
fontSize: "14px",
|
|
60
72
|
fontWidth: 400,
|
|
61
73
|
width: width,
|
|
74
|
+
//color: labelColor,
|
|
62
75
|
legend: {
|
|
63
|
-
marginLeft: "
|
|
76
|
+
marginLeft: "10px"
|
|
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,
|
|
64
96
|
}
|
|
65
97
|
},
|
|
66
|
-
|
|
67
|
-
|
|
98
|
+
|
|
99
|
+
"& .MuiInputLabel-outlined:not(.MuiInputLabel-shrink)": {
|
|
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);",
|
|
68
104
|
fontSize: "14px",
|
|
69
|
-
|
|
70
|
-
paddingLeft: "10px !important",
|
|
71
|
-
borderRadius: "12px",
|
|
72
|
-
width: width
|
|
105
|
+
color: disabled ? "#E7E7E7" : valueState ? labelColor : "#757575"
|
|
73
106
|
},
|
|
74
107
|
"& .MuiInputLabel-outlined": {
|
|
75
108
|
fontFamily: "Poppins",
|
|
76
|
-
|
|
109
|
+
paddingLeft: "10px",
|
|
110
|
+
color: disabled ? "#E7E7E7" : valueState ? labelColor : "#757575",
|
|
77
111
|
fontWidth: 400,
|
|
78
|
-
|
|
112
|
+
fontSize: "18px"
|
|
79
113
|
},
|
|
80
114
|
"& .MuiInputLabel-shrink": {
|
|
81
|
-
fontFamily: "Poppins",
|
|
82
|
-
fontSize: "14px",
|
|
83
|
-
fontWidth: 400,
|
|
84
115
|
marginLeft: "1px",
|
|
85
116
|
paddingLeft: "4px",
|
|
86
117
|
paddingRight: 0,
|
|
87
118
|
background: "white"
|
|
119
|
+
//color: labelColor,
|
|
88
120
|
}
|
|
89
121
|
};
|
|
90
122
|
} else {
|
|
@@ -20,6 +20,7 @@ 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");
|
|
23
24
|
//import PropTypes from "prop-types";
|
|
24
25
|
|
|
25
26
|
// import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
@@ -110,20 +111,44 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
110
111
|
"& .MuiOutlinedInput-root": {
|
|
111
112
|
borderRadius: "12px",
|
|
112
113
|
legend: {
|
|
113
|
-
marginLeft: "
|
|
114
|
+
marginLeft: "10px"
|
|
114
115
|
}
|
|
115
116
|
},
|
|
116
117
|
"& .MuiAutocomplete-inputRoot": {
|
|
117
118
|
paddingLeft: "10px !important",
|
|
118
|
-
borderRadius: "12px"
|
|
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"
|
|
119
142
|
},
|
|
120
143
|
"& .MuiInputLabel-outlined": {
|
|
121
|
-
paddingLeft: "10px"
|
|
144
|
+
paddingLeft: "10px",
|
|
145
|
+
color: disabled ? "#E7E7E7" : labelColor,
|
|
146
|
+
fontSize: "18px"
|
|
122
147
|
},
|
|
123
148
|
"& .MuiInputLabel-shrink": {
|
|
124
149
|
marginLeft: "1px",
|
|
125
150
|
paddingLeft: "4px",
|
|
126
|
-
paddingRight:
|
|
151
|
+
paddingRight: "6px",
|
|
127
152
|
background: "white"
|
|
128
153
|
}
|
|
129
154
|
};
|
|
@@ -137,6 +162,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
137
162
|
syntheticBaseEvent: event,
|
|
138
163
|
inputValue: newInputValue
|
|
139
164
|
});
|
|
165
|
+
console.log("newInputValue", newInputValue);
|
|
140
166
|
};
|
|
141
167
|
var onChangeHandler = function onChangeHandler(event, newValue) {
|
|
142
168
|
setCurrentOption({
|
|
@@ -189,14 +215,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
189
215
|
},
|
|
190
216
|
disabled: disabled,
|
|
191
217
|
disablePortal: true,
|
|
192
|
-
disableClearable: disableClearable
|
|
193
|
-
// value={defaultValue && !currentOption?.newValue ? defaultValue : currentOption?.newValue}
|
|
194
|
-
// value={
|
|
195
|
-
// defaultValue && !defaultValueSetFlag
|
|
196
|
-
// ? defaultValue
|
|
197
|
-
// : currentOption?.newValue
|
|
198
|
-
// }
|
|
199
|
-
,
|
|
218
|
+
disableClearable: disableClearable,
|
|
200
219
|
defaultValue: defaultValue,
|
|
201
220
|
id: "combo-box",
|
|
202
221
|
options: options,
|
|
@@ -235,7 +254,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
235
254
|
InputLabelProps: {
|
|
236
255
|
style: {
|
|
237
256
|
//color: labelColor,
|
|
238
|
-
fontSize: "14px",
|
|
257
|
+
//fontSize: "14px",
|
|
239
258
|
fontFamily: "Poppins"
|
|
240
259
|
}
|
|
241
260
|
}
|
|
@@ -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 font-family: \"Poppins\", sans-serif;\n font-style: normal;\n font-weight: 400;\n font-size: 0.8rem;\n display: flex;\n flex-direction: column;\n align-items: center;\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.77778rem;\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,16 +43,15 @@ 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)(null),
|
|
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
|
-
|
|
55
|
-
|
|
51
|
+
(0, _react.useEffect)(function () {
|
|
52
|
+
setOffsetWidth(anotherRef.current.offsetWidth);
|
|
53
|
+
console.log(anotherRef.current.offsetWidth);
|
|
54
|
+
}, [anotherRef]);
|
|
56
55
|
return /*#__PURE__*/_react.default.createElement(_OneColumnContainer.StyledContainer, {
|
|
57
56
|
className: (0, _classnames.default)(itemClass, overStyle, draggingStyle, children && droppedStyle, divStyle),
|
|
58
57
|
width: width,
|
|
@@ -68,7 +67,7 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
|
|
|
68
67
|
display: display,
|
|
69
68
|
gridTemplateColumns: gridTemplateColumns
|
|
70
69
|
},
|
|
71
|
-
ref:
|
|
70
|
+
ref: anotherRef
|
|
72
71
|
}, console.log(anotherRef), isLoading && /*#__PURE__*/_react.default.createElement(_OneColumnContainer.LoadingDiv, {
|
|
73
72
|
id: "loadingDiv"
|
|
74
73
|
}, /*#__PURE__*/_react.default.createElement(_reactLoadingSkeleton.SkeletonTheme, {
|
|
@@ -88,7 +87,7 @@ var OneColumnContainer = function OneColumnContainer(_ref) {
|
|
|
88
87
|
id: "InfoTextContainer",
|
|
89
88
|
width: width,
|
|
90
89
|
height: height
|
|
91
|
-
}, /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTitleLabel, {
|
|
90
|
+
}, infoTitle && /*#__PURE__*/_react.default.createElement(_OneColumnContainer.InfoTitleLabel, {
|
|
92
91
|
id: "InfoTitleLabel",
|
|
93
92
|
dangerouslySetInnerHTML: {
|
|
94
93
|
__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: 600;\n color: black;\n margin: 0px 0px 10px 0px;\n font-size: 18px;\n line-height: 32px;\n /* overflow: scroll; */\n overflow: hidden;\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: 14px;\n line-height: 20px;\n font-weight: 400;\n\n /* overflow: scroll; */\n overflow: hidden;\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: 20px;\n height: 20px;\n position: absolute;\n margin-top: 10px;\n margin-right: 10px;\n top: 0;\n right: 0;\n padding: 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,7 +41,9 @@ 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
|
|
44
|
+
onChange = _ref.onChange,
|
|
45
|
+
_ref$multiline = _ref.multiline,
|
|
46
|
+
multiline = _ref$multiline === void 0 ? false : _ref$multiline;
|
|
45
47
|
var _useState = (0, _react.useState)(null),
|
|
46
48
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
47
49
|
currentInputValue = _useState2[0],
|
|
@@ -98,13 +100,14 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
98
100
|
height: {
|
|
99
101
|
height: height
|
|
100
102
|
},
|
|
101
|
-
paddingTop: 0,
|
|
103
|
+
paddingTop: multiline ? "12px" : "0",
|
|
102
104
|
marginTop: 0,
|
|
103
105
|
borderColor: "green",
|
|
104
106
|
borderRadius: "12px",
|
|
105
107
|
legend: {
|
|
106
108
|
marginLeft: "6px"
|
|
107
|
-
}
|
|
109
|
+
},
|
|
110
|
+
alignItems: multiline ? "flex-start" : "center"
|
|
108
111
|
},
|
|
109
112
|
"& .MuiAutocomplete-inputRoot": {
|
|
110
113
|
paddingLeft: "10px !important",
|
|
@@ -146,6 +149,7 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
146
149
|
}
|
|
147
150
|
};
|
|
148
151
|
return /*#__PURE__*/_react.default.createElement(_TextFieldStyle.TextFieldContainer, {
|
|
152
|
+
id: "TextFieldContainer",
|
|
149
153
|
width: width
|
|
150
154
|
}, /*#__PURE__*/_react.default.createElement(_styles.ThemeProvider, {
|
|
151
155
|
theme: theme
|
|
@@ -157,6 +161,7 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
157
161
|
}, /*#__PURE__*/_react.default.createElement("div", null, !passwordField && /*#__PURE__*/_react.default.createElement(_TextField.default, {
|
|
158
162
|
key: resetDefaultValue,
|
|
159
163
|
label: label,
|
|
164
|
+
multiline: multiline,
|
|
160
165
|
defaultValue: defaultValue,
|
|
161
166
|
placeholder: placeHolder,
|
|
162
167
|
id: "outlined-start-adornment",
|
|
@@ -172,7 +177,23 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
172
177
|
},
|
|
173
178
|
onChange: function onChange(event) {
|
|
174
179
|
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
|
+
}
|
|
175
190
|
}
|
|
191
|
+
|
|
192
|
+
// style={{
|
|
193
|
+
// // height: '50px',
|
|
194
|
+
// // width: '50px',
|
|
195
|
+
// textAlign: 'start',
|
|
196
|
+
// justifyContent: 'start'}}
|
|
176
197
|
}), passwordField && /*#__PURE__*/_react.default.createElement(_FormControl.default, {
|
|
177
198
|
sx: getTextFieldStyle(),
|
|
178
199
|
variant: "outlined"
|
|
@@ -192,6 +213,7 @@ var TextField = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
192
213
|
}, showPassword ? /*#__PURE__*/_react.default.createElement(_Visibility.default, null) : /*#__PURE__*/_react.default.createElement(_VisibilityOff.default, null))),
|
|
193
214
|
defaultValue: defaultValue,
|
|
194
215
|
label: label,
|
|
216
|
+
multiline: multiline,
|
|
195
217
|
inputRef: inputRef !== null && inputRef !== void 0 ? inputRef : null,
|
|
196
218
|
ref: ref !== null && ref !== void 0 ? ref : null,
|
|
197
219
|
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 width: ", "; \n text-align: left; \n position: relative; \n align-items:
|
|
13
|
+
var TextFieldContainer = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n width: ", "; \n text-align: left; \n position: relative; \n align-items: flex-start;\n justify-content: flex-start;\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, _data$eventDatesValue, _data$eventDatesValue2;
|
|
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
|
-
}, /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.PeriodLabel, {
|
|
137
|
+
}, (data === null || data === void 0 ? void 0 : (_data$eventDatesValue = data.eventDatesValue) === null || _data$eventDatesValue === void 0 ? void 0 : _data$eventDatesValue.length) > 0 ? /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.PeriodLabel, {
|
|
138
138
|
id: "PeriodLabel"
|
|
139
|
-
}, "Event Dates: "), /*#__PURE__*/_react.default.createElement(_TitleDescriptionStyle.PeriodValue, {
|
|
139
|
+
}, "Event Dates: ") : "", (data === null || data === void 0 ? void 0 : (_data$eventDatesValue2 = data.eventDatesValue) === null || _data$eventDatesValue2 === void 0 ? void 0 : _data$eventDatesValue2.length) > 0 ? /*#__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 2.5rem;\n font-weight: 400;\n font-size: 14px;\n line-height: 19px;\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: 500;\n font-size: 1rem;\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 font-weight: 400;\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: #1b30aa;\n margin: 0;\n"])));
|
|
37
|
+
var FilterValue = _styledComponents.default.p(_templateObject9 || (_templateObject9 = (0, _taggedTemplateLiteral2.default)(["\n color: #212121;\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)(["\n font-weight: 500;\n"])));
|
|
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 margin-left: 40px;\n width: 25%;\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 white-space: pre-wrap;\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)(["\n font-weight: 500;\n"])));
|
|
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;
|