@openui5/sap.f 1.130.1 → 1.131.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/THIRDPARTY.txt +1 -1
- 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 +66 -5
- package/src/sap/f/CardRenderer.js +17 -3
- package/src/sap/f/DynamicPage.js +1 -1
- package/src/sap/f/DynamicPageAccessibleLandmarkInfo.js +1 -1
- package/src/sap/f/DynamicPageHeader.js +5 -1
- package/src/sap/f/DynamicPageTitle.js +1 -1
- package/src/sap/f/FlexibleColumnLayout.js +24 -1
- package/src/sap/f/FlexibleColumnLayoutAccessibleLandmarkInfo.js +23 -1
- package/src/sap/f/FlexibleColumnLayoutData.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutDataForDesktop.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutDataForTablet.js +1 -1
- package/src/sap/f/FlexibleColumnLayoutSemanticHelper.js +1 -1
- package/src/sap/f/GridContainer.js +1 -1
- package/src/sap/f/GridContainerItemLayoutData.js +1 -1
- package/src/sap/f/GridContainerSettings.js +2 -2
- package/src/sap/f/GridList.js +1 -1
- 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/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 +1 -1
- package/src/sap/f/cards/CardBadgeCustomData.js +1 -1
- package/src/sap/f/cards/Header.js +1 -1
- package/src/sap/f/cards/NumericHeader.js +1 -1
- 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 +2 -2
- package/src/sap/f/cards/loading/CalendarPlaceholder.js +1 -1
- package/src/sap/f/cards/loading/GenericPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/ListPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/ObjectPlaceholder.js +2 -2
- package/src/sap/f/cards/loading/PlaceholderBase.js +1 -1
- package/src/sap/f/cards/loading/TablePlaceholder.js +2 -2
- package/src/sap/f/cards/loading/TimelinePlaceholder.js +2 -2
- package/src/sap/f/changeHandler/MoveDynamicPageTitleActions.js +24 -22
- package/src/sap/f/delegate/GridContainerItemNavigation.js +1 -1
- package/src/sap/f/delegate/GridItemNavigation.js +1 -1
- package/src/sap/f/dnd/GridDragOver.js +1 -1
- package/src/sap/f/dnd/GridDropInfo.js +1 -1
- package/src/sap/f/library.js +27 -4
- package/src/sap/f/messagebundle_es.properties +1 -1
- package/src/sap/f/messagebundle_ru.properties +1 -1
- 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 +13 -0
- package/src/sap/f/themes/base/SidePanel.less +0 -11
|
@@ -16,10 +16,10 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] Initial settings for the new control
|
|
17
17
|
*
|
|
18
18
|
*
|
|
19
|
-
* @extends sap.
|
|
19
|
+
* @extends sap.f.cards.loading.PlaceholderBase
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.131.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -16,10 +16,10 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] Initial settings for the new control
|
|
17
17
|
*
|
|
18
18
|
*
|
|
19
|
-
* @extends sap.
|
|
19
|
+
* @extends sap.f.cards.loading.PlaceholderBase
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.131.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -16,10 +16,10 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] Initial settings for the new control
|
|
17
17
|
*
|
|
18
18
|
*
|
|
19
|
-
* @extends sap.
|
|
19
|
+
* @extends sap.f.cards.loading.PlaceholderBase
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.131.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -26,10 +26,10 @@ sap.ui.define([
|
|
|
26
26
|
* @param {object} [mSettings] Initial settings for the new control
|
|
27
27
|
*
|
|
28
28
|
*
|
|
29
|
-
* @extends sap.
|
|
29
|
+
* @extends sap.f.cards.loading.PlaceholderBase
|
|
30
30
|
*
|
|
31
31
|
* @author SAP SE
|
|
32
|
-
* @version 1.
|
|
32
|
+
* @version 1.131.0
|
|
33
33
|
*
|
|
34
34
|
* @constructor
|
|
35
35
|
* @private
|
|
@@ -16,10 +16,10 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] Initial settings for the new control
|
|
17
17
|
*
|
|
18
18
|
*
|
|
19
|
-
* @extends sap.
|
|
19
|
+
* @extends sap.f.cards.loading.PlaceholderBase
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.131.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -16,10 +16,10 @@ sap.ui.define([
|
|
|
16
16
|
* @param {object} [mSettings] Initial settings for the new control
|
|
17
17
|
*
|
|
18
18
|
*
|
|
19
|
-
* @extends sap.
|
|
19
|
+
* @extends sap.f.cards.loading.PlaceholderBase
|
|
20
20
|
*
|
|
21
21
|
* @author SAP SE
|
|
22
|
-
* @version 1.
|
|
22
|
+
* @version 1.131.0
|
|
23
23
|
*
|
|
24
24
|
* @constructor
|
|
25
25
|
* @private
|
|
@@ -16,8 +16,7 @@ sap.ui.define([
|
|
|
16
16
|
*
|
|
17
17
|
* @alias sap.f.changeHandler.MoveDynamicPageTitleActions
|
|
18
18
|
* @author SAP SE
|
|
19
|
-
* @version 1.
|
|
20
|
-
* @experimental Since 1.52
|
|
19
|
+
* @version 1.131.0
|
|
21
20
|
*/
|
|
22
21
|
var MoveActions = { };
|
|
23
22
|
var ACTION_AGGREGATION_NAME = "actions";
|
|
@@ -134,26 +133,29 @@ sap.ui.define([
|
|
|
134
133
|
MoveActions.getCondenserInfo = function(oChange) {
|
|
135
134
|
var oChangeContent = oChange.getContent();
|
|
136
135
|
var oRevertData = oChange.getRevertData();
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
136
|
+
var bSupportsCondenser = oChangeContent.targetAggregation && oChangeContent.targetContainer;
|
|
137
|
+
if (bSupportsCondenser) {
|
|
138
|
+
return {
|
|
139
|
+
affectedControl: oChangeContent.movedElements[0].selector,
|
|
140
|
+
classification: Condenser.Move,
|
|
141
|
+
sourceContainer: oRevertData.sourceParent,
|
|
142
|
+
targetContainer: oChangeContent.targetContainer,
|
|
143
|
+
sourceIndex: oRevertData.index,
|
|
144
|
+
sourceAggregation: oRevertData.aggregation,
|
|
145
|
+
targetAggregation: oChangeContent.targetAggregation,
|
|
146
|
+
setTargetIndex: function(oChange, iNewTargetIndex) {
|
|
147
|
+
oChange.getContent().movedElements[0].targetIndex = iNewTargetIndex;
|
|
148
|
+
},
|
|
149
|
+
getTargetIndex: function(oChange) {
|
|
150
|
+
return oChange.getContent().movedElements[0].targetIndex;
|
|
151
|
+
},
|
|
152
|
+
setIndexInRevertData: function(oChange, iIndex) {
|
|
153
|
+
var oRevertData = oChange.getRevertData();
|
|
154
|
+
oRevertData.index = iIndex;
|
|
155
|
+
oChange.setRevertData(oRevertData);
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
}
|
|
157
159
|
};
|
|
158
160
|
|
|
159
161
|
return MoveActions;
|
package/src/sap/f/library.js
CHANGED
|
@@ -39,14 +39,14 @@ sap.ui.define([
|
|
|
39
39
|
* @namespace
|
|
40
40
|
* @alias sap.f
|
|
41
41
|
* @author SAP SE
|
|
42
|
-
* @version 1.
|
|
42
|
+
* @version 1.131.0
|
|
43
43
|
* @since 1.44
|
|
44
44
|
* @public
|
|
45
45
|
*/
|
|
46
46
|
var thisLib = Library.init({
|
|
47
47
|
apiVersion: 2,
|
|
48
48
|
name : "sap.f",
|
|
49
|
-
version: "1.
|
|
49
|
+
version: "1.131.0",
|
|
50
50
|
dependencies : ["sap.ui.core", "sap.m", "sap.ui.layout"],
|
|
51
51
|
designtime: "sap/f/designtime/library.designtime",
|
|
52
52
|
interfaces: [
|
|
@@ -64,6 +64,7 @@ sap.ui.define([
|
|
|
64
64
|
"sap.f.AvatarColor",
|
|
65
65
|
"sap.f.AvatarGroupType",
|
|
66
66
|
"sap.f.CardBadgeVisibilityMode",
|
|
67
|
+
"sap.f.cards.SemanticRole",
|
|
67
68
|
"sap.f.cards.HeaderPosition",
|
|
68
69
|
"sap.f.cards.NumericHeaderSideIndicatorsAlignment",
|
|
69
70
|
"sap.f.DynamicPageTitleArea",
|
|
@@ -508,7 +509,6 @@ sap.ui.define([
|
|
|
508
509
|
*
|
|
509
510
|
* @enum {string}
|
|
510
511
|
* @public
|
|
511
|
-
* @experimental Since 1.73.
|
|
512
512
|
* @since 1.73
|
|
513
513
|
*/
|
|
514
514
|
thisLib.AvatarGroupType = {
|
|
@@ -583,7 +583,6 @@ sap.ui.define([
|
|
|
583
583
|
*
|
|
584
584
|
* @since 1.63
|
|
585
585
|
* @name sap.f.IShellBar
|
|
586
|
-
* @experimental Since 1.63, that provides only limited functionality. Also, it can be removed in future versions.
|
|
587
586
|
* @public
|
|
588
587
|
* @interface
|
|
589
588
|
*/
|
|
@@ -602,6 +601,29 @@ sap.ui.define([
|
|
|
602
601
|
|
|
603
602
|
thisLib.cards = thisLib.cards || {};
|
|
604
603
|
|
|
604
|
+
/**
|
|
605
|
+
* Different options for the semantic role in controls that implement the {@link sap.f.ICard} interface.
|
|
606
|
+
*
|
|
607
|
+
* @enum {string}
|
|
608
|
+
* @experimental
|
|
609
|
+
* @public
|
|
610
|
+
* @since 1.131
|
|
611
|
+
*/
|
|
612
|
+
thisLib.cards.SemanticRole = {
|
|
613
|
+
/**
|
|
614
|
+
* The card has no interactive elements.
|
|
615
|
+
*
|
|
616
|
+
* @public
|
|
617
|
+
*/
|
|
618
|
+
Region: "Region",
|
|
619
|
+
/**
|
|
620
|
+
* The card has interactive elements.
|
|
621
|
+
*
|
|
622
|
+
* @public
|
|
623
|
+
*/
|
|
624
|
+
ListItem: "ListItem"
|
|
625
|
+
};
|
|
626
|
+
|
|
605
627
|
/**
|
|
606
628
|
* Different options for the position of the header in controls that implement the {@link sap.f.ICard} interface.
|
|
607
629
|
*
|
|
@@ -779,6 +801,7 @@ sap.ui.define([
|
|
|
779
801
|
* Register all of the above defined enums.
|
|
780
802
|
*/
|
|
781
803
|
DataType.registerEnum("sap.f.AvatarGroupType", thisLib.AvatarGroupType);
|
|
804
|
+
DataType.registerEnum("sap.f.cards.SemanticRole", thisLib.cards.SemanticRole);
|
|
782
805
|
DataType.registerEnum("sap.f.cards.HeaderPosition", thisLib.cards.HeaderPosition);
|
|
783
806
|
DataType.registerEnum("sap.f.cards.NumericHeaderSideIndicatorsAlignment", thisLib.cards.NumericHeaderSideIndicatorsAlignment);
|
|
784
807
|
DataType.registerEnum("sap.f.LayoutType", thisLib.LayoutType);
|
|
@@ -103,7 +103,7 @@ SHELLBAR_CONTAINER_LABEL=\u041F\u0430\u043D\u0435\u043B\u044C \u043E\u0431\u043E
|
|
|
103
103
|
|
|
104
104
|
SHELLBAR_LOGO_TOOLTIP=\u041B\u043E\u0433\u043E\u0442\u0438\u043F
|
|
105
105
|
|
|
106
|
-
SHELLBAR_COPILOT_TOOLTIP
|
|
106
|
+
SHELLBAR_COPILOT_TOOLTIP=Joule
|
|
107
107
|
|
|
108
108
|
SHELLBAR_SEARCH_TOOLTIP=\u041F\u043E\u0438\u0441\u043A
|
|
109
109
|
|
|
@@ -472,6 +472,16 @@ html[data-sap-ui-browser^="cr"] .sapFCard {
|
|
|
472
472
|
flex-grow: 1;
|
|
473
473
|
}
|
|
474
474
|
|
|
475
|
+
.sapFCard.sapFCardInteractive:hover {
|
|
476
|
+
box-shadow: @sapUiContentShadow2;
|
|
477
|
+
cursor: pointer;
|
|
478
|
+
}
|
|
479
|
+
//Todo HC should use the active background: --sapTile_Hover_Background
|
|
480
|
+
.sapFCard.sapFCardInteractive:active {
|
|
481
|
+
box-shadow: none;
|
|
482
|
+
border: 0.0625rem solid; @sapTile_Interactive_BorderColor;
|
|
483
|
+
}
|
|
484
|
+
|
|
475
485
|
.sapFCard.sapFCardSectionInteractive {
|
|
476
486
|
&[data-sap-ui-draggable=true] {
|
|
477
487
|
.sapMText {
|
|
@@ -499,6 +509,7 @@ html[data-sap-ui-browser^="cr"] .sapFCard {
|
|
|
499
509
|
}
|
|
500
510
|
}
|
|
501
511
|
|
|
512
|
+
.sapFCard.sapFCardFocus:focus::before,
|
|
502
513
|
.sapFCardHeader:not(.sapFCardHeaderToolbarFocused):focus-within::before,
|
|
503
514
|
.sapFGridContainer .sapFGridContainerItemWrapperNoVisualFocus:focus > .sapFCard > .sapFCardHeader:not(.sapFCardHeaderToolbarFocused)::before, // focus inside Grid Container
|
|
504
515
|
.sapFGridContainer .sapFGridContainerItemWrapperNoVisualFocus:focus > .sapFCard.sapFCardNoHeader::before { // ... focus on a card without header
|
|
@@ -512,8 +523,10 @@ html[data-sap-ui-browser^="cr"] .sapFCard {
|
|
|
512
523
|
border: @sapUiContentFocusWidth @sapUiContentFocusStyle @sapUiContentFocusColor;
|
|
513
524
|
border-radius: @_sap_f_Card_HeaderFocusBorderRadius;
|
|
514
525
|
pointer-events: none;
|
|
526
|
+
z-index: 1;
|
|
515
527
|
}
|
|
516
528
|
|
|
529
|
+
|
|
517
530
|
/* ui5-restricted work zone */
|
|
518
531
|
.sapFCard.sapFCardFocusFullCard,
|
|
519
532
|
ui-integration-card.sapFCardFocusFullCard > [data-sap-ui-area] > .sapFCard {
|
|
@@ -497,17 +497,6 @@
|
|
|
497
497
|
right: auto;
|
|
498
498
|
left: 1rem;
|
|
499
499
|
}
|
|
500
|
-
.sapFSPActionBarList {
|
|
501
|
-
.sapFSPItem {
|
|
502
|
-
flex-direction: row-reverse;
|
|
503
|
-
&.sapFSPSelected {
|
|
504
|
-
&::before {
|
|
505
|
-
right: 0;
|
|
506
|
-
left: auto;
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
500
|
.sapFSPSplitterBar {
|
|
512
501
|
left: initial;
|
|
513
502
|
right: -1rem;
|