@openui5/sap.ui.documentation 1.145.1 → 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.
Files changed (68) hide show
  1. package/REUSE.toml +0 -51
  2. package/THIRDPARTY.txt +6 -50
  3. package/package.json +7 -7
  4. package/src/sap/ui/documentation/.library +1 -1
  5. package/src/sap/ui/documentation/LightTable.js +20 -46
  6. package/src/sap/ui/documentation/ObjectPageSection.js +108 -0
  7. package/src/sap/ui/documentation/ObjectPageSubSection.js +114 -15
  8. package/src/sap/ui/documentation/Row.js +146 -7
  9. package/src/sap/ui/documentation/library.js +2 -2
  10. package/src/sap/ui/documentation/messagebundle.properties +12 -0
  11. package/src/sap/ui/documentation/messagebundle_de.properties +1 -1
  12. package/src/sap/ui/documentation/messagebundle_en.properties +2 -2
  13. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +3 -0
  14. package/src/sap/ui/documentation/sdk/Component.js +6 -0
  15. package/src/sap/ui/documentation/sdk/controller/App.controller.js +1 -1
  16. package/src/sap/ui/documentation/sdk/controller/Code.controller.js +1 -0
  17. package/src/sap/ui/documentation/sdk/controller/ErrorHandler.js +1 -0
  18. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +10 -5
  19. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +525 -17
  20. package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +1 -0
  21. package/src/sap/ui/documentation/sdk/controller/util/CookiesConsentManager.js +1 -0
  22. package/src/sap/ui/documentation/sdk/controller/util/ResourcesInfo.js +5 -0
  23. package/src/sap/ui/documentation/sdk/controller/util/UsageTracker.js +1 -0
  24. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +1 -0
  25. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/view/CookieSettingsDialog.fragment.xml +5 -5
  26. package/src/sap/ui/documentation/sdk/css/style.css +23 -0
  27. package/src/sap/ui/documentation/sdk/index.js +6 -0
  28. package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +3 -3
  29. package/src/sap/ui/documentation/sdk/view/AboutDialog.fragment.xml +6 -6
  30. package/src/sap/ui/documentation/sdk/view/ApiDetailInitial.view.xml +2 -2
  31. package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +6 -6
  32. package/src/sap/ui/documentation/sdk/view/App.view.xml +11 -11
  33. package/src/sap/ui/documentation/sdk/view/ChangeVersionDialog.fragment.xml +4 -4
  34. package/src/sap/ui/documentation/sdk/view/Code.view.xml +16 -16
  35. package/src/sap/ui/documentation/sdk/view/Controls.view.xml +2 -2
  36. package/src/sap/ui/documentation/sdk/view/ControlsMaster.view.xml +6 -6
  37. package/src/sap/ui/documentation/sdk/view/Entity.view.xml +3 -3
  38. package/src/sap/ui/documentation/sdk/view/FioriDevelopmentRowSAPUI5.fragment.xml +1 -1
  39. package/src/sap/ui/documentation/sdk/view/Footer.fragment.xml +2 -2
  40. package/src/sap/ui/documentation/sdk/view/FooterMaster.fragment.xml +1 -1
  41. package/src/sap/ui/documentation/sdk/view/GlobalSearchPicker.fragment.xml +6 -6
  42. package/src/sap/ui/documentation/sdk/view/Group.view.xml +1 -1
  43. package/src/sap/ui/documentation/sdk/view/LiveEditor.view.xml +4 -4
  44. package/src/sap/ui/documentation/sdk/view/News.view.xml +4 -4
  45. package/src/sap/ui/documentation/sdk/view/NewsPopover.fragment.xml +4 -4
  46. package/src/sap/ui/documentation/sdk/view/NotFound.view.xml +1 -1
  47. package/src/sap/ui/documentation/sdk/view/ReleaseDialog.fragment.xml +1 -1
  48. package/src/sap/ui/documentation/sdk/view/ReleaseNotes.view.xml +1 -1
  49. package/src/sap/ui/documentation/sdk/view/Resources.view.xml +24 -1
  50. package/src/sap/ui/documentation/sdk/view/Sample.view.xml +15 -15
  51. package/src/sap/ui/documentation/sdk/view/SampleNotFound.view.xml +2 -2
  52. package/src/sap/ui/documentation/sdk/view/SearchPage.view.xml +9 -9
  53. package/src/sap/ui/documentation/sdk/view/Sitemap.view.xml +1 -1
  54. package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +76 -77
  55. package/src/sap/ui/documentation/sdk/view/TopicDetail.view.xml +3 -3
  56. package/src/sap/ui/documentation/sdk/view/TopicDetailInitial.view.xml +4 -4
  57. package/src/sap/ui/documentation/sdk/view/TopicMaster.view.xml +5 -5
  58. package/src/sap/ui/documentation/sdk/view/VersionNotFound.view.xml +3 -3
  59. package/src/sap/ui/documentation/sdk/view/Welcome.view.xml +13 -13
  60. package/src/sap/ui/documentation/sdk/view/WelcomeCustomRowOpenUI5.fragment.xml +1 -1
  61. package/src/sap/ui/documentation/sdk/view/appSettingsDialog.fragment.xml +2 -2
  62. package/src/sap/ui/documentation/sdk/view/globalSettingsDialog.fragment.xml +2 -2
  63. package/src/sap/ui/documentation/sdk/view/viewSettingsDialog.fragment.xml +1 -1
  64. package/src/sap/ui/documentation/sdk/view/warningSampleDialog.fragment.xml +1 -1
  65. package/src/sap/ui/documentation/themes/base/Documentation.less +4 -4
  66. package/src/sap/ui/documentation/themes/base/LightTable.less +29 -0
  67. package/src/sap/ui/documentation/themes/sap_belize_base/Documentation.less +4 -4
  68. package/src/sap/ui/documentation/themes/sap_horizon_dark/Documentation.less +1 -1
