@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.
- package/package.json +1 -1
- package/src/sap/rules/ui/.library +1 -1
- package/src/sap/rules/ui/AstExpressionBasic.js +1 -1
- package/src/sap/rules/ui/AstExpressionBasicRenderer.js +4 -2
- package/src/sap/rules/ui/AutoCompleteSuggestionContent.js +1 -1
- package/src/sap/rules/ui/BindingSpy.js +1 -1
- package/src/sap/rules/ui/DecisionTable.js +1 -1
- package/src/sap/rules/ui/DecisionTableCell.js +1 -1
- package/src/sap/rules/ui/DecisionTableCellAstExpressionBasic.js +1 -1
- package/src/sap/rules/ui/DecisionTableCellExpressionAdvanced.js +1 -1
- package/src/sap/rules/ui/DecisionTableCellExpressionBasic.js +1 -1
- package/src/sap/rules/ui/DecisionTableConfiguration.js +3 -2
- package/src/sap/rules/ui/DecisionTableSettings.js +1 -1
- package/src/sap/rules/ui/DecisionTableSettingsOld.js +1 -1
- package/src/sap/rules/ui/ExpressionBase.js +1 -1
- package/src/sap/rules/ui/ExpressionBasic.js +1 -1
- package/src/sap/rules/ui/InstructionRenderer.js +4 -4
- package/src/sap/rules/ui/RuleBase.js +1 -1
- package/src/sap/rules/ui/RuleBuilder.js +1 -1
- package/src/sap/rules/ui/TextRule.js +4 -1
- package/src/sap/rules/ui/TextRuleConfiguration.js +1 -1
- package/src/sap/rules/ui/TextRuleSettings.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionAdvancedFunctionPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionAggregateFunctionPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionArrayOperatorPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionComparisionOperatorPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionFixedValuePanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionFunctionalOperatorPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionLogicalOperatorPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionLoopFunctionPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionMathematicalOperatorPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionMiscellaneousOperatorPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionOperationsPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionRangeOperatorPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionTimeAndDurationFunctionPanel.js +1 -1
- package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionVocabularyPanel.js +1 -1
- package/src/sap/rules/ui/ast/util/SelectFunctionDialog.js +1 -1
- package/src/sap/rules/ui/codemirror/addon/search/search.js +3 -3
- package/src/sap/rules/ui/library.js +1 -1
- package/src/sap/rules/ui/parser/businessLanguage/lib/ASTConvertor.js +9 -10
- package/src/sap/rules/ui/parser/businessLanguage/lib/IDPLexer.js +17843 -17870
- package/src/sap/rules/ui/parser/businessLanguage/lib/IDPParser.js +73104 -73131
- package/src/sap/rules/ui/parser/businessLanguage/lib/antlr3_all_min.js +6 -6
- package/src/sap/rules/ui/parser/businessLanguage/lib/autoCompleteUtils.js +19 -27
- package/src/sap/rules/ui/parser/businessLanguage/lib/constants.js +7 -15
- package/src/sap/rules/ui/parser/businessLanguage/lib/constantsBase.js +6 -11
- package/src/sap/rules/ui/parser/businessLanguage/lib/conversionUtils.js +12 -20
- package/src/sap/rules/ui/parser/businessLanguage/lib/entityModel.js +13 -20
- package/src/sap/rules/ui/parser/businessLanguage/lib/entityModelConstractor.js +11 -17
- package/src/sap/rules/ui/parser/businessLanguage/lib/localeConversion.js +10 -26
- package/src/sap/rules/ui/parser/businessLanguage/lib/numberConversion.js +9 -15
- package/src/sap/rules/ui/parser/businessLanguage/lib/parseModel.js +13 -40
- package/src/sap/rules/ui/parser/businessLanguage/lib/parseUtils.js +16 -29
- package/src/sap/rules/ui/parser/businessLanguage/lib/parserTokens.js +6 -4
- package/src/sap/rules/ui/parser/businessLanguage/lib/parsingBackendMediator.js +20 -43
- package/src/sap/rules/ui/parser/businessLanguage/lib/termsUtils.js +13 -23
- package/src/sap/rules/ui/parser/businessLanguage/lib/utils.js +6 -8
- package/src/sap/rules/ui/parser/businessLanguage/lib/valueHelpValidator.js +9 -15
- package/src/sap/rules/ui/parser/businessLanguage/lib/vocabularyUtils.js +8 -16
- package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions.properties +1 -1
- package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions_ar.properties +0 -1
- package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions_bg.properties +0 -1
- package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions_de.properties +0 -1
- package/src/sap/rules/ui/parser/i18n/src/sap/hrf/res/properties/messages_descriptions_iw.properties +0 -1
- package/src/sap/rules/ui/parser/infrastructure/errorHandling/hrfException.js +103 -104
- package/src/sap/rules/ui/parser/infrastructure/locale/lib/constants.js +6 -8
- package/src/sap/rules/ui/parser/infrastructure/locale/lib/moment_JS_min.js +1996 -2014
- package/src/sap/rules/ui/parser/infrastructure/locale/lib/resourceBundle.js +9 -12
- package/src/sap/rules/ui/parser/infrastructure/messageHandling/lib/constants.js +6 -7
- package/src/sap/rules/ui/parser/infrastructure/messageHandling/lib/message.js +6 -7
- package/src/sap/rules/ui/parser/infrastructure/messageHandling/lib/opMessages.js +6 -7
- package/src/sap/rules/ui/parser/infrastructure/messageHandling/lib/responseCollector.js +14 -18
- package/src/sap/rules/ui/parser/infrastructure/util/constants.js +7 -8
- package/src/sap/rules/ui/parser/infrastructure/util/utilsBase.js +7 -13
- package/src/sap/rules/ui/parser/resources/common/lib/constants.js +7 -13
- package/src/sap/rules/ui/parser/resources/common/lib/oDataHandler.js +6 -10
- package/src/sap/rules/ui/parser/resources/common/lib/resourcesConvertor.js +10 -24
- package/src/sap/rules/ui/parser/resources/dependencies/lib/constants.js +5 -10
- package/src/sap/rules/ui/parser/resources/dependencies/lib/constantsBase.js +7 -9
- package/src/sap/rules/ui/parser/resources/dependencies/lib/objects.js +7 -10
- package/src/sap/rules/ui/parser/resources/rule/lib/constantsBase.js +6 -10
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/JSONLoader.js +32 -49
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/constants.js +625 -637
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/constantsBase.js +51 -49
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVoca.js +12 -24
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVocaContextBase.js +7 -10
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVocaContextFactory.js +14 -24
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVocaCoreFactory.js +8 -16
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/rtsVocaInitiator.js +10 -22
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/runtimeServicesCore.js +6 -2
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/runtimeServicesUtils.js +8 -13
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/termGeneration.js +19 -25
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/utils.js +24 -37
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/utilsBase.js +9 -20
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/validationUtils.js +7 -11
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocaConversionUtils.js +13 -10
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocaObjects.js +10 -22
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProvider.js +13 -24
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderBaseContext.js +6 -9
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderContextFactory.js +14 -24
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderFactory.js +9 -17
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderInitiator.js +11 -23
- package/src/sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderJSONContext.js +11 -27
- package/src/sap/rules/ui/parser/ruleBody/lib/constants.js +7 -14
- package/src/sap/rules/ui/parser/ruleBody/lib/constantsBase.js +8 -14
- package/src/sap/rules/ui/parser/ruleBody/lib/decisionTableCell.js +17 -25
- package/src/sap/rules/ui/parser/ruleBody/lib/dependenciesHandler.js +6 -12
- package/src/sap/rules/ui/parser/ruleBody/lib/ruleBody.js +16 -25
- package/src/sap/rules/ui/parser/ruleBody/lib/ruleBodyConvertor.js +16 -29
- package/src/sap/rules/ui/parser/ruleBody/lib/ruleBodyServices.js +9 -18
- package/src/sap/rules/ui/parser/ruleBody/lib/ruleBodyValidator.js +21 -38
- package/src/sap/rules/ui/parser/ruleBody/lib/ruleServices.js +21 -35
- package/src/sap/rules/ui/services/AstExpressionLanguage.js +2 -2
- package/src/sap/rules/ui/services/ExpressionLanguage.js +9 -9
- package/src/sap/rules/ui/themes/base/AstExpression.less +1 -0
- package/src/sap/rules/ui/themes/base/ExpressionBasic.less +4 -1
- package/src/sap/rules/ui/type/ExpressionAbs.js +1 -1
|
@@ -1,40 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
sap.rules.ui.parser.ruleBody.lib.ruleBodyValidator.lib = (function() {
|
|
22
|
-
|
|
23
|
-
var ruleBodyBase = sap.rules.ui.parser.ruleBody.lib.ruleBody.lib;
|
|
24
|
-
var ruleBodyConstants = sap.rules.ui.parser.ruleBody.lib.constants.lib;
|
|
25
|
-
var RelConstants = sap.rules.ui.parser.businessLanguage.lib.constants.lib;
|
|
26
|
-
var dependenciesObjectsLib = sap.rules.ui.parser.resources.dependencies.lib.objects.lib;
|
|
27
|
-
var dependenciesHandlerLib = sap.rules.ui.parser.ruleBody.lib.dependenciesHandler.lib;
|
|
28
|
-
var vocConstants = sap.rules.ui.parser.resources.vocabulary.lib.constants.lib;
|
|
29
|
-
var ResponseCollector = sap.rules.ui.parser.infrastructure.messageHandling.lib.responseCollector.lib.ResponseCollector;
|
|
30
|
-
var utilsBaseLib = sap.rules.ui.parser.infrastructure.util.utilsBase.lib;
|
|
31
|
-
var utilsLib = new utilsBaseLib.utilsBaseLib();
|
|
32
|
-
var utilConstantsLib = sap.rules.ui.parser.infrastructure.util.constants.lib;
|
|
33
|
-
var decisionTableCellLib = sap.rules.ui.parser.ruleBody.lib.decisionTableCell.lib;
|
|
34
|
-
var depConstants = sap.rules.ui.parser.resources.dependencies.lib.constants.lib;
|
|
35
|
-
|
|
36
|
-
function RuleBodyValidator() {
|
|
37
|
-
|
|
1
|
+
sap.ui.define([
|
|
2
|
+
"sap/rules/ui/parser/ruleBody/lib/ruleBody",
|
|
3
|
+
"sap/rules/ui/parser/ruleBody/lib/constants",
|
|
4
|
+
"sap/rules/ui/parser/businessLanguage/lib/constants",
|
|
5
|
+
"sap/rules/ui/parser/resources/dependencies/lib/objects",
|
|
6
|
+
"sap/rules/ui/parser/ruleBody/lib/dependenciesHandler",
|
|
7
|
+
"sap/rules/ui/parser/resources/vocabulary/lib/constants",
|
|
8
|
+
"sap/rules/ui/parser/infrastructure/messageHandling/lib/responseCollector",
|
|
9
|
+
"sap/rules/ui/parser/infrastructure/util/utilsBase",
|
|
10
|
+
"sap/rules/ui/parser/infrastructure/util/constants",
|
|
11
|
+
"sap/rules/ui/parser/ruleBody/lib/decisionTableCell",
|
|
12
|
+
"sap/rules/ui/parser/resources/dependencies/lib/constants"
|
|
13
|
+
], function(ruleBodyBase, ruleBodyConstants, RelConstants, dependenciesObjectsLib, dependenciesHandlerLib,
|
|
14
|
+
vocConstants, ResponseCollectorLib, utilsBaseLib, utilConstantsLib, decisionTableCellLib, depConstants) {
|
|
15
|
+
"use strict";
|
|
16
|
+
|
|
17
|
+
var utilsLib = new utilsBaseLib.utilsBaseLib();
|
|
18
|
+
var ResponseCollector = ResponseCollectorLib.ResponseCollector;
|
|
19
|
+
function RuleBodyValidator() {
|
|
20
|
+
|
|
38
21
|
jQuery.sap.log.debug("CTOR - Rule Validator");
|
|
39
22
|
ruleBodyBase.RuleBody.call(this); //improve inheritance writing
|
|
40
23
|
|
|
@@ -1765,4 +1748,4 @@ sap.rules.ui.parser.ruleBody.lib.ruleBodyValidator.lib = (function() {
|
|
|
1765
1748
|
return {
|
|
1766
1749
|
RuleBodyValidator: RuleBodyValidator
|
|
1767
1750
|
};
|
|
1768
|
-
}
|
|
1751
|
+
}, true);
|
|
@@ -1,36 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
var vocabularyConstants = sap.rules.ui.parser.resources.vocabulary.lib.constants.lib;
|
|
22
|
-
var vocabularyDataProviderInitiator = sap.rules.ui.parser.resources.vocabulary.lib.vocabularyDataProviderInitiator.lib;
|
|
23
|
-
var vocaDataProviderInitiatorLib = new vocabularyDataProviderInitiator.vocaDataProviderInitiatorLib();
|
|
24
|
-
var ruleBodyServLib = sap.rules.ui.parser.ruleBody.lib.ruleBodyServices.lib;
|
|
25
|
-
var ruleBodyServ = new ruleBodyServLib.RuleBodyServicesLib();
|
|
26
|
-
var ruleBodyConstants = sap.rules.ui.parser.ruleBody.lib.constants.lib;
|
|
27
|
-
var decisionTableCellLib = sap.rules.ui.parser.ruleBody.lib.decisionTableCell.lib;
|
|
28
|
-
var oDataHandler = sap.rules.ui.parser.resources.common.lib.oDataHandler.lib;
|
|
29
|
-
var parserConstantsLib = sap.rules.ui.parser.businessLanguage.lib.constants.lib;
|
|
30
|
-
var depConstants = sap.rules.ui.parser.resources.dependencies.lib.constants.lib;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
//Constants
|
|
1
|
+
sap.ui.define([
|
|
2
|
+
"sap/rules/ui/parser/infrastructure/messageHandling/lib/responseCollector",
|
|
3
|
+
"sap/rules/ui/parser/resources/common/lib/resourcesConvertor",
|
|
4
|
+
"sap/rules/ui/parser/resources/vocabulary/lib/vocabularyDataProviderInitiator",
|
|
5
|
+
"sap/rules/ui/parser/resources/vocabulary/lib/constants",
|
|
6
|
+
"sap/rules/ui/parser/ruleBody/lib/ruleBodyServices",
|
|
7
|
+
"sap/rules/ui/parser/ruleBody/lib/decisionTableCell",
|
|
8
|
+
"sap/rules/ui/parser/ruleBody/lib/constants",
|
|
9
|
+
"sap/rules/ui/parser/resources/common/lib/oDataHandler",
|
|
10
|
+
"sap/rules/ui/parser/businessLanguage/lib/constants",
|
|
11
|
+
"sap/rules/ui/parser/resources/dependencies/lib/constants"
|
|
12
|
+
], function(ResponseCollector, resourceConvertor, vocabularyDataProviderInitiator, vocabularyConstants,
|
|
13
|
+
ruleBodyServLib, decisionTableCellLib, ruleBodyConstants, oDataHandler, parserConstantsLib,
|
|
14
|
+
depConstants) {
|
|
15
|
+
"use strict";
|
|
16
|
+
|
|
17
|
+
var resCollector = ResponseCollector.ResponseCollector.getInstance();
|
|
18
|
+
var vocaDataProviderInitiatorLib = new vocabularyDataProviderInitiator.vocaDataProviderInitiatorLib();
|
|
19
|
+
var ruleBodyServ = new ruleBodyServLib.RuleBodyServicesLib();
|
|
20
|
+
//Constants
|
|
34
21
|
var ODATA_PAYLOAD_PROPERTY_RULE = "rule";
|
|
35
22
|
var ODATA_PAYLOAD_PROPERTY_RULES = "rules";
|
|
36
23
|
var ODATA_PAYLOAD_PROPERTY_ID = "id";
|
|
@@ -505,5 +492,4 @@ sap.rules.ui.parser.ruleBody.lib.ruleServices.lib = (function(){
|
|
|
505
492
|
validateExecutionContext : validateExecutionContext,
|
|
506
493
|
getParserExprLangVersion : getParserExprLangVersion
|
|
507
494
|
};
|
|
508
|
-
|
|
509
|
-
}());
|
|
495
|
+
}, true);
|
|
@@ -29,7 +29,7 @@ sap.ui.define(['jquery.sap.global',
|
|
|
29
29
|
*
|
|
30
30
|
* @class
|
|
31
31
|
* Provides the AstExpressionLanguage service functionality, such as expression validations, expression parsing, auto-complete suggestions, retrieving expression metadata and tokens, and performing runtime services (fetching data objects, outputs, etc).
|
|
32
|
-
* @extends
|
|
32
|
+
* @extends sap.ui.core.Element
|
|
33
33
|
*
|
|
34
34
|
* @author SAP SE
|
|
35
35
|
* @version 1.58.1
|
|
@@ -70,7 +70,7 @@ sap.ui.define(['jquery.sap.global',
|
|
|
70
70
|
this._astUtil = this._astBunldeInstance.ASTUtil;
|
|
71
71
|
this._termsBuilder = this._astBunldeInstance.TermsBuilder;
|
|
72
72
|
this._termsProvider = this._astBunldeInstance.TermsProvider;
|
|
73
|
-
this._infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
73
|
+
this._infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
74
74
|
this._autoComplete = new AutoComplete();
|
|
75
75
|
this.attachModelContextChange(this._setDataFromModel.bind(this));
|
|
76
76
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
@@ -25,7 +25,7 @@ sap.ui.define(["jquery.sap.global",
|
|
|
25
25
|
*
|
|
26
26
|
* @class
|
|
27
27
|
* Provides the ExpressionLanguage service functionality, such as expression validations, expression parsing, auto-complete suggestions, retrieving expression metadata and tokens, and performing runtime services (fetching data objects, outputs, etc).
|
|
28
|
-
* @extends
|
|
28
|
+
* @extends sap.ui.core.Element
|
|
29
29
|
*
|
|
30
30
|
* @author SAP SE
|
|
31
31
|
* @version 1.58.1
|
|
@@ -35,7 +35,7 @@ sap.ui.define(["jquery.sap.global",
|
|
|
35
35
|
* @alias sap.rules.ui.services.ExpressionLanguage
|
|
36
36
|
* @ui5-metamodel This element also will be described in the UI5 (legacy) designtime metamodel
|
|
37
37
|
*/
|
|
38
|
-
vocabularyConstants = vocabularyConstants
|
|
38
|
+
vocabularyConstants = vocabularyConstants;
|
|
39
39
|
var ExpressionLanguage = Element.extend("sap.rules.ui.services.ExpressionLanguage", {
|
|
40
40
|
metadata: {
|
|
41
41
|
library: "sap.rule.ui",
|
|
@@ -141,7 +141,7 @@ sap.ui.define(["jquery.sap.global",
|
|
|
141
141
|
"termModes": this._getTermModes()
|
|
142
142
|
};
|
|
143
143
|
|
|
144
|
-
var runtimeServiceLib = RtsInitiator
|
|
144
|
+
var runtimeServiceLib = RtsInitiator;
|
|
145
145
|
|
|
146
146
|
var runtimeServiceLibInstance = new runtimeServiceLib.vocaDataProviderInitiatorLib(); // eslint-disable-line new-cap
|
|
147
147
|
|
|
@@ -150,7 +150,7 @@ sap.ui.define(["jquery.sap.global",
|
|
|
150
150
|
};
|
|
151
151
|
|
|
152
152
|
ExpressionLanguage.prototype._initBackendParser = function() {
|
|
153
|
-
var backendParserLib = ParsingBackendMediator
|
|
153
|
+
var backendParserLib = ParsingBackendMediator;
|
|
154
154
|
this._backendParser = new backendParserLib.parsingBackendMediatorLib(); // eslint-disable-line new-cap
|
|
155
155
|
};
|
|
156
156
|
|
|
@@ -247,7 +247,7 @@ sap.ui.define(["jquery.sap.global",
|
|
|
247
247
|
**/
|
|
248
248
|
ExpressionLanguage.prototype._initResponseCollector = function(sSubject) {
|
|
249
249
|
|
|
250
|
-
var ResponseCollector = responseCollector.
|
|
250
|
+
var ResponseCollector = responseCollector.ResponseCollector;
|
|
251
251
|
var oResCollector = ResponseCollector.getInstance();
|
|
252
252
|
oResCollector.clear();
|
|
253
253
|
oResCollector.addSubject(sSubject);
|
|
@@ -317,7 +317,7 @@ sap.ui.define(["jquery.sap.global",
|
|
|
317
317
|
|
|
318
318
|
resCollectorInstance.setOpMessage("RuleValidation", "failure");
|
|
319
319
|
|
|
320
|
-
var result = RuleServices.
|
|
320
|
+
var result = RuleServices.validateRule(oConvertedRule, this._vocabularyName, this._runtimeService, flags);
|
|
321
321
|
|
|
322
322
|
if (result.status == "Success") {
|
|
323
323
|
resCollectorInstance.setOpMessage("RuleValidation", "success");
|
|
@@ -1507,7 +1507,7 @@ sap.ui.define(["jquery.sap.global",
|
|
|
1507
1507
|
eExpressionType) {
|
|
1508
1508
|
|
|
1509
1509
|
var flags = this._buildFlagsObject(null, "", true, false);
|
|
1510
|
-
var response = RuleServices.
|
|
1510
|
+
var response = RuleServices.validateDecisionTableExpression(sHeaderExpression,
|
|
1511
1511
|
sFixedOpr,
|
|
1512
1512
|
sCellExpression,
|
|
1513
1513
|
eExpressionType,
|
|
@@ -1537,7 +1537,7 @@ sap.ui.define(["jquery.sap.global",
|
|
|
1537
1537
|
var resCollectorInstance = ResponseCollector.getInstance();
|
|
1538
1538
|
resCollectorInstance.setOpMessage(sResponseCollectorStatus, "failure");
|
|
1539
1539
|
|
|
1540
|
-
var result = RuleServices.
|
|
1540
|
+
var result = RuleServices.validateDecisionTableExpression(sHeaderExpression, sFixedOpr, sCellExpression, eExpressionType, this._vocabularyName,
|
|
1541
1541
|
this._runtimeService, sExpressionLanguageVersion, flags);
|
|
1542
1542
|
|
|
1543
1543
|
if (result.status == "Success") {
|
|
@@ -1654,7 +1654,7 @@ sap.ui.define(["jquery.sap.global",
|
|
|
1654
1654
|
};
|
|
1655
1655
|
|
|
1656
1656
|
ExpressionLanguage.prototype.getExpressionLanguageVersion = function() {
|
|
1657
|
-
return RuleServices.
|
|
1657
|
+
return RuleServices.getParserExprLangVersion();
|
|
1658
1658
|
};
|
|
1659
1659
|
|
|
1660
1660
|
return ExpressionLanguage;
|