@sapui5/sap.rules.ui 1.122.0 → 1.124.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/LICENSE.txt +13 -10
  2. package/README.md +1 -1
  3. package/package.json +1 -1
  4. package/src/sap/rules/ui/.library +9 -1
  5. package/src/sap/rules/ui/BindingSpy.js +1 -1
  6. package/src/sap/rules/ui/DecisionTable.js +14 -2
  7. package/src/sap/rules/ui/DecisionTableCell.js +12 -9
  8. package/src/sap/rules/ui/DecisionTableCellAstExpressionBasic.js +1 -1
  9. package/src/sap/rules/ui/DecisionTableCellExpressionAdvanced.js +1 -1
  10. package/src/sap/rules/ui/DecisionTableCellExpressionBasic.js +1 -1
  11. package/src/sap/rules/ui/DecisionTableConfiguration.js +2 -2
  12. package/src/sap/rules/ui/DecisionTableSettings.js +15 -12
  13. package/src/sap/rules/ui/DecisionTableSettingsOld.js +3 -3
  14. package/src/sap/rules/ui/ExpressionAdvanced.js +13 -10
  15. package/src/sap/rules/ui/ExpressionBase.js +1 -1
  16. package/src/sap/rules/ui/ExpressionBasic.js +1 -1
  17. package/src/sap/rules/ui/InstructionRenderer.js +29 -24
  18. package/src/sap/rules/ui/RuleBase.js +1 -1
  19. package/src/sap/rules/ui/RuleBuilder.js +7 -1
  20. package/src/sap/rules/ui/TextRule.js +9 -9
  21. package/src/sap/rules/ui/TextRuleConfiguration.js +1 -1
  22. package/src/sap/rules/ui/TextRuleSettings.js +1 -1
  23. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionFixedValuePanel.js +13 -10
  24. package/src/sap/rules/ui/i18n/messagebundle.properties +9 -1
  25. package/src/sap/rules/ui/i18n/messagebundle_ar.properties +4 -0
  26. package/src/sap/rules/ui/i18n/messagebundle_bg.properties +4 -0
  27. package/src/sap/rules/ui/i18n/messagebundle_ca.properties +4 -0
  28. package/src/sap/rules/ui/i18n/messagebundle_cnr.properties +4 -0
  29. package/src/sap/rules/ui/i18n/messagebundle_cs.properties +4 -0
  30. package/src/sap/rules/ui/i18n/messagebundle_cy.properties +4 -0
  31. package/src/sap/rules/ui/i18n/messagebundle_da.properties +4 -0
  32. package/src/sap/rules/ui/i18n/messagebundle_de.properties +7 -3
  33. package/src/sap/rules/ui/i18n/messagebundle_el.properties +4 -0
  34. package/src/sap/rules/ui/i18n/messagebundle_en.properties +4 -0
  35. package/src/sap/rules/ui/i18n/messagebundle_en_GB.properties +4 -0
  36. package/src/sap/rules/ui/i18n/messagebundle_en_US_saprigi.properties +4 -0
  37. package/src/sap/rules/ui/i18n/messagebundle_es.properties +4 -0
  38. package/src/sap/rules/ui/i18n/messagebundle_es_MX.properties +4 -0
  39. package/src/sap/rules/ui/i18n/messagebundle_et.properties +4 -0
  40. package/src/sap/rules/ui/i18n/messagebundle_fi.properties +4 -0
  41. package/src/sap/rules/ui/i18n/messagebundle_fr.properties +4 -0
  42. package/src/sap/rules/ui/i18n/messagebundle_fr_CA.properties +4 -0
  43. package/src/sap/rules/ui/i18n/messagebundle_hi.properties +4 -0
  44. package/src/sap/rules/ui/i18n/messagebundle_hr.properties +4 -0
  45. package/src/sap/rules/ui/i18n/messagebundle_hu.properties +4 -0
  46. package/src/sap/rules/ui/i18n/messagebundle_id.properties +4 -0
  47. package/src/sap/rules/ui/i18n/messagebundle_it.properties +4 -0
  48. package/src/sap/rules/ui/i18n/messagebundle_iw.properties +4 -0
  49. package/src/sap/rules/ui/i18n/messagebundle_ja.properties +4 -0
  50. package/src/sap/rules/ui/i18n/messagebundle_kk.properties +6 -2
  51. package/src/sap/rules/ui/i18n/messagebundle_ko.properties +6 -2
  52. package/src/sap/rules/ui/i18n/messagebundle_lt.properties +4 -0
  53. package/src/sap/rules/ui/i18n/messagebundle_lv.properties +6 -2
  54. package/src/sap/rules/ui/i18n/messagebundle_mk.properties +4 -0
  55. package/src/sap/rules/ui/i18n/messagebundle_ms.properties +4 -0
  56. package/src/sap/rules/ui/i18n/messagebundle_nl.properties +4 -0
  57. package/src/sap/rules/ui/i18n/messagebundle_no.properties +4 -0
  58. package/src/sap/rules/ui/i18n/messagebundle_pl.properties +4 -0
  59. package/src/sap/rules/ui/i18n/messagebundle_pt.properties +4 -0
  60. package/src/sap/rules/ui/i18n/messagebundle_pt_PT.properties +4 -0
  61. package/src/sap/rules/ui/i18n/messagebundle_ro.properties +4 -0
  62. package/src/sap/rules/ui/i18n/messagebundle_ru.properties +6 -2
  63. package/src/sap/rules/ui/i18n/messagebundle_sh.properties +4 -0
  64. package/src/sap/rules/ui/i18n/messagebundle_sk.properties +4 -0
  65. package/src/sap/rules/ui/i18n/messagebundle_sl.properties +4 -0
  66. package/src/sap/rules/ui/i18n/messagebundle_sr.properties +4 -0
  67. package/src/sap/rules/ui/i18n/messagebundle_sv.properties +4 -0
  68. package/src/sap/rules/ui/i18n/messagebundle_th.properties +4 -0
  69. package/src/sap/rules/ui/i18n/messagebundle_tr.properties +4 -0
  70. package/src/sap/rules/ui/i18n/messagebundle_uk.properties +4 -0
  71. package/src/sap/rules/ui/i18n/messagebundle_vi.properties +5 -1
  72. package/src/sap/rules/ui/i18n/messagebundle_zh_CN.properties +4 -0
  73. package/src/sap/rules/ui/i18n/messagebundle_zh_TW.properties +4 -0
  74. package/src/sap/rules/ui/library.js +1 -2
  75. package/src/sap/rules/ui/themes/base/AstExpression.less +1 -1
  76. package/src/sap/rules/ui/themes/sap_bluecrystal/library.source.less +10 -1
  77. package/src/sap/rules/ui/themes/sap_bluecrystal_base/AstExpression.less +286 -0
  78. package/src/sap/rules/ui/themes/sap_bluecrystal_base/DecisionTable.less +73 -0
  79. package/src/sap/rules/ui/themes/sap_bluecrystal_base/DecisionTableCell.less +28 -0
  80. package/src/sap/rules/ui/themes/sap_bluecrystal_base/DecisionTableSettings.less +67 -0
  81. package/src/sap/rules/ui/themes/sap_bluecrystal_base/ExpressionAdvanced.less +19 -0
  82. package/src/sap/rules/ui/themes/sap_bluecrystal_base/ExpressionBasic.less +6 -0
  83. package/src/sap/rules/ui/themes/sap_bluecrystal_base/RuleBuilder.less +3 -0
  84. package/src/sap/rules/ui/themes/sap_bluecrystal_base/TextRule.less +34 -0
  85. package/src/sap/rules/ui/themes/sap_bluecrystal_base/library.source.less +20 -0
  86. package/src/sap/rules/ui/type/ExpressionAbs.js +1 -1
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
@@ -9,4 +9,4 @@ It is meant to be consumed using the [UI5 Tooling](https://sap.github.io/ui5-too
9
9
  For details please refer to our documentation on [Consuming SAPUI5 Libraries](https://sap.github.io/ui5-tooling/pages/SAPUI5/).
10
10
 
11
11
  ## License
12
- This package is provided under the terms of the [SAP Developer License Agreement](https://tools.hana.ondemand.com/developer-license-3.1.txt).
12
+ 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.rules.ui",
3
- "version": "1.122.0",
3
+ "version": "1.124.0",
4
4
  "description": "SAPUI5 Library sap.rules.ui",
5
5
  "homepage": "https://sap.github.io/ui5-tooling/pages/SAPUI5/",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -7,7 +7,7 @@
7
7
 
8
8
  (c) Copyright 2009-2016 SAP SE. All rights reserved
9
9
  </copyright>
10
- <version>1.122.0</version>
10
+ <version>1.124.0</version>
11
11
 
12
12
  <documentation>UI5 library: sap.rules.ui</documentation>
13
13
 
@@ -21,6 +21,14 @@
21
21
  </dependencies>
22
22
 
23
23
  <appData>
24
+ <manifest xmlns="http://www.sap.com/ui5/buildext/manifest">
25
+ <sap.ui5>
26
+ <library>
27
+ <i18n>i18n/messagebundle.properties</i18n>
28
+ </library>
29
+ </sap.ui5>
30
+ </manifest>
31
+
24
32
  <!-- excludes for the JSDoc -->
25
33
  <jsdoc xmlns="http://www.sap.com/ui5/buildext/jsdoc">
26
34
  <exclude name="sap.rules.ui.js."/>
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends ManagedObject
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.122.0
27
+ * @version 1.124.0
28
28
  *
29
29
  * @constructor
30
30
  * @private
@@ -79,7 +79,7 @@ sap.ui.define([
79
79
  * @extends Control
80
80
  *
81
81
  * @author SAP SE
82
- * @version 1.122.0
82
+ * @version 1.124.0
83
83
  *
84
84
  * @constructor
85
85
  * @private
@@ -108,6 +108,9 @@ sap.ui.define([
108
108
  type: "boolean",
109
109
  defaultValue: true
110
110
  },
111
+ /**
112
+ * @deprecated Since 1.52.8, use the attribute RuleFormat instead.
113
+ */
111
114
  cellFormat: {
112
115
  type: "sap.rules.ui.DecisionTableCellFormat",
113
116
  defaultValue: library.DecisionTableCellFormat.Both
@@ -125,7 +128,7 @@ sap.ui.define([
125
128
  },
126
129
  decisionTableFormat: {
127
130
  type: "sap.rules.ui.DecisionTableFormat",
128
- defaultValue: library.DecisionTableFormat.CellFormat
131
+ defaultValue: library.DecisionTableFormat.RuleFormat
129
132
  },
130
133
  threshold: {
131
134
  type: "int",
@@ -943,6 +946,9 @@ sap.ui.define([
943
946
  var oDecisionTableSettings = new DecisionTableSettings({
944
947
  hitPolicies: "{dtModel>/hitPolicies}",
945
948
  newDecisionTable: this._internalModel.getProperty("/newTable"),
949
+ /**
950
+ * @deprecated Since 1.52.8, use the attribute RuleFormat instead.
951
+ */
946
952
  cellFormat: "{dtModel>/cellFormat}",
947
953
  decisionTableFormat: this.getDecisionTableFormat(),
948
954
  enableSettingResult: this.getEnableSettingResult()
@@ -1562,6 +1568,9 @@ sap.ui.define([
1562
1568
  data.sequenceExist = true;
1563
1569
  data.busyState = true;
1564
1570
  data.busyTableState = true;
1571
+ /**
1572
+ * @deprecated Since 1.52.8, use the attribute RuleFormat instead.
1573
+ */
1565
1574
  data.cellFormat = this.getCellFormat();
1566
1575
  data.hitPolicies = this.getHitPolicies();
1567
1576
  data.enableSettings = this.getEnableSettings();
@@ -2056,6 +2065,9 @@ sap.ui.define([
2056
2065
  return this;
2057
2066
  },
2058
2067
 
2068
+ /**
2069
+ * @deprecated Since 1.52.8, use the attribute RuleFormat instead.
2070
+ */
2059
2071
  setCellFormat: function (value) {
2060
2072
  this.setProperty("cellFormat", value, true);
2061
2073
  this._internalModel.setProperty("/cellFormat", value);
@@ -18,8 +18,6 @@ sap.ui.define([
18
18
  "sap/rules/ui/services/AstExpressionLanguage",
19
19
  "sap/rules/ui/ast/util/AstUtil",
20
20
  "sap/ui/core/LocaleData",
21
- "sap/rules/ui/ExpressionAdvanced",
22
- "sap/rules/ui/AstExpressionBasic",
23
21
  "sap/ui/core/Control",
24
22
  "sap/m/Input",
25
23
  "sap/ui/model/Context",
@@ -34,8 +32,7 @@ sap.ui.define([
34
32
  "./DecisionTableCellRenderer"
35
33
  ],
36
34
  function (jQuery, library, DecisionTableCellExpressionAdvanced, DecisionTableCellFormatter, DecisionTableCellExpressionBasic, Popover,
37
- Constants, ConstantUtils, AstExpressionLanguage, AstUtil, LocaleData, ExpressionAdvanced,
38
- AstExpressionBasic, Control, Input, Context, coreLibrary, Formatting,
35
+ Constants, ConstantUtils, AstExpressionLanguage, AstUtil, LocaleData, Control, Input, Context, coreLibrary, Formatting,
39
36
  DateFormat, EventBus, coreLib, Element, Fragment, DecisionTableCellAstExpressionBasic, DecisionTableCellRenderer) {
40
37
  "use strict";
41
38
 
@@ -50,7 +47,7 @@ sap.ui.define([
50
47
  * @extends sap.ui.core.Control
51
48
  *
52
49
  * @author SAP SE
53
- * @version 1.122.0
50
+ * @version 1.124.0
54
51
  *
55
52
  * @constructor
56
53
  * @public
@@ -150,7 +147,7 @@ sap.ui.define([
150
147
  * Define the DecisionTableCell type/formatter.
151
148
  */
152
149
  decisionTableCellType: {
153
- type: "sap.rules.ui.type.DecisionTableCell",
150
+ type: "any",
154
151
  multiple: false
155
152
  },
156
153
  /**
@@ -166,7 +163,7 @@ sap.ui.define([
166
163
  */
167
164
  decisionTableFormat: {
168
165
  type: "sap.rules.ui.DecisionTableFormat",
169
- defaultValue: library.DecisionTableFormat.CellFormat
166
+ defaultValue: library.DecisionTableFormat.RuleFormat
170
167
  },
171
168
  /**
172
169
  * Contains the key properties of cell : RowId,ColId,RuleId, Version needed for binding context
@@ -634,12 +631,12 @@ sap.ui.define([
634
631
  var fnAfterPopOverClose = function (oEvent) {
635
632
  if (this._oPopover) {
636
633
  var oDecisionTableCellExpression = this._oPopover.getAggregation('content')[1];
637
- if (oDecisionTableCellExpression instanceof ExpressionAdvanced) { //after choose hint popover close, we fix it with focus in DecisionTableCellExpressionAdvanced so we need to copy the value from the code mirror to the expression advanced value
634
+ if (oDecisionTableCellExpression.isA("sap.rules.ui.ExpressionAdvanced")) { //after choose hint popover close, we fix it with focus in DecisionTableCellExpressionAdvanced so we need to copy the value from the code mirror to the expression advanced value
638
635
  if (oDecisionTableCellExpression.codeMirror) {
639
636
  var sExpression = oDecisionTableCellExpression.codeMirror.getValue();
640
637
  oDecisionTableCellExpression.setValue(sExpression);
641
638
  }
642
- } else if (oDecisionTableCellExpression instanceof AstExpressionBasic) {
639
+ } else if (oDecisionTableCellExpression.isA("sap.rules.ui.AstExpressionBasic")) {
643
640
  //While making changes in one cell and focusing into another cell, _fireChange is not called from
644
641
  //AstExpressionBasic._handlePopupFocusOut
645
642
  oDecisionTableCellExpression._fireChange(oDecisionTableCellExpression._input.text())
@@ -732,6 +729,12 @@ sap.ui.define([
732
729
  return returnValue;
733
730
  };
734
731
 
732
+ DecisionTableCell.prototype.setDecisionTableCellType = function (value) {
733
+ if(value != null && value.isA("sap.rules.ui.type.DecisionTableCell")) {
734
+ this.setProperty("decisionTableCellType", value);
735
+ }
736
+ };
737
+
735
738
  return DecisionTableCell;
736
739
 
737
740
  }, /* bExport= */ true);
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.rules.ui.AstExpressionBasic
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.122.0
34
+ * @version 1.124.0
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.rules.ui.ExpressionAdvanced
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.122.0
31
+ * @version 1.124.0
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -28,7 +28,7 @@ sap.ui.define([
28
28
  * @extends sap.rules.ui.ExpressionBasic
29
29
  *
30
30
  * @author SAP SE
31
- * @version 1.122.0
31
+ * @version 1.124.0
32
32
  *
33
33
  * @constructor
34
34
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends sap.ui.core.Element
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.122.0
26
+ * @version 1.124.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -75,7 +75,7 @@ sap.ui.define([
75
75
  */
76
76
  decisionTableFormat: {
77
77
  type: "sap.rules.ui.DecisionTableFormat",
78
- defaultValue: library.DecisionTableFormat.CellFormat
78
+ defaultValue: library.DecisionTableFormat.RuleFormat
79
79
  },
80
80
  /**
81
81
  * The threshold defines how many additional (not yet visible records) shall be pre-fetched to enable smooth scrolling.
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  * @extends Control
74
74
  *
75
75
  * @author SAP SE
76
- * @version 1.122.0
76
+ * @version 1.124.0
77
77
  *
78
78
  * @constructor
79
79
  * @private
@@ -84,6 +84,9 @@ sap.ui.define([
84
84
  metadata: {
85
85
  library: "sap.rules.ui",
86
86
  properties: {
87
+ /**
88
+ * @deprecated Since 1.52.8, use the attribute RuleFormat instead.
89
+ */
87
90
  cellFormat: {
88
91
  type: "sap.rules.ui.DecisionTableCellFormat",
89
92
  defaultValue: library.DecisionTableCellFormat.Both
@@ -102,7 +105,7 @@ sap.ui.define([
102
105
  },
103
106
  decisionTableFormat: {
104
107
  type: "sap.rules.ui.DecisionTableFormat",
105
- defaultValue: library.DecisionTableFormat.CellFormat
108
+ defaultValue: library.DecisionTableFormat.RuleFormat
106
109
  },
107
110
  enableSettingResult: {
108
111
  type: "boolean",
@@ -778,7 +781,7 @@ sap.ui.define([
778
781
  this.oResultInput = new Input({
779
782
  width: "220px",
780
783
  //enabled: "{settingsModel>/results/enabled}",
781
- valueHelpOnly: true,
784
+ //valueHelpOnly: true,
782
785
  showValueHelp: true,
783
786
  value: resultText,
784
787
  tooltip: this.oBundle.getText("chooseResultTooltip"),
@@ -1134,19 +1137,19 @@ sap.ui.define([
1134
1137
 
1135
1138
  oDecisionTableSettings.prototype._getCellFormat = function () {
1136
1139
  //Handling the valueOnly when the DecisionTableFormat is set to RuleFormat
1137
- var sCellFormat = this.getProperty("cellFormat");
1140
+ //var sCellFormat = this.getProperty("cellFormat");
1138
1141
  var sdecisionTableFormat = this.getProperty("decisionTableFormat");
1139
1142
  if (sdecisionTableFormat === library.DecisionTableFormat.RuleFormat) {
1140
1143
  return (this.getModel().getData().RuleFormat === library.RuleFormat.Basic) ? true : false;
1141
1144
  }
1142
- return (sCellFormat !== library.DecisionTableCellFormat.Text) ? true : false;
1145
+ //return (sCellFormat !== library.DecisionTableCellFormat.Text) ? true : false;
1143
1146
  };
1144
1147
 
1145
1148
  //structure definition for the visibility of columns. This will be a part of the settings model
1146
1149
  oDecisionTableSettings.prototype._getCellFormatAcccessOptions = function () {
1147
- var sCellFormat = this.getProperty("cellFormat");
1150
+ //var sCellFormat = this.getProperty("cellFormat");
1148
1151
  var oCellFormatData = {
1149
- CellFormat: sCellFormat,
1152
+ //CellFormat: sCellFormat,
1150
1153
  cellFormatEnumration: [{
1151
1154
  key: Constants.KEY_EDITABLE,
1152
1155
  value: this.editableModeText
@@ -1158,7 +1161,7 @@ sap.ui.define([
1158
1161
  return oCellFormatData;
1159
1162
  };
1160
1163
 
1161
- oDecisionTableSettings.prototype._getCellFormatData = function () {
1164
+ /*oDecisionTableSettings.prototype._getCellFormatData = function () {
1162
1165
  var sCellFormat = this.getProperty("cellFormat");
1163
1166
  var oCellFormatData = {
1164
1167
  CellFormat: sCellFormat,
@@ -1171,7 +1174,7 @@ sap.ui.define([
1171
1174
  }]
1172
1175
  };
1173
1176
  return oCellFormatData;
1174
- };
1177
+ };*/
1175
1178
 
1176
1179
  oDecisionTableSettings.prototype._getColumnInputMode = function (bValueOnly) {
1177
1180
  if (!bValueOnly) {
@@ -1404,12 +1407,12 @@ sap.ui.define([
1404
1407
  return oHitPolicyData;
1405
1408
  };
1406
1409
 
1407
- oDecisionTableSettings.prototype._getInputModeEnabled = function (sCellFormat, bValueOnly) {
1410
+ /*oDecisionTableSettings.prototype._getInputModeEnabled = function (sCellFormat, bValueOnly) {
1408
1411
  if (sCellFormat !== library.DecisionTableCellFormat.Both || bValueOnly === false) {
1409
1412
  return false;
1410
1413
  }
1411
1414
  return true;
1412
- };
1415
+ };*/
1413
1416
 
1414
1417
  //Rebinding predefined table when result is change or refresh event
1415
1418
  oDecisionTableSettings.prototype._getLatestResultDataObjects = function (newResultDataObjectId) {
@@ -1583,7 +1586,7 @@ sap.ui.define([
1583
1586
  initialData.hitPolicy = this._getHitPoliciesData();
1584
1587
  initialData.tableData = {};
1585
1588
  initialData.removeRowEnabled = false;
1586
- initialData.cellFormat = this._getCellFormatData();
1589
+ //initialData.cellFormat = this._getCellFormatData();
1587
1590
  initialData.accessOptions = this._getCellFormatAcccessOptions();
1588
1591
  initialData.updateAllRows = false;
1589
1592
  initialData.predefinedResults = [];
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.122.0
41
+ * @version 1.124.0
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -486,9 +486,9 @@ sap.ui.define([
486
486
  backgroundDesign: sap.m.BackgroundDesign.Solid,
487
487
  showSeparators: sap.m.ListSeparators.None,
488
488
  fixedLayout: true,
489
- layoutData: new sap.ui.layout.form.GridContainerData({
489
+ /*layoutData: new sap.ui.layout.form.GridContainerData({
490
490
  halfGrid: false
491
- }),
491
+ }),*/
492
492
  columns: [
493
493
  new sap.m.Column({
494
494
  width: "50%",
@@ -734,10 +734,13 @@ sap.ui.define([
734
734
  ExpressionAdvanced.prototype._createDialog = function(basePath, valueHelpInfo, curPos, businessDataType, bAddSpace, bReplaceWord,
735
735
  bValuehelpLinkPress) {
736
736
  this._createValueHelpDialog(basePath, valueHelpInfo, curPos, businessDataType, bAddSpace, bReplaceWord, bValuehelpLinkPress);
737
- this._createSmartFilterBar(basePath, valueHelpInfo);
738
- this.oValueHelpDialog.setFilterBar(this.oFilterBar);
739
- this.oValueHelpDialog.open();
740
- this.oValueHelpDialog.getTable().setBusy(true);
737
+ this.oValueHelpDialog.getTableAsync().then(function (oTable) {
738
+ this.oValueHelpDialogTable = oTable;
739
+ this._createSmartFilterBar(basePath, valueHelpInfo);
740
+ this.oValueHelpDialog.setFilterBar(this.oFilterBar);
741
+ this.oValueHelpDialog.open();
742
+ this.oValueHelpDialogTable.setBusy(true);
743
+ }.bind(this));
741
744
  };
742
745
 
743
746
  /*
@@ -883,7 +886,7 @@ sap.ui.define([
883
886
  * Called when the search is triggered in SmartFilter.
884
887
  */
885
888
  ExpressionAdvanced.prototype.onSearch = function(basePath, valueHelpInfo) {
886
- this.oValueHelpDialog.getTable().setBusy(true);
889
+ this.oValueHelpDialogTable.setBusy(true);
887
890
  this._unBindTable();
888
891
  this._bindTable(basePath, valueHelpInfo);
889
892
  };
@@ -901,7 +904,7 @@ sap.ui.define([
901
904
  }
902
905
  };
903
906
 
904
- var oTable = this.oValueHelpDialog.getTable();
907
+ var oTable = this.oValueHelpDialogTable;
905
908
  oTable.setThreshold(10);
906
909
 
907
910
  for (var i = 0; i < mEntities.valueHelp.properties.length; i++) {
@@ -919,11 +922,11 @@ sap.ui.define([
919
922
  var that = this;
920
923
  var data = oEvent.getParameter("data");
921
924
  if (jQuery.isEmptyObject(data) || (data && data.results && data.results.length === 0)) {
922
- this.oValueHelpDialog.getTable().setNoData(that.oBundle.getText("no_data"));
925
+ this.oValueHelpDialogTable.setNoData(that.oBundle.getText("no_data"));
923
926
  } else {
924
- this.oValueHelpDialog.getTable().setNoData(that.oBundle.getText("searching"));
927
+ this.oValueHelpDialogTable.setNoData(that.oBundle.getText("searching"));
925
928
  }
926
- this.oValueHelpDialog.getTable().setBusy(false);
929
+ this.oValueHelpDialogTable.setBusy(false);
927
930
  };
928
931
 
929
932
  // Utility function to create columns for the table.
@@ -941,7 +944,7 @@ sap.ui.define([
941
944
  * unBind the table Rows.
942
945
  */
943
946
  ExpressionAdvanced.prototype._unBindTable = function() {
944
- var oTable = this.oValueHelpDialog.getTable();
947
+ var oTable = this.oValueHelpDialogTable;
945
948
  oTable.destroyColumns();
946
949
  oTable.unbindRows();
947
950
 
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.122.0
25
+ * @version 1.124.0
26
26
  *
27
27
  * @constructor
28
28
  * @private
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends Control
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.122.0
34
+ * @version 1.124.0
35
35
  *
36
36
  * @constructor
37
37
  * @private