@@ -19,17 +19,17 @@
19
19
  showCloseButton="false">
20
20
 
21
21
  <buttons>
22
- <Button text="{i18n>NEWS_BTN_MARK_AS_READ}" press="handleMarkAsRead" />
22
+ <Button text="{i18n>NEWS_BTN_MARK_AS_READ}" press=".handleMarkAsRead" />
23
23
  </buttons>
24
24
 
25
25
  <NotificationListItem
26
26
  title="{title}"
27
27
  description="{description}"
28
28
  datetime="{updated}"
29
- close="handleNewsItemClose"
29
+ close=".handleNewsItemClose"
30
30
  class="sapUiDemokitCustomNLI">
31
31
  <buttons>
32
- <Button visible="{= %{link} !== ''}" text="{i18n>NEWS_BTN_VISIT_LINK}" press="handleVisitLink">
32
+ <Button visible="{= %{link} !== ''}" text="{i18n>NEWS_BTN_VISIT_LINK}" press=".handleVisitLink">
33
33
  <customData>
34
34
  <core:CustomData key="newsLink" value="{link}"/>
35
35
  </customData>
@@ -54,7 +54,7 @@
54
54
  showCloseButton="false"
55
55
  class="sapUiDemokitCustomNLI">
56
56
  <buttons>
57
- <Button visible="{= %{link} !== ''}" text="{i18n>NEWS_BTN_VISIT_LINK}" press="handleVisitLink">
57
+ <Button visible="{= %{link} !== ''}" text="{i18n>NEWS_BTN_VISIT_LINK}" press=".handleVisitLink">
58
58
  <customData>
59
59
  <core:CustomData key="newsLink" value="{link}"/>
60
60
  </customData>
@@ -9,14 +9,14 @@
9
9
  <Button
10
10
  id="dismissAllNotifications"
11
11
  text="{i18n>APP_NEWS_DISMISS_ALL_BTN}"
