@openui5/sap.f 1.122.1 → 1.123.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/package.json +4 -4
- package/src/sap/f/.library +1 -1
- package/src/sap/f/Avatar.js +1 -1
- package/src/sap/f/AvatarGroup.js +1 -1
- package/src/sap/f/AvatarGroupItem.js +1 -1
- package/src/sap/f/CalendarAppointmentInCard.js +1 -1
- package/src/sap/f/CalendarInCard.js +1 -1
- package/src/sap/f/Card.js +1 -1
- package/src/sap/f/CardBase.js +1 -1
- package/src/sap/f/DynamicPage.js +1 -1
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +1 -1
- package/src/sap/f/DynamicPageTitle.js +1 -1
- package/src/sap/f/FlexibleColumnLayout.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
- package/src/sap/f/GridContainer.js +3 -9
- package/src/sap/f/GridContainerItemLayoutData.js +4 -5
- package/src/sap/f/GridContainerSettings.js +2 -3
- package/src/sap/f/GridList.js +2 -2
- package/src/sap/f/GridListItem.js +1 -1
- package/src/sap/f/IllustratedMessage.js +1 -1
- package/src/sap/f/Illustration.js +1 -1
- package/src/sap/f/PlanningCalendarInCardLegend.js +1 -1
- package/src/sap/f/ProductSwitch.js +1 -1
- package/src/sap/f/ProductSwitchItem.js +1 -1
- package/src/sap/f/ProductSwitchItemRenderer.js +1 -1
- package/src/sap/f/SearchManager.js +1 -1
- package/src/sap/f/ShellBar.js +1 -1
- package/src/sap/f/SidePanel.js +1 -1
- package/src/sap/f/SidePanelItem.js +1 -1
- package/src/sap/f/cards/BaseHeader.js +43 -7
- package/src/sap/f/cards/BaseHeaderRenderer.js +19 -1
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/HeaderRenderer.js +15 -4
- package/src/sap/f/cards/NumericHeader.js +2 -2
- package/src/sap/f/cards/NumericHeaderRenderer.js +20 -11
- package/src/sap/f/cards/NumericIndicators.js +1 -1
- package/src/sap/f/cards/NumericSideIndicator.js +1 -1
- package/src/sap/f/cards/loading/AnalyticalPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/GenericPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ListPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +1 -1
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +1 -1
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +1 -1
- package/src/sap/f/delegate/GridContainerItemNavigation.js +15 -2
- package/src/sap/f/delegate/GridItemNavigation.js +1 -1
- package/src/sap/f/designtime/messagebundle_cs.properties +5 -5
- package/src/sap/f/dnd/GridDragOver.js +1 -1
- package/src/sap/f/dnd/GridDropInfo.js +1 -2
- package/src/sap/f/library.js +40 -2
- package/src/sap/f/semantic/AddAction.js +1 -1
- package/src/sap/f/semantic/CloseAction.js +1 -1
- package/src/sap/f/semantic/CopyAction.js +1 -1
- package/src/sap/f/semantic/DeleteAction.js +1 -1
- package/src/sap/f/semantic/DiscussInJamAction.js +1 -1
- package/src/sap/f/semantic/EditAction.js +1 -1
- package/src/sap/f/semantic/ExitFullScreenAction.js +1 -1
- package/src/sap/f/semantic/FavoriteAction.js +1 -1
- package/src/sap/f/semantic/FlagAction.js +1 -1
- package/src/sap/f/semantic/FooterMainAction.js +1 -1
- package/src/sap/f/semantic/FullScreenAction.js +1 -1
- package/src/sap/f/semantic/MainAction.js +1 -1
- package/src/sap/f/semantic/MessagesIndicator.js +1 -1
- package/src/sap/f/semantic/NegativeAction.js +1 -1
- package/src/sap/f/semantic/PositiveAction.js +1 -1
- package/src/sap/f/semantic/PrintAction.js +1 -1
- package/src/sap/f/semantic/SemanticButton.js +1 -1
- package/src/sap/f/semantic/SemanticConfiguration.js +1 -1
- package/src/sap/f/semantic/SemanticControl.js +1 -1
- package/src/sap/f/semantic/SemanticPage.js +1 -1
- package/src/sap/f/semantic/SemanticToggleButton.js +1 -1
- package/src/sap/f/semantic/SendEmailAction.js +1 -1
- package/src/sap/f/semantic/SendMessageAction.js +1 -1
- package/src/sap/f/semantic/ShareInJamAction.js +1 -1
- package/src/sap/f/semantic/TitleMainAction.js +1 -1
- package/src/sap/f/shellBar/AdditionalContentSupport.js +1 -1
- package/src/sap/f/shellBar/CoPilot.js +1 -1
- package/src/sap/f/shellBar/ControlSpacer.js +1 -1
- package/src/sap/f/shellBar/Search.js +1 -1
- package/src/sap/f/themes/base/Card.less +24 -0
- package/src/sap/f/themes/base/CardLoading.less +4 -17
- package/src/sap/f/themes/base/DynamicPageTitle.less +5 -0
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
*
|
|
42
42
|
*
|
|
43
43
|
* @author SAP SE
|
|
44
|
-
* @version 1.
|
|
44
|
+
* @version 1.123.1
|
|
45
45
|
*
|
|
46
46
|
* @extends sap.f.delegate.GridItemNavigation
|
|
47
47
|
*
|
|
@@ -146,15 +146,25 @@ sap.ui.define([
|
|
|
146
146
|
GridContainerItemNavigation.prototype.onmousedown = function(oEvent) {
|
|
147
147
|
|
|
148
148
|
this._bIsMouseDown = true;
|
|
149
|
+
this._oMouseDownTarget = oEvent.target;
|
|
150
|
+
|
|
151
|
+
document.addEventListener("mouseup", this._onMouseUp.bind(this), {once:true});
|
|
149
152
|
|
|
150
153
|
ItemNavigation.prototype.onmousedown.call(this, oEvent);
|
|
151
154
|
};
|
|
152
155
|
|
|
153
156
|
GridContainerItemNavigation.prototype.onmouseup = function(oEvent) {
|
|
157
|
+
this._onMouseUp();
|
|
158
|
+
};
|
|
154
159
|
|
|
155
|
-
|
|
160
|
+
GridContainerItemNavigation.prototype._onMouseUp = function () {
|
|
161
|
+
var $listItem = jQuery(this._oMouseDownTarget).closest('.sapFGridContainerItemWrapperNoVisualFocus'),
|
|
156
162
|
oControl;
|
|
157
163
|
|
|
164
|
+
if (!this._bIsMouseDown) {
|
|
165
|
+
return;
|
|
166
|
+
}
|
|
167
|
+
|
|
158
168
|
if ($listItem.length) {
|
|
159
169
|
oControl = Element.closestTo($listItem.children()[0]);
|
|
160
170
|
|
|
@@ -168,6 +178,7 @@ sap.ui.define([
|
|
|
168
178
|
}
|
|
169
179
|
|
|
170
180
|
this._bIsMouseDown = false;
|
|
181
|
+
this._oMouseDownTarget = null;
|
|
171
182
|
};
|
|
172
183
|
|
|
173
184
|
/**
|
|
@@ -176,6 +187,7 @@ sap.ui.define([
|
|
|
176
187
|
*/
|
|
177
188
|
GridContainerItemNavigation.prototype.ondragend = function() {
|
|
178
189
|
this._bIsMouseDown = false;
|
|
190
|
+
this._oMouseDownTarget = null;
|
|
179
191
|
};
|
|
180
192
|
|
|
181
193
|
/**
|
|
@@ -184,6 +196,7 @@ sap.ui.define([
|
|
|
184
196
|
*/
|
|
185
197
|
GridContainerItemNavigation.prototype.ondrop = function() {
|
|
186
198
|
this._bIsMouseDown = false;
|
|
199
|
+
this._oMouseDownTarget = null;
|
|
187
200
|
};
|
|
188
201
|
|
|
189
202
|
/**
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
|
|
2
|
-
DYNAMIC_PAGE_HEADER_NAME=
|
|
2
|
+
DYNAMIC_PAGE_HEADER_NAME=Hlavi\u010Dka str\u00E1nky
|
|
3
3
|
|
|
4
|
-
DYNAMIC_PAGE_HEADER_NAME_PLURAL=
|
|
4
|
+
DYNAMIC_PAGE_HEADER_NAME_PLURAL=Hlavi\u010Dky str\u00E1nek
|
|
5
5
|
|
|
6
6
|
DYNAMIC_PAGE_TITLE_NAME=Titulek str\u00E1nky
|
|
7
7
|
|
|
8
|
-
DYNAMIC_PAGE_TITLE_NAME_PLURAL=
|
|
8
|
+
DYNAMIC_PAGE_TITLE_NAME_PLURAL=Titulky str\u00E1nek
|
|
9
9
|
|
|
10
|
-
GRID_CONTAINER_CONTROL_NAME=
|
|
10
|
+
GRID_CONTAINER_CONTROL_NAME=Kontejner m\u0159\u00ED\u017Eky
|
|
11
11
|
|
|
12
|
-
GRID_CONTAINER_CONTROL_NAME_PLURAL=
|
|
12
|
+
GRID_CONTAINER_CONTROL_NAME_PLURAL=Kontejnery m\u0159\u00ED\u017Eek
|
|
@@ -37,10 +37,9 @@ sap.ui.define([
|
|
|
37
37
|
* @extends sap.ui.core.dnd.DropInfo
|
|
38
38
|
*
|
|
39
39
|
* @author SAP SE
|
|
40
|
-
* @version 1.
|
|
40
|
+
* @version 1.123.1
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
|
-
* @experimental Since 1.68 This class is experimental. The API may change.
|
|
44
43
|
* @since 1.68
|
|
45
44
|
* @alias sap.f.dnd.GridDropInfo
|
|
46
45
|
*/
|
package/src/sap/f/library.js
CHANGED
|
@@ -36,13 +36,13 @@ sap.ui.define(["sap/ui/base/DataType",
|
|
|
36
36
|
* @namespace
|
|
37
37
|
* @alias sap.f
|
|
38
38
|
* @author SAP SE
|
|
39
|
-
* @version 1.
|
|
39
|
+
* @version 1.123.1
|
|
40
40
|
* @since 1.44
|
|
41
41
|
* @public
|
|
42
42
|
*/
|
|
43
43
|
var thisLib = sap.ui.getCore().initLibrary({
|
|
44
44
|
name : "sap.f",
|
|
45
|
-
version: "1.
|
|
45
|
+
version: "1.123.1",
|
|
46
46
|
dependencies : ["sap.ui.core", "sap.m", "sap.ui.layout"],
|
|
47
47
|
designtime: "sap/f/designtime/library.designtime",
|
|
48
48
|
interfaces: [
|
|
@@ -380,6 +380,44 @@ sap.ui.define(["sap/ui/base/DataType",
|
|
|
380
380
|
* @public
|
|
381
381
|
*/
|
|
382
382
|
|
|
383
|
+
/**
|
|
384
|
+
* Returns the content (control) used in the subheader.
|
|
385
|
+
*
|
|
386
|
+
* @function
|
|
387
|
+
* @name sap.f.IDynamicPageStickyContent._getStickyContent
|
|
388
|
+
* @returns {sap.ui.core.Control} the content (control) used in the subheader
|
|
389
|
+
* @private
|
|
390
|
+
*/
|
|
391
|
+
|
|
392
|
+
/**
|
|
393
|
+
* Ensures that the content (control) returned by <code>_getStickyContent</code>,
|
|
394
|
+
* is placed back in its place in the provider
|
|
395
|
+
*
|
|
396
|
+
* @function
|
|
397
|
+
* @name sap.f.IDynamicPageStickyContent._returnStickyContent
|
|
398
|
+
* @private
|
|
399
|
+
*/
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Returns boolean value that shows where the sticky content is placed
|
|
403
|
+
* (in its provider or in the code>DynamicPage</code>)
|
|
404
|
+
*
|
|
405
|
+
* @function
|
|
406
|
+
* @name sap.f.IDynamicPageStickyContent._getStickySubHeaderSticked
|
|
407
|
+
* @returns {boolean} true if content is in <code>DynamicPage</code> (sticked), false if in provider
|
|
408
|
+
* @private
|
|
409
|
+
*/
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Accepts a boolean argument to notify the provider where its sticky
|
|
413
|
+
* content is placed
|
|
414
|
+
*
|
|
415
|
+
* @function
|
|
416
|
+
* @name sap.f.IDynamicPageStickyContent._setStickySubHeaderSticked
|
|
417
|
+
* @param {boolean} bIsInStickyContainer
|
|
418
|
+
* @private
|
|
419
|
+
*/
|
|
420
|
+
|
|
383
421
|
/**
|
|
384
422
|
* Types of {@link sap.f.Avatar} based on the displayed content.
|
|
385
423
|
*
|
|
@@ -476,6 +476,30 @@ html[data-sap-ui-browser^="cr"] .sapFCard {
|
|
|
476
476
|
pointer-events: none;
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
+
/* ui5-restricted work zone */
|
|
480
|
+
.sapFCard.sapFCardFocusFullCard,
|
|
481
|
+
ui-integration-card.sapFCardFocusFullCard > [data-sap-ui-area] > .sapFCard {
|
|
482
|
+
&:has(.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within)::before {
|
|
483
|
+
content: '';
|
|
484
|
+
display: block;
|
|
485
|
+
position: absolute;
|
|
486
|
+
left: @_sap_f_Card_HeaderFocusBorderLeftOffset;
|
|
487
|
+
bottom: @_sap_f_Card_HeaderFocusBorderBottomOffset;
|
|
488
|
+
right: @_sap_f_Card_HeaderFocusBorderRightOffset;
|
|
489
|
+
top: @_sap_f_Card_HeaderFocusBorderTopOffset;
|
|
490
|
+
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
491
|
+
border-radius: @_sap_f_Card_HeaderFocusBorderRadius;
|
|
492
|
+
pointer-events: none;
|
|
493
|
+
z-index: 1;
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before {
|
|
497
|
+
display: none;
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before,
|
|
502
|
+
|
|
479
503
|
.sapFGridContainer .sapFGridContainerItemWrapperNoVisualFocus:focus > .sapFCard.sapFCardNoHeader::before { // focus inside GridContainer on a card without header
|
|
480
504
|
bottom: 1px;
|
|
481
505
|
z-index: 1;
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
margin-top: 0.2rem;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.sapFCardSubtitle
|
|
40
|
+
.sapFCardSubtitle.sapFCardHeaderItemBinded::after {
|
|
41
41
|
margin-top: 0.3rem;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.sapFCardHeaderTextSecondLine .sapFCardHeaderItemBinded::after,
|
|
45
|
-
.sapFCardSubtitle
|
|
45
|
+
.sapFCardSubtitle.sapFCardHeaderItemBinded::after,
|
|
46
46
|
.sapFCardHeaderDetailsWrapper .sapFCardHeaderItemBinded::after,
|
|
47
47
|
.sapFCardNumericIndicatorsSide .sapFCardHeaderItemBinded::after,
|
|
48
48
|
.sapFCardNumericIndicatorsSide .sapFCardHeaderItemBinded.sapMText::after {
|
|
@@ -54,24 +54,11 @@
|
|
|
54
54
|
width: 80%;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
.
|
|
58
|
-
.sapFCardHeaderText .sapMText.sapFCardHeaderItemBinded span,
|
|
59
|
-
.sapFCardHeaderText .sapFCardStatus.sapFCardHeaderItemBinded,
|
|
60
|
-
.sapFCardSubtitle .sapMText.sapFCardHeaderItemBinded,
|
|
61
|
-
.sapFCardSubtitle .sapMText.sapFCardHeaderItemBinded + .sapFCardHeaderUnitOfMeasurement,
|
|
62
|
-
.sapFAvatar.sapFCardHeaderItemBinded span::before,
|
|
63
|
-
.sapFAvatar.sapFCardHeaderItemBinded .sapFAvatarImageHolder,
|
|
64
|
-
.sapFCardAvatarAndIndicatorsLine .sapMNC.sapFCardHeaderItemBinded span,
|
|
65
|
-
.sapFCardAvatarAndIndicatorsLine .sapMNC.sapFCardHeaderItemBinded div.sapMNCScale,
|
|
66
|
-
.sapFCardHeaderSideIndicator.sapFCardHeaderItemBinded span,
|
|
67
|
-
.sapFCardHeaderDetailsWrapper .sapMObjStatus.sapFCardHeaderItemBinded span {
|
|
57
|
+
.sapFCardHeaderItemBinded {
|
|
68
58
|
visibility: hidden; // hide the loaded elements (texts, icons, etc.) behind the loading indicators
|
|
69
59
|
}
|
|
70
60
|
|
|
71
|
-
.
|
|
72
|
-
.sapFCardHeaderText .sapFCardStatus.sapFCardHeaderItemBinded::after,
|
|
73
|
-
.sapFCardSubtitle .sapMText.sapFCardHeaderItemBinded::after,
|
|
74
|
-
.sapFCardSubtitle .sapFCardHeaderUnitOfMeasurement.sapMText.sapFCardHeaderItemBinded::after {
|
|
61
|
+
.sapFCardHeaderItemBinded::after {
|
|
75
62
|
visibility: visible; // ... but show the loading indicator
|
|
76
63
|
}
|
|
77
64
|
|