@openui5/sap.ui.documentation 1.105.0 → 1.106.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 (79) hide show
  1. package/.reuse/dep5 +20 -17
  2. package/THIRDPARTY.txt +31 -21
  3. package/package.json +6 -6
  4. package/src/sap/ui/documentation/.library +1 -1
  5. package/src/sap/ui/documentation/library.js +2 -2
  6. package/src/sap/ui/documentation/messagebundle.properties +23 -0
  7. package/src/sap/ui/documentation/messagebundle_ar.properties +12 -0
  8. package/src/sap/ui/documentation/messagebundle_bg.properties +12 -0
  9. package/src/sap/ui/documentation/messagebundle_ca.properties +12 -0
  10. package/src/sap/ui/documentation/messagebundle_cs.properties +12 -0
  11. package/src/sap/ui/documentation/messagebundle_cy.properties +12 -0
  12. package/src/sap/ui/documentation/messagebundle_da.properties +12 -0
  13. package/src/sap/ui/documentation/messagebundle_de.properties +12 -0
  14. package/src/sap/ui/documentation/messagebundle_el.properties +12 -0
  15. package/src/sap/ui/documentation/messagebundle_en.properties +12 -0
  16. package/src/sap/ui/documentation/messagebundle_en_GB.properties +12 -0
  17. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +12 -0
  18. package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +12 -0
  19. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +12 -0
  20. package/src/sap/ui/documentation/messagebundle_es.properties +12 -0
  21. package/src/sap/ui/documentation/messagebundle_es_MX.properties +12 -0
  22. package/src/sap/ui/documentation/messagebundle_et.properties +12 -0
  23. package/src/sap/ui/documentation/messagebundle_fi.properties +12 -0
  24. package/src/sap/ui/documentation/messagebundle_fr.properties +12 -0
  25. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +14 -2
  26. package/src/sap/ui/documentation/messagebundle_hi.properties +12 -0
  27. package/src/sap/ui/documentation/messagebundle_hr.properties +12 -0
  28. package/src/sap/ui/documentation/messagebundle_hu.properties +12 -0
  29. package/src/sap/ui/documentation/messagebundle_id.properties +12 -0
  30. package/src/sap/ui/documentation/messagebundle_it.properties +12 -0
  31. package/src/sap/ui/documentation/messagebundle_iw.properties +12 -0
  32. package/src/sap/ui/documentation/messagebundle_ja.properties +12 -0
  33. package/src/sap/ui/documentation/messagebundle_kk.properties +12 -0
  34. package/src/sap/ui/documentation/messagebundle_ko.properties +12 -0
  35. package/src/sap/ui/documentation/messagebundle_lt.properties +12 -0
  36. package/src/sap/ui/documentation/messagebundle_lv.properties +12 -0
  37. package/src/sap/ui/documentation/messagebundle_ms.properties +12 -0
  38. package/src/sap/ui/documentation/messagebundle_nl.properties +12 -0
  39. package/src/sap/ui/documentation/messagebundle_no.properties +12 -0
  40. package/src/sap/ui/documentation/messagebundle_pl.properties +12 -0
  41. package/src/sap/ui/documentation/messagebundle_pt.properties +12 -0
  42. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +12 -0
  43. package/src/sap/ui/documentation/messagebundle_ro.properties +12 -0
  44. package/src/sap/ui/documentation/messagebundle_ru.properties +12 -0
  45. package/src/sap/ui/documentation/messagebundle_sh.properties +12 -0
  46. package/src/sap/ui/documentation/messagebundle_sk.properties +12 -0
  47. package/src/sap/ui/documentation/messagebundle_sl.properties +12 -0
  48. package/src/sap/ui/documentation/messagebundle_sv.properties +12 -0
  49. package/src/sap/ui/documentation/messagebundle_th.properties +12 -0
  50. package/src/sap/ui/documentation/messagebundle_tr.properties +12 -0
  51. package/src/sap/ui/documentation/messagebundle_uk.properties +12 -0
  52. package/src/sap/ui/documentation/messagebundle_vi.properties +12 -0
  53. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +12 -0
  54. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +12 -0
  55. package/src/sap/ui/documentation/sdk/Component.js +4 -0
  56. package/src/sap/ui/documentation/sdk/controller/App.controller.js +125 -6
  57. package/src/sap/ui/documentation/sdk/controller/BPSupport.controller.js +75 -0
  58. package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +14 -3
  59. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +78 -54
  60. package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +1 -1
  61. package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +22 -2
  62. package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +1 -0
  63. package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +1 -17
  64. package/src/sap/ui/documentation/sdk/css/style.css +37 -3
  65. package/src/sap/ui/documentation/sdk/index.html +1 -264
  66. package/src/sap/ui/documentation/sdk/index.js +245 -0
  67. package/src/sap/ui/documentation/sdk/manifest.json +13 -0
  68. package/src/sap/ui/documentation/sdk/model/LiveEditorData.json +1 -1
  69. package/src/sap/ui/documentation/sdk/tmpl/index.html.tmpl +1 -1
  70. package/src/sap/ui/documentation/sdk/tmpl/indexevo.html.tmpl +1 -1
  71. package/src/sap/ui/documentation/sdk/util/LiveEditorOutput.js +10 -1
  72. package/src/sap/ui/documentation/sdk/util/liveEditorOutput.html +1 -1
  73. package/src/sap/ui/documentation/sdk/view/App.view.xml +12 -1
  74. package/src/sap/ui/documentation/sdk/view/BPSupport.view.xml +7 -0
  75. package/src/sap/ui/documentation/sdk/view/SurveyPopover.fragment.xml +56 -0
  76. package/src/sap/ui/documentation/sdk/view/Tools.view.xml +4 -16
  77. package/src/sap/ui/documentation/sdk/view/TopicDetail.view.xml +1 -1
  78. package/src/sap/ui/documentation/sdk/view/Welcome.view.xml +5 -5
  79. package/src/sap/ui/documentation/themes/base/Documentation.less +5 -0
