@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.
Files changed (103) hide show
  1. package/.reuse/dep5 +23 -21
  2. package/THIRDPARTY.txt +6 -43
  3. package/package.json +7 -7
  4. package/src/sap/ui/documentation/.library +3 -9
  5. package/src/sap/ui/documentation/DemoAppsCardHeader.js +62 -0
  6. package/src/sap/ui/documentation/DemokitTreeItem.js +1 -0
  7. package/src/sap/ui/documentation/DemokitTreeItemRenderer.js +20 -13
  8. package/src/sap/ui/documentation/ParamText.js +2 -1
  9. package/src/sap/ui/documentation/library.js +23 -10
  10. package/src/sap/ui/documentation/messagebundle.properties +20 -20
  11. package/src/sap/ui/documentation/messagebundle_ar.properties +10 -10
  12. package/src/sap/ui/documentation/messagebundle_bg.properties +10 -10
  13. package/src/sap/ui/documentation/messagebundle_ca.properties +10 -10
  14. package/src/sap/ui/documentation/messagebundle_cnr.properties +10 -10
  15. package/src/sap/ui/documentation/messagebundle_cs.properties +10 -10
  16. package/src/sap/ui/documentation/messagebundle_cy.properties +10 -10
  17. package/src/sap/ui/documentation/messagebundle_da.properties +12 -12
  18. package/src/sap/ui/documentation/messagebundle_de.properties +16 -16
  19. package/src/sap/ui/documentation/messagebundle_el.properties +10 -10
  20. package/src/sap/ui/documentation/messagebundle_en.properties +398 -10
  21. package/src/sap/ui/documentation/messagebundle_en_GB.properties +10 -10
  22. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +2 -2
  23. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +10 -10
  24. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +2 -2
  25. package/src/sap/ui/documentation/messagebundle_es.properties +11 -11
  26. package/src/sap/ui/documentation/messagebundle_es_MX.properties +10 -10
  27. package/src/sap/ui/documentation/messagebundle_et.properties +10 -10
  28. package/src/sap/ui/documentation/messagebundle_fi.properties +10 -10
  29. package/src/sap/ui/documentation/messagebundle_fr.properties +10 -10
  30. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +10 -10
  31. package/src/sap/ui/documentation/messagebundle_hi.properties +10 -10
  32. package/src/sap/ui/documentation/messagebundle_hr.properties +11 -11
  33. package/src/sap/ui/documentation/messagebundle_hu.properties +10 -10
  34. package/src/sap/ui/documentation/messagebundle_id.properties +10 -10
  35. package/src/sap/ui/documentation/messagebundle_it.properties +11 -11
  36. package/src/sap/ui/documentation/messagebundle_iw.properties +10 -10
  37. package/src/sap/ui/documentation/messagebundle_ja.properties +10 -10
  38. package/src/sap/ui/documentation/messagebundle_kk.properties +10 -10
  39. package/src/sap/ui/documentation/messagebundle_ko.properties +11 -11
  40. package/src/sap/ui/documentation/messagebundle_lt.properties +10 -10
  41. package/src/sap/ui/documentation/messagebundle_lv.properties +10 -10
  42. package/src/sap/ui/documentation/messagebundle_mk.properties +15 -15
  43. package/src/sap/ui/documentation/messagebundle_ms.properties +10 -10
  44. package/src/sap/ui/documentation/messagebundle_nl.properties +10 -10
  45. package/src/sap/ui/documentation/messagebundle_no.properties +10 -10
  46. package/src/sap/ui/documentation/messagebundle_pl.properties +10 -10
  47. package/src/sap/ui/documentation/messagebundle_pt.properties +10 -10
  48. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +10 -10
  49. package/src/sap/ui/documentation/messagebundle_ro.properties +10 -10
  50. package/src/sap/ui/documentation/messagebundle_ru.properties +12 -12
  51. package/src/sap/ui/documentation/messagebundle_sh.properties +10 -10
  52. package/src/sap/ui/documentation/messagebundle_sk.properties +10 -10
  53. package/src/sap/ui/documentation/messagebundle_sl.properties +10 -10
  54. package/src/sap/ui/documentation/messagebundle_sr.properties +10 -10
  55. package/src/sap/ui/documentation/messagebundle_sv.properties +10 -10
  56. package/src/sap/ui/documentation/messagebundle_th.properties +10 -10
  57. package/src/sap/ui/documentation/messagebundle_tr.properties +10 -10
  58. package/src/sap/ui/documentation/messagebundle_uk.properties +10 -10
  59. package/src/sap/ui/documentation/messagebundle_vi.properties +10 -10
  60. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +10 -10
  61. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +10 -10
  62. package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +40 -30
  63. package/src/sap/ui/documentation/sdk/controller/App.controller.js +20 -12
  64. package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +3 -3
  65. package/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +208 -459
  66. package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +9 -8
  67. package/src/sap/ui/documentation/sdk/controller/News.controller.js +3 -3
  68. package/src/sap/ui/documentation/sdk/controller/ReleaseNotes.controller.js +13 -12
  69. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +24 -18
  70. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +18 -1
  71. package/src/sap/ui/documentation/sdk/controller/util/APIInfo.js +3 -1
  72. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +2 -1
  73. package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +3 -3
  74. package/src/sap/ui/documentation/sdk/controller/util/ThemePicker.js +5 -3
  75. package/src/sap/ui/documentation/sdk/controller/util/URLUtil.js +16 -16
  76. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +8 -8
  77. package/src/sap/ui/documentation/sdk/images/DemoApps_intro_card.svg +8 -0
  78. package/src/sap/ui/documentation/sdk/index.js +1 -1
  79. package/src/sap/ui/documentation/sdk/model/formatter.js +323 -291
  80. package/src/sap/ui/documentation/sdk/model/libraryData.js +9 -26
  81. package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +14905 -8737
  82. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +6 -3
  83. package/src/sap/ui/documentation/sdk/view/AboutDialog.fragment.xml +1 -1
  84. package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +31 -28
  85. package/src/sap/ui/documentation/sdk/view/App.view.xml +5 -4
  86. package/src/sap/ui/documentation/sdk/view/DemoApps.view.xml +189 -141
  87. package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +34 -30
  88. package/src/sap/ui/documentation/sdk/view/Tools.view.xml +2 -2
  89. package/src/sap/ui/documentation/themes/base/DemoApps.less +180 -0
  90. package/src/sap/ui/documentation/themes/base/DemokitTreeItem.less +20 -0
  91. package/src/sap/ui/documentation/themes/base/Documentation.less +6 -8
  92. package/src/sap/ui/documentation/themes/base/Search.less +1 -1
  93. package/src/sap/ui/documentation/themes/base/library.source.less +3 -2
  94. package/src/sap/ui/documentation/themes/sap_horizon_hcb/DemoApps.less +11 -0
  95. package/src/sap/ui/documentation/themes/sap_horizon_hcb/library.source.less +3 -1
  96. package/src/sap/ui/documentation/themes/sap_horizon_hcw/DemoApps.less +30 -0
  97. package/src/sap/ui/documentation/themes/sap_horizon_hcw/library.source.less +3 -1
  98. package/LICENSES/BSD-2-Clause.txt +0 -22
  99. package/src/sap/ui/documentation/sdk/images/DemoApps_M_and_L_cropped.jpg +0 -0
  100. package/src/sap/ui/documentation/sdk/images/DemoApps_S_cropped.jpg +0 -0
  101. package/src/sap/ui/documentation/sdk/thirdparty/esprima.js +0 -3756
  102. package/src/sap/ui/documentation/sdk/view/BlockLayoutCell.fragment.xml +0 -56
  103. 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
