@sapui5/sap.rules.ui 1.98.0 → 1.101.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 (117) hide show
  1. package/package.json +1 -1
  2. package/src/sap/rules/ui/.library +1 -1
  3. package/src/sap/rules/ui/AstExpressionBasic.js +1 -1
  4. package/src/sap/rules/ui/AstExpressionBasicRenderer.js +4 -2
  5. package/src/sap/rules/ui/AutoCompleteSuggestionContent.js +1 -1
  6. package/src/sap/rules/ui/BindingSpy.js +1 -1
  7. package/src/sap/rules/ui/DecisionTable.js +1 -1
  8. package/src/sap/rules/ui/DecisionTableCell.js +1 -1
  9. package/src/sap/rules/ui/DecisionTableCellAstExpressionBasic.js +1 -1
  10. package/src/sap/rules/ui/DecisionTableCellExpressionAdvanced.js +1 -1
  11. package/src/sap/rules/ui/DecisionTableCellExpressionBasic.js +1 -1
  12. package/src/sap/rules/ui/DecisionTableConfiguration.js +3 -2
  13. package/src/sap/rules/ui/DecisionTableSettings.js +1 -1
  14. package/src/sap/rules/ui/DecisionTableSettingsOld.js +1 -1
  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 +4 -4
  18. package/src/sap/rules/ui/RuleBase.js +1 -1
  19. package/src/sap/rules/ui/RuleBuilder.js +1 -1
  20. package/src/sap/rules/ui/TextRule.js +4 -1
  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/AutoSuggestionAdvancedFunctionPanel.js +1 -1
  24. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionAggregateFunctionPanel.js +1 -1
  25. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionArrayOperatorPanel.js +1 -1
  26. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionComparisionOperatorPanel.js +1 -1
  27. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionFixedValuePanel.js +1 -1
  28. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionFunctionalOperatorPanel.js +1 -1
  29. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionLogicalOperatorPanel.js +1 -1
  30. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionLoopFunctionPanel.js +1 -1
  31. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionMathematicalOperatorPanel.js +1 -1
  32. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionMiscellaneousOperatorPanel.js +1 -1
  33. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionOperationsPanel.js +1 -1
  34. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionRangeOperatorPanel.js +1 -1
  35. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionTimeAndDurationFunctionPanel.js +1 -1
  36. package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionVocabularyPanel.js +1 -1
  37. package/src/sap/rules/ui/ast/util/SelectFunctionDialog.js +1 -1
  38. package/src/sap/rules/ui/codemirror/addon/search/search.js +3 -3
  39. package/src/sap/rules/ui/library.js +1 -1
  40. package/src/sap/rules/ui/parser/businessLanguage/lib/ASTConvertor.js +9 -10
  41. package/src/sap/rules/ui/parser/businessLanguage/lib/IDPLexer.js +17843 -17870
  42. package/src/sap/rules/ui/parser/businessLanguage/lib/IDPParser.js +73104 -73131
  43. package/src/sap/rules/ui/parser/businessLanguage/lib/antlr3_all_min.js +6 -6
  44. package/src/sap/rules/ui/parser/businessLanguage/lib/autoCompleteUtils.js +19 -27
  45. package/src/sap/rules/ui/parser/businessLanguage/lib/constants.js +7 -15
  46. package/src/sap/rules/ui/parser/businessLanguage/lib/constantsBase.js +6 -11
  47. package/src/sap/rules/ui/parser/businessLanguage/lib/conversionUtils.js +12 -20
  48. package/src/sap/rules/ui/parser/businessLanguage/lib/entityModel.js +13 -20
  49. package/src/sap/rules/ui/parser/businessLanguage/lib/entityModelConstractor.js +11 -17
  50. package/src/sap/rules/ui/parser/businessLanguage/lib/localeConversion.js +10 -26
  51. package/src/sap/rules/ui/parser/businessLanguage/lib/numberConversion.js +9 -15
  52. package/src/sap/rules/ui/parser/businessLanguage/lib/parseModel.js +13 -40
  53. package/src/sap/rules/ui/parser/businessLanguage/lib/parseUtils.js +16 -29
  54. package/src/sap/rules/ui/parser/businessLanguage/lib/parserTokens.js +6 -4
  55. package/src/sap/rules/ui/parser/businessLanguage/lib/parsingBackendMediator.js +20 -43
  56. package/src/sap/rules/ui/parser/businessLanguage/lib/termsUtils.js +13 -23
  57. package/src/sap/rules/ui/parser/businessLanguage/lib/utils.js +6 -8
  58. package/src/sap/rules/ui/parser/businessLanguage/lib/valueHelpValidator.js +9 -15
  59. package/src/sap/rules/ui/parser/businessLanguage/lib/vocabularyUtils.js +8 -16
  60. package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions.properties +1 -1
  61. package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions_ar.properties +0 -1
  62. package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions_bg.properties +0 -1
  63. package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions_de.properties +0 -1
  64. package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions_iw.properties +0 -1
  65. package/src/sap/rules/ui/parser/infrastructure/errorHandling/hrfException.js +103 -104
  66. package/src/sap/rules/ui/parser/infrastructure/locale/lib/constants.js +6 -8
  67. package/src/sap/rules/ui/parser/infrastructure/locale/lib/moment_JS_min.js +1996 -2014
  68. package/src/sap/rules/ui/parser/infrastructure/locale/lib/resourceBundle.js +9 -12
  69. package/src/sap/rules/ui/parser/infrastructure/messageHandling/lib/constants.js +6 -7
  70. package/src/sap/rules/ui/parser/infrastructure/messageHandling/lib/message.js +6 -7
  71. package/src/sap/rules/ui/parser/infrastructure/messageHandling/lib/opMessages.js +6 -7
  72. package/src/sap/rules/ui/parser/infrastructure/messageHandling/lib/responseCollector.js +14 -18
  73. package/src/sap/rules/ui/parser/infrastructure/util/constants.js +7 -8
  74. package/src/sap/rules/ui/parser/infrastructure/util/utilsBase.js +7 -13
  75. package/src/sap/rules/ui/parser/resources/common/lib/constants.js +7 -13
  76. package/src/sap/rules/ui/parser/resources/common/lib/oDataHandler.js +6 -10
  77. package/src/sap/rules/ui/parser/resources/common/lib/resourcesConvertor.js +10 -24
  78. package/src/sap/rules/ui/parser/resources/dependencies/lib/constants.js +5 -10
  79. package/src/sap/rules/ui/parser/resources/dependencies/lib/constantsBase.js +7 -9
  80. package/src/sap/rules/ui/parser/resources/dependencies/lib/objects.js +7 -10
  81. package/src/sap/rules/ui/parser/resources/rule/lib/constantsBase.js +6 -10
  82. package/src/sap/rules/ui/parser/resources/vocabulary/lib/JSONLoader.js +32 -49
  83. package/src/sap/rules/ui/parser/resources/vocabulary/lib/constants.js +625 -637
  84. package/src/sap/rules/ui/parser/resources/vocabulary/lib/constantsBase.js +51 -49
  85. package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVoca.js +12 -24
  86. package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVocaContextBase.js +7 -10
  87. package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVocaContextFactory.js +14 -24
  88. package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVocaCoreFactory.js +8 -16
  89. package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVocaInitiator.js +10 -22
  90. package/src/sap/rules/ui/parser/resources/vocabulary/lib/runtimeServicesCore.js +6 -2
  91. package/src/sap/rules/ui/parser/resources/vocabulary/lib/runtimeServicesUtils.js +8 -13
  92. package/src/sap/rules/ui/parser/resources/vocabulary/lib/termGeneration.js +19 -25
  93. package/src/sap/rules/ui/parser/resources/vocabulary/lib/utils.js +24 -37
  94. package/src/sap/rules/ui/parser/resources/vocabulary/lib/utilsBase.js +9 -20
  95. package/src/sap/rules/ui/parser/resources/vocabulary/lib/validationUtils.js +7 -11
  96. package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocaConversionUtils.js +13 -10
  97. package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocaObjects.js +10 -22
  98. package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProvider.js +13 -24
  99. package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderBaseContext.js +6 -9
  100. package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderContextFactory.js +14 -24
  101. package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderFactory.js +9 -17
  102. package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderInitiator.js +11 -23
  103. package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderJSONContext.js +11 -27
  104. package/src/sap/rules/ui/parser/ruleBody/lib/constants.js +7 -14
  105. package/src/sap/rules/ui/parser/ruleBody/lib/constantsBase.js +8 -14
  106. package/src/sap/rules/ui/parser/ruleBody/lib/decisionTableCell.js +17 -25
  107. package/src/sap/rules/ui/parser/ruleBody/lib/dependenciesHandler.js +6 -12
  108. package/src/sap/rules/ui/parser/ruleBody/lib/ruleBody.js +16 -25
  109. package/src/sap/rules/ui/parser/ruleBody/lib/ruleBodyConvertor.js +16 -29
  110. package/src/sap/rules/ui/parser/ruleBody/lib/ruleBodyServices.js +9 -18
  111. package/src/sap/rules/ui/parser/ruleBody/lib/ruleBodyValidator.js +21 -38
  112. package/src/sap/rules/ui/parser/ruleBody/lib/ruleServices.js +21 -35
  113. package/src/sap/rules/ui/services/AstExpressionLanguage.js +2 -2
  114. package/src/sap/rules/ui/services/ExpressionLanguage.js +9 -9
  115. package/src/sap/rules/ui/themes/base/AstExpression.less +1 -0
  116. package/src/sap/rules/ui/themes/base/ExpressionBasic.less +4 -1
  117. package/src/sap/rules/ui/type/ExpressionAbs.js +1 -1
