@ui5/webcomponents-fiori 1.2.0 → 1.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 +11 -0
- package/dist/ViewSettingsDialog.js +1 -3
- package/package.json +7 -7
- package/src/ViewSettingsDialog.js +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.2.1](https://github.com/SAP/ui5-webcomponents/compare/v1.2.0...v1.2.1) (2022-03-02)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui5-view-settings-dialog:** fix circular dependency JS error ([#4844](https://github.com/SAP/ui5-webcomponents/issues/4844)) ([057a7d8](https://github.com/SAP/ui5-webcomponents/commit/057a7d8)), closes [#4837](https://github.com/SAP/ui5-webcomponents/issues/4837)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [1.2.0](https://github.com/SAP/ui5-webcomponents/compare/v1.1.2...v1.2.0) (2022-02-28)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -416,7 +416,6 @@ class ViewSettingsDialog extends UI5Element {
|
|
|
416
416
|
return {
|
|
417
417
|
text: item.text,
|
|
418
418
|
selected: item.selected,
|
|
419
|
-
associatedItem: item,
|
|
420
419
|
index,
|
|
421
420
|
};
|
|
422
421
|
});
|
|
@@ -565,8 +564,7 @@ class ViewSettingsDialog extends UI5Element {
|
|
|
565
564
|
sortDescending = !this._currentSettings.sortOrder[0].selected,
|
|
566
565
|
sortBy = _currentSortBySelected && _currentSortBySelected.text,
|
|
567
566
|
sortByElementIndex = _currentSortBySelected && _currentSortBySelected.index,
|
|
568
|
-
|
|
569
|
-
sortByItem = initSortIByItem && initSortIByItem.associatedItem;
|
|
567
|
+
sortByItem = this.sortItems[sortByElementIndex];
|
|
570
568
|
return {
|
|
571
569
|
sortOrder,
|
|
572
570
|
sortDescending,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ui5/webcomponents-fiori",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "UI5 Web Components: webcomponents.fiori",
|
|
5
5
|
"ui5": {
|
|
6
6
|
"webComponentsPackage": true
|
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
"directory": "packages/fiori"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@ui5/webcomponents": "1.2.
|
|
46
|
-
"@ui5/webcomponents-base": "1.2.
|
|
47
|
-
"@ui5/webcomponents-icons": "1.2.
|
|
48
|
-
"@ui5/webcomponents-ie11": "1.2.
|
|
49
|
-
"@ui5/webcomponents-theming": "1.2.
|
|
45
|
+
"@ui5/webcomponents": "1.2.1",
|
|
46
|
+
"@ui5/webcomponents-base": "1.2.1",
|
|
47
|
+
"@ui5/webcomponents-icons": "1.2.1",
|
|
48
|
+
"@ui5/webcomponents-ie11": "1.2.1",
|
|
49
|
+
"@ui5/webcomponents-theming": "1.2.1",
|
|
50
50
|
"@zxing/library": "^0.18.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@ui5/webcomponents-tools": "1.2.
|
|
53
|
+
"@ui5/webcomponents-tools": "1.2.1",
|
|
54
54
|
"chromedriver": "98.0.0"
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -416,7 +416,6 @@ class ViewSettingsDialog extends UI5Element {
|
|
|
416
416
|
return {
|
|
417
417
|
text: item.text,
|
|
418
418
|
selected: item.selected,
|
|
419
|
-
associatedItem: item,
|
|
420
419
|
index,
|
|
421
420
|
};
|
|
422
421
|
});
|
|
@@ -565,8 +564,7 @@ class ViewSettingsDialog extends UI5Element {
|
|
|
565
564
|
sortDescending = !this._currentSettings.sortOrder[0].selected,
|
|
566
565
|
sortBy = _currentSortBySelected && _currentSortBySelected.text,
|
|
567
566
|
sortByElementIndex = _currentSortBySelected && _currentSortBySelected.index,
|
|
568
|
-
|
|
569
|
-
sortByItem = initSortIByItem && initSortIByItem.associatedItem;
|
|
567
|
+
sortByItem = this.sortItems[sortByElementIndex];
|
|
570
568
|
return {
|
|
571
569
|
sortOrder,
|
|
572
570
|
sortDescending,
|