- sTargetHref = this.convertToStaticFormat(sTargetHref);
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 (new URLSearchParams(window.location.search).has("dk-sample-standalone")) {
610
+ if (window.location.search.includes("dk-sample-standalone")) {
608
611
  document.body.style.visibility = "hidden";
609
612
  }
610
613
  });
@@ -112,7 +112,7 @@
112
112
  <core:Title text="{appView>displayName}"/>
113
113
  </f:title>
114
114
  <f:layout>
115
- <f:GridLayout/>
115
+ <f:ResponsiveGridLayout/>
116
116
  </f:layout>
117
117
  <f:formContainers>
118
118
  <f:FormContainer>
@@ -1,35 +1,38 @@
1
1
  <mvc:View
2
- controllerName="sap.ui.documentation.sdk.controller.ApiMaster"
3
- xmlns:mvc="sap.ui.core.mvc"
4
- xmlns="sap.m"
5
- xmlns:l="sap.ui.layout"
6
- xmlns:core="sap.ui.core"
7
- xmlns:custom="sap.ui.documentation"
8
- class="sapContrast sapContrastPlus">
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
- id="page"
12
- enableScrolling="true"
13
- showFooter="false"
14
- navButtonPress="onNavBack"
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" class="sapUiDocumentationFilterField"/>
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
- <CheckBox id="includeDeprecated" text="{i18n>API_MASTER_DEPRECATED_CB}" class="sapUiNoMarginBegin" select="onIncludeDeprecatedItemsChange"/>
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
- title="{treeData>displayName}"
43
- target="{treeData>name}"
44
- entityType="{treeData>kind}"
45
- section="api"
46
- class="sapDemokitTreeItem"
47
- deprecated="{treeData>deprecated}"/>
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="{= ${versionData>/isDevVersion} &amp;&amp; !${appView>/bShowVersionSwitchButton}
74
- ? [${i18n>APP_VERSION_VERSION}, ${versionData>/version}, ${i18n>APP_VERSION_IN_PROGRESS}].join(' ')
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} &amp;&amp; !${appView>/bSearchMode} }">
@@ -92,7 +93,7 @@
92
93
 
