@sapui5/sap.rules.ui 1.134.0 → 1.136.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 +2 -2
- 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 +4 -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 +1 -1
- package/src/sap/rules/ui/DecisionTableSettings.js +4 -1
- package/src/sap/rules/ui/DecisionTableSettingsOld.js +4 -1
- package/src/sap/rules/ui/ExpressionBase.js +4 -1
- package/src/sap/rules/ui/ExpressionBasic.js +1 -1
- package/src/sap/rules/ui/RuleBase.js +6 -2
- package/src/sap/rules/ui/RuleBuilder.js +1 -1
- package/src/sap/rules/ui/TextRule.js +1 -1
- package/src/sap/rules/ui/TextRuleConfiguration.js +1 -1
- package/src/sap/rules/ui/TextRuleSettings.js +4 -1
- package/src/sap/rules/ui/library.js +20 -1
- package/src/sap/rules/ui/type/ExpressionAbs.js +1 -1
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
(c) Copyright 2009-2016 SAP SE. All rights reserved
|
|
9
9
|
</copyright>
|
|
10
|
-
<version>1.
|
|
10
|
+
<version>1.136.0</version>
|
|
11
11
|
|
|
12
12
|
<documentation>UI5 library: sap.rules.ui</documentation>
|
|
13
13
|
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
<copyright>Marijn Haverbeke and others</copyright>
|
|
54
54
|
<pattern>sap/rules/ui/codemirror/*</pattern>
|
|
55
55
|
</lib>
|
|
56
|
-
<lib name="Moment.js" displayName="Moment JavaScript Date Library" version="2.
|
|
56
|
+
<lib name="Moment.js" displayName="Moment JavaScript Date Library" version="2.30.1" homepage="https://github.com/moment/moment" id="73554900106100009370">
|
|
57
57
|
<license url="https://github.com/moment/moment/blob/2.14.1/LICENSE" type="MIT"/>
|
|
58
58
|
<copyright>2011-2016 Tim Wood, Iskren Chernev, Moment.js contributors</copyright>
|
|
59
59
|
<pattern>sap/rules/ui/parser/infrastructure/locale/lib/moment_JS_min.js</pattern>
|
|
@@ -47,7 +47,7 @@ sap.ui.define([
|
|
|
47
47
|
* @extends sap.ui.core.Control
|
|
48
48
|
*
|
|
49
49
|
* @author SAP SE
|
|
50
|
-
* @version 1.
|
|
50
|
+
* @version 1.136.0
|
|
51
51
|
*
|
|
52
52
|
* @constructor
|
|
53
53
|
* @public
|
|
@@ -207,6 +207,9 @@ sap.ui.define([
|
|
|
207
207
|
/**
|
|
208
208
|
* Association to the expression language element.
|
|
209
209
|
*/
|
|
210
|
+
/**
|
|
211
|
+
* @deprecated As of version 1.120.2
|
|
212
|
+
*/
|
|
210
213
|
expressionLanguage: {
|
|
211
214
|
type: "sap.rules.ui.services.ExpressionLanguage",
|
|
212
215
|
multiple: false,
|
|
@@ -74,7 +74,7 @@ sap.ui.define([
|
|
|
74
74
|
* @extends Control
|
|
75
75
|
*
|
|
76
76
|
* @author SAP SE
|
|
77
|
-
* @version 1.
|
|
77
|
+
* @version 1.136.0
|
|
78
78
|
*
|
|
79
79
|
* @constructor
|
|
80
80
|
* @private
|
|
@@ -121,6 +121,9 @@ sap.ui.define([
|
|
|
121
121
|
},
|
|
122
122
|
defaultAggregation: "mainLayout",
|
|
123
123
|
associations: {
|
|
124
|
+
/**
|
|
125
|
+
* @deprecated As of version 1.120.2
|
|
126
|
+
*/
|
|
124
127
|
expressionLanguage: {
|
|
125
128
|
type: "sap.rules.ui.services.ExpressionLanguage",
|
|
126
129
|
multiple: false,
|
|
@@ -38,7 +38,7 @@ sap.ui.define([
|
|
|
38
38
|
* @extends Control
|
|
39
39
|
*
|
|
40
40
|
* @author SAP SE
|
|
41
|
-
* @version 1.
|
|
41
|
+
* @version 1.136.0
|
|
42
42
|
*
|
|
43
43
|
* @constructor
|
|
44
44
|
* @private
|
|
@@ -74,6 +74,9 @@ sap.ui.define([
|
|
|
74
74
|
},
|
|
75
75
|
defaultAggregation: "mainLayout",
|
|
76
76
|
associations: {
|
|
77
|
+
/**
|
|
78
|
+
* @deprecated As of version 1.120.2
|
|
79
|
+
*/
|
|
77
80
|
expressionLanguage: {
|
|
78
81
|
type: "sap.rules.ui.services.ExpressionLanguage",
|
|
79
82
|
multiple: false,
|
|
@@ -22,7 +22,7 @@ sap.ui.define([
|
|
|
22
22
|
* @extends sap.ui.core.Control
|
|
23
23
|
*
|
|
24
24
|
* @author SAP SE
|
|
25
|
-
* @version 1.
|
|
25
|
+
* @version 1.136.0
|
|
26
26
|
*
|
|
27
27
|
* @constructor
|
|
28
28
|
* @private
|
|
@@ -98,6 +98,9 @@ sap.ui.define([
|
|
|
98
98
|
/**
|
|
99
99
|
* Association to the expression language element.
|
|
100
100
|
*/
|
|
101
|
+
/**
|
|
102
|
+
* @deprecated As of version 1.120.2
|
|
103
|
+
*/
|
|
101
104
|
expressionLanguage: {
|
|
102
105
|
type: "sap.rules.ui.services.ExpressionLanguage",
|
|
103
106
|
multiple: false,
|
|
@@ -23,7 +23,7 @@ sap.ui.define([
|
|
|
23
23
|
* @extends Control
|
|
24
24
|
*
|
|
25
25
|
* @author SAP SE
|
|
26
|
-
* @version 1.
|
|
26
|
+
* @version 1.136.0
|
|
27
27
|
*
|
|
28
28
|
* @constructor
|
|
29
29
|
* @private
|
|
@@ -59,6 +59,9 @@ sap.ui.define([
|
|
|
59
59
|
|
|
60
60
|
library: "sap.rules.ui",
|
|
61
61
|
associations: {
|
|
62
|
+
/**
|
|
63
|
+
* @deprecated As of version 1.120.2
|
|
64
|
+
*/
|
|
62
65
|
"expressionLanguage": {
|
|
63
66
|
type: "sap.rules.ui.services.ExpressionLanguage",
|
|
64
67
|
multiple: false,
|
|
@@ -70,7 +73,8 @@ sap.ui.define([
|
|
|
70
73
|
singularName: "astExpressionLanguage"
|
|
71
74
|
}
|
|
72
75
|
}
|
|
73
|
-
}
|
|
76
|
+
},
|
|
77
|
+
renderer: null
|
|
74
78
|
});
|
|
75
79
|
|
|
76
80
|
return oRuleBase;
|
|
@@ -63,7 +63,7 @@ sap.ui.define([
|
|
|
63
63
|
* @extends Control
|
|
64
64
|
*
|
|
65
65
|
* @author SAP SE
|
|
66
|
-
* @version 1.
|
|
66
|
+
* @version 1.136.0
|
|
67
67
|
*
|
|
68
68
|
* @constructor
|
|
69
69
|
* @private
|
|
@@ -97,6 +97,9 @@ sap.ui.define([
|
|
|
97
97
|
},
|
|
98
98
|
defaultAggregation: "mainLayout",
|
|
99
99
|
associations: {
|
|
100
|
+
/**
|
|
101
|
+
* @deprecated As of version 1.120.2
|
|
102
|
+
*/
|
|
100
103
|
expressionLanguage: {
|
|
101
104
|
type: "sap.rules.ui.services.ExpressionLanguage",
|
|
102
105
|
multiple: false,
|
|
@@ -28,6 +28,7 @@ sap.ui.define([
|
|
|
28
28
|
// delegate further initialization of this library to the Core
|
|
29
29
|
var rulesUI = Lib.init({
|
|
30
30
|
name: "sap.rules.ui",
|
|
31
|
+
apiVersion: 2,
|
|
31
32
|
dependencies: ["sap.ui.core","sap.ui.comp"],
|
|
32
33
|
types: [
|
|
33
34
|
"sap.rules.ui.ValidationStatus",
|
|
@@ -86,7 +87,7 @@ sap.ui.define([
|
|
|
86
87
|
"sap.rules.ui.type.Expression"
|
|
87
88
|
],
|
|
88
89
|
noLibraryCSS: false,
|
|
89
|
-
version: "1.
|
|
90
|
+
version: "1.136.0"
|
|
90
91
|
});
|
|
91
92
|
|
|
92
93
|
// sap.rules.ui library contants
|
|
@@ -113,6 +114,8 @@ sap.ui.define([
|
|
|
113
114
|
Result: "RESULT"
|
|
114
115
|
};
|
|
115
116
|
|
|
117
|
+
DataType.registerEnum("sap.rules.ui.DecisionTableColumn", rulesUI.DecisionTableColumn);
|
|
118
|
+
|
|
116
119
|
/**
|
|
117
120
|
* Decision Table columns types
|
|
118
121
|
*
|
|
@@ -142,6 +145,8 @@ sap.ui.define([
|
|
|
142
145
|
DecisionTableRows: "decisionTableRows"
|
|
143
146
|
};
|
|
144
147
|
|
|
148
|
+
DataType.registerEnum("sap.rules.ui.ChangeId", rulesUI.ChangeId);
|
|
149
|
+
|
|
145
150
|
//************************************************************************
|
|
146
151
|
// Public Types
|
|
147
152
|
//************************************************************************
|
|
@@ -170,6 +175,8 @@ sap.ui.define([
|
|
|
170
175
|
TextRule: "TextRule"
|
|
171
176
|
};
|
|
172
177
|
|
|
178
|
+
DataType.registerEnum("sap.rules.ui.RuleType", rulesUI.RuleType);
|
|
179
|
+
|
|
173
180
|
/** An enumeration that defines how a cell in a decision table is formulated by the rule creator.
|
|
174
181
|
*
|
|
175
182
|
* @enum {string}
|
|
@@ -194,6 +201,8 @@ sap.ui.define([
|
|
|
194
201
|
Text: "TEXT"
|
|
195
202
|
};
|
|
196
203
|
|
|
204
|
+
DataType.registerEnum("sap.rules.ui.DecisionTableCellFormat", rulesUI.DecisionTableCellFormat);
|
|
205
|
+
|
|
197
206
|
/**
|
|
198
207
|
* An enumeration that provides the different editing formats for writing business expressions in decision tables.
|
|
199
208
|
*
|
|
@@ -220,6 +229,8 @@ sap.ui.define([
|
|
|
220
229
|
*/
|
|
221
230
|
Advanced: "ADVANCED"
|
|
222
231
|
};
|
|
232
|
+
|
|
233
|
+
DataType.registerEnum("sap.rules.ui.RuleFormat", rulesUI.RuleFormat);
|
|
223
234
|
|
|
224
235
|
/**
|
|
225
236
|
* An enumeration that decides the rendering format for decisionTable.
|
|
@@ -243,6 +254,8 @@ sap.ui.define([
|
|
|
243
254
|
|
|
244
255
|
};
|
|
245
256
|
|
|
257
|
+
DataType.registerEnum("sap.rules.ui.DecisionTableFormat", rulesUI.DecisionTableFormat);
|
|
258
|
+
|
|
246
259
|
/**
|
|
247
260
|
* An enumeration that defines the output when more than one rule in the decision table is matched for a given set of inputs.
|
|
248
261
|
*
|
|
@@ -262,6 +275,8 @@ sap.ui.define([
|
|
|
262
275
|
AllMatch: "AM"
|
|
263
276
|
};
|
|
264
277
|
|
|
278
|
+
DataType.registerEnum("sap.rules.ui.RuleHitPolicy", rulesUI.RuleHitPolicy);
|
|
279
|
+
|
|
265
280
|
rulesUI.ValidationStatus = {
|
|
266
281
|
Success: "Success",
|
|
267
282
|
Error: "Error"
|
|
@@ -308,6 +323,8 @@ sap.ui.define([
|
|
|
308
323
|
compPart: "compPart",
|
|
309
324
|
rightPart: "rightPart"
|
|
310
325
|
};
|
|
326
|
+
|
|
327
|
+
DataType.registerEnum("sap.rules.ui.SuggestionsPart", rulesUI.SuggestionsPart);
|
|
311
328
|
|
|
312
329
|
/**
|
|
313
330
|
* An enumeration that defines the different business data types for an expression
|
|
@@ -368,6 +385,8 @@ sap.ui.define([
|
|
|
368
385
|
BooleanEnhanced:"BooleanEnhanced"
|
|
369
386
|
};
|
|
370
387
|
|
|
388
|
+
DataType.registerEnum("sap.rules.ui.ExpressionType", rulesUI.ExpressionType);
|
|
389
|
+
|
|
371
390
|
rulesUI.BackendParserRequest = {
|
|
372
391
|
Validate: "validate",
|
|
373
392
|
Suggests: "autocomplete",
|