@openui5/sap.ui.documentation 1.126.1 → 1.128.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 (80) hide show
  1. package/THIRDPARTY.txt +1 -1
  2. package/package.json +7 -7
  3. package/src/sap/ui/documentation/.library +1 -1
  4. package/src/sap/ui/documentation/library.js +2 -2
  5. package/src/sap/ui/documentation/messagebundle.properties +4 -0
  6. package/src/sap/ui/documentation/messagebundle_ar.properties +2 -0
  7. package/src/sap/ui/documentation/messagebundle_bg.properties +2 -0
  8. package/src/sap/ui/documentation/messagebundle_ca.properties +2 -0
  9. package/src/sap/ui/documentation/messagebundle_cnr.properties +2 -0
  10. package/src/sap/ui/documentation/messagebundle_cs.properties +2 -0
  11. package/src/sap/ui/documentation/messagebundle_cy.properties +2 -0
  12. package/src/sap/ui/documentation/messagebundle_da.properties +2 -0
  13. package/src/sap/ui/documentation/messagebundle_de.properties +4 -2
  14. package/src/sap/ui/documentation/messagebundle_el.properties +2 -0
  15. package/src/sap/ui/documentation/messagebundle_en.properties +2 -0
  16. package/src/sap/ui/documentation/messagebundle_en_GB.properties +2 -0
  17. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +149 -111
  18. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +2 -0
  19. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +452 -414
  20. package/src/sap/ui/documentation/messagebundle_es.properties +2 -0
  21. package/src/sap/ui/documentation/messagebundle_es_MX.properties +2 -0
  22. package/src/sap/ui/documentation/messagebundle_et.properties +2 -0
  23. package/src/sap/ui/documentation/messagebundle_fi.properties +4 -2
  24. package/src/sap/ui/documentation/messagebundle_fr.properties +2 -0
  25. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +2 -0
  26. package/src/sap/ui/documentation/messagebundle_hi.properties +2 -0
  27. package/src/sap/ui/documentation/messagebundle_hr.properties +2 -0
  28. package/src/sap/ui/documentation/messagebundle_hu.properties +2 -0
  29. package/src/sap/ui/documentation/messagebundle_id.properties +7 -5
  30. package/src/sap/ui/documentation/messagebundle_it.properties +2 -0
  31. package/src/sap/ui/documentation/messagebundle_iw.properties +2 -0
  32. package/src/sap/ui/documentation/messagebundle_ja.properties +2 -0
  33. package/src/sap/ui/documentation/messagebundle_kk.properties +2 -0
  34. package/src/sap/ui/documentation/messagebundle_ko.properties +2 -0
  35. package/src/sap/ui/documentation/messagebundle_lt.properties +2 -0
  36. package/src/sap/ui/documentation/messagebundle_lv.properties +2 -0
  37. package/src/sap/ui/documentation/messagebundle_mk.properties +3 -1
  38. package/src/sap/ui/documentation/messagebundle_ms.properties +2 -0
  39. package/src/sap/ui/documentation/messagebundle_nl.properties +2 -0
  40. package/src/sap/ui/documentation/messagebundle_no.properties +2 -0
  41. package/src/sap/ui/documentation/messagebundle_pl.properties +2 -0
  42. package/src/sap/ui/documentation/messagebundle_pt.properties +2 -0
  43. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +2 -0
  44. package/src/sap/ui/documentation/messagebundle_ro.properties +2 -0
  45. package/src/sap/ui/documentation/messagebundle_ru.properties +2 -0
  46. package/src/sap/ui/documentation/messagebundle_sh.properties +2 -0
  47. package/src/sap/ui/documentation/messagebundle_sk.properties +2 -0
  48. package/src/sap/ui/documentation/messagebundle_sl.properties +2 -0
  49. package/src/sap/ui/documentation/messagebundle_sr.properties +2 -0
  50. package/src/sap/ui/documentation/messagebundle_sv.properties +2 -0
  51. package/src/sap/ui/documentation/messagebundle_th.properties +2 -0
  52. package/src/sap/ui/documentation/messagebundle_tr.properties +2 -0
  53. package/src/sap/ui/documentation/messagebundle_uk.properties +2 -0
  54. package/src/sap/ui/documentation/messagebundle_vi.properties +2 -0
  55. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +2 -0
  56. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +2 -0
  57. package/src/sap/ui/documentation/sdk/controller/App.controller.js +13 -3
  58. package/src/sap/ui/documentation/sdk/controller/Entity.controller.js +1 -0
  59. package/src/sap/ui/documentation/sdk/controller/SampleNotFound.controller.js +7 -0
  60. package/src/sap/ui/documentation/sdk/controller/SearchPage.controller.js +14 -1
  61. package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +38 -3
  62. package/src/sap/ui/documentation/sdk/controller/TopicMaster.controller.js +14 -0
  63. package/src/sap/ui/documentation/sdk/controller/VersionNotFound.controller.js +8 -8
  64. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_en_US_sappsd.properties +1 -1
  65. package/src/sap/ui/documentation/sdk/cookieSettingsDialog/i18n/i18n_en_US_saptrc.properties +10 -10
  66. package/src/sap/ui/documentation/sdk/css/style.css +6 -15
  67. package/src/sap/ui/documentation/sdk/manifest.json +1 -1
  68. package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +3 -3
  69. package/src/sap/ui/documentation/sdk/tmpl/package.json.tmpl +1 -1
  70. package/src/sap/ui/documentation/sdk/tmpl/ui5.yaml.tmpl +1 -1
  71. package/src/sap/ui/documentation/sdk/view/News.view.xml +4 -4
  72. package/src/sap/ui/documentation/sdk/view/NotFound.view.xml +11 -7
  73. package/src/sap/ui/documentation/sdk/view/SampleNotFound.view.xml +17 -8
  74. package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +1 -0
  75. package/src/sap/ui/documentation/sdk/view/VersionNotFound.view.xml +20 -24
  76. package/src/sap/ui/documentation/themes/base/DemokitTreeItem.less +2 -2
  77. package/src/sap/ui/documentation/themes/base/Documentation.less +1 -1
  78. package/src/sap/ui/documentation/themes/base/LightTable.less +4 -4
  79. package/src/sap/ui/documentation/themes/sap_belize_base/LightTable.less +4 -4
  80. package/src/sap/ui/documentation/themes/sap_horizon_dark/Documentation.less +1 -1