93
94
  <OverflowToolbarButton
94
95
  id="surveyButton"
95
- class="surveyButton"
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
- controllerName="sap.ui.documentation.sdk.controller.DemoApps"
3
- xmlns="sap.m"
4
- xmlns:core="sap.ui.core"
5
- xmlns:mvc="sap.ui.core.mvc"
6
- xmlns:l="sap.ui.layout">
7
- <Page
8
- id="demoAppsPage"
9
- showSubHeader="false"
10
- showFooter="false"
11
- showHeader="false"
12
- class="sapUiDemoApps">
13
- <landmarkInfo>
14
- <PageAccessibleLandmarkInfo
15
- headerRole="Region"
16
- headerLabel="Demo Apps"
17
- contentRole="Main"
18
- contentLabel="Demo Apps by Category"/>
19
- </landmarkInfo>
20
- <content>
21
- <ScrollContainer vertical="true" width="100%" height="100%">
22
- <Panel
23
- id="rootPage"
24
- accessibleRole="Region"
25
- class="sapUiNoContentPadding">
26
- <l:BlockLayout
27
- id="headerLayout"
28
- background="Light">
29
- <l:BlockLayoutRow>
30
- <l:BlockLayoutCell
31
- class="sapUiDemokitLandingImageCell sapUiNoContentPadding">
32
- <Image
33
- id="phoneImage"
34
- src="./resources/sap/ui/documentation/sdk/images/DemoApps_S_cropped.jpg"
35
- alt="{i18n>DEMO_APPS_IMAGE_PHONE}"
36
- width="100%"
37
- class="welcomeImage"
38
- load=".handleLandingImageLoad"
39
- visible="{device>/system/phone}"
40
- densityAware="false"/>
41
- <Image
42
- id="desktopImage"
43
- class="desktopImage welcomeImage"
44
- src="./resources/sap/ui/documentation/sdk/images/DemoApps_M_and_L_cropped.jpg"
45
- alt="{i18n>DEMO_APPS_IMAGE_DESKTOP}"
46
- densityAware="false"
47
- load=".handleLandingImageLoad"
48
- visible="{=!${device>/system/phone}}"
49
- width="100%"/>
50
- <l:Grid
51
- id="landingImageHeadline"
52
- width="100%"
53
- visible="false"
54
- class="headerGrid"
55
- hSpacing="0"
56
- defaultSpan="L6 M6 S12">
57
- <l:VerticalLayout width="100%" class="sapUiTinyMarginTop sapUiTinyMarginEnd">
58
- <Text class="headerText" text="{i18n>DEMO_APPS_TEXT}" width="100%" textAlign="Left"/>
59
- <l:HorizontalLayout>
60
- <Button
61
- class="actionButton headerButton"
62
- id="download"
63
- text="{i18n>DEMO_APPS_DOWNLOAD_BTN}"
64
- type="Emphasized"
65
- press=".onDownloadButtonPress">
66
- </Button>
67
- <Button
68
- class="actionButton headerButton sapContrast sapContrastPlus sapUiSmallMarginBegin"
69
- id="readMoreButton"
70
- text="{i18n>DEMO_APPS_READ_MORE_BTN}"
71
- press=".onReadMoreButtonPress">
72
- </Button>
73
- </l:HorizontalLayout>
74
- </l:VerticalLayout>
75
- </l:Grid>
76
- </l:BlockLayoutCell>
77
- </l:BlockLayoutRow>
78
- </l:BlockLayout>
79
- </Panel>
80
- <l:VerticalLayout content="{/demoAppsByCategory}" width="100%">
81
- <Panel
82
- accessibleRole="Region"
83
- backgroundDesign="Transparent"
84
- class="sapUiNoContentPadding">
85
- <headerToolbar>
86
- <Toolbar class="headlineCell">
87
- <Title
88
- text="{
89
- path: 'categoryId',
90
- formatter: '.formatter.categoryName'
91
- }"
92
- level="H1"
93
- titleStyle="H1"
94
- class="sapUiMediumMarginTopBottom"/>
95
- </Toolbar>
96
- </headerToolbar>
97
- <l:BlockLayout
98
- content="{
99
- path: 'rows',
100
- templateShareable: false
101
- }"
102
- background="Light">
103
- <l:BlockLayoutRow content="{
104
- path: '',
105
- factory: '.createDemoAppCellFactory'
106
- }"/>
107
- </l:BlockLayout>
108
- </Panel>
109
- </l:VerticalLayout>
110
-
111
- <core:Fragment id="demoAppsFooter" visible="{/bFooterVisible}" fragmentName="sap.ui.documentation.sdk.view.Footer" type="XML" />
112
-
113
- </ScrollContainer>
114
- </content>
115
- <dependents>
116
- <Dialog id="downloadDialog"
117
- title="{i18n>DEMO_APPS_DOWNLOAD_DIALOG_TITLE}">
118
- <subHeader>
119
- <Toolbar>
120
- <SearchField id="downloadDialogSearch" liveChange=".onSearch"/>
121
- </Toolbar>
122
- </subHeader>
123
- <List items="{/demoApps}" id="downloadDialogList">
124
- <InputListItem
125
- visible="{= !!${config} }"
126
- label="{name}">
127
- <customData>
128
- <core:CustomData key="config" value="{config}"/>
129
- </customData>
130
- <Button
131
- text="{i18n>DEMO_APPS_DOWNLOAD_BTN}"
132
- type="Emphasized"
133
- press=".onDownloadPress"/>
134
- </InputListItem>
135
- </List>
136
- <buttons>
137
- <Button text="{i18n>DEMO_APPS_DOWNLOAD_DIALOG_CANCEL_BTN}" press=".onCloseDialog" />
138
- </buttons>
139
- </Dialog>
140
- </dependents>
141
- </Page>
142
- </mvc:View>
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>