@sapui5/sap.fe.macros 1.96.25 → 1.96.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/LICENSE.txt +13 -10
  2. package/README.md +1 -1
  3. package/package.json +1 -1
  4. package/src/sap/fe/macros/.library +1 -1
  5. package/src/sap/fe/macros/field/FieldHelper.js +3 -0
  6. package/src/sap/fe/macros/field/FieldRuntime.js +35 -0
  7. package/src/sap/fe/macros/internal/field/editStyle/File.fragment.xml +4 -0
  8. package/src/sap/fe/macros/library.js +1 -1
  9. package/src/sap/fe/macros/messagebundle.properties +12 -0
  10. package/src/sap/fe/macros/messagebundle_ar.properties +8 -0
  11. package/src/sap/fe/macros/messagebundle_bg.properties +8 -0
  12. package/src/sap/fe/macros/messagebundle_ca.properties +8 -0
  13. package/src/sap/fe/macros/messagebundle_cs.properties +8 -0
  14. package/src/sap/fe/macros/messagebundle_cy.properties +8 -0
  15. package/src/sap/fe/macros/messagebundle_da.properties +8 -0
  16. package/src/sap/fe/macros/messagebundle_de.properties +8 -0
  17. package/src/sap/fe/macros/messagebundle_el.properties +8 -0
  18. package/src/sap/fe/macros/messagebundle_en.properties +8 -0
  19. package/src/sap/fe/macros/messagebundle_en_GB.properties +8 -0
  20. package/src/sap/fe/macros/messagebundle_en_US_saprigi.properties +8 -0
  21. package/src/sap/fe/macros/messagebundle_en_US_saptrc.properties +148 -72
  22. package/src/sap/fe/macros/messagebundle_es.properties +8 -0
  23. package/src/sap/fe/macros/messagebundle_es_MX.properties +8 -0
  24. package/src/sap/fe/macros/messagebundle_et.properties +8 -0
  25. package/src/sap/fe/macros/messagebundle_fi.properties +8 -0
  26. package/src/sap/fe/macros/messagebundle_fr.properties +8 -0
  27. package/src/sap/fe/macros/messagebundle_fr_CA.properties +10 -2
  28. package/src/sap/fe/macros/messagebundle_hi.properties +8 -0
  29. package/src/sap/fe/macros/messagebundle_hr.properties +8 -0
  30. package/src/sap/fe/macros/messagebundle_hu.properties +8 -0
  31. package/src/sap/fe/macros/messagebundle_id.properties +8 -0
  32. package/src/sap/fe/macros/messagebundle_it.properties +8 -0
  33. package/src/sap/fe/macros/messagebundle_iw.properties +8 -0
  34. package/src/sap/fe/macros/messagebundle_ja.properties +8 -0
  35. package/src/sap/fe/macros/messagebundle_kk.properties +8 -0
  36. package/src/sap/fe/macros/messagebundle_ko.properties +8 -0
  37. package/src/sap/fe/macros/messagebundle_lt.properties +8 -0
  38. package/src/sap/fe/macros/messagebundle_lv.properties +8 -0
  39. package/src/sap/fe/macros/messagebundle_ms.properties +8 -0
  40. package/src/sap/fe/macros/messagebundle_nl.properties +8 -0
  41. package/src/sap/fe/macros/messagebundle_no.properties +8 -0
  42. package/src/sap/fe/macros/messagebundle_pl.properties +8 -0
  43. package/src/sap/fe/macros/messagebundle_pt.properties +8 -0
  44. package/src/sap/fe/macros/messagebundle_pt_PT.properties +8 -0
  45. package/src/sap/fe/macros/messagebundle_ro.properties +8 -0
  46. package/src/sap/fe/macros/messagebundle_ru.properties +8 -0
  47. package/src/sap/fe/macros/messagebundle_sh.properties +8 -0
  48. package/src/sap/fe/macros/messagebundle_sk.properties +8 -0
  49. package/src/sap/fe/macros/messagebundle_sl.properties +8 -0
  50. package/src/sap/fe/macros/messagebundle_sr.properties +8 -0
  51. package/src/sap/fe/macros/messagebundle_sv.properties +8 -0
  52. package/src/sap/fe/macros/messagebundle_th.properties +8 -0
  53. package/src/sap/fe/macros/messagebundle_tr.properties +8 -0
  54. package/src/sap/fe/macros/messagebundle_uk.properties +8 -0
  55. package/src/sap/fe/macros/messagebundle_vi.properties +9 -1
  56. package/src/sap/fe/macros/messagebundle_zh_CN.properties +8 -0
  57. package/src/sap/fe/macros/messagebundle_zh_TW.properties +8 -0
package/LICENSE.txt CHANGED
@@ -1,5 +1,7 @@
1
1
  SAP DEVELOPER LICENSE AGREEMENT
2
2
 
