@openui5/sap.ui.documentation 1.146.0 → 1.147.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/REUSE.toml +0 -51
- package/THIRDPARTY.txt +0 -44
- package/package.json +7 -7
- package/src/sap/ui/documentation/.library +1 -1
- package/src/sap/ui/documentation/ObjectPageSection.js +108 -0
- package/src/sap/ui/documentation/ObjectPageSubSection.js +114 -15
- package/src/sap/ui/documentation/library.js +2 -2
- package/src/sap/ui/documentation/messagebundle.properties +12 -0
- package/src/sap/ui/documentation/messagebundle_en.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +3 -0
- package/src/sap/ui/documentation/sdk/Component.js +6 -0
- package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +41 -3
- package/src/sap/ui/documentation/sdk/controller/util/ResourcesInfo.js +5 -0
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/view/CookieSettingsDialog.fragment.xml +5 -5
- package/src/sap/ui/documentation/sdk/css/style.css +23 -0
- package/src/sap/ui/documentation/sdk/index.js +6 -0
- package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +3 -3
- package/src/sap/ui/documentation/sdk/view/AboutDialog.fragment.xml +6 -6
- package/src/sap/ui/documentation/sdk/view/ApiDetailInitial.view.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +6 -6
- package/src/sap/ui/documentation/sdk/view/App.view.xml +11 -11
- package/src/sap/ui/documentation/sdk/view/ChangeVersionDialog.fragment.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/Code.view.xml +16 -16
- package/src/sap/ui/documentation/sdk/view/Controls.view.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/ControlsMaster.view.xml +6 -6
- package/src/sap/ui/documentation/sdk/view/Entity.view.xml +3 -3
- package/src/sap/ui/documentation/sdk/view/FioriDevelopmentRowSAPUI5.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/Footer.fragment.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/FooterMaster.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/GlobalSearchPicker.fragment.xml +6 -6
- package/src/sap/ui/documentation/sdk/view/Group.view.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/LiveEditor.view.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/News.view.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/NewsPopover.fragment.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/NotFound.view.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/ReleaseDialog.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/ReleaseNotes.view.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/Resources.view.xml +24 -1
- package/src/sap/ui/documentation/sdk/view/Sample.view.xml +15 -15
- package/src/sap/ui/documentation/sdk/view/SampleNotFound.view.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/SearchPage.view.xml +9 -9
- package/src/sap/ui/documentation/sdk/view/Sitemap.view.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +73 -60
- package/src/sap/ui/documentation/sdk/view/TopicDetail.view.xml +3 -3
- package/src/sap/ui/documentation/sdk/view/TopicDetailInitial.view.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/TopicMaster.view.xml +5 -5
- package/src/sap/ui/documentation/sdk/view/VersionNotFound.view.xml +3 -3
- package/src/sap/ui/documentation/sdk/view/Welcome.view.xml +13 -13
- package/src/sap/ui/documentation/sdk/view/WelcomeCustomRowOpenUI5.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/appSettingsDialog.fragment.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/globalSettingsDialog.fragment.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/viewSettingsDialog.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/warningSampleDialog.fragment.xml +1 -1
|
@@ -1846,4 +1846,27 @@ table.cookieList td {
|
|
|
1846
1846
|
.sapUiCommunityLinkTitle {
|
|
1847
1847
|
font-size: 1.325rem;
|
|
1848
1848
|
}
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
/* Align the section link icon with the title - scoped to API detail page only */
|
|
1852
|
+
.apiDetailPage .sapUxAPObjectPageSectionHeader {
|
|
1853
|
+
display: flex;
|
|
1854
|
+
align-items: center;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
.sapUiDocSectionLinkIcon {
|
|
1858
|
+
flex-shrink: 0;
|
|
1859
|
+
margin-left: 0.375rem;
|
|
1860
|
+
margin-bottom: 0.375rem;
|
|
1861
|
+
font-size: 1rem;
|
|
1862
|
+
cursor: pointer;
|
|
1863
|
+
color: var(--sapLinkColor) !important;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
.sapUiDocSectionLinkIcon:hover {
|
|
1867
|
+
color: var(--sapLink_Hover_Color) !important;
|
|
1868
|
+
}
|
|
1869
|
+
|
|
1870
|
+
.sapUiDocSectionLinkIcon:active {
|
|
1871
|
+
color: var(--sapLink_Active_Color) !important;
|
|
1849
1872
|
}
|
|
@@ -185,7 +185,13 @@
|
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
187
|
} else if (eMessage.data.reason === "set") {
|
|
188
|
+
var sCurrentDensity = Array.prototype.find.call(document.body.classList, function(el){
|
|
189
|
+
return el.includes("sapUiSize");
|
|
190
|
+
});
|
|
188
191
|
setDensityClass(eMessage.data.data.density);
|
|
192
|
+
if (sCurrentDensity !== eMessage.data.data.density) {
|
|
193
|
+
Core.notifyContentDensityChanged();
|
|
194
|
+
}
|
|
189
195
|
Core.getConfiguration().setRTL(eMessage.data.data.RTL);
|
|
190
196
|
Core.applyTheme(eMessage.data.data.theme);
|
|
191
197
|
}
|
|
@@ -998,10 +998,10 @@ var hljs = (function () {
|
|
|
998
998
|
* @param {string} message
|
|
999
999
|
*/
|
|
1000
1000
|
const deprecated = (version, message) => {
|
|
1001
|
-
if (seenDeprecations[`1.
|
|
1001
|
+
if (seenDeprecations[`1.147.0/${message}`]) return;
|
|
1002
1002
|
|
|
1003
|
-
console.log(`Deprecated as of 1.
|
|
1004
|
-
seenDeprecations[`1.
|
|
1003
|
+
console.log(`Deprecated as of 1.147.0. ${message}`);
|
|
1004
|
+
seenDeprecations[`1.147.0/${message}`] = true;
|
|
1005
1005
|
};
|
|
1006
1006
|
|
|
1007
1007
|
/* eslint-disable no-throw-literal */
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<Text text="{i18n>ABOUT_DIALOG_TEXT_3}" visible="{versionData>/isOpenUI5}"/>
|
|
28
28
|
<custom:JSDocText class="sapUiSmallMarginBottom" visible="{versionData>/isOpenUI5}" text="Licensed under the Apache License, Version 2.0 – see <a href='LICENSE.txt' target='_blank' class='sapMLnk sapMLnkMaxWidth aboutLink'>LICENSE.txt</a>"/>
|
|
29
29
|
<Text text="{i18n>ABOUT_DIALOG_TEXT_7}" class="sapUiTinyMarginBottom"/>
|
|
30
|
-
<Link text="{i18n>ABOUT_DIALOG_TEXT_8}" press="onAboutThirdParty" class="sapUiMediumMarginBottom" visible="{=!${versionData>/isOpenUI5}}"/>
|
|
30
|
+
<Link text="{i18n>ABOUT_DIALOG_TEXT_8}" press=".onAboutThirdParty" class="sapUiMediumMarginBottom" visible="{=!${versionData>/isOpenUI5}}"/>
|
|
31
31
|
<Link text="{i18n>ABOUT_DIALOG_TEXT_8}" href="THIRDPARTY.txt" target="_blank" class="sapUiMediumMarginBottom" visible="{versionData>/isOpenUI5}"/>
|
|
32
32
|
<Text text="{
|
|
33
33
|
parts: [
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
class="sapMTitleStyleH5 sapUiSmallMarginBottom" visible="{=!${versionData>/isOpenUI5}}"/>
|
|
51
51
|
<Text text="{i18n>ABOUT_DIALOG_TEXT_6}"/>
|
|
52
52
|
<custom:JSDocText class="sapUiTinyMarginBottom" text="(a full change log for all libraries can be found <a href='releasenotes.html' target='_blank' class='sapMLnk sapMLnkMaxWidth aboutLink'>here</a>)."/>
|
|
53
|
-
<Link text="{i18n>ABOUT_DIALOG_LINK_1}" press="onAboutVersionDetails" class="sapUiSmallMarginBottom"/>
|
|
53
|
+
<Link text="{i18n>ABOUT_DIALOG_LINK_1}" press=".onAboutVersionDetails" class="sapUiSmallMarginBottom"/>
|
|
54
54
|
<MessageStrip showIcon="true" text="{= ${versionData>/isOpenUI5} ? ${appView>/sAboutInfoOpenUI5} : ${appView>/sAboutInfoSAPUI5}}" class="sapUiSmallMarginBottom" enableFormattedText="true"/>
|
|
55
55
|
</VBox>
|
|
56
56
|
</Page>
|
|
57
57
|
<Page
|
|
58
58
|
id="aboutDetail"
|
|
59
59
|
showNavButton="true"
|
|
60
|
-
navButtonPress="onAboutNavBack"
|
|
60
|
+
navButtonPress=".onAboutNavBack"
|
|
61
61
|
title="{i18n>ABOUT_DIALOG_VERSION_TITLE}">
|
|
62
62
|
<l:VerticalLayout class="sapUiSmallMargin" content="{path: 'appView>/oVersionInfo/libs'}">
|
|
63
63
|
<f:Form width="100%" editable="false">
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
</f:FormElement>
|
|
83
83
|
<f:FormElement label="{i18n>ABOUT_DIALOG_CHANGE_LOG}" visible="{=!!${appView>releasenotes}}">
|
|
84
84
|
<f:fields>
|
|
85
|
-
<Link text="{i18n>ABOUT_DIALOG_CHANGE_LOG_LINK}" press="onReleaseDialogOpen" class="sapUiSmallMarginBottom">
|
|
85
|
+
<Link text="{i18n>ABOUT_DIALOG_CHANGE_LOG_LINK}" press=".onReleaseDialogOpen" class="sapUiSmallMarginBottom">
|
|
86
86
|
<customData>
|
|
87
87
|
<core:CustomData key="library" value="{appView>library}" />
|
|
88
88
|
<core:CustomData key="version" value="{versionData>/version}" />
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
<Page
|
|
105
105
|
id="aboutThirdParty"
|
|
106
106
|
showNavButton="true"
|
|
107
|
-
navButtonPress="onAboutNavBack"
|
|
107
|
+
navButtonPress=".onAboutNavBack"
|
|
108
108
|
title="{i18n>ABOUT_DIALOG_THIRD_PARTY}">
|
|
109
109
|
<l:VerticalLayout class="sapUiSmallMargin" content="{path: 'appView>/oThirdPartyInfo/thirdparty'}">
|
|
110
110
|
<f:Form width="100%" editable="false">
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
</Page>
|
|
132
132
|
</NavContainer>
|
|
133
133
|
<beginButton>
|
|
134
|
-
<Button id="aboutDialogCloseButton" text="{i18n>ABOUT_DIALOG_CLOSE_BTN}" press="aboutDialogClose"/>
|
|
134
|
+
<Button id="aboutDialogCloseButton" text="{i18n>ABOUT_DIALOG_CLOSE_BTN}" press=".aboutDialogClose"/>
|
|
135
135
|
</beginButton>
|
|
136
136
|
</Dialog>
|
|
137
137
|
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
width="100%"
|
|
24
24
|
densityAware="false"
|
|
25
25
|
class="landingImage"
|
|
26
|
-
load="handleLandingImageLoad"
|
|
26
|
+
load=".handleLandingImageLoad"
|
|
27
27
|
visible="{device>/system/phone}"/>
|
|
28
28
|
<Image
|
|
29
29
|
src="./resources/sap/ui/documentation/sdk/images/API_ref_M_and_L_cropped_1.jpg"
|
|
30
30
|
width="100%"
|
|
31
31
|
class="landingImage"
|
|
32
32
|
densityAware="false"
|
|
33
|
-
load="handleLandingImageLoad"
|
|
33
|
+
load=".handleLandingImageLoad"
|
|
34
34
|
visible="{=!${device>/system/phone}}"/>
|
|
35
35
|
|
|
36
36
|
<Text id="landingImageHeadline"
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
|
|
18
18
|
<customHeader>
|
|
19
19
|
<Toolbar height="100%" width="100%">
|
|
20
|
-
<SearchField id="searchField" placeholder="{i18n>API_MASTER_PLACEHOLDER}" liveChange="onTreeFilter" />
|
|
21
|
-
<Button id="expandAllButton" icon="sap-icon://expand-all" press="onTreeExpandAll" tooltip="{i18n>API_MASTER_EXPAND_BTN_TOOLTIP}" />
|
|
22
|
-
<Button id="collapseAllButton" icon="sap-icon://collapse-all" press="onTreeCollapseAll" tooltip="{i18n>API_MASTER_COLLAPSE_BTN_TOOLTIP}" />
|
|
20
|
+
<SearchField id="searchField" placeholder="{i18n>API_MASTER_PLACEHOLDER}" liveChange=".onTreeFilter" />
|
|
21
|
+
<Button id="expandAllButton" icon="sap-icon://expand-all" press=".onTreeExpandAll" tooltip="{i18n>API_MASTER_EXPAND_BTN_TOOLTIP}" />
|
|
22
|
+
<Button id="collapseAllButton" icon="sap-icon://collapse-all" press=".onTreeCollapseAll" tooltip="{i18n>API_MASTER_COLLAPSE_BTN_TOOLTIP}" />
|
|
23
23
|
</Toolbar>
|
|
24
24
|
</customHeader>
|
|
25
25
|
|
|
26
26
|
<subHeader>
|
|
27
27
|
<Toolbar height="100%" width="100%">
|
|
28
28
|
<FlexBox height="100%" width="100%" alignItems="Start" justifyContent="Start" wrap="Wrap">
|
|
29
|
-
<CheckBox id="includeDeprecated" text="{i18n>API_MASTER_DEPRECATED_CB}" select="onIncludeDeprecatedItemsChange" />
|
|
30
|
-
<CheckBox id="includeExperimental" text="{i18n>API_MASTER_EXPERIMENTAL_CB}" select="onIncludeExperimentalItemsChange" />
|
|
29
|
+
<CheckBox id="includeDeprecated" text="{i18n>API_MASTER_DEPRECATED_CB}" select=".onIncludeDeprecatedItemsChange" />
|
|
30
|
+
<CheckBox id="includeExperimental" text="{i18n>API_MASTER_EXPERIMENTAL_CB}" select=".onIncludeExperimentalItemsChange" />
|
|
31
31
|
</FlexBox>
|
|
32
32
|
</Toolbar>
|
|
33
33
|
</subHeader>
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
id="tree"
|
|
40
40
|
mode="SingleSelectMaster"
|
|
41
41
|
noDataText="{i18n>API_MASTER_NO_DATA_TEXT}"
|
|
42
|
-
selectionChange="onNodeSelect"
|
|
42
|
+
selectionChange=".onNodeSelect"
|
|
43
43
|
items="{treeData>/}">
|
|
44
44
|
<custom:DemokitTreeItem
|
|
45
45
|
title="{treeData>displayName}"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<HBox alignItems="{= ${appView>/bPhoneSize} ? 'Center' : 'Baseline' }">
|
|
41
41
|
<Button
|
|
42
42
|
icon="sap-icon://menu2"
|
|
43
|
-
press="onSideNavigationButtonPress"
|
|
43
|
+
press=".onSideNavigationButtonPress"
|
|
44
44
|
visible="{appView>/bPhoneSize}" />
|
|
45
45
|
|
|
46
46
|
<Image
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
height="2rem"
|
|
51
51
|
id="sap_logo"
|
|
52
52
|
decorative="false"
|
|
53
|
-
press="onHeaderLogoPress" />
|
|
53
|
+
press=".onHeaderLogoPress" />
|
|
54
54
|
|
|
55
55
|
<Title
|
|
56
56
|
class="sapUiSmallMarginBeginEnd"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
tooltip="{= ${appView>/bDesktopSize}
|
|
91
91
|
? [${i18n>APP_VERSION_VERSION}, ${versionData>/fullVersion}].join(' ')
|
|
92
92
|
: '' }"
|
|
93
|
-
press="onChangeVersionButtonPress"
|
|
93
|
+
press=".onChangeVersionButtonPress"
|
|
94
94
|
visible="{= ${appView>/bShowVersionSwitchButton} }">
|
|
95
95
|
</Button>
|
|
96
96
|
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
id="surveyButton"
|
|
99
99
|
class="sapUiDemoKitHeaderActionsSurveyButton"
|
|
100
100
|
icon="sap-icon://feedback"
|
|
101
|
-
press="launchSurvey"
|
|
101
|
+
press=".launchSurvey"
|
|
102
102
|
text="{i18n>APP_INFORMATION_BTN_FEEDBACK}"
|
|
103
103
|
tooltip="{i18n>APP_FEEDBACK_BTN_TOOLTIP}">
|
|
104
104
|
<customData>
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
text="{i18n>APP_INFORMATION_BTN_POLICIES}"
|
|
113
113
|
tooltip="{i18n>APP_LEGAL_BTN_TOOLTIP}">
|
|
114
114
|
<menu>
|
|
115
|
-
<Menu itemSelected="onMenuButtonItemSelected">
|
|
115
|
+
<Menu itemSelected=".onMenuButtonItemSelected">
|
|
116
116
|
<MenuItem
|
|
117
117
|
key="legal"
|
|
118
118
|
icon="sap-icon://compare"
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
text="{i18n>APP_INFORMATION_BTN_SETTINGS}"
|
|
159
159
|
tooltip="{i18n>APP_INFORMATION_BTN_TOOLTIP}">
|
|
160
160
|
<menu>
|
|
161
|
-
<Menu itemSelected="onMenuButtonItemSelected">
|
|
161
|
+
<Menu itemSelected=".onMenuButtonItemSelected">
|
|
162
162
|
<items>
|
|
163
163
|
<MenuItem
|
|
164
164
|
key="about"
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
<OverflowToolbarButton
|
|
199
199
|
class="sapUiDemoKitHeaderActionsNewsButton"
|
|
200
200
|
icon="sap-icon://bell"
|
|
201
|
-
press="onNewsButtonPress"
|
|
201
|
+
press=".onNewsButtonPress"
|
|
202
202
|
text="{i18n>APP_INFORMATION_BTN_NEWS}"
|
|
203
203
|
tooltip="{i18n>APP_NEWS_BTN_TOOLTIP}"
|
|
204
204
|
visible="{= !${versionData>/isURLVersioned} }">
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
<IconTabHeader
|
|
217
217
|
id="demoKitSubHeader"
|
|
218
218
|
mode="Inline"
|
|
219
|
-
select="navigateToSection"
|
|
219
|
+
select=".navigateToSection"
|
|
220
220
|
selectedKey="home">
|
|
221
221
|
<items>
|
|
222
222
|
<IconTabFilter
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
visible="{appView>/bPhoneSize}"
|
|
267
267
|
expanded="false"
|
|
268
268
|
selectedKey="home"
|
|
269
|
-
itemSelect="navigateToSection">
|
|
269
|
+
itemSelect=".navigateToSection">
|
|
270
270
|
<tnt:NavigationList>
|
|
271
271
|
<tnt:NavigationListItem
|
|
272
272
|
key="home"
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
<tnt:mainContents>
|
|
301
301
|
<VBox items="{messagesData>/messages}" width="100%" class="sapUiTinyMarginTop" visible="{=!!${messagesData>/iVisibleMessagesCount}}">
|
|
302
302
|
<items>
|
|
303
|
-
<MessageStrip close="onCloseImportantMessage" text="{
|
|
303
|
+
<MessageStrip close=".onCloseImportantMessage" text="{
|
|
304
304
|
parts: [
|
|
305
305
|
'messagesData>text'
|
|
306
306
|
],
|
|
@@ -323,7 +323,7 @@
|
|
|
323
323
|
visible="{= (${appView>/bHasMaster} && !${appView>/bLandscape}) || ${appView>/bHasMaster} && ${appView>/device/system/phone} }">
|
|
324
324
|
<ToggleButton
|
|
325
325
|
class="sapUiDocumentationMasterToggleButton"
|
|
326
|
-
press="toggleMaster"
|
|
326
|
+
press=".toggleMaster"
|
|
327
327
|
pressed="{appView>/bIsShownMaster}"
|
|
328
328
|
icon="{= ${appView>/bIsShownMaster} ? 'sap-icon://navigation-left-arrow' : 'sap-icon://navigation-right-arrow' }" />
|
|
329
329
|
<Title level="H3" text="{appView>/selectedSectionTitle}" />
|
|
@@ -9,23 +9,23 @@
|
|
|
9
9
|
<Button
|
|
10
10
|
text="{i18n>CHANGE_VERSION_DIALOG_APPLY_BTN}"
|
|
11
11
|
type="Emphasized"
|
|
12
|
-
press="onVersionItemPress">
|
|
12
|
+
press=".onVersionItemPress">
|
|
13
13
|
</Button>
|
|
14
14
|
<Button
|
|
15
15
|
text="{i18n>CHANGE_VERSION_DIALOG_LATEST_BTN}"
|
|
16
16
|
type="Ghost"
|
|
17
|
-
press="onLatestVersionItemPress">
|
|
17
|
+
press=".onLatestVersionItemPress">
|
|
18
18
|
</Button>
|
|
19
19
|
<Button
|
|
20
20
|
text="{i18n>CHANGE_VERSION_DIALOG_CLOSE_BTN}"
|
|
21
|
-
press="onCloseVersionDialog">
|
|
21
|
+
press=".onCloseVersionDialog">
|
|
22
22
|
</Button>
|
|
23
23
|
</buttons>
|
|
24
24
|
<subHeader>
|
|
25
25
|
<Bar>
|
|
26
26
|
<contentMiddle>
|
|
27
27
|
<SearchField
|
|
28
|
-
liveChange="onChangeVersionDialogSearch"
|
|
28
|
+
liveChange=".onChangeVersionDialogSearch"
|
|
29
29
|
showSearchButton="false">
|
|
30
30
|
</SearchField>
|
|
31
31
|
</contentMiddle>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
id="samplePageEdit"
|
|
13
13
|
showHeader="false"
|
|
14
14
|
showNavButton="true"
|
|
15
|
-
navButtonPress="onNavBack"
|
|
15
|
+
navButtonPress=".onNavBack"
|
|
16
16
|
busyIndicatorDelay="0"
|
|
17
17
|
class="sapUiDocumentationSamplePage">
|
|
18
18
|
<landmarkInfo>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<subHeader>
|
|
22
22
|
<Bar id="header" class="sapContrast sapContrastPlus">
|
|
23
23
|
<contentLeft>
|
|
24
|
-
<Button type="Back" press="onNavBack" tooltip="{i18n>SAMPLE_BACK_BTN_TOOLTIP}" enabled="{= ${/disableNavBack} === undefined }"/>
|
|
24
|
+
<Button type="Back" press=".onNavBack" tooltip="{i18n>SAMPLE_BACK_BTN_TOOLTIP}" enabled="{= ${/disableNavBack} === undefined }"/>
|
|
25
25
|
</contentLeft>
|
|
26
26
|
<contentMiddle>
|
|
27
27
|
<Title level="H1" text="{/title}" tooltip="{/title}"/>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
visible="{=${/showWarning}}"
|
|
32
32
|
tooltip="{i18n>SAMPLE_EDITED_TOOLTIP}"
|
|
33
33
|
class="sapUiExploredWarningIcon"
|
|
34
|
-
press="onWarningSample"/>
|
|
34
|
+
press=".onWarningSample"/>
|
|
35
35
|
</contentMiddle>
|
|
36
36
|
<contentRight>
|
|
37
37
|
<Button
|
|
@@ -39,23 +39,23 @@
|
|
|
39
39
|
visible="{=${/details} !== undefined || ${/description} !== undefined}"
|
|
40
40
|
icon="sap-icon://hint"
|
|
41
41
|
tooltip="{i18n>SAMPLE_INFO_TOOLTIP}"
|
|
42
|
-
press="onInfoSample"/>
|
|
42
|
+
press=".onInfoSample"/>
|
|
43
43
|
|
|
44
|
-
<Button id="apiRefButton" text="{i18n>SAMPLE_API_REFERENCE_BTN}" type="Emphasized" press="onAPIRefPress" visible="false"/>
|
|
44
|
+
<Button id="apiRefButton" text="{i18n>SAMPLE_API_REFERENCE_BTN}" type="Emphasized" press=".onAPIRefPress" visible="false"/>
|
|
45
45
|
<Button
|
|
46
46
|
id="prevSample"
|
|
47
47
|
icon="sap-icon://navigation-up-arrow"
|
|
48
48
|
class="sapUiHideOnPhone"
|
|
49
49
|
tooltip="{i18n>SAMPLE_PREV_BTN_TOOLTIP}"
|
|
50
50
|
enabled="{= ${/previousSampleId} !== undefined }"
|
|
51
|
-
press="onPreviousSample"/>
|
|
51
|
+
press=".onPreviousSample"/>
|
|
52
52
|
<Button
|
|
53
53
|
id="nextSample"
|
|
54
54
|
icon="sap-icon://navigation-down-arrow"
|
|
55
55
|
class="sapUiHideOnPhone"
|
|
56
56
|
tooltip="{i18n>SAMPLE_NEXT_BTN_TOOLTIP}"
|
|
57
57
|
enabled="{= ${/nextSampleId} !== undefined }"
|
|
58
|
-
press="onNextSample"/>
|
|
58
|
+
press=".onNextSample"/>
|
|
59
59
|
<Button
|
|
60
60
|
id="toggleFullScreenBtn"
|
|
61
61
|
icon="sap-icon://full-screen"
|
|
@@ -63,12 +63,12 @@
|
|
|
63
63
|
( ${device>/system/tablet} &&
|
|
64
64
|
${device>/orientation/landscape} ) }"
|
|
65
65
|
tooltip="{i18n>SAMPLE_FULLSCREEN_BTN_TOOLTIP}"
|
|
66
|
-
press="onToggleFullScreen" />
|
|
66
|
+
press=".onToggleFullScreen" />
|
|
67
67
|
<Button visible="{/showNewTab}"
|
|
68
68
|
id="newTab"
|
|
69
69
|
tooltip="{i18n>SAMPLE_NEW_TAB_BTN_TOOLTIP}"
|
|
70
70
|
icon="sap-icon://inspect"
|
|
71
|
-
press="onNewTab" />
|
|
71
|
+
press=".onNewTab" />
|
|
72
72
|
</contentRight>
|
|
73
73
|
</Bar>
|
|
74
74
|
</subHeader>
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
id="page"
|
|
80
80
|
showHeader="false"
|
|
81
81
|
showNavButton="true"
|
|
82
|
-
navButtonPress="onNavBack"
|
|
82
|
+
navButtonPress=".onNavBack"
|
|
83
83
|
title="{/title}"
|
|
84
84
|
enableScrolling="false">
|
|
85
85
|
<landmarkInfo>
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
text="{i18n>SAMPLE_BTN_RUN}"
|
|
93
93
|
type="Emphasized"
|
|
94
94
|
icon="sap-icon://media-play"
|
|
95
|
-
press="onRunPressed"
|
|
95
|
+
press=".onRunPressed"
|
|
96
96
|
enabled="{settings>/editable}"
|
|
97
97
|
>
|
|
98
98
|
<layoutData>
|
|
@@ -108,12 +108,12 @@
|
|
|
108
108
|
<Button
|
|
109
109
|
text="{i18n>SAMPLE_RESET_CHANGES}"
|
|
110
110
|
type="Emphasized"
|
|
111
|
-
press="onClearButtonPressed" />
|
|
111
|
+
press=".onClearButtonPressed" />
|
|
112
112
|
<ToolbarSpacer />
|
|
113
113
|
<MenuButton id="downloadSampleButton" icon="sap-icon://download" tooltip="{i18n>SAMPLE_DOWNLOAD_BTN_TOOLTIP}" text="{i18n>SAMPLE_BTN_DOWNLOAD}" type="Transparent">
|
|
114
114
|
<menu>
|
|
115
115
|
<Menu>
|
|
116
|
-
<MenuItem text="{i18n>SAMPLE_BTN_ALL_FILES_ZIP}" icon="sap-icon://attachment-zip-file" press="onDownload" />
|
|
116
|
+
<MenuItem text="{i18n>SAMPLE_BTN_ALL_FILES_ZIP}" icon="sap-icon://attachment-zip-file" press=".onDownload" />
|
|
117
117
|
<!-- <MenuItem text="All files as .zip" icon="sap-icon://attachment-zip-file" press="onDownloadZip" /> -->
|
|
118
118
|
</Menu>
|
|
119
119
|
</menu>
|
|
@@ -121,13 +121,13 @@
|
|
|
121
121
|
<OverflowToolbarLayoutData priority="High" />
|
|
122
122
|
</layoutData>
|
|
123
123
|
</MenuButton>
|
|
124
|
-
<OverflowToolbarButton text="{i18n>SAMPLE_CHANGE_POSITION_BTN}" id="splitButton" class="orientationBtn"
|
|
125
|
-
press="onChangeSplitterOrientation" tooltip="{i18n>SAMPLE_CHANGE_POSITION_BTN_TOOLTIP}" icon="sap-icon://header" type="Transparent">
|
|
124
|
+
<OverflowToolbarButton text="{i18n>SAMPLE_CHANGE_POSITION_BTN}" id="splitButton" class="orientationBtn"
|
|
125
|
+
press=".onChangeSplitterOrientation" tooltip="{i18n>SAMPLE_CHANGE_POSITION_BTN_TOOLTIP}" icon="sap-icon://header" type="Transparent">
|
|
126
126
|
<layoutData>
|
|
127
127
|
<OverflowToolbarLayoutData priority="Low" />
|
|
128
128
|
</layoutData>
|
|
129
129
|
</OverflowToolbarButton>
|
|
130
|
-
<Button press="onNavBack" tooltip="{i18n>SAMPLE_CLOSE_BTN_TOOLTIP}" icon="sap-icon://decline" type="Transparent">
|
|
130
|
+
<Button press=".onNavBack" tooltip="{i18n>SAMPLE_CLOSE_BTN_TOOLTIP}" icon="sap-icon://decline" type="Transparent">
|
|
131
131
|
<layoutData>
|
|
132
132
|
<OverflowToolbarLayoutData priority="NeverOverflow" />
|
|
133
133
|
</layoutData>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
width="100%"
|
|
24
24
|
densityAware="false"
|
|
25
25
|
class="welcomeImage"
|
|
26
|
-
load="handleLandingImageLoad"
|
|
26
|
+
load=".handleLandingImageLoad"
|
|
27
27
|
visible="{device>/system/phone}"/>
|
|
28
28
|
|
|
29
29
|
<Image
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
width="100%"
|
|
32
32
|
densityAware="false"
|
|
33
33
|
class="welcomeImage"
|
|
34
|
-
load="handleLandingImageLoad"
|
|
34
|
+
load=".handleLandingImageLoad"
|
|
35
35
|
visible="{=!${device>/system/phone}}"/>
|
|
36
36
|
|
|
37
37
|
<l:VerticalLayout
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
<Page
|
|
9
9
|
id="exploredMasterPage"
|
|
10
10
|
showFooter="false"
|
|
11
|
-
navButtonPress="onNavBack"
|
|
11
|
+
navButtonPress=".onNavBack"
|
|
12
12
|
showNavButton="false"
|
|
13
13
|
class="sapUiDocumentationMasterPage">
|
|
14
14
|
|
|
15
15
|
<!-- Header -->
|
|
16
16
|
<customHeader>
|
|
17
17
|
<Toolbar width="100%">
|
|
18
|
-
<SearchField id="searchField" placeholder="{i18n>CONTROLS_MASTER_FILTER_PLACERHOLDER}" liveChange="handleListFilter" class="sapUiDocumentationFilterField" />
|
|
19
|
-
<Button id="listFilterSettings" icon="sap-icon://filter" press="handleListSettings" tooltip="{i18n>CONTROLS_MASTER_FILTER_BTN_TOOLTIP}"/>
|
|
18
|
+
<SearchField id="searchField" placeholder="{i18n>CONTROLS_MASTER_FILTER_PLACERHOLDER}" liveChange=".handleListFilter" class="sapUiDocumentationFilterField" />
|
|
19
|
+
<Button id="listFilterSettings" icon="sap-icon://filter" press=".handleListSettings" tooltip="{i18n>CONTROLS_MASTER_FILTER_BTN_TOOLTIP}"/>
|
|
20
20
|
</Toolbar>
|
|
21
21
|
</customHeader>
|
|
22
22
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<l:flexContent>
|
|
27
27
|
<List id="exploredMasterList"
|
|
28
28
|
mode="{viewModel>/listMode}"
|
|
29
|
-
selectionChange="onNavToEntity"
|
|
29
|
+
selectionChange=".onNavToEntity"
|
|
30
30
|
noDataText="{i18n>CONTROLS_MASTER_NO_DATA_TEXT}"
|
|
31
31
|
items="{path: '/entities',
|
|
32
32
|
groupHeaderFactory: '.getGroupHeader',
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
<Toolbar id="vsFilterBar"
|
|
43
43
|
active="true"
|
|
44
44
|
visible="false"
|
|
45
|
-
press="handleListSettings">
|
|
45
|
+
press=".handleListSettings">
|
|
46
46
|
<Label id="vsFilterLabel" />
|
|
47
47
|
</Toolbar>
|
|
48
48
|
</infoToolbar>
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
title="{name}"
|
|
52
52
|
counter="{sampleCount}"
|
|
53
53
|
type="{viewModel>/listItemType}"
|
|
54
|
-
press="onNavToEntity" />
|
|
54
|
+
press=".onNavToEntity" />
|
|
55
55
|
</items>
|
|
56
56
|
</List>
|
|
57
57
|
</l:flexContent>
|
|
@@ -17,13 +17,13 @@
|
|
|
17
17
|
id="entityHeader"
|
|
18
18
|
objectTitle="{/name}">
|
|
19
19
|
<actions>
|
|
20
|
-
<ObjectPageHeaderActionButton id="entityBackToSearch" text="{i18n>ENTITY_BACK_BTN}" hideIcon="true" hideText="false" press="backToSearch" visible="false"/>
|
|
20
|
+
<ObjectPageHeaderActionButton id="entityBackToSearch" text="{i18n>ENTITY_BACK_BTN}" hideIcon="true" hideText="false" press=".backToSearch" visible="false"/>
|
|
21
21
|
<ObjectPageHeaderActionButton
|
|
22
22
|
id="toggleFullScreenBtn"
|
|
23
23
|
visible="{device>/system/desktop}"
|
|
24
24
|
icon="sap-icon://full-screen"
|
|
25
25
|
tooltip="{i18n>ENTITY_FULLSCREEN_TOOLTIP}"
|
|
26
|
-
press="onToggleFullScreen" />
|
|
26
|
+
press=".onToggleFullScreen" />
|
|
27
27
|
</actions>
|
|
28
28
|
</ObjectPageHeader>
|
|
29
29
|
</headerTitle>
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<m:Column minScreenWidth="Tablet"><m:Label text="{i18n>ENTITY_TABLE_DESCRIPTION}" /></m:Column>
|
|
83
83
|
</m:columns>
|
|
84
84
|
<m:items>
|
|
85
|
-
<m:ColumnListItem type="Navigation" press="onNavToSample" vAlign="Middle">
|
|
85
|
+
<m:ColumnListItem type="Navigation" press=".onNavToSample" vAlign="Middle">
|
|
86
86
|
<m:cells>
|
|
87
87
|
<m:Text text="{name}" class="entitySampleName" wrapping="false" />
|
|
88
88
|
<m:FormattedText htmlText="{= ${path: 'description'} ? ${path: 'description'} : ''}" />
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
src="./resources/sap/ui/documentation/sdk/images/link-sap.png"
|
|
37
37
|
tooltip="{i18n>LEGAL_DISCLAIMER_EXTERNAL_TOOLTIP}"
|
|
38
38
|
width="1.25rem"
|
|
39
|
-
press="onDisclaimerLinkPress" />
|
|
39
|
+
press=".onDisclaimerLinkPress" />
|
|
40
40
|
</custom:DivContainer>
|
|
41
41
|
<Text
|
|
42
42
|
text="{i18n>WELCOME_BLOCK_5_TEXT}"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<Link
|
|
34
34
|
class="sapUiLargeMarginEnd sapUiTinyMarginBottom sapUiDocumentationFooterLink"
|
|
35
35
|
text="{i18n>FOOTER_PRIVACY}"
|
|
36
|
-
press="navToPrivacyStatement"/>
|
|
36
|
+
press=".navToPrivacyStatement"/>
|
|
37
37
|
<Link
|
|
38
38
|
class="sapUiTinyMarginBottom sapUiLargeMarginEnd sapUiDocumentationFooterLink"
|
|
39
39
|
text="{i18n>FOOTER_TERMS}"
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<Link
|
|
56
56
|
class="sapUiDocumentationFooterLink"
|
|
57
57
|
text="{i18n>APP_SETTINGS_DIALOG_COOKIE_PREFERENCES}"
|
|
58
|
-
press="onEditCookiePreferencesRequest"/>
|
|
58
|
+
press=".onEditCookiePreferencesRequest"/>
|
|
59
59
|
</items>
|
|
60
60
|
</FlexBox>
|
|
61
61
|
</items>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
xmlns="sap.m"
|
|
3
3
|
xmlns:tnt="sap.tnt"
|
|
4
4
|
xmlns:core="sap.ui.core">
|
|
5
|
-
<tnt:NavigationList visible="{= !${device>/system/phone} }" itemSelect="handleFooterMasterItemPress">
|
|
5
|
+
<tnt:NavigationList visible="{= !${device>/system/phone} }" itemSelect=".handleFooterMasterItemPress">
|
|
6
6
|
<tnt:NavigationListItem icon="sap-icon://compare" key="legal" text="{i18n>APP_INFORMATION_BTN_LEGAL}" />
|
|
7
7
|
<tnt:NavigationListItem icon="sap-icon://locked" key="privacy" text="{i18n>APP_INFORMATION_BTN_PRIVACY}" />
|
|
8
8
|
<tnt:NavigationListItem icon="sap-icon://permission" text="{i18n>APP_INFORMATION_BTN_LICENSE}" key="license" visible="{versionData>/isOpenUI5}" />
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
],
|
|
22
22
|
formatter: '.formatSuggestionTitle'
|
|
23
23
|
}"
|
|
24
|
-
press="onSearchPickerItemPress"
|
|
24
|
+
press=".onSearchPickerItemPress"
|
|
25
25
|
type="Active">
|
|
26
26
|
</StandardListItem>
|
|
27
27
|
</List>
|
|
28
28
|
<Link width="100%"
|
|
29
29
|
class="sapMSelectListItem sapMSelectListItemBase sapMSelectListItemBaseHoverable"
|
|
30
|
-
press="onSearchResultsSummaryPress"
|
|
30
|
+
press=".onSearchResultsSummaryPress"
|
|
31
31
|
text="{i18n>SEARCH_SUGGESTIONS_ALL_SECTION_TITLE} ({searchData>/matches/AllLength})"
|
|
32
32
|
visible="{= ${searchData>/matches/AllLength}>0 }"/>
|
|
33
33
|
<List id="categoryList">
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<StandardListItem
|
|
36
36
|
title="{i18n>SEARCH_SUGGESTIONS_API_SECTION_TITLE}"
|
|
37
37
|
counter="{searchData>/matches/APILength}"
|
|
38
|
-
press="onSearchResultsSummaryPress"
|
|
38
|
+
press=".onSearchResultsSummaryPress"
|
|
39
39
|
type="Active">
|
|
40
40
|
<customData>
|
|
41
41
|
<core:CustomData key="category" value="apiref" />
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<StandardListItem
|
|
45
45
|
title="{i18n>SEARCH_SUGGESTIONS_DOCUMENTATION_SECTION_TITLE}"
|
|
46
46
|
counter="{searchData>/matches/DocLength}"
|
|
47
|
-
press="onSearchResultsSummaryPress"
|
|
47
|
+
press=".onSearchResultsSummaryPress"
|
|
48
48
|
type="Active">
|
|
49
49
|
<customData>
|
|
50
50
|
<core:CustomData key="category" value="topics" />
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
<StandardListItem
|
|
54
54
|
title="{i18n>SEARCH_SUGGESTIONS_SAMPLES_SECTION_TITLE}"
|
|
55
55
|
counter="{searchData>/matches/ExploredLength}"
|
|
56
|
-
press="onSearchResultsSummaryPress"
|
|
56
|
+
press=".onSearchResultsSummaryPress"
|
|
57
57
|
type="Active">
|
|
58
58
|
<customData>
|
|
59
59
|
<core:CustomData key="category" value="entity" />
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<StandardListItem
|
|
63
63
|
title="{i18n>SEARCH_SUGGESTIONS_EXTERNAL_SECTION_TITLE}"
|
|
64
64
|
counter="{searchData>/matches/ExternalLength}"
|
|
65
|
-
press="onSearchResultsSummaryPress"
|
|
65
|
+
press=".onSearchResultsSummaryPress"
|
|
66
66
|
type="Active">
|
|
67
67
|
<customData>
|
|
68
68
|
<core:CustomData key="category" value="external" />
|
|
@@ -14,10 +14,10 @@
|
|
|
14
14
|
showNavButton="true"
|
|
15
15
|
enableScrolling="false"
|
|
16
16
|
title="{i18n>LIVE_EDITOR_TITLE}"
|
|
17
|
-
navButtonPress="onNavButtonPress">
|
|
17
|
+
navButtonPress=".onNavButtonPress">
|
|
18
18
|
<custom:DivContainer class="editorWrapper">
|
|
19
19
|
<custom:DivContainer>
|
|
20
|
-
<IconTabHeader selectedKey="{viewModel>/selectedFileName}" select="onFileSwitch">
|
|
20
|
+
<IconTabHeader selectedKey="{viewModel>/selectedFileName}" select=".onFileSwitch">
|
|
21
21
|
<items>
|
|
22
22
|
<IconTabFilter text="App.view.xml" key="App.view.xml"/>
|
|
23
23
|
<IconTabFilter text="App.controller.js" key="App.controller.js"/>
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
editable="{= ${viewModel>/selectedFileType} !== 'text' }"
|
|
31
31
|
value="{viewModel>/selectedFileContent}"
|
|
32
32
|
type="{viewModel>/selectedFileType}"
|
|
33
|
-
liveChange="onSrcLiveChange"/>
|
|
33
|
+
liveChange=".onSrcLiveChange"/>
|
|
34
34
|
</custom:DivContainer>
|
|
35
35
|
</custom:DivContainer>
|
|
36
36
|
|
|
37
37
|
<VBox id="resultBox" class="liveEditorResultBox" width="100%" height="100%">
|
|
38
38
|
<Toolbar style="Clear" class="editorToolbar">
|
|
39
39
|
<Button text="{i18n>LIVE_EDITOR_PREVIEW_BTN}"
|
|
40
|
-
press="requestExecuteCurrentSrc"
|
|
40
|
+
press=".requestExecuteCurrentSrc"
|
|
41
41
|
enabled="{= !${viewModel>/autoPreview}}"/>
|
|
42
42
|
<CheckBox text="{i18n>LIVE_EDITOR_LIVE_PREVIEW_TEXT}"
|
|
43
43
|
selected="{viewModel>/autoPreview}"/>
|