@openui5/sap.ui.documentation 1.94.0 → 1.97.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 (98) hide show
  1. package/.reuse/dep5 +12 -12
  2. package/THIRDPARTY.txt +21 -17
  3. package/package.json +6 -6
  4. package/src/sap/ui/documentation/.library +1 -6
  5. package/src/sap/ui/documentation/library.js +2 -2
  6. package/src/sap/ui/documentation/messagebundle.properties +39 -4
  7. package/src/sap/ui/documentation/messagebundle_ar.properties +23 -4
  8. package/src/sap/ui/documentation/messagebundle_bg.properties +23 -4
  9. package/src/sap/ui/documentation/messagebundle_ca.properties +21 -2
  10. package/src/sap/ui/documentation/messagebundle_cs.properties +21 -2
  11. package/src/sap/ui/documentation/messagebundle_cy.properties +23 -4
  12. package/src/sap/ui/documentation/messagebundle_da.properties +21 -2
  13. package/src/sap/ui/documentation/messagebundle_de.properties +21 -2
  14. package/src/sap/ui/documentation/messagebundle_el.properties +21 -2
  15. package/src/sap/ui/documentation/messagebundle_en.properties +21 -2
  16. package/src/sap/ui/documentation/messagebundle_en_GB.properties +21 -2
  17. package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +23 -3
  18. package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +23 -3
  19. package/src/sap/ui/documentation/messagebundle_es.properties +21 -2
  20. package/src/sap/ui/documentation/messagebundle_es_MX.properties +21 -2
  21. package/src/sap/ui/documentation/messagebundle_et.properties +21 -2
  22. package/src/sap/ui/documentation/messagebundle_fi.properties +23 -4
  23. package/src/sap/ui/documentation/messagebundle_fr.properties +23 -4
  24. package/src/sap/ui/documentation/messagebundle_fr_CA.properties +24 -5
  25. package/src/sap/ui/documentation/messagebundle_hi.properties +23 -4
  26. package/src/sap/ui/documentation/messagebundle_hr.properties +23 -4
  27. package/src/sap/ui/documentation/messagebundle_hu.properties +23 -4
  28. package/src/sap/ui/documentation/messagebundle_id.properties +22 -3
  29. package/src/sap/ui/documentation/messagebundle_it.properties +23 -4
  30. package/src/sap/ui/documentation/messagebundle_iw.properties +21 -2
  31. package/src/sap/ui/documentation/messagebundle_ja.properties +21 -2
  32. package/src/sap/ui/documentation/messagebundle_kk.properties +23 -4
  33. package/src/sap/ui/documentation/messagebundle_ko.properties +21 -2
  34. package/src/sap/ui/documentation/messagebundle_lt.properties +21 -2
  35. package/src/sap/ui/documentation/messagebundle_lv.properties +23 -4
  36. package/src/sap/ui/documentation/messagebundle_ms.properties +21 -2
  37. package/src/sap/ui/documentation/messagebundle_nl.properties +21 -2
  38. package/src/sap/ui/documentation/messagebundle_no.properties +23 -4
  39. package/src/sap/ui/documentation/messagebundle_pl.properties +21 -2
  40. package/src/sap/ui/documentation/messagebundle_pt.properties +23 -4
  41. package/src/sap/ui/documentation/messagebundle_pt_PT.properties +23 -4
  42. package/src/sap/ui/documentation/messagebundle_ro.properties +23 -4
  43. package/src/sap/ui/documentation/messagebundle_ru.properties +23 -4
  44. package/src/sap/ui/documentation/messagebundle_sh.properties +23 -4
  45. package/src/sap/ui/documentation/messagebundle_sk.properties +21 -2
  46. package/src/sap/ui/documentation/messagebundle_sl.properties +23 -4
  47. package/src/sap/ui/documentation/messagebundle_sv.properties +21 -2
  48. package/src/sap/ui/documentation/messagebundle_th.properties +21 -2
  49. package/src/sap/ui/documentation/messagebundle_tr.properties +21 -2
  50. package/src/sap/ui/documentation/messagebundle_uk.properties +34 -15
  51. package/src/sap/ui/documentation/messagebundle_vi.properties +23 -4
  52. package/src/sap/ui/documentation/messagebundle_zh_CN.properties +23 -4
  53. package/src/sap/ui/documentation/messagebundle_zh_TW.properties +23 -4
  54. package/src/sap/ui/documentation/sdk/Component.js +3 -2
  55. package/src/sap/ui/documentation/sdk/controller/ApiDetailIndexDeprecatedExperimental.controller.js +1 -38
  56. package/src/sap/ui/documentation/sdk/controller/App.controller.js +99 -16
  57. package/src/sap/ui/documentation/sdk/controller/News.controller.js +77 -0
  58. package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +28 -30
  59. package/src/sap/ui/documentation/sdk/controller/SampleBaseController.js +6 -4
  60. package/src/sap/ui/documentation/sdk/controller/SampleNotFound.controller.js +14 -0
  61. package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +1 -1
  62. package/src/sap/ui/documentation/sdk/controller/TopicDetail.controller.js +1 -1
  63. package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +16 -0
  64. package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +188 -0
  65. package/src/sap/ui/documentation/sdk/controller/util/ToolsInfo.js +7 -1
  66. package/src/sap/ui/documentation/sdk/css/style.css +31 -5
  67. package/src/sap/ui/documentation/sdk/images/tools/FlexibleProgrammingModelExplorer.jpg +0 -0
  68. package/src/sap/ui/documentation/sdk/index.html +55 -0
  69. package/src/sap/ui/documentation/sdk/manifest.json +23 -0
  70. package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +20 -12
  71. package/src/sap/ui/documentation/sdk/util/Resources.js +12 -7
  72. package/src/sap/ui/documentation/sdk/view/App.view.xml +27 -1
  73. package/src/sap/ui/documentation/sdk/view/ChangeVersionDialog.fragment.xml +16 -7
  74. package/src/sap/ui/documentation/sdk/view/News.view.xml +68 -0
  75. package/src/sap/ui/documentation/sdk/view/NewsPopover.fragment.xml +51 -0
  76. package/src/sap/ui/documentation/sdk/view/ReleaseDialog.fragment.xml +1 -1
  77. package/src/sap/ui/documentation/sdk/view/SampleNotFound.view.xml +17 -0
  78. package/src/sap/ui/documentation/sdk/view/Tools.view.xml +25 -27
  79. package/src/sap/ui/documentation/sdk/view/Welcome.view.xml +40 -6
  80. package/src/sap/ui/documentation/themes/base/Documentation.less +8 -13
  81. package/src/sap/ui/documentation/themes/sap_belize/library.source.less +3 -1
  82. package/src/sap/ui/documentation/themes/sap_belize_hcb/library.source.less +3 -1
  83. package/src/sap/ui/documentation/themes/sap_belize_hcw/library.source.less +3 -1
  84. package/src/sap/ui/documentation/themes/sap_belize_plus/library.source.less +3 -1
  85. package/src/sap/ui/documentation/themes/sap_fiori_3/library.source.less +3 -10
  86. package/src/sap/ui/documentation/themes/sap_fiori_3_dark/library.source.less +4 -11
  87. package/src/sap/ui/documentation/themes/sap_fiori_3_hcb/library.source.less +3 -1
  88. package/src/sap/ui/documentation/themes/sap_fiori_3_hcw/library.source.less +3 -1
  89. package/src/sap/ui/documentation/themes/sap_horizon/library.source.less +9 -0
  90. package/ui5.yaml +8 -2
  91. package/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/lang-css.js +0 -160
  92. package/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/lang-feature.js +0 -33
  93. package/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/lang-properties.js +0 -22
  94. package/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/lang-text.js +0 -11
  95. package/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/prettify.css +0 -232
  96. package/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/prettify.js +0 -1740
  97. package/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/run-prettify.js +0 -27
  98. package/src/sap/ui/documentation/sdk/thirdparty/google-code-prettify/run_prettify.js +0 -34
