@openui5/sap.ui.documentation 1.120.7 → 1.121.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/dep5 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +7 -7
- package/src/sap/ui/documentation/.library +3 -9
- package/src/sap/ui/documentation/DemoAppsCardHeader.js +62 -0
- package/src/sap/ui/documentation/DemokitTreeItem.js +1 -0
- package/src/sap/ui/documentation/DemokitTreeItemRenderer.js +20 -13
- package/src/sap/ui/documentation/ParamText.js +2 -1
- package/src/sap/ui/documentation/library.js +23 -10
- package/src/sap/ui/documentation/messagebundle.properties +20 -20
- package/src/sap/ui/documentation/messagebundle_ar.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_bg.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ca.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_cnr.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_cs.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_cy.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_da.properties +12 -12
- package/src/sap/ui/documentation/messagebundle_de.properties +16 -16
- package/src/sap/ui/documentation/messagebundle_el.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_en.properties +398 -10
- package/src/sap/ui/documentation/messagebundle_en_GB.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_es.properties +11 -11
- package/src/sap/ui/documentation/messagebundle_es_MX.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_et.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_fi.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_fr.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_fr_CA.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_hi.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_hr.properties +11 -11
- package/src/sap/ui/documentation/messagebundle_hu.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_id.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_it.properties +11 -11
- package/src/sap/ui/documentation/messagebundle_iw.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ja.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_kk.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ko.properties +11 -11
- package/src/sap/ui/documentation/messagebundle_lt.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_lv.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_mk.properties +15 -15
- package/src/sap/ui/documentation/messagebundle_ms.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_nl.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_no.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_pl.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_pt.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_pt_PT.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ro.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ru.properties +12 -12
- package/src/sap/ui/documentation/messagebundle_sh.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_sk.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_sl.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_sr.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_sv.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_th.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_tr.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_uk.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_vi.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_zh_CN.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_zh_TW.properties +10 -10
- package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +40 -30
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +20 -12
- package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +3 -3
- package/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +208 -459
- package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +9 -8
- package/src/sap/ui/documentation/sdk/controller/News.controller.js +3 -3
- package/src/sap/ui/documentation/sdk/controller/ReleaseNotes.controller.js +13 -12
- package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +24 -18
- package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +18 -1
- package/src/sap/ui/documentation/sdk/controller/util/APIInfo.js +3 -1
- package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +2 -1
- package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +3 -3
- package/src/sap/ui/documentation/sdk/controller/util/ThemePicker.js +5 -3
- package/src/sap/ui/documentation/sdk/controller/util/URLUtil.js +16 -16
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +8 -8
- package/src/sap/ui/documentation/sdk/images/DemoApps_intro_card.svg +8 -0
- package/src/sap/ui/documentation/sdk/index.js +1 -1
- package/src/sap/ui/documentation/sdk/model/formatter.js +323 -291
- package/src/sap/ui/documentation/sdk/model/libraryData.js +9 -26
- package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +14905 -8737
- package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +6 -3
- package/src/sap/ui/documentation/sdk/view/AboutDialog.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +31 -28
- package/src/sap/ui/documentation/sdk/view/App.view.xml +5 -4
- package/src/sap/ui/documentation/sdk/view/DemoApps.view.xml +189 -141
- package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +34 -30
- package/src/sap/ui/documentation/sdk/view/Tools.view.xml +2 -2
- package/src/sap/ui/documentation/themes/base/DemoApps.less +180 -0
- package/src/sap/ui/documentation/themes/base/DemokitTreeItem.less +20 -0
- package/src/sap/ui/documentation/themes/base/Documentation.less +6 -8
- package/src/sap/ui/documentation/themes/base/Search.less +1 -1
- package/src/sap/ui/documentation/themes/base/library.source.less +3 -2
- package/src/sap/ui/documentation/themes/sap_horizon_hcb/DemoApps.less +11 -0
- package/src/sap/ui/documentation/themes/sap_horizon_hcb/library.source.less +3 -1
- package/src/sap/ui/documentation/themes/sap_horizon_hcw/DemoApps.less +30 -0
- package/src/sap/ui/documentation/themes/sap_horizon_hcw/library.source.less +3 -1
- package/LICENSES/BSD-2-Clause.txt +0 -22
- package/src/sap/ui/documentation/sdk/images/DemoApps_M_and_L_cropped.jpg +0 -0
- package/src/sap/ui/documentation/sdk/images/DemoApps_S_cropped.jpg +0 -0
- package/src/sap/ui/documentation/sdk/thirdparty/esprima.js +0 -3756
- package/src/sap/ui/documentation/sdk/view/BlockLayoutCell.fragment.xml +0 -56
- package/src/sap/ui/documentation/sdk/view/BlockLayoutTeaserCell.fragment.xml +0 -60
|
@@ -10,8 +10,9 @@ sap.ui.define([
|
|
|
10
10
|
'sap/ui/core/routing/History',
|
|
11
11
|
'sap/ui/thirdparty/hasher',
|
|
12
12
|
"sap/ui/documentation/sdk/controller/util/ControlsInfo",
|
|
13
|
+
"sap/ui/documentation/sdk/controller/util/URLUtil",
|
|
13
14
|
"sap/ui/thirdparty/URI"
|
|
14
|
-
], function(Router, History, Hasher, ControlsInfo, URI) {
|
|
15
|
+
], function(Router, History, Hasher, ControlsInfo, URLUtil, URI) {
|
|
15
16
|
"use strict";
|
|
16
17
|
|
|
17
18
|
// We need to set the global hasher instance to not encode URL's. This is specific for the SDK
|
|
@@ -331,7 +332,9 @@ sap.ui.define([
|
|
|
331
332
|
// or if the ctrl is hold and left mouse button is clicked
|
|
332
333
|
// we change the href of the anchor element
|
|
333
334
|
if (iPressedButton === 2 || iPressedButton === 4 || (bNewWindow && iPressedButton === 1)) {
|
|
334
|
-
|
|
335
|
+
if (URLUtil.hasSEOOptimizedFormat(sTargetHref)) {
|
|
336
|
+
sTargetHref = this.convertToStaticFormat(sTargetHref);
|
|
337
|
+
}
|
|
335
338
|
oAnchorElement.setAttribute("href", sTargetHref);
|
|
336
339
|
}
|
|
337
340
|
};
|
|
@@ -604,7 +607,7 @@ sap.ui.define([
|
|
|
604
607
|
DocumentationRouter.prototype.initialize = function () {
|
|
605
608
|
// hide DemoKit if sample should open standalone
|
|
606
609
|
this.getRoute("sample").attachPatternMatched(function () {
|
|
607
|
-
if (
|
|
610
|
+
if (window.location.search.includes("dk-sample-standalone")) {
|
|
608
611
|
document.body.style.visibility = "hidden";
|
|
609
612
|
}
|
|
610
613
|
});
|
|
@@ -1,35 +1,38 @@
|
|
|
1
1
|
<mvc:View
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
controllerName="sap.ui.documentation.sdk.controller.ApiMaster"
|
|
3
|
+
xmlns="sap.m"
|
|
4
|
+
xmlns:l="sap.ui.layout"
|
|
5
|
+
xmlns:core="sap.ui.core"
|
|
6
|
+
xmlns:mvc="sap.ui.core.mvc"
|
|
7
|
+
xmlns:custom="sap.ui.documentation"
|
|
8
|
+
height="100%"
|
|
9
|
+
displayBlock="true"
|
|
10
|
+
class="sapContrast sapContrastPlus">
|
|
9
11
|
|
|
10
12
|
<Page
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
showNavButton="false"
|
|
16
|
-
class="sapUiDocumentationMasterPage">
|
|
13
|
+
class="sapUiDocumentationMasterPage sapUiDemoKitApiMasterPage"
|
|
14
|
+
enableScrolling="true"
|
|
15
|
+
showFooter="false"
|
|
16
|
+
showNavButton="false">
|
|
17
17
|
|
|
18
18
|
<customHeader>
|
|
19
|
-
<Toolbar 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}"/>
|
|
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}" />
|
|
23
23
|
</Toolbar>
|
|
24
24
|
</customHeader>
|
|
25
|
+
|
|
25
26
|
<subHeader>
|
|
26
|
-
<Toolbar>
|
|
27
|
-
<
|
|
27
|
+
<Toolbar height="100%" width="100%">
|
|
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" />
|
|
31
|
+
</FlexBox>
|
|
28
32
|
</Toolbar>
|
|
29
33
|
</subHeader>
|
|
30
34
|
|
|
31
35
|
<content>
|
|
32
|
-
|
|
33
36
|
<l:FixFlex fixFirst="false">
|
|
34
37
|
<l:flexContent>
|
|
35
38
|
<Tree
|
|
@@ -39,21 +42,21 @@
|
|
|
39
42
|
selectionChange="onNodeSelect"
|
|
40
43
|
items="{treeData>/}">
|
|
41
44
|
<custom:DemokitTreeItem
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
title="{treeData>displayName}"
|
|
46
|
+
target="{treeData>name}"
|
|
47
|
+
entityType="{treeData>kind}"
|
|
48
|
+
section="api"
|
|
49
|
+
class="sapDemokitTreeItem"
|
|
50
|
+
deprecated="{treeData>deprecated}"
|
|
51
|
+
experimental="{treeData>experimental}" />
|
|
48
52
|
</Tree>
|
|
49
53
|
</l:flexContent>
|
|
50
54
|
<l:fixContent>
|
|
51
55
|
<core:Fragment fragmentName="sap.ui.documentation.sdk.view.FooterMaster" type="XML" />
|
|
52
56
|
</l:fixContent>
|
|
53
57
|
</l:FixFlex>
|
|
54
|
-
|
|
55
58
|
</content>
|
|
56
59
|
|
|
57
60
|
</Page>
|
|
58
61
|
|
|
59
|
-
</mvc:View>
|
|
62
|
+
</mvc:View>
|
|
@@ -70,9 +70,10 @@
|
|
|
70
70
|
|
|
71
71
|
<OverflowToolbar class="sapUiDemoKitHeaderOTB" style="Clear">
|
|
72
72
|
<ObjectStatus
|
|
73
|
-
text="{
|
|
74
|
-
|
|
75
|
-
: ''
|
|
73
|
+
text="{ parts:
|
|
74
|
+
['appView>/bShowVersionSwitchButton', 'versionData>/isDevVersion', 'versionData>/version'],
|
|
75
|
+
formatter: '.formatter.formatVersionStatus'
|
|
76
|
+
}"
|
|
76
77
|
state="Information"
|
|
77
78
|
inverted="false"
|
|
78
79
|
visible="{= ${appView>/bDesktopSize} && !${appView>/bSearchMode} }">
|
|
@@ -92,7 +93,7 @@
|
|
|
92
93
|
|
|
93
94
|
<OverflowToolbarButton
|
|
94
95
|
id="surveyButton"
|
|
95
|
-
class="
|
|
96
|
+
class="sapUiDemoKitHeaderActionsSurveyButton"
|
|
96
97
|
icon="sap-icon://feedback"
|
|
97
98
|
press="launchSurvey"
|
|
98
99
|
text="{i18n>APP_INFORMATION_BTN_FEEDBACK}"
|
|
@@ -1,142 +1,190 @@
|
|
|
1
1
|
<mvc:View
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
2
|
+
controllerName="sap.ui.documentation.sdk.controller.DemoApps"
|
|
3
|
+
xmlns="sap.m"
|
|
4
|
+
xmlns:f="sap.f"
|
|
5
|
+
xmlns:card="sap.f.cards"
|
|
6
|
+
xmlns:mvc="sap.ui.core.mvc"
|
|
7
|
+
xmlns:grid="sap.ui.layout.cssgrid"
|
|
8
|
+
xmlns:core="sap.ui.core"
|
|
9
|
+
xmlns:custom="sap.ui.documentation"
|
|
10
|
+
displayBlock="true"
|
|
11
|
+
height="100%">
|
|
12
|
+
|
|
13
|
+
<ScrollContainer
|
|
14
|
+
class="sapUiDemoKitDemoAppsPage"
|
|
15
|
+
id="sapUiDemoKitDemoAppsPage"
|
|
16
|
+
width="100%"
|
|
17
|
+
height="100%"
|
|
18
|
+
vertical="true"
|
|
19
|
+
horizontal="false">
|
|
20
|
+
|
|
21
|
+
<VBox class="sapUiMediumMargin sapUiLargeMarginBottom">
|
|
22
|
+
<f:Card class="sapUiDemoKitDemoAppsMainHeaderCard">
|
|
23
|
+
<f:header>
|
|
24
|
+
<card:Header
|
|
25
|
+
title="{i18n>DEMO_APPS_TITLE}"
|
|
26
|
+
subtitle="{= ${versionData>/isOpenUI5} ? ${i18n>DEMO_APPS_SUBTITLE_OPENUI5} : ${i18n>DEMO_APPS_SUBTITLE_SAPUI5} }"
|
|
27
|
+
subtitleMaxLines="5" />
|
|
28
|
+
</f:header>
|
|
29
|
+
<f:content>
|
|
30
|
+
<Button text="{i18n>DEMO_APPS_READ_MORE_BTN}" press=".onReadMoreButtonPress" />
|
|
31
|
+
</f:content>
|
|
32
|
+
</f:Card>
|
|
33
|
+
</VBox>
|
|
34
|
+
|
|
35
|
+
<grid:CSSGrid class="sapUiDemoKitDemoAppsLayoutPaddingBeginEnd sapUiDemoKitDemoAppsLayoutPaddingBottom">
|
|
36
|
+
<!-- Page Content Ratio Config -->
|
|
37
|
+
<grid:customLayout>
|
|
38
|
+
<grid:GridResponsiveLayout>
|
|
39
|
+
<grid:layout>
|
|
40
|
+
<grid:GridSettings gridTemplateColumns="1fr" gridColumnGap="1rem" />
|
|
41
|
+
</grid:layout>
|
|
42
|
+
<grid:layoutL>
|
|
43
|
+
<grid:GridSettings gridTemplateColumns="2fr 1fr" gridColumnGap="1rem" />
|
|
44
|
+
</grid:layoutL>
|
|
45
|
+
<grid:layoutXL>
|
|
46
|
+
<grid:GridSettings gridTemplateColumns="3fr 1fr" gridColumnGap="1rem" />
|
|
47
|
+
</grid:layoutXL>
|
|
48
|
+
</grid:GridResponsiveLayout>
|
|
49
|
+
</grid:customLayout>
|
|
50
|
+
|
|
51
|
+
<grid:items>
|
|
52
|
+
<!-- #1 Page Main Content -->
|
|
53
|
+
<grid:CSSGrid id="sapUiDemoKitDemoAppsMainContent" class="sapUiDemoKitDemoAppsMainContent"
|
|
54
|
+
items="{/demoAppsByCategory}">
|
|
55
|
+
<grid:customLayout>
|
|
56
|
+
<grid:GridBasicLayout gridRowGap="3rem" />
|
|
57
|
+
</grid:customLayout>
|
|
58
|
+
|
|
59
|
+
<grid:CSSGrid>
|
|
60
|
+
<grid:customLayout>
|
|
61
|
+
<grid:GridBasicLayout gridRowGap="1rem" />
|
|
62
|
+
</grid:customLayout>
|
|
63
|
+
|
|
64
|
+
<grid:customData>
|
|
65
|
+
<core:CustomData
|
|
66
|
+
key="demo-apps-category"
|
|
67
|
+
value="{ path: 'categoryId', formatter: '.formatter.getDemoAppsCategoryClass' }"
|
|
68
|
+
writeToDom="true" />
|
|
69
|
+
</grid:customData>
|
|
70
|
+
|
|
71
|
+
<Title
|
|
72
|
+
class="sapUiDemoKitDemoAppsCategoryTitle"
|
|
73
|
+
text="{ path: 'categoryId', formatter: '.formatter.getDemoAppsCategoryTitle' }"
|
|
74
|
+
level="H3"
|
|
75
|
+
titleStyle="{= ${device>/system/phone} ? 'H4' : 'H3' }"
|
|
76
|
+
wrapping="true" />
|
|
77
|
+
|
|
78
|
+
<grid:CSSGrid items="{ path: 'rows', templateShareable: false }">
|
|
79
|
+
<grid:customLayout>
|
|
80
|
+
<grid:GridResponsiveLayout>
|
|
81
|
+
<grid:layoutS>
|
|
82
|
+
<grid:GridSettings
|
|
83
|
+
gridTemplateColumns="1fr"
|
|
84
|
+
gridAutoRows="minmax(15rem, auto)"
|
|
85
|
+
gridGap="1rem" />
|
|
86
|
+
</grid:layoutS>
|
|
87
|
+
<grid:layout>
|
|
88
|
+
<grid:GridSettings
|
|
89
|
+
gridTemplateColumns="repeat(2, 1fr)"
|
|
90
|
+
gridAutoRows="minmax(15rem, auto)"
|
|
91
|
+
gridGap="1rem" />
|
|
92
|
+
</grid:layout>
|
|
93
|
+
<grid:layoutXL>
|
|
94
|
+
<grid:GridSettings
|
|
95
|
+
gridTemplateColumns="repeat(3, 1fr)"
|
|
96
|
+
gridAutoRows="minmax(15rem, auto)"
|
|
97
|
+
gridGap="1rem" />
|
|
98
|
+
</grid:layoutXL>
|
|
99
|
+
</grid:GridResponsiveLayout>
|
|
100
|
+
</grid:customLayout>
|
|
101
|
+
|
|
102
|
+
<f:Card class="sapUiDemoKitDemoAppsCommonCard">
|
|
103
|
+
<f:header>
|
|
104
|
+
<custom:DemoAppsCardHeader href="{ref}" hrefText="{name}" iconSrc="{= 'sap-icon://' + ${icon} }" />
|
|
105
|
+
</f:header>
|
|
106
|
+
<f:content>
|
|
107
|
+
<VBox class="sapUiDemoKitDemoAppsCardContentPadding" wrap="Wrap">
|
|
108
|
+
<Text class="sapUiSmallMarginBottom" text="{desc}" >
|
|
109
|
+
<layoutData>
|
|
110
|
+
<FlexItemData growFactor="1" />
|
|
111
|
+
</layoutData>
|
|
112
|
+
</Text>
|
|
113
|
+
<VBox
|
|
114
|
+
class="sapUiTinyMarginBottom"
|
|
115
|
+
items="{ path: 'links', templateShareable: false }"
|
|
116
|
+
visible="{= !!${links}.length }"
|
|
117
|
+
wrap="Wrap">
|
|
118
|
+
<Link
|
|
119
|
+
href="{ path: 'ref', formatter: '.formatter.crossLink' }"
|
|
120
|
+
target="_blank"
|
|
121
|
+
text="{name}"
|
|
122
|
+
wrapping="true" />
|
|
123
|
+
</VBox>
|
|
124
|
+
<HBox wrap="Wrap">
|
|
125
|
+
<Label
|
|
126
|
+
class="sapUiTinyMarginEnd"
|
|
127
|
+
design="Bold"
|
|
128
|
+
text="{i18n>DEMO_APPS_LIBRARY}"
|
|
129
|
+
wrapping="true" />
|
|
130
|
+
<Link
|
|
131
|
+
href="{ path: 'lib', formatter: '.formatter.libraryLink' }"
|
|
132
|
+
target="_blank"
|
|
133
|
+
text="{lib}"
|
|
134
|
+
enabled="{ path: 'lib', formatter: '.formatter.libraryLinkEnabled' }"
|
|
135
|
+
wrapping="true" />
|
|
136
|
+
</HBox>
|
|
137
|
+
</VBox>
|
|
138
|
+
</f:content>
|
|
139
|
+
</f:Card>
|
|
140
|
+
</grid:CSSGrid>
|
|
141
|
+
</grid:CSSGrid>
|
|
142
|
+
|
|
143
|
+
</grid:CSSGrid>
|
|
144
|
+
<!-- #1 Page Main Content End -->
|
|
145
|
+
|
|
146
|
+
<!-- #2 Page Aside Content -->
|
|
147
|
+
<grid:CSSGrid id="sapUiDemoKitDemoAppsAsideContent" class="sapUiDemoKitDemoAppsAsideContent">
|
|
148
|
+
<VBox class="sapUiDemoKitDemoAppsAsideContentDesktop">
|
|
149
|
+
<f:Card class="sapUiDemoKitDemoAppsAsideCard">
|
|
150
|
+
<f:header>
|
|
151
|
+
<card:Header title="{i18n>DEMO_APPS_DOWNLOAD_OVERVIEW}" />
|
|
152
|
+
</f:header>
|
|
153
|
+
<f:content>
|
|
154
|
+
<List class="sapUiDemoKitDemoAppsDownloadListContentPadding" items="{/demoApps}" showSeparators="None">
|
|
155
|
+
<InputListItem visible="{= !!${config} }" label="{name}">
|
|
156
|
+
<customData>
|
|
157
|
+
<core:CustomData key="config" value="{config}" />
|
|
158
|
+
</customData>
|
|
159
|
+
<Button class="sapUiDemoKitDemoAppsCardDownloadButton"
|
|
160
|
+
type="Transparent" icon="sap-icon://download" press=".onDownloadPress" />
|
|
161
|
+
</InputListItem>
|
|
162
|
+
</List>
|
|
163
|
+
</f:content>
|
|
164
|
+
</f:Card>
|
|
165
|
+
</VBox>
|
|
166
|
+
|
|
167
|
+
<VBox class="sapUiDemoKitDemoAppsAsideContentMobile" wrap="Wrap">
|
|
168
|
+
<Panel class="sapUiDemoKitDemoAppsAsidePanel" expandable="true" headerText="{i18n>DEMO_APPS_DOWNLOAD_OVERVIEW}">
|
|
169
|
+
<List items="{/demoApps}" showSeparators="None">
|
|
170
|
+
<InputListItem visible="{= !!${config} }" label="{name}">
|
|
171
|
+
<customData>
|
|
172
|
+
<core:CustomData key="config" value="{config}" />
|
|
173
|
+
</customData>
|
|
174
|
+
<Button class="sapUiDemoKitDemoAppsCardDownloadButton"
|
|
175
|
+
type="Transparent" icon="sap-icon://download" press=".onDownloadPress" />
|
|
176
|
+
</InputListItem>
|
|
177
|
+
</List>
|
|
178
|
+
</Panel>
|
|
179
|
+
</VBox>
|
|
180
|
+
</grid:CSSGrid>
|
|
181
|
+
<!-- #2 Page Aside Content End -->
|
|
182
|
+
|
|
183
|
+
</grid:items>
|
|
184
|
+
|
|
185
|
+
</grid:CSSGrid>
|
|
186
|
+
|
|
187
|
+
<core:Fragment fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
|
|
188
|
+
</ScrollContainer>
|
|
189
|
+
|
|
190
|
+
</mvc:View>
|