12
- press="handleDismissAllPress"
12
+ press=".handleDismissAllPress"
13
13
  enabled="{= %{news>/newsCount} > 0}" />
14
14
  </beginButton>
15
15
  <endButton>
16
16
  <Button
17
17
  id="showAllNotifications"
18
18
  text="{i18n>APP_NEWS_SHOW_ALL_BTN}"
19
- press="handleShowAllPress" />
19
+ press=".handleShowAllPress" />
20
20
  </endButton>
21
21
  <VBox>
22
22
  <NotificationList
@@ -31,10 +31,10 @@
31
31
  title="{news>title}"
32
32
  description="{news>description}"
33
33
  datetime="{news>updated}"
34
- close="handleNewsItemClose"
34
+ close=".handleNewsItemClose"
35
35
  class="sapUiDemokitCustomNLI">
36
36
  <buttons>
37
- <Button visible="{= %{news>link} !== ''}" text="{i18n>NEWS_BTN_VISIT_LINK}" press="handleVisitNewsLink">
37
+ <Button visible="{= %{news>link} !== ''}" text="{i18n>NEWS_BTN_VISIT_LINK}" press=".handleVisitNewsLink">
38
38
  <customData>
39
39
  <core:CustomData key="newsLink" value="{news>link}"/>
40
40
  </customData>
@@ -12,7 +12,7 @@
12
12
  <Button
13
13
  visible="{device>/system/phone}"
14
14
  text="{i18n>NOT_FOUND_BACK}"
15
- press="onNavBack"
15
+ press=".onNavBack"
16
16
  type="Emphasized"/>
17
17
  </additionalContent>
18
18
  </IllustratedMessage>
@@ -18,7 +18,7 @@
18
18
  stretch="{appView>/bPhoneSize}">
19
19
  <Text text="{i18n>RELEASE_DIALOG_NO_DATA_TEXT}" class="sapUiSmallMargin" visible="{=!!${/noData}}"/>
20
20
  <beginButton>
21
- <Button text="{i18n>RELEASE_DIALOG_CLOSE_BTN}" press="onReleaseDialogClose"/>
21
+ <Button text="{i18n>RELEASE_DIALOG_CLOSE_BTN}" press=".onReleaseDialogClose"/>
22
22
  </beginButton>
23
23
  </Dialog>
24
24
 
@@ -22,7 +22,7 @@
22
22
  <headerContent>
23
23
  <layout:VerticalLayout>
24
24
  <m:Text text="This log includes the library notes for the libraries listed below. The distribution patch information shows when changes were delivered in SAPUI5. The version shown after each change indicates the library version where the change was first included."/>
25
- <m:Select id="VersionSelect" items="{select>/items}" change="handleVersionChange" visible="false">
25
+ <m:Select id="VersionSelect" items="{select>/items}" change=".handleVersionChange" visible="false">
26
26
  <core:Item text="{select>value}" key="{select>key}"/>
27
27
  </m:Select>
28
28
  </layout:VerticalLayout>
@@ -231,7 +231,7 @@
231
231
  <!-- SAP Fiori Tools -->
232
232
  <f:Card class="sapUiDemoKitResourcesRegularCard">
233
233
  <f:header>
234
- <card:Header title="{i18n>RESOURCES_CARD_TITLE_FIORI_TOOLS}" iconSrc="sap-icon://fx" />
234
+ <card:Header title="{i18n>RESOURCES_CARD_TITLE_FIORI_TOOLS}" iconSrc="sap-icon://SAP-icons-TNT/sap-fiori-tools" />
235
235
  </f:header>
236
236
  <f:content>
237
237
  <VBox class="sapUiDemoKitResourcesCardContentSpacing" wrap="Wrap">
@@ -320,6 +320,29 @@
320
320
  </f:content>
321
321
  </f:Card>
322
322
 