@@ -1,20 +1,11 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.resources.vocabulary.lib.vocaObjects");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.runtimeServicesUtils");
4
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.constants");
5
-
6
-
7
- //**************************************************************************************************/
8
- //**************************************************************************************************/
9
- sap.rules.ui.parser.resources.vocabulary.lib.vocaObjects = sap.rules.ui.parser.resources.vocabulary.lib.vocaObjects|| {};
10
- sap.rules.ui.parser.resources.vocabulary.lib.vocaObjects.lib = (function() {
11
-
12
- var utils = sap.rules.ui.parser.resources.vocabulary.lib.runtimeServicesUtils.lib;
13
- utils = new utils.runtimeServicesUtilsLib();
14
-
15
- var vocabularyConstants = sap.rules.ui.parser.resources.vocabulary.lib.constants.lib;
16
-
17
- function VocaInfo (id, name, suffix, scope, isWritable, isPrivate, isValueListConverted, vocaPackage, vocaShortName, versionId) {
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/resources/vocabulary/lib/runtimeServicesUtils",
3
+ "sap/rules/ui/parser/resources/vocabulary/lib/constants"
4
+ ], function(utils, vocabularyConstants) {
5
+ "use strict";
6
+
7
+ utils = new utils.runtimeServicesUtilsLib();
8
+ function VocaInfo (id, name, suffix, scope, isWritable, isPrivate, isValueListConverted, vocaPackage, vocaShortName, versionId) {
18
9
  this.id = id;
19
10
  this.name = name;
20
11
  this.suffix = suffix;
@@ -393,8 +384,5 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocaObjects.lib = (function() {
393
384
  OutputRequiredParams : OutputRequiredParams,
394
385
  ParameterInfo : ParameterInfo,
395
386
  getOutputParamsObj : getOutputParamsObj
396
- };
397
-
398
-
399
- }());
400
-
387
+ };
388
+ }, true);
@@ -1,25 +1,15 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProvider");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.resources.rule.lib.constantsBase");
4
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.constants");
5
- jQuery.sap.require("sap.rules.ui.parser.businessLanguage.lib.constants");
6
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.runtimeServicesUtils");
7
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.vocaObjects");
8
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.vocaConversionUtils");
9
-
10
-
11
-
12
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProvider = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProvider|| {};
13
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProvider.lib = (function() {
14
- var ruleConstants = sap.rules.ui.parser.resources.rule.lib.constantsBase.lib;
15
- var vocaConstants = sap.rules.ui.parser.resources.vocabulary.lib.constants.lib;
16
- var vocaObjects = sap.rules.ui.parser.resources.vocabulary.lib.vocaObjects.lib;
17
- var utils = sap.rules.ui.parser.resources.vocabulary.lib.runtimeServicesUtils.lib;
18
- utils = new utils.runtimeServicesUtilsLib();
19
- var conversionUtils = sap.rules.ui.parser.resources.vocabulary.lib.vocaConversionUtils;
20
-
21
-
22
- //*********************************************************************************************
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/resources/rule/lib/constantsBase",
3
+ "sap/rules/ui/parser/resources/vocabulary/lib/constants",
4
+ "sap/rules/ui/parser/resources/vocabulary/lib/runtimeServicesUtils",
5
+ "sap/rules/ui/parser/resources/vocabulary/lib/vocaObjects",
6
+ "sap/rules/ui/parser/resources/vocabulary/lib/vocaConversionUtils",
7
+ "sap/rules/ui/parser/businessLanguage/lib/constants"
8
+ ], function(ruleConstants, vocaConstants, utils, vocaObjects, conversionUtils) {
9
+ "use strict";
10
+
11
+ utils = new utils.runtimeServicesUtilsLib();
12
+ //*********************************************************************************************
23
13
  //************************************************************************************************
24
14
  function vocabularyDataProvider(vocaRTContext) {
25
15
 
@@ -2548,5 +2538,4 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProvider.lib = (funct
2548
2538
  vocabularyDataProvider : vocabularyDataProvider
2549
2539
 
2550
2540
  };
2551
-
2552
- }());
2541
+ }, true);
@@ -1,10 +1,7 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderBaseContext");
2
-
3
-
4
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderBaseContext = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderBaseContext|| {};
5
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderBaseContext.lib = (function() {
6
-
7
- function vocaDataProviderBaseContextLib()
1
+ sap.ui.define([
2
+ ], function() {
3
+ "use strict";
4
+ function vocaDataProviderBaseContextLib()
8
5
  {
9
6
 
10
7
  }
@@ -13,5 +10,5 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderBaseContext.l
13
10
  return {
14
11
  vocaDataProviderBaseContextLib: vocaDataProviderBaseContextLib
15
12
  };
16
-
17
- }());
13
+
14
+ }, true);
@@ -1,16 +1,10 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactory");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.constants");
4
-
5
-
6
-
7
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactory = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactory|| {};
8
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactory.lib = (function() {
9
-
10
- var vocabularyConstants = sap.rules.ui.parser.resources.vocabulary.lib.constants.lib;
11
-
12
-
13
- function vocaDataProviderContextFactoryLib() {
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/resources/vocabulary/lib/constants",
3
+ "sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderJSONContext"
4
+ ], function(vocabularyConstants, vocabularyDataProviderJSONContext) {
5
+ "use strict";
6
+
7
+ function vocaDataProviderContextFactoryLib() {
14
8
  //Constructor to enable usage of public method on the client side.
15
9
  //This mechanism was used in HRF to enable association to corresponding namespace in the client side.
16
10
  }
@@ -18,10 +12,7 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactor
18
12
 
19
13
  //private methods
20
14
  function getRTSContextJSON(inputParamObj){
21
-
22
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderJSONContext");
23
- var vocabularyDataProviderJSONContext = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderJSONContext.lib;
24
-
15
+
25
16
  var rtsContextJSONInstance = new vocabularyDataProviderJSONContext.vocaDataProviderJSONContextLib(inputParamObj.resourceContent, inputParamObj.resourceID, inputParamObj.termModes);
26
17
  return rtsContextJSONInstance;
27
18
  }
@@ -29,8 +20,8 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactor
29
20
 
30
21
  function getRTSContextHANA(inputParamObj){
31
22
 
32
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.serverDBRTContext");
33
- var rtsContextHANALib = sap.rules.ui.parser.resources.vocabulary.lib.serverDBRTContext;
23
+ var rtsContextHANALib = sap.ui.require("sap/rules/ui/parser/resources/vocabulary/lib/serverDBRTContext");
24
+ //var rtsContextHANALib = sap.rules.ui.parser.resources.vocabulary.lib.serverDBRTContext;
34
25
 
35
26
  var rtsContextHANAInstance = new rtsContextHANALib.ServerVocaRTContext(inputParamObj.connection);
36
27
  return rtsContextHANAInstance;
@@ -39,8 +30,8 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactor
39
30
 
40
31
  function getRTSContextHybrid(inputParamObj){
41
32
 
42
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.serverJSONandDBRTcontext");
43
- var rtsContextHYBRIDLib = sap.rules.ui.parser.resources.vocabulary.lib.serverJSONandDBRTcontext;
33
+ var rtsContextHYBRIDLib = sap.ui.require("sap/rules/ui/parser/resources/vocabulary/lib/serverJSONandDBRTcontext");
34
+ //var rtsContextHYBRIDLib = sap.rules.ui.parser.resources.vocabulary.lib.serverJSONandDBRTcontext;
44
35
 
45
36
  var rtsContextHybridInstance = new rtsContextHYBRIDLib.ServerVocaDBandJsonRTContext(inputParamObj.connection, inputParamObj.resourceContent, inputParamObj.resourceID, inputParamObj.isThisPrivateVoca, inputParamObj.versionId);
46
37
  return rtsContextHybridInstance;
@@ -66,8 +57,7 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactor
66
57
 
67
58
  return {
68
59
  vocaDataProviderContextFactoryLib: vocaDataProviderContextFactoryLib
69
- };
70
-
71
- }());
60
+ };
61
+ }, true);
72
62
 
