@sapui5/sap.rules.ui 1.126.0 → 1.128.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 (30) hide show
  1. package/package.json +1 -1
  2. package/src/sap/rules/ui/.library +1 -1
  3. package/src/sap/rules/ui/AutoCompleteSuggestionContent.js +36 -19
  4. package/src/sap/rules/ui/BindingSpy.js +1 -1
  5. package/src/sap/rules/ui/DecisionTable.js +3 -3
  6. package/src/sap/rules/ui/DecisionTableCell.js +1 -1
  7. package/src/sap/rules/ui/DecisionTableCellAstExpressionBasic.js +1 -1
  8. package/src/sap/rules/ui/DecisionTableCellExpressionAdvanced.js +1 -1
  9. package/src/sap/rules/ui/DecisionTableCellExpressionBasic.js +1 -1
  10. package/src/sap/rules/ui/DecisionTableConfiguration.js +1 -1
  11. package/src/sap/rules/ui/DecisionTableSettings.js +1 -1
  12. package/src/sap/rules/ui/DecisionTableSettingsOld.js +1 -1
  13. package/src/sap/rules/ui/ExpressionBase.js +1 -1
  14. package/src/sap/rules/ui/ExpressionBasic.js +1 -1
  15. package/src/sap/rules/ui/RuleBase.js +1 -1
  16. package/src/sap/rules/ui/RuleBuilder.js +1 -1
  17. package/src/sap/rules/ui/TextRule.js +1 -1
  18. package/src/sap/rules/ui/TextRuleConfiguration.js +1 -1
  19. package/src/sap/rules/ui/TextRuleSettings.js +1 -1
  20. package/src/sap/rules/ui/library.js +1 -1
  21. package/src/sap/rules/ui/themes/sap_hcb/base_AstExpression.less +286 -0
  22. package/src/sap/rules/ui/themes/sap_hcb/base_DecisionTable.less +73 -0
  23. package/src/sap/rules/ui/themes/sap_hcb/base_DecisionTableCell.less +28 -0
  24. package/src/sap/rules/ui/themes/sap_hcb/base_DecisionTableSettings.less +67 -0
  25. package/src/sap/rules/ui/themes/sap_hcb/base_ExpressionAdvanced.less +19 -0
  26. package/src/sap/rules/ui/themes/sap_hcb/base_ExpressionBasic.less +6 -0
  27. package/src/sap/rules/ui/themes/sap_hcb/base_RuleBuilder.less +3 -0
  28. package/src/sap/rules/ui/themes/sap_hcb/base_TextRule.less +34 -0
  29. package/src/sap/rules/ui/themes/sap_hcb/library.source.less +22 -1
  30. package/src/sap/rules/ui/type/ExpressionAbs.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/sap.rules.ui",
3
- "version": "1.126.0",
3
+ "version": "1.128.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.126.0</version>
10
+ <version>1.128.0</version>
11
11
 
12
12
  <documentation>UI5 library: sap.rules.ui</documentation>
13
13
 
