@widergy/utilitygo-smart-bill-web 2.1.1 → 2.2.1
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/CHANGELOG.md +14 -0
- package/dist/components/Advice/styles.module.scss +4 -4
- package/dist/components/Amount/index.js +1 -1
- package/dist/components/Amount/styles.module.scss +3 -3
- package/dist/components/BarChart/index.js +1 -1
- package/dist/components/BarChart/styles.module.scss +2 -2
- package/dist/components/BillCalculation/components/ConceptCard/styles.module.scss +4 -4
- package/dist/components/BillCalculation/components/Glossary/index.js +2 -2
- package/dist/components/BillCalculation/components/Glossary/styles.module.scss +1 -1
- package/dist/components/BillCalculation/index.js +2 -2
- package/dist/components/BillCalculation/styles.module.scss +3 -3
- package/dist/components/BillCalculation/utils.js +2 -2
- package/dist/components/BillSummary/components/BilledConcepts/components/Concept/styles.module.scss +3 -3
- package/dist/components/BillSummary/components/BilledConcepts/constants.js +2 -2
- package/dist/components/BillSummary/components/BilledConcepts/index.js +4 -4
- package/dist/components/BillSummary/components/BilledConcepts/styles.module.scss +3 -3
- package/dist/components/BillSummary/components/BilledConcepts/utils.js +3 -3
- package/dist/components/BillSummary/index.js +6 -6
- package/dist/components/BillSummary/styles.module.scss +4 -4
- package/dist/components/ConsumptionComparison/components/ComparisonTable/components/DataLine/styles.module.scss +1 -1
- package/dist/components/ConsumptionComparison/components/ComparisonTable/components/Season/styles.module.scss +1 -1
- package/dist/components/ConsumptionComparison/components/ComparisonTable/constants.js +5 -5
- package/dist/components/ConsumptionComparison/components/ComparisonTable/styles.module.scss +3 -3
- package/dist/components/ConsumptionComparison/components/ConsumptionAdvice/styles.module.scss +3 -3
- package/dist/components/ConsumptionComparison/components/PercentageComparison/styles.module.scss +4 -4
- package/dist/components/ConsumptionComparison/index.js +3 -3
- package/dist/components/ConsumptionComparison/styles.module.scss +4 -4
- package/dist/components/ConsumptionEnergyDetails/components/ConsumptionEnergyComparison/index.js +3 -3
- package/dist/components/ConsumptionEnergyDetails/components/ConsumptionEnergyComparison/styles.module.scss +3 -3
- package/dist/components/ConsumptionEnergyDetails/components/ConsumptionInDaysLabel/styles.module.scss +1 -1
- package/dist/components/ConsumptionEnergyDetails/components/EnergyTotalConsumption/index.js +1 -1
- package/dist/components/ConsumptionEnergyDetails/components/PercentageComparison/styles.module.scss +3 -3
- package/dist/components/ConsumptionEnergyDetails/index.js +1 -1
- package/dist/components/ConsumptionEnergyDetails/styles.module.scss +3 -3
- package/dist/components/ConsumptionIncluded/components/TimelineRow/components/Card/index.js +1 -1
- package/dist/components/ConsumptionIncluded/components/TimelineRow/components/Card/styles.module.scss +3 -3
- package/dist/components/ConsumptionIncluded/components/TimelineRow/components/HeaderConsumption/styles.module.scss +2 -2
- package/dist/components/ConsumptionIncluded/components/TimelineRow/index.js +1 -1
- package/dist/components/ConsumptionIncluded/components/TimelineRow/styles.module.scss +2 -2
- package/dist/components/ConsumptionIncluded/index.js +1 -1
- package/dist/components/ConsumptionIncluded/styles.module.scss +1 -1
- package/dist/components/ConsumptionIncluded/utils.js +14 -14
- package/dist/components/ConsumptionPeriod/components/ConsumptionSummary/components/ReadingRow/styles.module.scss +1 -1
- package/dist/components/ConsumptionPeriod/components/ConsumptionSummary/styles.module.scss +2 -2
- package/dist/components/ConsumptionPeriod/components/HistoryGraph/index.js +2 -2
- package/dist/components/ConsumptionPeriod/components/HistoryGraph/styles.module.scss +2 -2
- package/dist/components/ConsumptionPeriod/components/Reading/styles.module.scss +3 -3
- package/dist/components/ConsumptionPeriod/index.js +2 -2
- package/dist/components/ConsumptionPeriod/styles.module.scss +1 -1
- package/dist/components/DebtState/styles.module.scss +1 -1
- package/dist/components/MainBillData/components/BillAlert/components/BillParticularConditions/styles.module.scss +1 -1
- package/dist/components/MainBillData/components/BillAlert/index.js +2 -2
- package/dist/components/MainBillData/components/BillAlert/styles.module.scss +3 -3
- package/dist/components/MainBillData/components/BillBody/components/ClientData/styles.module.scss +3 -3
- package/dist/components/MainBillData/components/BillBody/components/Consumption/styles.module.scss +2 -2
- package/dist/components/MainBillData/components/BillBody/components/ReadingDetails/styles.module.scss +3 -3
- package/dist/components/MainBillData/components/BillBody/index.js +1 -1
- package/dist/components/MainBillData/components/BillBody/styles.module.scss +1 -1
- package/dist/components/MainBillData/components/BillHeader/components/TypeAndNumber/styles.module.scss +2 -2
- package/dist/components/MainBillData/components/BillHeader/index.js +3 -3
- package/dist/components/MainBillData/components/BillHeader/styles.module.scss +3 -3
- package/dist/components/MainBillData/index.js +1 -1
- package/dist/components/MainBillData/styles.module.scss +3 -3
- package/dist/components/Period/index.js +2 -2
- package/dist/components/Period/styles.module.scss +4 -4
- package/dist/components/PowerProgresBar/index.js +1 -1
- package/dist/components/PowerProgresBar/styles.module.scss +3 -3
- package/dist/components/RateAndCategory/index.js +1 -1
- package/dist/components/RateAndCategory/styles.module.scss +2 -2
- package/dist/components/RatesDefinition/components/BillRate/components/RatePrices/styles.module.scss +1 -1
- package/dist/components/RatesDefinition/components/BillRate/styles.module.scss +3 -3
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/Category/styles.module.scss +3 -3
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Indicator/components/IndicatorLabel/styles.module.scss +1 -1
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Legend/styles.module.scss +2 -2
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Stages/styles.module.scss +2 -2
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/index.js +2 -2
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/styles.module.scss +3 -3
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/utils.js +3 -3
- package/dist/components/RatesDefinition/components/CategoryByConsumption/index.js +2 -2
- package/dist/components/RatesDefinition/components/CategoryByConsumption/styles.module.scss +3 -3
- package/dist/components/RatesDefinition/components/PurchasedRate/styles.module.scss +4 -4
- package/dist/components/RatesDefinition/styles.module.scss +3 -3
- package/dist/components/SmartBillProvider/index.js +1 -1
- package/dist/components/StyledAmount/index.js +1 -1
- package/dist/components/WithContextApi/index.js +3 -3
- package/dist/index.js +1 -1
- package/dist/scss/variables/{_colors.scss → colors.module.scss} +1 -1
- package/dist/scss/variables/{_colorsExport.scss → colorsExport.module.scss} +2 -2
- package/dist/scss/variables/{_commonColors.scss → commonColors.module.scss} +1 -3
- package/dist/shared/constants/aliases.js +1 -1
- package/dist/shared/types/componentsTypes.js +1 -1
- package/dist/shared/types/smartBillTypes.js +3 -3
- package/dist/shared/utils/billCalculation.js +4 -4
- package/dist/shared/utils/consumptions.js +7 -7
- package/dist/shared/utils/context.js +1 -1
- package/dist/shared/utils/periods.js +1 -1
- package/package.json +5 -5
- package/dist/scss/variables/_fontFamilies.scss +0 -6
- package/dist/scss/variables/_utils.scss +0 -15
- /package/dist/scss/variables/{_fontSizes.scss → fontSizes.module.scss} +0 -0
- /package/dist/scss/variables/{_mediaQueries.scss → mediaQueries.module.scss} +0 -0
- /package/dist/scss/variables/{_sizes.scss → sizes.module.scss} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.2.1](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v2.2.0...v2.2.1) (2023-09-07)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* lock web utils and energy ui ([#31](https://github.com/widergy/UtilityGO-Smart-Bill-Web/issues/31)) ([33334bf](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/33334bfcca45298e8b34075e2bfd347a545014af))
|
|
7
|
+
|
|
8
|
+
# [2.2.0](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v2.1.1...v2.2.0) (2023-09-07)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* node upgrade ([#32](https://github.com/widergy/UtilityGO-Smart-Bill-Web/issues/32)) ([de9dc25](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/de9dc25915c4a0299c85ceaf573a06319d63b809))
|
|
14
|
+
|
|
1
15
|
## [2.1.1](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v2.1.0...v2.1.1) (2023-06-27)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import '../../scss/variables/
|
|
2
|
-
@import '../../scss/variables/
|
|
3
|
-
@import '../../scss/variables/
|
|
4
|
-
@import '../../scss/variables/
|
|
1
|
+
@import '../../scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../scss/variables/fontSizes.module.scss';
|
|
3
|
+
@import '../../scss/variables/mediaQueries.module.scss';
|
|
4
|
+
@import '../../scss/variables/sizes.module.scss';
|
|
5
5
|
|
|
6
6
|
.container {
|
|
7
7
|
background-color: $background-soft-gray;
|
|
@@ -41,7 +41,7 @@ var Amount = function Amount(_ref) {
|
|
|
41
41
|
}];
|
|
42
42
|
var getExpirationComponent = function getExpirationComponent(item) {
|
|
43
43
|
var _item$expiration;
|
|
44
|
-
return (item === null || item === void 0
|
|
44
|
+
return (item === null || item === void 0 || (_item$expiration = item.expiration) === null || _item$expiration === void 0 ? void 0 : _item$expiration.date) && /*#__PURE__*/_react.default.createElement("div", {
|
|
45
45
|
className: "".concat(_stylesModule.default.firstExpirationDateContainer, " ").concat(withBottomMargin && _stylesModule.default.withBottomMargin),
|
|
46
46
|
key: item.text
|
|
47
47
|
}, /*#__PURE__*/_react.default.createElement(Label, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../scss/variables/
|
|
2
|
-
@import '../../scss/variables/
|
|
3
|
-
@import '../../scss/variables/
|
|
1
|
+
@import '../../scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../scss/variables/mediaQueries.module.scss';
|
|
3
|
+
@import '../../scss/variables/sizes.module.scss';
|
|
4
4
|
|
|
5
5
|
.container {
|
|
6
6
|
background-color: $white;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import '../../../../scss/variables/
|
|
2
|
-
@import '../../../../scss/variables/
|
|
3
|
-
@import '../../../../scss/variables/
|
|
4
|
-
@import '../../../../scss/variables/
|
|
1
|
+
@import '../../../../scss/variables/fontSizes.module.scss';
|
|
2
|
+
@import '../../../../scss/variables/colors.module.scss';
|
|
3
|
+
@import '../../../../scss/variables/mediaQueries.module.scss';
|
|
4
|
+
@import '../../../../scss/variables/sizes.module.scss';
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
.headerContainer {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -18,7 +18,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
18
18
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
19
19
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
20
20
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
21
|
-
function _iterableToArrayLimit(
|
|
21
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
22
22
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
23
23
|
var Glossary = function Glossary(_ref) {
|
|
24
24
|
var glossaryConcepts = _ref.glossaryConcepts,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -23,7 +23,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
23
23
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
24
24
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
25
25
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
26
|
-
function _iterableToArrayLimit(
|
|
26
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
27
27
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
28
28
|
var BillCalculation = function BillCalculation(_ref) {
|
|
29
29
|
var billData = _ref.billData,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../scss/variables/
|
|
2
|
-
@import '../../scss/variables/
|
|
3
|
-
@import '../../scss/variables/
|
|
1
|
+
@import '../../scss/variables/colors.module.scss';
|
|
2
|
+
@import '../../scss/variables/sizes.module.scss';
|
|
3
|
+
@import '../../scss/variables/mediaQueries.module.scss';
|
|
4
4
|
|
|
5
5
|
.container {
|
|
6
6
|
display: flex;
|
|
@@ -14,7 +14,7 @@ var periodToTitleMapper = function periodToTitleMapper(billData, texts, periodFo
|
|
|
14
14
|
var currentPeriod = (0, _periods.getCurrentPeriod)(billData) || {};
|
|
15
15
|
var settlements = currentPeriod.settlements;
|
|
16
16
|
var periodicity = settlements === null || settlements === void 0 ? void 0 : settlements.periodicity;
|
|
17
|
-
var currentSettlement = (settlements === null || settlements === void 0
|
|
17
|
+
var currentSettlement = (settlements === null || settlements === void 0 || (_settlements$current = settlements.current) === null || _settlements$current === void 0 ? void 0 : _settlements$current.number) || '-';
|
|
18
18
|
var totalSettlements = (settlements === null || settlements === void 0 ? void 0 : settlements.total_settlements) || '-';
|
|
19
19
|
var periodNumber = (currentPeriod === null || currentPeriod === void 0 ? void 0 : currentPeriod.number) || '-';
|
|
20
20
|
var year = (currentPeriod === null || currentPeriod === void 0 ? void 0 : currentPeriod.year) || '-';
|
|
@@ -22,7 +22,7 @@ var periodToTitleMapper = function periodToTitleMapper(billData, texts, periodFo
|
|
|
22
22
|
settlement = _texts$commons.settlement,
|
|
23
23
|
period = _texts$commons.period,
|
|
24
24
|
bimester = _texts$commons.bimester;
|
|
25
|
-
var issuedDate = settlements === null || settlements === void 0
|
|
25
|
+
var issuedDate = settlements === null || settlements === void 0 || (_settlements$current2 = settlements.current) === null || _settlements$current2 === void 0 ? void 0 : _settlements$current2.issued_on;
|
|
26
26
|
var issuedDateLabel = withBillCalcTitleDate ? " (".concat((0, _dayjs.default)(issuedDate, 'YYYY-MM-DD').format('MM/YYYY'), ")") : '';
|
|
27
27
|
if (periodFormatter) return periodFormatter({
|
|
28
28
|
startDate: settlements === null || settlements === void 0 ? void 0 : settlements.start_date,
|
package/dist/components/BillSummary/components/BilledConcepts/components/Concept/styles.module.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../../../../../scss/variables/
|
|
2
|
-
@import '../../../../../../scss/variables/
|
|
3
|
-
@import '../../../../../../scss/variables/
|
|
1
|
+
@import '../../../../../../scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../../../../../scss/variables/mediaQueries.module.scss';
|
|
3
|
+
@import '../../../../../../scss/variables/fontSizes.module.scss';
|
|
4
4
|
|
|
5
5
|
$progress-bar-desktop-height: 8px;
|
|
6
6
|
$progress-bar-mobile-height: 12px;
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.toggleOptions = exports.progressBar = exports.pieChart = exports.COLORS = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _colorsExportModule = require("../../../../scss/variables/colorsExport.module.scss");
|
|
8
8
|
var pieChart = 'pieChart';
|
|
9
9
|
exports.pieChart = pieChart;
|
|
10
10
|
var progressBar = 'progressBar';
|
|
@@ -21,5 +21,5 @@ var toggleOptions = function toggleOptions(assets) {
|
|
|
21
21
|
}];
|
|
22
22
|
};
|
|
23
23
|
exports.toggleOptions = toggleOptions;
|
|
24
|
-
var COLORS = [
|
|
24
|
+
var COLORS = [_colorsExportModule.primary, _colorsExportModule.darkGray, _colorsExportModule.pieChartGray, _colorsExportModule.pieChartLightGray];
|
|
25
25
|
exports.COLORS = COLORS;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -21,7 +21,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
21
21
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
22
22
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
23
23
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
24
|
-
function _iterableToArrayLimit(
|
|
24
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
25
25
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
26
26
|
var BilledConcepts = function BilledConcepts(_ref) {
|
|
27
27
|
var _billData$detail;
|
|
@@ -41,10 +41,10 @@ var BilledConcepts = function BilledConcepts(_ref) {
|
|
|
41
41
|
var handleChangeToggleOption = function handleChangeToggleOption(newOption) {
|
|
42
42
|
return setToggleOption(newOption);
|
|
43
43
|
};
|
|
44
|
-
var totalAmount = billData === null || billData === void 0
|
|
44
|
+
var totalAmount = billData === null || billData === void 0 || (_billData$detail = billData.detail) === null || _billData$detail === void 0 ? void 0 : _billData$detail.total_amount;
|
|
45
45
|
var concepts = (0, _react.useMemo)(function () {
|
|
46
46
|
var _billData$detail2;
|
|
47
|
-
return (0, _utils.getOrderedAndColoredConcepts)(billData === null || billData === void 0
|
|
47
|
+
return (0, _utils.getOrderedAndColoredConcepts)(billData === null || billData === void 0 || (_billData$detail2 = billData.detail) === null || _billData$detail2 === void 0 ? void 0 : _billData$detail2.concepts, totalAmount, showZeroConcepts, (0, _utils.getColorsDefinition)(colors));
|
|
48
48
|
}, []);
|
|
49
49
|
var negativeAmmount = concepts.some(function (concept) {
|
|
50
50
|
return concept.total < 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../../../scss/variables/
|
|
2
|
-
@import '../../../../scss/variables/
|
|
3
|
-
@import '../../../../scss/variables/
|
|
1
|
+
@import '../../../../scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../../../scss/variables/mediaQueries.module.scss';
|
|
3
|
+
@import '../../../../scss/variables/sizes.module.scss';
|
|
4
4
|
|
|
5
5
|
$toggle-size: 30px;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -9,8 +9,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
9
9
|
var _constants = require("./constants");
|
|
10
10
|
var _Concept = _interopRequireDefault(require("./components/Concept"));
|
|
11
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function ownKeys(
|
|
13
|
-
function _objectSpread(
|
|
12
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
14
14
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
15
15
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
16
16
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -26,7 +26,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
26
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); }
|
|
27
27
|
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; }
|
|
28
28
|
var BillSummary = function BillSummary(_ref) {
|
|
29
|
-
var _billData$client, _billData$
|
|
29
|
+
var _billData$client, _billData$client2, _currentPeriod$settle, _currentPeriod$settle2;
|
|
30
30
|
var contextApiInfo = _ref.contextApiInfo,
|
|
31
31
|
billData = _ref.billData;
|
|
32
32
|
var config = contextApiInfo.config,
|
|
@@ -43,10 +43,10 @@ var BillSummary = function BillSummary(_ref) {
|
|
|
43
43
|
var hiredPowerConsumption = (0, _consumptions.getTotalConsumption)(currentPeriod, _consumptions2.POWER_TYPES.PURCHASED);
|
|
44
44
|
var registeredPowerConsumption = (0, _consumptions.getTotalConsumption)(currentPeriod, _consumptions2.POWER_TYPES.REGISTERED);
|
|
45
45
|
var exceededPower = (0, _consumptions.getTotalConsumption)(currentPeriod, _consumptions2.POWER_TYPES.EXCEEDED);
|
|
46
|
-
var rate = billData === null || billData === void 0
|
|
47
|
-
var category = billData === null || billData === void 0
|
|
48
|
-
var multipleSettlements = (currentPeriod === null || currentPeriod === void 0
|
|
49
|
-
var issuedDate = currentPeriod === null || currentPeriod === void 0
|
|
46
|
+
var rate = billData === null || billData === void 0 || (_billData$client = billData.client) === null || _billData$client === void 0 || (_billData$client = _billData$client.rate) === null || _billData$client === void 0 ? void 0 : _billData$client.purchased;
|
|
47
|
+
var category = billData === null || billData === void 0 || (_billData$client2 = billData.client) === null || _billData$client2 === void 0 || (_billData$client2 = _billData$client2.rate) === null || _billData$client2 === void 0 ? void 0 : _billData$client2.category;
|
|
48
|
+
var multipleSettlements = (currentPeriod === null || currentPeriod === void 0 || (_currentPeriod$settle = currentPeriod.settlements) === null || _currentPeriod$settle === void 0 ? void 0 : _currentPeriod$settle.total_settlements) > 1;
|
|
49
|
+
var issuedDate = currentPeriod === null || currentPeriod === void 0 || (_currentPeriod$settle2 = currentPeriod.settlements) === null || _currentPeriod$settle2 === void 0 || (_currentPeriod$settle2 = _currentPeriod$settle2.current) === null || _currentPeriod$settle2 === void 0 ? void 0 : _currentPeriod$settle2.issued_on;
|
|
50
50
|
var _useScreenSize = (0, _hooks.useScreenSize)(),
|
|
51
51
|
isDesktopSize = _useScreenSize.isDesktopSize;
|
|
52
52
|
var withBanner = showBillSummaryBanner(billData);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import '../../scss/variables/
|
|
2
|
-
@import '../../scss/variables/
|
|
3
|
-
@import '../../scss/variables/
|
|
4
|
-
@import '../../scss/variables/
|
|
1
|
+
@import '../../scss/variables/colors.module.scss';
|
|
2
|
+
@import '../../scss/variables/sizes.module.scss';
|
|
3
|
+
@import '../../scss/variables/mediaQueries.module.scss';
|
|
4
|
+
@import '../../scss/variables/fontSizes.module.scss';
|
|
5
5
|
|
|
6
6
|
$containers-width: 50%;
|
|
7
7
|
|
|
@@ -13,7 +13,7 @@ var _utils = require("../../../../utils");
|
|
|
13
13
|
var _aliases = require("../../../../shared/constants/aliases");
|
|
14
14
|
var _stylesModule = _interopRequireDefault(require("./styles.module.scss"));
|
|
15
15
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
-
function _typeof(
|
|
16
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
17
17
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
18
18
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
19
19
|
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
@@ -95,12 +95,12 @@ var desktopGetHeaderFields = function desktopGetHeaderFields(contextApiInfo, wit
|
|
|
95
95
|
exports.desktopGetHeaderFields = desktopGetHeaderFields;
|
|
96
96
|
var formatInterval = function formatInterval(period) {
|
|
97
97
|
var _period$settlements, _period$settlements2;
|
|
98
|
-
var startDate = period === null || period === void 0
|
|
99
|
-
var endDate = period === null || period === void 0
|
|
98
|
+
var startDate = period === null || period === void 0 || (_period$settlements = period.settlements) === null || _period$settlements === void 0 ? void 0 : _period$settlements.start_date;
|
|
99
|
+
var endDate = period === null || period === void 0 || (_period$settlements2 = period.settlements) === null || _period$settlements2 === void 0 ? void 0 : _period$settlements2.end_date;
|
|
100
100
|
return startDate && endDate && "".concat((0, _dayjs.default)(startDate).format('DD/MM'), " - ").concat((0, _dayjs.default)(endDate).format('DD/MM'));
|
|
101
101
|
};
|
|
102
102
|
var getField = function getField() {
|
|
103
|
-
var _data$period,
|
|
103
|
+
var _data$period, _getDailyConsumption$, _ref;
|
|
104
104
|
var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
105
105
|
var contextApiInfo = arguments.length > 1 ? arguments[1] : undefined;
|
|
106
106
|
var Label = contextApiInfo.Label;
|
|
@@ -129,7 +129,7 @@ var getField = function getField() {
|
|
|
129
129
|
Component: data ? /*#__PURE__*/_react.default.createElement(_Magnitude.default, {
|
|
130
130
|
numberAlias: magnitudeAlias,
|
|
131
131
|
unitAlias: unitAlias,
|
|
132
|
-
value: (_data$period = data.period) === null || _data$period === void 0
|
|
132
|
+
value: (_data$period = data.period) === null || _data$period === void 0 || (_data$period = _data$period.settlements) === null || _data$period === void 0 ? void 0 : _data$period.total_settlements_days,
|
|
133
133
|
unit: data.daysUnit,
|
|
134
134
|
classes: {
|
|
135
135
|
numberAndUnit: _stylesModule.default.numberAndUnit
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../../../scss/variables/
|
|
2
|
-
@import '../../../../scss/variables/
|
|
3
|
-
@import '../../../../scss/variables/
|
|
1
|
+
@import '../../../../scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../../../scss/variables/mediaQueries.module.scss';
|
|
3
|
+
@import '../../../../scss/variables/sizes.module.scss';
|
|
4
4
|
|
|
5
5
|
.expand {
|
|
6
6
|
width: 100%;
|
package/dist/components/ConsumptionComparison/components/ConsumptionAdvice/styles.module.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../../..//scss/variables/
|
|
2
|
-
@import '../../../../scss/variables/
|
|
3
|
-
@import '../../../../scss/variables/
|
|
1
|
+
@import '../../../..//scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../../../scss/variables/sizes.module.scss';
|
|
3
|
+
@import '../../../../scss/variables/mediaQueries.module.scss';
|
|
4
4
|
|
|
5
5
|
.container {
|
|
6
6
|
align-items: center;
|
package/dist/components/ConsumptionComparison/components/PercentageComparison/styles.module.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import '../../../../scss/variables/
|
|
2
|
-
@import '../../../../scss/variables/
|
|
3
|
-
@import '../../../../scss/variables/
|
|
4
|
-
@import '../../../../scss/variables/
|
|
1
|
+
@import '../../../../scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../../../scss/variables/mediaQueries.module.scss';
|
|
3
|
+
@import '../../../../scss/variables/sizes.module.scss';
|
|
4
|
+
@import '../../../../scss/variables/fontSizes.module.scss';
|
|
5
5
|
|
|
6
6
|
$icon-size: 25px;
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -27,7 +27,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
|
|
|
27
27
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
28
28
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
29
29
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
30
|
-
function _iterableToArrayLimit(
|
|
30
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
31
31
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
32
32
|
var ConsumptionComparison = function ConsumptionComparison(_ref) {
|
|
33
33
|
var _currentPeriod$settle;
|
|
@@ -59,7 +59,7 @@ var ConsumptionComparison = function ConsumptionComparison(_ref) {
|
|
|
59
59
|
}, []);
|
|
60
60
|
var savingsPercentage = (0, _periods.getSavingsPercentage)(currentPeriod);
|
|
61
61
|
var showTemp = billData.previous_period_avg_temperature && billData.current_period_avg_temperature;
|
|
62
|
-
var multipleSettlements = (currentPeriod === null || currentPeriod === void 0
|
|
62
|
+
var multipleSettlements = (currentPeriod === null || currentPeriod === void 0 || (_currentPeriod$settle = currentPeriod.settlements) === null || _currentPeriod$settle === void 0 ? void 0 : _currentPeriod$settle.total_settlements) > 1;
|
|
63
63
|
var ComparisonTableRender = function ComparisonTableRender() {
|
|
64
64
|
return /*#__PURE__*/_react.default.createElement(_ComparisonTable.default, {
|
|
65
65
|
billData: billData,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
@import '../../scss/variables/
|
|
2
|
-
@import '../../scss/variables/
|
|
3
|
-
@import '../../scss/variables/
|
|
4
|
-
@import '../../scss/variables/
|
|
1
|
+
@import '../../scss/variables/mediaQueries.module.scss';
|
|
2
|
+
@import '../../scss/variables/colors.module.scss';
|
|
3
|
+
@import '../../scss/variables/colorsExport.module.scss';
|
|
4
|
+
@import '../../scss/variables/sizes.module.scss';
|
|
5
5
|
|
|
6
6
|
.container {
|
|
7
7
|
display: flex;
|
package/dist/components/ConsumptionEnergyDetails/components/ConsumptionEnergyComparison/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -44,7 +44,7 @@ var ConsumptionEnergyComparison = function ConsumptionEnergyComparison(_ref) {
|
|
|
44
44
|
}, /*#__PURE__*/_react.default.createElement(_ConsumptionInDaysLabel.default, {
|
|
45
45
|
consumption: dataValidation(currentConsumption.value),
|
|
46
46
|
unit: dataValidation(currentConsumption.unit),
|
|
47
|
-
totalDays: dataValidation(settlements === null || settlements === void 0
|
|
47
|
+
totalDays: dataValidation(settlements === null || settlements === void 0 || (_settlements$current = settlements.current) === null || _settlements$current === void 0 ? void 0 : _settlements$current.days),
|
|
48
48
|
numberAlias: _aliases.CONSUMPTION_DAYS_NUMBER_ACTUAL,
|
|
49
49
|
unitAlias: _aliases.CONSUMPTION_DAYS_UNIT_ACTUAL,
|
|
50
50
|
daysAlias: _aliases.CONSUMPTION_DAYS_DAYS_ACTUAL,
|
|
@@ -62,7 +62,7 @@ var ConsumptionEnergyComparison = function ConsumptionEnergyComparison(_ref) {
|
|
|
62
62
|
}, /*#__PURE__*/_react.default.createElement(_ConsumptionInDaysLabel.default, {
|
|
63
63
|
consumption: dataValidation(remainingConsumption.value),
|
|
64
64
|
unit: dataValidation(remainingConsumption.unit),
|
|
65
|
-
totalDays: dataValidation(settlements === null || settlements === void 0
|
|
65
|
+
totalDays: dataValidation(settlements === null || settlements === void 0 || (_settlements$remainin = settlements.remaining[0]) === null || _settlements$remainin === void 0 ? void 0 : _settlements$remainin.days),
|
|
66
66
|
classes: {
|
|
67
67
|
container: currentIsFirstSettlement ? _stylesModule.default.remainingConsumptionLabel : _stylesModule.default.firstSettlementRemainingConsumptionLabel
|
|
68
68
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../../../scss/variables/
|
|
2
|
-
@import '../../../../scss/variables/
|
|
3
|
-
@import '../../../../scss/variables/
|
|
1
|
+
@import '../../../../scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../../../scss/variables/mediaQueries.module.scss';
|
|
3
|
+
@import '../../../../scss/variables/sizes.module.scss';
|
|
4
4
|
|
|
5
5
|
$border-radius: 5px;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
package/dist/components/ConsumptionEnergyDetails/components/PercentageComparison/styles.module.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../../../scss/variables/
|
|
2
|
-
@import '../../../../scss/variables/
|
|
3
|
-
@import '../../../../scss/variables/
|
|
1
|
+
@import '../../../../scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../../../scss/variables/mediaQueries.module.scss';
|
|
3
|
+
@import '../../../../scss/variables/sizes.module.scss';
|
|
4
4
|
|
|
5
5
|
$icon-size: 30px;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../scss/variables/
|
|
2
|
-
@import '../../scss/variables/
|
|
3
|
-
@import '../../scss/variables/
|
|
1
|
+
@import '../../scss/variables/colorsExport.module.scss';
|
|
2
|
+
@import '../../scss/variables/mediaQueries.module.scss';
|
|
3
|
+
@import '../../scss/variables/sizes.module.scss';
|
|
4
4
|
|
|
5
5
|
$border-radius: 5px;
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(
|
|
3
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@import '../../../../../../scss/variables/
|
|
2
|
-
@import '../../../../../../scss/variables/
|
|
3
|
-
@import '../../../../../../scss/variables/
|
|
1
|
+
@import '../../../../../../scss/variables/colors.module.scss';
|
|
2
|
+
@import '../../../../../../scss/variables/sizes.module.scss';
|
|
3
|
+
@import '../../../../../../scss/variables/mediaQueries.module.scss';
|
|
4
4
|
|
|
5
5
|
$container-margin-bottom-size: 24px;
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@import '../../../../../../scss/variables/
|
|
2
|
-
@import '../../../../../../scss/variables/
|
|
1
|
+
@import '../../../../../../scss/variables/mediaQueries.module.scss';
|
|
2
|
+
@import '../../../../../../scss/variables/colors.module.scss';
|
|
3
3
|
|
|
4
4
|
.container {
|
|
5
5
|
display: flex;
|