@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.
- package/REUSE.toml +0 -51
- package/THIRDPARTY.txt +6 -50
- package/package.json +7 -7
- package/src/sap/ui/documentation/.library +1 -1
- package/src/sap/ui/documentation/LightTable.js +20 -46
- package/src/sap/ui/documentation/ObjectPageSection.js +108 -0
- package/src/sap/ui/documentation/ObjectPageSubSection.js +114 -15
- package/src/sap/ui/documentation/Row.js +146 -7
- package/src/sap/ui/documentation/library.js +2 -2
- package/src/sap/ui/documentation/messagebundle.properties +12 -0
- package/src/sap/ui/documentation/messagebundle_de.properties +1 -1
- package/src/sap/ui/documentation/messagebundle_en.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +3 -0
- package/src/sap/ui/documentation/sdk/Component.js +6 -0
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/Code.controller.js +1 -0
- package/src/sap/ui/documentation/sdk/controller/ErrorHandler.js +1 -0
- package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +10 -5
- package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +525 -17
- package/src/sap/ui/documentation/sdk/controller/util/ConfigUtil.js +1 -0
- package/src/sap/ui/documentation/sdk/controller/util/CookiesConsentManager.js +1 -0
- package/src/sap/ui/documentation/sdk/controller/util/ResourcesInfo.js +5 -0
- package/src/sap/ui/documentation/sdk/controller/util/UsageTracker.js +1 -0
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +1 -0
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/view/CookieSettingsDialog.fragment.xml +5 -5
- package/src/sap/ui/documentation/sdk/css/style.css +23 -0
- package/src/sap/ui/documentation/sdk/index.js +6 -0
- package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +3 -3
- package/src/sap/ui/documentation/sdk/view/AboutDialog.fragment.xml +6 -6
- package/src/sap/ui/documentation/sdk/view/ApiDetailInitial.view.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +6 -6
- package/src/sap/ui/documentation/sdk/view/App.view.xml +11 -11
- package/src/sap/ui/documentation/sdk/view/ChangeVersionDialog.fragment.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/Code.view.xml +16 -16
- package/src/sap/ui/documentation/sdk/view/Controls.view.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/ControlsMaster.view.xml +6 -6
- package/src/sap/ui/documentation/sdk/view/Entity.view.xml +3 -3
- package/src/sap/ui/documentation/sdk/view/FioriDevelopmentRowSAPUI5.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/Footer.fragment.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/FooterMaster.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/GlobalSearchPicker.fragment.xml +6 -6
- package/src/sap/ui/documentation/sdk/view/Group.view.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/LiveEditor.view.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/News.view.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/NewsPopover.fragment.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/NotFound.view.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/ReleaseDialog.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/ReleaseNotes.view.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/Resources.view.xml +24 -1
- package/src/sap/ui/documentation/sdk/view/Sample.view.xml +15 -15
- package/src/sap/ui/documentation/sdk/view/SampleNotFound.view.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/SearchPage.view.xml +9 -9
- package/src/sap/ui/documentation/sdk/view/Sitemap.view.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +76 -77
- package/src/sap/ui/documentation/sdk/view/TopicDetail.view.xml +3 -3
- package/src/sap/ui/documentation/sdk/view/TopicDetailInitial.view.xml +4 -4
- package/src/sap/ui/documentation/sdk/view/TopicMaster.view.xml +5 -5
- package/src/sap/ui/documentation/sdk/view/VersionNotFound.view.xml +3 -3
- package/src/sap/ui/documentation/sdk/view/Welcome.view.xml +13 -13
- package/src/sap/ui/documentation/sdk/view/WelcomeCustomRowOpenUI5.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/appSettingsDialog.fragment.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/globalSettingsDialog.fragment.xml +2 -2
- package/src/sap/ui/documentation/sdk/view/viewSettingsDialog.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/warningSampleDialog.fragment.xml +1 -1
- package/src/sap/ui/documentation/themes/base/Documentation.less +4 -4
- package/src/sap/ui/documentation/themes/base/LightTable.less +29 -0
- package/src/sap/ui/documentation/themes/sap_belize_base/Documentation.less +4 -4
- package/src/sap/ui/documentation/themes/sap_horizon_dark/Documentation.less +1 -1
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
visible="{device>/system/desktop}"
|
|
46
46
|
icon="sap-icon://full-screen"
|
|
47
47
|
tooltip="Show this sample in full screen mode"
|
|
48
|
-
press="onToggleFullScreen" />
|
|
48
|
+
press=".onToggleFullScreen" />
|
|
49
49
|
</actions>
|
|
50
50
|
</ObjectPageDynamicHeaderTitle>
|
|
51
51
|
<core:ExtensionPoint name="customTitle" />
|
|
@@ -60,8 +60,9 @@
|
|
|
60
60
|
</headerContent>
|
|
61
61
|
|
|
62
62
|
<sections>
|
|
63
|
-
<ObjectPageSection id="overview" title="Overview" titleUppercase="false" visible="{= !!${/description} }"
|
|
64
|
-
|
|
63
|
+
<custom:ObjectPageSection id="overview" title="Overview" titleUppercase="false" visible="{= !!${/description} }"
|
|
64
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
65
|
+
<custom:subSections>
|
|
65
66
|
<custom:ObjectPageSubSection>
|
|
66
67
|
<custom:blocks>
|
|
67
68
|
<layout:VerticalLayout width="100%">
|
|
@@ -101,7 +102,7 @@
|
|
|
101
102
|
<template:if test="{data>/hasAnnotations}">
|
|
102
103
|
<layout:HorizontalLayout class="sapUiTinyMarginTop sapUiDocumentationAnnotationsText">
|
|
103
104
|
<m:Text text="A detailed description of the OData annotations handled by this control is available"/>
|
|
104
|
-
<m:Link text="here" press="onAnnotationsLinkPress"/>
|
|
105
|
+
<m:Link text="here" press=".onAnnotationsLinkPress"/>
|
|
105
106
|
<m:Text text="."/>
|
|
106
107
|
</layout:HorizontalLayout>
|
|
107
108
|
<layout:HorizontalLayout class="sapUiDocumentationAnnotationsText">
|
|
@@ -166,14 +167,15 @@
|
|
|
166
167
|
</layout:VerticalLayout>
|
|
167
168
|
</custom:blocks>
|
|
168
169
|
</custom:ObjectPageSubSection>
|
|
169
|
-
</subSections>
|
|
170
|
-
</ObjectPageSection>
|
|
170
|
+
</custom:subSections>
|
|
171
|
+
</custom:ObjectPageSection>
|
|
171
172
|
|
|
172
173
|
<template:if test="{data>/hasProperties}">
|
|
173
|
-
<ObjectPageSection id="properties"
|
|
174
|
+
<custom:ObjectPageSection id="properties"
|
|
174
175
|
title="Fields"
|
|
175
|
-
titleUppercase="false"
|
|
176
|
-
|
|
176
|
+
titleUppercase="false"
|
|
177
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
178
|
+
<custom:subSections>
|
|
177
179
|
<custom:ObjectPageSubSection>
|
|
178
180
|
<custom:blocks>
|
|
179
181
|
<custom:LightTable rows="{path : '/properties'}"
|
|
@@ -222,15 +224,16 @@
|
|
|
222
224
|
</custom:LightTable>
|
|
223
225
|
</custom:blocks>
|
|
224
226
|
</custom:ObjectPageSubSection>
|
|
225
|
-
</subSections>
|
|
226
|
-
</ObjectPageSection>
|
|
227
|
+
</custom:subSections>
|
|
228
|
+
</custom:ObjectPageSection>
|
|
227
229
|
</template:if>
|
|
228
230
|
|
|
229
231
|
<template:if test="{data>/hasConstructor}">
|
|
230
|
-
<ObjectPageSection id="constructor"
|
|
232
|
+
<custom:ObjectPageSection id="constructor"
|
|
231
233
|
title="Constructor"
|
|
232
|
-
titleUppercase="false"
|
|
233
|
-
|
|
234
|
+
titleUppercase="false"
|
|
235
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
236
|
+
<custom:subSections>
|
|
234
237
|
<custom:ObjectPageSubSection>
|
|
235
238
|
<custom:blocks>
|
|
236
239
|
<layout:VerticalLayout width="100%">
|
|
@@ -248,7 +251,7 @@
|
|
|
248
251
|
columnTitles="Param,Type,Default Value,Description"
|
|
249
252
|
columnCount="4"
|
|
250
253
|
class="sapUiDocumentationParamsTable">
|
|
251
|
-
<custom:Row>
|
|
254
|
+
<custom:Row expandable="{= ${typeInfo/refersToTypedef} === true}" typedefName="{= ${typeInfo/UI5Types} ? ${typeInfo/UI5Types/0} : ${typeInfo/type} }" expandToggle="onTypedefToggle">
|
|
252
255
|
<custom:ParamText text="{name}" phoneText="{phoneName}" depth="{depth}" optional="{optional}"/>
|
|
253
256
|
<custom:JSDocType typeInfo="{parts: ['typeInfo', 'types', 'type', 'linkEnabled'], formatter: '.formatter.formatJSDocType'}"/>
|
|
254
257
|
<m:Text text="{defaultValue}" wrapping="false"/>
|
|
@@ -273,18 +276,19 @@
|
|
|
273
276
|
</layout:VerticalLayout>
|
|
274
277
|
</custom:blocks>
|
|
275
278
|
</custom:ObjectPageSubSection>
|
|
276
|
-
</subSections>
|
|
277
|
-
</ObjectPageSection>
|
|
279
|
+
</custom:subSections>
|
|
280
|
+
</custom:ObjectPageSection>
|
|
278
281
|
</template:if>
|
|
279
282
|
|
|
280
283
|
<template:if test="{data>/hasControlProperties}">
|
|
281
|
-
<ObjectPageSection id="controlproperties"
|
|
284
|
+
<custom:ObjectPageSection id="controlproperties"
|
|
282
285
|
title="Properties"
|
|
283
|
-
titleUppercase="false"
|
|
284
|
-
|
|
286
|
+
titleUppercase="false"
|
|
287
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
288
|
+
<custom:subSections>
|
|
285
289
|
<custom:ObjectPageSubSection>
|
|
286
290
|
<custom:blocks>
|
|
287
|
-
<m:CheckBox text="Show borrowed properties" visible="{/bHasBorrowedProps}" displayOnly="{=!${/bHasSelfProps}}" selected="{=${/bShowBorrowedProps}}" select="onBorrowedPropCheckboxClick"/>
|
|
291
|
+
<m:CheckBox text="Show borrowed properties" visible="{/bHasBorrowedProps}" displayOnly="{=!${/bHasSelfProps}}" selected="{=${/bShowBorrowedProps}}" select=".onBorrowedPropCheckboxClick"/>
|
|
288
292
|
<custom:LightTable rows="{path : '/ui5-metadata/properties'}"
|
|
289
293
|
columnTitles="Name,Type,Default Value,Description"
|
|
290
294
|
columnCount="4"
|
|
@@ -302,7 +306,7 @@
|
|
|
302
306
|
src="sap-icon://sys-help-2"
|
|
303
307
|
color="#286eb4"
|
|
304
308
|
class="sapUiDocumentationVisibilityInformationIcon"
|
|
305
|
-
press="onVisibilityInformationClick">
|
|
309
|
+
press=".onVisibilityInformationClick">
|
|
306
310
|
</core:Icon>
|
|
307
311
|
</layout:HorizontalLayout>
|
|
308
312
|
<m:MessageStrip
|
|
@@ -336,18 +340,19 @@
|
|
|
336
340
|
</custom:LightTable>
|
|
337
341
|
</custom:blocks>
|
|
338
342
|
</custom:ObjectPageSubSection>
|
|
339
|
-
</subSections>
|
|
340
|
-
</ObjectPageSection>
|
|
343
|
+
</custom:subSections>
|
|
344
|
+
</custom:ObjectPageSection>
|
|
341
345
|
</template:if>
|
|
342
346
|
|
|
343
347
|
<template:if test="{data>/hasAggregations}">
|
|
344
|
-
<ObjectPageSection id="aggregations"
|
|
348
|
+
<custom:ObjectPageSection id="aggregations"
|
|
345
349
|
title="Aggregations"
|
|
346
|
-
titleUppercase="false"
|
|
347
|
-
|
|
350
|
+
titleUppercase="false"
|
|
351
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
352
|
+
<custom:subSections>
|
|
348
353
|
<custom:ObjectPageSubSection>
|
|
349
354
|
<custom:blocks>
|
|
350
|
-
<m:CheckBox text="Show borrowed aggregations" visible="{/bHasBorrowedAggr}" displayOnly="{=!${/bHasSelfAggr}}" selected="{/bShowBorrowedAggr}" select="onBorrowedAggrCheckboxClick"/>
|
|
355
|
+
<m:CheckBox text="Show borrowed aggregations" visible="{/bHasBorrowedAggr}" displayOnly="{=!${/bHasSelfAggr}}" selected="{/bShowBorrowedAggr}" select=".onBorrowedAggrCheckboxClick"/>
|
|
351
356
|
<custom:LightTable rows="{path : '/ui5-metadata/aggregations'}"
|
|
352
357
|
columnTitles="{= ${data>/hasAggregationAltTypes} ? 'Name,Cardinality,Type,Alt types,Description' : 'Name,Cardinality,Type,Description'}"
|
|
353
358
|
columnCount="{= ${data>/hasAggregationAltTypes} ? 5 : 4}"
|
|
@@ -410,18 +415,19 @@
|
|
|
410
415
|
</custom:LightTable>
|
|
411
416
|
</custom:blocks>
|
|
412
417
|
</custom:ObjectPageSubSection>
|
|
413
|
-
</subSections>
|
|
414
|
-
</ObjectPageSection>
|
|
418
|
+
</custom:subSections>
|
|
419
|
+
</custom:ObjectPageSection>
|
|
415
420
|
</template:if>
|
|
416
421
|
|
|
417
422
|
<template:if test="{data>/hasAssociations}">
|
|
418
|
-
<ObjectPageSection id="associations"
|
|
423
|
+
<custom:ObjectPageSection id="associations"
|
|
419
424
|
title="Associations"
|
|
420
|
-
titleUppercase="false"
|
|
421
|
-
|
|
425
|
+
titleUppercase="false"
|
|
426
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
427
|
+
<custom:subSections>
|
|
422
428
|
<custom:ObjectPageSubSection>
|
|
423
429
|
<custom:blocks>
|
|
424
|
-
<m:CheckBox text="Show borrowed associations" visible="{/bHasBorrowedAssoc}" displayOnly="{=!${/bHasSelfAssoc}}" selected="{/bShowBorrowedAssoc}" select="onBorrowedAssocCheckboxClick"/>
|
|
430
|
+
<m:CheckBox text="Show borrowed associations" visible="{/bHasBorrowedAssoc}" displayOnly="{=!${/bHasSelfAssoc}}" selected="{/bShowBorrowedAssoc}" select=".onBorrowedAssocCheckboxClick"/>
|
|
425
431
|
<custom:LightTable rows="{path : '/ui5-metadata/associations'}"
|
|
426
432
|
columnCount="4"
|
|
427
433
|
columnTitles="Name,Cardinality,Type,Description"
|
|
@@ -465,15 +471,16 @@
|
|
|
465
471
|
</custom:LightTable>
|
|
466
472
|
</custom:blocks>
|
|
467
473
|
</custom:ObjectPageSubSection>
|
|
468
|
-
</subSections>
|
|
469
|
-
</ObjectPageSection>
|
|
474
|
+
</custom:subSections>
|
|
475
|
+
</custom:ObjectPageSection>
|
|
470
476
|
</template:if>
|
|
471
477
|
|
|
472
478
|
<template:if test="{data>/hasEvents}">
|
|
473
|
-
<ObjectPageSection id="events"
|
|
479
|
+
<custom:ObjectPageSection id="events"
|
|
474
480
|
title="Events"
|
|
475
|
-
titleUppercase="false"
|
|
476
|
-
|
|
481
|
+
titleUppercase="false"
|
|
482
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
483
|
+
<custom:subSections>
|
|
477
484
|
<custom:ObjectPageSubSection title="{= ${data>/hasEvents} && !${data>/hasOwnEvents} ? 'Events' : 'Summary'}">
|
|
478
485
|
<custom:blocks>
|
|
479
486
|
<layout:VerticalLayout width="100%">
|
|
@@ -506,7 +513,8 @@
|
|
|
506
513
|
</custom:ObjectPageSubSection>
|
|
507
514
|
|
|
508
515
|
<template:repeat list="{data>/events}" var="event">
|
|
509
|
-
<custom:ObjectPageSubSection title="{event>name}"
|
|
516
|
+
<custom:ObjectPageSubSection title="{event>name}"
|
|
517
|
+
showBookmarkIcon="true" bookmarkIconPress="onSubSectionLinkIconPress">
|
|
510
518
|
<custom:blocks>
|
|
511
519
|
<layout:VerticalLayout width="100%">
|
|
512
520
|
|
|
@@ -519,7 +527,7 @@
|
|
|
519
527
|
src="sap-icon://sys-help-2"
|
|
520
528
|
color="#286eb4"
|
|
521
529
|
class="sapUiDocumentationVisibilityInformationIcon"
|
|
522
|
-
press="onVisibilityInformationClick">
|
|
530
|
+
press=".onVisibilityInformationClick">
|
|
523
531
|
</core:Icon>
|
|
524
532
|
</layout:HorizontalLayout>
|
|
525
533
|
<template:if test="{=${event>deprecated} !== undefined}">
|
|
@@ -544,7 +552,7 @@
|
|
|
544
552
|
<template:if test="{= !!${event>parameters} && ${event>parameters}.length > 0}">
|
|
545
553
|
<custom:LightTable columnTitles="Param,Type,Description" columnCount="3">
|
|
546
554
|
<template:repeat list="{event>parameters}" var="parameter">
|
|
547
|
-
<custom:Row>
|
|
555
|
+
<custom:Row expandable="{= ${parameter>typeInfo/refersToTypedef} === true}" typedefName="{= ${parameter>typeInfo/UI5Types} ? ${parameter>typeInfo/UI5Types/0} : ${parameter>typeInfo/type} }" expandToggle="onTypedefToggle">
|
|
548
556
|
<custom:ParamText text="{parameter>name}" phoneText="{parameter>phoneName}" depth="{parameter>depth}" optional="{parameter>optional}"/>
|
|
549
557
|
<custom:JSDocType typeInfo="{parts: ['parameter>typeInfo', 'parameter>types', 'parameter>type', 'parameter>linkEnabled'], formatter: '.formatter.stringifyJSDocType'}"/>
|
|
550
558
|
<layout:VerticalLayout>
|
|
@@ -567,16 +575,17 @@
|
|
|
567
575
|
</custom:blocks>
|
|
568
576
|
</custom:ObjectPageSubSection>
|
|
569
577
|
</template:repeat>
|
|
570
|
-
</subSections>
|
|
571
|
-
</ObjectPageSection>
|
|
578
|
+
</custom:subSections>
|
|
579
|
+
</custom:ObjectPageSection>
|
|
572
580
|
</template:if>
|
|
573
581
|
|
|
574
582
|
<template:if test="{data>/hasMethods}">
|
|
575
|
-
<ObjectPageSection id="methods"
|
|
583
|
+
<custom:ObjectPageSection id="methods"
|
|
576
584
|
title="Methods"
|
|
577
585
|
titleUppercase="false"
|
|
578
|
-
class="APIDetailMethodsSection"
|
|
579
|
-
|
|
586
|
+
class="APIDetailMethodsSection"
|
|
587
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
588
|
+
<custom:subSections>
|
|
580
589
|
|
|
581
590
|
<custom:ObjectPageSubSection title="{= ${data>/hasMethods} && !${data>/hasOwnMethods} ? 'Methods' : 'Summary'}">
|
|
582
591
|
<custom:blocks>
|
|
@@ -611,7 +620,8 @@
|
|
|
611
620
|
</custom:ObjectPageSubSection>
|
|
612
621
|
|
|
613
622
|
<template:repeat list="{data>/methods}" var="method">
|
|
614
|
-
<custom:ObjectPageSubSection title="{method>name}" id="{method>placeholderId}"
|
|
623
|
+
<custom:ObjectPageSubSection title="{method>name}" id="{method>placeholderId}"
|
|
624
|
+
showBookmarkIcon="true" bookmarkIconPress="onSubSectionLinkIconPress">
|
|
615
625
|
<custom:blocks>
|
|
616
626
|
|
|
617
627
|
<ObjectPageLazyLoader stashed="true" id="{method>subPlaceholderId}">
|
|
@@ -634,7 +644,7 @@
|
|
|
634
644
|
src="sap-icon://sys-help-2"
|
|
635
645
|
color="#286eb4"
|
|
636
646
|
class="sapUiDocumentationVisibilityInformationIcon sapUiTinyMarginEnd"
|
|
637
|
-
press="onVisibilityInformationClick">
|
|
647
|
+
press=".onVisibilityInformationClick">
|
|
638
648
|
</core:Icon>
|
|
639
649
|
<m:ObjectStatus visible="{=${method>since} !== undefined}" text="Since: {method>since}"/>
|
|
640
650
|
</layout:HorizontalLayout>
|
|
@@ -668,7 +678,7 @@
|
|
|
668
678
|
columnTitles="Param,Type,Default Value,Description"
|
|
669
679
|
class="sapUiDocumentationParamsTable">
|
|
670
680
|
<template:repeat list="{method>parameters}" var="parameter">
|
|
671
|
-
<custom:Row>
|
|
681
|
+
<custom:Row expandable="{= ${parameter>typeInfo/refersToTypedef} === true}" typedefName="{= ${parameter>typeInfo/UI5Types} ? ${parameter>typeInfo/UI5Types/0} : ${parameter>typeInfo/type} }" expandToggle="onTypedefToggle">
|
|
672
682
|
<custom:ParamText text="{parameter>name}" phoneText="{parameter>phoneName}" depth="{parameter>depth}" optional="{parameter>optional}"/>
|
|
673
683
|
<custom:JSDocType typeInfo="{parts: ['parameter>typeInfo','parameter>types'], formatter: '.formatter.stringifyJSDocType'}"/>
|
|
674
684
|
<m:Text text="{parameter>defaultValue}" wrapping="false"/>
|
|
@@ -712,15 +722,16 @@
|
|
|
712
722
|
</custom:blocks>
|
|
713
723
|
</custom:ObjectPageSubSection>
|
|
714
724
|
</template:repeat>
|
|
715
|
-
</subSections>
|
|
716
|
-
</ObjectPageSection>
|
|
725
|
+
</custom:subSections>
|
|
726
|
+
</custom:ObjectPageSection>
|
|
717
727
|
</template:if>
|
|
718
728
|
|
|
719
729
|
<template:if test="{data>/hasSpecialSettings}">
|
|
720
|
-
<ObjectPageSection id="specialsettings"
|
|
730
|
+
<custom:ObjectPageSection id="specialsettings"
|
|
721
731
|
title="Special Settings"
|
|
722
|
-
titleUppercase="false"
|
|
723
|
-
|
|
732
|
+
titleUppercase="false"
|
|
733
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
734
|
+
<custom:subSections>
|
|
724
735
|
<custom:ObjectPageSubSection>
|
|
725
736
|
<custom:blocks>
|
|
726
737
|
<custom:LightTable rows="{path : '/ui5-metadata/specialSettings'}"
|
|
@@ -735,15 +746,16 @@
|
|
|
735
746
|
</custom:LightTable>
|
|
736
747
|
</custom:blocks>
|
|
737
748
|
</custom:ObjectPageSubSection>
|
|
738
|
-
</subSections>
|
|
739
|
-
</ObjectPageSection>
|
|
749
|
+
</custom:subSections>
|
|
750
|
+
</custom:ObjectPageSection>
|
|
740
751
|
</template:if>
|
|
741
752
|
|
|
742
753
|
<template:if test="{data>/hasAnnotations}">
|
|
743
|
-
<ObjectPageSection id="annotations"
|
|
754
|
+
<custom:ObjectPageSection id="annotations"
|
|
744
755
|
title="Annotations"
|
|
745
|
-
titleUppercase="false"
|
|
746
|
-
|
|
756
|
+
titleUppercase="false"
|
|
757
|
+
showBookmarkIcon="true" bookmarkIconPress="onSectionLinkIconPress">
|
|
758
|
+
<custom:subSections>
|
|
747
759
|
<custom:ObjectPageSubSection title="Summary">
|
|
748
760
|
<custom:blocks>
|
|
749
761
|
<custom:LightTable columnCount="2" columnTitles="Annotation,Description">
|
|
@@ -760,7 +772,8 @@
|
|
|
760
772
|
</custom:ObjectPageSubSection>
|
|
761
773
|
|
|
762
774
|
<template:repeat list="{data>/ui5-metadata/annotations}" var="annotation">
|
|
763
|
-
<custom:ObjectPageSubSection title="{= ${annotation>annotation} !== 'undefined' ? ${annotation>annotation} : '(' + ${annotation>namespaceText} + ')' }"
|
|
775
|
+
<custom:ObjectPageSubSection title="{= ${annotation>annotation} !== 'undefined' ? ${annotation>annotation} : '(' + ${annotation>namespaceText} + ')' }"
|
|
776
|
+
showBookmarkIcon="true" bookmarkIconPress="onSubSectionLinkIconPress">
|
|
764
777
|
<custom:blocks>
|
|
765
778
|
<layout:VerticalLayout width="100%">
|
|
766
779
|
|
|
@@ -778,24 +791,10 @@
|
|
|
778
791
|
</custom:blocks>
|
|
779
792
|
</custom:ObjectPageSubSection>
|
|
780
793
|
</template:repeat>
|
|
781
|
-
</subSections>
|
|
782
|
-
</ObjectPageSection>
|
|
783
|
-
</template:if>
|
|
784
|
-
|
|
785
|
-
<template:if test="{data>/hasFAQ}">
|
|
786
|
-
<ObjectPageSection id="faq" title="FAQ" class="faqContent">
|
|
787
|
-
<subSections>
|
|
788
|
-
<custom:ObjectPageSubSection>
|
|
789
|
-
<custom:blocks>
|
|
790
|
-
<core:HTML id="parserId" content="{/faqContent}"/>
|
|
791
|
-
</custom:blocks>
|
|
792
|
-
</custom:ObjectPageSubSection>
|
|
793
|
-
</subSections>
|
|
794
|
-
</ObjectPageSection>
|
|
794
|
+
</custom:subSections>
|
|
795
|
+
</custom:ObjectPageSection>
|
|
795
796
|
</template:if>
|
|
796
797
|
|
|
797
|
-
<core:ExtensionPoint name="customSections" />
|
|
798
|
-
|
|
799
798
|
</sections>
|
|
800
799
|
|
|
801
800
|
</ObjectPageLayout>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
id="topicDetailBackToSearch"
|
|
22
22
|
text="{i18n>TOPIC_DETAIL_BACK_BTN}"
|
|
23
23
|
type="Transparent"
|
|
24
|
-
press="backToSearch"
|
|
24
|
+
press=".backToSearch"
|
|
25
25
|
visible="false"/>
|
|
26
26
|
<m:Button
|
|
27
27
|
visible="{= !${versionData>/isURLVersioned}}"
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
type="Transparent"
|
|
30
30
|
text="{i18n>TOPIC_DETAIL_EDIT_GITHUB}"
|
|
31
31
|
tooltip="{i18n>TOPIC_DETAIL_EDIT_GITHUB_TOOLTIP}"
|
|
32
|
-
press="onEditGitHubPress"/>
|
|
32
|
+
press=".onEditGitHubPress"/>
|
|
33
33
|
<m:Button
|
|
34
34
|
visible="{device>/system/desktop}"
|
|
35
35
|
icon="sap-icon://full-screen"
|
|
36
36
|
type="Transparent"
|
|
37
37
|
tooltip="{i18n>TOPIC_DETAIL_FULLSCREEN_TOOLTIP}"
|
|
38
|
-
press="onToggleFullScreen"/>
|
|
38
|
+
press=".onToggleFullScreen"/>
|
|
39
39
|
</actions>
|
|
40
40
|
</DynamicPageTitle>
|
|
41
41
|
</title>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
width="100%"
|
|
28
28
|
densityAware="false"
|
|
29
29
|
class="landingImage"
|
|
30
|
-
load="handleLandingImageLoad"
|
|
30
|
+
load=".handleLandingImageLoad"
|
|
31
31
|
visible="{device>/system/phone}"/>
|
|
32
32
|
|
|
33
33
|
<Image
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
width="100%"
|
|
36
36
|
densityAware="false"
|
|
37
37
|
class="landingImage"
|
|
38
|
-
load="handleLandingImageLoad"
|
|
38
|
+
load=".handleLandingImageLoad"
|
|
39
39
|
visible="{=!${device>/system/phone}}"/>
|
|
40
40
|
|
|
41
41
|
<l:VerticalLayout
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
class="actionButton"
|
|
53
53
|
text="{i18n>TOPIC_DETAIL_INIT_DOWNLOAD_BTN}"
|
|
54
54
|
type="Emphasized"
|
|
55
|
-
press="onDownloadButtonPress"/>
|
|
55
|
+
press=".onDownloadButtonPress"/>
|
|
56
56
|
<Button
|
|
57
57
|
class="actionButton sapUiSmallMarginBegin"
|
|
58
58
|
visible="{= ${versionData>/isOpenUI5}}"
|
|
59
59
|
text="GitHub"
|
|
60
60
|
type="Emphasized"
|
|
61
|
-
press="onGitHubButtonPress"/>
|
|
61
|
+
press=".onGitHubButtonPress"/>
|
|
62
62
|
</l:HorizontalLayout>
|
|
63
63
|
</l:VerticalLayout>
|
|
64
64
|
</l:BlockLayoutCell>
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
id="page"
|
|
12
12
|
enableScrolling="true"
|
|
13
13
|
showFooter="false"
|
|
14
|
-
navButtonPress="onNavBack"
|
|
14
|
+
navButtonPress=".onNavBack"
|
|
15
15
|
showNavButton="false"
|
|
16
16
|
class="sapUiDocumentationMasterPage">
|
|
17
17
|
|
|
18
18
|
<customHeader>
|
|
19
19
|
<Toolbar width="100%">
|
|
20
|
-
<SearchField id="searchField" placeholder="{i18n>TOPIC_MASTER_FILTER_PLACEHOLDER}" liveChange="onTreeFilter" class="sapUiDocumentationFilterField"/>
|
|
21
|
-
<Button icon="sap-icon://expand-all" press="onTreeExpandAll" tooltip="{i18n>TOPIC_MASTER_EXPAND_TOOLTIP}"/>
|
|
22
|
-
<Button icon="sap-icon://collapse-all" press="onTreeCollapseAll" tooltip="{i18n>TOPIC_MASTER_COLAPSE_TOOLTIP}"/>
|
|
20
|
+
<SearchField id="searchField" placeholder="{i18n>TOPIC_MASTER_FILTER_PLACEHOLDER}" liveChange=".onTreeFilter" class="sapUiDocumentationFilterField"/>
|
|
21
|
+
<Button icon="sap-icon://expand-all" press=".onTreeExpandAll" tooltip="{i18n>TOPIC_MASTER_EXPAND_TOOLTIP}"/>
|
|
22
|
+
<Button icon="sap-icon://collapse-all" press=".onTreeCollapseAll" tooltip="{i18n>TOPIC_MASTER_COLAPSE_TOOLTIP}"/>
|
|
23
23
|
</Toolbar>
|
|
24
24
|
</customHeader>
|
|
25
25
|
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<Tree
|
|
30
30
|
id="tree"
|
|
31
31
|
mode="SingleSelectMaster"
|
|
32
|
-
selectionChange="onNodeSelect"
|
|
32
|
+
selectionChange=".onNodeSelect"
|
|
33
33
|
noDataText="{i18n>TOPIC_MASTER_NO_DATA_TEXT}"
|
|
34
34
|
items="{ path: '/' }">
|
|
35
35
|
<custom:DemokitTreeItem
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<f:ShellBar
|
|
11
11
|
title="HTTP Status 404 - Not Found"
|
|
12
12
|
homeIcon="/resources/sap/ui/documentation/sdk/images/logo_ui5.png"
|
|
13
|
-
homeIconPressed="onHomePress"
|
|
13
|
+
homeIconPressed=".onHomePress"
|
|
14
14
|
>
|
|
15
15
|
</f:ShellBar>
|
|
16
16
|
</customHeader>
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
id="readMoreButton"
|
|
26
26
|
visible="false"
|
|
27
27
|
text="Read More"
|
|
28
|
-
press="onReadMore"
|
|
28
|
+
press=".onReadMore"
|
|
29
29
|
type="Emphasized" />
|
|
30
30
|
<Button
|
|
31
31
|
id="homePageButton"
|
|
32
32
|
visible="true"
|
|
33
33
|
text="Home Page"
|
|
34
|
-
press="onHomePress" />
|
|
34
|
+
press=".onHomePress" />
|
|
35
35
|
</additionalContent>
|
|
36
36
|
</IllustratedMessage>
|
|
37
37
|
</Page>
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
width="100%"
|
|
23
23
|
class="welcomeImage"
|
|
24
24
|
densityAware="false"
|
|
25
|
-
load="handleLandingImageLoad"
|
|
25
|
+
load=".handleLandingImageLoad"
|
|
26
26
|
visible="{device>/system/phone}"/>
|
|
27
27
|
<Image
|
|
28
28
|
src="./resources/sap/ui/documentation/sdk/images/Home_M_and_L_cropped_1.jpg"
|
|
29
29
|
width="100%"
|
|
30
30
|
densityAware="false"
|
|
31
31
|
class="welcomeImage"
|
|
32
|
-
load="handleLandingImageLoad"
|
|
32
|
+
load=".handleLandingImageLoad"
|
|
33
33
|
visible="{=!${device>/system/phone}}"/>
|
|
34
34
|
|
|
35
35
|
<l:VerticalLayout
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
<Button
|
|
46
46
|
text="{i18n>WELCOME_BLOCK_1_START_BTN}"
|
|
47
47
|
type="Emphasized"
|
|
48
|
-
press="onGetStarted"
|
|
48
|
+
press=".onGetStarted"
|
|
49
49
|
class="actionButton"/>
|
|
50
50
|
<Button
|
|
51
51
|
class="actionButton sapContrast sapContrastPlus sapUiSmallMarginBegin"
|
|
52
52
|
visible="{=${welcomeView>/isOpenUI5} !== undefined}"
|
|
53
53
|
id="readMoreButton"
|
|
54
54
|
text="{i18n>WELCOME_BLOCK_1_DOWNLOAD_BTN}"
|
|
55
|
-
press="onDownloadButtonPress">
|
|
55
|
+
press=".onDownloadButtonPress">
|
|
56
56
|
</Button>
|
|
57
57
|
</l:HorizontalLayout>
|
|
58
58
|
</l:VerticalLayout>
|
|
@@ -298,7 +298,7 @@
|
|
|
298
298
|
src="./resources/sap/ui/documentation/sdk/images/link-sap.png"
|
|
299
299
|
tooltip="{i18n>LEGAL_DISCLAIMER_INTERNAL_TOOLTIP}"
|
|
300
300
|
width="1.25rem"
|
|
301
|
-
press="onDisclaimerLinkPress"/>
|
|
301
|
+
press=".onDisclaimerLinkPress"/>
|
|
302
302
|
</custom:DivContainer>
|
|
303
303
|
<Text
|
|
304
304
|
text="{i18n>WELCOME_BLOCK_8_TEXT_1}"
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
src="./resources/sap/ui/documentation/sdk/images/link-sap.png"
|
|
338
338
|
tooltip="{i18n>LEGAL_DISCLAIMER_INTERNAL_TOOLTIP}"
|
|
339
339
|
width="1.25rem"
|
|
340
|
-
press="onDisclaimerLinkPress"/>
|
|
340
|
+
press=".onDisclaimerLinkPress"/>
|
|
341
341
|
</custom:DivContainer>
|
|
342
342
|
<Text
|
|
343
343
|
text="{i18n>WELCOME_BLOCK_9_TEXT_1}"
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
src="./resources/sap/ui/documentation/sdk/images/link-sap.png"
|
|
379
379
|
tooltip="{i18n>LEGAL_DISCLAIMER_INTERNAL_TOOLTIP}"
|
|
380
380
|
width="1.25rem"
|
|
381
|
-
press="onDisclaimerLinkPress"/>
|
|
381
|
+
press=".onDisclaimerLinkPress"/>
|
|
382
382
|
</custom:DivContainer>
|
|
383
383
|
<Text
|
|
384
384
|
text="{i18n>WELCOME_BLOCK_10_TEXT_1}"
|
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
tooltip="{i18n>LEGAL_DISCLAIMER_INTERNAL_TOOLTIP}"
|
|
479
479
|
width="1.25rem"
|
|
480
480
|
class="sapUiDisclaimerCommunityLink"
|
|
481
|
-
press="onDisclaimerLinkPress"/>
|
|
481
|
+
press=".onDisclaimerLinkPress"/>
|
|
482
482
|
</HBox>
|
|
483
483
|
</l:BlockLayoutCell>
|
|
484
484
|
|
|
@@ -503,7 +503,7 @@
|
|
|
503
503
|
tooltip="{i18n>LEGAL_DISCLAIMER_EXTERNAL_TOOLTIP}"
|
|
504
504
|
width="1.25rem"
|
|
505
505
|
class="sapUiDisclaimerCommunityLink"
|
|
506
|
-
press="onDisclaimerLinkPress"/>
|
|
506
|
+
press=".onDisclaimerLinkPress"/>
|
|
507
507
|
</HBox>
|
|
508
508
|
</l:BlockLayoutCell>
|
|
509
509
|
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
tooltip="{i18n>LEGAL_DISCLAIMER_EXTERNAL_TOOLTIP}"
|
|
529
529
|
width="1.25rem"
|
|
530
530
|
class="sapUiDisclaimerCommunityLink"
|
|
531
|
-
press="onDisclaimerLinkPress"/>
|
|
531
|
+
press=".onDisclaimerLinkPress"/>
|
|
532
532
|
</HBox>
|
|
533
533
|
</l:BlockLayoutCell>
|
|
534
534
|
</l:BlockLayoutRow>
|
|
@@ -555,7 +555,7 @@
|
|
|
555
555
|
tooltip="{i18n>LEGAL_DISCLAIMER_EXTERNAL_TOOLTIP}"
|
|
556
556
|
width="1.25rem"
|
|
557
557
|
class="sapUiDisclaimerCommunityLink"
|
|
558
|
-
press="onDisclaimerLinkPress"/>
|
|
558
|
+
press=".onDisclaimerLinkPress"/>
|
|
559
559
|
</HBox>
|
|
560
560
|
</l:BlockLayoutCell>
|
|
561
561
|
|
|
@@ -580,7 +580,7 @@
|
|
|
580
580
|
tooltip="{i18n>LEGAL_DISCLAIMER_EXTERNAL_TOOLTIP}"
|
|
581
581
|
width="1.25rem"
|
|
582
582
|
class="sapUiDisclaimerCommunityLink"
|
|
583
|
-
press="onDisclaimerLinkPress"/>
|
|
583
|
+
press=".onDisclaimerLinkPress"/>
|
|
584
584
|
</HBox>
|
|
585
585
|
</l:BlockLayoutCell>
|
|
586
586
|
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
tooltip="{i18n>LEGAL_DISCLAIMER_INTERNAL_TOOLTIP}"
|
|
606
606
|
width="1.25rem"
|
|
607
607
|
class="sapUiDisclaimerCommunityLink"
|
|
608
|
-
press="onDisclaimerLinkPress"/>
|
|
608
|
+
press=".onDisclaimerLinkPress"/>
|
|
609
609
|
</HBox>
|
|
610
610
|
</l:BlockLayoutCell>
|
|
611
611
|
</l:BlockLayoutRow>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
src="./resources/sap/ui/documentation/sdk/images/link-sap.png"
|
|
19
19
|
tooltip="{i18n>LEGAL_DISCLAIMER_EXTERNAL_TOOLTIP}"
|
|
20
20
|
width="1.25rem"
|
|
21
|
-
press="onDisclaimerLinkPress"/>
|
|
21
|
+
press=".onDisclaimerLinkPress"/>
|
|
22
22
|
</custom:DivContainer>
|
|
23
23
|
<Text
|
|
24
24
|
text="{i18n>WELCOME_BLOCK_5_TEXT}"
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
</VBox>
|
|
38
38
|
</content>
|
|
39
39
|
<beginButton>
|
|
40
|
-
<Button text="{i18n>APP_SETTINGS_DIALOG_OK_BTN}" press="handleSaveAppSettings" type="Emphasized"/>
|
|
40
|
+
<Button text="{i18n>APP_SETTINGS_DIALOG_OK_BTN}" press=".handleSaveAppSettings" type="Emphasized"/>
|
|
41
41
|
</beginButton>
|
|
42
42
|
<endButton>
|
|
43
|
-
<Button text="{i18n>APP_SETTINGS_DIALOG_CANCEL_BTN}" press="handleCloseAppSettings"/>
|
|
43
|
+
<Button text="{i18n>APP_SETTINGS_DIALOG_CANCEL_BTN}" press=".handleCloseAppSettings"/>
|
|
44
44
|
</endButton>
|
|
45
45
|
</Dialog>
|
|
46
46
|
</core:FragmentDefinition>
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
</VBox>
|
|
26
26
|
</content>
|
|
27
27
|
<beginButton>
|
|
28
|
-
<Button text="{i18n>APP_SETTINGS_DIALOG_OK_BTN}" press="handleSaveAppSettings" type="Emphasized"/>
|
|
28
|
+
<Button text="{i18n>APP_SETTINGS_DIALOG_OK_BTN}" press=".handleSaveAppSettings" type="Emphasized"/>
|
|
29
29
|
</beginButton>
|
|
30
30
|
<endButton>
|
|
31
|
-
<Button text="{i18n>APP_SETTINGS_DIALOG_CANCEL_BTN}" press="handleCloseAppSettings"/>
|
|
31
|
+
<Button text="{i18n>APP_SETTINGS_DIALOG_CANCEL_BTN}" press=".handleCloseAppSettings"/>
|
|
32
32
|
</endButton>
|
|
33
33
|
</Dialog>
|
|
34
34
|
</core:FragmentDefinition>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
xmlns:core="sap.ui.core">
|
|
4
4
|
<ViewSettingsDialog
|
|
5
5
|
id="viewSettingsDialog"
|
|
6
|
-
confirm="onConfirmViewSettings">
|
|
6
|
+
confirm=".onConfirmViewSettings">
|
|
7
7
|
<groupItems>
|
|
8
8
|
<ViewSettingsItem text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_1}" key="name" selected="true" />
|
|
9
9
|
<ViewSettingsItem text="{i18n>VIEW_SETTINGS_DIALOG_ITEM_2}" key="category" />
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</VBox>
|
|
22
22
|
</content>
|
|
23
23
|
<beginButton>
|
|
24
|
-
<Button text="{i18n>CACHE_CLEANUP_DIALOG_OK_BTN}" press="handleDialogClose" type="Emphasized" />
|
|
24
|
+
<Button text="{i18n>CACHE_CLEANUP_DIALOG_OK_BTN}" press=".handleDialogClose" type="Emphasized" />
|
|
25
25
|
</beginButton>
|
|
26
26
|
</Dialog>
|
|
27
27
|
</core:FragmentDefinition>
|