@sapui5/ts-types 1.95.0 → 1.96.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/types/index.d.ts +1 -0
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +235 -1
- package/types/sap.f.d.ts +59 -40
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +73 -2
- package/types/sap.fe.macros.d.ts +27 -3
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.d.ts +1 -1
- package/types/sap.fe.semantics.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +1 -1
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +340 -40
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +542 -107
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +2 -7
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.grid.d.ts +635 -0
- package/types/sap.suite.ui.commons.d.ts +1 -1
- package/types/sap.suite.ui.generic.template.d.ts +6 -2
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +142 -11
- package/types/sap.ui.core.d.ts +656 -460
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +119 -69
- package/types/sap.ui.fl.d.ts +1 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +220 -1
- package/types/sap.ui.layout.d.ts +19 -1
- package/types/sap.ui.mdc.d.ts +39 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +1 -1
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +6 -6
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -1
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +704 -115
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +45 -35
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +53 -34
package/types/sap.makit.d.ts
CHANGED
package/types/sap.me.d.ts
CHANGED
package/types/sap.ndc.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.96.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -50,19 +50,14 @@ declare namespace sap {
|
|
|
50
50
|
/**
|
|
51
51
|
* @SINCE 1.28.0
|
|
52
52
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
* As `BarcodeScanner` is a static class, a `sap.ui.define();` statement must be explicitly executed before
|
|
56
|
-
* the class can be used. Example: *
|
|
53
|
+
* Here is an example of how to trigger the scan function of BarcodeScanner:
|
|
57
54
|
* ```javascript
|
|
58
55
|
*
|
|
59
|
-
* sap.ui.define(["sap/ndc/BarcodeScanner"], function(BarcodeScanner) {
|
|
60
56
|
* sap.ndc.BarcodeScanner.scan(
|
|
61
57
|
* function (oResult) { / * process scan result * / },
|
|
62
58
|
* function (oError) { / * handle scan error * / },
|
|
63
59
|
* function (oResult) { / * handle input dialog change * / }
|
|
64
60
|
* );
|
|
65
|
-
* });
|
|
66
61
|
* ```
|
|
67
62
|
*/
|
|
68
63
|
interface BarcodeScanner {
|
package/types/sap.ovp.d.ts
CHANGED
package/types/sap.rules.ui.d.ts
CHANGED
|
@@ -0,0 +1,635 @@
|
|
|
1
|
+
// For Library Version: 1.96.0
|
|
2
|
+
|
|
3
|
+
declare namespace sap {
|
|
4
|
+
namespace sac {
|
|
5
|
+
/**
|
|
6
|
+
* The sac UI5 library
|
|
7
|
+
*/
|
|
8
|
+
namespace grid {
|
|
9
|
+
interface $CellSettings extends sap.ui.core.$ElementSettings {
|
|
10
|
+
/**
|
|
11
|
+
* The alert level (intensitiy of emphasis)
|
|
12
|
+
*/
|
|
13
|
+
alertLevel?:
|
|
14
|
+
| sap.sac.grid.AlertLevel
|
|
15
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* The value that is displayed in the cell
|
|
19
|
+
*/
|
|
20
|
+
displayValue?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* The celltype of the cell. (HEADER, TITLE, RESULT, ...)
|
|
24
|
+
*/
|
|
25
|
+
cellType?:
|
|
26
|
+
| sap.sac.grid.CellType
|
|
27
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* The Column of the `Cell`
|
|
31
|
+
*/
|
|
32
|
+
column?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The Icon to be displayed in the `Cell`
|
|
36
|
+
*/
|
|
37
|
+
icon?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* The Help Id of the `Cell`. Intended to be used by WebAssist/Enable Now.
|
|
41
|
+
*/
|
|
42
|
+
helpId?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The context the `Cell`. Used for tagging a cell by the PivotTable.
|
|
46
|
+
*/
|
|
47
|
+
context?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The value state of the `Cell`. This property is used for entry ready cells.
|
|
51
|
+
*/
|
|
52
|
+
valueState?:
|
|
53
|
+
| sap.ui.core.ValueState
|
|
54
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* The row of the `Cell`.
|
|
58
|
+
*/
|
|
59
|
+
row?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* The indent level of the `Cell`.
|
|
63
|
+
*/
|
|
64
|
+
displayLevel?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* The semantic class of the Cell. The css class associated to the class is put into the cells td.
|
|
68
|
+
*/
|
|
69
|
+
semanticClass?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Indicates whether the `Cell` is input enabled.
|
|
73
|
+
*/
|
|
74
|
+
inputEnabled?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
interface $SemanticStyleSettings extends sap.ui.core.$ElementSettings {
|
|
78
|
+
/**
|
|
79
|
+
* The value that is displayed in the cell
|
|
80
|
+
*/
|
|
81
|
+
member?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* The associated css class
|
|
85
|
+
*/
|
|
86
|
+
class?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @SINCE 1.0.0
|
|
91
|
+
* @EXPERIMENTAL
|
|
92
|
+
*
|
|
93
|
+
* Cell of a Grid.
|
|
94
|
+
*/
|
|
95
|
+
class Cell extends sap.ui.core.Element {
|
|
96
|
+
/**
|
|
97
|
+
* Creates and initializes a new Cell. settings.
|
|
98
|
+
*
|
|
99
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
100
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
101
|
+
* of the syntax of the settings object.
|
|
102
|
+
*/
|
|
103
|
+
constructor(
|
|
104
|
+
/**
|
|
105
|
+
* Initial settings for the new element
|
|
106
|
+
*/
|
|
107
|
+
mSettings?: sap.sac.grid.$CellSettings
|
|
108
|
+
);
|
|
109
|
+
/**
|
|
110
|
+
* Creates and initializes a new Cell. settings.
|
|
111
|
+
*
|
|
112
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
113
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
114
|
+
* of the syntax of the settings object.
|
|
115
|
+
*/
|
|
116
|
+
constructor(
|
|
117
|
+
/**
|
|
118
|
+
* ID for the new control, generated automatically if no ID is given
|
|
119
|
+
*/
|
|
120
|
+
sId?: string,
|
|
121
|
+
/**
|
|
122
|
+
* Initial settings for the new element
|
|
123
|
+
*/
|
|
124
|
+
mSettings?: sap.sac.grid.$CellSettings
|
|
125
|
+
);
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* Creates a new subclass of class sap.sac.grid.Cell with name `sClassName` and enriches it with the information
|
|
129
|
+
* contained in `oClassInfo`.
|
|
130
|
+
*
|
|
131
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
132
|
+
*/
|
|
133
|
+
static extend<T extends Record<string, unknown>>(
|
|
134
|
+
/**
|
|
135
|
+
* Name of the class being created
|
|
136
|
+
*/
|
|
137
|
+
sClassName: string,
|
|
138
|
+
/**
|
|
139
|
+
* Object literal with information about the class
|
|
140
|
+
*/
|
|
141
|
+
oClassInfo?: sap.ClassInfo<T, sap.sac.grid.Cell>,
|
|
142
|
+
/**
|
|
143
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
144
|
+
* used by this class
|
|
145
|
+
*/
|
|
146
|
+
FNMetaImpl?: Function
|
|
147
|
+
): Function;
|
|
148
|
+
/**
|
|
149
|
+
* Returns a metadata object for class sap.sac.grid.Cell.
|
|
150
|
+
*/
|
|
151
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
152
|
+
/**
|
|
153
|
+
* Gets current value of property {@link #getAlertLevel alertLevel}.
|
|
154
|
+
*
|
|
155
|
+
* The alert level (intensitiy of emphasis)
|
|
156
|
+
*/
|
|
157
|
+
getAlertLevel(): sap.sac.grid.AlertLevel;
|
|
158
|
+
/**
|
|
159
|
+
* Gets current value of property {@link #getCellType cellType}.
|
|
160
|
+
*
|
|
161
|
+
* The celltype of the cell. (HEADER, TITLE, RESULT, ...)
|
|
162
|
+
*/
|
|
163
|
+
getCellType(): sap.sac.grid.CellType;
|
|
164
|
+
/**
|
|
165
|
+
* Gets current value of property {@link #getColumn column}.
|
|
166
|
+
*
|
|
167
|
+
* The Column of the `Cell`
|
|
168
|
+
*
|
|
169
|
+
* Default value is `0`.
|
|
170
|
+
*/
|
|
171
|
+
getColumn(): int;
|
|
172
|
+
/**
|
|
173
|
+
* Gets current value of property {@link #getContext context}.
|
|
174
|
+
*
|
|
175
|
+
* The context the `Cell`. Used for tagging a cell by the PivotTable.
|
|
176
|
+
*/
|
|
177
|
+
getContext(): string;
|
|
178
|
+
/**
|
|
179
|
+
* Gets current value of property {@link #getDisplayLevel displayLevel}.
|
|
180
|
+
*
|
|
181
|
+
* The indent level of the `Cell`.
|
|
182
|
+
*/
|
|
183
|
+
getDisplayLevel(): int;
|
|
184
|
+
/**
|
|
185
|
+
* Gets current value of property {@link #getDisplayValue displayValue}.
|
|
186
|
+
*
|
|
187
|
+
* The value that is displayed in the cell
|
|
188
|
+
*/
|
|
189
|
+
getDisplayValue(): string;
|
|
190
|
+
/**
|
|
191
|
+
* Gets current value of property {@link #getHelpId helpId}.
|
|
192
|
+
*
|
|
193
|
+
* The Help Id of the `Cell`. Intended to be used by WebAssist/Enable Now.
|
|
194
|
+
*/
|
|
195
|
+
getHelpId(): string;
|
|
196
|
+
/**
|
|
197
|
+
* Gets current value of property {@link #getIcon icon}.
|
|
198
|
+
*
|
|
199
|
+
* The Icon to be displayed in the `Cell`
|
|
200
|
+
*/
|
|
201
|
+
getIcon(): string;
|
|
202
|
+
/**
|
|
203
|
+
* Gets current value of property {@link #getInputEnabled inputEnabled}.
|
|
204
|
+
*
|
|
205
|
+
* Indicates whether the `Cell` is input enabled.
|
|
206
|
+
*/
|
|
207
|
+
getInputEnabled(): boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Gets current value of property {@link #getRow row}.
|
|
210
|
+
*
|
|
211
|
+
* The row of the `Cell`.
|
|
212
|
+
*
|
|
213
|
+
* Default value is `0`.
|
|
214
|
+
*/
|
|
215
|
+
getRow(): int;
|
|
216
|
+
/**
|
|
217
|
+
* Gets current value of property {@link #getSemanticClass semanticClass}.
|
|
218
|
+
*
|
|
219
|
+
* The semantic class of the Cell. The css class associated to the class is put into the cells td.
|
|
220
|
+
*/
|
|
221
|
+
getSemanticClass(): string;
|
|
222
|
+
/**
|
|
223
|
+
* Gets current value of property {@link #getValueState valueState}.
|
|
224
|
+
*
|
|
225
|
+
* The value state of the `Cell`. This property is used for entry ready cells.
|
|
226
|
+
*/
|
|
227
|
+
getValueState(): sap.ui.core.ValueState;
|
|
228
|
+
/**
|
|
229
|
+
* Sets a new value for property {@link #getAlertLevel alertLevel}.
|
|
230
|
+
*
|
|
231
|
+
* The alert level (intensitiy of emphasis)
|
|
232
|
+
*
|
|
233
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
234
|
+
*/
|
|
235
|
+
setAlertLevel(
|
|
236
|
+
/**
|
|
237
|
+
* New value for property `alertLevel`
|
|
238
|
+
*/
|
|
239
|
+
sAlertLevel: sap.sac.grid.AlertLevel
|
|
240
|
+
): this;
|
|
241
|
+
/**
|
|
242
|
+
* Sets a new value for property {@link #getCellType cellType}.
|
|
243
|
+
*
|
|
244
|
+
* The celltype of the cell. (HEADER, TITLE, RESULT, ...)
|
|
245
|
+
*
|
|
246
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
247
|
+
*/
|
|
248
|
+
setCellType(
|
|
249
|
+
/**
|
|
250
|
+
* New value for property `cellType`
|
|
251
|
+
*/
|
|
252
|
+
sCellType: sap.sac.grid.CellType
|
|
253
|
+
): this;
|
|
254
|
+
/**
|
|
255
|
+
* Sets a new value for property {@link #getColumn column}.
|
|
256
|
+
*
|
|
257
|
+
* The Column of the `Cell`
|
|
258
|
+
*
|
|
259
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
260
|
+
*
|
|
261
|
+
* Default value is `0`.
|
|
262
|
+
*/
|
|
263
|
+
setColumn(
|
|
264
|
+
/**
|
|
265
|
+
* New value for property `column`
|
|
266
|
+
*/
|
|
267
|
+
iColumn?: int
|
|
268
|
+
): this;
|
|
269
|
+
/**
|
|
270
|
+
* Sets a new value for property {@link #getContext context}.
|
|
271
|
+
*
|
|
272
|
+
* The context the `Cell`. Used for tagging a cell by the PivotTable.
|
|
273
|
+
*
|
|
274
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
275
|
+
*/
|
|
276
|
+
setContext(
|
|
277
|
+
/**
|
|
278
|
+
* New value for property `context`
|
|
279
|
+
*/
|
|
280
|
+
sContext: string
|
|
281
|
+
): this;
|
|
282
|
+
/**
|
|
283
|
+
* Sets a new value for property {@link #getDisplayLevel displayLevel}.
|
|
284
|
+
*
|
|
285
|
+
* The indent level of the `Cell`.
|
|
286
|
+
*
|
|
287
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
288
|
+
*/
|
|
289
|
+
setDisplayLevel(
|
|
290
|
+
/**
|
|
291
|
+
* New value for property `displayLevel`
|
|
292
|
+
*/
|
|
293
|
+
iDisplayLevel: int
|
|
294
|
+
): this;
|
|
295
|
+
/**
|
|
296
|
+
* Sets a new value for property {@link #getDisplayValue displayValue}.
|
|
297
|
+
*
|
|
298
|
+
* The value that is displayed in the cell
|
|
299
|
+
*
|
|
300
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
301
|
+
*/
|
|
302
|
+
setDisplayValue(
|
|
303
|
+
/**
|
|
304
|
+
* New value for property `displayValue`
|
|
305
|
+
*/
|
|
306
|
+
sDisplayValue: string
|
|
307
|
+
): this;
|
|
308
|
+
/**
|
|
309
|
+
* Sets a new value for property {@link #getHelpId helpId}.
|
|
310
|
+
*
|
|
311
|
+
* The Help Id of the `Cell`. Intended to be used by WebAssist/Enable Now.
|
|
312
|
+
*
|
|
313
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
314
|
+
*/
|
|
315
|
+
setHelpId(
|
|
316
|
+
/**
|
|
317
|
+
* New value for property `helpId`
|
|
318
|
+
*/
|
|
319
|
+
sHelpId: string
|
|
320
|
+
): this;
|
|
321
|
+
/**
|
|
322
|
+
* Sets a new value for property {@link #getIcon icon}.
|
|
323
|
+
*
|
|
324
|
+
* The Icon to be displayed in the `Cell`
|
|
325
|
+
*
|
|
326
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
327
|
+
*/
|
|
328
|
+
setIcon(
|
|
329
|
+
/**
|
|
330
|
+
* New value for property `icon`
|
|
331
|
+
*/
|
|
332
|
+
sIcon: string
|
|
333
|
+
): this;
|
|
334
|
+
/**
|
|
335
|
+
* Sets a new value for property {@link #getInputEnabled inputEnabled}.
|
|
336
|
+
*
|
|
337
|
+
* Indicates whether the `Cell` is input enabled.
|
|
338
|
+
*
|
|
339
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
340
|
+
*/
|
|
341
|
+
setInputEnabled(
|
|
342
|
+
/**
|
|
343
|
+
* New value for property `inputEnabled`
|
|
344
|
+
*/
|
|
345
|
+
bInputEnabled: boolean
|
|
346
|
+
): this;
|
|
347
|
+
/**
|
|
348
|
+
* Sets a new value for property {@link #getRow row}.
|
|
349
|
+
*
|
|
350
|
+
* The row of the `Cell`.
|
|
351
|
+
*
|
|
352
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
353
|
+
*
|
|
354
|
+
* Default value is `0`.
|
|
355
|
+
*/
|
|
356
|
+
setRow(
|
|
357
|
+
/**
|
|
358
|
+
* New value for property `row`
|
|
359
|
+
*/
|
|
360
|
+
iRow?: int
|
|
361
|
+
): this;
|
|
362
|
+
/**
|
|
363
|
+
* Sets a new value for property {@link #getSemanticClass semanticClass}.
|
|
364
|
+
*
|
|
365
|
+
* The semantic class of the Cell. The css class associated to the class is put into the cells td.
|
|
366
|
+
*
|
|
367
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
368
|
+
*/
|
|
369
|
+
setSemanticClass(
|
|
370
|
+
/**
|
|
371
|
+
* New value for property `semanticClass`
|
|
372
|
+
*/
|
|
373
|
+
sSemanticClass: string
|
|
374
|
+
): this;
|
|
375
|
+
/**
|
|
376
|
+
* Sets a new value for property {@link #getValueState valueState}.
|
|
377
|
+
*
|
|
378
|
+
* The value state of the `Cell`. This property is used for entry ready cells.
|
|
379
|
+
*
|
|
380
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
381
|
+
*/
|
|
382
|
+
setValueState(
|
|
383
|
+
/**
|
|
384
|
+
* New value for property `valueState`
|
|
385
|
+
*/
|
|
386
|
+
sValueState: sap.ui.core.ValueState
|
|
387
|
+
): this;
|
|
388
|
+
}
|
|
389
|
+
/**
|
|
390
|
+
* @SINCE 1.0.0
|
|
391
|
+
* @EXPERIMENTAL
|
|
392
|
+
*
|
|
393
|
+
* Cell of a Pivot Table.
|
|
394
|
+
*/
|
|
395
|
+
class SemanticStyle extends sap.ui.core.Element {
|
|
396
|
+
/**
|
|
397
|
+
* Creates and initializes a new Semanitc style. settings.
|
|
398
|
+
*
|
|
399
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
400
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
401
|
+
* of the syntax of the settings object.
|
|
402
|
+
*/
|
|
403
|
+
constructor();
|
|
404
|
+
|
|
405
|
+
/**
|
|
406
|
+
* Creates a new subclass of class sap.sac.grid.SemanticStyle with name `sClassName` and enriches it with
|
|
407
|
+
* the information contained in `oClassInfo`.
|
|
408
|
+
*
|
|
409
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
|
|
410
|
+
*/
|
|
411
|
+
static extend<T extends Record<string, unknown>>(
|
|
412
|
+
/**
|
|
413
|
+
* Name of the class being created
|
|
414
|
+
*/
|
|
415
|
+
sClassName: string,
|
|
416
|
+
/**
|
|
417
|
+
* Object literal with information about the class
|
|
418
|
+
*/
|
|
419
|
+
oClassInfo?: sap.ClassInfo<T, sap.sac.grid.SemanticStyle>,
|
|
420
|
+
/**
|
|
421
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
422
|
+
* used by this class
|
|
423
|
+
*/
|
|
424
|
+
FNMetaImpl?: Function
|
|
425
|
+
): Function;
|
|
426
|
+
/**
|
|
427
|
+
* Returns a metadata object for class sap.sac.grid.SemanticStyle.
|
|
428
|
+
*/
|
|
429
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
430
|
+
/**
|
|
431
|
+
* Gets current value of property {@link #getClass class}.
|
|
432
|
+
*
|
|
433
|
+
* The associated css class
|
|
434
|
+
*/
|
|
435
|
+
getClass(): string;
|
|
436
|
+
/**
|
|
437
|
+
* Gets current value of property {@link #getMember member}.
|
|
438
|
+
*
|
|
439
|
+
* The value that is displayed in the cell
|
|
440
|
+
*/
|
|
441
|
+
getMember(): string;
|
|
442
|
+
/**
|
|
443
|
+
* Sets a new value for property {@link #getClass class}.
|
|
444
|
+
*
|
|
445
|
+
* The associated css class
|
|
446
|
+
*
|
|
447
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
448
|
+
*/
|
|
449
|
+
setClass(
|
|
450
|
+
/**
|
|
451
|
+
* New value for property `class`
|
|
452
|
+
*/
|
|
453
|
+
sClass: string
|
|
454
|
+
): this;
|
|
455
|
+
/**
|
|
456
|
+
* Sets a new value for property {@link #getMember member}.
|
|
457
|
+
*
|
|
458
|
+
* The value that is displayed in the cell
|
|
459
|
+
*
|
|
460
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
461
|
+
*/
|
|
462
|
+
setMember(
|
|
463
|
+
/**
|
|
464
|
+
* New value for property `member`
|
|
465
|
+
*/
|
|
466
|
+
sMember: string
|
|
467
|
+
): this;
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* Alert Level.
|
|
471
|
+
*/
|
|
472
|
+
enum AlertLevel {
|
|
473
|
+
/**
|
|
474
|
+
* Bad 1
|
|
475
|
+
*/
|
|
476
|
+
BAD_1 = "7",
|
|
477
|
+
/**
|
|
478
|
+
* Bad 2
|
|
479
|
+
*/
|
|
480
|
+
BAD_2 = "8",
|
|
481
|
+
/**
|
|
482
|
+
* Bad 3
|
|
483
|
+
*/
|
|
484
|
+
BAD_3 = "9",
|
|
485
|
+
/**
|
|
486
|
+
* Critical 1
|
|
487
|
+
*/
|
|
488
|
+
CRITICAL_1 = "4",
|
|
489
|
+
/**
|
|
490
|
+
* Critical 2
|
|
491
|
+
*/
|
|
492
|
+
CRITICAL_2 = "5",
|
|
493
|
+
/**
|
|
494
|
+
* Critical 3
|
|
495
|
+
*/
|
|
496
|
+
CRITICAL_3 = "6",
|
|
497
|
+
/**
|
|
498
|
+
* Good 1
|
|
499
|
+
*/
|
|
500
|
+
GOOD_1 = "1",
|
|
501
|
+
/**
|
|
502
|
+
* Good 2
|
|
503
|
+
*/
|
|
504
|
+
GOOD_2 = "2",
|
|
505
|
+
/**
|
|
506
|
+
* Good 3
|
|
507
|
+
*/
|
|
508
|
+
GOOD_3 = "3",
|
|
509
|
+
/**
|
|
510
|
+
* Normal
|
|
511
|
+
*/
|
|
512
|
+
NORMAL = "0",
|
|
513
|
+
}
|
|
514
|
+
/**
|
|
515
|
+
* Part of the grid in which a `cell` resides.
|
|
516
|
+
*/
|
|
517
|
+
enum CellGridPart {
|
|
518
|
+
/**
|
|
519
|
+
* Cell is rendered in the columns section (header/title)
|
|
520
|
+
*/
|
|
521
|
+
Columns = "Columns",
|
|
522
|
+
/**
|
|
523
|
+
* Cell is rendered in the data section
|
|
524
|
+
*/
|
|
525
|
+
Data = "Data",
|
|
526
|
+
/**
|
|
527
|
+
* Cell is in the empty section
|
|
528
|
+
*/
|
|
529
|
+
Empty = "Empty",
|
|
530
|
+
/**
|
|
531
|
+
* Cell is rendered in the intersection between row titles and column titles section
|
|
532
|
+
*/
|
|
533
|
+
Mixed = "Mixed",
|
|
534
|
+
/**
|
|
535
|
+
* Cell is rendered in the rows section (header/title)
|
|
536
|
+
*/
|
|
537
|
+
Rows = "Rows",
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* Types of a grid cell.
|
|
541
|
+
*/
|
|
542
|
+
enum CellType {
|
|
543
|
+
/**
|
|
544
|
+
* A data cell, representing value with a critical flavour
|
|
545
|
+
*/
|
|
546
|
+
CRITICAL = "Critical",
|
|
547
|
+
/**
|
|
548
|
+
* An empty data cell
|
|
549
|
+
*/
|
|
550
|
+
EMPTY = "Empty",
|
|
551
|
+
/**
|
|
552
|
+
* A header cell, representing a member of a (virtual) dimension
|
|
553
|
+
*/
|
|
554
|
+
HEADER = "Header",
|
|
555
|
+
/**
|
|
556
|
+
* A data cell, representing value with a negative flavour
|
|
557
|
+
*/
|
|
558
|
+
NEGATIVE = "Negative",
|
|
559
|
+
/**
|
|
560
|
+
* A data cell, representing value with a positive flavour
|
|
561
|
+
*/
|
|
562
|
+
POSITIVE = "Positive",
|
|
563
|
+
/**
|
|
564
|
+
* A result cell, representing an aggregated value
|
|
565
|
+
*/
|
|
566
|
+
RESULT = "Result",
|
|
567
|
+
/**
|
|
568
|
+
* A result cell, representing an aggregated value with a critical flavour
|
|
569
|
+
*/
|
|
570
|
+
RESULT_CRITICAL = "ResultCritical",
|
|
571
|
+
/**
|
|
572
|
+
* A virtual member of a dimension indicating an aggregation of members
|
|
573
|
+
*/
|
|
574
|
+
RESULT_HEADER = "ResultHeader",
|
|
575
|
+
/**
|
|
576
|
+
* A result cell, representing an aggregated value with a negative flavour
|
|
577
|
+
*/
|
|
578
|
+
RESULT_NEGATIVE = "ResultNegative",
|
|
579
|
+
/**
|
|
580
|
+
* A result cell, representing an aggregated value with a positive flavour
|
|
581
|
+
*/
|
|
582
|
+
RESULT_POSITIVE = "ResultPositive",
|
|
583
|
+
/**
|
|
584
|
+
* A data cell, representing value
|
|
585
|
+
*/
|
|
586
|
+
STANDARD = "Standard",
|
|
587
|
+
/**
|
|
588
|
+
* A title cell, representing a dimension
|
|
589
|
+
*/
|
|
590
|
+
TITLE = "Title",
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
* Format to be applied to a `Grid`
|
|
594
|
+
*/
|
|
595
|
+
enum Format {
|
|
596
|
+
/**
|
|
597
|
+
* Basic grid format
|
|
598
|
+
*/
|
|
599
|
+
Basic = "Basic",
|
|
600
|
+
/**
|
|
601
|
+
* business style
|
|
602
|
+
*/
|
|
603
|
+
BusinessStyle = "BusinessStyle",
|
|
604
|
+
/**
|
|
605
|
+
* busines formular style
|
|
606
|
+
*/
|
|
607
|
+
BusinessStyleFormular = "BusinessStyleFormular",
|
|
608
|
+
/**
|
|
609
|
+
* custom style
|
|
610
|
+
*/
|
|
611
|
+
CustomStyle = "CustomStyle",
|
|
612
|
+
/**
|
|
613
|
+
* mimicking spreadsheet
|
|
614
|
+
*/
|
|
615
|
+
ExcelStyle = "ExcelStyle",
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
interface IUI5DefineDependencyNames {
|
|
621
|
+
"sap/sac/grid/AlertLevel": undefined;
|
|
622
|
+
|
|
623
|
+
"sap/sac/grid/Cell": undefined;
|
|
624
|
+
|
|
625
|
+
"sap/sac/grid/CellGridPart": undefined;
|
|
626
|
+
|
|
627
|
+
"sap/sac/grid/CellType": undefined;
|
|
628
|
+
|
|
629
|
+
"sap/sac/grid/Format": undefined;
|
|
630
|
+
|
|
631
|
+
"sap/sac/grid/library": undefined;
|
|
632
|
+
|
|
633
|
+
"sap/sac/grid/SemanticStyle": undefined;
|
|
634
|
+
}
|
|
635
|
+
}
|