@openui5/sap.ui.documentation 1.120.6 → 1.121.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/dep5 +23 -21
- package/THIRDPARTY.txt +6 -43
- package/package.json +7 -7
- package/src/sap/ui/documentation/.library +3 -9
- package/src/sap/ui/documentation/DemoAppsCardHeader.js +62 -0
- package/src/sap/ui/documentation/DemokitTreeItem.js +1 -0
- package/src/sap/ui/documentation/DemokitTreeItemRenderer.js +20 -13
- package/src/sap/ui/documentation/ParamText.js +2 -1
- package/src/sap/ui/documentation/library.js +23 -10
- package/src/sap/ui/documentation/messagebundle.properties +20 -20
- package/src/sap/ui/documentation/messagebundle_ar.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_bg.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ca.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_cnr.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_cs.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_cy.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_da.properties +12 -12
- package/src/sap/ui/documentation/messagebundle_de.properties +16 -16
- package/src/sap/ui/documentation/messagebundle_el.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_en.properties +398 -10
- package/src/sap/ui/documentation/messagebundle_en_GB.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_en_US_sappsd.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_en_US_saprigi.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_en_US_saptrc.properties +2 -2
- package/src/sap/ui/documentation/messagebundle_es.properties +11 -11
- package/src/sap/ui/documentation/messagebundle_es_MX.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_et.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_fi.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_fr.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_fr_CA.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_hi.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_hr.properties +11 -11
- package/src/sap/ui/documentation/messagebundle_hu.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_id.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_it.properties +11 -11
- package/src/sap/ui/documentation/messagebundle_iw.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ja.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_kk.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ko.properties +11 -11
- package/src/sap/ui/documentation/messagebundle_lt.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_lv.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_mk.properties +15 -15
- package/src/sap/ui/documentation/messagebundle_ms.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_nl.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_no.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_pl.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_pt.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_pt_PT.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ro.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_ru.properties +12 -12
- package/src/sap/ui/documentation/messagebundle_sh.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_sk.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_sl.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_sr.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_sv.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_th.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_tr.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_uk.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_vi.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_zh_CN.properties +10 -10
- package/src/sap/ui/documentation/messagebundle_zh_TW.properties +10 -10
- package/src/sap/ui/documentation/sdk/controller/ApiMaster.controller.js +40 -30
- package/src/sap/ui/documentation/sdk/controller/App.controller.js +20 -12
- package/src/sap/ui/documentation/sdk/controller/ControlsMaster.controller.js +3 -3
- package/src/sap/ui/documentation/sdk/controller/DemoApps.controller.js +208 -459
- package/src/sap/ui/documentation/sdk/controller/LiveEditor.controller.js +9 -8
- package/src/sap/ui/documentation/sdk/controller/News.controller.js +3 -3
- package/src/sap/ui/documentation/sdk/controller/ReleaseNotes.controller.js +13 -12
- package/src/sap/ui/documentation/sdk/controller/Sample.controller.js +24 -18
- package/src/sap/ui/documentation/sdk/controller/SubApiDetail.controller.js +18 -1
- package/src/sap/ui/documentation/sdk/controller/util/APIInfo.js +3 -1
- package/src/sap/ui/documentation/sdk/controller/util/ControlsInfo.js +2 -1
- package/src/sap/ui/documentation/sdk/controller/util/NewsInfo.js +3 -3
- package/src/sap/ui/documentation/sdk/controller/util/ThemePicker.js +5 -3
- package/src/sap/ui/documentation/sdk/controller/util/URLUtil.js +16 -16
- package/src/sap/ui/documentation/sdk/cookieSettingsDialog/controller/CookieSettingsDialog.controller.js +8 -8
- package/src/sap/ui/documentation/sdk/images/DemoApps_intro_card.svg +8 -0
- package/src/sap/ui/documentation/sdk/index.js +1 -1
- package/src/sap/ui/documentation/sdk/model/formatter.js +323 -291
- package/src/sap/ui/documentation/sdk/model/libraryData.js +9 -26
- package/src/sap/ui/documentation/sdk/thirdparty/highlight.js/highlight.js +14905 -8737
- package/src/sap/ui/documentation/sdk/util/DocumentationRouter.js +6 -3
- package/src/sap/ui/documentation/sdk/view/AboutDialog.fragment.xml +1 -1
- package/src/sap/ui/documentation/sdk/view/ApiMaster.view.xml +31 -28
- package/src/sap/ui/documentation/sdk/view/App.view.xml +5 -4
- package/src/sap/ui/documentation/sdk/view/DemoApps.view.xml +189 -141
- package/src/sap/ui/documentation/sdk/view/SubApiDetail.view.xml +34 -30
- package/src/sap/ui/documentation/sdk/view/Tools.view.xml +2 -2
- package/src/sap/ui/documentation/themes/base/DemoApps.less +180 -0
- package/src/sap/ui/documentation/themes/base/DemokitTreeItem.less +20 -0
- package/src/sap/ui/documentation/themes/base/Documentation.less +6 -8
- package/src/sap/ui/documentation/themes/base/Search.less +1 -1
- package/src/sap/ui/documentation/themes/base/library.source.less +3 -2
- package/src/sap/ui/documentation/themes/sap_horizon_hcb/DemoApps.less +11 -0
- package/src/sap/ui/documentation/themes/sap_horizon_hcb/library.source.less +3 -1
- package/src/sap/ui/documentation/themes/sap_horizon_hcw/DemoApps.less +30 -0
- package/src/sap/ui/documentation/themes/sap_horizon_hcw/library.source.less +3 -1
- package/LICENSES/BSD-2-Clause.txt +0 -22
- package/src/sap/ui/documentation/sdk/images/DemoApps_M_and_L_cropped.jpg +0 -0
- package/src/sap/ui/documentation/sdk/images/DemoApps_S_cropped.jpg +0 -0
- package/src/sap/ui/documentation/sdk/thirdparty/esprima.js +0 -3756
- package/src/sap/ui/documentation/sdk/view/BlockLayoutCell.fragment.xml +0 -56
- package/src/sap/ui/documentation/sdk/view/BlockLayoutTeaserCell.fragment.xml +0 -60
|
@@ -254,17 +254,15 @@ EMPTY_TEXT=R\u00F4\u0303ng
|
|
|
254
254
|
|
|
255
255
|
DOWNLOADS_TEXT=Ta\u0309i xu\u00F4\u0301ng
|
|
256
256
|
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
DEMO_APPS_TITLE=\u01AF\u0301ng du\u0323ng Demo
|
|
258
|
+
DEMO_APPS_SUBTITLE_OPENUI5=Li\u1EC7t k\u00EA c\u00E1c \u1EE9ng d\u1EE5ng demo se\u0303 ch\u1EC9 cho b\u1EA1n c\u00E1ch s\u1EED d\u1EE5ng c\u00E1c t\u00EDnh n\u0103ng v\u00E0 ki\u00EA\u0309m soa\u0301t kh\u00E1c nhau c\u1EE7a OpenUI5.
|
|
259
|
+
DEMO_APPS_SUBTITLE_SAPUI5=Li\u1EC7t k\u00EA c\u00E1c \u1EE9ng d\u1EE5ng demo se\u0303 ch\u1EC9 cho b\u1EA1n c\u00E1ch s\u1EED d\u1EE5ng c\u00E1c t\u00EDnh n\u0103ng v\u00E0 ki\u00EA\u0309m soa\u0301t kh\u00E1c nhau c\u1EE7a SAPUI5.
|
|
259
260
|
DEMO_APPS_READ_MORE_BTN=\u0110o\u0323c th\u00EAm
|
|
260
|
-
|
|
261
|
-
DEMO_APPS_IMAGE_DESKTOP=A\u0309nh n\u00EA\u0300n cho ma\u0301y ti\u0301nh
|
|
262
|
-
DEMO_APPS_DOWNLOAD_DIALOG_TITLE=Ta\u0309i xu\u00F4\u0301ng ca\u0301c \u01B0\u0301ng du\u0323ng Demo
|
|
263
|
-
DEMO_APPS_DOWNLOAD_DIALOG_CANCEL_BTN=Hu\u0309y
|
|
264
|
-
DEMO_APPS_CATEGORY_TUTORIAL=Ca\u0301c \u01B0\u0301ng du\u0323ng Demo co\u0301 h\u01B0\u01A1\u0301ng d\u00E2\u0303n
|
|
261
|
+
DEMO_APPS_DOWNLOAD_OVERVIEW=T\u1ED5ng quan t\u1EA3i xu\u1ED1ng
|
|
265
262
|
DEMO_APPS_CATEGORY_SHOWCASE=Kha\u0301i ni\u00EA\u0323m UI5 theo ti\u0300nh hu\u00F4\u0301ng cu\u00F4\u0323c s\u00F4\u0301ng th\u01B0\u0323c
|
|
266
|
-
|
|
263
|
+
DEMO_APPS_CATEGORY_TUTORIAL=Ca\u0301c \u01B0\u0301ng du\u0323ng Demo co\u0301 h\u01B0\u01A1\u0301ng d\u00E2\u0303n
|
|
267
264
|
DEMO_APPS_CATEGORY_RTA=Ca\u0301c \u01B0\u0301ng du\u0323ng linh hoa\u0323t SAPUI5
|
|
265
|
+
DEMO_APPS_CATEGORY_MISC=Ca\u0301c \u01B0\u0301ng du\u0323ng Demo kha\u0301c
|
|
268
266
|
DEMO_APPS_LIBRARY=Th\u01B0 vi\u00EA\u0323n ki\u00EA\u0309m soa\u0301t\:
|
|
269
267
|
|
|
270
268
|
LEGAL_DISCLAIMER_TITLE=T\u01B0\u0300 ch\u00F4\u0301i tra\u0301ch nhi\u00EA\u0323m pha\u0301p ly\u0301 \u0111\u00F4\u0301i v\u01A1\u0301i Li\u00EAn k\u00EA\u0301t
|
|
@@ -325,8 +323,8 @@ RELEASE_DIALOG_NO_DATA_TEXT=Kh\u00F4ng co\u0301 thay \u0111\u00F4\u0309i cho th\
|
|
|
325
323
|
|
|
326
324
|
ABOUT_DIALOG_TITLE=Gi\u01A1\u0301i thi\u00EA\u0323u
|
|
327
325
|
ABOUT_DIALOG_TEXT_1=UI5 Demo Kit - B\u00F4\u0323 c\u00F4ng cu\u0323 pha\u0301t tri\u00EA\u0309n UI cho HTML5
|
|
328
|
-
ABOUT_DIALOG_TEXT_2
|
|
329
|
-
ABOUT_DIALOG_TEXT_3=\u00A9 2009-
|
|
326
|
+
ABOUT_DIALOG_TEXT_2=\u00A9 Copyright 2009-2024 SAP SE. B\u1EA3o l\u01B0u m\u1ECDi quy\u1EC1n.
|
|
327
|
+
ABOUT_DIALOG_TEXT_3=\u00A9 2009-2024 SAP SE ho\u1EB7c c\u00F4ng ty li\u00EAn k\u1EBFt c\u1EE7a SAP.
|
|
330
328
|
ABOUT_DIALOG_TEXT_4={0} Phi\u00EAn ba\u0309n {1}
|
|
331
329
|
ABOUT_DIALOG_TEXT_5=M\u01A1\u0309 phi\u00EAn ba\u0309n UI5 {0}
|
|
332
330
|
ABOUT_DIALOG_TEXT_6=Ph\u00E2\u0300n m\u00EA\u0300m na\u0300y bao g\u00F4\u0300m ca\u0301c phi\u00EAn ba\u0309n th\u01B0 vi\u00EA\u0323n sau
|
|
@@ -410,8 +408,10 @@ API_MASTER_PLACEHOLDER=Ti\u0300m ki\u00EA\u0301m
|
|
|
410
408
|
API_MASTER_EXPAND_BTN_TOOLTIP=M\u01A1\u0309 r\u00F4\u0323ng t\u00E2\u0301t ca\u0309
|
|
411
409
|
API_MASTER_COLLAPSE_BTN_TOOLTIP=Thu go\u0323n t\u00E2\u0301t ca\u0309
|
|
412
410
|
API_MASTER_DEPRECATED_CB=Bao g\u00F4\u0300m ph\u00E2\u0300n kh\u00F4ng \u0111\u01B0\u01A1\u0323c ch\u00E2\u0301p nh\u00E2\u0323n
|
|
411
|
+
API_MASTER_EXPERIMENTAL_CB=Bao g\u00F4\u0300m th\u01B0\u0309 nghi\u00EA\u0323m
|
|
413
412
|
API_MASTER_NO_DATA_TEXT=Kh\u00F4ng co\u0301 d\u01B0\u0303 li\u00EA\u0323u, vui lo\u0300ng th\u01B0\u0309 la\u0323i v\u01A1\u0301i ti\u0300m ki\u00EA\u0301m toa\u0300n c\u00E2\u0300u
|
|
414
413
|
API_MASTER_DEPRECATED=Kh\u00F4ng \u0111\u01B0\u01A1\u0323c ch\u00E2\u0301p nh\u00E2\u0323n
|
|
414
|
+
API_MASTER_EXPERIMENTAL=Th\u01B0\u0309 nghi\u00EA\u0323m
|
|
415
415
|
API_MASTER_DEPRECATED_APIS=Ca\u0301c API kh\u00F4ng \u0111\u01B0\u01A1\u0323c ch\u00E2\u0301p nh\u00E2\u0323n
|
|
416
416
|
API_MASTER_EXPERIMENTAL_APIS=Ca\u0301c API th\u01B0\u0309 nghi\u00EA\u0323m
|
|
417
417
|
API_MASTER_INDEX_BY_VERSION=Chi\u0309 mu\u0323c theo phi\u00EAn ba\u0309n
|
|
@@ -254,17 +254,15 @@ EMPTY_TEXT=\u7A7A
|
|
|
254
254
|
|
|
255
255
|
DOWNLOADS_TEXT=\u4E0B\u8F7D
|
|
256
256
|
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
DEMO_APPS_TITLE=\u6F14\u793A\u5E94\u7528\u7A0B\u5E8F
|
|
258
|
+
DEMO_APPS_SUBTITLE_OPENUI5=\u5217\u51FA\u6F14\u793A\u5E94\u7528\u7A0B\u5E8F\uFF0C\u5C55\u793A\u5982\u4F55\u4F7F\u7528 OpenUI5 \u7684\u5404\u79CD\u529F\u80FD\u548C\u63A7\u4EF6\u3002
|
|
259
|
+
DEMO_APPS_SUBTITLE_SAPUI5=\u5217\u51FA\u6F14\u793A\u5E94\u7528\u7A0B\u5E8F\uFF0C\u5C55\u793A\u5982\u4F55\u4F7F\u7528 SAPUI5 \u7684\u5404\u79CD\u529F\u80FD\u548C\u63A7\u4EF6\u3002
|
|
259
260
|
DEMO_APPS_READ_MORE_BTN=\u9605\u8BFB\u66F4\u591A\u4FE1\u606F
|
|
260
|
-
|
|
261
|
-
DEMO_APPS_IMAGE_DESKTOP=\u8BA1\u7B97\u673A\u7684\u80CC\u666F\u56FE\u50CF
|
|
262
|
-
DEMO_APPS_DOWNLOAD_DIALOG_TITLE=\u4E0B\u8F7D\u6F14\u793A\u5E94\u7528\u7A0B\u5E8F
|
|
263
|
-
DEMO_APPS_DOWNLOAD_DIALOG_CANCEL_BTN=\u53D6\u6D88
|
|
264
|
-
DEMO_APPS_CATEGORY_TUTORIAL=\u5E26\u6559\u7A0B\u7684\u6F14\u793A\u5E94\u7528\u7A0B\u5E8F
|
|
261
|
+
DEMO_APPS_DOWNLOAD_OVERVIEW=\u4E0B\u8F7D\u6982\u89C8
|
|
265
262
|
DEMO_APPS_CATEGORY_SHOWCASE=\u73B0\u5B9E\u751F\u6D3B\u573A\u666F\u4E2D\u7684 UI5 \u6982\u5FF5
|
|
266
|
-
|
|
263
|
+
DEMO_APPS_CATEGORY_TUTORIAL=\u5E26\u6559\u7A0B\u7684\u6F14\u793A\u5E94\u7528\u7A0B\u5E8F
|
|
267
264
|
DEMO_APPS_CATEGORY_RTA=SAPUI5 \u7075\u6D3B\u6027\u6F14\u793A\u5E94\u7528\u7A0B\u5E8F
|
|
265
|
+
DEMO_APPS_CATEGORY_MISC=\u5404\u79CD\u6F14\u793A\u5E94\u7528\u7A0B\u5E8F
|
|
268
266
|
DEMO_APPS_LIBRARY=\u63A7\u4EF6\u5E93\uFF1A
|
|
269
267
|
|
|
270
268
|
LEGAL_DISCLAIMER_TITLE=\u9488\u5BF9\u94FE\u63A5\u7684\u6CD5\u5F8B\u514D\u8D23\u58F0\u660E
|
|
@@ -325,8 +323,8 @@ RELEASE_DIALOG_NO_DATA_TEXT=\u6B64\u5E93\u65E0\u4EFB\u4F55\u66F4\u6539\u3002
|
|
|
325
323
|
|
|
326
324
|
ABOUT_DIALOG_TITLE=\u5173\u4E8E
|
|
327
325
|
ABOUT_DIALOG_TEXT_1=UI5 \u6F14\u793A\u5DE5\u5177\u5305 - \u9002\u7528\u4E8E HTML5 \u7684 UI \u5F00\u53D1\u5DE5\u5177\u5305
|
|
328
|
-
ABOUT_DIALOG_TEXT_2=\u00A9 \u7248\u6743\u6240\u6709 2009-
|
|
329
|
-
ABOUT_DIALOG_TEXT_3=\u00A9 2009-
|
|
326
|
+
ABOUT_DIALOG_TEXT_2=\u00A9 \u7248\u6743\u6240\u6709 2009-2024 SAP SE\u3002\u4FDD\u7559\u6240\u6709\u6743\u5229\u3002
|
|
327
|
+
ABOUT_DIALOG_TEXT_3=\u00A9 2009-2024 SAP SE \u6216 SAP \u5173\u8054\u516C\u53F8\u3002
|
|
330
328
|
ABOUT_DIALOG_TEXT_4={0} \u7248\u672C {1}
|
|
331
329
|
ABOUT_DIALOG_TEXT_5=\u5F00\u653E UI5 \u7248\u672C {0}
|
|
332
330
|
ABOUT_DIALOG_TEXT_6=\u6B64\u8F6F\u4EF6\u5305\u62EC\u4EE5\u4E0B\u5E93\u7248\u672C
|
|
@@ -410,8 +408,10 @@ API_MASTER_PLACEHOLDER=\u641C\u7D22
|
|
|
410
408
|
API_MASTER_EXPAND_BTN_TOOLTIP=\u5168\u90E8\u5C55\u5F00
|
|
411
409
|
API_MASTER_COLLAPSE_BTN_TOOLTIP=\u5168\u90E8\u6298\u53E0
|
|
412
410
|
API_MASTER_DEPRECATED_CB=\u5305\u62EC\u4E0D\u8D5E\u6210\u4F7F\u7528\u7684\u5185\u5BB9
|
|
411
|
+
API_MASTER_EXPERIMENTAL_CB=\u5305\u62EC\u5B9E\u9A8C\u5185\u5BB9
|
|
413
412
|
API_MASTER_NO_DATA_TEXT=\u65E0\u6570\u636E\uFF0C\u8BF7\u5C1D\u8BD5\u8FDB\u884C\u5168\u5C40\u641C\u7D22
|
|
414
413
|
API_MASTER_DEPRECATED=\u4E0D\u8D5E\u6210\u4F7F\u7528
|
|
414
|
+
API_MASTER_EXPERIMENTAL=\u5B9E\u9A8C
|
|
415
415
|
API_MASTER_DEPRECATED_APIS=\u4E0D\u8D5E\u6210\u4F7F\u7528\u7684 API
|
|
416
416
|
API_MASTER_EXPERIMENTAL_APIS=\u5B9E\u9A8C API
|
|
417
417
|
API_MASTER_INDEX_BY_VERSION=\u6309\u7248\u672C\u7D22\u5F15
|
|
@@ -254,17 +254,15 @@ EMPTY_TEXT=\u7A7A\u767D
|
|
|
254
254
|
|
|
255
255
|
DOWNLOADS_TEXT=\u4E0B\u8F09
|
|
256
256
|
|
|
257
|
-
|
|
258
|
-
|
|
257
|
+
DEMO_APPS_TITLE=\u5C55\u793A\u61C9\u7528\u7A0B\u5F0F
|
|
258
|
+
DEMO_APPS_SUBTITLE_OPENUI5=\u5217\u51FA\u7684\u5C55\u793A\u61C9\u7528\u7A0B\u5F0F\u6703\u63D0\u4F9B OpenUI5 \u5404\u7A2E\u529F\u80FD\u8207\u63A7\u5236\u9805\u7684\u4F7F\u7528\u65B9\u5F0F\u3002
|
|
259
|
+
DEMO_APPS_SUBTITLE_SAPUI5=\u5217\u51FA\u7684\u5C55\u793A\u61C9\u7528\u7A0B\u5F0F\u6703\u63D0\u4F9B SAPUI5 \u5404\u7A2E\u529F\u80FD\u8207\u63A7\u5236\u9805\u7684\u4F7F\u7528\u65B9\u5F0F\u3002
|
|
259
260
|
DEMO_APPS_READ_MORE_BTN=\u8B80\u53D6\u66F4\u591A
|
|
260
|
-
|
|
261
|
-
DEMO_APPS_IMAGE_DESKTOP=\u96FB\u8166\u7684\u80CC\u666F\u5716\u50CF
|
|
262
|
-
DEMO_APPS_DOWNLOAD_DIALOG_TITLE=\u4E0B\u8F09\u5C55\u793A\u61C9\u7528\u7A0B\u5F0F
|
|
263
|
-
DEMO_APPS_DOWNLOAD_DIALOG_CANCEL_BTN=\u53D6\u6D88
|
|
264
|
-
DEMO_APPS_CATEGORY_TUTORIAL=\u5305\u542B\u6559\u5B78\u8AB2\u7A0B\u7684\u5C55\u793A\u61C9\u7528\u7A0B\u5F0F
|
|
261
|
+
DEMO_APPS_DOWNLOAD_OVERVIEW=\u4E0B\u8F09\u6982\u89C0
|
|
265
262
|
DEMO_APPS_CATEGORY_SHOWCASE=\u73FE\u5BE6\u751F\u6D3B\u60C5\u5883\u4E2D\u7684 UI5 \u6982\u5FF5
|
|
266
|
-
|
|
263
|
+
DEMO_APPS_CATEGORY_TUTORIAL=\u5305\u542B\u6559\u5B78\u8AB2\u7A0B\u7684\u5C55\u793A\u61C9\u7528\u7A0B\u5F0F
|
|
267
264
|
DEMO_APPS_CATEGORY_RTA=SAPUI5 \u5F48\u6027\u5C55\u793A\u61C9\u7528\u7A0B\u5F0F
|
|
265
|
+
DEMO_APPS_CATEGORY_MISC=\u96DC\u9805\u5C55\u793A\u61C9\u7528\u7A0B\u5F0F
|
|
268
266
|
DEMO_APPS_LIBRARY=\u63A7\u5236\u9805\u7A0B\u5F0F\u5EAB\uFF1A
|
|
269
267
|
|
|
270
268
|
LEGAL_DISCLAIMER_TITLE=\u9023\u7D50\u7684\u6CD5\u5F8B\u514D\u8CAC\u8072\u660E
|
|
@@ -325,8 +323,8 @@ RELEASE_DIALOG_NO_DATA_TEXT=\u6C92\u6709\u6B64\u7A0B\u5F0F\u5EAB\u7684\u66F4\u65
|
|
|
325
323
|
|
|
326
324
|
ABOUT_DIALOG_TITLE=\u95DC\u65BC
|
|
327
325
|
ABOUT_DIALOG_TEXT_1=UI5 Demo Kit - HTML5 \u7684\u4F7F\u7528\u8005\u4ECB\u9762\u958B\u767C\u5DE5\u5177\u5957\u4EF6
|
|
328
|
-
ABOUT_DIALOG_TEXT_2=\u00A9 \u7248\u6B0A\u6240\u6709 2009-
|
|
329
|
-
ABOUT_DIALOG_TEXT_3=\u00A9 2009-
|
|
326
|
+
ABOUT_DIALOG_TEXT_2=\u00A9 \u7248\u6B0A\u6240\u6709 2009-2024 SAP SE\u3002\u4FDD\u7559\u6240\u6709\u6B0A\u5229\u3002
|
|
327
|
+
ABOUT_DIALOG_TEXT_3=\u00A9 2009-2024 SAP SE \u6216 SAP \u95DC\u4FC2\u4F01\u696D\u3002
|
|
330
328
|
ABOUT_DIALOG_TEXT_4={0} \u7248\u672C {1}
|
|
331
329
|
ABOUT_DIALOG_TEXT_5=\u958B\u555F UI5 \u7248\u672C {0}
|
|
332
330
|
ABOUT_DIALOG_TEXT_6=\u6B64\u8EDF\u9AD4\u5305\u542B\u4E0B\u5217\u7A0B\u5F0F\u5EAB\u7248\u672C
|
|
@@ -410,8 +408,10 @@ API_MASTER_PLACEHOLDER=\u641C\u5C0B
|
|
|
410
408
|
API_MASTER_EXPAND_BTN_TOOLTIP=\u5168\u90E8\u5C55\u958B
|
|
411
409
|
API_MASTER_COLLAPSE_BTN_TOOLTIP=\u5168\u90E8\u6536\u7E2E
|
|
412
410
|
API_MASTER_DEPRECATED_CB=\u5305\u542B\u53D6\u4EE3\u7684\u5BE6\u9AD4
|
|
411
|
+
API_MASTER_EXPERIMENTAL_CB=\u5305\u542B\u5BE6\u9A57\u6027
|
|
413
412
|
API_MASTER_NO_DATA_TEXT=\u6C92\u6709\u8CC7\u6599\uFF0C\u8ACB\u5617\u8A66\u4F7F\u7528\u5168\u57DF\u641C\u5C0B
|
|
414
413
|
API_MASTER_DEPRECATED=\u5DF2\u53D6\u4EE3
|
|
414
|
+
API_MASTER_EXPERIMENTAL=\u5BE6\u9A57\u6027
|
|
415
415
|
API_MASTER_DEPRECATED_APIS=\u5DF2\u53D6\u4EE3\u7684 API
|
|
416
416
|
API_MASTER_EXPERIMENTAL_APIS=\u5BE6\u9A57\u6027\u7684 API
|
|
417
417
|
API_MASTER_INDEX_BY_VERSION=\u6309\u7248\u672C\u7DE8\u5217\u7D22\u5F15
|
|
@@ -54,6 +54,8 @@ sap.ui.define([
|
|
|
54
54
|
|
|
55
55
|
// By default we don't show deprecated symbols in the tree
|
|
56
56
|
this._bIncludeDeprecated = false;
|
|
57
|
+
// By default we don't show experimental symbols in the tree
|
|
58
|
+
this._bIncludeExperimental = false;
|
|
57
59
|
|
|
58
60
|
// Cache references
|
|
59
61
|
this._oTree = this.byId("tree");
|
|
@@ -105,20 +107,20 @@ sap.ui.define([
|
|
|
105
107
|
isSelected: false,
|
|
106
108
|
name : "experimental",
|
|
107
109
|
displayName : "Experimental APIs",
|
|
108
|
-
|
|
109
|
-
|
|
110
|
+
visibility: "public",
|
|
111
|
+
preserveInTreeList: true
|
|
110
112
|
}, {
|
|
111
113
|
isSelected: false,
|
|
112
114
|
name : "deprecated",
|
|
113
115
|
displayName : "Deprecated APIs",
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
visibility: "public",
|
|
117
|
+
preserveInTreeList: true
|
|
116
118
|
}, {
|
|
117
119
|
isSelected: false,
|
|
118
120
|
name : "since",
|
|
119
121
|
displayName : "Index by Version",
|
|
120
|
-
|
|
121
|
-
|
|
122
|
+
visibility: "public",
|
|
123
|
+
preserveInTreeList: true
|
|
122
124
|
});
|
|
123
125
|
}
|
|
124
126
|
|
|
@@ -216,37 +218,36 @@ sap.ui.define([
|
|
|
216
218
|
|
|
217
219
|
if (!this._bIncludeDeprecated) {
|
|
218
220
|
aFilters.push(new Filter({
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
221
|
+
filters: [
|
|
222
|
+
new Filter({ path: "preserveInTreeList", operator: FilterOperator.EQ, value1: true }),
|
|
223
|
+
new Filter({ path: "bAllContentDeprecated", operator: FilterOperator.EQ, value1: false })
|
|
224
|
+
],
|
|
225
|
+
and: false
|
|
222
226
|
}));
|
|
223
227
|
}
|
|
224
228
|
|
|
225
|
-
if (this.
|
|
229
|
+
if (!this._bIncludeExperimental) {
|
|
226
230
|
aFilters.push(new Filter({
|
|
227
|
-
and: false,
|
|
228
231
|
filters: [
|
|
229
|
-
new Filter({
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}),
|
|
234
|
-
new Filter({
|
|
235
|
-
path: "name",
|
|
236
|
-
operator: FilterOperator.Contains,
|
|
237
|
-
value1: this._sFilter.replace(/\s/g, '')
|
|
238
|
-
})
|
|
239
|
-
]
|
|
232
|
+
new Filter({ path: "preserveInTreeList", operator: FilterOperator.EQ, value1: true }),
|
|
233
|
+
new Filter({path: "experimental", operator: FilterOperator.EQ, value1: false })
|
|
234
|
+
],
|
|
235
|
+
and: false
|
|
240
236
|
}));
|
|
241
237
|
}
|
|
242
238
|
|
|
243
|
-
this.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
239
|
+
if (this._sFilter) {
|
|
240
|
+
aFilters.push(new Filter({
|
|
241
|
+
filters: [
|
|
242
|
+
new Filter({ path: "name", operator: FilterOperator.Contains, value1: this._sFilter }),
|
|
243
|
+
new Filter({ path: "name", operator: FilterOperator.Contains, value1: this._sFilter.replace(/\s/g, '') })
|
|
244
|
+
],
|
|
245
|
+
and: false
|
|
246
|
+
}));
|
|
247
|
+
}
|
|
247
248
|
|
|
248
|
-
|
|
249
|
-
// filter string
|
|
249
|
+
this._oTree.getBinding("items").filter(new Filter({ and: true, filters: aFilters }));
|
|
250
|
+
// Should the tree items be expanded or collapsed - in this case we take into account only the filter string
|
|
250
251
|
return !!this._sFilter;
|
|
251
252
|
},
|
|
252
253
|
|
|
@@ -255,8 +256,17 @@ sap.ui.define([
|
|
|
255
256
|
* @param {object} oEvent from the checkbox
|
|
256
257
|
*/
|
|
257
258
|
onIncludeDeprecatedItemsChange: function (oEvent) {
|
|
258
|
-
this._bIncludeDeprecated = oEvent.getParameter("selected");
|
|
259
|
-
this.buildAndApplyFilters();
|
|
259
|
+
this._bIncludeDeprecated = oEvent.getParameter("selected");
|
|
260
|
+
this.buildAndApplyFilters();
|
|
261
|
+
},
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* Handler for the Checkbox
|
|
265
|
+
* @param {object} oEvent from the checkbox
|
|
266
|
+
*/
|
|
267
|
+
onIncludeExperimentalItemsChange: function (oEvent) {
|
|
268
|
+
this._bIncludeExperimental = oEvent.getParameter("selected");
|
|
269
|
+
this.buildAndApplyFilters();
|
|
260
270
|
}
|
|
261
271
|
});
|
|
262
272
|
}
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
+
"sap/base/i18n/Localization",
|
|
9
|
+
"sap/ui/core/Element",
|
|
10
|
+
"sap/ui/core/EventBus",
|
|
11
|
+
"sap/ui/core/Lib",
|
|
8
12
|
"sap/ui/thirdparty/jquery",
|
|
9
13
|
"sap/ui/documentation/sdk/controller/BaseController",
|
|
10
14
|
"sap/ui/documentation/sdk/controller/util/NewsInfo",
|
|
@@ -29,7 +33,11 @@ sap.ui.define([
|
|
|
29
33
|
"sap/ui/documentation/sdk/util/Resources",
|
|
30
34
|
'sap/base/util/LoaderExtensions',
|
|
31
35
|
"sap/ui/documentation/sdk/controller/util/ThemePicker"
|
|
32
|
-
], function
|
|
36
|
+
], function(
|
|
37
|
+
Localization,
|
|
38
|
+
Element,
|
|
39
|
+
EventBus,
|
|
40
|
+
Library,
|
|
33
41
|
jQuery,
|
|
34
42
|
BaseController,
|
|
35
43
|
NewsInfo,
|
|
@@ -224,7 +232,7 @@ sap.ui.define([
|
|
|
224
232
|
this.setSurveyModelData();
|
|
225
233
|
|
|
226
234
|
// Subscribe to events
|
|
227
|
-
this.bus =
|
|
235
|
+
this.bus = EventBus.getInstance();
|
|
228
236
|
this.bus.subscribe("newsChanged", "onDemoKitNewsChanged", this._syncNewsModelWithNewsInfo, this);
|
|
229
237
|
this.bus.subscribe("themeChanged", "onThemeChanged", this._onThemeChanged, this);
|
|
230
238
|
|
|
@@ -540,7 +548,7 @@ sap.ui.define([
|
|
|
540
548
|
});
|
|
541
549
|
|
|
542
550
|
okButton = new Button({
|
|
543
|
-
text:
|
|
551
|
+
text: Library.getResourceBundleFor("sap.m").getText("MSGBOX_OK"),
|
|
544
552
|
press: function () {
|
|
545
553
|
handleDialogButtonPress();
|
|
546
554
|
}
|
|
@@ -596,7 +604,7 @@ sap.ui.define([
|
|
|
596
604
|
controller: this
|
|
597
605
|
}).then(function (oContent) {
|
|
598
606
|
|
|
599
|
-
var oShortList =
|
|
607
|
+
var oShortList = Element.getElementById("shortList"),
|
|
600
608
|
oController = this,
|
|
601
609
|
sSearchQuery;
|
|
602
610
|
|
|
@@ -728,13 +736,13 @@ sap.ui.define([
|
|
|
728
736
|
_applyDefaultConfiguration: function () {
|
|
729
737
|
this._aConfiguration.forEach(function (sConf) {
|
|
730
738
|
if (sConf === DEMOKIT_CONFIGURATION_LANGUAGE) {
|
|
731
|
-
|
|
739
|
+
Localization.setLanguage(DEMOKIT_DEFAULT_LANGUAGE);
|
|
732
740
|
} else if (sConf === DEMOKIT_CONFIGURATION_APPEARANCE) {
|
|
733
741
|
this._updateAppearance(ThemePicker._getTheme().auto);
|
|
734
742
|
}
|
|
735
743
|
}, this);
|
|
736
744
|
|
|
737
|
-
this._oSupportedLangModel.setProperty("/selectedLang",
|
|
745
|
+
this._oSupportedLangModel.setProperty("/selectedLang", Localization.getLanguage());
|
|
738
746
|
},
|
|
739
747
|
|
|
740
748
|
/**
|
|
@@ -775,7 +783,7 @@ sap.ui.define([
|
|
|
775
783
|
* @returns {Object[]} Array of objects containg the needed data for the SupportedLangModel
|
|
776
784
|
*/
|
|
777
785
|
_prepareSupportedLangModelData: function () {
|
|
778
|
-
return
|
|
786
|
+
return Localization.getLanguagesDeliveredWithCore().reduce(function (result, sLangAbbreviation) {
|
|
779
787
|
var langName,
|
|
780
788
|
sLang = sLangAbbreviation,
|
|
781
789
|
sLangRegion = sLangAbbreviation;
|
|
@@ -829,7 +837,7 @@ sap.ui.define([
|
|
|
829
837
|
*/
|
|
830
838
|
_setSelectedLanguage: function (sLanguage) {
|
|
831
839
|
this._oSupportedLangModel.setProperty("/selectedLang", sLanguage);
|
|
832
|
-
|
|
840
|
+
Localization.setLanguage(sLanguage);
|
|
833
841
|
if (this._oConfigUtil.getCookieValue(this._oCookieNames.ALLOW_REQUIRED_COOKIES) === "1") {
|
|
834
842
|
this._oConfigUtil.setCookie(DEMOKIT_CONFIGURATION_LANGUAGE, sLanguage);
|
|
835
843
|
}
|
|
@@ -865,7 +873,7 @@ sap.ui.define([
|
|
|
865
873
|
// connect dialog to the root view of this component (models, lifecycle)
|
|
866
874
|
this._oView.addDependent(oDialog);
|
|
867
875
|
this._oSettingsDialog = oDialog;
|
|
868
|
-
|
|
876
|
+
Element.getElementById("LanguageSelect").setSelectedKey(this._getSelectedLanguage());
|
|
869
877
|
this._oSettingsDialog.open();
|
|
870
878
|
}.bind(this));
|
|
871
879
|
} else {
|
|
@@ -897,7 +905,7 @@ sap.ui.define([
|
|
|
897
905
|
* @public
|
|
898
906
|
*/
|
|
899
907
|
handleSaveAppSettings: function () {
|
|
900
|
-
var sLanguage =
|
|
908
|
+
var sLanguage = Element.getElementById('LanguageSelect').getSelectedKey();
|
|
901
909
|
|
|
902
910
|
this._oSettingsDialog.close();
|
|
903
911
|
|
|
@@ -1110,7 +1118,7 @@ sap.ui.define([
|
|
|
1110
1118
|
onChangeVersionDialogSearch: function (oEvent) {
|
|
1111
1119
|
var sSearchedValue = oEvent.getParameter("newValue"),
|
|
1112
1120
|
oFilter = new Filter("version", FilterOperator.Contains, sSearchedValue),
|
|
1113
|
-
oTree =
|
|
1121
|
+
oTree = Element.getElementById("versionList"),
|
|
1114
1122
|
oBinding = oTree.getBinding("items");
|
|
1115
1123
|
|
|
1116
1124
|
oBinding.filter([oFilter]);
|
|
@@ -1144,7 +1152,7 @@ sap.ui.define([
|
|
|
1144
1152
|
},
|
|
1145
1153
|
|
|
1146
1154
|
onVersionItemPress: function (oEvent) {
|
|
1147
|
-
var oSelectedItem =
|
|
1155
|
+
var oSelectedItem = Element.getElementById("versionList").getSelectedItem(),
|
|
1148
1156
|
oCustomData = oSelectedItem.getCustomData()[0];
|
|
1149
1157
|
|
|
1150
1158
|
if (oCustomData && oCustomData.getKey() === "path") {
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
sap.ui.define([
|
|
8
|
+
"sap/ui/core/EventBus",
|
|
8
9
|
"sap/ui/thirdparty/jquery",
|
|
9
10
|
"sap/ui/Device",
|
|
10
11
|
"sap/ui/documentation/sdk/controller/BaseController",
|
|
@@ -15,10 +16,10 @@ sap.ui.define([
|
|
|
15
16
|
"sap/ui/model/FilterOperator",
|
|
16
17
|
"sap/ui/model/Sorter",
|
|
17
18
|
"sap/ui/util/Storage",
|
|
18
|
-
"sap/ui/core/Core",
|
|
19
19
|
"sap/ui/documentation/sdk/controller/util/Highlighter",
|
|
20
20
|
"sap/ui/core/Fragment"
|
|
21
21
|
], function(
|
|
22
|
+
EventBus,
|
|
22
23
|
jQuery,
|
|
23
24
|
Device,
|
|
24
25
|
BaseController,
|
|
@@ -29,7 +30,6 @@ sap.ui.define([
|
|
|
29
30
|
FilterOperator,
|
|
30
31
|
Sorter,
|
|
31
32
|
Storage,
|
|
32
|
-
Core,
|
|
33
33
|
Highlighter,
|
|
34
34
|
Fragment
|
|
35
35
|
) {
|
|
@@ -175,7 +175,7 @@ sap.ui.define([
|
|
|
175
175
|
|
|
176
176
|
this._initListSettings();
|
|
177
177
|
|
|
178
|
-
this.bus =
|
|
178
|
+
this.bus = EventBus.getInstance();
|
|
179
179
|
this.bus.subscribe("themeChanged", "onDemoKitThemeChanged", this.onDemoKitThemeChanged, this);
|
|
180
180
|
},
|
|
181
181
|
|