323
+ <!-- SAP Fiori MCP server -->
324
+ <f:Card class="sapUiDemoKitResourcesRegularCard">
325
+ <f:header>
326
+ <card:Header title="{i18n>RESOURCES_CARD_TITLE_FIORI_MCPSERVER}" iconSrc="sap-icon://ai" />
327
+ </f:header>
328
+ <f:content>
329
+ <VBox class="sapUiDemoKitResourcesCardContentSpacing" wrap="Wrap">
330
+ <Text text="{i18n>RESOURCES_CARD_DESC_FIORI_MCPSERVER}">
331
+ <layoutData>
332
+ <FlexItemData growFactor="1" />
333
+ </layoutData>
334
+ </Text>
335
+ <Link
336
+ class="sapUiDemoKitResourcesCardLink"
337
+ href="{resources>/fioriMcpServer/href}"
338
+ target="_blank"
339
+ text="{i18n>RESOURCES_CARD_LINK_FIORI_MCPSERVER}"
340
+ tooltip="{i18n>RESOURCES_CARD_LINK_TOOLTIP}"
341
+ wrapping="true" />
342
+ </VBox>
343
+ </f:content>
344
+ </f:Card>
345
+
323
346
  <!-- SAP Business Application Studio -->
324
347
  <f:Card class="sapUiDemoKitResourcesRegularCard">
325
348
  <f:header>
@@ -9,7 +9,7 @@
9
9
  id="page"
10
10
  showHeader="false"
11
11
  showNavButton="true"
12
- navButtonPress="onNavBack"
12
+ navButtonPress=".onNavBack"
13
13
  busyIndicatorDelay="0"
14
14
  class="sapUiDocumentationSamplePage">
15
15
  <landmarkInfo>
@@ -19,17 +19,17 @@
19
19
  <subHeader>
20
20
  <Bar id="header" class="sapContrast sapContrastPlus">
21
21
  <contentLeft>
22
- <Button type="Back" press="onNavBack" tooltip="{i18n>SAMPLE_BACK_BTN_TOOLTIP}" enabled="{= ${/disableNavBack} === undefined }"/>
22
+ <Button type="Back" press=".onNavBack" tooltip="{i18n>SAMPLE_BACK_BTN_TOOLTIP}" enabled="{= ${/disableNavBack} === undefined }"/>
23
23
  </contentLeft>
24
24
  <contentMiddle>
25
25
  <Title level="H1" text="{/title}" tooltip="{/title}"/>
26
26
  <Button
27
27
  id="warningSample"
28
- icon="sap-icon://warning"
28
+ icon="sap-icon://warning"
29
29
  visible="{=${/showWarning}}"
30
30
  tooltip="{i18n>SAMPLE_EDITED_TOOLTIP}"
31
31
  class="sapUiExploredWarningIcon"
32
- press="onWarningSample"/>
32
+ press=".onWarningSample"/>
33
33
  </contentMiddle>
34
34
  <contentRight>
35
35
  <Button
@@ -37,23 +37,23 @@
37
37
  visible="{=${/details} !== undefined || ${/description} !== undefined}"
38
38
  icon="sap-icon://hint"
39
39
  tooltip="{i18n>SAMPLE_INFO_TOOLTIP}"
40
- press="onInfoSample"/>
40
+ press=".onInfoSample"/>
41
41
 
42
- <Button id="apiRefButton" text="{i18n>SAMPLE_API_REFERENCE_BTN}" type="Emphasized" press="onAPIRefPress" visible="false"/>
42
+ <Button id="apiRefButton" text="{i18n>SAMPLE_API_REFERENCE_BTN}" type="Emphasized" press=".onAPIRefPress" visible="false"/>
43
43
  <Button
44
44
  id="prevSample"
45
45
  icon="sap-icon://navigation-up-arrow"
46
46
  class="sapUiHideOnPhone"
47
47
  tooltip="{i18n>SAMPLE_PREV_BTN_TOOLTIP}"
48
48
  enabled="{= ${/previousSampleId} !== undefined }"
49
- press="onPreviousSample"/>
49
+ press=".onPreviousSample"/>
50
50
  <Button