@@ -0,0 +1,51 @@
1
+ <core:FragmentDefinition
2
+ xmlns="sap.m"
3
+ xmlns:core="sap.ui.core">
4
+ <ResponsivePopover
5
+ id="myPopover"
6
+ placement="Bottom"
7
+ title="{i18n>APP_NEWS_BTN_TOOLTIP}">
8
+ <beginButton>
9
+ <Button
10
+ id="dismissAllNotifications"
11
+ text="{i18n>APP_NEWS_DISMISS_ALL_BTN}"
12
+ press="handleDismissAllPress"
13
+ enabled="{= %{news>/newsCount} > 0}" />
14
+ </beginButton>
15
+ <endButton>
16
+ <Button
17
+ id="showAllNotifications"
18
+ text="{i18n>APP_NEWS_SHOW_ALL_BTN}"
19
+ press="handleShowAllPress" />
20
+ </endButton>
21
+ <VBox>
22
+ <NotificationList
23
+ noDataText="{i18n>APP_NEWS_NO_NEW_TEXT}"
24
+ items="{path: 'news>/items', templateShareable: false}"
25
+ >
26
+ <layoutData>
27
+ <FlexItemData maxHeight="450px" />
28
+ </layoutData>
29
+
30
+ <NotificationListItem
31
+ title="{news>title}"
32
+ description="{news>description}"
33
+ datetime="{news>updated}"
34
+ close="handleNewsItemClose"
35
+ class="sapUiDemokitCustomNLI">
36
+ <buttons>
37
+ <Button visible="{= %{news>link} !== ''}" text="{i18n>NEWS_BTN_VISIT_LINK}" press="handleVisitNewsLink">
38
+ <customData>
39
+ <core:CustomData key="newsLink" value="{news>link}"/>
40
+ </customData>
41
+ </Button>
42
+ </buttons>
43
+ <customData>
44
+ <core:CustomData key="newsID" value="{news>id}"/>
45
+ </customData>
46
+ </NotificationListItem>
47
+
48
+ </NotificationList>
49
+ </VBox>
50
+ </ResponsivePopover>
51
+ </core:FragmentDefinition>
@@ -16,7 +16,7 @@
16
16
  contentWidth="40%"