3
+ Version 3.2
4
+
3
5
  Please scroll down and read the following Developer License Agreement carefully ("Developer Agreement"). By clicking "I Accept" or by attempting to download, or install, or use the SAP software and other materials that accompany this Developer Agreement ("SAP Materials"), You agree that this Developer Agreement forms a legally binding agreement between You ("You" or "Your") and SAP SE, for and on behalf of itself and its subsidiaries and affiliates (as defined in Section 15 of the German Stock Corporation Act) and You agree to be bound by all of the terms and conditions stated in this Developer Agreement. If You are trying to access or download the SAP Materials on behalf of Your employer or as a consultant or agent of a third party (either "Your Company"), You represent and warrant that You have the authority to act on behalf of and bind Your Company to the terms of this Developer Agreement and everywhere in this Developer Agreement that refers to 'You' or 'Your' shall also include Your Company. If You do not agree to these terms, do not click "I Accept", and do not attempt to access or use the SAP Materials.
4
6
 
5
7
  1. LICENSE: SAP grants You a non-exclusive, non-transferable, non-sublicensable, revocable, limited use license to copy, reproduce and distribute the application programming interfaces ("API"), documentation, plug-ins, templates, scripts and sample code ("Tools") on a desktop, laptop, tablet, smart phone, or other appropriate computer device that You own or control (any, a "Computer") to create new applications ("Customer Applications"). You agree that the Customer Applications will not: (a) unreasonably impair, degrade or reduce the performance or security of any SAP software applications, services or related technology ("Software"); (b) enable the bypassing or circumventing of SAP's license restrictions and/or provide users with access to the Software to which such users are not licensed; (c) render or provide, without prior written consent from SAP, any information concerning SAP software license terms, Software, or any other information related to SAP products; or (d) permit mass data extraction from an SAP product to a non-SAP product, including use, modification, saving or other processing of such data in the non-SAP product. In exchange for the right to develop Customer Applications under this Agreement, You covenant not to assert any Intellectual Property Rights in Customer Applications created by You against any SAP product, service, or future SAP development.
@@ -7,29 +9,30 @@ Please scroll down and read the following Developer License Agreement carefully
7
9
  2. INTELLECTUAL PROPERTY: (a) SAP or its licensors retain all ownership and intellectual property rights in the APIs, Tools and Software. You may not: a) remove or modify any marks or proprietary notices of SAP, b) provide or make the APIs, Tools or Software available to any third party, c) assign this Developer Agreement or give or transfer the APIs, Tools or Software or an interest in them to another individual or entity, d) decompile, disassemble or reverse engineer (except to the extent permitted by applicable law) the APIs Tools or Software, (e) create derivative works of or based on the APIs, Tools or Software, (f) use any SAP name, trademark or logo, or (g) use the APIs or Tools to modify existing Software or other SAP product functionality or to access the Software or other SAP products' source code or metadata.
8
10
  (b) Subject to SAP's underlying rights in any part of the APIs, Tools or Software, You retain all ownership and intellectual property rights in Your Customer Applications.
9
11
 
10
- 3. FREE AND OPEN SOURCE COMPONENTS: The SAP Materials may include certain third party free or open source components ("FOSS Components"). You may have additional rights in such FOSS Components that are provided by the third party licensors of those components.
12
+ 3. ARTIFICIAL INTELLIGENCE TRAINING: You are expressly prohibited from using the Software, Tools or APIs as well as any Customer Applications or any part thereof for the purpose of training (developing) artificial intelligence models or systems (“AI Training”). Prohibition of AI Training includes, but is not limited to, using the Software, Tools, APIs and/or Customer Applications or part thereof in any training data set, algorithm development, model development or refinement (including language learning models) related to artificial intelligence, as well as text and data mining in accordance with §44b UrhG and Art. 4 of EU Directive 2019/790. For the avoidance of doubt, by accepting this Developer Agreement You agree that Your ownership of Customer Applications shall not create nor encompass any right to use Customer Applications for AI Training and, hence, You will not use Customer Applications or any part of it for AI Training.
11
13
 
12
- 4. THIRD PARTY DEPENDENCIES: The SAP Materials may require certain third party software dependencies ("Dependencies") for the use or operation of such SAP Materials. These dependencies may be identified by SAP in Maven POM files, product documentation or by other means. SAP does not grant You any rights in or to such Dependencies under this Developer Agreement. You are solely responsible for the acquisition, installation and use of Dependencies. SAP DOES NOT MAKE ANY REPRESENTATIONS OR WARRANTIES IN RESPECT OF DEPENDENCIES, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR A PARTICULAR PURPOSE. IN PARTICULAR, SAP DOES NOT WARRANT THAT DEPENDENCIES WILL BE AVAILABLE, ERROR FREE, INTEROPERABLE WITH THE SAP MATERIALS, SUITABLE FOR ANY PARTICULAR PURPOSE OR NON-INFRINGING. YOU ASSUME ALL RISKS ASSOCIATED WITH THE USE OF DEPENDENCIES, INCLUDING WITHOUT LIMITATION RISKS RELATING TO QUALITY, AVAILABILITY, PERFORMANCE, DATA LOSS, UTILITY IN A PRODUCTION ENVIRONMENT, AND NON-INFRINGEMENT. IN NO EVENT WILL SAP BE LIABLE DIRECTLY OR INDIRECTLY IN RESPECT OF ANY USE OF DEPENDENCIES BY YOU.
14
+ 4. FREE AND OPEN SOURCE COMPONENTS: The SAP Materials may include certain third party free or open source components ("FOSS Components"). You may have additional rights in such FOSS Components that are provided by the third party licensors of those components.
13
15
 