51
51
  id="nextSample"
52
52
  icon="sap-icon://navigation-down-arrow"
53
53
  class="sapUiHideOnPhone"
54
54
  tooltip="{i18n>SAMPLE_NEXT_BTN_TOOLTIP}"
55
55
  enabled="{= ${/nextSampleId} !== undefined }"
56
- press="onNextSample"/>
56
+ press=".onNextSample"/>
57
57
  <Button
58
58
  id="toggleFullScreenBtn"
59
59
  icon="sap-icon://full-screen"
@@ -61,13 +61,13 @@
61
61
  &#40; ${device>/system/tablet} &amp;&amp;
62
62
  ${device>/orientation/landscape} &#41; }"
63
63
  tooltip="{i18n>SAMPLE_FULLSCREEN_BTN_TOOLTIP}"
64
- press="onToggleFullScreen" />
64
+ press=".onToggleFullScreen" />
65
65
  <Button
66
66
  id="toggleRTA"
67
67
  icon="sap-icon://wrench"
68
68
  class="sapUiHideOnPhone"
69
69
  tooltip="{i18n>SAMPLE_ADAPT_BTN_TOOLTIP}"
70
- press="onToggleAdaptationMode"
70
+ press=".onToggleAdaptationMode"
71
71
  visible="{= ${/rtaLoaded} &amp;&amp; !${/iframe} &amp;&amp; !${/external} }"
72
72
  enabled="{= !${/rtaStarted}}"/>
73
73
 
@@ -75,25 +75,25 @@
75
75
  id="code"
76
76
  icon="sap-icon://source-code"
77
77
  tooltip="{i18n>SAMPLE_CODE_BTN_TOOLTIP}"
78
- press="onNavToCode" />
78
+ press=".onNavToCode" />
79
79
  <Button visible="{/showNewTab}"
80
80
  id="newTab"
81
81
  tooltip="{i18n>SAMPLE_NEW_TAB_BTN_TOOLTIP}"
82
82
  icon="sap-icon://inspect"
83
- press="onNewTab" />
83
+ press=".onNewTab" />
84
84
  <Button id="sampleSettings"
85
85
  icon="sap-icon://action-settings"
86
- press="handleSettings"
86
+ press=".handleSettings"
87
87
  visible="{= !${/external} }" />
88
88
  <Button
89
89
  class="sapUiHideOnPhone"
90
90
  text="{i18n>SAMPLE_DOWNLOAD_BTN_TOOLTIP}"
91
91
  icon="sap-icon://download"
92
- press="onDownload" />
92
+ press=".onDownload" />
93
93
  <Button
94
94
  class="sapUiVisibleOnlyOnPhone"
95
95
  icon="sap-icon://download"
96
- press="onDownload" />
96
+ press=".onDownload" />
97
97
  </contentRight>
98
98
  </Bar>
99
99
  </subHeader>
@@ -13,11 +13,11 @@
13
13
  <Button
14
14
  visible="{device>/system/phone}"
15
15
  text="{i18n>NOT_FOUND_BACK}"
16
- press="onNavBack"
16
+ press=".onNavBack"
17
17
  type="Emphasized"/>
18
18
  <Button
19
19
  text="{i18n>NOT_FOUND_SAMPLE_NAV_TO_SAMPLES}"
20
- press="onNavToSamples"
20
+ press=".onNavToSamples"
21
21
  type="Emphasized"/>
22
22
  </VBox>
23
23
  </additionalContent>
@@ -8,7 +8,7 @@
8
8
  useIconTabBar="true"
9
9
  alwaysShowContentHeader="true"
10
10
  upperCaseAnchorBar="false"
11
- navigate="onSwitchTab">
11
+ navigate=".onSwitchTab">
12
12
  <op:headerTitle>
13
13
  <op:ObjectPageHeader id="searchTitle" objectTitle="{
14
14
  parts: [
@@ -44,12 +44,12 @@
44
44
  formatter: '.formatTableTitle'
45
45
  }"/>