17
17
  contentHeight="40%"
18
18
  stretch="{appView>/bPhoneSize}">
19
- <Text text="{i18n>RELEASE_DIALOG_NO_DATA_TEXT}" class="sapUiSmallMargin" visible="{/noDataMessage}"/>
19
+ <Text text="{i18n>RELEASE_DIALOG_NO_DATA_TEXT}" class="sapUiSmallMargin" visible="{=!!${/noData}}"/>
20
20
  <beginButton>
21
21
  <Button text="{i18n>RELEASE_DIALOG_CLOSE_BTN}" press="onReleaseDialogClose"/>
22
22
  </beginButton>
@@ -0,0 +1,17 @@
1
+ <mvc:View
2
+ controllerName="sap.ui.documentation.sdk.controller.SampleNotFound"
3
+ xmlns:mvc="sap.ui.core.mvc"
4
+ xmlns="sap.m">
5
+
6
+ <MessagePage
7
+ id="page"
8
+ 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>
16
+
17
+ </mvc:View>
@@ -53,10 +53,11 @@
53
53
  <VBox justifyContent="SpaceBetween">
54
54
  <VBox class="sapUiSmallMargin toolspageCardInfo">
55
55
  <html:div class="sapUIDisclaimerLink sapUiSmallMarginBottom">
56
- <Title
56
+ <custom:TitleLink
57
57
  level="H1"
58
58
  titleStyle="H1"
59
59
  text="{/uiThemeDesigner/text}"
60
+ href="{/uiThemeDesigner/href}"
60
61
  target="_blank"
61
62
  wrapping="true"/>
62
63
  </html:div>
@@ -72,16 +73,6 @@
72
73
  width="1.25rem"
73
74
  press="onDisclaimerLinkPress"/>
74
75
  </html:div>
75
- <html:div class="sapUIDisclaimerLink">
76
- <Link text="{i18n>TOOLS_CARD_2_LINK_1}"
77
- target="_blank"
78
- href="https://www.sap.com/community/topics/ui-theme-designer.html"/>
79
- <Image
80
- src="./resources/sap/ui/documentation/sdk/images/link-sap.png"
81
- tooltip="{i18n>LEGAL_DISCLAIMER_INTERNAL_TOOLTIP}"
82
- width="1.25rem"
83
- press="onDisclaimerLinkPress"/>
84
- </html:div>
85
76
  </HBox>
86
77
  </VBox>
87
78
  <Image src="./resources/sap/ui/documentation/sdk/images/tools/ThemeDesigner.jpg" class="toolsPageImage" alt="{i18n>TOOLS_CARD_2_IMG_ALT}"/>
@@ -156,10 +147,7 @@
156
147
  </f:content>
157
148
  </f:Card>
158
149
  <!-- UI5 Tooling -->
159
- <f:Card height="25rem">
160
- <f:layoutData>
161
- <l:GridData spanM="6" spanL="6"/>
162
- </f:layoutData>
150
+ <f:Card class="threeColumnLayoutCard">
163
151
  <f:content>