@@ -21,6 +21,7 @@ sap.ui.define([
21
21
  "sap/rules/ui/ast/autoCompleteContent/AutoSuggestionOperationsPanel",
22
22
  "sap/rules/ui/ast/autoCompleteContent/AutoSuggestionLoopFunctionPanel",
23
23
  "sap/rules/ui/ast/util/utilsBase",
24
+ "sap/ui/core/Lib",
24
25
  "./AutoCompleteSuggestionContentRenderer"
25
26
 
26
27
  ], function (jQuery, library, Control, List, CustomListItem, JSONModel, AutoSuggestionVocabularyPanel, AutoSuggestionFixedValuePanel,
@@ -28,7 +29,7 @@ sap.ui.define([
28
29
  AutoSuggestionComparisionOperatorPanel, AutoSuggestionLogicalOperatorPanel, AutoSuggestionAggregateFunctionPanel,
29
30
  AutoSuggestionArrayOperatorPanel, AutoSuggestionRangeOperatorPanel, AutoSuggestionMiscellaneousOperatorPanel,
30
31
  AutoSuggestionFunctionalOperatorPanel, AutoSuggestionAdvancedFunctionPanel, AutoSuggestionTimeAndDurationFunctionPanel,
31
- AutoSuggestionSelectFunctionPanel, AutoSuggestionOperationsPanel, AutoSuggestionLoopFunctionPanel,UtilsBase, AutoCompleteSuggestionContentRenderer) {
32
+ AutoSuggestionSelectFunctionPanel, AutoSuggestionOperationsPanel, AutoSuggestionLoopFunctionPanel,UtilsBase, coreLib, AutoCompleteSuggestionContentRenderer) {
32
33
  "use strict";
33
34
 
34
35
  var AutoCompleteSuggestionContent = Control.extend("sap.rules.ui.AutoCompleteSuggestionContent", {
@@ -77,6 +78,7 @@ sap.ui.define([
77
78
  this.infraUtils = new UtilsBase.utilsBaseLib();
78
79
  this.initializeVariables();
79
80
  this.needCreateLayout = true;
81
+ this.oBundle = coreLib.getResourceBundleFor("sap.rules.ui.i18n");
80
82
  },
81
83
  onBeforeRendering: function () {
82
84
  this._reference = this.getReference();
@@ -104,25 +106,26 @@ sap.ui.define([
104
106
  if (this.autoSuggestions && this.autoSuggestions.categories) {
105
107
  if (this.autoSuggestions.categories.terms) {
106
108
  this.VocabularyTerms = this.autoSuggestions.categories.terms;
107
- }
109
+ }
108
110
  if (this.autoSuggestions.categories.functions && this.autoSuggestions.categories.functions.operations) {
109
111
  this.Operations = this.autoSuggestions.categories.functions.operations;
110
112
  }
111
113
  }
112
114
 
113
115
  this.suggestionContext = this.autoSuggestions.suggestionContext; //this._getResponseVocabularyData().autoComplete.suggestionContext;
114
-
115
- //Operations section - applicable only for text rule
116
+
117
+ //Operations section - applicable only for text rule
116
118
  if (this.Operations && this.Operations.length > 0 ) {
117
119
  var operationsPanel = new AutoSuggestionOperationsPanel({
118
120
  reference: that._reference,
119
121
  data: that.Operations
120
122
  });
121
123
  this.getAggregation("mainLayout").addItem(new CustomListItem({
122
- content: operationsPanel
124
+ content: operationsPanel,
125
+ accDescription: this.oBundle.getText("OperationsPanelTitle")
123
126
  }));
124
127
  }
125
-
128
+
126
129
  // Vocabulary Section
127
130
  if (this.VocabularyTerms && this.VocabularyTerms.length > 0) {
128
131
  this.VocabularyTerms = this._handleMissingLabels(this.VocabularyTerms);
@@ -133,10 +136,11 @@ sap.ui.define([
133
136
  context: that.suggestionContext
134
137
  });
135
138
  this.getAggregation("mainLayout").addItem(new CustomListItem({
136
- content: vocabularyPanel
139
+ content: vocabularyPanel,
140
+ accDescription: this.oBundle.getText("vocabularyPanelTitle")
137
141
  }));
138
142
  }
139
-
143
+
140
144
  // Rules Section
141
145
  if (this.autoSuggestions && this.autoSuggestions.categories && this.autoSuggestions.categories.vocabularyRules) {
142
146
  this.rules = this.autoSuggestions.categories.vocabularyRules;
@@ -152,7 +156,8 @@ sap.ui.define([
152
156
  inputValue: this.autoSuggestions.literalInput
153
157
  });
154
158
  this.getAggregation("mainLayout").addItem(new CustomListItem({
155
- content: fixedValuePanel
159
+ content: fixedValuePanel,
160
+ accDescription: this.oBundle.getText("fixedValuePanelTitle")
156
161
  }));
157
162
 
158
163
  }
@@ -168,7 +173,8 @@ sap.ui.define([
168
173
  expand: this.getExpand()
169
174
  });
170
175
  this.getAggregation("mainLayout").addItem(new CustomListItem({
171
- content: mathematicalOperatorsPanel
176
+ content: mathematicalOperatorsPanel,
177
+ accDescription: this.oBundle.getText("mathOperatorsPanelTitle")
172
178
  }));
173
179
  }
174
180
  // comparision operators
@@ -179,7 +185,8 @@ sap.ui.define([
179
185
  expand: this.getExpand()
180
186
  });
181
187
  this.getAggregation("mainLayout").addItem(new CustomListItem({
182
- content: comparisonOperatorsPanel
188
+ content: comparisonOperatorsPanel,
189
+ accDescription: this.oBundle.getText("comparisonOperatorsPanelTitle")
183
190
  }));
184
191
  }
185
192
  // logical operators
@@ -190,7 +197,8 @@ sap.ui.define([
190
197
  expand: this.getExpand()
191
198
  });
192
199
  this.getAggregation("mainLayout").addItem(new CustomListItem({
193
- content: logicalOperatorsPanel
200
+ content: logicalOperatorsPanel,
201
+ accDescription: this.oBundle.getText("logicalOperatorsPanelTitle")
194
202
  }));
195
203
  }
196
204
  // array operators
@@ -201,7 +209,8 @@ sap.ui.define([
201
209
  expand: this.getExpand()
202
210
  });
203
211
  this.getAggregation("mainLayout").addItem(new CustomListItem({
204
- content: arrayOperatorsPanel
212
+ content: arrayOperatorsPanel,
213
+ accDescription: this.oBundle.getText("arrayOperatorsPanelTitle")
205
214
  }));
206
215
  }
207
216
  // range operators
@@ -212,7 +221,8 @@ sap.ui.define([
212
221
  expand: this.getExpand()
213
222
  });
214
223
  this.getAggregation("mainLayout").addItem(new CustomListItem({
215
- content: rangeOperatorsPanel
224
+ content: rangeOperatorsPanel,
225
+ accDescription: this.oBundle.getText("rangeOperatorsPanelTitle")
216
226
  }));
217
227
  }
218
228
 
@@ -224,7 +234,8 @@ sap.ui.define([
224
234
  expand: this.getExpand()
225
235
  });
226
236
  this.getAggregation("mainLayout").addItem(new CustomListItem({
227
- content: functionalOperatorsPanel
237
+ content: functionalOperatorsPanel,
238
+ accDescription: this.oBundle.getText("functionalOperatorsPanelTitle")
228
239
  }));
229
240
  }
230
241
 
@@ -239,7 +250,8 @@ sap.ui.define([
239
250
  expand: this.getExpand()
240
251
  });
241
252
  this.getAggregation("mainLayout").addItem(new CustomListItem({
242
- content: AdvancedFunctionsPanel
253
+ content: AdvancedFunctionsPanel,
254
+ accDescription: this.oBundle.getText("advancedFunctionPanelTitle")
243
255
  }));
244
256
  }
245
257
  }
@@ -255,7 +267,8 @@ sap.ui.define([
255
267
  expand: this.getExpand()
256
268
  });
257
269
  this.getAggregation("mainLayout").addItem(new CustomListItem({
258
- content: TimeAndDurationFunctionsPanel
270
+ content: TimeAndDurationFunctionsPanel,
271
+ accDescription: this.oBundle.getText("timeAndDurationFunctionsPanelTitle")
259
272
  }));
260
273
  }
