@sapui5/sap.suite.ui.commons 1.120.18 → 1.120.20
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/package.json +1 -1
- package/src/sap/suite/ui/commons/.library +1 -1
- package/src/sap/suite/ui/commons/AriaProperties.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilder.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderExpression.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderFunction.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderGroup.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderItem.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderValidationResult.js +1 -1
- package/src/sap/suite/ui/commons/CalculationBuilderVariable.js +1 -1
- package/src/sap/suite/ui/commons/CloudFilePicker.js +1 -1
- package/src/sap/suite/ui/commons/MicroProcessFlow.js +1 -1
- package/src/sap/suite/ui/commons/MicroProcessFlowItem.js +1 -1
- package/src/sap/suite/ui/commons/flexibility/changeHandler/PropertyChangeMapper.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropCustomShapeHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropEllipseHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CropRectangleHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/CustomSizeItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/FilterHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/FlipHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/HistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditor.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditorContainer.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ImageEditorResponsiveContainer.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/ResizeHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/imageeditor/RotateHistoryItem.js +1 -1
- package/src/sap/suite/ui/commons/library.js +1 -1
- package/src/sap/suite/ui/commons/messagebundle.properties +10 -0
- package/src/sap/suite/ui/commons/messagebundle_sv.properties +4 -4
- package/src/sap/suite/ui/commons/statusindicator/Circle.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/CustomShape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/DiscreteThreshold.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/FillingOption.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/LibraryShape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Path.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/PropertyThreshold.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Rectangle.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/Shape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/ShapeGroup.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/SimpleShape.js +1 -1
- package/src/sap/suite/ui/commons/statusindicator/StatusIndicator.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccount.js +57 -6
- package/src/sap/suite/ui/commons/taccount/TAccountGroup.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountItem.js +3 -2
- package/src/sap/suite/ui/commons/taccount/TAccountItemProperty.js +1 -1
- package/src/sap/suite/ui/commons/taccount/TAccountPanel.js +1 -1
- package/src/sap/suite/ui/commons/themes/base/TAccount.less +28 -5
package/package.json
CHANGED
|
@@ -696,6 +696,16 @@ COLORED_ITEM_FROM=Colored Item from Journal Entry
|
|
|
696
696
|
TACCOUNT_DROP_HERE=Drop Here
|
|
697
697
|
#XCAP: T Account no data text
|
|
698
698
|
TACCOUNT_NO_DATA=No data.
|
|
699
|
+
#XCAP: T Account debit
|
|
700
|
+
TACCOUNT_DEBIT_NUMBER=Debit {0}
|
|
701
|
+
#XCAP: T Account credit
|
|
702
|
+
TACCOUNT_CREDIT_NUMBER=Credit {0}
|
|
703
|
+
#XCAP: T Account debit
|
|
704
|
+
TACCOUNT_TOTAL_DEBIT_NUMBER=Total Debit {0}
|
|
705
|
+
#XCAP: T Account credit
|
|
706
|
+
TACCOUNT_TOTAL_CREDIT_NUMBER=Total Credit {0}
|
|
707
|
+
#XCAP: T AccountItems wrapper
|
|
708
|
+
TACCOUNT_ITEM_WRAPPER=List with interactive items. To move to the content press F2
|
|
699
709
|
|
|
700
710
|
#XMSG: Message Toast shown when the image is automatically scaled down because of the restrictions of the platform that the ImageEditor is currently running on
|
|
701
711
|
IMGEDITOR_SCALE_WARNING=The image was scaled down to {0} x {1} px from {2} x {3} px to ensure better compatibility with your device.
|
|
@@ -102,7 +102,7 @@ UNIFIEDTHINGINSPECTOR_FOOTER_BUTTON_OPENWITH=\u00D6ppna i
|
|
|
102
102
|
FACETOVERVIEW_NO_CONTENT_TEXT=Inget tillg\u00E4ngligt inneh\u00E5ll
|
|
103
103
|
UNIFIEDTHINGINSPECTOR_FOOTER_BUTTON_EMAIL_LINK=Skicka e-postl\u00E4nk
|
|
104
104
|
UNIFIEDTHINGINSPECTOR_GENERAL_INFORMATION_HEADER_TEXT=Allm\u00E4n information
|
|
105
|
-
FACETOVERVIEW_NO_ITEMS_TEXT=Inga
|
|
105
|
+
FACETOVERVIEW_NO_ITEMS_TEXT=Inga objekt tillg\u00E4ngliga
|
|
106
106
|
INFOTILE_CANNOT_LOAD_TILE=Panel kan inte l\u00E4sas in
|
|
107
107
|
INFOTILE_LOADING=L\u00E4ser in
|
|
108
108
|
|
|
@@ -120,7 +120,7 @@ USHELL_FACTSHEET_ENTER_YOUR_FILTER=Ange ditt filterv\u00E4rde h\u00E4r
|
|
|
120
120
|
TIMELINE_TODAY=Idag
|
|
121
121
|
TIMELINE_YESTERDAY=Ig\u00E5r
|
|
122
122
|
TIMELINE_AT=kl.
|
|
123
|
-
TIMELINE_NO_DATA=Inga
|
|
123
|
+
TIMELINE_NO_DATA=Inga objekt \u00E4r tillg\u00E4ngliga just nu
|
|
124
124
|
TIMELINE_FILTER_BY=Filtrera efter
|
|
125
125
|
TIMELINE_ALL=Alla
|
|
126
126
|
TIMELINE_FILTER_CANCEL=Avbryt
|
|
@@ -158,7 +158,7 @@ TIMELINE_SEARCH_FIELD=S\u00F6kf\u00E4lt
|
|
|
158
158
|
TIMELINE_SORT_BUTTON=Sorteringsknapp
|
|
159
159
|
TIMELINE_FILTER_BUTTON=Filterknapp
|
|
160
160
|
TIMELINE_RANGE_SELECTION=Tidsintervall
|
|
161
|
-
TIMELINE_FILTER_ITEMS=
|
|
161
|
+
TIMELINE_FILTER_ITEMS=Objekt
|
|
162
162
|
TIMELINE_NO_LIMIT_DATA=Min. och max. f\u00F6r aktuell tidslinje hittades ej.
|
|
163
163
|
TIMELINE_USER_PICTURE=Bild p\u00E5 anv\u00E4ndare
|
|
164
164
|
TIMELINE_ACCESSIBILITY_TITLE=Tidslinje
|
|
@@ -273,7 +273,7 @@ MICRO_PROCESS_FLOW_SUCCESS=OK
|
|
|
273
273
|
MICRO_PROCESS_FLOW_WARNING=Varning
|
|
274
274
|
MICRO_PROCESS_FLOW_ERROR=Fel
|
|
275
275
|
MICRO_PROCESS_FLOW_INFORMATION=Information
|
|
276
|
-
MICRO_PROCESS_FLOW_ITEM=
|
|
276
|
+
MICRO_PROCESS_FLOW_ITEM=Objekt
|
|
277
277
|
|
|
278
278
|
|
|
279
279
|
CALCULATION_BUILDER_SEARCH_VARIABLE=S\u00F6k...
|
|
@@ -49,7 +49,7 @@ sap.ui.define([
|
|
|
49
49
|
* @extends sap.ui.core.Control
|
|
50
50
|
*
|
|
51
51
|
* @author SAP SE
|
|
52
|
-
* @version 1.120.
|
|
52
|
+
* @version 1.120.20
|
|
53
53
|
* @since 1.58.0
|
|
54
54
|
*
|
|
55
55
|
* @constructor
|
|
@@ -271,6 +271,8 @@ sap.ui.define([
|
|
|
271
271
|
|
|
272
272
|
oRm.openEnd();
|
|
273
273
|
|
|
274
|
+
oRm.renderControl(oAccount._getAriaRowForTAccount());
|
|
275
|
+
|
|
274
276
|
if (bHasData || oAccount.getOpening()) {
|
|
275
277
|
oRm.openStart("div");
|
|
276
278
|
oRm.class("sapSuiteUiCommonsAccountTHeader");
|
|
@@ -298,6 +300,8 @@ sap.ui.define([
|
|
|
298
300
|
if (oAccount.getOpening()) {
|
|
299
301
|
oRm.openStart("div")
|
|
300
302
|
.class("sapSuiteUiCommonsAccountOpeningHeader")
|
|
303
|
+
.attr("tabindex","0")
|
|
304
|
+
.attr("aria-labelledby",oAccount._getAriaRowForTAccount().getId())
|
|
301
305
|
.openEnd();
|
|
302
306
|
oRm.openStart("span")
|
|
303
307
|
.attr("id", oAccount.getId() + "-opening-debit-text")
|
|
@@ -311,12 +315,16 @@ sap.ui.define([
|
|
|
311
315
|
.openEnd()
|
|
312
316
|
.text(sOpeningCredit + " " + sUnit)
|
|
313
317
|
.close("span");
|
|
318
|
+
oRm.openStart("div")
|
|
319
|
+
.class("sapSuiteUiCommonsAccountFocus")
|
|
320
|
+
.openEnd();
|
|
321
|
+
oRm.close("div");
|
|
314
322
|
oRm.close("div");
|
|
315
323
|
}
|
|
316
324
|
|
|
317
|
-
oRm.openStart("div")
|
|
325
|
+
oRm.openStart("div",oAccount.getId() + "-itemWrapper")
|
|
318
326
|
.class("sapSuiteUiCommonsAccountTBody")
|
|
319
|
-
.attr("
|
|
327
|
+
.attr("tabindex","0")
|
|
320
328
|
.openEnd();
|
|
321
329
|
|
|
322
330
|
if (oAccount._isOrdered()) {
|
|
@@ -336,7 +344,7 @@ sap.ui.define([
|
|
|
336
344
|
.attr("role", "listbox")
|
|
337
345
|
.attr("aria-labelledby", oAccount.getId() + "-debit-text")
|
|
338
346
|
.openEnd();
|
|
339
|
-
fnWriteColumn(oAccount.getDebit(),
|
|
347
|
+
fnWriteColumn(oAccount.getDebit(),true);
|
|
340
348
|
}
|
|
341
349
|
oRm.close("div");
|
|
342
350
|
|
|
@@ -346,7 +354,7 @@ sap.ui.define([
|
|
|
346
354
|
.attr("role", "listbox")
|
|
347
355
|
.attr("aria-labelledby", oAccount.getId() + "-credit-text")
|
|
348
356
|
.openEnd();
|
|
349
|
-
fnWriteColumn(oAccount.getCredit(),
|
|
357
|
+
fnWriteColumn(oAccount.getCredit(),false);
|
|
350
358
|
oRm.close("div");
|
|
351
359
|
}
|
|
352
360
|
|
|
@@ -367,6 +375,8 @@ sap.ui.define([
|
|
|
367
375
|
.close("div");
|
|
368
376
|
oRm.openStart("div")
|
|
369
377
|
.class("sapSuiteUiCommonsAccountClosingHeader")
|
|
378
|
+
.attr("aria-labelledby",oAccount._getAriaRowForTAccount().getId())
|
|
379
|
+
.attr("tabindex","0")
|
|
370
380
|
.openEnd();
|
|
371
381
|
oRm.openStart("span")
|
|
372
382
|
.attr("id", oAccount.getId() + "-closing-debit-text")
|
|
@@ -380,6 +390,10 @@ sap.ui.define([
|
|
|
380
390
|
.openEnd()
|
|
381
391
|
.text(fnCountBalance(false) + " " + sUnit)
|
|
382
392
|
.close("span");
|
|
393
|
+
oRm.openStart("div")
|
|
394
|
+
.class("sapSuiteUiCommonsAccountFocus")
|
|
395
|
+
.openEnd();
|
|
396
|
+
oRm.close("div");
|
|
383
397
|
oRm.close("div");
|
|
384
398
|
}
|
|
385
399
|
|
|
@@ -448,6 +462,32 @@ sap.ui.define([
|
|
|
448
462
|
}
|
|
449
463
|
};
|
|
450
464
|
|
|
465
|
+
TAccount.prototype.onfocusin = function (oEvent) {
|
|
466
|
+
const oCurrentTarget = oEvent.target;
|
|
467
|
+
|
|
468
|
+
const bIsOpeningHeader = oCurrentTarget.classList.contains("sapSuiteUiCommonsAccountOpeningHeader");
|
|
469
|
+
const bIsClosingHeader = oCurrentTarget.classList.contains("sapSuiteUiCommonsAccountClosingHeader");
|
|
470
|
+
if (!(bIsOpeningHeader || bIsClosingHeader)) {
|
|
471
|
+
return;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
const sDebitText = oCurrentTarget.childNodes[0]?.innerText;
|
|
475
|
+
const sCreditText = oCurrentTarget.childNodes[1]?.innerText;
|
|
476
|
+
|
|
477
|
+
let sAriaText = "";
|
|
478
|
+
|
|
479
|
+
if (sDebitText) {
|
|
480
|
+
sAriaText += (bIsOpeningHeader) ? oResourceBundle.getText("TACCOUNT_DEBIT_NUMBER",[sDebitText]) : oResourceBundle.getText("TACCOUNT_TOTAL_DEBIT_NUMBER",[sDebitText]);
|
|
481
|
+
sAriaText += " ";
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
if (sCreditText) {
|
|
485
|
+
sAriaText += (bIsOpeningHeader) ? oResourceBundle.getText("TACCOUNT_CREDIT_NUMBER",[sCreditText]) : oResourceBundle.getText("TACCOUNT_TOTAL_CREDIT_NUMBER",[sCreditText]);
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
this._getAriaRowForTAccount().setText(sAriaText);
|
|
489
|
+
};
|
|
490
|
+
|
|
451
491
|
/* =========================================================== */
|
|
452
492
|
/* Public methods */
|
|
453
493
|
/* =========================================================== */
|
|
@@ -475,7 +515,7 @@ sap.ui.define([
|
|
|
475
515
|
|
|
476
516
|
this._oItemNavigation.setRootDomRef(this.$().find(".sapSuiteUiCommonsAccountTBody")[0]);
|
|
477
517
|
this._oItemNavigation.setItemDomRefs(this.$().find(".sapSuiteUiCommonsAccountItem"));
|
|
478
|
-
this._oItemNavigation.setCycling(
|
|
518
|
+
this._oItemNavigation.setCycling(false);
|
|
479
519
|
};
|
|
480
520
|
|
|
481
521
|
TAccount.prototype._isInGroup = function () {
|
|
@@ -568,6 +608,17 @@ sap.ui.define([
|
|
|
568
608
|
return this._oMarkText;
|
|
569
609
|
};
|
|
570
610
|
|
|
611
|
+
TAccount.prototype._getAriaRowForTAccount = function () {
|
|
612
|
+
if (!this._oTableRowText) {
|
|
613
|
+
this._oTableRowText = new InvisibleText({
|
|
614
|
+
id: this.getId() + "-row-text"
|
|
615
|
+
}
|
|
616
|
+
);
|
|
617
|
+
this.addDependent(this._oTableRowText);
|
|
618
|
+
}
|
|
619
|
+
return this._oTableRowText;
|
|
620
|
+
};
|
|
621
|
+
|
|
571
622
|
TAccount.prototype._getSum = function () {
|
|
572
623
|
if (this._iSum == null) {
|
|
573
624
|
var iSum = new BigNumber("0");
|
|
@@ -28,7 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
* @extends sap.ui.core.Control
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
|
-
* @version 1.120.
|
|
31
|
+
* @version 1.120.20
|
|
32
32
|
* @since 1.58.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
@@ -85,8 +85,9 @@ sap.ui.define([
|
|
|
85
85
|
sValue = TAccountUtils.formatCurrency(new BigNumber(oItem.getValue()), sUnit, oPanelParent ? oPanelParent.getMaxFractionDigits() : 0),
|
|
86
86
|
sTextValue = sValue + " " + sUnit;
|
|
87
87
|
|
|
88
|
-
oRm.openStart("div", oItem)
|
|
88
|
+
oRm.openStart("div", oItem);
|
|
89
89
|
oRm.class("sapSuiteUiCommonsAccountItem");
|
|
90
|
+
oRm.attr("tabindex","-1");
|
|
90
91
|
|
|
91
92
|
if (oItem.getGroup()) {
|
|
92
93
|
oRm.attr("group", oItem.getGroup());
|
|
@@ -83,10 +83,6 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
83
83
|
display: flex;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.sapSuiteUiCommonsAccountGroupCollapseIcon {
|
|
87
|
-
height: 0.9375rem;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
86
|
.sapSuiteUiCommonsAccount:focus {
|
|
91
87
|
outline: 1px dotted @sapUiContentFocusColor;
|
|
92
88
|
}
|
|
@@ -121,6 +117,27 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
121
117
|
height: auto;
|
|
122
118
|
font-size: @sapMFontSmallSize;
|
|
123
119
|
margin: 0 1rem;
|
|
120
|
+
outline: none;
|
|
121
|
+
position: relative;
|
|
122
|
+
&:focus {
|
|
123
|
+
.sapSuiteUiCommonsAccountFocus {
|
|
124
|
+
position: absolute;
|
|
125
|
+
outline: @sapContent_FocusWidth @sapContent_FocusStyle @sapContent_FocusColor;
|
|
126
|
+
right: -15px;
|
|
127
|
+
left: -15px;
|
|
128
|
+
top: 1px;
|
|
129
|
+
bottom: 2px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.sapSuiteUiCommonsAccountClosingHeader {
|
|
135
|
+
&:focus {
|
|
136
|
+
.sapSuiteUiCommonsAccountFocus {
|
|
137
|
+
top: 2px;
|
|
138
|
+
bottom: 1px;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
124
141
|
}
|
|
125
142
|
|
|
126
143
|
.sapSuiteUiCommonsAccountClosingHeader {
|
|
@@ -171,7 +188,7 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
171
188
|
.sapSuiteUiCommonsAccountHeaderTitle {
|
|
172
189
|
overflow: hidden;
|
|
173
190
|
text-overflow: ellipsis;
|
|
174
|
-
margin: 0.5rem 0.2608rem;
|
|
191
|
+
margin: 0.875rem 0.2608rem 0.5rem 0.2608rem;
|
|
175
192
|
max-height: 4.2rem;
|
|
176
193
|
min-height: 1rem;
|
|
177
194
|
display: -webkit-box;
|
|
@@ -179,6 +196,12 @@ html[dir=rtl] .sapSuiteUiCommonsAccountCredit .sapSuiteUiCommonsAccountContent{
|
|
|
179
196
|
-webkit-line-clamp: 4;
|
|
180
197
|
}
|
|
181
198
|
|
|
199
|
+
.sapUiSizeCompact {
|
|
200
|
+
.sapSuiteUiCommonsAccountHeaderTitle {
|
|
201
|
+
margin: 0.5rem 0.2608rem;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
182
205
|
.sapSuiteUiCommonsAccountTHeaderOpeningDebitTitle,
|
|
183
206
|
.sapSuiteUiCommonsAccountTHeaderOpeningCreditTitle {
|
|
184
207
|
font-size: @sapMFontMediumSize;
|