73
63
 
@@ -1,17 +1,10 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderFactory");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderBaseContext");
4
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProvider");
5
-
6
-
7
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderFactory = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderFactory|| {};
8
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderFactory.lib = (function() {
9
-
10
- var contextBase = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderBaseContext.lib;
11
- //var contextBaseLib = new contextBase.vocaDataProviderBaseContextLib();
12
- var vocabularyDataProviderBaseContext = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProvider.lib;
13
-
14
- function vocaDataProviderFactoryLib() {
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderBaseContext",
3
+ "sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProvider"
4
+ ], function(contextBase, vocabularyDataProviderBaseContext) {
5
+ "use strict";
6
+
7
+ function vocaDataProviderFactoryLib() {
15
8
  //Constructor to enable usage of public method on the client side.
16
9
  //This mechanism was used in HRF to enable association to corresponding namespace in the client side.
17
10
  }
@@ -40,6 +33,5 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderFactory.lib =
40
33
 
41
34
  return {
42
35
  vocaDataProviderFactoryLib: vocaDataProviderFactoryLib
43
- };
44
-
45
- }());
36
+ };
37
+ }, true);
@@ -1,21 +1,12 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderInitiator");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactory");
4
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderFactory");
5
-
6
-
7
-
8
-
9
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderInitiator = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderInitiator|| {};
10
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderInitiator.lib = (function() {
11
-
12
- var rtsContextFactory = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderContextFactory.lib;
13
- var vocaDataProviderContextFactoryLib = new rtsContextFactory.vocaDataProviderContextFactoryLib();
14
- var vocaRuntimeServicesFactory = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderFactory.lib;
15
- var runtimeServicesLib = new vocaRuntimeServicesFactory.vocaDataProviderFactoryLib();
16
-
17
-
18
- function vocaDataProviderInitiatorLib() {
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderContextFactory",
3
+ "sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderFactory"
4
+ ], function(rtsContextFactory, vocaRuntimeServicesFactory) {
5
+ "use strict";
6
+
7
+ var vocaDataProviderContextFactoryLib = new rtsContextFactory.vocaDataProviderContextFactoryLib();
8
+ var runtimeServicesLib = new vocaRuntimeServicesFactory.vocaDataProviderFactoryLib();
9
+ function vocaDataProviderInitiatorLib() {
19
10
  //Constructor to enable usage of public method on the client side.
20
11
  //This mechanism was used in HRF to enable association to corresponding namespace in the client side.
21
12
  }
@@ -41,8 +32,5 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderInitiator.lib
41
32
 
42
33
  return {
43
34
  vocaDataProviderInitiatorLib: vocaDataProviderInitiatorLib
44
- };
45
-
46
- }());
47
-
48
-
35
+ };
36
+ }, true);
@@ -1,23 +1,12 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderJSONContext");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderBaseContext");
4
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.JSONLoader");
5
- jQuery.sap.require("sap.rules.ui.parser.resources.common.lib.resourcesConvertor");
6
-
7
-
8
-
9
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderJSONContext = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderJSONContext|| {};
10
- sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderJSONContext.lib = (function() {
11
-
12
-
13
- var vocabularyDataProviderBaseContext = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderBaseContext.lib;
14
- var jsonLoader = sap.rules.ui.parser.resources.vocabulary.lib.JSONLoader.lib;
15
- var jsonLoaderLib = new jsonLoader.JSONLoaderLib();
16
- var resourcesConvertor = sap.rules.ui.parser.resources.common.lib.resourcesConvertor.lib;
17
-
18
-
19
-
20
- /*--------------------------------------------------------------------
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderBaseContext",
3
+ "sap/rules/ui/parser/resources/vocabulary/lib/JSONLoader",
4
+ "sap/rules/ui/parser/resources/common/lib/resourcesConvertor"
5
+ ], function(vocabularyDataProviderBaseContext, jsonLoader, resourcesConvertor) {
6
+ "use strict";
7
+
8
+ var jsonLoaderLib = new jsonLoader.JSONLoaderLib();
9
+ /*--------------------------------------------------------------------
21
10
  * Constructor
22
11
  *--------------------------------------------------------------------*/
23
12
  function vocaDataProviderJSONContextLib(resourceContent, resourceID, termModes) {
@@ -260,10 +249,5 @@ sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderJSONContext.l
260
249
 
261
250
  return {
262
251
  vocaDataProviderJSONContextLib: vocaDataProviderJSONContextLib
263
- };
264
-
265
- }());
266
-
267
-
268
-
269
-
252
+ };
253
+ }, true);
@@ -1,15 +1,9 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.ruleBody.lib.constants");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.constantsBase");
4
-
5
-
6
-
7
- sap.rules.ui.parser.ruleBody.lib.constants = sap.rules.ui.parser.ruleBody.lib.constants|| {};
8
- sap.rules.ui.parser.ruleBody.lib.constants.lib = (function() {
9
-
10
- var ruleBodyConstantsLib = sap.rules.ui.parser.ruleBody.lib.constantsBase.lib;
11
-
12
- var consts = {};
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/ruleBody/lib/constantsBase"
3
+ ], function(ruleBodyConstantsLib) {
4
+ "use strict";
5
+
6
+ var consts = {};
13
7
 
14
8
  /************************************************
15
9
  Rule Body constants
@@ -191,5 +185,4 @@ sap.rules.ui.parser.ruleBody.lib.constants.lib = (function() {
191
185
  consts.RULE_SUCCESS = 'Success';
192
186
 
193
187
  return consts;
194
-
195
- }());
188
+ }, true);
@@ -1,15 +1,10 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.ruleBody.lib.constantsBase");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.resources.dependencies.lib.constantsBase");
4
- jQuery.sap.require("sap.rules.ui.parser.businessLanguage.lib.constants");
5
-
6
- sap.rules.ui.parser.ruleBody.lib.constantsBase = sap.rules.ui.parser.ruleBody.lib.constantsBase|| {};
7
- sap.rules.ui.parser.ruleBody.lib.constantsBase.lib = ( function() {
8
-
9
- var dependenciesConstantsLib = sap.rules.ui.parser.resources.dependencies.lib.constantsBase.lib;
10
- var RelConstants = sap.rules.ui.parser.businessLanguage.lib.constants.lib;
11
-
12
- var consts = {
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/resources/dependencies/lib/constantsBase",
3
+ "sap/rules/ui/parser/businessLanguage/lib/constants"
4
+ ], function(dependenciesConstantsLib, RelConstants) {
5
+ "use strict";
6
+
7
+ var consts = {
13
8
 
14
9
  //Enumerator for the output flags
15
10
  OUTPUT_FLAGS_ENUM : {
@@ -43,5 +38,4 @@ sap.rules.ui.parser.ruleBody.lib.constantsBase.lib = ( function() {
43
38
 
44
39
 
45
40
  return consts;
46
- }
47
- ());
41
+ }, true);
@@ -1,27 +1,20 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.ruleBody.lib.decisionTableCell");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.businessLanguage.lib.parsingBackendMediator");
4
- jQuery.sap.require("sap.rules.ui.parser.businessLanguage.lib.ASTConvertor");
5
- jQuery.sap.require("sap.rules.ui.parser.infrastructure.errorHandling.hrfException");
6
- jQuery.sap.require("sap.rules.ui.parser.infrastructure.messageHandling.lib.responseCollector");
7
- jQuery.sap.require("sap.rules.ui.parser.businessLanguage.lib.constants");
8
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.constants");
9
- jQuery.sap.require("sap.rules.ui.parser.AST.lib.bundleAst");
10
- jQuery.sap.require("sap.rules.ui.parser.resources.vocabulary.lib.constants");
11
-
12
- sap.rules.ui.parser.ruleBody.lib.decisionTableCell = sap.rules.ui.parser.ruleBody.lib.decisionTableCell|| {};
13
- sap.rules.ui.parser.ruleBody.lib.decisionTableCell.lib = (function() {
14
-
15
- var parser = new sap.rules.ui.parser.businessLanguage.lib.parsingBackendMediator.lib.parsingBackendMediatorLib();
16
- var ASTConvertorLib = sap.rules.ui.parser.businessLanguage.lib.ASTConvertor.lib;
17
- var hrfException = sap.rules.ui.parser.infrastructure.errorHandling.hrfException.lib;
18
- var responseCollector = sap.rules.ui.parser.infrastructure.messageHandling.lib.responseCollector.lib.ResponseCollector;
19
- var parserConstants = sap.rules.ui.parser.businessLanguage.lib.constants.lib;
20
- var ruleBodyconstants = sap.rules.ui.parser.ruleBody.lib.constants.lib;
21
- var bundleApi = RulesAPI_Ast;
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/businessLanguage/lib/parsingBackendMediator",
3
+ "sap/rules/ui/parser/businessLanguage/lib/ASTConvertor",
4
+ "sap/rules/ui/parser/infrastructure/errorHandling/hrfException",
5
+ "sap/rules/ui/parser/infrastructure/messageHandling/lib/responseCollector",
6
+ "sap/rules/ui/parser/businessLanguage/lib/constants",
7
+ "sap/rules/ui/parser/ruleBody/lib/constants",
8
+ "sap/rules/ui/parser/AST/lib/bundleAst",
9
+ "sap/rules/ui/parser/resources/vocabulary/lib/constants"
10
+ ], function(parser, ASTConvertorLib, hrfException, responseCollector, parserConstants, ruleBodyconstants,
11
+ bundleAst, vocaConstants) {
12
+ "use strict";
13
+
14
+ var bundleApi = RulesAPI_Ast;
22
15
  var ASTOperationsLib = bundleApi.astOperations;
23
- var vocaConstants = sap.rules.ui.parser.resources.vocabulary.lib.constants.lib;
24
-
16
+ var responseCollector = responseCollector.ResponseCollector;
17
+ var parser = new parser.parsingBackendMediatorLib();
25
18
  /**
26
19
  * C'tor
27
20
  */
@@ -540,5 +533,4 @@ sap.rules.ui.parser.ruleBody.lib.decisionTableCell.lib = (function() {
540
533
  concatToDecisionTableCondition : concatToDecisionTableCondition,
541
534
  splitDecisionTableCondition : splitDecisionTableCondition
542
535
  };
543
-
544
- }());
536
+ }, true);
@@ -1,11 +1,8 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.ruleBody.lib.dependenciesHandler");
2
-
3
-
4
- sap.rules.ui.parser.ruleBody.lib.dependenciesHandler = sap.rules.ui.parser.ruleBody.lib.dependenciesHandler|| {};
5
- sap.rules.ui.parser.ruleBody.lib.dependenciesHandler.lib = (function() {
6
-
7
-
8
- function DependeciesHandler() {
1
+ sap.ui.define([
2
+ ], function() {
3
+ "use strict";
4
+
5
+ function DependeciesHandler() {
9
6
  this.depMap ={};
10
7
  }
11
8
 
@@ -28,10 +25,7 @@ sap.rules.ui.parser.ruleBody.lib.dependenciesHandler.lib = (function() {
28
25
  }
29
26
  };
30
27
 
31
-
32
-
33
28
  return {
34
29
  DependeciesHandler: DependeciesHandler
35
30
  };
36
-
37
- }());
31
+ }, true);
@@ -1,27 +1,18 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.ruleBody.lib.ruleBody");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.businessLanguage.lib.parsingBackendMediator");
4
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.constants");
5
- jQuery.sap.require("sap.rules.ui.parser.infrastructure.errorHandling.hrfException");
6
- jQuery.sap.require("sap.rules.ui.parser.infrastructure.messageHandling.lib.responseCollector");
7
- jQuery.sap.require("sap.rules.ui.parser.infrastructure.util.utilsBase");
8
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.decisionTableCell");
9
- /**
10
- * Represents RuleBody base "class"
11
- * @constructor
12
- */
13
- sap.rules.ui.parser.ruleBody.lib.ruleBody = sap.rules.ui.parser.ruleBody.lib.ruleBody|| {};
14
- sap.rules.ui.parser.ruleBody.lib.ruleBody.lib = (function() {
15
-
16
- var parser = new sap.rules.ui.parser.businessLanguage.lib.parsingBackendMediator.lib.parsingBackendMediatorLib();
17
- var ruleBodyConstants = sap.rules.ui.parser.ruleBody.lib.constants.lib;
18
- var hrfException = sap.rules.ui.parser.infrastructure.errorHandling.hrfException.lib;
19
- var ResponseCollector = sap.rules.ui.parser.infrastructure.messageHandling.lib.responseCollector.lib.ResponseCollector;
20
- var utilsBaseLib = sap.rules.ui.parser.infrastructure.util.utilsBase.lib;
21
- var utilsLib = new utilsBaseLib.utilsBaseLib();
22
- var decisionTableCellLib = sap.rules.ui.parser.ruleBody.lib.decisionTableCell.lib;
23
-
24
- var expressionEmpty= function(expression) {
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/businessLanguage/lib/parsingBackendMediator",
3
+ "sap/rules/ui/parser/ruleBody/lib/constants",
4
+ "sap/rules/ui/parser/infrastructure/errorHandling/hrfException",
5
+ "sap/rules/ui/parser/infrastructure/messageHandling/lib/responseCollector",
6
+ "sap/rules/ui/parser/infrastructure/util/utilsBase",
7
+ "sap/rules/ui/parser/ruleBody/lib/decisionTableCell"
8
+ ], function(parsingBackendMediator, ruleBodyConstants, hrfException, ResponseCollector, utilsBaseLib,
9
+ decisionTableCellLib) {
10
+ "use strict";
11
+
12
+ var parser = new parsingBackendMediator.parsingBackendMediatorLib();
13
+ var utilsLib = new utilsBaseLib.utilsBaseLib();
14
+ var ResponseCollector = ResponseCollector.ResponseCollector;
15
+ var expressionEmpty= function(expression) {
25
16
  if (expression === null || expression === undefined || expression === "") {
26
17
  return true;
27
18
  }
@@ -519,4 +510,4 @@ sap.rules.ui.parser.ruleBody.lib.ruleBody.lib = (function() {
519
510
  return {
520
511
  RuleBody: RuleBody
521
512
  };
522
- }());
513
+ }, true);
@@ -1,32 +1,19 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.ruleBody.lib.ruleBodyConvertor");
2
-
3
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.ruleBodyValidator");
4
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.constants");
5
- jQuery.sap.require("sap.rules.ui.parser.businessLanguage.lib.constants");
6
- jQuery.sap.require("sap.rules.ui.parser.infrastructure.util.utilsBase");
7
- jQuery.sap.require("sap.rules.ui.parser.businessLanguage.lib.valueHelpValidator");
8
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.decisionTableCell");
9
- jQuery.sap.require("sap.rules.ui.parser.businessLanguage.lib.ASTConvertor");
10
- jQuery.sap.require("sap.rules.ui.parser.AST.lib.bundleAst");
11
-
12
-
13
- /**
14
- * This class is a for rule body conversions:
15
- * @constructor
16
- */
17
-
18
- sap.rules.ui.parser.ruleBody.lib.ruleBodyConvertor = sap.rules.ui.parser.ruleBody.lib.ruleBodyConvertor|| {};
19
- sap.rules.ui.parser.ruleBody.lib.ruleBodyConvertor.lib = (function() {
20
-
21
- var ruleBodyValidatorLib = sap.rules.ui.parser.ruleBody.lib.ruleBodyValidator.lib;
22
- var constants = sap.rules.ui.parser.ruleBody.lib.constants.lib;
23
- var parserConstants = sap.rules.ui.parser.businessLanguage.lib.constants.lib;
24
- var utilsBaseLib = new sap.rules.ui.parser.infrastructure.util.utilsBase.lib.utilsBaseLib();
25
- var valueHelpValidatorLib = sap.rules.ui.parser.businessLanguage.lib.valueHelpValidator.lib;
26
- var decisionTableCellLib = sap.rules.ui.parser.ruleBody.lib.decisionTableCell.lib;
27
- var ASTConvertorLib = sap.rules.ui.parser.businessLanguage.lib.ASTConvertor.lib;
28
- var bundleApi = RulesAPI_Ast;
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/ruleBody/lib/ruleBodyValidator",
3
+ "sap/rules/ui/parser/ruleBody/lib/constants",
4
+ "sap/rules/ui/parser/businessLanguage/lib/constants",
5
+ "sap/rules/ui/parser/infrastructure/util/utilsBase",
6
+ "sap/rules/ui/parser/businessLanguage/lib/valueHelpValidator",
7
+ "sap/rules/ui/parser/ruleBody/lib/decisionTableCell",
8
+ "sap/rules/ui/parser/businessLanguage/lib/ASTConvertor",
9
+ "sap/rules/ui/parser/AST/lib/bundleAst"
10
+ ], function(ruleBodyValidatorLib, constants, parserConstants, utilsBase, valueHelpValidatorLib,
11
+ decisionTableCellLib, ASTConvertorLib, ) {
12
+ "use strict";
13
+
14
+ var bundleApi = RulesAPI_Ast;
29
15
  var ASTOperationsLib = bundleApi.astOperations;
16
+ var utilsBaseLib = new utilsBase.utilsBaseLib();
30
17
 
31
18
 
32
19
  function RuleBodyConvertor(oDataRule) {
@@ -522,4 +509,4 @@ sap.rules.ui.parser.ruleBody.lib.ruleBodyConvertor.lib = (function() {
522
509
  return {
523
510
  RuleBodyConvertor: RuleBodyConvertor
524
511
  };
525
- }());
512
+ }, true);
@@ -1,19 +1,11 @@
1
- jQuery.sap.declare("sap.rules.ui.parser.ruleBody.lib.ruleBodyServices");
2
-
3
- //import
4
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.ruleBodyValidator");
5
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.ruleBodyConvertor");
6
- jQuery.sap.require("sap.rules.ui.parser.ruleBody.lib.constants");
7
-
8
- //Namespace
9
- sap.rules.ui.parser.ruleBody.lib.ruleBodyServices = sap.rules.ui.parser.ruleBody.lib.ruleBodyServices|| {};
10
- sap.rules.ui.parser.ruleBody.lib.ruleBodyServices.lib = (function() {
11
-
12
- var ruleBodyValidatorLib = sap.rules.ui.parser.ruleBody.lib.ruleBodyValidator.lib;
13
- var ruleBodyConvertorLib = sap.rules.ui.parser.ruleBody.lib.ruleBodyConvertor.lib;
14
- var ruleBodyConstants = sap.rules.ui.parser.ruleBody.lib.constants.lib;
15
-
16
- function RuleBodyServicesLib() {}
1
+ sap.ui.define([
2
+ "sap/rules/ui/parser/ruleBody/lib/ruleBodyValidator",
3
+ "sap/rules/ui/parser/ruleBody/lib/ruleBodyConvertor",
4
+ "sap/rules/ui/parser/ruleBody/lib/constants"
5
+ ], function(ruleBodyValidatorLib, ruleBodyConvertorLib, ruleBodyConstants) {
6
+ "use strict";
7
+
8
+ function RuleBodyServicesLib() {}
17
9
 
18
10
  /**
19
11
  * rule body conversion
@@ -145,5 +137,4 @@ sap.rules.ui.parser.ruleBody.lib.ruleBodyServices.lib = (function() {
145
137
  return {
146
138
  RuleBodyServicesLib: RuleBodyServicesLib
147
139
  };
148
-
149
- }());
140
+ }, true);