16
+ 5. THIRD PARTY DEPENDENCIES: The SAP Materials may require certain third party software dependencies ("Dependencies") for the use or operation of such SAP Materials. These dependencies may be identified by SAP in Maven POM files, product documentation or by other means. SAP does not grant You any rights in or to such Dependencies under this Developer Agreement. You are solely responsible for the acquisition, installation and use of Dependencies. SAP DOES NOT MAKE ANY REPRESENTATIONS OR WARRANTIES IN RESPECT OF DEPENDENCIES, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR A PARTICULAR PURPOSE. IN PARTICULAR, SAP DOES NOT WARRANT THAT DEPENDENCIES WILL BE AVAILABLE, ERROR FREE, INTEROPERABLE WITH THE SAP MATERIALS, SUITABLE FOR ANY PARTICULAR PURPOSE OR NON-INFRINGING. YOU ASSUME ALL RISKS ASSOCIATED WITH THE USE OF DEPENDENCIES, INCLUDING WITHOUT LIMITATION RISKS RELATING TO QUALITY, AVAILABILITY, PERFORMANCE, DATA LOSS, UTILITY IN A PRODUCTION ENVIRONMENT, AND NON-INFRINGEMENT. IN NO EVENT WILL SAP BE LIABLE DIRECTLY OR INDIRECTLY IN RESPECT OF ANY USE OF DEPENDENCIES BY YOU.
14
17
 
15
- 5. WARRANTY:
18
+ 6. WARRANTY:
16
19
  a) If You are located outside the US or Canada: AS THE API AND TOOLS ARE PROVIDED TO YOU FREE OF CHARGE, SAP DOES NOT GUARANTEE OR WARRANT ANY FEATURES OR QUALITIES OF THE TOOLS OR API OR GIVE ANY UNDERTAKING WITH REGARD TO ANY OTHER QUALITY. NO SUCH WARRANTY OR UNDERTAKING SHALL BE IMPLIED BY YOU FROM ANY DESCRIPTION IN THE API OR TOOLS OR ANY AVAILABLE DOCUMENTATION OR ANY OTHER COMMUNICATION OR ADVERTISEMENT. IN PARTICULAR, SAP DOES NOT WARRANT THAT THE SOFTWARE WILL BE AVAILABLE UNINTERRUPTED, ERROR FREE, OR PERMANENTLY AVAILABLE. FOR THE TOOLS AND API ALL WARRANTY CLAIMS ARE SUBJECT TO THE LIMITATION OF LIABILITY STIPULATED IN SECTION 4 BELOW.
17
20
  b) If You are located in the US or Canada: THE API AND TOOLS ARE LICENSED TO YOU "AS IS", WITHOUT ANY WARRANTY, ESCROW, TRAINING, MAINTENANCE, OR SERVICE OBLIGATIONS WHATSOEVER ON THE PART OF SAP. SAP MAKES NO EXPRESS OR IMPLIED WARRANTIES OR CONDITIONS OF SALE OF ANY TYPE WHATSOEVER, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY AND OF FITNESS FOR A PARTICULAR PURPOSE. IN PARTICULAR, SAP DOES NOT WARRANT THAT THE SOFTWARE WILL BE AVAILABLE UNINTERRUPTED, ERROR FREE, OR PERMANENTLY AVAILABLE. YOU ASSUME ALL RISKS ASSOCIATED WITH THE USE OF THE API AND TOOLS, INCLUDING WITHOUT LIMITATION RISKS RELATING TO QUALITY, AVAILABILITY, PERFORMANCE, DATA LOSS, AND UTILITY IN A PRODUCTION ENVIRONMENT.
18
21
 
19
- 6. LIMITATION OF LIABILITY:
22
+ 7. LIMITATION OF LIABILITY:
20
23
  a) If You are located outside the US or Canada: IRRESPECTIVE OF THE LEGAL REASONS, SAP SHALL ONLY BE LIABLE FOR DAMAGES UNDER THIS AGREEMENT IF SUCH DAMAGE (I) CAN BE CLAIMED UNDER THE GERMAN PRODUCT LIABILITY ACT OR (II) IS CAUSED BY INTENTIONAL MISCONDUCT OF SAP OR (III) CONSISTS OF PERSONAL INJURY. IN ALL OTHER CASES, NEITHER SAP NOR ITS EMPLOYEES, AGENTS AND SUBCONTRACTORS SHALL BE LIABLE FOR ANY KIND OF DAMAGE OR CLAIMS HEREUNDER.
