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