@widergy/utilitygo-smart-bill-web 1.13.4 → 2.0.0
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 +12 -0
- package/dist/components/Advice/index.js +3 -14
- package/dist/components/Amount/index.js +11 -29
- package/dist/components/Amount/styles.module.scss +1 -2
- package/dist/components/Amount/utils.js +0 -3
- package/dist/components/Banner/index.js +3 -12
- package/dist/components/BarChart/index.js +12 -32
- package/dist/components/BarChart/styles.module.scss +5 -5
- package/dist/components/BarChart/utils.js +1 -6
- package/dist/components/BillCalculation/components/ConceptCard/index.js +31 -36
- package/dist/components/BillCalculation/components/Glossary/index.js +30 -50
- package/dist/components/BillCalculation/components/Glossary/styles.module.scss +0 -6
- package/dist/components/BillCalculation/index.js +13 -46
- package/dist/components/BillCalculation/utils.js +3 -15
- package/dist/components/BillSummary/components/BilledConcepts/components/Concept/index.js +11 -29
- package/dist/components/BillSummary/components/BilledConcepts/components/PieChartContainer/index.js +2 -15
- package/dist/components/BillSummary/components/BilledConcepts/constants.js +0 -4
- package/dist/components/BillSummary/components/BilledConcepts/index.js +11 -40
- package/dist/components/BillSummary/components/BilledConcepts/styles.module.scss +1 -1
- package/dist/components/BillSummary/components/BilledConcepts/utils.js +13 -38
- package/dist/components/BillSummary/index.js +7 -42
- package/dist/components/BillSummary/styles.module.scss +0 -4
- package/dist/components/ConsumptionComparison/components/ComparisonTable/components/DataLine/index.js +0 -8
- package/dist/components/ConsumptionComparison/components/ComparisonTable/components/Season/index.js +5 -20
- package/dist/components/ConsumptionComparison/components/ComparisonTable/components/Season/utils.js +0 -7
- package/dist/components/ConsumptionComparison/components/ComparisonTable/constants.js +18 -39
- package/dist/components/ConsumptionComparison/components/ComparisonTable/index.js +2 -16
- package/dist/components/ConsumptionComparison/components/ComparisonTable/utils.js +15 -37
- package/dist/components/ConsumptionComparison/components/ConsumptionAdvice/index.js +8 -16
- package/dist/components/ConsumptionComparison/components/ConsumptionAdvice/utils.js +0 -7
- package/dist/components/ConsumptionComparison/components/PercentageComparison/index.js +12 -25
- package/dist/components/ConsumptionComparison/components/PercentageComparison/styles.module.scss +0 -10
- package/dist/components/ConsumptionComparison/components/PercentageComparison/utils.js +4 -11
- package/dist/components/ConsumptionComparison/index.js +9 -44
- package/dist/components/ConsumptionComparison/styles.module.scss +0 -5
- package/dist/components/ConsumptionEnergyDetails/components/ConsumptionEnergyComparison/index.js +13 -38
- package/dist/components/ConsumptionEnergyDetails/components/ConsumptionInDaysLabel/index.js +9 -20
- package/dist/components/ConsumptionEnergyDetails/components/EnergyTotalConsumption/index.js +14 -26
- package/dist/components/ConsumptionEnergyDetails/components/EnergyTotalConsumption/styles.module.scss +0 -6
- package/dist/components/ConsumptionEnergyDetails/components/PercentageComparison/index.js +10 -24
- package/dist/components/ConsumptionEnergyDetails/components/PercentageComparison/utils.js +0 -6
- package/dist/components/ConsumptionEnergyDetails/index.js +14 -41
- package/dist/components/ConsumptionEnergyDetails/styles.module.scss +2 -6
- package/dist/components/ConsumptionIncluded/components/TimelineRow/components/Card/index.js +39 -55
- package/dist/components/ConsumptionIncluded/components/TimelineRow/components/Card/styles.module.scss +2 -8
- package/dist/components/ConsumptionIncluded/components/TimelineRow/components/Card/utils.js +0 -3
- package/dist/components/ConsumptionIncluded/components/TimelineRow/components/HeaderConsumption/index.js +7 -23
- package/dist/components/ConsumptionIncluded/components/TimelineRow/components/HeaderConsumption/styles.module.scss +0 -4
- package/dist/components/ConsumptionIncluded/components/TimelineRow/components/HeaderSettlement/index.js +4 -15
- package/dist/components/ConsumptionIncluded/components/TimelineRow/index.js +16 -33
- package/dist/components/ConsumptionIncluded/index.js +1 -18
- package/dist/components/ConsumptionIncluded/utils.js +2 -30
- package/dist/components/ConsumptionPeriod/components/ConsumptionSummary/components/ReadingRow/index.js +7 -19
- package/dist/components/ConsumptionPeriod/components/ConsumptionSummary/index.js +12 -27
- package/dist/components/ConsumptionPeriod/components/HistoryGraph/index.js +6 -30
- package/dist/components/ConsumptionPeriod/components/Reading/index.js +15 -33
- package/dist/components/ConsumptionPeriod/components/Reading/styles.module.scss +0 -1
- package/dist/components/ConsumptionPeriod/index.js +1 -20
- package/dist/components/ConsumptionPeriod/utils.js +0 -6
- package/dist/components/Date/index.js +6 -17
- package/dist/components/Date/styles.module.scss +2 -4
- package/dist/components/DebtState/index.js +6 -16
- package/dist/components/DebtState/styles.module.scss +2 -11
- package/dist/components/IconAndDetails/index.js +13 -26
- package/dist/components/Magnitude/index.js +18 -39
- package/dist/components/Magnitude/utils.js +0 -29
- package/dist/components/MainBillData/components/BillAlert/components/BillParticularConditions/index.js +6 -17
- package/dist/components/MainBillData/components/BillAlert/index.js +12 -39
- package/dist/components/MainBillData/components/BillAlert/styles.module.scss +4 -1
- package/dist/components/MainBillData/components/BillBody/components/ClientData/index.js +5 -19
- package/dist/components/MainBillData/components/BillBody/components/ClientData/styles.module.scss +1 -3
- package/dist/components/MainBillData/components/BillBody/components/Consumption/index.js +4 -20
- package/dist/components/MainBillData/components/BillBody/components/Consumption/utils.js +0 -2
- package/dist/components/MainBillData/components/BillBody/components/ReadingDetails/index.js +16 -30
- package/dist/components/MainBillData/components/BillBody/components/ReadingDetails/utils.js +0 -5
- package/dist/components/MainBillData/components/BillBody/index.js +3 -35
- package/dist/components/MainBillData/components/BillHeader/components/TypeAndNumber/index.js +7 -19
- package/dist/components/MainBillData/components/BillHeader/index.js +4 -27
- package/dist/components/MainBillData/index.js +1 -16
- package/dist/components/MainBillData/theme.js +0 -3
- package/dist/components/MainBillData/utils.js +0 -3
- package/dist/components/Period/index.js +18 -44
- package/dist/components/Period/styles.module.scss +9 -9
- package/dist/components/PowerProgresBar/components/PowerConsumption/index.js +21 -28
- package/dist/components/PowerProgresBar/components/PowerConsumption/styles.module.scss +0 -7
- package/dist/components/PowerProgresBar/index.js +8 -29
- package/dist/components/PowerProgresBar/styles.module.scss +5 -9
- package/dist/components/RateAndCategory/index.js +8 -26
- package/dist/components/RateAndCategory/styles.module.scss +1 -4
- package/dist/components/RatesDefinition/components/BillRate/components/RatePrices/index.js +11 -23
- package/dist/components/RatesDefinition/components/BillRate/components/RatePrices/styles.module.scss +0 -1
- package/dist/components/RatesDefinition/components/BillRate/index.js +8 -20
- package/dist/components/RatesDefinition/components/BillRate/styles.module.scss +1 -2
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/Category/index.js +5 -17
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/Category/styles.module.scss +2 -4
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Indicator/components/IndicatorLabel/index.js +8 -22
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Indicator/index.js +4 -18
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Indicator/utils.js +0 -7
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Legend/index.js +4 -14
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Legend/styles.module.scss +1 -9
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Stages/index.js +8 -16
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/components/Stages/styles.module.scss +0 -4
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/constants.js +0 -1
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/index.js +12 -39
- package/dist/components/RatesDefinition/components/CategoryByConsumption/components/RateStagesGraph/utils.js +14 -24
- package/dist/components/RatesDefinition/components/CategoryByConsumption/index.js +11 -38
- package/dist/components/RatesDefinition/components/CategoryByConsumption/utils.js +0 -3
- package/dist/components/RatesDefinition/components/PurchasedRate/index.js +11 -23
- package/dist/components/RatesDefinition/components/PurchasedRate/styles.module.scss +5 -4
- package/dist/components/RatesDefinition/index.js +4 -25
- package/dist/components/SmartBillProvider/index.js +5 -26
- package/dist/components/StyledAmount/constants.js +0 -3
- package/dist/components/StyledAmount/index.js +18 -38
- package/dist/components/StyledAmount/styles.module.scss +2 -3
- package/dist/components/WithContextApi/index.js +4 -15
- package/dist/components/WithContextApi/layout.js +0 -9
- package/dist/components/WithSeason/index.js +0 -6
- package/dist/constants/deviceSizes.js +4 -16
- package/dist/index.js +0 -18
- package/dist/scss/variables/_colors.scss +0 -6
- package/dist/scss/variables/_colorsExport.scss +0 -6
- package/dist/shared/Context/index.js +1 -5
- package/dist/shared/constants/aliases.js +84 -82
- package/dist/shared/types/assetsTypes.js +0 -3
- package/dist/shared/types/billDataTypes.js +13 -13
- package/dist/shared/types/componentsTypes.js +4 -10
- package/dist/shared/types/formattersTypes.js +0 -2
- package/dist/shared/types/rateStagesTypes.js +0 -2
- package/dist/shared/types/smartBillTypes.js +4 -10
- package/dist/shared/types/textsTypes.js +0 -2
- package/dist/shared/utils/billCalculation.js +0 -6
- package/dist/shared/utils/consumptions.js +1 -32
- package/dist/shared/utils/context.js +0 -6
- package/dist/shared/utils/expirations.js +0 -3
- package/dist/shared/utils/periods.js +0 -15
- package/dist/shared/utils/rates.js +0 -4
- package/dist/shared/utils/readings.js +0 -7
- package/dist/shared/utils/season.js +0 -3
- package/dist/shared/utils/stagesGraph.js +0 -11
- package/dist/utils/hooks.js +0 -2
- package/dist/utils.js +0 -8
- package/package.json +1 -1
|
@@ -5,11 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.POWER_CONSUMPTION = exports.PERIOD_RESPONSIVE = exports.PERIOD_RANGE = exports.PERIOD_ISSUED_DATE = exports.PERIOD_COMPARISON_UNIT_PREV = exports.PERIOD_COMPARISON_UNIT = exports.PERIOD_COMPARISON_TEXT_PREV = exports.PERIOD_COMPARISON_TEXT = exports.PERIOD_COMPARISON_NUMBER_PREV = exports.PERIOD_COMPARISON_NUMBER = exports.PERIOD = exports.PERCENTAGE_COMPARISON_TITLE = exports.PERCENTAGE_COMPARISON_SUBTITLE = exports.PERCENTAGE_COMPARISON_DETAIL = exports.PERCENTAGE_COMPARISON = exports.PARTICULAR_CONDITIONS_TITLE = exports.PARTICULAR_CONDITIONS_LIST_TITLE = exports.PARTICULAR_CONDITION = exports.MAIN_SECONDARY = exports.MAIN_LIGHT = exports.MAIN = exports.LINE_DESCRIPTION = exports.ISSUED_DATE = exports.HEADER_SETTLEMENT_REMAINING_DATE = exports.HEADER_SETTLEMENT_REMAINING = exports.HEADER_SETTLEMENT_DATE = exports.HEADER_SETTLEMENT = exports.HEADER_CONSUMPTION = exports.GLOSSARY_LINK = exports.GET_PERIOD_FIELDS_NO_DATA = exports.EXPIRATION = exports.EXCEEDED_POWER_VALUE = exports.EXCEEDED_POWER_MESSAGE = exports.EXCEEDED_POWER_FINE = exports.ENERGY_TOTAL_CONSUMPTION_UNIT = exports.ENERGY_TOTAL_CONSUMPTION_EXCEEDED_UNIT = exports.ENERGY_TOTAL_CONSUMPTION_EXCEEDED = exports.ENERGY_TOTAL_CONSUMPTION_DETAIL = exports.ENERGY_TOTAL_CONSUMPTION = exports.DETAIL = exports.DEFAULT_PROPS = exports.DEFAULT_COLORS = exports.CONSUMPTION_PERIODICITY = exports.CONSUMPTION_NEXT_DETAIL = exports.CONSUMPTION_DAYS_UNIT_NEXT = exports.CONSUMPTION_DAYS_UNIT_ACTUAL = exports.CONSUMPTION_DAYS_NUMBER_NEXT = exports.CONSUMPTION_DAYS_NUMBER_ACTUAL = exports.CONSUMPTION_DAYS_DAYS_NEXT = exports.CONSUMPTION_DAYS_DAYS_ACTUAL = exports.CONSUMPTION_BIMESTER_UNIT = exports.CONSUMPTION_BIMESTER_NUMBER = exports.CONSUMPTION_BIMESTER_DAYS = exports.CONSUMPTION_ACTUAL_DETAIL = exports.CONCEPT_TITLE = exports.CONCEPT_SECONDARY_NAME = exports.CONCEPT_SECONDARY_AMOUNT_DECIMAL = exports.CONCEPT_SECONDARY_AMOUNT = exports.CONCEPT_LIST_AMOUNT_DECIMAL = exports.CONCEPT_LIST_AMOUNT = exports.CONCEPT_FIRST_NAME = exports.CONCEPT_FIRST_AMOUNT_DECIMAL = exports.CONCEPT_FIRST_AMOUNT = exports.CONCEPT_CARD_AMOUNT_DECIMAL = exports.CONCEPT_CARD_AMOUNT = exports.COLORS = exports.CATEGORY_DEFINITION = exports.CATEGORY = exports.CARD_WHITE_UNIT = exports.CARD_WHITE_MAGNITUDE = exports.CARD_WHITE_CONSUMPTION = exports.CARD_SUBTITLE_REMAINING = exports.CARD_SUBTITLE = exports.CARD_SECONDARY_TITLE = exports.CARD_PRIMARY_UNIT = exports.CARD_PRIMARY_MAGNITUDE = exports.CARD_PRIMARY_CONSUMPTION = exports.CARD_MAIN_TITLE = exports.CARD_GRAY_UNIT = exports.CARD_GRAY_MAGNITUDE = exports.CARD_GRAY_CONSUMPTION = exports.CARD_DESCRIPTION_REMAINING = exports.CARD_DESCRIPTION = exports.CARD_CONSUMPTION_TEXT_REMAINING = exports.CARD_CONSUMPTION_TEXT_CURRENT = exports.CARD_CONSUMPTION_DESCRIPTION_WHITE = exports.CARD_CONSUMPTION_DESCRIPTION_GRAY = exports.BILL_RATE_PRICES_SUBTITLE = exports.BILL_CALC_TOTAL = exports.BILL_CALC_CONCEPT_TITLE = exports.BILL_CALC_CONCEPT = exports.BILL_CALC_AMOUNT_DECIMAL = exports.BILL_CALC_AMOUNT = exports.BILL_ALERT = exports.AMOUNT_DECIMAL = exports.AMOUNT = exports.ADVICE_TITLE = exports.ADVICE_SUBTITLE = exports.ADVICE_CONTENT = exports.ADHERED_DIGITAL_BILL = void 0;
|
|
7
7
|
exports.WEATHER_PROVIDER_INFORMATION = exports.TYPE_AND_NUMBER_TYPE = exports.TITLE = exports.TINY_DECIMAL = exports.SUMMARY_TITLE = exports.SUMMARY_SUBTITLE = exports.SUMMARY_ROW_NUMBER = exports.SUMMARY_ROW_FOCUSED = exports.SUMMARY_ROW = exports.SUMMARY_RESULT_UNIT = exports.SUMMARY_RESULT_NUMBER = exports.SUMMARY_RESULT = exports.SUMMARY_PERIOD = exports.SUBSTAGE = exports.STAGE_DETAIL = exports.SEASON = exports.REGULAR_LINK = exports.READING_TITLE = exports.READING_STATE_DETAIL = exports.READING_STATE = exports.READING_MAIN = exports.READING_DETAIL = exports.RATE_STAGE_MAGNITUDE = exports.RATE_PRICES_AMOUNT = exports.RATE_MAGNITUDE_UNIT_INDICATOR = exports.RATE_MAGNITUDE_NUMBER_INDICATOR = exports.RATE_LABEL_INDICATOR = exports.RATE_DATA_SUBTITLE = exports.RATE_AND_CATEGORY_MAIN_TEXT = exports.RATE = exports.PURCHASED_RATE_DESCRIPTION = exports.POWER_FACTOR_EXCEEDED_VALUE = exports.POWER_FACTOR_EXCEEDED_MESSAGE = exports.POWER_CONSUMPTION_UNIT_GRAY = exports.POWER_CONSUMPTION_UNIT = exports.POWER_CONSUMPTION_TEXT_GRAY = exports.POWER_CONSUMPTION_TEXT = exports.POWER_CONSUMPTION_GRAY = void 0;
|
|
8
|
-
|
|
9
8
|
var _DEFAULT_COLORS, _DEFAULT_PROPS;
|
|
10
|
-
|
|
11
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
-
|
|
9
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
10
|
+
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; }
|
|
11
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
12
|
+
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); }
|
|
13
13
|
var TITLE = 'title';
|
|
14
14
|
exports.TITLE = TITLE;
|
|
15
15
|
var DETAIL = 'detail';
|
|
@@ -300,7 +300,7 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
|
|
|
300
300
|
weight: 'medium',
|
|
301
301
|
withMarkdown: true
|
|
302
302
|
}), _defineProperty(_DEFAULT_PROPS, DETAIL, {
|
|
303
|
-
|
|
303
|
+
colorTheme: 'gray',
|
|
304
304
|
variant: 'small',
|
|
305
305
|
withMarkdown: true
|
|
306
306
|
}), _defineProperty(_DEFAULT_PROPS, MAIN_LIGHT, {
|
|
@@ -316,57 +316,57 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
|
|
|
316
316
|
}), _defineProperty(_DEFAULT_PROPS, AMOUNT, {
|
|
317
317
|
variant: 'title1',
|
|
318
318
|
weight: 'medium',
|
|
319
|
-
|
|
319
|
+
colorTheme: 'information'
|
|
320
320
|
}), _defineProperty(_DEFAULT_PROPS, AMOUNT_DECIMAL, {
|
|
321
321
|
variant: 'subtitle2',
|
|
322
322
|
weight: 'medium',
|
|
323
|
-
|
|
323
|
+
colorTheme: 'information'
|
|
324
324
|
}), _defineProperty(_DEFAULT_PROPS, BILL_CALC_AMOUNT, {
|
|
325
325
|
variant: 'title1',
|
|
326
|
-
colorTheme: '
|
|
326
|
+
colorTheme: 'light',
|
|
327
327
|
weight: 'regular'
|
|
328
328
|
}), _defineProperty(_DEFAULT_PROPS, BILL_CALC_AMOUNT_DECIMAL, {
|
|
329
329
|
variant: 'subtitle2',
|
|
330
|
-
colorTheme: '
|
|
330
|
+
colorTheme: 'light',
|
|
331
331
|
weight: 'regular'
|
|
332
332
|
}), _defineProperty(_DEFAULT_PROPS, BILL_ALERT, {
|
|
333
333
|
variant: 'small',
|
|
334
334
|
weight: 'regular',
|
|
335
|
-
|
|
335
|
+
colorTheme: 'information'
|
|
336
336
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_CARD_AMOUNT, {
|
|
337
337
|
variant: 'subtitle1',
|
|
338
|
-
|
|
338
|
+
colorTheme: 'information'
|
|
339
339
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_FIRST_AMOUNT, {
|
|
340
340
|
variant: 'subtitle1',
|
|
341
341
|
weight: 'medium',
|
|
342
|
-
|
|
342
|
+
colorTheme: 'information'
|
|
343
343
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_FIRST_AMOUNT_DECIMAL, {
|
|
344
344
|
variant: 'xsmall',
|
|
345
345
|
weight: 'medium',
|
|
346
|
-
|
|
346
|
+
colorTheme: 'information'
|
|
347
347
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_LIST_AMOUNT, {
|
|
348
348
|
variant: 'subtitle2',
|
|
349
|
-
|
|
349
|
+
colorTheme: 'information'
|
|
350
350
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_LIST_AMOUNT_DECIMAL, {
|
|
351
351
|
variant: 'xsmall',
|
|
352
|
-
|
|
352
|
+
colorTheme: 'information'
|
|
353
353
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_CARD_AMOUNT_DECIMAL, {
|
|
354
354
|
variant: 'xsmall',
|
|
355
|
-
|
|
355
|
+
colorTheme: 'information'
|
|
356
356
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_SECONDARY_AMOUNT, {
|
|
357
357
|
variant: 'subtitle1',
|
|
358
358
|
weight: 'medium',
|
|
359
|
-
|
|
359
|
+
colorTheme: 'information'
|
|
360
360
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_SECONDARY_AMOUNT_DECIMAL, {
|
|
361
361
|
variant: 'xsmall',
|
|
362
362
|
weight: 'medium',
|
|
363
|
-
|
|
363
|
+
colorTheme: 'information'
|
|
364
364
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_FIRST_NAME, {
|
|
365
365
|
weight: 'medium',
|
|
366
366
|
variant: 'subtitle2',
|
|
367
|
-
|
|
367
|
+
colorTheme: 'information'
|
|
368
368
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_SECONDARY_NAME, {
|
|
369
|
-
|
|
369
|
+
colorTheme: 'gray',
|
|
370
370
|
weight: 'regular'
|
|
371
371
|
}), _defineProperty(_DEFAULT_PROPS, REGULAR_LINK, {
|
|
372
372
|
weight: 'regular',
|
|
@@ -376,86 +376,86 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
|
|
|
376
376
|
}), _defineProperty(_DEFAULT_PROPS, RATE_MAGNITUDE_NUMBER_INDICATOR, {
|
|
377
377
|
variant: 'title1',
|
|
378
378
|
weight: 'medium',
|
|
379
|
-
|
|
379
|
+
colorTheme: 'information'
|
|
380
380
|
}), _defineProperty(_DEFAULT_PROPS, RATE_MAGNITUDE_UNIT_INDICATOR, {
|
|
381
381
|
variant: 'title3',
|
|
382
382
|
weight: 'medium',
|
|
383
|
-
|
|
383
|
+
colorTheme: 'information'
|
|
384
384
|
}), _defineProperty(_DEFAULT_PROPS, RATE_LABEL_INDICATOR, {
|
|
385
385
|
weight: 'regular',
|
|
386
|
-
|
|
386
|
+
colorTheme: 'information'
|
|
387
387
|
}), _defineProperty(_DEFAULT_PROPS, ENERGY_TOTAL_CONSUMPTION, {
|
|
388
388
|
weight: 'regular',
|
|
389
389
|
variant: 'title2'
|
|
390
390
|
}), _defineProperty(_DEFAULT_PROPS, ENERGY_TOTAL_CONSUMPTION_UNIT, {
|
|
391
391
|
weight: 'regular'
|
|
392
392
|
}), _defineProperty(_DEFAULT_PROPS, ENERGY_TOTAL_CONSUMPTION_EXCEEDED, {
|
|
393
|
-
colorTheme: '
|
|
393
|
+
colorTheme: 'light',
|
|
394
394
|
weight: 'regular',
|
|
395
395
|
variant: 'title2'
|
|
396
396
|
}), _defineProperty(_DEFAULT_PROPS, ENERGY_TOTAL_CONSUMPTION_EXCEEDED_UNIT, {
|
|
397
|
-
colorTheme: '
|
|
397
|
+
colorTheme: 'light',
|
|
398
398
|
weight: 'regular'
|
|
399
399
|
}), _defineProperty(_DEFAULT_PROPS, ENERGY_TOTAL_CONSUMPTION_DETAIL, {
|
|
400
|
-
|
|
400
|
+
colorTheme: 'gray',
|
|
401
401
|
weight: 'regular'
|
|
402
402
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_DAYS_NUMBER_ACTUAL, {
|
|
403
403
|
weight: 'regular',
|
|
404
|
-
|
|
404
|
+
colorTheme: 'information',
|
|
405
405
|
variant: 'title3'
|
|
406
406
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_DAYS_UNIT_ACTUAL, {
|
|
407
407
|
weight: 'regular',
|
|
408
|
-
|
|
408
|
+
colorTheme: 'information'
|
|
409
409
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_DAYS_NUMBER_NEXT, {
|
|
410
|
-
|
|
410
|
+
colorTheme: 'gray',
|
|
411
411
|
weight: 'regular',
|
|
412
412
|
variant: 'title3'
|
|
413
413
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_DAYS_UNIT_NEXT, {
|
|
414
|
-
|
|
414
|
+
colorTheme: 'gray',
|
|
415
415
|
weight: 'regular'
|
|
416
416
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_DAYS_DAYS_NEXT, {
|
|
417
|
-
|
|
417
|
+
colorTheme: 'gray',
|
|
418
418
|
variant: 'small'
|
|
419
419
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_DAYS_DAYS_ACTUAL, {
|
|
420
|
-
|
|
420
|
+
colorTheme: 'information',
|
|
421
421
|
variant: 'small'
|
|
422
422
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_ACTUAL_DETAIL, {
|
|
423
423
|
weight: 'semibold',
|
|
424
|
-
|
|
424
|
+
colorTheme: 'information',
|
|
425
425
|
variant: 'small'
|
|
426
426
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_BIMESTER_NUMBER, {
|
|
427
427
|
weight: 'semibold',
|
|
428
428
|
variant: 'subtitle1'
|
|
429
429
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_BIMESTER_UNIT, {
|
|
430
430
|
weight: 'regular',
|
|
431
|
-
|
|
431
|
+
colorTheme: 'gray',
|
|
432
432
|
variant: 'small'
|
|
433
433
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_BIMESTER_DAYS, {
|
|
434
434
|
weight: 'semibold'
|
|
435
435
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_NEXT_DETAIL, {
|
|
436
436
|
weight: 'semibold',
|
|
437
|
-
|
|
437
|
+
colorTheme: 'gray',
|
|
438
438
|
variant: 'small'
|
|
439
439
|
}), _defineProperty(_DEFAULT_PROPS, CONSUMPTION_PERIODICITY, {
|
|
440
440
|
weight: 'semibold',
|
|
441
441
|
variant: 'small'
|
|
442
442
|
}), _defineProperty(_DEFAULT_PROPS, PERCENTAGE_COMPARISON, {
|
|
443
443
|
variant: 'title2',
|
|
444
|
-
colorTheme: '
|
|
444
|
+
colorTheme: 'light',
|
|
445
445
|
weight: 'medium'
|
|
446
446
|
}), _defineProperty(_DEFAULT_PROPS, PERCENTAGE_COMPARISON_DETAIL, {
|
|
447
|
-
colorTheme: '
|
|
447
|
+
colorTheme: 'light',
|
|
448
448
|
weight: 'medium',
|
|
449
449
|
variant: 'small'
|
|
450
450
|
}), _defineProperty(_DEFAULT_PROPS, BILL_CALC_TOTAL, {
|
|
451
|
-
colorTheme: '
|
|
451
|
+
colorTheme: 'light',
|
|
452
452
|
variant: 'subtitle1',
|
|
453
453
|
weight: 'medium'
|
|
454
454
|
}), _defineProperty(_DEFAULT_PROPS, ENERGY_TOTAL_CONSUMPTION, {
|
|
455
455
|
weight: 'regular',
|
|
456
456
|
variant: 'title2'
|
|
457
457
|
}), _defineProperty(_DEFAULT_PROPS, ENERGY_TOTAL_CONSUMPTION_EXCEEDED, {
|
|
458
|
-
colorTheme: '
|
|
458
|
+
colorTheme: 'light',
|
|
459
459
|
weight: 'regular'
|
|
460
460
|
}), _defineProperty(_DEFAULT_PROPS, SUBSTAGE, {
|
|
461
461
|
weight: 'medium',
|
|
@@ -466,21 +466,21 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
|
|
|
466
466
|
weight: 'medium'
|
|
467
467
|
}), _defineProperty(_DEFAULT_PROPS, READING_DETAIL, {
|
|
468
468
|
weight: 'regular',
|
|
469
|
-
|
|
469
|
+
colorTheme: 'gray',
|
|
470
470
|
variant: 'small'
|
|
471
471
|
}), _defineProperty(_DEFAULT_PROPS, READING_STATE, {
|
|
472
472
|
weight: 'medium',
|
|
473
|
-
|
|
473
|
+
colorTheme: 'information',
|
|
474
474
|
variant: 'title3'
|
|
475
475
|
}), _defineProperty(_DEFAULT_PROPS, READING_STATE_DETAIL, {
|
|
476
476
|
weight: 'regular',
|
|
477
|
-
|
|
477
|
+
colorTheme: 'information',
|
|
478
478
|
variant: 'small'
|
|
479
479
|
}), _defineProperty(_DEFAULT_PROPS, SUMMARY_TITLE, {
|
|
480
480
|
weight: 'medium',
|
|
481
481
|
variant: 'subtitle1'
|
|
482
482
|
}), _defineProperty(_DEFAULT_PROPS, SUMMARY_SUBTITLE, {
|
|
483
|
-
|
|
483
|
+
colorTheme: 'gray'
|
|
484
484
|
}), _defineProperty(_DEFAULT_PROPS, SUMMARY_ROW_FOCUSED, {
|
|
485
485
|
weight: 'bold'
|
|
486
486
|
}), _defineProperty(_DEFAULT_PROPS, SUMMARY_ROW, {
|
|
@@ -488,121 +488,122 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
|
|
|
488
488
|
}), _defineProperty(_DEFAULT_PROPS, SUMMARY_RESULT, {
|
|
489
489
|
variant: 'subtitle2',
|
|
490
490
|
weight: 'medium',
|
|
491
|
-
|
|
491
|
+
colorTheme: 'information',
|
|
492
492
|
withMarkdown: true
|
|
493
493
|
}), _defineProperty(_DEFAULT_PROPS, SUMMARY_RESULT_NUMBER, {
|
|
494
494
|
variant: 'title2',
|
|
495
495
|
weight: 'medium',
|
|
496
|
-
|
|
496
|
+
colorTheme: 'information'
|
|
497
497
|
}), _defineProperty(_DEFAULT_PROPS, SUMMARY_RESULT_UNIT, {
|
|
498
498
|
variant: 'subtitle2',
|
|
499
499
|
weight: 'medium',
|
|
500
|
-
|
|
500
|
+
colorTheme: 'information'
|
|
501
501
|
}), _defineProperty(_DEFAULT_PROPS, SUMMARY_ROW_NUMBER, {
|
|
502
502
|
variant: 'subtitle2',
|
|
503
503
|
weight: 'medium'
|
|
504
504
|
}), _defineProperty(_DEFAULT_PROPS, PERIOD_COMPARISON_NUMBER, {
|
|
505
505
|
variant: 'title3',
|
|
506
506
|
weight: 'medium',
|
|
507
|
-
|
|
507
|
+
colorTheme: 'information'
|
|
508
508
|
}), _defineProperty(_DEFAULT_PROPS, PERIOD_COMPARISON_UNIT, {
|
|
509
509
|
variant: 'subtitle2',
|
|
510
510
|
weight: 'medium',
|
|
511
|
-
|
|
511
|
+
colorTheme: 'information'
|
|
512
512
|
}), _defineProperty(_DEFAULT_PROPS, PERIOD_COMPARISON_TEXT, {
|
|
513
|
-
|
|
513
|
+
colorTheme: 'information',
|
|
514
514
|
weight: 'regular'
|
|
515
515
|
}), _defineProperty(_DEFAULT_PROPS, PERIOD_COMPARISON_NUMBER_PREV, {
|
|
516
516
|
variant: 'title3',
|
|
517
|
-
|
|
517
|
+
colorTheme: 'gray',
|
|
518
518
|
weight: 'medium'
|
|
519
519
|
}), _defineProperty(_DEFAULT_PROPS, PERIOD_COMPARISON_UNIT_PREV, {
|
|
520
520
|
variant: 'subtitle2',
|
|
521
|
-
|
|
521
|
+
colorTheme: 'gray',
|
|
522
522
|
weight: 'medium'
|
|
523
523
|
}), _defineProperty(_DEFAULT_PROPS, PERIOD_COMPARISON_TEXT_PREV, {
|
|
524
|
-
|
|
524
|
+
colorTheme: 'gray',
|
|
525
525
|
weight: 'regular'
|
|
526
526
|
}), _defineProperty(_DEFAULT_PROPS, CARD_PRIMARY_MAGNITUDE, {
|
|
527
527
|
weight: 'medium',
|
|
528
528
|
variant: 'title3',
|
|
529
|
-
|
|
529
|
+
colorTheme: 'information'
|
|
530
530
|
}), _defineProperty(_DEFAULT_PROPS, CARD_WHITE_MAGNITUDE, {
|
|
531
|
-
colorTheme: '
|
|
531
|
+
colorTheme: 'light',
|
|
532
532
|
weight: 'medium',
|
|
533
533
|
variant: 'title3'
|
|
534
534
|
}), _defineProperty(_DEFAULT_PROPS, CARD_GRAY_MAGNITUDE, {
|
|
535
|
-
|
|
535
|
+
colorTheme: 'gray',
|
|
536
536
|
weight: 'medium',
|
|
537
537
|
variant: 'title3'
|
|
538
538
|
}), _defineProperty(_DEFAULT_PROPS, CARD_PRIMARY_UNIT, {
|
|
539
|
-
|
|
539
|
+
colorTheme: 'information'
|
|
540
540
|
}), _defineProperty(_DEFAULT_PROPS, CARD_WHITE_UNIT, {
|
|
541
|
-
colorTheme: '
|
|
541
|
+
colorTheme: 'light'
|
|
542
542
|
}), _defineProperty(_DEFAULT_PROPS, CARD_GRAY_UNIT, {
|
|
543
|
-
|
|
543
|
+
colorTheme: 'gray'
|
|
544
544
|
}), _defineProperty(_DEFAULT_PROPS, CARD_PRIMARY_CONSUMPTION, {
|
|
545
545
|
variant: 'subtitle1',
|
|
546
546
|
weight: 'medium',
|
|
547
|
-
|
|
547
|
+
colorTheme: 'information'
|
|
548
548
|
}), _defineProperty(_DEFAULT_PROPS, CARD_WHITE_CONSUMPTION, {
|
|
549
|
-
colorTheme: '
|
|
549
|
+
colorTheme: 'light',
|
|
550
550
|
variant: 'subtitle1',
|
|
551
551
|
weight: 'regular'
|
|
552
552
|
}), _defineProperty(_DEFAULT_PROPS, CARD_GRAY_CONSUMPTION, {
|
|
553
553
|
variant: 'subtitle1',
|
|
554
|
-
|
|
554
|
+
colorTheme: 'gray',
|
|
555
555
|
weight: 'regular'
|
|
556
556
|
}), _defineProperty(_DEFAULT_PROPS, CARD_MAIN_TITLE, {
|
|
557
557
|
weight: 'regular',
|
|
558
558
|
variant: 'subtitle1'
|
|
559
559
|
}), _defineProperty(_DEFAULT_PROPS, CARD_SECONDARY_TITLE, {
|
|
560
|
-
|
|
560
|
+
colorTheme: 'gray'
|
|
561
561
|
}), _defineProperty(_DEFAULT_PROPS, CARD_DESCRIPTION, {
|
|
562
562
|
weight: 'bold'
|
|
563
563
|
}), _defineProperty(_DEFAULT_PROPS, CARD_DESCRIPTION_REMAINING, {
|
|
564
564
|
weight: 'bold',
|
|
565
|
-
|
|
565
|
+
colorTheme: 'gray'
|
|
566
566
|
}), _defineProperty(_DEFAULT_PROPS, CARD_SUBTITLE, {
|
|
567
567
|
weight: 'regular',
|
|
568
568
|
variant: 'subtitle1'
|
|
569
569
|
}), _defineProperty(_DEFAULT_PROPS, CARD_SUBTITLE_REMAINING, {
|
|
570
570
|
variant: 'subtitle1',
|
|
571
571
|
weight: 'regular',
|
|
572
|
-
|
|
572
|
+
colorTheme: 'gray'
|
|
573
573
|
}), _defineProperty(_DEFAULT_PROPS, CARD_CONSUMPTION_DESCRIPTION_WHITE, {
|
|
574
|
-
colorTheme: '
|
|
574
|
+
colorTheme: 'light',
|
|
575
575
|
variant: 'subtitle2',
|
|
576
576
|
weight: 'regular'
|
|
577
577
|
}), _defineProperty(_DEFAULT_PROPS, CARD_CONSUMPTION_DESCRIPTION_GRAY, {
|
|
578
|
-
|
|
578
|
+
colorTheme: 'gray',
|
|
579
579
|
variant: 'subtitle2',
|
|
580
580
|
weight: 'regular'
|
|
581
581
|
}), _defineProperty(_DEFAULT_PROPS, CARD_CONSUMPTION_TEXT_CURRENT, {
|
|
582
582
|
variant: 'small',
|
|
583
|
-
|
|
583
|
+
colorTheme: 'information'
|
|
584
584
|
}), _defineProperty(_DEFAULT_PROPS, CARD_CONSUMPTION_TEXT_REMAINING, {
|
|
585
585
|
variant: 'small',
|
|
586
|
-
|
|
586
|
+
colorTheme: 'gray'
|
|
587
587
|
}), _defineProperty(_DEFAULT_PROPS, HEADER_CONSUMPTION, {
|
|
588
588
|
variant: 'subtitle2'
|
|
589
589
|
}), _defineProperty(_DEFAULT_PROPS, HEADER_SETTLEMENT, {
|
|
590
590
|
variant: 'xsmall'
|
|
591
591
|
}), _defineProperty(_DEFAULT_PROPS, HEADER_SETTLEMENT_REMAINING, {
|
|
592
592
|
variant: 'xsmall',
|
|
593
|
-
|
|
593
|
+
colorTheme: 'gray'
|
|
594
594
|
}), _defineProperty(_DEFAULT_PROPS, HEADER_SETTLEMENT_DATE, {
|
|
595
595
|
weight: 'bold'
|
|
596
596
|
}), _defineProperty(_DEFAULT_PROPS, HEADER_SETTLEMENT_REMAINING_DATE, {
|
|
597
597
|
weight: 'bold',
|
|
598
|
-
|
|
598
|
+
colorTheme: 'gray'
|
|
599
599
|
}), _defineProperty(_DEFAULT_PROPS, PARTICULAR_CONDITIONS_TITLE, {
|
|
600
600
|
weight: 'bold'
|
|
601
601
|
}), _defineProperty(_DEFAULT_PROPS, PARTICULAR_CONDITIONS_LIST_TITLE, {
|
|
602
602
|
weight: 'regular'
|
|
603
603
|
}), _defineProperty(_DEFAULT_PROPS, PARTICULAR_CONDITION, {
|
|
604
|
-
|
|
604
|
+
colorTheme: 'gray'
|
|
605
605
|
}), _defineProperty(_DEFAULT_PROPS, ADHERED_DIGITAL_BILL, {
|
|
606
|
+
colorTheme: 'success',
|
|
606
607
|
weight: 'medium',
|
|
607
608
|
variant: 'small'
|
|
608
609
|
}), _defineProperty(_DEFAULT_PROPS, TYPE_AND_NUMBER_TYPE, {
|
|
@@ -618,30 +619,31 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
|
|
|
618
619
|
}), _defineProperty(_DEFAULT_PROPS, EXCEEDED_POWER_VALUE, {
|
|
619
620
|
variant: 'subtitle2'
|
|
620
621
|
}), _defineProperty(_DEFAULT_PROPS, EXCEEDED_POWER_FINE, {
|
|
622
|
+
colorTheme: 'error',
|
|
621
623
|
weight: 'regular'
|
|
622
624
|
}), _defineProperty(_DEFAULT_PROPS, POWER_CONSUMPTION_TEXT, {
|
|
623
625
|
weight: 'regular'
|
|
624
626
|
}), _defineProperty(_DEFAULT_PROPS, POWER_CONSUMPTION_TEXT_GRAY, {
|
|
625
627
|
weight: 'regular',
|
|
626
|
-
|
|
628
|
+
colorTheme: 'gray'
|
|
627
629
|
}), _defineProperty(_DEFAULT_PROPS, RATE_AND_CATEGORY_MAIN_TEXT, {
|
|
628
630
|
weight: 'regular',
|
|
629
631
|
variant: 'subtitle2'
|
|
630
632
|
}), _defineProperty(_DEFAULT_PROPS, RATE_DATA_SUBTITLE, {
|
|
631
633
|
weight: 'medium',
|
|
632
|
-
|
|
634
|
+
colorTheme: 'gray'
|
|
633
635
|
}), _defineProperty(_DEFAULT_PROPS, PURCHASED_RATE_DESCRIPTION, {
|
|
634
636
|
weight: 'regular'
|
|
635
637
|
}), _defineProperty(_DEFAULT_PROPS, STAGE_DETAIL, {
|
|
636
638
|
variant: 'small',
|
|
637
639
|
weight: 'regular',
|
|
638
|
-
|
|
640
|
+
colorTheme: 'gray'
|
|
639
641
|
}), _defineProperty(_DEFAULT_PROPS, ADVICE_TITLE, {
|
|
640
642
|
weight: 'medium',
|
|
641
643
|
variant: 'subtitle1'
|
|
642
644
|
}), _defineProperty(_DEFAULT_PROPS, ADVICE_SUBTITLE, {
|
|
643
645
|
variant: 'subtitle2',
|
|
644
|
-
|
|
646
|
+
colorTheme: 'gray'
|
|
645
647
|
}), _defineProperty(_DEFAULT_PROPS, POWER_CONSUMPTION, {
|
|
646
648
|
variant: 'title2',
|
|
647
649
|
weight: 'regular'
|
|
@@ -654,22 +656,23 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
|
|
|
654
656
|
}), _defineProperty(_DEFAULT_PROPS, BILL_CALC_CONCEPT_TITLE, {
|
|
655
657
|
variant: 'subtitle1',
|
|
656
658
|
weight: 'medium',
|
|
657
|
-
|
|
659
|
+
colorTheme: 'information'
|
|
658
660
|
}), _defineProperty(_DEFAULT_PROPS, SUMMARY_PERIOD, {
|
|
659
661
|
weight: 'medium',
|
|
660
662
|
variant: 'subtitle1',
|
|
661
|
-
|
|
663
|
+
colorTheme: 'information'
|
|
662
664
|
}), _defineProperty(_DEFAULT_PROPS, RATE, {
|
|
663
665
|
weight: 'medium',
|
|
664
666
|
variant: 'title1',
|
|
665
|
-
|
|
667
|
+
colorTheme: 'information'
|
|
666
668
|
}), _defineProperty(_DEFAULT_PROPS, CATEGORY, {
|
|
669
|
+
colorTheme: 'success',
|
|
667
670
|
weight: 'medium',
|
|
668
671
|
variant: 'small'
|
|
669
672
|
}), _defineProperty(_DEFAULT_PROPS, CATEGORY_DEFINITION, {
|
|
670
673
|
variant: 'subtitle2'
|
|
671
674
|
}), _defineProperty(_DEFAULT_PROPS, LINE_DESCRIPTION, {
|
|
672
|
-
|
|
675
|
+
colorTheme: 'gray'
|
|
673
676
|
}), _defineProperty(_DEFAULT_PROPS, CONCEPT_TITLE, {
|
|
674
677
|
weight: 'medium',
|
|
675
678
|
variant: 'subtitle2'
|
|
@@ -682,7 +685,7 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
|
|
|
682
685
|
}), _defineProperty(_DEFAULT_PROPS, BILL_RATE_PRICES_SUBTITLE, {
|
|
683
686
|
weight: 'regular'
|
|
684
687
|
}), _defineProperty(_DEFAULT_PROPS, WEATHER_PROVIDER_INFORMATION, {
|
|
685
|
-
|
|
688
|
+
colorTheme: 'gray',
|
|
686
689
|
variant: 'small',
|
|
687
690
|
withMarkdown: true
|
|
688
691
|
}), _defineProperty(_DEFAULT_PROPS, SEASON, {
|
|
@@ -702,7 +705,6 @@ var DEFAULT_PROPS = (_DEFAULT_PROPS = {}, _defineProperty(_DEFAULT_PROPS, TITLE,
|
|
|
702
705
|
}), _defineProperty(_DEFAULT_PROPS, RATE_PRICES_AMOUNT, {
|
|
703
706
|
variant: 'subtitle2'
|
|
704
707
|
}), _defineProperty(_DEFAULT_PROPS, GLOSSARY_LINK, {
|
|
705
|
-
variant: 'small'
|
|
706
|
-
color: COLORS.SECONDARY
|
|
708
|
+
variant: 'small'
|
|
707
709
|
}), _DEFAULT_PROPS);
|
|
708
710
|
exports.DEFAULT_PROPS = DEFAULT_PROPS;
|
|
@@ -4,10 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.assetsTypes = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = require("prop-types");
|
|
9
|
-
|
|
10
8
|
var _componentsTypes = require("./componentsTypes");
|
|
11
|
-
|
|
12
9
|
var assetsTypes = (0, _propTypes.objectOf)(_componentsTypes.componentTypes);
|
|
13
10
|
exports.assetsTypes = assetsTypes;
|
|
@@ -3,16 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.settlementsTypes = exports.periodTypes = exports.consumptionTypes = exports.billDataTypes = void 0;
|
|
7
|
-
|
|
6
|
+
exports.settlementsTypes = exports.periodsTypes = exports.periodTypes = exports.consumptionTypes = exports.billDataTypes = void 0;
|
|
8
7
|
var _propTypes = require("prop-types");
|
|
9
|
-
|
|
10
|
-
var consumptionTypes = (0, _propTypes.arrayOf)((0, _propTypes.shape)({
|
|
8
|
+
var consumptionTypes = (0, _propTypes.shape)({
|
|
11
9
|
magnitude: _propTypes.string,
|
|
12
10
|
type: _propTypes.string,
|
|
13
11
|
unit: _propTypes.string,
|
|
14
12
|
value: _propTypes.number
|
|
15
|
-
})
|
|
13
|
+
});
|
|
16
14
|
exports.consumptionTypes = consumptionTypes;
|
|
17
15
|
var settlementsTypes = (0, _propTypes.shape)({
|
|
18
16
|
periodicity: _propTypes.string,
|
|
@@ -20,15 +18,15 @@ var settlementsTypes = (0, _propTypes.shape)({
|
|
|
20
18
|
total_settlements_days: _propTypes.number,
|
|
21
19
|
start_date: _propTypes.string,
|
|
22
20
|
end_date: _propTypes.string,
|
|
23
|
-
current: {
|
|
21
|
+
current: (0, _propTypes.shape)({
|
|
24
22
|
number: _propTypes.number,
|
|
25
23
|
issued_on: _propTypes.string,
|
|
26
|
-
consumptions: (0, _propTypes.shape)({
|
|
24
|
+
consumptions: (0, _propTypes.arrayOf)((0, _propTypes.shape)({
|
|
27
25
|
unit: _propTypes.string,
|
|
28
26
|
magnitude: _propTypes.string,
|
|
29
27
|
value: _propTypes.number
|
|
30
|
-
})
|
|
31
|
-
},
|
|
28
|
+
}))
|
|
29
|
+
}),
|
|
32
30
|
remaining: (0, _propTypes.arrayOf)((0, _propTypes.shape)({
|
|
33
31
|
number: _propTypes.number,
|
|
34
32
|
days: _propTypes.number,
|
|
@@ -41,14 +39,16 @@ var settlementsTypes = (0, _propTypes.shape)({
|
|
|
41
39
|
}))
|
|
42
40
|
});
|
|
43
41
|
exports.settlementsTypes = settlementsTypes;
|
|
44
|
-
var periodTypes = (0, _propTypes.
|
|
42
|
+
var periodTypes = (0, _propTypes.shape)({
|
|
45
43
|
current: _propTypes.bool,
|
|
46
44
|
number: _propTypes.string,
|
|
47
45
|
year: _propTypes.string,
|
|
48
46
|
settlements: settlementsTypes,
|
|
49
|
-
consumptions: consumptionTypes
|
|
50
|
-
})
|
|
47
|
+
consumptions: (0, _propTypes.arrayOf)(consumptionTypes)
|
|
48
|
+
});
|
|
51
49
|
exports.periodTypes = periodTypes;
|
|
50
|
+
var periodsTypes = (0, _propTypes.arrayOf)(periodTypes);
|
|
51
|
+
exports.periodsTypes = periodsTypes;
|
|
52
52
|
var billDataTypes = (0, _propTypes.shape)({
|
|
53
53
|
bill_type: _propTypes.string,
|
|
54
54
|
bill_number: _propTypes.string,
|
|
@@ -59,7 +59,7 @@ var billDataTypes = (0, _propTypes.shape)({
|
|
|
59
59
|
date: _propTypes.string,
|
|
60
60
|
amount: _propTypes.number
|
|
61
61
|
})),
|
|
62
|
-
periods:
|
|
62
|
+
periods: periodsTypes,
|
|
63
63
|
client: (0, _propTypes.shape)({
|
|
64
64
|
account_address: _propTypes.string,
|
|
65
65
|
postal_address: _propTypes.string,
|
|
@@ -1,24 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
6
|
exports.unpackedComponentsTypes = exports.componentsTypes = exports.componentTypes = void 0;
|
|
9
|
-
|
|
10
7
|
var _propTypes = require("prop-types");
|
|
11
|
-
|
|
12
8
|
var COMPONENTS = _interopRequireWildcard(require("../constants/components"));
|
|
13
|
-
|
|
14
9
|
var _shape;
|
|
15
|
-
|
|
16
10
|
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); }
|
|
17
|
-
|
|
18
11
|
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; }
|
|
19
|
-
|
|
20
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
21
|
-
|
|
12
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
13
|
+
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; }
|
|
14
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
|
+
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); }
|
|
22
16
|
var componentTypes = (0, _propTypes.oneOfType)([_propTypes.element, _propTypes.node, _propTypes.func, _propTypes.any]);
|
|
23
17
|
exports.componentTypes = componentTypes;
|
|
24
18
|
var componentsTypes = (0, _propTypes.shape)((_shape = {}, _defineProperty(_shape, COMPONENTS.BUTTON, componentTypes), _defineProperty(_shape, COMPONENTS.DIALOG, componentTypes), _defineProperty(_shape, COMPONENTS.EXTERNAL_LINK, componentTypes), _defineProperty(_shape, COMPONENTS.LABEL, componentTypes), _defineProperty(_shape, COMPONENTS.PROGRESS_BAR, componentTypes), _defineProperty(_shape, COMPONENTS.TOOLTIP, componentTypes), _defineProperty(_shape, COMPONENTS.TOUCHABLE, componentTypes), _defineProperty(_shape, COMPONENTS.CARD, componentTypes), _defineProperty(_shape, COMPONENTS.MARKDOWN, componentTypes), _defineProperty(_shape, COMPONENTS.TOGGLE, componentTypes), _defineProperty(_shape, COMPONENTS.BAR_CHART, componentTypes), _defineProperty(_shape, COMPONENTS.PIE_CHART, componentTypes), _shape));
|
|
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.formattersTypes = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = require("prop-types");
|
|
9
|
-
|
|
10
8
|
var formattersTypes = (0, _propTypes.shape)({
|
|
11
9
|
billNumberFormatter: _propTypes.func,
|
|
12
10
|
clientNumberFormatter: _propTypes.func
|
|
@@ -4,9 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.subStageType = exports.stageType = exports.rateStagesTypes = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = require("prop-types");
|
|
9
|
-
|
|
10
8
|
var subStageType = (0, _propTypes.shape)({
|
|
11
9
|
category: _propTypes.number,
|
|
12
10
|
name: _propTypes.string,
|
|
@@ -4,23 +4,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.contextApiInfoTypes = void 0;
|
|
7
|
-
|
|
8
7
|
var _propTypes = require("prop-types");
|
|
9
|
-
|
|
10
8
|
var _assetsTypes = require("./assetsTypes");
|
|
11
|
-
|
|
12
9
|
var _textsTypes = require("./textsTypes");
|
|
13
|
-
|
|
14
10
|
var _formattersTypes = require("./formattersTypes");
|
|
15
|
-
|
|
16
11
|
var _componentsTypes = require("./componentsTypes");
|
|
17
|
-
|
|
12
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
18
13
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
19
|
-
|
|
20
14
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
15
|
+
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; }
|
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
17
|
+
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); }
|
|
24
18
|
var configTypes = (0, _propTypes.shape)({
|
|
25
19
|
texts: _textsTypes.textsTypes,
|
|
26
20
|
formatters: _formattersTypes.formattersTypes
|