21
24
  b) If You are located in the US or Canada: IN NO EVENT SHALL SAP BE LIABLE TO YOU, YOUR COMPANY OR TO ANY THIRD PARTY FOR ANY DAMAGES IN AN AMOUNT IN EXCESS OF $100 ARISING IN CONNECTION WITH YOUR USE OF OR INABILITY TO USE THE TOOLS OR API OR IN CONNECTION WITH SAP'S PROVISION OF OR FAILURE TO PROVIDE SERVICES PERTAINING TO THE TOOLS OR API, OR AS A RESULT OF ANY DEFECT IN THE API OR TOOLS. THIS DISCLAIMER OF LIABILITY SHALL APPLY REGARDLESS OF THE FORM OF ACTION THAT MAY BE BROUGHT AGAINST SAP, WHETHER IN CONTRACT OR TORT, INCLUDING WITHOUT LIMITATION ANY ACTION FOR NEGLIGENCE. YOUR SOLE REMEDY IN THE EVENT OF BREACH OF THIS DEVELOPER AGREEMENT BY SAP OR FOR ANY OTHER CLAIM RELATED TO THE API OR TOOLS SHALL BE TERMINATION OF THIS AGREEMENT. NOTWITHSTANDING ANYTHING TO THE CONTRARY HEREIN, UNDER NO CIRCUMSTANCES SHALL SAP AND ITS LICENSORS BE LIABLE TO YOU OR ANY OTHER PERSON OR ENTITY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, OR INDIRECT DAMAGES, LOSS OF GOOD WILL OR BUSINESS PROFITS, WORK STOPPAGE, DATA LOSS, COMPUTER FAILURE OR MALFUNCTION, ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSS, OR EXEMPLARY OR PUNITIVE DAMAGES.
22
25
 
23
- 7. INDEMNITY: You will fully indemnify, hold harmless and defend SAP against law suits based on any claim: (a) that any Customer Application created by You infringes or misappropriates any patent, copyright, trademark, trade secrets, or other proprietary rights of a third party, or (b) related to Your alleged violation of the terms of this Developer Agreement.
26
+ 8. INDEMNITY: You will fully indemnify, hold harmless and defend SAP against law suits based on any claim: (a) that any Customer Application created by You infringes or misappropriates any patent, copyright, trademark, trade secrets, or other proprietary rights of a third party, or (b) related to Your alleged violation of the terms of this Developer Agreement.
24
27
 
25
- 8. EXPORT: The Tools and API are subject to German, EU and US export control regulations. You confirm that: a) You will not use the Tools or API for, and will not allow the Tools or API to be used for, any purposes prohibited by German, EU and US law, including, without limitation, for the development, design, manufacture or production of nuclear, chemical or biological weapons of mass destruction; b) You are not located in Cuba, Iran, Sudan, Iraq, North Korea, Syria, nor any other country to which the United States has prohibited export or that has been designated by the U.S. Government as a "terrorist supporting" country (any, an "US Embargoed Country"); c) You are not a citizen, national or resident of, and are not under the control of, a US Embargoed Country; d) You will not download or otherwise export or re-export the API or Tools, directly or indirectly, to a US Embargoed Country nor to citizens, nationals or residents of a US Embargoed Country; e) You are not listed on the United States Department of Treasury lists of Specially Designated Nationals, Specially Designated Terrorists, and Specially Designated Narcotic Traffickers, nor listed on the United States Department of Commerce Table of Denial Orders or any other U.S. government list of prohibited or restricted parties and f) You will not download or otherwise export or re-export the API or Tools , directly or indirectly, to persons on the above-mentioned lists.
28
+ 9. EXPORT: The Tools and API are subject to German, EU and US export control regulations. You confirm that: a) You will not use the Tools or API for, and will not allow the Tools or API to be used for, any purposes prohibited by German, EU and US law, including, without limitation, for the development, design, manufacture or production of nuclear, chemical or biological weapons of mass destruction; b) You are not located in Cuba, Iran, Sudan, Iraq, North Korea, Syria, nor any other country to which the United States has prohibited export or that has been designated by the U.S. Government as a "terrorist supporting" country (any, an "US Embargoed Country"); c) You are not a citizen, national or resident of, and are not under the control of, a US Embargoed Country; d) You will not download or otherwise export or re-export the API or Tools, directly or indirectly, to a US Embargoed Country nor to citizens, nationals or residents of a US Embargoed Country; e) You are not listed on the United States Department of Treasury lists of Specially Designated Nationals, Specially Designated Terrorists, and Specially Designated Narcotic Traffickers, nor listed on the United States Department of Commerce Table of Denial Orders or any other U.S. government list of prohibited or restricted parties and f) You will not download or otherwise export or re-export the API or Tools , directly or indirectly, to persons on the above-mentioned lists.
26
29
 
