@sapui5/sap.rules.ui 1.98.0 → 1.99.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 +1 -1
- 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/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 +1 -1
- package/src/sap/rules/ui/services/ExpressionLanguage.js +8 -8
- 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
package/package.json
CHANGED
|
@@ -126,7 +126,7 @@ sap.ui.define([
|
|
|
126
126
|
},
|
|
127
127
|
|
|
128
128
|
init: function () {
|
|
129
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
129
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
130
130
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
131
131
|
this.aggregateFunctionCallBack = jQuery.proxy(this._updateAggregateFunction, this);
|
|
132
132
|
this.functionCallBack = jQuery.proxy(this._updateSelectFunction, this);
|
|
@@ -41,7 +41,7 @@ sap.ui.define([
|
|
|
41
41
|
oRm.writeControlData(oControl);
|
|
42
42
|
oRm.addClass("sapAstExpressionInputWrapper");
|
|
43
43
|
oRm.write(" aria-labelledby=\"\" >");
|
|
44
|
-
oRm.write("<pre
|
|
44
|
+
oRm.write("<pre class=\"sapAstExpressionPreSpaceMargin\">");
|
|
45
45
|
oRm.write("<div aria-labelledby=\"\" spellcheck=\"false\"" + sEditable + sPlaceHolder + " id=\"" +
|
|
46
46
|
oControl.getId() + "-input\" class=\"sapAstExpressionInput\"></div>");
|
|
47
47
|
oRm.write("</pre>");
|
|
@@ -71,7 +71,7 @@ sap.ui.define([
|
|
|
71
71
|
},
|
|
72
72
|
|
|
73
73
|
init: function () {
|
|
74
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
74
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
75
75
|
this.initializeVariables();
|
|
76
76
|
this.needCreateLayout = true;
|
|
77
77
|
},
|
|
@@ -24,7 +24,7 @@ sap.ui.define([
|
|
|
24
24
|
* @extends sap.ui.core.Element
|
|
25
25
|
*
|
|
26
26
|
* @author SAP SE
|
|
27
|
-
* @version 1.
|
|
27
|
+
* @version 1.99.0
|
|
28
28
|
*
|
|
29
29
|
* @constructor
|
|
30
30
|
* @public
|
|
@@ -53,7 +53,7 @@ sap.ui.define([
|
|
|
53
53
|
type: "sap.rules.ui.RuleHitPolicy[]",
|
|
54
54
|
defaultValue: [sap.rules.ui.RuleHitPolicy.FirstMatch, sap.rules.ui.RuleHitPolicy.AllMatch]
|
|
55
55
|
},
|
|
56
|
-
//Specifies if the 'Settings' button is available in the toolbar of the decision table; the Settings button launches the Settings popup which allows the user creating the rule to configure the layout and columns of the decision table.
|
|
56
|
+
//Specifies if the 'Settings' button is available in the toolbar of the decision table; the Settings button launches the Settings popup which allows the user creating the rule to configure the layout and columns of the decision table.
|
|
57
57
|
/**
|
|
58
58
|
* The value determines whether the Settings button is displayed in a decision table when the control is used with S/4 HANA 17.05 (Cloud) or 17.09 (On Premise) and higher (On Premise).
|
|
59
59
|
*/
|
|
@@ -66,6 +66,7 @@ sap.ui.define([
|
|
|
66
66
|
type: "boolean",
|
|
67
67
|
defaultValue: true
|
|
68
68
|
},
|
|
69
|
+
|
|
69
70
|
/**
|
|
70
71
|
* The value determines whether the user can set the rendering of the decision Table to be based on cellFormat or rule Format
|
|
71
72
|
*/
|
|
@@ -667,7 +667,7 @@ sap.ui.define([
|
|
|
667
667
|
},
|
|
668
668
|
|
|
669
669
|
_getTableStart: function() {
|
|
670
|
-
return '<table><td></td><td
|
|
670
|
+
return '<table><td></td><td class="sapRULExpressionBasicVerticalAlign">';
|
|
671
671
|
},
|
|
672
672
|
|
|
673
673
|
_getTableEnd: function() {
|
|
@@ -675,11 +675,11 @@ sap.ui.define([
|
|
|
675
675
|
},
|
|
676
676
|
|
|
677
677
|
_getLogicalOperatorStart: function() {
|
|
678
|
-
return '<div class="' + this.LINE_GAP_CLASS + '"></td></tr><tr><td
|
|
678
|
+
return '<div class="' + this.LINE_GAP_CLASS + '"></td></tr><tr><td class="sapRULExpressionBasicVerticalAlign">';
|
|
679
679
|
},
|
|
680
680
|
|
|
681
681
|
_getLogicalOperatorEnd: function() {
|
|
682
|
-
return '</td><td
|
|
682
|
+
return '</td><td class="sapRULExpressionBasicVerticalAlign">';
|
|
683
683
|
},
|
|
684
684
|
|
|
685
685
|
_getIndent: function() {
|
|
@@ -751,7 +751,7 @@ sap.ui.define([
|
|
|
751
751
|
},
|
|
752
752
|
|
|
753
753
|
_showErrorMessage: function(message) {
|
|
754
|
-
|
|
754
|
+
sap.ui.require("sap.m.MessageBox");
|
|
755
755
|
sap.m.MessageBox.alert(message, {
|
|
756
756
|
icon: sap.m.MessageBox.Icon.ERROR //,
|
|
757
757
|
|
|
@@ -46,7 +46,7 @@ sap.ui.define(["sap/base/Log","sap/ui/thirdparty/jquery",
|
|
|
46
46
|
* @extends Control
|
|
47
47
|
*
|
|
48
48
|
* @author SAP SE
|
|
49
|
-
* @version 1.
|
|
49
|
+
* @version 1.99.0
|
|
50
50
|
*
|
|
51
51
|
* @constructor
|
|
52
52
|
* @private
|
|
@@ -1516,6 +1516,9 @@ sap.ui.define(["sap/base/Log","sap/ui/thirdparty/jquery",
|
|
|
1516
1516
|
oConditions.If = [];
|
|
1517
1517
|
oConditions.ElseIf = [];
|
|
1518
1518
|
oConditions.Else = [];
|
|
1519
|
+
if(conditionData.length>0){
|
|
1520
|
+
conditionData[0].Type=this.typeIf;
|
|
1521
|
+
}
|
|
1519
1522
|
for (var i = 0; i < conditionData.length; i++) {
|
|
1520
1523
|
oConditions.push(conditionData[i]);
|
|
1521
1524
|
this.getModel("displayModel").setProperty("/bCancelButtonVisible(" + conditionData[i].Id + ")", conditionData[i].TextRuleResultExpressions
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
|
|
41
41
|
init: function () {
|
|
42
42
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
43
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
43
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
44
44
|
this.needCreateLayout = true;
|
|
45
45
|
this.AttributeSegmentSelected = true;
|
|
46
46
|
this.dataObjectName = "";
|
|
@@ -55,7 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
init: function () {
|
|
56
56
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
57
57
|
this.aggregateFunctionDialog = AggregateFunctionDialog.getInstance();
|
|
58
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
58
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
59
59
|
this._oAstExpressionLanguage = new AstExpressionLanguage();
|
|
60
60
|
this.needCreateLayout = true;
|
|
61
61
|
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
|
|
41
41
|
init: function () {
|
|
42
42
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
43
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
43
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
44
44
|
this.needCreateLayout = true;
|
|
45
45
|
this.AttributeSegmentSelected = true;
|
|
46
46
|
this.dataObjectName = "";
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
|
|
41
41
|
init: function () {
|
|
42
42
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
43
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
43
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
44
44
|
this.needCreateLayout = true;
|
|
45
45
|
this.AttributeSegmentSelected = true;
|
|
46
46
|
this.dataObjectName = "";
|
|
@@ -55,7 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
},
|
|
56
56
|
|
|
57
57
|
init: function () {
|
|
58
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
58
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
59
59
|
this.needCreateLayout = true;
|
|
60
60
|
this.businessDataType = "S";
|
|
61
61
|
this._propertyValue = "Value";
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
|
|
41
41
|
init: function () {
|
|
42
42
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
43
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
43
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
44
44
|
this.needCreateLayout = true;
|
|
45
45
|
this.AttributeSegmentSelected = true;
|
|
46
46
|
this.dataObjectName = "";
|
|
@@ -39,7 +39,7 @@ sap.ui.define([
|
|
|
39
39
|
|
|
40
40
|
init: function () {
|
|
41
41
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
42
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
42
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
43
43
|
this.needCreateLayout = true;
|
|
44
44
|
this.AttributeSegmentSelected = true;
|
|
45
45
|
this.dataObjectName = "";
|
|
@@ -55,7 +55,7 @@ sap.ui.define([
|
|
|
55
55
|
init: function () {
|
|
56
56
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
57
57
|
this.loopFunctionDialog = LoopFunctionDialog.getInstance();
|
|
58
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
58
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
59
59
|
this._oAstExpressionLanguage = new AstExpressionLanguage();
|
|
60
60
|
this.needCreateLayout = true;
|
|
61
61
|
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
|
|
41
41
|
init: function () {
|
|
42
42
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
43
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
43
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
44
44
|
this.needCreateLayout = true;
|
|
45
45
|
this.AttributeSegmentSelected = true;
|
|
46
46
|
this.dataObjectName = "";
|
package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionMiscellaneousOperatorPanel.js
CHANGED
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
|
|
41
41
|
init: function () {
|
|
42
42
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
43
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
43
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
44
44
|
this.needCreateLayout = true;
|
|
45
45
|
this.AttributeSegmentSelected = true;
|
|
46
46
|
this.dataObjectName = "";
|
|
@@ -36,7 +36,7 @@ sap.ui.define([
|
|
|
36
36
|
|
|
37
37
|
init: function () {
|
|
38
38
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
39
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
39
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
40
40
|
this.needCreateLayout = true;
|
|
41
41
|
this.AttributeSegmentSelected = true;
|
|
42
42
|
this.dataObjectName = "";
|
|
@@ -40,7 +40,7 @@ sap.ui.define([
|
|
|
40
40
|
|
|
41
41
|
init: function () {
|
|
42
42
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
43
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
43
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
44
44
|
this.needCreateLayout = true;
|
|
45
45
|
this.AttributeSegmentSelected = true;
|
|
46
46
|
this.dataObjectName = "";
|
package/src/sap/rules/ui/ast/autoCompleteContent/AutoSuggestionTimeAndDurationFunctionPanel.js
CHANGED
|
@@ -44,7 +44,7 @@ sap.ui.define([
|
|
|
44
44
|
|
|
45
45
|
init: function () {
|
|
46
46
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
47
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
47
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
48
48
|
this.needCreateLayout = true;
|
|
49
49
|
this.AttributeSegmentSelected = true;
|
|
50
50
|
this.dataObjectName = "";
|
|
@@ -43,7 +43,7 @@ sap.ui.define([
|
|
|
43
43
|
|
|
44
44
|
init: function () {
|
|
45
45
|
this.oBundle = sap.ui.getCore().getLibraryResourceBundle("sap.rules.ui.i18n");
|
|
46
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
46
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
47
47
|
this.needCreateLayout = true;
|
|
48
48
|
this.AttributeSegmentSelected = true;
|
|
49
49
|
this.dataObjectName = "";
|
|
@@ -965,7 +965,7 @@ sap.ui.define([
|
|
|
965
965
|
};
|
|
966
966
|
|
|
967
967
|
SelectFunctionDialog.prototype._createUUId = function () {
|
|
968
|
-
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.
|
|
968
|
+
this.infraUtils = new sap.rules.ui.parser.infrastructure.util.utilsBase.utilsBaseLib();
|
|
969
969
|
return this.infraUtils.createUUID()
|
|
970
970
|
};
|
|
971
971
|
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
return query;
|
|
77
77
|
}
|
|
78
78
|
var queryDialog =
|
|
79
|
-
'Search: <input type="text"
|
|
79
|
+
'Search: <input type="text" class="inputSearch"/> <span class="spanColor">(Use /re/ syntax for regexp search)</span>';
|
|
80
80
|
function doSearch(cm, rev) {
|
|
81
81
|
var state = getSearchState(cm);
|
|
82
82
|
if (state.query) return findNext(cm, rev);
|
|
@@ -113,8 +113,8 @@
|
|
|
113
113
|
});}
|
|
114
114
|
|
|
115
115
|
var replaceQueryDialog =
|
|
116
|
-
'Replace: <input type="text"
|
|
117
|
-
var replacementQueryDialog = 'With: <input type="text"
|
|
116
|
+
'Replace: <input type="text" class="inputSearch"/> <span class="spanColor">(Use /re/ syntax for regexp search)</span>';
|
|
117
|
+
var replacementQueryDialog = 'With: <input type="text" class="inputSearch"/>';
|
|
118
118
|
var doReplaceConfirm = "Replace? <button>Yes</button> <button>No</button> <button>Stop</button>";
|
|
119
119
|
function replace(cm, all) {
|
|
120
120
|
dialog(cm, replaceQueryDialog, "Replace:", cm.getSelection(), function(query) {
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
var parserConst = sap.rules.ui.parser.businessLanguage.lib.constants.lib;
|
|
9
|
-
var bundleApi = RulesAPI_Ast;
|
|
1
|
+
sap.ui.define([
|
|
2
|
+
"sap/rules/ui/parser/businessLanguage/lib/constants",
|
|
3
|
+
"sap/rules/ui/parser/AST/lib/bundleAst"
|
|
4
|
+
], function(parserConst, bundleAst) {
|
|
5
|
+
"use strict";
|
|
6
|
+
|
|
7
|
+
var bundleApi = RulesAPI_Ast;
|
|
10
8
|
var astNodesLib = bundleApi.astNodes;
|
|
11
9
|
|
|
12
10
|
|
|
@@ -853,4 +851,5 @@ sap.rules.ui.parser.businessLanguage.lib.ASTConvertor.lib = (function() {
|
|
|
853
851
|
return {
|
|
854
852
|
ASTConvertor : ASTConvertor
|
|
855
853
|
};
|
|
856
|
-
|
|
854
|
+
|
|
855
|
+
}, true);
|