@@ -5,5 +5,5 @@
5
5
 
6
6
  "index.js": "sap.ui.getCore().attachInit(function () {\n sap.ui.require([\"sap/ui/core/mvc/XMLView\"], function(XMLView) {\n XMLView.create({\n viewName: \"HelloWorld.App\"}).then(function(myView) {\n myView.placeAt(\"content\");\n });\n });\n});",
7
7
 
8
- "index.html": "// the html part of the sample is non-editable\n\n<!DOCTYPE html>\n <html>\n <head>\n <title>OpenUI5 Hello World App</title>\n <script\n id=\"sap-ui-bootstrap\"\n src=\"resources/sap-ui-core.js\"\n data-sap-ui-theme=\"sap_belize\"\n data-sap-ui-libs=\"sap.m\"\n data-sap-ui-resourceroots='{\"HelloWorld\": \"./\"}'\n data-sap-ui-onInit=\"module:HelloWorld/index\"\n displayBlock=\"true\">\n <&sol;script>\n </head>\n <body class=\"sapUiBody\" id=\"content\">\n </body>\n </html>"
8
+ "index.html": "// the html part of the sample is non-editable\n\n<!DOCTYPE html>\n <html>\n <head>\n <title>OpenUI5 Hello World App</title>\n <script\n id=\"sap-ui-bootstrap\"\n src=\"resources/sap-ui-core.js\"\n data-sap-ui-theme=\"sap_horizon\"\n data-sap-ui-libs=\"sap.m\"\n data-sap-ui-resourceroots='{\"HelloWorld\": \"./\"}'\n data-sap-ui-onInit=\"module:HelloWorld/index\"\n displayBlock=\"true\">\n <&sol;script>\n </head>\n <body class=\"sapUiBody\" id=\"content\">\n </body>\n </html>"
9
9
  }
@@ -6,7 +6,7 @@
6
6
  <title>{{TITLE}}</title>
7
7
 
8
8
  <script id="sap-ui-bootstrap"
9
- src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
9
+ src="https://sdk.openui5.org/resources/sap-ui-core.js"
10
10
  data-sap-ui-libs="sap.m"
11
11
  data-sap-ui-theme="sap_fiori_3"
12
12
  data-sap-ui-resourceroots='{
@@ -6,7 +6,7 @@
6
6
  <title>{{TITLE}}</title>
7
7
 
8
8
  <script id="sap-ui-bootstrap"