@@ -348,6 +348,7 @@ FOOTER_LICENSE=\u041B\u0456\u0446\u0435\u043D\u0437\u0456\u044F
348
348
 
349
349
  NOT_FOUND_TITLE=\u041D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E
350
350
  NOT_FOULD_TEXT=\u0417\u0430\u043F\u0438\u0442\u0430\u043D\u0438\u0439 \u0440\u0435\u0441\u0443\u0440\u0441 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u0438\u0439.
351
+ NOT_FOUND_BACK=\u041D\u0430\u0437\u0430\u0434
351
352
 
352
353
  NOT_FOUND_REMOVED_TEXT=\u0417\u0430\u043F\u0438\u0442\u0430\u043D\u0430 \u0432\u0435\u0440\u0441\u0456\u044F UI5 \u0437\u0430\u0441\u0442\u0430\u0440\u0456\u043B\u0430 \u0442\u0430 \u0431\u0443\u043B\u0430 \u0432\u0438\u0434\u0430\u043B\u0435\u043D\u0430.
353
354
  NOT_FOUND_DK_REMOVED_TEXT=\u0417\u0430\u043F\u0438\u0442\u0430\u043D\u0438\u0439 \u0432\u043C\u0456\u0441\u0442 \u0434\u0435\u043C\u043E\u043D\u0441\u0442\u0440\u0430\u0446\u0456\u0439\u043D\u043E\u0433\u043E \u043A\u043E\u043C\u043F\u043B\u0435\u043A\u0442\u0443 UI5 \u0432\u0438\u0434\u0430\u043B\u0435\u043D\u043E.
@@ -357,6 +358,7 @@ VERSION_NOT_FOUND_HOME_PAGE_BUTTON=\u0414\u043E\u043C\u0430\u0448\u043D\u044F \u
357
358
 
358
359
  NOT_FOUND_SAMPLE_TITLE=\u0417\u0440\u0430\u0437\u043E\u043A \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E
359
360
  NOT_FOUND_SAMPLE_TEXT=\u0417\u0430\u043F\u0438\u0442\u0430\u043D\u0438\u0439 \u0437\u0440\u0430\u0437\u043E\u043A \u043D\u0435 \u0456\u0441\u043D\u0443\u0454 \u0434\u043B\u044F \u0432\u0438\u0431\u0440\u0430\u043D\u043E\u0457 \u0432\u0435\u0440\u0441\u0456\u0457 UI5. \u041F\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u0432\u0441\u0456 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0456 \u0437\u0440\u0430\u0437\u043A\u0438 \u0442\u0443\u0442
361
+ NOT_FOUND_SAMPLE_NAV_TO_SAMPLES=\u0421\u0442\u043E\u0440\u0456\u043D\u043A\u0430 \u0437\u0440\u0430\u0437\u043A\u0456\u0432
360
362
 
361
363
  SITEMAP_TITLE=\u041A\u0430\u0440\u0442\u0430 \u0441\u0430\u0439\u0442\u0443
362
364
 
@@ -348,6 +348,7 @@ FOOTER_LICENSE=Gi\u00E2\u0301y phe\u0301p
348
348
 
349
349
  NOT_FOUND_TITLE=Kh\u00F4ng ti\u0300m th\u00E2\u0301y
350
350
  NOT_FOULD_TEXT=Kh\u00F4ng ti\u0300m th\u00E2\u0301y ta\u0300i nguy\u00EAn y\u00EAu c\u00E2\u0300u.
351
+ NOT_FOUND_BACK=Quay la\u0323i
351
352
 
352
353
  NOT_FOUND_REMOVED_TEXT=Phi\u00EAn ba\u0309n UI5 \u0111a\u0303 y\u00EAu c\u00E2\u0300u bi\u0323 l\u00F4\u0303i th\u01A1\u0300i va\u0300 bi\u0323 loa\u0323i bo\u0309.
353
354
  NOT_FOUND_DK_REMOVED_TEXT=N\u00F4\u0323i dung UI5 Demo Kit \u0111\u01B0\u01A1\u0323c y\u00EAu c\u00E2\u0300u \u0111a\u0303 \u0111\u01B0\u01A1\u0323c loa\u0323i bo\u0309.
@@ -357,6 +358,7 @@ VERSION_NOT_FOUND_HOME_PAGE_BUTTON=Trang chu\u0309
357
358
 
358
359
  NOT_FOUND_SAMPLE_TITLE=Kh\u00F4ng ti\u0300m th\u00E2\u0301y m\u00E2\u0303u
359
360
  NOT_FOUND_SAMPLE_TEXT=M\u00E2\u0303u \u0111\u01B0\u01A1\u0323c y\u00EAu c\u00E2\u0300u kh\u00F4ng t\u00F4\u0300n ta\u0323i \u0111\u00F4\u0301i v\u01A1\u0301i phi\u00EAn ba\u0309n UI5 \u0111a\u0303 cho\u0323n. Ki\u00EA\u0309m tra m\u00E2\u0303u co\u0301 s\u0103\u0303n \u01A1\u0309 \u0111\u00E2y
361
+ NOT_FOUND_SAMPLE_NAV_TO_SAMPLES=Trang m\u1EABu
360
362
 
