@widergy/utilitygo-smart-bill-web 3.5.1 → 3.5.2
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 +8 -0
- package/dist/components/MainBillData/components/BillBody/components/ClientData/index.js +1 -1
- package/dist/components/MainBillData/components/BillBody/components/ReadingDetails/index.js +3 -3
- package/dist/components/MainBillData/components/BillHeader/index.js +1 -1
- package/dist/components/MainBillData/components/BillHeader/styles.module.scss +0 -3
- package/dist/components/Period/index.js +3 -2
- package/dist/constants/testsIds.js +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## [3.5.2](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v3.5.1...v3.5.2) (2025-04-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [AUT-657] key fixes ([1bfa01e](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/1bfa01e2d1cc495d63d7f62a1ebf27c6d848f697))
|
|
7
|
+
* [AUT-657] test ids fixes ([afc08f6](https://github.com/widergy/UtilityGO-Smart-Bill-Web/commit/afc08f61d10843974d70d044c8993dcdcd9254a6))
|
|
8
|
+
|
|
1
9
|
## [3.5.1](https://github.com/widergy/UtilityGO-Smart-Bill-Web/compare/v3.5.0...v3.5.1) (2025-04-30)
|
|
2
10
|
|
|
3
11
|
|
|
@@ -39,7 +39,7 @@ const ClientData = _ref => {
|
|
|
39
39
|
}, /*#__PURE__*/_react.default.createElement(Label, {
|
|
40
40
|
alias: _aliases.TITLE,
|
|
41
41
|
className: _stylesModule.default.title,
|
|
42
|
-
dataTestId: _testsIds.smartBill
|
|
42
|
+
dataTestId: _testsIds.smartBill.clientData.clientDataTitle
|
|
43
43
|
}, texts.mainBillData.clientDataTitle), /*#__PURE__*/_react.default.createElement(_IconAndDetails.default, {
|
|
44
44
|
classes: {
|
|
45
45
|
container: _stylesModule.default.iconAndDetailsContainer
|
|
@@ -61,7 +61,7 @@ const ReadingDetails = _ref => {
|
|
|
61
61
|
classes: {
|
|
62
62
|
container: _stylesModule.default.iconDetail
|
|
63
63
|
},
|
|
64
|
-
dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.
|
|
64
|
+
dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.readingType,
|
|
65
65
|
descriptionText: texts.mainBillData.readingType,
|
|
66
66
|
Icon: assets.ReadingTypeGenericIcon,
|
|
67
67
|
mainAlias: _aliases.MAIN_LIGHT,
|
|
@@ -74,7 +74,7 @@ const ReadingDetails = _ref => {
|
|
|
74
74
|
classes: {
|
|
75
75
|
container: _stylesModule.default.leftItems
|
|
76
76
|
},
|
|
77
|
-
dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.
|
|
77
|
+
dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.transformationCenter,
|
|
78
78
|
descriptionText: texts.mainBillData.transformationCenter,
|
|
79
79
|
Icon: assets.TransformationAndFeederCenterIcon,
|
|
80
80
|
mainAlias: _aliases.MAIN_LIGHT,
|
|
@@ -85,7 +85,7 @@ const ReadingDetails = _ref => {
|
|
|
85
85
|
classes: {
|
|
86
86
|
container: _stylesModule.default.iconDetail
|
|
87
87
|
},
|
|
88
|
-
dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.
|
|
88
|
+
dataTestId: _testsIds.smartBill.mainBillData.billBody.readingDetails.iconAndDetails.feederLine,
|
|
89
89
|
descriptionText: texts.mainBillData.feederCenter,
|
|
90
90
|
Icon: assets.TransformationAndFeederCenterIcon,
|
|
91
91
|
mainAlias: _aliases.MAIN_LIGHT,
|
|
@@ -79,7 +79,7 @@ const BillHeader = _ref => {
|
|
|
79
79
|
text: texts.Base.issuedOnDate
|
|
80
80
|
})), isDesktopSize && debtStatusValidation && /*#__PURE__*/_react.default.createElement(DebtStatusLabel, null)), /*#__PURE__*/_react.default.createElement("div", {
|
|
81
81
|
className: _stylesModule.default.debtStatusLabelMobile
|
|
82
|
-
}, isMobileOrTablet && debtStatusValidation && /*#__PURE__*/_react.default.createElement(DebtStatusLabel, null))), /*#__PURE__*/_react.default.createElement("div", {
|
|
82
|
+
}, isMobileOrTablet && debtStatusValidation && /*#__PURE__*/_react.default.createElement(DebtStatusLabel, null))), !isDesktopSize && /*#__PURE__*/_react.default.createElement("div", {
|
|
83
83
|
className: _stylesModule.default.periodContainer
|
|
84
84
|
}, /*#__PURE__*/_react.default.createElement(_Period.default, {
|
|
85
85
|
currentPeriod: currentPeriod,
|
|
@@ -95,7 +95,7 @@ const Period = _ref => {
|
|
|
95
95
|
content: texts.mainBillData.periodTooltip,
|
|
96
96
|
dataTestId: _testsIds.smartBill.period.periodTooltip
|
|
97
97
|
}, /*#__PURE__*/_react.default.createElement(assets.QuestionsIcon, {
|
|
98
|
-
|
|
98
|
+
"data-testid": _testsIds.smartBill.period.tooltipIcon,
|
|
99
99
|
style: {
|
|
100
100
|
fill: colors.tooltipIcon
|
|
101
101
|
}
|
|
@@ -130,6 +130,7 @@ const Period = _ref => {
|
|
|
130
130
|
}, `${(0, _utils.stringOrDash)(year)} - ${period} ${(0, _utils.numberOrDash)(currentSettlement)}`), issuedOnDateLabel)), debtStatusValidation && /*#__PURE__*/_react.default.createElement("div", {
|
|
131
131
|
className: _stylesModule.default.debtState
|
|
132
132
|
}, /*#__PURE__*/_react.default.createElement(_DebtState.default, {
|
|
133
|
+
dataTestId: _testsIds.smartBill.period.debtState,
|
|
133
134
|
debtStatusLabel: debtStatusLabel,
|
|
134
135
|
isWarning: billData?.warning
|
|
135
136
|
}))) : /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -152,7 +153,7 @@ const Period = _ref => {
|
|
|
152
153
|
content: texts.mainBillData.periodTooltip,
|
|
153
154
|
dataTestId: _testsIds.smartBill.period.periodTooltip
|
|
154
155
|
}, /*#__PURE__*/_react.default.createElement(assets.QuestionsIcon, {
|
|
155
|
-
|
|
156
|
+
"data-testid": _testsIds.smartBill.period.tooltipIcon,
|
|
156
157
|
style: {
|
|
157
158
|
fill: colors.tooltipIcon
|
|
158
159
|
}
|
|
@@ -124,6 +124,7 @@ const smartBill = exports.smartBill = {
|
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
period: {
|
|
127
|
+
debtState: `${ID_CONSTANTS.SMART_BILL}.${ID_CONSTANTS.PERIOD}.debtState`,
|
|
127
128
|
periodLabel: `${ID_CONSTANTS.SMART_BILL}.${ID_CONSTANTS.PERIOD}.periodLabel`,
|
|
128
129
|
periodTooltip: `${ID_CONSTANTS.SMART_BILL}.${ID_CONSTANTS.PERIOD}.periodTooltip`,
|
|
129
130
|
tooltipIcon: `${ID_CONSTANTS.SMART_BILL}.${ID_CONSTANTS.PERIOD}.tooltipIcon`
|