164
152
  <VBox justifyContent="SpaceBetween">
165
153
  <VBox class="sapUiSmallMargin toolspageCardInfo">
@@ -205,10 +193,7 @@
205
193
  </f:content>
206
194
  </f:Card>
207
195
  <!-- UI5 Inspector -->
208
- <f:Card height="25rem">
209
- <f:layoutData>
210
- <l:GridData spanM="6" spanL="6" spanXL="4"/>
211
- </f:layoutData>
196
+ <f:Card class="threeColumnLayoutCard">
212
197
  <f:content>
213
198
  <VBox justifyContent="SpaceBetween">
214
199
  <VBox class="sapUiSmallMargin toolspageCardInfo">
@@ -252,9 +237,6 @@
252
237
  </f:Card>
253
238
  <!-- Card Explorer -->
254
239
  <f:Card class="threeColumnLayoutCard">
255
- <f:layoutData>
256
- <l:GridData spanXL="4"/>
257
- </f:layoutData>
258
240
  <f:content>
259
241
  <VBox justifyContent="SpaceBetween">
260
242
  <VBox class="sapUiSmallMargin toolspageCardInfo">
@@ -282,9 +264,6 @@
282
264
  </f:Card>
283
265
  <!-- Support Assistant -->
284
266
  <f:Card class="threeColumnLayoutCard">
285
- <f:layoutData>
286
- <l:GridData spanXL="4"/>
287
- </f:layoutData>
288
267
  <f:content>
289
268
  <VBox justifyContent="SpaceBetween">
290
269
  <VBox class="sapUiSmallMargin toolspageCardInfo">
@@ -423,9 +402,28 @@
423
402
  href="{/liveEditor/href}"
424
403
  target="_blank"/>
425
404
  </html:div>
426
- <Text class="sapUiSmallMarginBottom" text="{i18n>TOOLS_CARD_10_TEXT}" />
405
+ <Text class="sapUiSmallMarginBottom" text="{i18n>TOOLS_CARD_13_TEXT}" />
406
+ </VBox>
407
+ <Image src="./resources/sap/ui/documentation/sdk/images/tools/Tools_LiveEditor.jpg" class="toolsPageImage" alt="{i18n>TOOLS_CARD_13_IMG_ALT}"/>
408
+ </VBox>
409
+ </f:content>
410
+ </f:Card>
411
+ <!-- Flexible Programming Model Explorer -->
412
+ <f:Card class="threeColumnLayoutCard" visible="{=! (${device>/system/phone} || ${device>/browser/msie}) }">
413
+ <f:content>
414
+ <VBox justifyContent="SpaceBetween">
415
+ <VBox class="sapUiSmallMargin toolspageCardInfo">
416
+ <html:div class="sapUIDisclaimerLink sapUiSmallMarginBottom">
417
+ <custom:TitleLink
418
+ level="H1"
419
+ titleStyle="H1"
420
+ text="{/flexibleProgrammingModelExplorer/text}"
421
+ href="{/flexibleProgrammingModelExplorer/href}"
422
+ target="_blank"/>
423
+ </html:div>
424
+ <Text class="sapUiSmallMarginBottom" text="{i18n>TOOLS_CARD_14_TEXT}" />
427
425
  </VBox>
428
- <Image src="./resources/sap/ui/documentation/sdk/images/tools/Tools_LiveEditor.jpg" class="toolsPageImage" alt="{i18n>TOOLS_CARD_10_IMG_ALT}"/>
426
+ <Image src="./resources/sap/ui/documentation/sdk/images/tools/FlexibleProgrammingModelExplorer.jpg" class="toolsPageImage" alt="{i18n>TOOLS_CARD_14_IMG_ALT}"/>
429
427
  </VBox>
430
428
  </f:content>
431
429
  </f:Card>
@@ -151,7 +151,6 @@
151
151
  </HBox>
152
152
  </l:VerticalLayout>
153
153
  </l:BlockLayoutCell>
154
-
155
154
  </l:BlockLayoutRow>
156
155
 
157
156
  <l:BlockLayoutRow>
@@ -161,10 +160,10 @@
161
160
  <l:VerticalLayout
162
161
  width="100%">
163
162
  <custom:TitleLink
164
- href="topic/23cfd955f58142389fa7c9097e11559c"
165
- text="{i18n>WELCOME_BLOCK_4_TITLE}"
166
- class="sapUiSmallMarginBottom"
167
- titleStyle="H2"/>
163
+ href="topic/23cfd955f58142389fa7c9097e11559c"
164
+ text="{i18n>WELCOME_BLOCK_4_TITLE}"
165
+ class="sapUiSmallMarginBottom"
166
+ titleStyle="H2"/>
168
167
  <Text