9
- src="https://openui5.hana.ondemand.com/resources/sap-ui-core.js"
9
+ src="https://sdk.openui5.org/resources/sap-ui-core.js"
10
10
  data-sap-ui-theme="sap_fiori_3"
11
11
  data-sap-ui-resourceroots='{
12
12
  "{{SAMPLE_ID}}": "./",
@@ -20,7 +20,8 @@
20
20
  return;
21
21
  }
22
22
 
23
- var oData = event.data;
23
+ var oData = event.data,
24
+ oCore, sIFrameTheme, sDemoKitTheme;
24
25
 
25
26
  if (!oData || !oData.src || !oData.moduleNameToRequire) {
26
27
  return;
@@ -28,6 +29,14 @@
28
29
 
29
30
  addErrorHandlers();
30
31
  preloadModules(oData);
32
+
33
+ oCore = sap.ui.getCore();
34
+ sIFrameTheme = oCore.getConfiguration().getTheme();
35
+ sDemoKitTheme = oData.activeTheme;
36
+
37
+ if (sIFrameTheme !== sDemoKitTheme) {
38
+ oCore.applyTheme(sDemoKitTheme);
39
+ }
31
40
  });
32
41
 
33
42
  /**
@@ -6,7 +6,7 @@
6
6
  <script
7
7
  id="sap-ui-bootstrap"
8
8
  src="../../../../../../resources/sap-ui-core.js"
9
- data-sap-ui-theme="sap_fiori_3"
9
+ data-sap-ui-theme="sap_horizon"
10
10
  data-sap-ui-libs="sap.m"
11
11
  data-sap-ui-resourceroots='{"HelloWorld": "./"}'
12
12
  displayBlock="true">
@@ -90,13 +90,24 @@
90
90
 
91
91
  <custom:Search id="searchControl" toggle="onToggleSearchMode" search="onSearch" liveChange="onSearchLiveChange" width="{= (${appView>/bPhoneSize} &amp;&amp; ${appView>/bSearchMode}) ? '100%' : ''}"/>
92
92
 
93
- <Button id="feedBackDialogButton" tooltip="{i18n>APP_FEEDBACK_BTN_TOOLTIP}" press="feedbackDialogOpen" icon="sap-icon://comment" type="Transparent" visible="{=!${appView>/bPhoneSize} &amp;&amp; !${appView>/bSearchMode}}">
93
+ <Button id="feedBackDialogButton" tooltip="{i18n>APP_FEEDBACK_BTN_TOOLTIP}" press="feedbackDialogOpen" icon="sap-icon://comment" type="Transparent" visible="{=${appView>/bUseFeedbackDialog} &amp;&amp; !${appView>/bPhoneSize} &amp;&amp; !${appView>/bSearchMode}}">
94
94
 
95
95
  <layoutData>
96
96
  <OverflowToolbarLayoutData priority="NeverOverflow" />
97
97
  </layoutData>
98
98
  </Button>
99
99
 
100
+ <Button id="surveyButton" class="surveyButton" tooltip="{i18n>APP_FEEDBACK_BTN_TOOLTIP}" press="launchSurvey" icon="sap-icon://feedback" type="Transparent" visible="{=!${appView>/bUseFeedbackDialog} &amp;&amp; !${appView>/bPhoneSize} &amp;&amp; !${appView>/bSearchMode}}">
101
+ <customData>
102
+ <BadgeCustomData
103
+ visible="{appView>/bShowLongSurvey}"
104
+ value="1" />
105
+ </customData>
106
+ <layoutData>
107
+ <OverflowToolbarLayoutData priority="NeverOverflow" />
108
+ </layoutData>
109
+ </Button>
110
+
100
111
  <Button
101
112
  visible="{=!${news>/newsPreparationFailureMessage}}"
102
113
  id="notificationsButton"
@@ -0,0 +1,7 @@
1
+ <mvc:View controllerName="sap.ui.documentation.sdk.controller.BPSupport"
2
+ xmlns:mvc="sap.ui.core.mvc"
3
+ xmlns="sap.m"
4
+ xmlns:l="sap.ui.layout"
5
+ xmlns:core="sap.ui.core">
6
+ <Page id="BPSupportPage" showNavButton="false" showFooter="false" showHeader="false" class="sapUiResponsiveContentPadding"></Page>
7
+ </mvc:View>
@@ -0,0 +1,56 @@
1
+ <core:FragmentDefinition
2
+ xmlns="sap.m"
3
+ xmlns:core="sap.ui.core">
4
+ <ResponsivePopover
5
+ id="surveyPopover"
6
+ placement="Bottom"
7
+ contentWidth="24rem"
8
+ showHeader="false">
9
+ <Title
10
+ text="{i18n>SURVEY_POPOVER_TITLE}"
11
+ level="H5"
12
+ class="surveyPopoverTitle" />
13
+ <VBox class="sapUiSmallMarginTopBottom surveyPopoverCustomPaddingBeginEnd" tooltip="{i18n>SURVEY_POPOVER_LONG_SURVEY_TITLE}">
14
+ <items>
15
+ <VBox class="sapUiSmallMarginBottom">
16
+ <items>
17
+ <HBox>
18
+ <items>
19
+ <Title
20
+ text="{i18n>SURVEY_POPOVER_LONG_SURVEY_TITLE}"
21
+ class="sapUiTinyMarginEnd"
22
+ level="H6" />
23
+ <ObjectStatus
24
+ class="longSurveyBadge"
25
+ text="{i18n>SURVEY_POPOVER_LONG_SURVEY_BADGE}"
26
+ state="Information" inverted="true" />
27
+ </items>
28
+ </HBox>
29
+ <Text
30
+ class="longSurveyAvailability"
31
+ text="{i18n>SURVEY_POPOVER_LONG_SURVEY_AVAILABILITY} {appView>/sLongSurveyLastDate}" />
32
+ </items>
33
+ </VBox>
34
+ <Text
35
+ text="{i18n>SURVEY_POPOVER_LONG_SURVEY_DESC}"
36
+ class="surveyDescription sapUiSmallMarginBottom" />
37
+ <Button
38
+ text="{i18n>SURVEY_POPOVER_LONG_SURVEY_BTN}"
39
+ tooltip="{i18n>SURVEY_POPOVER_LONG_SURVEY_BTN_TOOLTIP}"
40
+ icon="sap-icon://generate-shortcut"
41
+ type="Emphasized"
42
+ width="100%"
43
+ press=".longSurveyRedirect" />
44
+ </items>
45
+ </VBox>
46
+ <VBox
47
+ class="surveyPopoverCustomStylesTop surveyPopoverCustomPaddingBeginEnd surveyPopoverCustomPaddingBottom"
48
+ tooltip="{i18n>SURVEY_POPOVER_DEFAULT_SURVEY_TITLE}">
49
+ <items>
50
+ <Title text="{i18n>SURVEY_POPOVER_DEFAULT_SURVEY_TITLE}" level="H6" class="surveyTitle sapUiSmallMarginBottom" />
51
+ <Text text="{i18n>SURVEY_POPOVER_DEFAULT_SURVEY_DESC}" class="surveyDescription sapUiSmallMarginBottom" />
52
+ <Button text="{i18n>SURVEY_POPOVER_DEFAULT_SURVEY_BTN}" width="100%" press=".shortSurveyRedirect" />
53
+ </items>
54
+ </VBox>
55
+ </ResponsivePopover>
56
+ </core:FragmentDefinition>
@@ -215,10 +215,7 @@
215
215
  <Link text="{i18n>TOOLS_VIEW_DOC}"
216
216
  class="sapUiMediumMarginEnd"
217
217
  target="_blank"
218
- href="{
219
- path: 'newWindowLinks>/inspectorHomeLink',
220
- formatter: '.formatter.formatHttpHrefForNewWindow'
221
- }"/>
218
+ href="{newWindowLinks>/inspectorHomeLink}"/>
222
219
  <html:div class="sapUIDisclaimerLink">
223
220
  <Link text="{i18n>TOOLS_CARD_4_LINK_1}"
224
221
  target="_blank"
@@ -272,19 +269,13 @@
272
269
  titleStyle="H1"
273
270
  text="{/supportAssistant/text}"
274
271
  class="sapUiSmallMarginBottom"
275
- href="{
276
- path : 'newWindowLinks>/supportAssistantHomeLink',
277
- formatter : '.formatter.formatHttpHrefForNewWindow'
278
- }"
272
+ href="{newWindowLinks>/supportAssistantHomeLink}"
279
273
  target="_blank"/>
280
274
  <Text class="sapUiSmallMarginBottom" text="{i18n>TOOLS_CARD_6_TEXT}" />
281
275
  <HBox wrap="Wrap">
282
276
  <Link text="{i18n>TOOLS_VIEW_DOC}"
283
277
  target="_blank"
284
- href="{
285
- path : 'newWindowLinks>/supportAssistantHomeLink',
286
- formatter : '.formatter.formatHttpHrefForNewWindow'
287
- }"/>
278
+ href="{newWindowLinks>/supportAssistantHomeLink}"/>
288
279
  </HBox>
289
280
  </VBox>
290
281
  <Image src="./resources/sap/ui/documentation/sdk/images/tools/SupportAssistant.jpg" class="toolsPageImage" alt="{i18n>TOOLS_CARD_6_IMG_ALT}"/>
@@ -307,10 +298,7 @@
307
298
  <HBox wrap="Wrap">
308
299
  <Link text="{i18n>TOOLS_VIEW_DOC}"
309
300
  target="_blank"
310
- href="{
311
- path : 'newWindowLinks>/iconExplorerHomeLink',
312
- formatter : '.formatter.formatHttpHrefForNewWindow'
313
- }"
301
+ href="{newWindowLinks>/iconExplorerHomeLink}"
314
302
  class="sapUiMediumMarginEnd"/>
315
303
  <Link text="{i18n>TOOLS_CARD_7_LINK_1}"
316
304
  target="_blank"
@@ -25,7 +25,7 @@
25
25
  press="backToSearch"
26
26
  visible="false"/>
27
27
  <m:Button
28
- visible="{= ${versionData>/isOpenUI5}}"
28
+ visible="{= ${versionData>/isOpenUI5} &amp;&amp; !${versionData>/isURLVersioned}}"
29
29
  icon="sap-icon://edit"
30
30
  type="Transparent"
31
31
  text="{i18n>TOPIC_DETAIL_EDIT_GITHUB}"
@@ -333,8 +333,8 @@
333
333
  </headerToolbar>
334
334
  <l:BlockLayout>
335
335
  <l:BlockLayoutRow>
336
- <l:BlockLayoutCell backgroundColorSet="ColorSet6"
337
- backgroundColorShade="ShadeC">
336
+ <l:BlockLayoutCell backgroundColorSet="ColorSet10"
337
+ backgroundColorShade="ShadeA">
338
338
  <l:layoutData>
339
339
  <l:BlockLayoutCellData sSize="1" mSize="2" lSize="3" xlSize="3"/>
340
340
  </l:layoutData>
@@ -357,8 +357,8 @@
357
357
 
358
358
  <l:BlockLayoutCell
359
359
  class="welcomeBlock"
360
- backgroundColorSet="ColorSet6"
361
- backgroundColorShade="ShadeC">
360
+ backgroundColorSet="ColorSet10"
361
+ backgroundColorShade="ShadeA">
362
362
 
363
363
  <l:layoutData>
364
364
  <l:BlockLayoutCellData sSize="1" mSize="2" lSize="3" xlSize="3"/>
@@ -491,7 +491,7 @@
491
491
  width="100%">
492
492
  <html:div class="sapUIDisclaimerLink sapUiSmallMarginBottom">
493
493
  <custom:TitleLink
494
- href="https://sapui5.hana.ondemand.com/#/topic/91f346786f4d1014b6dd926db0e91070"
494
+ href="https://ui5.sap.com/#/topic/91f346786f4d1014b6dd926db0e91070"
495
495
  target="_blank"
496
496
  text="{i18n>WELCOME_BLOCK_9_TITLE}"
497
497
  titleStyle="H2"/>
@@ -54,6 +54,10 @@ html.sap-tablet:not(.sap-desktop) {
54
54
  }
55
55
  }
56
56
 
57
+ .bpsupport {
58
+ overflow-x: auto;
59
+ }
60
+
57
61
  #d4h5-main-container,
58
62
  .faqContent {
59
63
  font-size: 0.875em;
@@ -581,6 +585,7 @@ html.sap-tablet:not(.sap-desktop) {
581
585
 
582
586
  table.tableFullWidth {
583
587
  width: 100%;
588
+ table-layout: auto;
584
589
  }
585
590
 
586
591
  table.tableAutoWidth {