27
- 9. SUPPORT: Other than what is made available on the SAP Community Website (SCN) by SAP at its sole discretion and by SCN members, SAP does not offer support for the API or Tools which are the subject of this Developer Agreement.
30
+ 10. SUPPORT: Other than what is made available on the SAP Community Website (SCN) by SAP at its sole discretion and by SCN members, SAP does not offer support for the API or Tools which are the subject of this Developer Agreement.
28
31
 
29
- 10. TERM AND TERMINATION: You may terminate this Developer Agreement by destroying all copies of the API and Tools on Your Computer(s). SAP may terminate Your license to use the API and Tools immediately if You fail to comply with any of the terms of this Developer Agreement, or, for SAP's convenience by providing you with ten (10) day's written notice of termination (including email). In case of termination or expiration of this Developer Agreement, You must destroy all copies of the API and Tools immediately. In the event Your Company or any of the intellectual property you create using the API, Tools or Software are acquired (by merger, purchase of stock, assets or intellectual property or exclusive license), or You become employed, by a direct competitor of SAP, then this Development Agreement and all licenses granted in this Developer Agreement shall immediately terminate upon the date of such acquisition.
32
+ 11. TERM AND TERMINATION: You may terminate this Developer Agreement by destroying all copies of the API and Tools on Your Computer(s). SAP may terminate Your license to use the API and Tools immediately if You fail to comply with any of the terms of this Developer Agreement, or, for SAP's convenience by providing you with ten (10) day's written notice of termination (including by public notice). In case of termination or expiration of this Developer Agreement, You must destroy all copies of the API and Tools immediately. In the event Your Company or any of the intellectual property you create using the API, Tools or Software are acquired (by merger, purchase of stock, assets or intellectual property or exclusive license), or You become employed, by a direct competitor of SAP, then this Development Agreement and all licenses granted in this Developer Agreement shall immediately terminate upon the date of such acquisition.
30
33
 
31
- 11. LAW/VENUE:
34
+ 12. LAW/VENUE:
32
35
  a) If You are located outside the US or Canada: This Developer Agreement is governed by and construed in accordance with the laws of the Germany. You and SAP agree to submit to the exclusive jurisdiction of, and venue in, the courts of Karlsruhe in Germany in any dispute arising out of or relating to this Developer Agreement.
33
36
  b) If You are located in the US or Canada: This Developer Agreement shall be governed by and construed under the Commonwealth of Pennsylvania law without reference to its conflicts of law principles. In the event of any conflicts between foreign law, rules, and regulations, and United States of America law, rules, and regulations, United States of America law, rules, and regulations shall prevail and govern. The United Nations Convention on Contracts for the International Sale of Goods shall not apply to this Developer Agreement. The Uniform Computer Information Transactions Act as enacted shall not apply.
34
37
 