261
274
  }
@@ -270,7 +283,8 @@ sap.ui.define([
270
283
  expand: this.getExpand()
271
284
  });
272
285
  this.getAggregation("mainLayout").addItem(new CustomListItem({
273
- content: miscellaneousOperatorsPanel
286
+ content: miscellaneousOperatorsPanel,
287
+ accDescription: this.oBundle.getText("miscOperatorsPanelTitle")
274
288
  }));
275
289
  }
276
290
  }
@@ -286,6 +300,7 @@ sap.ui.define([
286
300
  });
287
301
  this.getAggregation("mainLayout").addItem(new CustomListItem({
288
302
  content: SelectFunctionsPanel,
303
+ accDescription: this.oBundle.getText("selectFunctionPanelTitle")
289
304
  }));
290
305
  }
291
306
  }
@@ -302,10 +317,11 @@ sap.ui.define([
302
317
  });
303
318
  this.getAggregation("mainLayout").addItem(new CustomListItem({
304
319
  content: AggregateFunctionsPanel,
320
+ accDescription: this.oBundle.getText("aggregateFunctionPanelTitle")
305
321
  }));
306
322
  }
307
323
  }
308
-
324
+
309
325
  //Loop Functions
310
326
  if (this.autoSuggestions && this.autoSuggestions.categories && this.autoSuggestions.categories.functions && this.autoSuggestions.categories.functions.loop) {
311
327
  var LoopFunctionsPanel = new AutoSuggestionLoopFunctionPanel({
@@ -316,6 +332,7 @@ sap.ui.define([
316
332
  });
317
333
  this.getAggregation("mainLayout").addItem(new CustomListItem({
318
334
  content: LoopFunctionsPanel,
335
+ accDescription: this.oBundle.getText("loopFunctionPanelTitle")
319
336
  }));
320
337
  }
321
338
 
@@ -24,7 +24,7 @@ sap.ui.define([
24
24
  * @extends ManagedObject
25
25
  *
26
26
  * @author SAP SE
27
- * @version 1.126.0
27
+ * @version 1.128.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.126.0
82
+ * @version 1.128.0
83
83
  *
84
84
  * @constructor
85
85
  * @private
@@ -918,9 +918,9 @@ sap.ui.define([
918
918
  }],
919
919
  formatter: function (sType, iSequence) {
920
920
  if (iSequence === 1) {
921
- return oBundle.getText("conditionIfColumn");
921
+ return oBundle.getText("title_if");
922
922
  } else if (sType === library.DecisionTableColumn.Result) {
923
- return oBundle.getText("resultThenColumn");
923
+ return oBundle.getText("title_else");
924
924
  } else {
925
925
  return "";
926
926
  }
@@ -47,7 +47,7 @@ sap.ui.define([
47
47
  * @extends sap.ui.core.Control
48
48
  *
49
49
  * @author SAP SE
50
- * @version 1.126.0
50
+ * @version 1.128.0
51
51
  *
52
52
  * @constructor
53
53
  * @public
@@ -31,7 +31,7 @@ sap.ui.define([
31
31
  * @extends sap.rules.ui.AstExpressionBasic
32
32
  *
33
33
  * @author SAP SE
34
- * @version 1.126.0
34
+ * @version 1.128.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.126.0
31
+ * @version 1.128.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.126.0
31
+ * @version 1.128.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.126.0
26
+ * @version 1.128.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -73,7 +73,7 @@ sap.ui.define([
73
73
  * @extends Control
74
74
  *
75
75
  * @author SAP SE
76
- * @version 1.126.0
76
+ * @version 1.128.0
77
77
  *
78
78
  * @constructor
79
79
  * @private
@@ -38,7 +38,7 @@ sap.ui.define([
38
38
  * @extends Control
39
39
  *
40
40
  * @author SAP SE
41
- * @version 1.126.0
41
+ * @version 1.128.0
42
42
  *
43
43
  * @constructor
44
44
  * @private
@@ -22,7 +22,7 @@ sap.ui.define([
22
22
  * @extends sap.ui.core.Control
23
23
  *
24
24
  * @author SAP SE
25
- * @version 1.126.0
25
+ * @version 1.128.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.126.0
34
+ * @version 1.128.0
35
35
  *
36
36
  * @constructor
37
37
  * @private
@@ -23,7 +23,7 @@ sap.ui.define([
23
23
  * @extends Control
24
24
  *
25
25
  * @author SAP SE
26
- * @version 1.126.0
26
+ * @version 1.128.0
27
27
  *
28
28
  * @constructor
29
29
  * @private
@@ -34,7 +34,7 @@ sap.ui.define([
34
34
  * @extends sap.ui.core.Control
35
35
  *
36
36
  * @author SAP SE
37
- * @version 1.126.0
37
+ * @version 1.128.0
38
38
  *
39
39
  * @constructor
40
40
  * @public
@@ -64,7 +64,7 @@ sap.ui.define(["sap/base/Log","sap/ui/thirdparty/jquery",
64
64
  * @extends Control
65
65
  *
66
66
  * @author SAP SE
67
- * @version 1.126.0
67
+ * @version 1.128.0
68
68
  *
69
69
  * @constructor
70
70
  * @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.126.0
26
+ * @version 1.128.0
27
27
  *
28
28
  * @constructor
29
29
  * @public
@@ -62,7 +62,7 @@ sap.ui.define([
62
62
  * @extends Control
63
63
  *
64
64
  * @author SAP SE
65
- * @version 1.126.0
65
+ * @version 1.128.0
66
66
  *
67
67
  * @constructor
68
68
  * @private
@@ -86,7 +86,7 @@ sap.ui.define([
86
86
  "sap.rules.ui.type.Expression"
87
87
  ],
88
88
  noLibraryCSS: false,
89
- version: "1.126.0"
89
+ version: "1.128.0"
90
90
  });
91
91
 
92
92
  // sap.rules.ui library contants
@@ -0,0 +1,286 @@
1
+ @_sap_rules_ui_AstExpression_Color:#000000;
2
+ @_sap_rules_ui_AstExpression_BorderError:#e42e2e;
3
+ @_sap_rules_ui_AstExpression_VariableClassColor:#FF0000;
4
+ @_sap_rules_ui_AstExpression_RangeColor:#000000;
5
+ @_sap_rules_ui_AstExpression_OperatorColor:#32CD32;
6
+ @_sap_rules_ui_AstExpression_FunctionalOperatorColor:#8B008B;
7
+ @_sap_rules_ui_AstExpression_FunctionColor:#0000cd;
8
+ @_sap_rules_ui_AstExpression_ParenthesisColor:#000000;
9
+ @_sap_rules_ui_AstExpression_LiteralColor:#000000;
10
+ @_sap_rules_ui_AstExpression_LogicalOpertorColor:#ADFF2F;
11
+ @_sap_rules_ui_AstExpression_FieldBorderColor:#cccccc;
12
+ @_sap_rules_ui_AstExpression_PopoverBorderColor:#bfbfbf;
13
+
14
+ .sapAstExpressionInput {
15
+ border: 1px solid @_sap_rules_ui_AstExpression_FieldBorderColor;
16
+ font-family: "72",Arial,Helvetica,sans-serif;
17
+ line-height: 1.65rem;
18
+ min-height: 1.5rem;
19
+ padding-left: 0.5rem;
20
+ position: relative;
21
+ box-sizing: border-box;
22
+ background-color:@sapUiFieldBackground;
23
+ width: 100%;
24
+ color: @_sap_rules_ui_AstExpression_Color;
25
+ display: inline-block;
26
+
27
+ }
28
+
29
+ .sapMPopoverScroll .sapAstExpressionInput {
30
+ border: 1px solid @_sap_rules_ui_AstExpression_PopoverBorderColor;
31
+ font-family: "72", Arial, Helvetica, sans-serif;
32
+ padding-left: 0.75rem;
33
+ padding-right: 0.75rem;
34
+ box-sizing: border-box;
35
+ background-color: @sapUiFieldBackground;
36
+ width: 100%;
37
+ min-width: 20rem;
38
+ display: block;
39
+ color: @_sap_rules_ui_AstExpression_Color;
40
+ }
41
+
42
+ .sapAstExpressionInputError {
43
+ border: 2px solid @_sap_rules_ui_AstExpression_BorderError!important;
44
+ }
45
+
46
+ .sapAstExpressionInputNotEditable {
47
+ background-color: @sapUiFieldReadOnlyBackground !important;
48
+ overflow-wrap: break-word !important;
49
+ }
50
+
51
+ .sapAstExpressionInput:focus {
52
+ outline: none;
53
+ }
54
+
55
+ .sapAstExpressionInput:focus::before {
56
+ content: "";
57
+ position: absolute;
58
+ top: 2px;
59
+ left: 2px;
60
+ right: 2px;
61
+ bottom: 2px;
62
+ border: 1px dotted @sapUiContentFocusColor;
63
+ pointer-events: none;
64
+ }
65
+
66
+ .sapAstExpressionInputWrapper {
67
+ background-color: @sapUiFieldBackground;
68
+ }
69
+
70
+ .sapAstVariableClass {
71
+ display: inline;
72
+ color: @_sap_rules_ui_AstExpression_VariableClassColor;
73
+ cursor: pointer;
74
+ user-select: text;
75
+ -webkit-user-select: all;
76
+ -moz-user-select: all;
77
+ -ms-user-select: all;
78
+ }
79
+
80
+ .sapAstRangeClass{
81
+ display: inline;
82
+ color: @_sap_rules_ui_AstExpression_RangeColor;
83
+ cursor: pointer;
84
+ user-select: text;
85
+ -webkit-user-select: all;
86
+ -moz-user-select: all;
87
+ -ms-user-select: all;
88
+ }
89
+
90
+ .sapAstOperatorClass{
91
+ display: inline;
92
+ color: @_sap_rules_ui_AstExpression_OperatorColor;
93
+ cursor: pointer;
94
+ user-select: text;
95
+ -webkit-user-select: all;
96
+ -moz-user-select: all;
97
+ -ms-user-select: all;
98
+ }
99
+
100
+ .sapAstFunctionalOperatorClass{
101
+ display: inline;
102
+ color: @_sap_rules_ui_AstExpression_FunctionalOperatorColor;
103
+ cursor: pointer;
104
+ user-select: text;
105
+ -webkit-user-select: all;
106
+ -moz-user-select: all;
107
+ -ms-user-select: all;
108
+ }
109
+
110
+ .sapAstFunctionClass {
111
+ display: inline;
112
+ color: @_sap_rules_ui_AstExpression_FunctionColor;
113
+ cursor: pointer;
114
+ user-select: text;
115
+ -webkit-user-select: all;
116
+ -moz-user-select: all;
117
+ -ms-user-select: all;
118
+ }
119
+
120
+ .sapAstParenthesisClass {
121
+ display: inline;
122
+ color: @_sap_rules_ui_AstExpression_ParenthesisColor;
123
+ cursor: pointer;
124
+ user-select: text;
125
+ -webkit-user-select: all;
126
+ -moz-user-select: all;
127
+ -ms-user-select: all;
128
+ }
129
+
130
+ .sapAstLiteralClass {
131
+ display: inline;
132
+ color: @_sap_rules_ui_AstExpression_LiteralColor;
133
+ cursor: pointer;
134
+ user-select: text;
135
+ -webkit-user-select: all;
136
+ -moz-user-select: all;
137
+ -ms-user-select: all;
138
+ }
139
+
140
+ .sapAstLogicalOpertorClass {
141
+ display: inline;
142
+ color: @_sap_rules_ui_AstExpression_LogicalOpertorColor;
143
+ cursor: pointer;
144
+ user-select: text;
145
+ -webkit-user-select: all;
146
+ -moz-user-select: all;
147
+ -ms-user-select: all;
148
+ }
149
+
150
+ .sapAstAuxilaryNodeClass {
151
+ display: inline;
152
+ cursor: pointer;
153
+ user-select: text;
154
+ }
155
+
156
+ .sapAstErrorNodeClass {
157
+ display: inline;
158
+ border: 2px solid @sapUiFieldInvalidColor;
159
+ cursor: pointer;
160
+ user-select: text;
161
+ }
162
+
163
+ .sapAstAggregationHorizontalLayout > :nth-of-type(3) {
164
+ margin-top: -18px;
165
+ }
166
+ .sapAstAggregationHorizontalLayout {
167
+ width: 100%;
168
+ height: 35px !important;
169
+ margin-left: 10px !important;
170
+ }
171
+
172
+ .sapAstFieldMargin {
173
+ margin-top: 14px !important;
174
+ }
175
+ .sapAstAttributeColumn{
176
+ padding-left: 0px !important;
177
+ }
178
+
179
+ .sapAstSelectFunctionField {
180
+ height: 2.5rem !important;
181
+ }
182
+ .sapAstSelectCountField {
183
+ min-width: 50% !important;
184
+ }
185
+
186
+ .sapAstExpressionBasicField {
187
+ padding: 4px !important;
188
+ min-height: 1.4rem !important
189
+ }
190
+
191
+ .sapAstAutoCompleteSuggestionContentRenderer .sapMPanelHdr {
192
+ height: inherit !important;
193
+ line-height: 245% !important;
194
+ vertical-align: middle !important;
195
+ font-size: 14px;
196
+ }
197
+
198
+ .sapAstAutoCompleteSuggestionContentRenderer .sapMPanelExpandableIcon {
199
+ line-height: 14px !important;
200
+ margin-left: 22px !important;
201
+ height: 11px;
202
+ width: 11px;
203
+ font-size: 11px;
204
+ }
205
+
206
+ .sapAstAutoCompleteSuggestionContentRenderer .sapMDLILabel {
207
+ font-size: 12px;
208
+ }
209
+
210
+ .sapAstAutoCompleteSuggestionContentRenderer .sapUiSizeCompact .sapMDLI {
211
+ height: 28px;
212
+ }
213
+
214
+ .sapAstAutoCompleteSuggestionContentRenderer .sapMPanelContent {
215
+ padding-top: 0px !important;
216
+ padding-bottom: 1.2px !important;
217
+ border-bottom: hidden;
218
+ }
219
+
220
+ .sapAstAutoCompleteSuggestionContentRenderer .sapMLnk {
221
+ font-size: 12px;
222
+ line-height: 245% !important;
223
+ height: 28px;
224
+ margin-left: 16px;
225
+ }
226
+
227
+ .sapAstVocabularyPanel {
228
+ padding-left: 1.1rem;
229
+ }
230
+
231
+ .sapAstExpressionInput:empty:after {
232
+ content:attr(data-placeholder);
233
+ color:@sapUiFieldPlaceholderTextColor;
234
+ font-size : 0.75rem !important;
235
+ }
236
+
237
+ .sapAstExpressionPreSpaceMargin{
238
+ margin-top: 4px !important;
239
+ white-space: pre-wrap;
240
+ }
241
+
242
+ .sapAstExpressionDialogField {
243
+ height:1.75rem !important;
244
+ }
245
+
246
+ .sapAstExpressionDialog {
247
+ min-height: 1.75rem !important;
248
+ line-height:1.6rem !important;
249
+ }
250
+
251
+ .sapAstExpressionDialogTextField {
252
+ height:1.75rem !important;
253
+ padding:0px !important;
254
+ }
255
+ .sapAstExpressionSortColumn {
256
+ padding-top:0px !important;
257
+ }
258
+ .sapAstExpressionSortSelect {
259
+ margin-top:0px !important;
260
+ margin-bottom:7px !important;
261
+ }
262
+
263
+ .sapAstExpressionDialogTextField .sapMTextAreaInner {
264
+ padding-top:3px !important;
265
+ overflow:hidden !important;
266
+ }
267
+
268
+ .sapAstAttributeTable {
269
+ padding-top:6px !important;
270
+ }
271
+
272
+ .sapAstAttributeLabel {
273
+ padding-top:10px !important;
274
+ }
275
+
276
+ .sapAstDialogLabelMargin {
277
+ margin-top: 10px !important;
278
+ }
279
+
280
+ .sapAstOperationColumn {
281
+ padding-left: 0px !important;
282
+ }
283
+
284
+ .sapAstOperationTable {
285
+ padding-top: 6px !important;
286
+ }
@@ -0,0 +1,73 @@
1
+ .sapRULDecisionTable{
2
+
3
+ }
4
+ .sapRULDecisionTable .sapUiTableCtrlScr{
5
+ overflow-y: visible;
6
+ }
7
+ .sapRULDecisionTable .sapUiTableCnt{
8
+ overflow-y: visible;
9
+ }
10
+
11
+ .sapRULDecisionTable .sapUiTableCCnt{
12
+ overflow-y: visible;
13
+ }
14
+ .sapRULDecisionTableLink{
15
+ margin-left: 5px;
16
+ text-decoration: underline;
17
+ }
18
+
19
+ .sapRULDecisionTable>td {
20
+ padding: 0px;
21
+ position: relative;
22
+ }
23
+ /*** Fix for thcik column header ***/
24
+ .sapRULDecisionTableColumnHeaderLabel , .sapRULDecisionTableColumnHeaderLabel > * {
25
+ //line-height: 2 !important;
26
+ //height: 2rem !important;
27
+ //vertical-align: middle;
28
+ }
29
+
30
+ .sapRULDecisionTable .sapUiTableCol, .sapUiTableTr>td {
31
+ position: relative;
32
+ }
33
+
34
+ .sapUiSizeCozy .sapRULDecisionTable .sapUiTableColHdrCnt{
35
+ //height: 4rem !important;
36
+ }
37
+
38
+ .sapUiSizeCozy .sapRULDecisionTable .sapUiTableCol{
39
+ //height: 2rem !important;
40
+ }
41
+
42
+ .sapUiSizeCozy .sapRULDecisionTable .sapUiTableColCell {
43
+ //height: 2rem !important;
44
+ }
45
+
46
+ /*** Fix for cut header + add 3 dots in the end of header
47
+ ---> http://stackoverflow.com/questions/37273477/openui5-sapui5-bug
48
+ ***/
49
+
50
+ .sapRULDecisionTableColumnHeaderLabel {
51
+ line-height: normal !important;
52
+ }
53
+
54
+ /*** Fix for remove row hover background-color in edit mode
55
+ ---> bug-4230
56
+ ***/
57
+
58
+ .sapRULDecisionTableEdit .sapUiTableCtrl .sapUiTableRowHvr>td{
59
+ background-color: transparent !important;
60
+ }
61
+
62
+ .sapRULDecisionTableEdit .sapUiTableCtrl tr.sapUiTableRowHvr{
63
+ background-color: transparent !important;
64
+ }
65
+
66
+ .sapRULDecisionTableSCellEditable .sapMInputBaseReadonlyWrapper {
67
+ background: @sapUiFieldBackground !important;
68
+ }
69
+
70
+ .sapRULDecisionTableToolBar {
71
+ background-color: @sapUiListBackground;
72
+ font-size: @sapUiFontSize;
73
+ }
@@ -0,0 +1,28 @@
1
+ .sapRULDecisionTableSCell{
2
+
3
+ }
4
+
5
+ .sapRULDecisionTableSCell .sapMInputBaseContentWrapperError {
6
+ border-color: @sapUiFieldInvalidColor;
7
+ border-style: solid;
8
+ border-width: 2px;
9
+ //bug 4851
10
+ padding-top: 1px;
11
+ }
12
+
13
+ .sapRULDecisionTableSCell .sapMInputBaseContentWrapperError:focus {
14
+ border-style: dotted;
15
+ }
16
+
17
+ .sapRULDecisionTableSCellFocus{
18
+ position: absolute;
19
+ top:0px;
20
+ }
21
+
22
+ .sapRULDecisionTableSCellTextOverflow .sapMInputBaseInner{
23
+ text-overflow: ellipsis;
24
+ }
25
+
26
+ .sapRULDecisionTableSCellMarked{
27
+ //background-color: lightgray;
28
+ }
@@ -0,0 +1,67 @@
1
+ .sapRULTDecisionTableSettings{
2
+
3
+ }
4
+
5
+ .sapRULTDecisionTableSettings TH {
6
+ background-color: transparent !important;
7
+ }
8
+
9
+ .sapRULTDecisionTableSettings TD {
10
+ background-color: transparent;
11
+ padding-left: 0px !important;
12
+ }
13
+
14
+ .sapRULTDecisionTableSettings .sapMListTbl {
15
+ width: 100%;
16
+ border:0px !important;
17
+ }
18
+ // .sapRULTDecisionTableSettings .sapMListTblCell:first-child {
19
+ // padding-left: 0rem !important;
20
+ // }
21
+
22
+ .sapRULTDecisionTableSettings .sapMListTbl th {
23
+ border-bottom: 0px !important;
24
+ padding-left: 0px !important;
25
+ }
26
+
27
+ .sapRULTDecisionTableSettingsMessageStrip {
28
+ margin-top: 8px;
29
+ margin-bottom: 5px;
30
+ }
31
+
32
+ .sapRULTDecisionTableSettingsMessageStrip .sapMText{
33
+ line-height: 1.2 !important;
34
+ padding-top: 0px !important;
35
+ }
36
+
37
+ .sapRULExpressionAdvancedResultTable>.sapMInput>.sapMInputBaseInner {
38
+ background-color: #f2f2f2 !important ;
39
+ }
40
+
41
+ .sapRULDTRelSelect {
42
+ height: 34px !important;
43
+ }
44
+
45
+ .sapRULExpressionAdvancedResultTable>.sapMInput>.sapMInputBaseInner:hover {
46
+ background-color: #f2f2f2 !important;
47
+ }
48
+ .sapRULTDecisionTableSettingsForm{
49
+ padding-right: 0.25rem;
50
+ }
51
+
52
+ .sapRULDecisionTableSettingsConditionRow {
53
+
54
+ }
55
+ .sapRULDecisionTableSettingsConditionRow .sapAstExpressionPreSpaceMargin {
56
+ margin: 0.1875rem 0 !important;
57
+ }
58
+
59
+ .sapRULDecisionTableSettingsAstExpressionCompactSize {
60
+ min-height: 1.6rem !important;
61
+ line-height:1.5rem !important;
62
+ }
63
+
64
+ .sapRULDecisionTableSettingsAstExpressionCozySize {
65
+ min-height: 1.6rem !important;
66
+ line-height:2.125rem !important;
67
+ }
@@ -0,0 +1,19 @@
1
+ .CodeMirror div.CodeMirror-cursor {
2
+ border-left: 1px solid @sapUiText;
3
+ }
4
+
5
+ .sapRULExpressionAdvanced .sapMInputDivWrapper {
6
+ height:auto;
7
+ }
8
+
9
+ .sapRULExpressionAdvanced .CodeMirror-rules .cm-valuehelp {
10
+ color: #00c;
11
+ font-weight: bold;
12
+ text-decoration: underline;
13
+ cursor:pointer;
14
+ }
15
+
16
+ .sapRULExpressionAdvanced .sapMInputBaseContentWrapper {
17
+ height: 100% !important;
18
+ margin: .2rem;
19
+ }
@@ -0,0 +1,6 @@
1
+ .sapRULExpressionBasic{
2
+ margin-right: 0.5rem!important;
3
+ }
4
+ .sapRULExpressionBasicVerticalAlign{
5
+ vertical-align:top;
6
+ }
@@ -0,0 +1,3 @@
1
+ .sapRULRuleBuilder {
2
+
3
+ }
@@ -0,0 +1,34 @@
1
+ .sapRULTextRule{
2
+
3
+ }
4
+ .sapTextRuleFontSize{
5
+ font-size: 1.125rem;
6
+ }
7
+
8
+ .sapTextRuleLink{
9
+ margin-left: 5px;
10
+ text-decoration: underline;
11
+ }
12
+
13
+ .sapTextRuleSettingsMessageStrip {
14
+ margin-top: 8px;
15
+ margin-bottom: 5px;
16
+ }
17
+
18
+ .sapTextRuleSettingsMessageStrip .sapMText{
19
+ line-height: 1.2 !important;
20
+ padding-top: 0px !important;
21
+ }
22
+
23
+ .sapTextRuleSettingsForm{
24
+ padding-right: 0.25rem;
25
+ }
26
+
27
+ .sapRULTextRule .sapMPanel .sapMPanelWrappingDiv .sapMPanelHdr>:first-child, .sapMPanel .sapMPanelWrappingDivTb .sapMIBar.sapMTB>:first-child{
28
+ margin-top: 5px;
29
+ }
30
+
31
+ .sapRULTextRule .sapMPanel>.sapMPanelHdr, .sapMPanelWrappingDiv, .sapMPanelWrappingDivTb{
32
+ border-bottom-color: #fafafa;
33
+ border-bottom: 0px !important;
34
+ }
@@ -1,4 +1,25 @@
1
- @import "../base/library.source.less";
1
+ /* ============================================================================== */
2
+ /* Due to deprecation of sap_hcb with SAPUI5 version 1.46 the library.source.less */
3
+ /* file of base is resolved: Imports to base.less and global.less of */
4
+ /* base are added to this library.source.less file (sap_hcb) and the */
5
+ /* respective control css files of base are added to the sap_hcb theme folder. */
6
+ /* This decoupling of the base theme is introduced with SAPUI5 version 1.126. */
7
+ /* ============================================================================== */
8
+
9
+ @import "../../../../ui/core/themes/base/base.less";
10
+ @import "../../../../ui/core/themes/base/global.less";
11
+ @import "../../../../ui/core/themes/base/base.less";
12
+ @import "../../../../ui/core/themes/base/global.less";
13
+
14
+ @import "base_RuleBuilder.less";
15
+ @import "base_DecisionTableSettings.less";
16
+ @import "base_DecisionTable.less";
17
+ @import "base_DecisionTableCell.less";
18
+ @import "base_ExpressionAdvanced.less";
19
+ @import "base_ExpressionBasic.less";
20
+ @import "base_TextRule.less";
21
+ @import "base_AstExpression.less";
22
+
2
23
  @import "../../../../../sap/ui/core/themes/sap_hcb/global.less";
3
24
  @import "shared.less";
4
25
 
@@ -18,7 +18,7 @@ sap.ui.define(["sap/ui/model/CompositeType", "sap/ui/core/Element"], function(Co
18
18
  * @extends sap.ui.model.CompositeType
19
19
  *
20
20
  * @author SAP SE
21
- * @version 1.126.0
21
+ * @version 1.128.0
22
22
  *
23
23
  * @constructor
24
24
  * @private