361
363
  SITEMAP_TITLE=S\u01A1 \u0111\u00F4\u0300 trang web
362
364
 
@@ -348,6 +348,7 @@ FOOTER_LICENSE=\u8BB8\u53EF\u8BC1
348
348
 
349
349
  NOT_FOUND_TITLE=\u672A\u627E\u5230
350
350
  NOT_FOULD_TEXT=\u672A\u627E\u5230\u6240\u8BF7\u6C42\u7684\u8D44\u6E90\u3002
351
+ NOT_FOUND_BACK=\u4E0A\u4E00\u6B65
351
352
 
352
353
  NOT_FOUND_REMOVED_TEXT=\u6240\u8BF7\u6C42\u7684 UI5 \u7248\u672C\u5DF2\u8FC7\u671F\u5E76\u4E14\u5DF2\u79FB\u9664\u3002
353
354
  NOT_FOUND_DK_REMOVED_TEXT=\u6240\u8BF7\u6C42\u7684 UI5 \u6F14\u793A\u5DE5\u5177\u5305\u5185\u5BB9\u5DF2\u79FB\u9664\u3002
@@ -357,6 +358,7 @@ VERSION_NOT_FOUND_HOME_PAGE_BUTTON=\u4E3B\u9875
357
358
 
358
359
  NOT_FOUND_SAMPLE_TITLE=\u672A\u627E\u5230\u6837\u4F8B
359
360
  NOT_FOUND_SAMPLE_TEXT=\u9488\u5BF9\u6240\u9009 UI5 \u7248\u672C\u8BF7\u6C42\u7684\u6837\u4F8B\u4E0D\u5B58\u5728\u3002\u5728\u6B64\u68C0\u67E5\u53EF\u7528\u6837\u4F8B
361
+ NOT_FOUND_SAMPLE_NAV_TO_SAMPLES=\u6837\u4F8B\u9875\u9762
360
362
 
361
363
  SITEMAP_TITLE=\u7AD9\u70B9\u5730\u56FE
362
364
 
@@ -348,6 +348,7 @@ FOOTER_LICENSE=\u6388\u6B0A
348
348
 
349
349
  NOT_FOUND_TITLE=\u627E\u4E0D\u5230
350
350
  NOT_FOULD_TEXT=\u627E\u4E0D\u5230\u8ACB\u6C42\u7684\u8CC7\u6E90\u3002
351
+ NOT_FOUND_BACK=\u8FD4\u56DE
351
352
 
352
353
  NOT_FOUND_REMOVED_TEXT=\u8ACB\u6C42\u7684 UI5 \u7248\u672C\u5DF2\u904E\u671F\u4E26\u79FB\u9664\u3002
353
354
  NOT_FOUND_DK_REMOVED_TEXT=\u8ACB\u6C42\u7684 UI5 Demo Kit \u5167\u5BB9\u5DF2\u79FB\u9664\u3002
@@ -357,6 +358,7 @@ VERSION_NOT_FOUND_HOME_PAGE_BUTTON=\u9996\u9801
357
358
 
358
359
  NOT_FOUND_SAMPLE_TITLE=\u627E\u4E0D\u5230\u7BC4\u4F8B
359
360
  NOT_FOUND_SAMPLE_TEXT=\u6240\u9078 UI5 \u7248\u672C\u6C92\u6709\u8ACB\u6C42\u7684\u7BC4\u4F8B\uFF0C\u8ACB\u65BC\u6B64\u8655\u6AA2\u67E5\u53EF\u7528\u7BC4\u4F8B
361
+ NOT_FOUND_SAMPLE_NAV_TO_SAMPLES=\u7BC4\u4F8B\u9801\u9762
360
362
 
361
363
  SITEMAP_TITLE=\u7DB2\u7AD9\u5730\u5716
362
364
 