35
- 12. MISCELLANEOUS: This Developer Agreement is the complete agreement for the API and Tools licensed (including reference to information/documentation contained in a URL). This Developer Agreement supersedes all prior or contemporaneous agreements or representations with regards to the subject matter of this Developer Agreement. If any term of this Developer Agreement is found to be invalid or unenforceable, the surviving provisions shall remain effective. SAP's failure to enforce any right or provisions stipulated in this Developer Agreement will not constitute a waiver of such provision, or any other provision of this Developer Agreement.
38
+ 13. MISCELLANEOUS: This Developer Agreement is the complete agreement for the API and Tools licensed (including reference to information/documentation contained in a URL). This Developer Agreement supersedes all prior or contemporaneous agreements or representations with regards to the subject matter of this Developer Agreement. If any term of this Developer Agreement is found to be invalid or unenforceable, the surviving provisions shall remain effective. SAP's failure to enforce any right or provisions stipulated in this Developer Agreement will not constitute a waiver of such provision, or any other provision of this Developer Agreement.
package/README.md CHANGED
@@ -12,4 +12,4 @@ It is meant to be consumed using the [UI5 Tooling](https://sap.github.io/ui5-too
12
12
  For details please refer to our documentation on [Consuming SAPUI5 Libraries](https://sap.github.io/ui5-tooling/pages/SAPUI5/).
13
13
 
14
14
  ## License
15
- This package is provided under the terms of the [SAP Developer License Agreement](https://tools.hana.ondemand.com/developer-license-3.1.txt).
15
+ This package is provided under the terms of the [SAP Developer License Agreement](https://tools.hana.ondemand.com/developer-license-3_2.txt).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.fe.macros",
3
- "version": "1.96.25",
3
+ "version": "1.96.26",
4
4
  "description": "SAPUI5 Library sap.fe.macros",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -6,7 +6,7 @@
6
6
  <copyright>SAP UI development toolkit for HTML5 (SAPUI5)
7
7
  (c) Copyright 2009-2021 SAP SE. All rights reserved
8
8
  </copyright>
9
- <version>1.96.25</version>
9
+ <version>1.96.26</version>
10
10
 
11
11
  <documentation>UI5 library: sap.fe.macros</documentation>
12
12
 
@@ -1668,6 +1668,9 @@ sap.ui.define(
1668
1668
  }
1669
1669
  // no @Core.ContentDisposition.Filename
1670
1670
  return sNoFilenameText;
1671
+ },
1672
+ calculateMBfromByte: function(iByte) {
1673
+ return iByte ? (iByte / (1024 * 1024)).toFixed(6) : undefined;
1671
1674
  }
1672
1675
  };
1673
1676
 
@@ -403,6 +403,41 @@ sap.ui.define(
403
403
 
404
404
  getIconForMimeType: function(sMimeType) {
405
405
  return IconPool.getIconForMimeType(sMimeType);
406
+ },
407
+
408
+ handleTypeMissmatch: function(oEvent) {
409
+ MessageBox.error(ResourceModel.getText("M_FIELD_FILEUPLOADER_WRONG_MIMETYPE"), {
410
+ details:
411
+ "<p><strong>" +
412
+ ResourceModel.getText("M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED") +
413
+ "</strong></p>" +
414
+ oEvent.getParameters().mimeType +
415
+ "<br><br>" +
416
+ "<p><strong>" +
417
+ ResourceModel.getText("M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED") +
418
+ "</strong></p>" +
419
+ oEvent
420
+ .getSource()
421
+ .getMimeType()
422
+ .toString()
423
+ .replaceAll(",", ", "),
424
+ contentWidth: "150px"
425
+ });
426
+ },
427
+
428
+ handleFileSizeExceed: function(oEvent, iFileSize) {
429
+ MessageBox.error(
430
+ ResourceModel.getText(
431
+ "M_FIELD_FILEUPLOADER_FILE_TOO_BIG",
432
+ oEvent
433
+ .getSource()
434
+ .getMaximumFileSize()
435
+ .toFixed(3)
436
+ ),
437
+ {
438
+ contentWidth: "150px"
439
+ }
440
+ );
406
441
  }
407
442
  };
408
443
 
@@ -31,6 +31,10 @@
31
31
  style="Transparent"
32
32
  sendXHR="true"
33
33
  useMultipart="false"
34
+ mimeType="{propertyPath>@Org.OData.Core.V1.AcceptableMediaTypes@@MODEL.value}"
35
+ typeMissmatch="FIELDRUNTIME.handleTypeMissmatch"
36
+ maximumFileSize="{= FIELD.calculateMBfromByte(${propertyPath>$MaxLength@@MODEL.value})}"
37
+ fileSizeExceed="FIELDRUNTIME.handleFileSizeExceed"
34
38
  uploadOnChange="false"
35
39
  uploadAborted="FIELDRUNTIME.handleUploadAborted"
36
40
  uploadComplete="FIELDRUNTIME.handleUploadComplete($event, '{propertyPath>@Org.OData.Core.V1.ContentDisposition/Filename@@FIELD.propertyName}')"
@@ -59,7 +59,7 @@ sap.ui.define(
59
59
  interfaces: [],
60
60
  controls: [],
61
61
  elements: [],
62
- version: "1.96.25",
62
+ version: "1.96.26",
63
63
  noLibraryCSS: true
64
64
  });
65
65
 
@@ -215,6 +215,18 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=Delete File
215
215
  # XMSG,100: Error Message when File Upload is aborted
216
216
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=The file upload failed
217
217
 
218
+ # XMSG,200: Error Message when File has not allowed type
219
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=The file format you selected is not supported.
220
+
221
+ # XMSG,100: Error Message when File has not allowed type - details with selected type
222
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=Selected file format:
223
+
224
+ # XMSG,100: Error Message when File has not allowed type - details with allowed type
225
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=Allowed file formats:
226
+
227
+ # XMSG,200: Error Message when File is too big
228
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=The file is too big. The maximum allowed file size is {0} MB.
229
+
218
230
  #------------Paginator Buttons-----------------
219
231
 
220
232
  # XTOT, 30: Tool-tip for Paginator UP button
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=\u062D\u0630\u0641 \u0627\u0644\u0645
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=\u0641\u0634\u0644 \u062A\u062D\u0645\u064A\u0644 \u0627\u0644\u0645\u0644\u0641
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=\u062A\u0646\u0633\u064A\u0642 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0630\u064A \u062D\u062F\u062F\u062A\u0647 \u063A\u064A\u0631 \u0645\u062F\u0639\u0648\u0645.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=\u062A\u0646\u0633\u064A\u0642 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0645\u062D\u062F\u062F\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=\u062A\u0646\u0633\u064A\u0642\u0627\u062A \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647\u0627\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=\u0627\u0644\u0645\u0644\u0641 \u0643\u0628\u064A\u0631 \u062C\u062F\u064B\u0627. \u0627\u0644\u062D\u062F \u0627\u0644\u0623\u0642\u0635\u0649 \u0644\u062D\u062C\u0645 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0645\u0633\u0645\u0648\u062D \u0628\u0647 \u0647\u0648 {0} \u0645\u064A\u062C\u0627 \u0628\u0627\u064A\u062A.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=\u0627\u0644\u0639\u0646\u0635\u0631 \u0627\u0644\u0633\u0627\u0628\u0642
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=\u0418\u0437\u0442\u0440\u0438\u0432\
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=\u041D\u0435\u0443\u0441\u043F\u0435\u0448\u043D\u043E \u043A\u0430\u0447\u0432\u0430\u043D\u0435 \u043D\u0430 \u0444\u0430\u0439\u043B
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=\u0424\u043E\u0440\u043C\u0430\u0442\u044A\u0442 \u043D\u0430 \u0444\u0430\u0439\u043B\u0430, \u043A\u043E\u0439\u0442\u043E \u0441\u0442\u0435 \u0438\u0437\u0431\u0440\u0430\u043B\u0438, \u043D\u0435 \u0441\u0435 \u043F\u043E\u0434\u0434\u044A\u0440\u0436\u0430.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=\u0418\u0437\u0431\u0435\u0440\u0435\u0442\u0435 \u0444\u043E\u0440\u043C\u0430\u0442 \u043D\u0430 \u0444\u0430\u0439\u043B\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=\u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043D\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u0438 \u043D\u0430 \u0444\u0430\u0439\u043B\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=\u0424\u0430\u0439\u043B\u044A\u0442 \u0435 \u043F\u0440\u0435\u043A\u0430\u043B\u0435\u043D\u043E \u0433\u043E\u043B\u044F\u043C. \u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u043D\u0438\u044F\u0442 \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043D \u0440\u0430\u0437\u043C\u0435\u0440 \u0435 {0} MB.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=\u041F\u0440\u0435\u0434\u0438\u0448\u043D\u0430 \u043F\u043E\u0437\u0438\u0446\u0438\u044F
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=Suprimir fitxer
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=Error en carregar el fitxer
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=No s'admet el format de fitxer que heu seleccionat.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=Format de fitxer seleccionat\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=Formats de fitxer permesos\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=El fitxer \u00E9s massa gran. La mida m\u00E0xima permesa \u00E9s de {0}\u00A0MB.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Posici\u00F3 anterior
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=Odstranit soubor
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=Odesl\u00E1n\u00ED souboru ne\u00FAsp\u011B\u0161n\u00E9
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=V\u00E1mi vybran\u00FD form\u00E1t souboru nen\u00ED podporov\u00E1n.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=Vybran\u00FD form\u00E1t souboru\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=Povolen\u00E9 form\u00E1ty souboru\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=Soubor je p\u0159\u00EDli\u0161 velk\u00FD. Maxim\u00E1ln\u00ED povolen\u00E1 velikost souboru je {0} MB.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=P\u0159edchoz\u00ED polo\u017Eka
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=Dileu Ffeil
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=Wedi methu llwytho\u2019r ffeil i fyny
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=Does dim modd delio \u00E2\u2019r fformat ffeil rydych chi wedi\u2019i ddewis.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=Fformat ffeil a ddewiswyd\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=Fformatau ffeil a ganiateir\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=Mae\u2019r ffeil yn rhy fawr. Y maint mwyaf a ganiateir yw {0} MB.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Eitem Flaenorol
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=Slet fil
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=Upload af filen mislykkedes
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=Det filformat, du valgte, underst\u00F8ttes ikke.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=Valgt filformat\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=Tilladte filformater\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=Filen er for stor. Den maksimalt tilladte filst\u00F8rrelse er {0} MB.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Foreg\u00E5ende position
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=Datei l\u00F6schen
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=Datei-Upload ist fehlgeschlagen
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=Das ausgew\u00E4hlte Dateiformat wird nicht unterst\u00FCtzt.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=Ausgew\u00E4hltes Dateiformat\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=Zul\u00E4ssige Dateiformate\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=Die Datei ist zu gro\u00DF. Es sind maximal {0} MB zul\u00E4ssig.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Vorheriges Element
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=\u0394\u03B9\u03B1\u03B3\u03C1\u03B1\
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=\u0394\u03B9\u03B1\u03B2\u03AF\u03B2\u03B1\u03C3\u03B7 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5 \u03B1\u03C0\u03AD\u03C4\u03C5\u03C7\u03B5
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=\u0397 \u03BC\u03BF\u03C1\u03C6\u03AE \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5 \u03C0\u03BF\u03C5 \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03B1\u03C4\u03B5 \u03B4\u03B5\u03BD \u03C5\u03C0\u03BF\u03C3\u03C4\u03B7\u03C1\u03AF\u03B6\u03B5\u03C4\u03B1\u03B9.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=\u0395\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03B7 \u03BC\u03BF\u03C1\u03C6\u03AE \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=\u0395\u03C0\u03B9\u03C4\u03C1\u03B5\u03C0\u03CC\u03BC\u03B5\u03BD\u03B5\u03C2 \u03BC\u03BF\u03C1\u03C6\u03AD\u03C2 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=\u03A4\u03BF \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF \u03B5\u03AF\u03BD\u03B1\u03B9 \u03C0\u03BF\u03BB\u03CD \u03BC\u03B5\u03B3\u03AC\u03BB\u03BF. \u03A4\u03BF \u03BC\u03AD\u03B3\u03B9\u03C3\u03C4\u03BF \u03B5\u03C0\u03B9\u03C4\u03C1\u03B5\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF \u03BC\u03AD\u03B3\u03B5\u03B8\u03BF\u03C2 \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5 \u03B5\u03AF\u03BD\u03B1\u03B9 {0} \u039C\u0392.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03B7 \u0391\u03BD\u03B1\u03BB.\u0393\u03C1\u03B1\u03BC.
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=Delete file
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=The file upload failed
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=The file format you selected is not supported.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=Selected file format\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=Allowed file formats\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=The file is too big. The maximum allowed file size is {0} MB.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Previous Item
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=Delete file
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=The file upload failed
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=The file format you selected is not supported.
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=Selected file format\:
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=Allowed file formats\:
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=The file is too big. The maximum allowed file size is {0} MB.
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=Previous Item
147
155
 
@@ -142,6 +142,14 @@ M_FIELD_FILEUPLOADER_DELETE_BUTTON_TOOLTIP=\u206A\u206A\u206A\u200D\u200D\u200B\
142
142
 
143
143
  M_FIELD_FILEUPLOADER_ABORTED_TEXT=\u206A\u206A\u206A\u200C\u200B\u200B\u200B\u200D\u200B\u200D\u200D\u200D\u200D\u200B\u200C\u200B\u200C\u200B\u200D\u200D\u200D\u200C\u200B\u200C\u200D\u200C\u200C\u200C\u200B\u200C\u200C\u200C\u200B\u200C\u200D\u200D\u200B\u200D\u200B\u200D\u200B\u200C\u200B\u200C\u206AThe file upload failed\u206A\u206A
144
144
 
145
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE=\u206A\u206A\u206A\u200C\u200B\u200C\u200D\u200C\u200D\u200B\u200C\u200B\u200B\u200C\u200D\u200D\u200D\u200C\u200B\u200D\u200C\u200D\u200D\u200C\u200D\u200C\u200D\u200D\u200B\u200D\u200D\u200C\u200D\u200C\u200B\u200D\u200C\u200B\u200C\u200D\u200B\u200B\u200C\u200D\u206AThe file format you selected is not supported.\u206A\u206A
146
+
147
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_SELECTED=\u206A\u206A\u206A\u200D\u200D\u200B\u200D\u200D\u200C\u200B\u200B\u200D\u200B\u200D\u200D\u200B\u200D\u200D\u200D\u200C\u200D\u200C\u200D\u200B\u200C\u200D\u200D\u200C\u200B\u200C\u200B\u200D\u200D\u200B\u200C\u200B\u200C\u200D\u200B\u200C\u200C\u200C\u200D\u206ASelected file format\:\u206A\u206A
148
+
149
+ M_FIELD_FILEUPLOADER_WRONG_MIMETYPE_DETAILS_ALLOWED=\u206A\u206A\u206A\u200C\u200B\u200C\u200D\u200C\u200C\u200D\u200C\u200B\u200D\u200D\u200D\u200D\u200C\u200D\u200D\u200C\u200B\u200D\u200B\u200D\u200B\u200C\u200B\u200B\u200C\u200C\u200D\u200C\u200B\u200D\u200D\u200B\u200B\u200B\u200C\u200C\u200C\u200D\u200C\u200D\u206AAllowed file formats\:\u206A\u206A
150
+
151
+ M_FIELD_FILEUPLOADER_FILE_TOO_BIG=\u206A\u206A\u206A\u200C\u200B\u200D\u200C\u200C\u200B\u200D\u200C\u200C\u200D\u200D\u200C\u200C\u200B\u200B\u200B\u200B\u200C\u200B\u200B\u200C\u200D\u200D\u200B\u200C\u200C\u200D\u200B\u200D\u200D\u200B\u200D\u200C\u200C\u200B\u200B\u200B\u200C\u200C\u200D\u200D\u206AThe file is too big. The maximum allowed file size is \u200B\u200B\u200B{0}\u200C\u200C\u200C MB.\u206A\u206A
152
+
145
153
 
146
154
  M_PAGINATOR_CONTROL_PAGINATOR_TOOLTIP_UP=\u206A\u206A\u206A\u200C\u200C\u200B\u200B\u200C\u200D\u200B\u200B\u200C\u200D\u200C\u200B\u200C\u200D\u200D\u200C\u200B\u200D\u200C\u200D\u200D\u200C\u200D\u200D\u200D\u200D\u200B\u200B\u200B\u200B\u200D\u200B\u200C\u200B\u200D\u200D\u200C\u200D\u200C\u200D\u200B\u206APrevious Item\u206A\u206A
147
155