@openui5/sap.ui.documentation 1.92.0 → 1.93.3
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/dep5 +5 -0
- package/THIRDPARTY.txt +10 -1
- package/package.json +6 -6
- package/src/sap/ui/documentation/.library +1 -1
- package/src/sap/ui/documentation/library.js +2 -2
- package/src/sap/ui/documentation/messagebundle.properties +8 -2
- package/src/sap/ui/documentation/messagebundle_ar.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_bg.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_ca.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_cs.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_cy.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_da.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_de.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_el.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_en.properties +3 -1
- package/src/sap/ui/documentation/messagebundle_en_GB.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +4 -1
- package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +3 -1
- package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +4 -1
- package/src/sap/ui/documentation/messagebundle_es.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_es_MX.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_et.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_fi.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_fr.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_fr_CA.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_hi.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_hr.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_hu.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_id.properties +5 -3
- package/src/sap/ui/documentation/messagebundle_it.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_iw.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_ja.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_kk.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_ko.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_lt.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_lv.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_ms.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_nl.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_no.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_pl.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_pt.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_pt_PT.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_ro.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_ru.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_sh.properties +5 -3
- package/src/sap/ui/documentation/messagebundle_sk.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_sl.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_sv.properties +3 -1
- package/src/sap/ui/documentation/messagebundle_th.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_tr.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_uk.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_vi.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_zh_CN.properties +4 -2
- package/src/sap/ui/documentation/messagebundle_zh_TW.properties +4 -2
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +62 -29
- package/src/sap/ui/documentation/sdk/controller/Code.controller.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +8 -0
- package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +1 -1
- package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +27 -16
- package/src/sap/ui/documentation/sdk/controller/util/ToolsInfo.js +12 -2
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/Component.js +35 -19
- package/src/sap/ui/documentation/sdk/css/style.css +13 -15
- package/src/sap/ui/documentation/sdk/images/Home_laptop.png +0 -0
- package/src/sap/ui/documentation/sdk/images/tools/FioriTools.png +0 -0
- package/src/sap/ui/documentation/sdk/images/tools/Tools_LiveEditor.jpg +0 -0
- package/src/sap/ui/documentation/sdk/manifest.json +11 -0
- package/src/sap/ui/documentation/sdk/view/ChangeVersionDialog.fragment.xml +5 -5
- package/src/sap/ui/documentation/sdk/view/LiveEditor.view.xml +41 -29
- package/src/sap/ui/documentation/sdk/view/ReleaseNotes.view.xml +1 -5
- package/src/sap/ui/documentation/sdk/view/Tools.view.xml +77 -35
- package/src/sap/ui/documentation/sdk/view/Welcome.view.xml +37 -15
- package/src/sap/ui/documentation/themes/base/Documentation.less +4 -1
- package/src/sap/ui/documentation/themes/sap_belize/library.source.less +3 -1
- package/src/sap/ui/documentation/themes/sap_belize_hcb/library.source.less +3 -1
- package/src/sap/ui/documentation/themes/sap_belize_hcw/library.source.less +3 -1
- package/src/sap/ui/documentation/themes/sap_belize_plus/library.source.less +3 -1
- package/src/sap/ui/documentation/themes/sap_fiori_3/library.source.less +3 -10
- package/src/sap/ui/documentation/themes/sap_fiori_3_dark/library.source.less +4 -11
- package/src/sap/ui/documentation/themes/sap_fiori_3_hcb/library.source.less +3 -1
- package/src/sap/ui/documentation/themes/sap_fiori_3_hcw/library.source.less +3 -1
- package/src/sap/ui/documentation/themes/sap_horizon/library.source.less +9 -0
|
@@ -74,7 +74,7 @@ WELCOME_BLOCK_5_TEXT=UI5 uygulamalar\u0131, t\u00FCm \u00F6n u\u00E7 \u00F6zelli
|
|
|
74
74
|
WELCOME_BLOCK_5_IMG_ALT=SAP Fiori tasar\u0131m \u00F6\u011Felerini g\u00F6steren resim
|
|
75
75
|
WELCOME_BLOCK_6_TITLE=Haz\u0131rlan\u0131n
|
|
76
76
|
WELCOME_BLOCK_6_TEXT_1=UI5 ile web uygulamalar\u0131 geli\u015Ftirmek i\u00E7in ihtiyac\u0131n\u0131z olan tek \u015Fey geli\u015Ftirme ortam\u0131 ve taray\u0131c\u0131d\u0131r. En \u00FCst d\u00FCzeyde rahatl\u0131k i\u00E7in buluttaki SAP Business Application Studio'yu kullanabilirsiniz. Azami esneklik i\u00E7in alternatif olarak yerel geli\u015Ftirme ortam\u0131n\u0131z\u0131 kurma se\u00E7ene\u011Fine sahipsiniz.
|
|
77
|
-
WELCOME_BLOCK_6_TEXT_2
|
|
77
|
+
WELCOME_BLOCK_6_TEXT_2=\u0130lk \u00F6rne\u011Fi burada deneyin\:
|
|
78
78
|
WELCOME_BLOCK_7_TITLE=UI5 evrimi
|
|
79
79
|
WELCOME_BLOCK_7_TEXT_1=UI5 evrimi, uygulamalar\u0131n daha h\u0131zl\u0131 \u00E7al\u0131\u015Fmas\u0131n\u0131 sa\u011Flamak ve kodun daha mod\u00FCler hale gelmesini sa\u011Flamak i\u00E7in SAPUI5'i geli\u015Ftirme \u00E7abalar\u0131n\u0131n bir par\u00E7as\u0131 olarak temel iyile\u015Ftirmeler anlam\u0131na gelir. SAPUI5, web standartlar\u0131n\u0131, asenkron bi\u00E7imde y\u00FCklemeyi ve ortaya \u00E7\u0131kan teknolojileri benimseyerek gelece\u011Fe d\u00F6n\u00FCk, kurumsal olarak kan\u0131tlanm\u0131\u015F bir \u00E7\u00F6z\u00FCm olmaya devam ediyor.
|
|
80
80
|
WELCOME_BLOCK_7_TEXT_2=Geli\u015Ftiricileri, yeni yetenekleri aktif olarak desteklemeye ve bunlardan en iyi bi\u00E7imde yararlanmaya te\u015Fvik ediyoruz.
|
|
@@ -338,7 +338,9 @@ TOOLS_CARD_10_IMG_ALT=UI5 Web Components'\u0131 g\u00F6steren resim
|
|
|
338
338
|
TOOLS_CARD_10_TEXT=UI5 Web Components, size herhangi bir web \u00E7er\u00E7evesi temelindeki statik web siteleriniz veya web uygulamalar\u0131n\u0131z i\u00E7in minimal bir ayak iziyle bir dizi yeniden kullan\u0131labilir UI \u00F6\u011Fesi sa\u011Flayan yeni UI5 teklifidir.
|
|
339
339
|
TOOLS_CARD_10_LINK_1=Ba\u015Flang\u0131\u00E7
|
|
340
340
|
TOOLS_CARD_10_LINK_2=A\u00E7\u0131k GitHub projesi
|
|
341
|
-
TOOLS_CARD_11_TEXT=
|
|
341
|
+
TOOLS_CARD_11_TEXT=Eri\u015Filebilirlik hakk\u0131nda ihtiyac\u0131n\u0131z olan bilgiyi edinin
|
|
342
|
+
TOOLS_CARD_12_IMG_ALT=SAP Fiori ara\u00E7lar\u0131n\u0131 g\u00F6steren resim
|
|
343
|
+
TOOLS_CARD_12_TEXT=SAP Fiori ara\u00E7lar\u0131, SAP Business Application Studio ve Visual Studio Code geli\u015Ftirme ortamlar\u0131n\u0131z i\u00E7in uzant\u0131lar sa\u011Flayarak SAP Fiori \u00F6\u011Feleri uygulamalar\u0131 olu\u015Fturmay\u0131 basitle\u015Ftirir.
|
|
342
344
|
|
|
343
345
|
API_MASTER_PLACEHOLDER=Filtrele
|
|
344
346
|
API_MASTER_EXPAND_BTN_TOOLTIP=T\u00FCm\u00FCn\u00FC geni\u015Flet
|
|
@@ -74,7 +74,7 @@ WELCOME_BLOCK_5_TEXT=\u0423 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u04
|
|
|
74
74
|
WELCOME_BLOCK_5_IMG_ALT=\u041A\u0430\u0440\u0442\u0438\u043D\u043A\u0430 \u0437 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0438 \u0434\u0438\u0437\u0430\u0439\u043D\u0443 SAP Fiori
|
|
75
75
|
WELCOME_BLOCK_6_TITLE=\u041F\u0440\u0438\u0433\u043E\u0442\u0443\u0439\u0442\u0435\u0441\u044F
|
|
76
76
|
WELCOME_BLOCK_6_TEXT_1=\u0412\u0441\u0435, \u0449\u043E \u0432\u0430\u043C \u043F\u043E\u0442\u0440\u0456\u0431\u043D\u043E \u0434\u043B\u044F \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438 \u0432\u0435\u0431-\u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0456\u0432 \u0437\u0430 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E UI5 \u2013 \u0446\u0435 \u0441\u0435\u0440\u0435\u0434\u043E\u0432\u0438\u0449\u0435 \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438 \u0456 \u0431\u0440\u0430\u0443\u0437\u0435\u0440. \u0414\u043B\u044F \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0457 \u0437\u0440\u0443\u0447\u043D\u043E\u0441\u0442\u0456 \u043C\u043E\u0436\u0435\u0442\u0435 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0442\u0438\u0441\u044F SAP Business Application Studio \u0443 \u0445\u043C\u0430\u0440\u0456. \u0414\u043B\u044F \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0457 \u0433\u043D\u0443\u0447\u043A\u043E\u0441\u0442\u0456 \u0432\u0438 \u043C\u0430\u0454\u0442\u0435 \u0430\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u0438\u0439 \u0432\u0430\u0440\u0456\u0430\u043D\u0442 - \u043D\u0430\u0441\u0442\u0440\u043E\u0457\u0442\u0438 \u043B\u043E\u043A\u0430\u043B\u044C\u043D\u0435 \u0441\u0435\u0440\u0435\u0434\u043E\u0432\u0438\u0449\u0435 \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438.
|
|
77
|
-
WELCOME_BLOCK_6_TEXT_2=\u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u0435\u0440\u0448\u0438\u0439 \u043F\u0440\u0438\u043A\u043B\u0430\u0434 \
|
|
77
|
+
WELCOME_BLOCK_6_TEXT_2=\u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u0435\u0440\u0448\u0438\u0439 \u043F\u0440\u0438\u043A\u043B\u0430\u0434 \u0442\u0443\u0442\:
|
|
78
78
|
WELCOME_BLOCK_7_TITLE=\u0415\u0432\u043E\u043B\u044E\u0446\u0456\u044F UI5
|
|
79
79
|
WELCOME_BLOCK_7_TEXT_1=\u0415\u0432\u043E\u043B\u044E\u0446\u0456\u044F UI5 \u043E\u0437\u043D\u0430\u0447\u0430\u0454 \u0444\u0443\u043D\u0434\u0430\u043C\u0435\u043D\u0442\u0430\u043B\u044C\u043D\u0456 \u043F\u043E\u043A\u0440\u0430\u0449\u0435\u043D\u043D\u044F \u0443 \u0441\u043A\u043B\u0430\u0434\u0456 \u043F\u043E\u0441\u0442\u0456\u0439\u043D\u0438\u0445 \u0437\u0443\u0441\u0438\u043B\u044C \u043D\u0430 \u0440\u043E\u0437\u0448\u0438\u0440\u0435\u043D\u043D\u044F SAPUI5 \u0434\u043B\u044F \u0442\u043E\u0433\u043E, \u0449\u043E\u0431 \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0438 \u043F\u0440\u0430\u0446\u044E\u0432\u0430\u043B\u0438 \u0448\u0432\u0438\u0434\u0448\u0435, \u0430 \u043A\u043E\u0434 \u0441\u0442\u0430\u0432\u0430\u0432 \u0431\u0456\u043B\u044C\u0448 \u043C\u043E\u0434\u0443\u043B\u044C\u043D\u0438\u043C. \u0417\u0430\u0432\u0434\u044F\u043A\u0438 \u043C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044E \u0432\u0435\u0431-\u0441\u0442\u0430\u043D\u0434\u0430\u0440\u0442\u0456\u0432, \u0430\u0441\u0438\u043D\u0445\u0440\u043E\u043D\u043D\u043E\u043C\u0443 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044E \u0456 \u043D\u043E\u0432\u0438\u043C \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0456\u044F\u043C SAPUI5 \u043F\u0440\u043E\u0434\u043E\u0432\u0436\u0443\u0454 \u0431\u0443\u0442\u0438 \u0456\u043D\u043D\u043E\u0432\u0430\u0446\u0456\u0439\u043D\u0438\u043C \u0440\u0456\u0448\u0435\u043D\u043D\u044F\u043C \u0434\u043B\u044F \u043A\u043E\u0440\u043F\u043E\u0440\u0430\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F.
|
|
80
80
|
WELCOME_BLOCK_7_TEXT_2=\u041C\u0438 \u0437\u0430\u043E\u0445\u043E\u0447\u0443\u0454\u043C\u043E \u0440\u043E\u0437\u0440\u043E\u0431\u043D\u0438\u043A\u0456\u0432 \u0430\u043A\u0442\u0438\u0432\u043D\u043E \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0432\u0430\u0442\u0438 \u0439 \u0443\u0440\u0456\u0432\u043D\u043E\u0432\u0430\u0436\u0443\u0432\u0430\u0442\u0438 \u043D\u043E\u0432\u0456 \u043C\u043E\u0436\u043B\u0438\u0432\u043E\u0441\u0442\u0456.
|
|
@@ -338,7 +338,9 @@ TOOLS_CARD_10_IMG_ALT=\u0417\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u04
|
|
|
338
338
|
TOOLS_CARD_10_TEXT=UI5 Web Components \u2013 \u0446\u0435 \u043D\u043E\u0432\u0430 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u044F UI5, \u044F\u043A\u0430 \u043F\u0440\u043E\u043F\u043E\u043D\u0443\u0454 \u043D\u0430\u0431\u0456\u0440 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 UI \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E\u0433\u043E \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u0437 \u043C\u0456\u043D\u0456\u043C\u0430\u043B\u0456\u044C\u043D\u0438\u043C \u0432\u0456\u0434\u0431\u0438\u0442\u043A\u043E\u043C \u0434\u043B\u044F \u0432\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0438\u0447\u043D\u0438\u0445 \u0432\u0435\u0431-\u0441\u0430\u0439\u0442\u0456\u0432 \u0430\u0431\u043E \u0432\u0435\u0431-\u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0456\u0432 \u043D\u0430 \u0431\u0443\u0434\u044C-\u044F\u043A\u0456\u0439 \u043F\u043B\u0430\u0442\u0444\u043E\u0440\u043C\u0456 \u0434\u043B\u044F \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438 \u0432\u0435\u0431-\u043F\u0440\u043E\u0433\u0440\u0430\u043C.
|
|
339
339
|
TOOLS_CARD_10_LINK_1=\u0420\u043E\u0437\u043F\u043E\u0447\u0430\u0442\u0438 \u0440\u043E\u0431\u043E\u0442\u0443
|
|
340
340
|
TOOLS_CARD_10_LINK_2=\u0412\u0456\u0434\u043A\u0440\u0438\u0442\u0438 \u043F\u0440\u043E\u0454\u043A\u0442 GitHub
|
|
341
|
-
TOOLS_CARD_11_TEXT
|
|
341
|
+
TOOLS_CARD_11_TEXT=\u041E\u0442\u0440\u0438\u043C\u0430\u0439\u0442\u0435 \u0437\u043D\u0430\u043D\u043D\u044F, \u044F\u043A\u0456 \u0432\u0438 \u043F\u043E\u0432\u0438\u043D\u043D\u0456 \u043C\u0430\u0442\u0438 \u043F\u0440\u043E \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0456\u0441\u0442\u044C
|
|
342
|
+
TOOLS_CARD_12_IMG_ALT=\u041D\u0430 \u043C\u0430\u043B\u044E\u043D\u043A\u0443 \u043F\u043E\u043A\u0430\u0437\u0430\u043D\u0456 \u0456\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0438 SAP Fiori
|
|
343
|
+
TOOLS_CARD_12_TEXT=\u0406\u043D\u0441\u0442\u0440\u0443\u043C\u0435\u043D\u0442\u0438 SAP Fiori \u0441\u043F\u0440\u043E\u0449\u0443\u044E\u0442\u044C \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0437\u0430\u0441\u0442\u043E\u0441\u0443\u043D\u043A\u0456\u0432 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 SAP Fiori, \u043D\u0430\u0434\u0430\u044E\u0447\u0438 \u0440\u043E\u0437\u0448\u0438\u0440\u0435\u043D\u043D\u044F \u0434\u043B\u044F \u0432\u0430\u0448\u0438\u0445 \u0441\u0435\u0440\u0435\u0434\u043E\u0432\u0438\u0449 \u0440\u043E\u0437\u0440\u043E\u0431\u043A\u0438 SAP Business Application Studio \u0442\u0430 Visual Studio Code.
|
|
342
344
|
|
|
343
345
|
API_MASTER_PLACEHOLDER=\u0424\u0456\u043B\u044C\u0442\u0440
|
|
344
346
|
API_MASTER_EXPAND_BTN_TOOLTIP=\u0420\u043E\u0437\u0433\u043E\u0440\u043D\u0443\u0442\u0438 \u0432\u0441\u0435
|
|
@@ -74,7 +74,7 @@ WELCOME_BLOCK_5_TEXT=Ca\u0301c \u01B0\u0301ng du\u0323ng UI5 h\u01B0\u01A1\u0309
|
|
|
74
74
|
WELCOME_BLOCK_5_IMG_ALT=Hi\u0300nh a\u0309nh hi\u00EA\u0309n thi\u0323 y\u00EA\u0301u t\u00F4\u0301 thi\u00EA\u0301t k\u00EA\u0301 SAP Fiori
|
|
75
75
|
WELCOME_BLOCK_6_TITLE=Ha\u0303y s\u0103\u0303n sa\u0300ng
|
|
76
76
|
WELCOME_BLOCK_6_TEXT_1=T\u00E2\u0301t ca\u0309 nh\u01B0\u0303ng gi\u0300 ba\u0323n c\u00E2\u0300n \u0111\u00EA\u0309 pha\u0301t tri\u00EA\u0309n \u01B0\u0301ng du\u0323ng web v\u01A1\u0301i UI5 la\u0300 m\u00F4\u0323t tri\u0300nh duy\u00EA\u0323t va\u0300 m\u00F4i tr\u01B0\u01A1\u0300ng pha\u0301t tri\u00EA\u0309n. Ba\u0323n co\u0301 th\u00EA\u0309 s\u01B0\u0309 du\u0323ng SAP Business Application Studio trong \u0323\u0111a\u0301m m\u00E2y \u0111\u00EA\u0309 \u0111a\u0323t ti\u00EA\u0323n nghi t\u00F4\u0301i \u0111a. Ba\u0323n co\u0301 l\u01B0\u0323a cho\u0323n thay th\u00EA\u0301 la\u0300 thi\u00EA\u0301t l\u00E2\u0323p m\u00F4i m\u00F4i tr\u01B0\u01A1\u0300ng pha\u0301t tri\u00EA\u0309n cu\u0323c b\u00F4\u0323 \u0111\u00EA\u0309 \u0111a\u0323t \u0111\u00F4\u0323 linh hoa\u0323t t\u00F4\u0301i \u0111a.
|
|
77
|
-
WELCOME_BLOCK_6_TEXT_2=Ha\u0303y th\u01B0\u0309 vi\u0301 du\u0323 \u0111\u00E2\u0300u ti\u00EAn
|
|
77
|
+
WELCOME_BLOCK_6_TEXT_2=Ha\u0303y th\u01B0\u0309 vi\u0301 du\u0323 \u0111\u00E2\u0300u ti\u00EAn ta\u0323i \u0111\u00E2y\:
|
|
78
78
|
WELCOME_BLOCK_7_TITLE=UI5 Evolution
|
|
79
79
|
WELCOME_BLOCK_7_TEXT_1=UI5 evolution la\u0300 \u0111a\u0323i di\u00EA\u0323n cho nh\u01B0\u0303ng ca\u0309i ti\u00EA\u0301n c\u01A1 ba\u0309n nh\u01B0 la\u0300 m\u00F4\u0323t ph\u00E2\u0300n trong n\u00F4\u0303 l\u01B0\u0323c kh\u00F4ng ng\u01B0\u0300ng nh\u0103\u0300m thu\u0301c \u0111\u00E2\u0309y SAPUI5, \u0111\u00EA\u0309 cho phe\u0301p ca\u0301c \u01B0\u0301ng du\u0323ng cha\u0323y nhanh h\u01A1n va\u0300 ma\u0303 tr\u01A1\u0309 n\u00EAn m\u00F4-\u0111un h\u01A1n. V\u01A1\u0301i vi\u00EA\u0323c tu\u00E2n thu\u0309 ca\u0301c ti\u00EAu chu\u00E2\u0309n web, ta\u0309i kh\u00F4ng \u0111\u00F4\u0300ng b\u00F4\u0323 va\u0300 c\u00F4ng ngh\u00EA\u0323 m\u01A1\u0301i n\u00F4\u0309i, SAPUI5 ti\u00EA\u0301p tu\u0323c ch\u01B0\u0301ng minh \u0111\u00E2y la\u0300 m\u00F4\u0323t gia\u0309i pha\u0301p da\u0300nh cho t\u01B0\u01A1ng lai, doanh nghi\u00EA\u0323p.
|
|
80
80
|
WELCOME_BLOCK_7_TEXT_2=Chu\u0301ng t\u00F4i khuy\u00EA\u0301n khi\u0301ch ca\u0301c nha\u0300 pha\u0301t tri\u00EA\u0309n ti\u0301ch c\u01B0\u0323c h\u00F4\u0303 tr\u01A1\u0323 va\u0300 t\u00E2\u0323n du\u0323ng ca\u0301c kha\u0309 n\u0103ng m\u01A1\u0301i.
|
|
@@ -338,7 +338,9 @@ TOOLS_CARD_10_IMG_ALT=H\u00ECnh \u1EA3nh hi\u1EC3n th\u1ECB Th\u00E0nh ph\u1EA7n
|
|
|
338
338
|
TOOLS_CARD_10_TEXT=Th\u00E0nh ph\u1EA7n UI5 Web l\u00E0 s\u1EA3n ph\u1EA9m UI5 m\u1EDBi cung c\u1EA5p t\u1EADp h\u1EE3p c\u00E1c y\u00EA\u0301u t\u00F4\u0301 giao di\u1EC7n ng\u01B0\u1EDDi d\u00F9ng c\u00F3 th\u1EC3 t\u00E1i s\u1EED d\u1EE5ng v\u1EDBi d\u1EA5u \u1EA5n t\u1ED1i gi\u1EA3n cho c\u00E1c trang web t\u0129nh ho\u1EB7c \u1EE9ng d\u1EE5ng web c\u1EE7a b\u1EA1n d\u1EF1a tr\u00EAn c\u01A1 c\u00E2\u0301u web b\u1EA5t k\u1EF3.
|
|
339
339
|
TOOLS_CARD_10_LINK_1=B\u0103\u0301t \u0111\u00E2\u0300u
|
|
340
340
|
TOOLS_CARD_10_LINK_2=M\u1EDF d\u1EF1 \u00E1n GitHub
|
|
341
|
-
TOOLS_CARD_11_TEXT=
|
|
341
|
+
TOOLS_CARD_11_TEXT=Co\u0301 \u0111\u01B0\u01A1\u0323c ki\u00EA\u0301n th\u01B0\u0301c ba\u0323n c\u00E2\u0300n v\u00EA\u0300 kha\u0309 n\u0103ng truy c\u00E2\u0323p
|
|
342
|
+
TOOLS_CARD_12_IMG_ALT=A\u0309nh hi\u00EA\u0309n thi\u0323 SAP Fiori Tools
|
|
343
|
+
TOOLS_CARD_12_TEXT=C\u00F4ng cu\u0323 SAP Fiori \u0111\u01A1n gi\u1EA3n h\u00F3a vi\u1EC7c t\u1EA1o c\u00E1c \u1EE9ng d\u1EE5ng y\u00EA\u0301u t\u00F4\u0301 SAP Fiori b\u1EB1ng c\u00E1ch cung c\u1EA5p c\u00E1c ph\u1EA7n m\u1EDF r\u1ED9ng cho m\u00F4i tr\u01B0\u1EDDng ph\u00E1t tri\u1EC3n SAP Business Application Studio v\u00E0 Visual Studio Code c\u1EE7a b\u1EA1n.
|
|
342
344
|
|
|
343
345
|
API_MASTER_PLACEHOLDER=B\u00F4\u0323 lo\u0323c
|
|
344
346
|
API_MASTER_EXPAND_BTN_TOOLTIP=M\u01A1\u0309 r\u00F4\u0323ng t\u00E2\u0301t ca\u0309
|
|
@@ -74,7 +74,7 @@ WELCOME_BLOCK_5_TEXT=UI5 \u5E94\u7528\u7A0B\u5E8F\u5F97\u76CA\u4E8E\u6240\u6709\
|
|
|
74
74
|
WELCOME_BLOCK_5_IMG_ALT=\u56FE\u7247\u663E\u793A\u4E86 SAP Fiori \u8BBE\u8BA1\u8981\u7D20
|
|
75
75
|
WELCOME_BLOCK_6_TITLE=\u505A\u597D\u51C6\u5907
|
|
76
76
|
WELCOME_BLOCK_6_TEXT_1=\u4F7F\u7528 UI5 \u5F00\u53D1 Web \u5E94\u7528\u7A0B\u5E8F\u4EC5\u4EC5\u53EA\u9700\u8981\u4E00\u4E2A\u5F00\u53D1\u73AF\u5883\u548C\u4E00\u4E2A\u6D4F\u89C8\u5668\u3002\u4E3A\u83B7\u5F97\u6700\u5927\u4FBF\u5229\uFF0C\u53EF\u4EE5\u4F7F\u7528\u4E91\u4E2D\u7684 SAP Business Application Studio\u3002\u6216\u8005\uFF0C\u4E3A\u83B7\u5F97\u6700\u5927\u7075\u6D3B\u6027\uFF0C\u8FD8\u53EF\u4EE5\u9009\u62E9\u8BBE\u7F6E\u672C\u5730\u5F00\u53D1\u73AF\u5883\u3002
|
|
77
|
-
WELCOME_BLOCK_6_TEXT_2=\
|
|
77
|
+
WELCOME_BLOCK_6_TEXT_2=\u5728\u6B64\u5C1D\u8BD5\u7B2C\u4E00\u4E2A\u793A\u4F8B\uFF1A
|
|
78
78
|
WELCOME_BLOCK_7_TITLE=UI5 \u6F14\u53D8
|
|
79
79
|
WELCOME_BLOCK_7_TEXT_1=UI5 \u6F14\u53D8\u4F53\u73B0\u4E86\u6301\u7EED\u52AA\u529B\u63A8\u8FDB SAPUI5\u3001\u63D0\u9AD8\u5E94\u7528\u7A0B\u5E8F\u8FD0\u884C\u901F\u5EA6\u548C\u589E\u5F3A\u4EE3\u7801\u6A21\u5757\u5316\u8FC7\u7A0B\u4E2D\u7684\u6839\u672C\u6539\u8FDB\u3002\u901A\u8FC7\u91C7\u7EB3 web \u6807\u51C6\u3001\u5F02\u6B65\u52A0\u8F7D\u4EE5\u53CA\u5404\u79CD\u65B0\u5174\u6280\u672F\uFF0CSAPUI5 \u4F1A\u7EE7\u7EED\u6210\u4E3A\u7ECF\u5F97\u8D77\u65F6\u95F4\u548C\u4F01\u4E1A\u68C0\u9A8C\u7684\u89E3\u51B3\u65B9\u6848\u3002
|
|
80
80
|
WELCOME_BLOCK_7_TEXT_2=\u6211\u4EEC\u9F13\u52B1\u5F00\u53D1\u4EBA\u5458\u79EF\u6781\u652F\u6301\u548C\u5229\u7528\u65B0\u529F\u80FD\u3002
|
|
@@ -338,7 +338,9 @@ TOOLS_CARD_10_IMG_ALT=\u56FE\u7247\u663E\u793A\u4E86 UI5 Web \u7EC4\u4EF6
|
|
|
338
338
|
TOOLS_CARD_10_TEXT=UI5 Web \u7EC4\u4EF6\u662F UI5 \u65B0\u589E\u5185\u5BB9\uFF0C\u4EE5\u6700\u5C0F\u7684\u7A7A\u95F4\u5360\u7528\uFF0C\u4E3A\u57FA\u4E8E\u4EFB\u4F55 web \u6846\u67B6\u7684\u9759\u6001 web \u7AD9\u70B9\u6216 web \u5E94\u7528\u7A0B\u5E8F\u63D0\u4F9B\u4E86\u4E00\u7EC4\u53EF\u91CD\u7528\u7684 UI \u5143\u7D20\u3002
|
|
339
339
|
TOOLS_CARD_10_LINK_1=\u5165\u95E8
|
|
340
340
|
TOOLS_CARD_10_LINK_2=\u6253\u5F00 GitHub \u9879\u76EE
|
|
341
|
-
TOOLS_CARD_11_TEXT
|
|
341
|
+
TOOLS_CARD_11_TEXT=\u83B7\u5F97\u8F85\u52A9\u529F\u80FD\u65B9\u9762\u6240\u9700\u7684\u77E5\u8BC6
|
|
342
|
+
TOOLS_CARD_12_IMG_ALT=\u56FE\u7247\u663E\u793A\u4E86 SAP Fiori \u5DE5\u5177
|
|
343
|
+
TOOLS_CARD_12_TEXT=\u901A\u8FC7\u63D0\u4F9B SAP Business Application Studio \u548C Visual Studio \u4EE3\u7801\u5F00\u53D1\u73AF\u5883\u7684\u6269\u5C55\uFF0CSAP Fiori \u5DE5\u5177\u7B80\u5316\u4E86 SAP Fiori \u5143\u7D20\u5E94\u7528\u7A0B\u5E8F\u7684\u521B\u5EFA\u3002
|
|
342
344
|
|
|
343
345
|
API_MASTER_PLACEHOLDER=\u8FC7\u6EE4\u5668
|
|
344
346
|
API_MASTER_EXPAND_BTN_TOOLTIP=\u5168\u90E8\u5C55\u5F00
|
|
@@ -74,7 +74,7 @@ WELCOME_BLOCK_5_TEXT=\u900F\u904E\u6240\u6709\u524D\u7AEF\u529F\u80FD\u7684\u4E0
|
|
|
74
74
|
WELCOME_BLOCK_5_IMG_ALT=\u986F\u793A SAP Fiori \u8A2D\u8A08\u5143\u7D20\u7684\u5716\u7247
|
|
75
75
|
WELCOME_BLOCK_6_TITLE=\u6E96\u5099\u958B\u59CB
|
|
76
76
|
WELCOME_BLOCK_6_TEXT_1=\u60A8\u9700\u8981\u4F7F\u7528 UI5 \u958B\u767C\u7684\u6240\u6709 Web \u61C9\u7528\u7A0B\u5F0F\u5373\u70BA\u958B\u767C\u74B0\u5883\u548C\u700F\u89BD\u5668\u3002\u60A8\u53EF\u57FA\u65BC\u4FBF\u5229\u6027\u8003\u91CF\u800C\u5728\u96F2\u7AEF\u4E2D\u4F7F\u7528 SAP Business Application Studio\uFF0C\u6216\u662F\u57FA\u65BC\u5F48\u6027\u8003\u91CF\u800C\u900F\u904E\u66FF\u4EE3\u9078\u64C7\u4F86\u8A2D\u5B9A\u672C\u7AEF\u958B\u767C\u74B0\u5883\u3002
|
|
77
|
-
WELCOME_BLOCK_6_TEXT_2=\
|
|
77
|
+
WELCOME_BLOCK_6_TEXT_2=\u5728\u6B64\u5617\u8A66\u7B2C\u4E00\u500B\u7BC4\u4F8B\uFF1A
|
|
78
78
|
WELCOME_BLOCK_7_TITLE=UI5 \u6F14\u9032
|
|
79
79
|
WELCOME_BLOCK_7_TEXT_1=UI5 \u6F14\u9032\u4EE3\u8868\u6301\u7E8C\u52AA\u529B\u6210\u70BA\u9032\u968E SAPUI5 \u7684\u4E00\u90E8\u4EFD\u57FA\u790E\u6539\u5584\u904E\u7A0B\uFF0C\u53EF\u8B93\u61C9\u7528\u7A0B\u5F0F\u5FEB\u901F\u57F7\u884C\uFF0C\u4EE5\u53CA\u7DE8\u78BC\u66F4\u52A0\u6A21\u7D44\u5316\u3002\u900F\u904E\u52A0\u5165 Web \u6A19\u6E96\u5167\u5BB9\u3001\u975E\u540C\u6B65\u8F09\u5165\u8207\u65B0\u8208\u6280\u8853\uFF0CSAPUI5 \u6301\u7E8C\u6210\u70BA\u672A\u4F86\u7531\u4F01\u696D\u8B49\u5BE6\u7684\u89E3\u6C7A\u65B9\u6848\u3002
|
|
80
80
|
WELCOME_BLOCK_7_TEXT_2=\u6211\u5011\u9F13\u52F5\u958B\u767C\u4EBA\u54E1\u7A4D\u6975\u652F\u63F4\u4E26\u904B\u7528\u65B0\u529F\u80FD\u3002
|
|
@@ -338,7 +338,9 @@ TOOLS_CARD_10_IMG_ALT=\u986F\u793A UI5 Web \u5143\u4EF6\u7684\u5716\u7247
|
|
|
338
338
|
TOOLS_CARD_10_TEXT=UI5 Web \u5143\u4EF6\u662F\u65B0\u7684 UI5 \u670D\u52D9\uFF0C\u5176\u63D0\u4F9B\u4E00\u7D44\u53EF\u91CD\u8907\u4F7F\u7528\u7684\u4F7F\u7528\u8005\u4ECB\u9762\u5143\u7D20\uFF0C\u5305\u542B\u6839\u64DA Web \u67B6\u69CB\u7684\u975C\u614B\u7DB2\u7AD9\u6216 Web \u61C9\u7528\u7A0B\u5F0F\u7684\u6700\u4F4E\u4F7F\u7528\u91CF\u3002
|
|
339
339
|
TOOLS_CARD_10_LINK_1=\u958B\u59CB\u4F7F\u7528
|
|
340
340
|
TOOLS_CARD_10_LINK_2=\u958B\u555F GitHub \u5C08\u6848
|
|
341
|
-
TOOLS_CARD_11_TEXT
|
|
341
|
+
TOOLS_CARD_11_TEXT=\u7372\u53D6\u60A8\u6240\u9700\u7684\u53EF\u5B58\u53D6\u6027\u76F8\u95DC\u77E5\u8B58
|
|
342
|
+
TOOLS_CARD_12_IMG_ALT=\u5716\u7247\u986F\u793A SAP Fiori \u5DE5\u5177
|
|
343
|
+
TOOLS_CARD_12_TEXT=SAP Fiori \u5DE5\u5177\u900F\u904E\u63D0\u4F9B SAP Business Application Studio \u548C Visual Studio Code \u958B\u767C\u74B0\u5883\u7684\u64F4\u5145\u529F\u80FD\uFF0C\u4EE5\u7C21\u5316 SAP Fiori \u5143\u7D20\u61C9\u7528\u7A0B\u5F0F\u7684\u5EFA\u7ACB\u4F5C\u696D\u3002
|
|
342
344
|
|
|
343
345
|
API_MASTER_PLACEHOLDER=\u7BE9\u9078
|
|
344
346
|
API_MASTER_EXPAND_BTN_TOOLTIP=\u5168\u90E8\u5C55\u958B
|
|
@@ -84,6 +84,7 @@ sap.ui.define([
|
|
|
84
84
|
sVersionOverviewJsonPath = ResourcesUtil.getResourceOriginPath("/versionoverview.json"), /* Load versionoverview.json always from root URL */
|
|
85
85
|
ABOUT_TEXT = "about",
|
|
86
86
|
FEEDBACK_TEXT = "feedback",
|
|
87
|
+
FEEDBACK_URL = "https://demokit-feedback-proxy.cfapps.eu12.hana.ondemand.com/issue",
|
|
87
88
|
CHANGE_VERSION_TEXT = "change_version",
|
|
88
89
|
CHANGE_SETTINGS_TEXT = "settings",
|
|
89
90
|
CHANGE_COOKIE_PREFERENCES_TEXT = "cookie_preferences",
|
|
@@ -103,6 +104,33 @@ sap.ui.define([
|
|
|
103
104
|
return BaseController.extend("sap.ui.documentation.sdk.controller.App", {
|
|
104
105
|
formatter: globalFormatter,
|
|
105
106
|
|
|
107
|
+
_arrToTreeConverter: function() {
|
|
108
|
+
var aNodes,
|
|
109
|
+
aOriginalArr = this._aNeoAppVersions.slice(),
|
|
110
|
+
aResultArr = [],
|
|
111
|
+
iCounter = 0,
|
|
112
|
+
sCurrGroupTitle = "";
|
|
113
|
+
|
|
114
|
+
for (var i = 0; i < aOriginalArr.length; i++) {
|
|
115
|
+
sCurrGroupTitle = aOriginalArr[i].groupTitle;
|
|
116
|
+
iCounter = 0;
|
|
117
|
+
aNodes = [];
|
|
118
|
+
while (aOriginalArr[i] && aOriginalArr[i].groupTitle && aOriginalArr[i].groupTitle === sCurrGroupTitle) {
|
|
119
|
+
aNodes.push(aOriginalArr[i]);
|
|
120
|
+
iCounter++;
|
|
121
|
+
i++;
|
|
122
|
+
}
|
|
123
|
+
i--;
|
|
124
|
+
aResultArr.push({
|
|
125
|
+
"groupTitle": sCurrGroupTitle,
|
|
126
|
+
"version": sCurrGroupTitle + " (" + iCounter + " versions)",
|
|
127
|
+
"nodes": aNodes
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
return aResultArr;
|
|
132
|
+
},
|
|
133
|
+
|
|
106
134
|
onInit : function () {
|
|
107
135
|
BaseController.prototype.onInit.call(this);
|
|
108
136
|
|
|
@@ -161,8 +189,6 @@ sap.ui.define([
|
|
|
161
189
|
|
|
162
190
|
}.bind(this));
|
|
163
191
|
|
|
164
|
-
this.FEEDBACK_SERVICE_URL = "https://feedback-sapuisofiaprod.hana.ondemand.com:443/api/v2/apps/5bb7d7ff-bab9-477a-a4c7-309fa84dc652/posts";
|
|
165
|
-
|
|
166
192
|
// Cache view reference
|
|
167
193
|
this._oSupportedLangModel = new JSONModel();
|
|
168
194
|
|
|
@@ -981,9 +1007,19 @@ sap.ui.define([
|
|
|
981
1007
|
onChangeVersionDialogSearch: function (oEvent) {
|
|
982
1008
|
var sSearchedValue = oEvent.getParameter("newValue"),
|
|
983
1009
|
oFilter = new Filter("version", FilterOperator.Contains, sSearchedValue),
|
|
984
|
-
|
|
1010
|
+
oTree = Core.byId("versionList"),
|
|
1011
|
+
oBinding = oTree.getBinding("items");
|
|
985
1012
|
|
|
986
1013
|
oBinding.filter([oFilter]);
|
|
1014
|
+
|
|
1015
|
+
// If only one branch of the version info tree is currently left after filtering
|
|
1016
|
+
if (oBinding.getChildCount() === 1) {
|
|
1017
|
+
// expand the only branch of the version info tree
|
|
1018
|
+
oBinding.expand(0);
|
|
1019
|
+
} else {
|
|
1020
|
+
// collapse all of the branches of the version info tree
|
|
1021
|
+
oTree.collapseAll();
|
|
1022
|
+
}
|
|
987
1023
|
},
|
|
988
1024
|
|
|
989
1025
|
onLogoIconPress: function () {
|
|
@@ -1055,6 +1091,8 @@ sap.ui.define([
|
|
|
1055
1091
|
oChangeVersionDialogModel.setSizeLimit(1000);
|
|
1056
1092
|
oChangeVersionDialogModel.setData(this._aNeoAppVersions);
|
|
1057
1093
|
|
|
1094
|
+
oChangeVersionDialogModel.setData(this._arrToTreeConverter(this._aNeoAppVersions));
|
|
1095
|
+
|
|
1058
1096
|
return oChangeVersionDialogModel;
|
|
1059
1097
|
},
|
|
1060
1098
|
|
|
@@ -1142,37 +1180,27 @@ sap.ui.define([
|
|
|
1142
1180
|
* Event handler for the send feedback button
|
|
1143
1181
|
*/
|
|
1144
1182
|
onFeedbackDialogSend: function() {
|
|
1145
|
-
var
|
|
1183
|
+
var oVersionInfo = Version(sap.ui.version),
|
|
1184
|
+
data = {
|
|
1185
|
+
"text": this._oFeedbackDialog.textInput.getValue(),
|
|
1186
|
+
"rating": this._oFeedbackDialog.ratingStatus.value,
|
|
1187
|
+
"major": oVersionInfo.getMajor(),
|
|
1188
|
+
"minor": oVersionInfo.getMinor(),
|
|
1189
|
+
"patch": oVersionInfo.getPatch(),
|
|
1190
|
+
"distribution": this._getUI5Distribution(),
|
|
1191
|
+
"snapshot": oVersionInfo.getSuffix().indexOf("SNAPSHOT") > -1,
|
|
1192
|
+
"url": this._getCurrentURL(),
|
|
1193
|
+
"page": this._getCurrentPageRelativeURL(),
|
|
1194
|
+
"pageContext": this._oFeedbackDialog.contextCheckBox.getSelected()
|
|
1195
|
+
},
|
|
1146
1196
|
oResourceBundle = this.getModel("i18n").getResourceBundle();
|
|
1147
1197
|
|
|
1148
|
-
if (this._oFeedbackDialog.contextCheckBox.getSelected()) {
|
|
1149
|
-
data = {
|
|
1150
|
-
"texts": {
|
|
1151
|
-
"t1": this._oFeedbackDialog.textInput.getValue()
|
|
1152
|
-
},
|
|
1153
|
-
"ratings":{
|
|
1154
|
-
"r1": {"value" : this._oFeedbackDialog.ratingStatus.value}
|
|
1155
|
-
},
|
|
1156
|
-
"context": {"page": this._getCurrentPageRelativeURL(), "attr1": this._getUI5Distribution() + ":" + sap.ui.version}
|
|
1157
|
-
};
|
|
1158
|
-
} else {
|
|
1159
|
-
data = {
|
|
1160
|
-
"texts": {
|
|
1161
|
-
"t1": this._oFeedbackDialog.textInput.getValue()
|
|
1162
|
-
},
|
|
1163
|
-
"ratings":{
|
|
1164
|
-
"r1": {"value" : this._oFeedbackDialog.ratingStatus.value}
|
|
1165
|
-
},
|
|
1166
|
-
"context": {"attr1": this._getUI5Distribution() + ":" + sap.ui.version}
|
|
1167
|
-
};
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
1198
|
// send feedback
|
|
1171
1199
|
this._oFeedbackDialog.setBusyIndicatorDelay(0);
|
|
1172
1200
|
this._oFeedbackDialog.setBusy(true);
|
|
1173
1201
|
|
|
1174
1202
|
jQuery.ajax({
|
|
1175
|
-
url:
|
|
1203
|
+
url: FEEDBACK_URL,
|
|
1176
1204
|
type: "POST",
|
|
1177
1205
|
contentType: "application/json",
|
|
1178
1206
|
data: JSON.stringify(data)
|
|
@@ -1510,8 +1538,13 @@ sap.ui.define([
|
|
|
1510
1538
|
},
|
|
1511
1539
|
|
|
1512
1540
|
_getCurrentPageRelativeURL: function () {
|
|
1513
|
-
var
|
|
1514
|
-
return
|
|
1541
|
+
var currentLocation = window.location;
|
|
1542
|
+
return currentLocation.pathname + currentLocation.hash + currentLocation.search;
|
|
1543
|
+
},
|
|
1544
|
+
|
|
1545
|
+
_getCurrentURL: function () {
|
|
1546
|
+
var currentLocation = window.location;
|
|
1547
|
+
return currentLocation.href;
|
|
1515
1548
|
},
|
|
1516
1549
|
|
|
1517
1550
|
_setHeaderSelectedKey: function(sKey) {
|
|
@@ -194,6 +194,14 @@ sap.ui.define([
|
|
|
194
194
|
this); // context
|
|
195
195
|
}
|
|
196
196
|
return this._oThrottledTask;
|
|
197
|
+
},
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Handler for page navButton press event
|
|
201
|
+
* @restricted
|
|
202
|
+
*/
|
|
203
|
+
onNavButtonPress: function () {
|
|
204
|
+
this.getRouter().myNavBack("welcome");
|
|
197
205
|
}
|
|
198
206
|
});
|
|
199
207
|
}
|
|
@@ -45,6 +45,13 @@ sap.ui.define([
|
|
|
45
45
|
|
|
46
46
|
onInit: function () {
|
|
47
47
|
this._objectPage = this.byId("apiDetailObjectPage");
|
|
48
|
+
|
|
49
|
+
if ( !window.hljs ) {
|
|
50
|
+
//solarized-light
|
|
51
|
+
jQuery.sap.includeStyleSheet("resources/sap/ui/documentation/sdk/thirdparty/highlight.js/styles.css");
|
|
52
|
+
jQuery.sap.includeScript({ url: "resources/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js" });
|
|
53
|
+
|
|
54
|
+
}
|
|
48
55
|
},
|
|
49
56
|
|
|
50
57
|
/* =========================================================== */
|
|
@@ -136,26 +143,28 @@ sap.ui.define([
|
|
|
136
143
|
this._buildHeaderLayout(this._oControlData, this._oEntityData);
|
|
137
144
|
|
|
138
145
|
setTimeout(function () {
|
|
139
|
-
// Initial
|
|
140
|
-
this.
|
|
146
|
+
// Initial hljs
|
|
147
|
+
this._hljs();
|
|
141
148
|
|
|
142
|
-
// Attach
|
|
149
|
+
// Attach hljs for un-stashed sub sections
|
|
143
150
|
this._objectPage.attachEvent("subSectionEnteredViewPort", function () {
|
|
144
151
|
// Clear previous calls if any
|
|
145
|
-
if (this.
|
|
146
|
-
clearTimeout(this.
|
|
152
|
+
if (this._sHljsDelayedCallID) {
|
|
153
|
+
clearTimeout(this._sHljsDelayedCallID);
|
|
147
154
|
}
|
|
148
|
-
this.
|
|
149
|
-
//
|
|
150
|
-
var $aNotApplied = jQuery('.sapUxAPObjectPageContainer .APIDetailMethodsSection pre:not(.
|
|
151
|
-
if ($aNotApplied.length > 0) {
|
|
152
|
-
$aNotApplied.addClass('
|
|
153
|
-
|
|
155
|
+
this._sHljsDelayedCallID = setTimeout(function () {
|
|
156
|
+
//The event is called even if all the sub-sections are un-stashed so apply the class and highlights only when we have un-processed targets.
|
|
157
|
+
var $aNotApplied = jQuery('.sapUxAPObjectPageContainer .APIDetailMethodsSection pre:not(.hljs)', this._objectPage.$());
|
|
158
|
+
if ($aNotApplied.length > 0 && window.hljs) {
|
|
159
|
+
$aNotApplied.addClass('hljs');
|
|
160
|
+
document.querySelectorAll('pre').forEach(function(block) {
|
|
161
|
+
window.hljs.highlightBlock(block);
|
|
162
|
+
});
|
|
154
163
|
}
|
|
155
164
|
}.bind(this), 200);
|
|
156
165
|
}, this);
|
|
157
166
|
|
|
158
|
-
// Init scrolling right after busy indicator is cleared
|
|
167
|
+
// Init scrolling right after busy indicator is cleared
|
|
159
168
|
setTimeout(function () {
|
|
160
169
|
|
|
161
170
|
if (this._sEntityType) {
|
|
@@ -288,10 +297,12 @@ sap.ui.define([
|
|
|
288
297
|
|
|
289
298
|
},
|
|
290
299
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
300
|
+
_hljs: function () {
|
|
301
|
+
if (window.hljs) {
|
|
302
|
+
document.querySelectorAll('pre').forEach(function(block) {
|
|
303
|
+
window.hljs.highlightBlock(block);
|
|
304
|
+
});
|
|
305
|
+
}
|
|
295
306
|
},
|
|
296
307
|
|
|
297
308
|
scrollToMethod: function (oEvent) {
|
|
@@ -16,7 +16,7 @@ sap.ui.define([],
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"id": "businessApplicationStudio",
|
|
19
|
-
"text": "Business Application Studio",
|
|
19
|
+
"text": "SAP Business Application Studio",
|
|
20
20
|
"href": "http://www.sap.com/appstudio"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
@@ -53,6 +53,16 @@ sap.ui.define([],
|
|
|
53
53
|
"id": "ui5WebComponents",
|
|
54
54
|
"text": "UI5 Web Components",
|
|
55
55
|
"href": "https://sap.github.io/ui5-webcomponents/"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "liveEditor",
|
|
59
|
+
"text": "Live Editor",
|
|
60
|
+
"href": "liveEditor"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "fioriTools",
|
|
64
|
+
"text": "SAP Fiori Tools",
|
|
65
|
+
"href": "https://help.sap.com/viewer/product/SAP_FIORI_tools/Latest/en-US"
|
|
56
66
|
}
|
|
57
67
|
];
|
|
58
68
|
|
|
@@ -63,4 +73,4 @@ sap.ui.define([],
|
|
|
63
73
|
}
|
|
64
74
|
};
|
|
65
75
|
|
|
66
|
-
}, /* bExport= */ true);
|
|
76
|
+
}, /* bExport= */ true);
|
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
* Licensed under the Apache License, Version 2.0 - see LICENSE.txt.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
sap.ui.define([
|
|
8
|
-
|
|
7
|
+
sap.ui.define([
|
|
8
|
+
"sap/ui/core/Component",
|
|
9
|
+
"sap/ui/core/mvc/Controller",
|
|
10
|
+
"sap/ui/VersionInfo",
|
|
11
|
+
"sap/base/util/merge",
|
|
12
|
+
"sap/base/util/UriParameters"
|
|
13
|
+
], function(Component, Controller, VersionInfo, merge, UriParameters) {
|
|
9
14
|
"use strict";
|
|
10
15
|
|
|
11
16
|
var Component = Component.extend("sap.ui.documentation.sdk.cookieSettingsDialog.Component", {
|
|
@@ -29,24 +34,35 @@ sap.ui.define(["sap/ui/core/Component", "sap/ui/core/mvc/Controller", "sap/ui/Ve
|
|
|
29
34
|
},
|
|
30
35
|
|
|
31
36
|
enable: function(oRootView) {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}),
|
|
36
|
-
bApprovalRequested = this.getCookieValue(this.COOKIE_NAMES.APPROVAL_REQUESTED) === "1",
|
|
37
|
-
bHasConsentUseSWA = this.getCookieValue(this.COOKIE_NAMES.ALLOW_USAGE_TRACKING) === "1";
|
|
38
|
-
|
|
39
|
-
if (!bApprovalRequested) {
|
|
40
|
-
this.cookieSettingsDialogOpen({
|
|
41
|
-
showCookieDetails: false,
|
|
42
|
-
supportsUsageTracking: bSupportsSWA
|
|
43
|
-
}, oRootView);
|
|
44
|
-
}
|
|
37
|
+
var oUriParameters = UriParameters.fromQuery(location.search),
|
|
38
|
+
sParameter = "cookie-settings-dialog",
|
|
39
|
+
bCookieSettingsParameter = oUriParameters.has(sParameter);
|
|
45
40
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
41
|
+
if (bCookieSettingsParameter) {
|
|
42
|
+
this.sCookieSettingsParameterValue = oUriParameters.get(sParameter);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (this.sCookieSettingsParameterValue === "true" || this.sCookieSettingsParameterValue === "" || !bCookieSettingsParameter) {
|
|
46
|
+
|
|
47
|
+
VersionInfo.load().then(function (oVersionInfo) {
|
|
48
|
+
var bSupportsSWA = oVersionInfo.libraries.some(function (lib) {
|
|
49
|
+
return lib.name === "sap.webanalytics.core";
|
|
50
|
+
}),
|
|
51
|
+
bApprovalRequested = this.getCookieValue(this.COOKIE_NAMES.APPROVAL_REQUESTED) === "1",
|
|
52
|
+
bHasConsentUseSWA = this.getCookieValue(this.COOKIE_NAMES.ALLOW_USAGE_TRACKING) === "1";
|
|
53
|
+
|
|
54
|
+
if (!bApprovalRequested) {
|
|
55
|
+
this.cookieSettingsDialogOpen({
|
|
56
|
+
showCookieDetails: false,
|
|
57
|
+
supportsUsageTracking: bSupportsSWA
|
|
58
|
+
}, oRootView);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (bSupportsSWA && bHasConsentUseSWA) {
|
|
62
|
+
this.enableUsageTracking();
|
|
63
|
+
}
|
|
64
|
+
}.bind(this));
|
|
65
|
+
}
|
|
50
66
|
},
|
|
51
67
|
|
|
52
68
|
setCookie: function (sCookieName, sValue) {
|
|
@@ -99,16 +99,22 @@ html:not(.sapUiMedia-StdExt-Phone) .sapUiDocumentationFooter {
|
|
|
99
99
|
|
|
100
100
|
/* welcome page code editor */
|
|
101
101
|
|
|
102
|
-
.
|
|
102
|
+
.editorWrapper {
|
|
103
103
|
display:flex;
|
|
104
|
+
height: 100%;
|
|
104
105
|
}
|
|
105
106
|
|
|
106
|
-
.
|
|
107
|
-
|
|
107
|
+
.outputWindowWrapper {
|
|
108
|
+
height: 100%;
|
|
108
109
|
}
|
|
109
110
|
|
|
110
|
-
.
|
|
111
|
-
|
|
111
|
+
.liveEditorLink {
|
|
112
|
+
display: inline-flex;
|
|
113
|
+
margin-left: 0.125rem;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.sapUiMedia-Std-Desktop .editorWrapper > div {
|
|
117
|
+
flex-grow: 1;
|
|
112
118
|
}
|
|
113
119
|
|
|
114
120
|
.sapUiMedia-Std-Tablet .editorWrapper > div:first-child,
|
|
@@ -118,7 +124,7 @@ html:not(.sapUiMedia-StdExt-Phone) .sapUiDocumentationFooter {
|
|
|
118
124
|
|
|
119
125
|
.editorWrapper .editorSrcWindow,
|
|
120
126
|
.editorWrapper .editorOutputWindow {
|
|
121
|
-
height:
|
|
127
|
+
height: 100%;
|
|
122
128
|
}
|
|
123
129
|
|
|
124
130
|
.editorWrapper .editorOutputWindow {
|
|
@@ -126,7 +132,7 @@ html:not(.sapUiMedia-StdExt-Phone) .sapUiDocumentationFooter {
|
|
|
126
132
|
}
|
|
127
133
|
|
|
128
134
|
.editorWrapper .sapMTB.editorToolbar {
|
|
129
|
-
|
|
135
|
+
height: 2.7rem;
|
|
130
136
|
}
|
|
131
137
|
|
|
132
138
|
.sapUiBlockLayout .welcomeBlock .sapUiBlockCellContent .sapMText {
|
|
@@ -1590,14 +1596,6 @@ html[data-sap-ui-os="mac"] pre.prettyprint.prettyprinted {
|
|
|
1590
1596
|
white-space: pre-line;
|
|
1591
1597
|
}
|
|
1592
1598
|
|
|
1593
|
-
/* Release notes */
|
|
1594
|
-
.sapUiCustomTitleText {
|
|
1595
|
-
font-size: 0.875rem;
|
|
1596
|
-
}
|
|
1597
|
-
.sapUiCustomTitleText .sapMLnk {
|
|
1598
|
-
display: inline;
|
|
1599
|
-
}
|
|
1600
|
-
|
|
1601
1599
|
/* 5 Depths are handled - if more than 5 levels should be displayed we should think of another approach */
|
|
1602
1600
|
html:not(.sapUiMedia-Std-Phone) .sapUiParamText.depth-1 {
|
|
1603
1601
|
padding-left: 1.5rem;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -341,6 +341,13 @@
|
|
|
341
341
|
"target": [
|
|
342
342
|
"sitemap"
|
|
343
343
|
]
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"pattern": "liveEditor",
|
|
347
|
+
"name": "liveEditor",
|
|
348
|
+
"target": [
|
|
349
|
+
"liveEditor"
|
|
350
|
+
]
|
|
344
351
|
}
|
|
345
352
|
],
|
|
346
353
|
"targets": {
|
|
@@ -463,6 +470,10 @@
|
|
|
463
470
|
"viewName": "Sitemap",
|
|
464
471
|
"viewId": "sitemap"
|
|
465
472
|
},
|
|
473
|
+
"liveEditor": {
|
|
474
|
+
"viewName": "LiveEditor",
|
|
475
|
+
"viewId": "liveEditor"
|
|
476
|
+
},
|
|
466
477
|
"releaseNotes": {
|
|
467
478
|
"viewName": "ReleaseNotes",
|
|
468
479
|
"viewLevel": 2,
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</contentMiddle>
|
|
22
22
|
</Bar>
|
|
23
23
|
</subHeader>
|
|
24
|
-
<
|
|
24
|
+
<Tree
|
|
25
25
|
id="versionList"
|
|
26
26
|
itemPress="onVersionItemPress"
|
|
27
27
|
items="{
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
descending: true
|
|
37
37
|
}]
|
|
38
38
|
}">
|
|
39
|
-
<
|
|
39
|
+
<StandardTreeItem
|
|
40
40
|
title="{path: 'version'}"
|
|
41
|
-
type="Active">
|
|
41
|
+
type="{= ${path: 'path'} ? 'Active' : 'Inactive'}">
|
|
42
42
|
<customData>
|
|
43
43
|
<core:CustomData key="path" value="{path: 'path'}" />
|
|
44
44
|
</customData>
|
|
45
|
-
</
|
|
46
|
-
</
|
|
45
|
+
</StandardTreeItem>
|
|
46
|
+
</Tree>
|
|
47
47
|
</Dialog>
|
|
48
48
|
</core:FragmentDefinition>
|