@@ -688,12 +688,22 @@ sap.ui.define([
688
688
 
689
689
  onSearchPickerItemPress: function (oEvent) {
690
690
  var contextPath = oEvent.oSource.getBindingContextPath(),
691
- oDataItem = this.getModel("searchData").getProperty(contextPath);
691
+ oDataItem = this.getModel("searchData").getProperty(contextPath),
692
+ oSearchDataModel = this.getOwnerComponent().getModel("searchData"),
693
+ sQuery = oSearchDataModel.getProperty("/query"),
694
+ isDocumentationItem = oDataItem.category === "Documentation",
695
+ baseURL = oDataItem.external ? new URL(oDataItem.path, document.baseURI).href : oDataItem.path;
696
+
697
+ if (sQuery && isDocumentationItem) {
698
+ baseURL += `?q=${encodeURIComponent(sQuery)}`;
699
+ }
700
+
692
701
  if (oDataItem.external) {
693
- openWindow(new URL(oDataItem.path, document.baseURI).href);
702
+ openWindow(baseURL);
694
703
  } else {
695
- this.getRouter().parsePath(oDataItem.path);
704
+ this.getRouter().parsePath(baseURL);
696
705
  }
706
+
697
707
  this.oPicker.close();
698
708
  },
699
709
 
@@ -553,6 +553,7 @@ sap.ui.define([
553
553
  "sap.ui.core.ID", // TODO discuss with Thomas, type is not a base type (it has documentation)
554
554
  "sap.ui.core.void",
555
555
  "sap.ui.core.CSSSize", // TODO discuss with Thomas, type is not a base type (it has documentation)
556
+ "sap.ushell.services.Service",
556
557
  "any",
557
558
  "object",
558
559
  "function",
@@ -10,5 +10,12 @@ sap.ui.define([
10
10
  "use strict";
11
11
 
12
12
  return BaseController.extend("sap.ui.documentation.sdk.controller.SampleNotFound", {
13
+ onInit: function () {
14
+ this._oRouter = this.getRouter();
15
+ },
16
+
17
+ onNavToSamples: function () {
18
+ this._oRouter.navTo("controls");
19
+ }
13
20
  });
14
21
  });
@@ -118,6 +118,13 @@ sap.ui.define([
118
118
  return aSection.length && aSection[0];
119
119
  },
120
120
 
121
+ isDocumentationItem: function(oItem) {
122
+ var contextPath = oItem.getBindingContextPath(),
123
+ oDataItem = this.getModel("searchData").getProperty(contextPath);
124
+
125
+ return oDataItem.category === "Documentation";
126
+ },
127
+
121
128
  /**
122
129
  * Modify all search result links
123
130
  * The default modification is formatting of titles (hide/show trailing colons)
@@ -139,7 +146,9 @@ sap.ui.define([
139
146
  sHref,
140
147
  sTarget = "_self",
141
148
  bExternal,
142
- bFormatTitle = true;
149
+ bFormatTitle = true,
150
+ oSearchDataModel = this.getOwnerComponent().getModel("searchData"),
151
+ sQuery = oSearchDataModel.getProperty("/query");
143
152
 
144
153
  while (iLen--) {
145
154
  oItem = aItems[iLen];
@@ -150,10 +159,14 @@ sap.ui.define([
150
159
  if (bModifyHref) {
151
160
  sHref = oItem.getCustomData()[0].getValue();
152
161
  bExternal = oItem.getCustomData()[1].getValue();
162
+
153
163
  if (bExternal) {
154
164
  sHref = new URL(sHref, document.baseURI).href;
155
165
  sTarget = "_blank";
156
166
  }
167
+ if (sQuery && this.isDocumentationItem(oItem)) {
168
+ sHref = `${sHref}?q=${encodeURIComponent(sQuery)}`;
169
+ }
157
170
  oLink.setHref(sHref);
158
171
  oLink.setTarget(sTarget);
159
172
  }
@@ -23,7 +23,8 @@ sap.ui.define([
23
23
  "sap/m/MessageToast",
24
24
  "sap/ui/dom/includeStylesheet",
25
25
  "sap/ui/dom/includeScript",
26
- "sap/ui/util/openWindow"
26
+ "sap/ui/util/openWindow",
27
+ "sap/ui/documentation/sdk/controller/util/Highlighter"
27
28
  ],
28
29
  function (
29
30
  jQuery,
@@ -44,7 +45,8 @@ sap.ui.define([
44
45
  MessageToast,
45
46
  includeStylesheet,
46
47
  includeScript,
47
- openWindow
48
+ openWindow,
49
+ Highlighter
48
50
  ) {
49
51
  "use strict";
50
52
 
@@ -183,6 +185,10 @@ sap.ui.define([
183
185
 
184
186
  ResizeHandler.deregister(this._onResize.bind(this));
185
187
  Device.orientation.detachHandler(this._onOrientationChange, this);
188
+
189
+ if (this.highlighter) {
190
+ this.highlighter.destroy();
191
+ }
186
192
  },
187
193
 
188
194
  /* =========================================================== */
@@ -282,12 +288,16 @@ sap.ui.define([
282
288
  var sId = decodeURIComponent(event.getParameter("arguments").id),
283
289
  aUrlParts = sId.split("#"),
284
290
  sTopicId = aUrlParts[0],
285
- sSubTopicId = aUrlParts[1];
291
+ sSubTopicId = aUrlParts[1],
292
+ oOptions = event.getParameter("arguments")["?options"];
286
293
 
287
294
  this.sTopicId = sTopicId.replace(".html", "");
288
295
  this.sSubTopicId = sSubTopicId;
289
296
  this.sTopicURL = ResourcesUtil.getResourceOriginPath(this._oConfig.docuPath + sTopicId + (sTopicId.match(/\.html/) ? "" : ".html"));
290
297
  this.sSubTopicId = event.getParameter("arguments").subId || sSubTopicId;
298
+
299
+ this.sQueryFromUrl = oOptions && oOptions.q ? decodeURIComponent(oOptions.q) : "";
300
+
291
301
  jQuery.ajax(this.sTopicURL)
292
302
  .done(this._onHtmlResourceLoaded.bind(this))
293
303
  .fail(this.onRouteNotFound.bind(this));
@@ -349,6 +359,31 @@ sap.ui.define([
349
359
  window.hljs.highlightElement(block);
350
360
  });
351
361
  }
362
+
363
+ var oSearchDataModel = this.getOwnerComponent().getModel("searchData");
364
+ var sQuery = oSearchDataModel.getProperty("/topicQuery");
365
+
366
+ if (sQuery) {
367
+ this._updateHighlighting(sQuery);
368
+ }
369
+
370
+ if (this.sQueryFromUrl) {
371
+ this._updateHighlighting(this.sQueryFromUrl);
372
+ }
373
+ },
374
+
375
+ _updateHighlighting: function (sQuery) {
376
+ var oDomRef = this.getView().getDomRef();
377
+ if (this.highlighter) {
378
+ this.highlighter.highlight(sQuery);
379
+ } else if (sQuery) {
380
+ this.highlighter = new Highlighter(oDomRef, {
381
+ useExternalStyles: false,
382
+ shouldBeObserved: true,
383
+ isCaseSensitive: false
384
+ });
385
+ this.highlighter.highlight(sQuery);
386
+ }
352
387
  },
353
388
 
354
389
  _enableImageMap: function (imageMap, bIsSideBySide) {
@@ -48,6 +48,20 @@ sap.ui.define([
48
48
  .catch(function () {
49
49
  this.onRouteNotFound();
50
50
  }.bind(this));
51
+
52
+ this._oSearchField = this.byId("searchField");
53
+ this._oSearchField.attachLiveChange(this.onSearchFieldLiveChange, this);
54
+ },
55
+
56
+ onSearchFieldLiveChange: function(oEvent) {
57
+ var sQuery = oEvent.getParameter("newValue");
58
+ var oSearchDataModel = this.getOwnerComponent().getModel("searchData");
59
+
60
+ this._sFilter = sQuery;
61
+
62
+ oSearchDataModel.setProperty("/topicQuery", sQuery);
63
+
64
+ this.onTreeFilter({ getParameter: function() { return sQuery; } });
51
65
  },
52
66
 
53
67
  _onTopicMatched: function (event) {
@@ -37,14 +37,14 @@ sap.ui.define([
37
37
  },
38
38
 
39
39
  _onError: function () {
40
- var oMessagePage = this.getView().byId("page");
40
+ var oPage = this.getView().byId("page");
41
41
 
42
- oMessagePage.setBusy(false);
43
- oMessagePage.setText(this._getLibraryResourceBundle().getText("NOT_FOUND_UNAVAILABLE_TEXT"));
42
+ oPage.setBusy(false);
43
+ oPage.setDescription(this._getLibraryResourceBundle().getText("NOT_FOUND_UNAVAILABLE_TEXT"));
44
44
  },
45
45
 
46
46
  _onVersionInfo: function (oVersionInfo) {
47
- var oMessagePage = this.getView().byId("page"),
47
+ var oPage = this.getView().byId("page"),
48
48
  oReadMoreBtn = this.getView().byId("readMoreButton"),
49
49
  sUrl = document.location.href,
50
50
  sRedirectUrl,
@@ -53,7 +53,7 @@ sap.ui.define([
53
53
  isRemoved = oPatchInfo && oPatchInfo.removed,
54
54
  isRuntimeOnly = oPatchInfo && oPatchInfo.runtimeOnly;
55
55
 
56
- oMessagePage.setBusy(false);
56
+ oPage.setBusy(false);
57
57
 
58
58
  if ((isRemoved || isRuntimeOnly) && DemokitURLUtil.requestsDemokitView(sUrl)) {
59
59
  // redirect to the latest (version-less) URL
@@ -72,16 +72,16 @@ sap.ui.define([
72
72
 
73
73
  if (isRemoved) {
74
74
  // show removed message
75
- oMessagePage.setText(this._getLibraryResourceBundle().getText("NOT_FOUND_REMOVED_TEXT"));
75
+ oPage.setDescription(this._getLibraryResourceBundle().getText("NOT_FOUND_REMOVED_TEXT"));
76
76
  oReadMoreBtn.setVisible(true);
77
77
  } else if (isRuntimeOnly) {
78
78
  // show removed message
79
- oMessagePage.setText(this._getLibraryResourceBundle().getText("NOT_FOUND_DK_REMOVED_TEXT"));
79
+ oPage.setDescription(this._getLibraryResourceBundle().getText("NOT_FOUND_DK_REMOVED_TEXT"));
80
80
  oReadMoreBtn.setVisible(true);
81
81
  } else {
82
82
  // show unavailable message
83
83
  oReadMoreBtn.setVisible(false);
84
- oMessagePage.setText(this._getLibraryResourceBundle().getText("NOT_FOUND_UNAVAILABLE_TEXT"));
84
+ oPage.setDescription(this._getLibraryResourceBundle().getText("NOT_FOUND_UNAVAILABLE_TEXT"));
85
85
  }
86
86
  },
87
87
 
@@ -2,7 +2,7 @@
2
2
  COOKIE_SETTINGS_DIALOG_TITLE=[[[\u0176\u014F\u0171\u0157 \u0108\u014F\u014F\u0137\u012F\u0113 \u015C\u0113\u0163\u0163\u012F\u014B\u011F\u015F\u2219\u2219\u2219\u2219]]]
3
3
  COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=[[[\u0158\u0113\u01A3\u0171\u012F\u0157\u0113\u018C \u0108\u014F\u014F\u0137\u012F\u0113\u015F\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
4
4
  COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=[[[\u0162\u0125\u0113\u015F\u0113 \u010B\u014F\u014F\u0137\u012F\u0113\u015F \u0105\u0157\u0113 \u0157\u0113\u01A3\u0171\u012F\u0157\u0113\u018C \u0163\u014F \u0113\u014B\u0105\u0183\u013A\u0113 \u010B\u014F\u0157\u0113 \u015F\u012F\u0163\u0113 \u0192\u0171\u014B\u010B\u0163\u012F\u014F\u014B\u0105\u013A\u012F\u0163\u0177.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
5
- COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=[[[\u0174\u0113 \u0171\u015F\u0113 \u010B\u014F\u014F\u0137\u012F\u0113\u015F \u0163\u014F \u012F\u0271\u03C1\u0157\u014F\u028B\u0113 \u0177\u014F\u0171\u0157 \u0113\u03C7\u03C1\u0113\u0157\u012F\u0113\u014B\u010B\u0113 \u014F\u014B \u014F\u0171\u0157 \u015F\u012F\u0163\u0113. \u0181\u0177 \u010B\u014F\u014B\u0163\u012F\u014B\u0171\u012F\u014B\u011F \u0163\u014F \u0171\u015F\u0113 \u0163\u0125\u012F\u015F \u015F\u012F\u0163\u0113, \u0177\u014F\u0171 \u010B\u014F\u014B\u015F\u0113\u014B\u0163 \u0163\u014F \u0171\u015F\u0113 \u014F\u0171\u0157 \u010B\u014F\u014F\u0137\u012F\u0113\u015F.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
5
+ COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=[[[\u0174\u0113 \u0171\u015F\u0113 \u010B\u014F\u014F\u0137\u012F\u0113\u015F \u0163\u014F \u012F\u0271\u03C1\u0157\u014F\u028B\u0113 \u0177\u014F\u0171\u0157 \u0113\u03C7\u03C1\u0113\u0157\u012F\u0113\u014B\u010B\u0113 \u014F\u014B \u014F\u0171\u0157 \u015F\u012F\u0163\u0113. \u0181\u0177 \u010B\u014F\u014B\u0163\u012F\u014B\u0171\u012F\u014B\u011F \u0163\u014F \u0171\u015F\u0113 \u0163\u0125\u012F\u015F \u015F\u012F\u0163\u0113, \u0177\u014F\u0171 \u010B\u014F\u014B\u015F\u0113\u014B\u0163 \u0163\u014F \u0171\u015F\u0113 \u014F\u0171\u0157 \u010B\u014F\u014F\u0137\u012F\u0113\u015F.\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219\u2219]]]
6
6
  COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=[[[\u039C\u014F\u0157\u0113 \u012C\u014B\u0192\u014F\u2219\u2219\u2219\u2219\u2219]]]
7
7
  COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=[[[\u0100\u010B\u010B\u0113\u03C1\u0163 \u0100\u013A\u013A\u2219\u2219\u2219\u2219]]]
8
8
  COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=[[[\u0158\u0113\u0135\u0113\u010B\u0163 \u0100\u013A\u013A\u2219\u2219\u2219\u2219]]]
@@ -1,11 +1,11 @@
1
1
 
2
- COOKIE_SETTINGS_DIALOG_TITLE=x1W1h0v9lGVR8awRc064qQ_Your Cookie Settings
3
- COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=TbiVpH03OTE/9wV0ybeSug_Required Cookies
4
- COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=Ca2KgCCeSFefYo6By5/9WA_These cookies are required to enable core site functionality.
5
- COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=OnVoXSggdNLUUWDxCqsUhQ_We use cookies to improve your experience on our site. By continuing to use this site, you consent to use our cookies.
6
- COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=cedvxirFKSzp12gOkxxo2A_More Info
7
- COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=S8bEWnU8ELhO/e5pWDOucQ_Accept All
8
- COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=zrSvKZbhm5T04xcSlX12uA_Reject All
9
- COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SET_PREFERENCES=tEf1ZYc5XpMT4rgyT5yr1Q_Set Preferences
10
- COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SAVE_PREFERENCES=tS8eCwwTWZDBuQptUCUYUA_Save Preferences
11
- COOKIE_SETTINGS_DIALOG_CANCEL_BTN=BzsJKUxUdWKJLlPClObTMQ_Cancel
2
+ COOKIE_SETTINGS_DIALOG_TITLE=zNlO/W+mEg4lHeS9BQgoVg_Your Cookie Settings
3
+ COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TITLE=DdHy2pFtSKqF+WVRqKW3Gg_Required Cookies
4
+ COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_SUMMARY=6c0eo+Ng/GaMMy9pJDc+xw_These cookies are required to enable core site functionality.
5
+ COOKIE_SETTINGS_DIALOG_REQUIRED_COOKIES_TEXT=ntopAjQxhPd+ehOz58bKbg_We use cookies to improve your experience on our site. By continuing to use this site, you consent to use our cookies.
6
+ COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_MORE_INFO=idyM/NF7DfFtb43bBqyFjA_More Info
7
+ COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_ACCEPT_ALL=4t5LHYKRDcI/C0v7mdZsCA_Accept All
8
+ COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_REJECT_ALL=9rQfcGn3SCyVWz0tZ4mIJA_Reject All
9
+ COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SET_PREFERENCES=yjWguM8zFtiFrRfTtTbvGg_Set Preferences
10
+ COOKIE_SETTINGS_DIALOG_FUNCTIONAL_COOKIES_SAVE_PREFERENCES=+UpSwAXa9IwJmx9r3v9ChA_Save Preferences
11
+ COOKIE_SETTINGS_DIALOG_CANCEL_BTN=sBsuQ+LlKYzbsU80JN2Kyg_Cancel
@@ -314,12 +314,12 @@ html.sap-desktop .sapContrast.sapMSlt.sapUiDocumentationSelect:not(.sapMSltExpan
314
314
 
315
315
  .sapUiTheme-sap_horizon .sapFDynamicPageHeader.sapFDynamicPageHeaderWithContent .sapMText,
316
316
  .sapUiTheme-sap_horizon .sapFDynamicPageHeaderWithContent .sapUiDocumentationTopicSubtitle {
317
- color: #556b82;
317
+ color: var(--sapObjectHeader_Subtitle_TextColor);
318
318
  }
319
319
 
320
320
  .sapUiTheme-sap_horizon_dark .sapFDynamicPageHeader.sapFDynamicPageHeaderWithContent .sapMText,
321
321
  .sapUiTheme-sap_horizon_dark .sapFDynamicPageHeaderWithContent .sapUiDocumentationTopicSubtitle {
322
- color: #8396a8;
322
+ color: var(--sapObjectHeader_Subtitle_TextColor);
323
323
  }
324
324
 
325
325
  .sapUiDocumentation2ColumnsEqualTable {
@@ -364,11 +364,11 @@ html[dir="rtl"] #CompactModeButtons, html[dir="rtl"] #RTLButtons {
364
364
 
365
365
  .sapMIBar .sapMBtn.sapUiExploredWarningIcon .sapMBtnInner.sapMBtnDefault .sapUiIcon,
366
366
  .sapMIBar .sapUiExploredWarningIcon.sapMBtn:hover:not(.sapMBtnDisabled):not(.sapMSBActive) > .sapMBtnHoverable:not(.sapMBtnDisabled):not(.sapMBtnActive):not(.sapMToggleBtnPressed):not(.sapMBtnTransparent).sapMBtnDefault .sapUiIcon {
367
- color: #e76500;
367
+ color: var(--sapCriticalColor);
368
368
  }
369
369
 
370
370
  html.sap-desktop .sapUiExploredWarningIcon.sapMBtn:focus > .sapMFocusable:not(.sapMBadgeIndicator):before {
371
- border-color: #e76500;
371
+ border-color: var(--sapCriticalColor);
372
372
  }
373
373
  .sapUiExploredWarning {
374
374
  padding : 1rem;
@@ -947,15 +947,6 @@ html:not(.sapUiTheme-sap_belize_hcb):not(.sapUiTheme-sap_belize_hcw):not(.sapUiT
947
947
  color: #fff;
948
948
  }
949
949
 
950
- html:not(.sapUiTheme-sap_belize_hcb):not(.sapUiTheme-sap_belize_hcw):not(.sapUiTheme-sap_fiori_3_hcb):not(.sapUiTheme-sap_fiori_3_hcw) .demokitInitialPagesWhiteText .sapMLnk:hover:not(.sapMLnkDsbl) {
951
- color: #7ed0ff;
952
- }
953
-
954
- html:not(.sapUiTheme-sap_belize_hcb):not(.sapUiTheme-sap_belize_hcw):not(.sapUiTheme-sap_fiori_3_hcb):not(.sapUiTheme-sap_fiori_3_hcw) .demokitInitialPagesBrightLink.sapMLnk,
955
- html:not(.sapUiTheme-sap_belize_hcb):not(.sapUiTheme-sap_belize_hcw):not(.sapUiTheme-sap_fiori_3_hcb):not(.sapUiTheme-sap_fiori_3_hcw) .demokitInitialPagesBrightLink.sapMLnk:hover {
956
- color: #d1e8ff;
957
- }
958
-
959
950
  .demokitInitialPagesBrightLinkSmallerText {
960
951
  font-size: 0.8rem;
961
952
  }
@@ -997,7 +988,7 @@ html.sapUiTheme-sap_belize_hcw .sapUiJSD a {
997
988
 
998
989
  html:not(.sapUiTheme-sap_belize_hcb):not(.sapUiTheme-sap_belize_hcw):not(.sapUiTheme-sap_fiori_3_hcb):not(.sapUiTheme-sap_fiori_3_hcw)
999
990
  .sapUiJSD a {
1000
- color: #0070b1;
991
+ color: var(--sapLinkColor);
1001
992
  }
1002
993
 
1003
994
  html:not(.sapUiTheme-sap_belize_hcb):not(.sapUiTheme-sap_belize_hcw):not(.sapUiTheme-sap_fiori_3_hcb):not(.sapUiTheme-sap_fiori_3_hcw):not(.sapUiTheme-sap_horizon):not(.sapUiTheme-sap_horizon_dark)
@@ -1684,7 +1675,7 @@ html:not(.sapUiMedia-Std-Phone) .sapUiParamText.depth-5 {
1684
1675
  box-sizing: border-box;
1685
1676
  border: none;
1686
1677
  background: #FFFFFF;
1687
- color: #346187;
1678
+ color: var(--sapButton_IconColor);
1688
1679
  }
1689
1680
 
1690
1681
 
@@ -280,7 +280,7 @@
280
280
  ]
281
281
  },
282
282
  {
283
- "pattern": "topic/{id}",
283
+ "pattern": "topic/{id}:?options:",
284
284
  "name": "topicId",
285
285
  "target": [
286
286
  "topicMaster",
@@ -998,10 +998,10 @@ var hljs = (function () {
998
998
  * @param {string} message
999
999
  */
1000
1000
  const deprecated = (version, message) => {
1001
- if (seenDeprecations[`1.126.1/${message}`]) return;
1001
+ if (seenDeprecations[`1.128.0/${message}`]) return;
1002
1002
 
1003
- console.log(`Deprecated as of 1.126.1. ${message}`);
1004
- seenDeprecations[`1.126.1/${message}`] = true;
1003
+ console.log(`Deprecated as of 1.128.0. ${message}`);
1004
+ seenDeprecations[`1.128.0/${message}`] = true;
1005
1005
  };
1006
1006
 
1007
1007
  /* eslint-disable no-throw-literal */
@@ -8,6 +8,6 @@
8
8
  "build": "ui5 build"
9
9
  },
10
10
  "devDependencies": {
11
- "@ui5/cli": "^3"
11
+ "@ui5/cli": "^4"
12
12
  }
13
13
  }
@@ -1,4 +1,4 @@
1
- specVersion: "3.0"
1
+ specVersion: "4.0"
2
2
  metadata:
3
3
  name: {{SAMPLE_ID}}
4
4
  type: application
@@ -4,12 +4,12 @@
4
4
  xmlns:l="sap.ui.layout"
5
5
  xmlns:core="sap.ui.core">
6
6
 
7
- <MessagePage
7
+ <IllustratedMessage
8
8
  visible="{=!!${/preparationFailureMessage}}"
9
- text="{i18n>NEWS_PREP_FAILURE_TITLE}"
9
+ title="{i18n>NEWS_PREP_FAILURE_TITLE}"
10
10
  description="{/preparationFailureMessage}"
11
- showHeader="false"
12
- icon="sap-icon://message-warning"/>
11
+ illustrationType="sapIllus-ErrorScreen">
12
+ </IllustratedMessage>
13
13
  <VBox visible="{=!${/preparationFailureMessage}}">
14
14
  <NotificationList>
15
15
 
@@ -3,14 +3,18 @@
3
3
  xmlns:mvc="sap.ui.core.mvc"
4
4
  xmlns="sap.m">
5
5
 
6
- <MessagePage
6
+ <IllustratedMessage
7
7
  id="page"
8
+ illustrationType="sapIllus-PageNotFound"
8
9
  title="{i18n>NOT_FOUND_TITLE}"
9
- text="{i18n>NOT_FOULD_TEXT}"
10
- icon="sap-icon://document"
11
- description=""
12
- showNavButton="{device>/system/phone}"
13
- navButtonPress="onNavBack">
14
- </MessagePage>
10
+ description="{i18n>NOT_FOULD_TEXT}">
11
+ <additionalContent>
12
+ <Button
13
+ visible="{device>/system/phone}"
14
+ text="{i18n>NOT_FOUND_BACK}"
15
+ press="onNavBack"
16
+ type="Emphasized"/>
17
+ </additionalContent>
18
+ </IllustratedMessage>
15
19
 
16
20
  </mvc:View>
@@ -3,15 +3,24 @@
3
3
  xmlns:mvc="sap.ui.core.mvc"
4
4
  xmlns="sap.m">
5
5
 
6
- <MessagePage
6
+ <IllustratedMessage
7
7
  id="page"
8
+ illustrationType="sapIllus-PageNotFound"
8
9
  title="{i18n>NOT_FOUND_SAMPLE_TITLE}"
9
- text="{i18n>NOT_FOUND_SAMPLE_TEXT}"
10
- description="&lt;a target='_self' href='controls' &gt;Samples page&lt;/a&gt;"
11
- icon="sap-icon://document"
12
- enableFormattedText="true"
13
- showNavButton="{device>/system/phone}"
14
- navButtonPress="onNavBack">
15
- </MessagePage>
10
+ description="{i18n>NOT_FOUND_SAMPLE_TEXT}">
11
+ <additionalContent>
12
+ <VBox>
13
+ <Button
14
+ visible="{device>/system/phone}"
15
+ text="{i18n>NOT_FOUND_BACK}"
16
+ press="onNavBack"
17
+ type="Emphasized"/>
18
+ <Button
19
+ text="{i18n>NOT_FOUND_SAMPLE_NAV_TO_SAMPLES}"
20
+ press="onNavToSamples"
21
+ type="Emphasized"/>
22
+ </VBox>
23
+ </additionalContent>
24
+ </IllustratedMessage>
16
25
 
17
26
  </mvc:View>
@@ -750,6 +750,7 @@
750
750
  <template:repeat list="{data>/ui5-metadata/annotations}" var="annotation">
751
751
  <custom:Row>
752
752
  <m:Link text="{= ${annotation>annotation} !== 'undefined' ? ${annotation>annotation} : '(' + ${annotation>namespaceText} + ')' }"
753
+ href="api/{data>/name}#annotations/{annotation>annotation}"
753
754
  wrapping="false"/>
754
755
  <custom:JSDocText sanitizeContent="false" text="{path: 'annotation>description', formatter: '.formatter.escapeSettingsValue'}"/>
755
756
  </custom:Row>
@@ -14,30 +14,26 @@
14
14
  >
15
15
  </f:ShellBar>
16
16
  </customHeader>
17
- <MessagePage
18
- id="page"
19
- icon="sap-icon://document"
20
- description=""
21
- showHeader="false"
22
- text=""
23
- busy="true"
24
- >
25
- <buttons>
26
- <Button
27
- id="readMoreButton"
28
- visible="false"
29
- text="Read More"
30
- press="onReadMore"
31
- type="Emphasized"
32
- width="100%" />
33
- <Button
34
- id="homePageButton"
35
- visible="true"
36
- text="Home Page"
37
- press="onHomePress"
38
- width="100%" />
39
- </buttons>
40
- </MessagePage>
17
+ <IllustratedMessage
18
+ id="page"
19
+ illustrationType="sapIllus-PageNotFound"
20
+ title=" "
21
+ description=" "
22
+ busy="true">
23
+ <additionalContent>
24
+ <Button
25
+ id="readMoreButton"
26
+ visible="false"
27
+ text="Read More"
28
+ press="onReadMore"
29
+ type="Emphasized" />
30
+ <Button
31
+ id="homePageButton"
32
+ visible="true"
33
+ text="Home Page"
34
+ press="onHomePress" />
35
+ </additionalContent>
36
+ </IllustratedMessage>
41
37
  </Page>
42
38
  </App>
43
39
 
@@ -14,11 +14,11 @@
14
14
 
15
15
  .sapDemokitTreeItemLabel {
16
16
  font-size: 0.75rem;
17
- color: #d3d7d9;
17
+ color: @sapNeutralColor;
18
18
  }
19
19
 
20
20
  .sapUiTheme-sap_horizon .sapDemokitTreeItemLabel {
21
- color: #556b82;
21
+ color: @sapContent_LabelColor;
22
22
  }
23
23
 
24
24
  .sapUiTheme-sap_belize_hcw .sapDemokitTreeItemLabel {
@@ -562,7 +562,7 @@ html.sap-tablet:not(.sap-desktop) {
562
562
  box-sizing: border-box;
563
563
 
564
564
  .emphasis {
565
- background-color: #fffcb5;
565
+ background-color: @sapWarningBackground;
566
566
  }
567
567
  }
568
568
 
@@ -175,13 +175,13 @@
175
175
  .sapUiTheme-sap_horizon_dark,
176
176
  .sapUiTheme-sap_fiori_3_dark {
177
177
  .sapUiDocLightTable .head {
178
- background-color: #232931;
179
- border-bottom: solid 1px #3a4552;
178
+ background-color: @sapList_HeaderBackground;
179
+ border-bottom: solid 1px @sapPageHeader_BorderColor;
180
180
  }
181
181
 
182
182
  .sapUiDocLightTable .row {
183
- background-color: #29313a;
184
- border-bottom: solid 1px #3a4552;
183
+ background-color: @sapBaseColor;
184
+ border-bottom: solid 1px @sapPageHeader_BorderColor;
185
185
  }
186
186
 
187
187
  .sapUiDocLightTable .head,