169
168
  text="{i18n>WELCOME_BLOCK_4_TEXT_1}"
170
169
  class="sapUiSmallMarginBottom"/>
@@ -229,9 +228,44 @@
229
228
  </layoutData>
230
229
  </Image>
231
230
  </l:Grid>
232
-
233
231
  </l:BlockLayoutCell>
232
+ </l:BlockLayoutRow>
234
233
 
234
+ <l:BlockLayoutRow>
235
+ <l:BlockLayoutCell
236
+ backgroundColorSet="ColorSet11"
237
+ backgroundColorShade="ShadeA">
238
+ <HBox alignItems="Center" justifyContent="Center" width="100%" height="100%">
239
+ <core:HTML sanitizeContent="true" content='
240
+ &lt;div class="videoWrapper"&gt;
241
+ &lt;iframe src="https://www.youtube.com/embed/6_CQYtmRJNg" title="YouTube video player" frameborder="0"
242
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="true" /&gt;
243
+ &lt;/div&gt;'>
244
+ <core:layoutData>
245
+ <FlexItemData maxWidth="35rem" growFactor="1" />
246
+ </core:layoutData>
247
+ </core:HTML>
248
+ </HBox>
249
+ </l:BlockLayoutCell>
250
+ <l:BlockLayoutCell
251
+ backgroundColorSet="ColorSet11"
252
+ backgroundColorShade="ShadeD">
253
+ <l:VerticalLayout
254
+ width="100%">
255
+ <custom:TitleLink
256
+ text="{i18n>WELCOME_VIDEO_BLOCK_TITLE}"
257
+ class="sapUiSmallMarginBottom"
258
+ href="https://www.youtube.com/watch?v=6_CQYtmRJNg"
259
+ target="_blank"
260
+ titleStyle="H2"/>
261
+ <Text
262
+ text="{i18n>WELCOME_VIDEO_BLOCK_TEXT_1}"
263
+ class="sapUiSmallMarginBottom"/>
264
+ <FormattedText
265
+ htmlText="{i18n>WELCOME_VIDEO_BLOCK_TEXT_2}"
266
+ class="sapUiSmallMarginBottom"/>
267
+ </l:VerticalLayout>
268
+ </l:BlockLayoutCell>
235
269
  </l:BlockLayoutRow>
236
270
  </l:BlockLayout>
237
271
  </Panel>
@@ -104,7 +104,7 @@ html.sap-tablet:not(.sap-desktop) {
104
104
  }
105
105
 