46
46
  </OverflowToolbar>
47
- <CheckBox text="{i18n>API_MASTER_DEPRECATED_CB}" class="sapUiNoMarginBegin" selected="{searchData>/includeDeprecated}" select="onDeprecatedFlagChange"/>
47
+ <CheckBox text="{i18n>API_MASTER_DEPRECATED_CB}" class="sapUiNoMarginBegin" selected="{searchData>/includeDeprecated}" select=".onDeprecatedFlagChange"/>
48
48
  <List
49
49
  id="allList"
50
50
  growing="true"
51
51
  growingThreshold="25"
52
- updateFinished="onAllLoadMore"
52
+ updateFinished=".onAllLoadMore"
53
53
  items="{
54
54
  path: 'searchData>/matches/data',
55
55
  groupHeaderFactory: '.getGroupHeader'
@@ -90,13 +90,13 @@
90
90
  }"/>
91
91
  </OverflowToolbar>
92
92
 
93
- <CheckBox text="{i18n>API_MASTER_DEPRECATED_CB}" class="sapUiNoMarginBegin" selected="{searchData>/includeDeprecated}" select="onDeprecatedFlagChange"/>
93
+ <CheckBox text="{i18n>API_MASTER_DEPRECATED_CB}" class="sapUiNoMarginBegin" selected="{searchData>/includeDeprecated}" select=".onDeprecatedFlagChange"/>
94
94
 
95
95
  <List
96
96
  id="apiList"
97
97
  growing="true"
98
98
  growingThreshold="25"
99
- updateFinished="onAPILoadMore"
99
+ updateFinished=".onAPILoadMore"
100
100
  items="{
101
101
  path: 'searchData>/matches/aDataAPI'
102
102
  }">
@@ -140,7 +140,7 @@
140
140
  id="documentationList"
141
141
  growing="true"
142
142
  growingThreshold="25"
143
- updateFinished="onDocLoadMore"
143
+ updateFinished=".onDocLoadMore"
144
144
  items="{
145
145
  path: 'searchData>/matches/aDataDoc'
146
146
  }">
@@ -180,12 +180,12 @@
180
180
  formatter: '.formatTableTitle'
181
181
  }"/>
182
182
  </OverflowToolbar>
183
- <CheckBox text="{i18n>API_MASTER_DEPRECATED_CB}" class="sapUiNoMarginBegin" selected="{searchData>/includeDeprecated}" select="onDeprecatedFlagChange"/>
183
+ <CheckBox text="{i18n>API_MASTER_DEPRECATED_CB}" class="sapUiNoMarginBegin" selected="{searchData>/includeDeprecated}" select=".onDeprecatedFlagChange"/>
184
184
  <List
185
185
  id="samplesList"
186
186
  growing="true"
187
187
  growingThreshold="25"
188
- updateFinished="onExploredLoadMore"
188
+ updateFinished=".onExploredLoadMore"
189
189
  items="{
190
190
  path: 'searchData>/matches/aDataExplored'
191
191
  }">
@@ -230,7 +230,7 @@
230
230
  id="externalList"
231
231
  growing="true"
232
232
  growingThreshold="25"
233
- updateFinished="onExternalLoadMore"
233
+ updateFinished=".onExternalLoadMore"
234
234
  items="{
235
235
  path: 'searchData>/matches/aDataExternal'
236
236
  }">
@@ -12,7 +12,7 @@
12
12
  showNavButton="true"
13
13
  title="{i18n>SITEMAP_TITLE}"
14
14
  titleAlignment="Center"
15
- navButtonPress="onNavButtonPress"
15
+ navButtonPress=".onNavButtonPress"
16
16
  class="sapUiDemoKitSitemapPage sapUiContentPadding">
17
17
  <content>
18
18
  <l:HorizontalLayout class="sapUiDemoKitSitemapLinksWrapper sapUiResponsiveMargin" allowWrapping="true">