106
106
  .collapsible.expanded {
107
- > .collapsible-icon::before {
107
+ > .collapsible-icon:before {
108
108
  content: '\E1EF';
109
109
  }
110
110
  }
@@ -114,7 +114,7 @@ html.sap-tablet:not(.sap-desktop) {
114
114
  display: none;
115
115
  }
116
116
 
117
- > .collapsible-icon::before {
117
+ > .collapsible-icon:before {
118
118
  content: '\e0e3';
119
119
  }
120
120
  }
@@ -127,6 +127,7 @@ html.sap-tablet:not(.sap-desktop) {
127
127
  margin-right: 1rem;
128
128
  font-family: sap-icons;
129
129
  font-size: 1rem;
130
+ float: left;
130
131
  }
131
132
 
132
133
  &:hover {
@@ -135,7 +136,8 @@ html.sap-tablet:not(.sap-desktop) {
135
136
 
136
137
  h2, h3, .title, strong {
137
138
  cursor: pointer;
138
- display: inline-block;
139
+ display: block;
140
+ float: none;
139
141
  margin: 0.25rem 0.25rem 0.25rem;
140
142
  pointer-events: none;
141
143
  }
@@ -298,7 +300,6 @@ html.sap-tablet:not(.sap-desktop) {
298
300
  pre.codeblock,
299
301
  blockquote,
300
302
  div.syntax {
301
- border: unset; // remove prettyprint border,
302
303
  border-left: 0.6rem solid @sapAccentColor6;
303
304
  background-color: darken(@sapUiBaseBG, 5);
304
305
  padding: .6em .75em .6em .75em;
@@ -379,6 +380,7 @@ html.sap-tablet:not(.sap-desktop) {
379
380
  .restriction .title:before,
380
381
  .caution .title:before {
381
382
  margin-right: .5em;
383
+ float: left;
382
384
  }
383
385
 
384
386
  .note .title:before {
@@ -520,11 +522,6 @@ html.sap-tablet:not(.sap-desktop) {
520
522
  font-weight: 600;
521
523
  }
522
524
 
523
- span.uicontrol,
524
- span.uinolabel {
525
- color: @sapBrandColor;
526
- }
527
-
528
525
  code, kbd, pre, samp {
529
526
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
530
527
  }
@@ -569,8 +566,7 @@ html.sap-tablet:not(.sap-desktop) {
569
566
  }
570
567
 
571
568
  .tableWrapper {
572
- overflow-x: scroll;
573
- display: inline;
569
+ overflow-x: auto;
574
570
  }
575
571
 
576
572
  table {
@@ -715,8 +711,7 @@ html.sap-tablet:not(.sap-desktop) {
715
711
  font-family: Monaco, monospace;
716
712
  }
717
713
 
718
- .uilabel,
719
- .uinolabel {
714
+ .uilabel{
720
715
  font-style: normal;
721
716
  font-weight: 600;
722
717
  color: @sapBrandColor;
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_belize/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_belize/global.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcb/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcb/global.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcw/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_belize_hcw/global.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../sap_belize/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_belize_plus/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_belize_plus/global.less";
@@ -3,14 +3,7 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
- @import "../../../../../sap/ui/core/themes/sap_fiori_3/base.less";
7
- @import "../../../../../sap/ui/core/themes/sap_fiori_3/global.less";
8
- @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.theme.css");
9
- @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.button.css");
10
6
 
11
- @import "../base/DataTableFilterDropDown.less";
12
- @import "../base/Documentation.less";
13
- @import "../base/DemokitTreeItem.less";
14
- @import "../base/LightTable.less";
15
- @import "../base/Search.less";
16
- @import "../base/TitleLink.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3/global.less";
@@ -3,16 +3,9 @@
3
3
  * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
- @import "../../../../../sap/ui/core/themes/sap_fiori_3_dark/base.less";
7
- @import "../../../../../sap/ui/core/themes/sap_fiori_3_dark/global.less";
8
- @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.theme.css");
9
- @import url("../../../../../sap/ui/thirdparty/jqueryui/themes/base/jquery.ui.button.css");
10
6
 
11
- @import "../base/DataTableFilterDropDown.less";
12
- @import "../base/Documentation.less";
13
- @import "../base/DemokitTreeItem.less";
14
- @import "../base/LightTable.less";
15
- @import "../base/Search.less";
16
- @import "../base/TitleLink.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_dark/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_dark/global.less";
17
10
 
18
- @import "./Documentation.less";
11
+ @import "./Documentation.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_hcb/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_hcb/global.less";
@@ -4,4 +4,6 @@
4
4
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
5
  */
6
6
 
7
- @import "../base/library.source.less";
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_hcw/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_fiori_3_hcw/global.less";
@@ -0,0 +1,9 @@
1
+ /*!
2
+ * OpenUI5
3
+ * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
+ * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
+ */
6
+
7
+ @import "../base/library.source.less";
8
+ @import "../../../../../sap/ui/core/themes/sap_horizon/base.less";
9
+ @import "../../../../../sap/ui/core/themes/sap_horizon/global.less";
package/ui5.yaml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
- specVersion: "1.1"
2
+ specVersion: "2.6"
3
3
  type: library
4
4
  metadata:
5
5
  name: sap.ui.documentation
@@ -7,7 +7,13 @@ metadata:
7
7
  OpenUI5
8
8
  * (c) Copyright 2009-${currentYear} SAP SE or an SAP affiliate company.
9
9
  * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
10
+ resources:
11
+ configuration:
12
+ propertiesFileSourceEncoding: ISO-8859-1
10
13
  builder:
11
14
  jsdoc:
12
15
  excludes:
13
- - "sap/ui/documentation/sdk/thirdparty/**"
16
+ - "sap/ui/documentation/sdk/thirdparty/**"
17
+ minification:
18
+ excludes:
19
+ - "sap/ui/documentation/sdk/thirdparty/highlight.js/*.js"
@@ -1,160 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright (C) 2009 Google Inc.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
-
18
- /**
19
- * @fileoverview
20
- * Registers a language handler for CSS.
21
- *
22
- *
23
- * To use, include prettify.js and this file in your HTML page.
24
- * Then put your code in an HTML tag like
25
- * <pre class="prettyprint lang-css"></pre>
26
- *
27
- *
28
- * http://www.w3.org/TR/CSS21/grammar.html Section G2 defines the lexical
29
- * grammar. This scheme does not recognize keywords containing escapes.
30
- *
31
- * @author mikesamuel@gmail.com
32
- */
33
-
34
- // This file is a call to a function defined in prettify.js which defines a
35
- // lexical scanner for CSS and maps tokens to styles.
36
-
37
- // The call to PR['registerLangHandler'] is quoted so that Closure Compiler
38
- // will not rename the call so that this language extensions can be
39
- // compiled/minified separately from one another. Other symbols defined in
40
- // prettify.js are similarly quoted.
41
-
42
- // The call is structured thus:
43
- // PR['registerLangHandler'](
44
- // PR['createSimpleLexer'](
45
- // shortcutPatterns,
46
- // fallThroughPatterns),
47
- // [languageId0, ..., languageIdN])
48
-
49
- // Langugage IDs
50
- // =============
51
- // The language IDs are typically the file extensions of source files for
52
- // that language so that users can syntax highlight arbitrary files based
53
- // on just the extension. This is heuristic, but works pretty well in
54
- // practice.
55
-
56
- // Patterns
57
- // ========
58
- // Lexers are typically implemented as a set of regular expressions.
59
- // The SimpleLexer function takes regular expressions, styles, and some
60
- // pragma-info and produces a lexer. A token description looks like
61
- // [STYLE_NAME, /regular-expression/, pragmas]
62
-
63
- // Initially, simple lexer's inner loop looked like:
64
-
65
- // while sourceCode is not empty:
66
- // try each regular expression in order until one matches
67
- // remove the matched portion from sourceCode
68
-
69
- // This was really slow for large files because some JS interpreters
70
- // do a buffer copy on the matched portion which is O(n*n)
71
-
72
- // The current loop now looks like
73
-
74
- // 1. use js-modules/combinePrefixPatterns.js to
75
- // combine all regular expressions into one
76
- // 2. use a single global regular expresion match to extract all tokens
77
- // 3. for each token try regular expressions in order until one matches it
78
- // and classify it using the associated style
79
-
80
- // This is a lot more efficient but it does mean that lookahead and lookbehind
81
- // can't be used across boundaries to classify tokens.
82
-
83
- // Sometimes we need lookahead and lookbehind and sometimes we want to handle
84
- // embedded language -- JavaScript or CSS embedded in HTML, or inline assembly
85
- // in C.
86
-
87
- // If a particular pattern has a numbered group, and its style pattern starts
88
- // with "lang-" as in
89
- // ['lang-js', /<script>(.*?)<\/script>/]
90
- // then the token classification step breaks the token into pieces.
91
- // Group 1 is re-parsed using the language handler for "lang-js", and the
92
- // surrounding portions are reclassified using the current language handler.
93
- // This mechanism gives us both lookahead, lookbehind, and language embedding.
94
-
95
- // Shortcut Patterns
96
- // =================
97
- // A shortcut pattern is one that is tried before other patterns if the first
98
- // character in the token is in the string of characters.
99
- // This very effectively lets us make quick correct decisions for common token
100
- // types.
101
-
102
- // All other patterns are fall-through patterns.
103
-
104
-
105
-
106
- // The comments inline below refer to productions in the CSS specification's
107
- // lexical grammar. See link above.
108
- PR['registerLangHandler'](
109
- PR['createSimpleLexer'](
110
- // Shortcut patterns.
111
- [
112
- // The space production <s>
113
- [PR['PR_PLAIN'], /^[ \t\r\n\f]+/, null, ' \t\r\n\f']
114
- ],
115
- // Fall-through patterns.
116
- [
117
- // Quoted strings. <string1> and <string2>
118
- [PR['PR_STRING'],
119
- /^\"(?:[^\n\r\f\\\"]|\\(?:\r\n?|\n|\f)|\\[\s\S])*\"/, null],
120
- [PR['PR_STRING'],
121
- /^\'(?:[^\n\r\f\\\']|\\(?:\r\n?|\n|\f)|\\[\s\S])*\'/, null],
122
- ['lang-css-str', /^url\(([^\)\"\']+)\)/i],
123
- [PR['PR_KEYWORD'],
124
- /^(?:url|rgb|\!important|@import|@page|@media|@charset|inherit)(?=[^\-\w]|$)/i,
125
- null],
126
- // A property name -- an identifier followed by a colon.
127
- ['lang-css-kw', /^(-?(?:[_a-z]|(?:\\[0-9a-f]+ ?))(?:[_a-z0-9\-]|\\(?:\\[0-9a-f]+ ?))*)\s*:/i],
128
- // A C style block comment. The <comment> production.
129
- [PR['PR_COMMENT'], /^\/\*[^*]*\*+(?:[^\/*][^*]*\*+)*\//],
130
- // Escaping text spans
131
- [PR['PR_COMMENT'], /^(?:<!--|-->)/],
132
- // A number possibly containing a suffix.
133
- [PR['PR_LITERAL'], /^(?:\d+|\d*\.\d+)(?:%|[a-z]+)?/i],
134
- // A hex color
135
- [PR['PR_LITERAL'], /^#(?:[0-9a-f]{3}){1,2}\b/i],
136
- // An identifier
137
- [PR['PR_PLAIN'],
138
- /^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i],
139
- // A run of punctuation
140
- [PR['PR_PUNCTUATION'], /^[^\s\w\'\"]+/]
141
- ]),
142
- ['css']);
143
- // Above we use embedded languages to highlight property names (identifiers
144
- // followed by a colon) differently from identifiers in values.
145
- PR['registerLangHandler'](
146
- PR['createSimpleLexer']([],
147
- [
148
- [PR['PR_KEYWORD'],
149
- /^-?(?:[_a-z]|(?:\\[\da-f]+ ?))(?:[_a-z\d\-]|\\(?:\\[\da-f]+ ?))*/i]
150
- ]),
151
- ['css-kw']);
152
- // The content of an unquoted URL literal like url(http://foo/img.png) should
153
- // be colored as string content. This language handler is used above in the
154
- // URL production to do so.
155
- PR['registerLangHandler'](
156
- PR['createSimpleLexer']([],
157
- [
158
- [PR['PR_STRING'], /^[^\)\"\']+/]
159
- ]),
160
- ['css-str']);
@@ -1,33 +0,0 @@
1
- /*!
2
- * OpenUI5
3
- * (c) Copyright 2009-2021 SAP SE or an SAP affiliate company.
4
- * Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
5
- */
6
-
7
- // prettify extension for *.feature files (english version)
8
- // To properly parse the line-based structure of feature files, the first patterns all handle full lines starting with one of the
9
- // keywords of the feature file format. The formatting of the real line content is delegated to helper languages.
10
- PR.registerLangHandler(
11
- PR.createSimpleLexer([], [
12
- [PR.PR_COMMENT, /[ \t]*#[^\r\n]*/],
13
- ['lang-feature.plain', /Feature:([^\r\n]*)(?:\r\n|\r|\n)/], // $1: feature description
14
- ['lang-feature.plain', /[ \t]+Scenario:([^\r\n]*)(?:\r\n|\r|\n)/], // $1: scenario description
15
- ['lang-feature.plain', /[ \t][ \t]+(?:Given|When|Then|And|But)([^\r\n]*)(?:\r\n|\r|\n)/], // $1: preconditions/test actions/expectation
16
- ['lang-feature.table', /[ \t][ \t]+(\|(?:[^|]*\|)+)[^\r\n]*(?:\r\n|\r|\n)/], // $1: row of a table with data
17
- [PR.PR_COMMENT, /[ \t][ \t]+[^\r\n]*(?:\r\n|\r|\n)/], // any other indented line (should be a comment)
18
- [PR.PR_KEYWORD, /Feature:|Scenario:|Given|When|Then|And|But/],
19
- [PR.PR_TAG, /@\w+/], // tags
20
- // final pattern for any remaining text: plain text (after one of the keywords)
21
- [PR.PR_PLAIN, /[^\r\n]*(?:\r\n|\r|\n)/]
22
- ]), ['feature']);
23
- //helper language to pretty print text after a keyword
24
- PR.registerLangHandler(
25
- PR.createSimpleLexer([], [
26
- [PR.PR_PLAIN, /[\s\S]*/]
27
- ]), ['feature.plain']);
28
- //helper language to pretty print data table lines
29
- PR.registerLangHandler(
30
- PR.createSimpleLexer([], [
31
- [PR.PR_PUNCTUATION, /\|/, null, '|'],
32
- [PR.PR_LITERAL, /[^|]*/]
33
- ]), ['feature.table']);