@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,453 @@
|
|
|
1
|
+
// For Library Version: 1.113.0
|
|
2
|
+
|
|
3
|
+
declare module "sap/ui/support/library" {
|
|
4
|
+
/**
|
|
5
|
+
* @SINCE 1.50
|
|
6
|
+
*
|
|
7
|
+
* Defines the Audiences.
|
|
8
|
+
*/
|
|
9
|
+
export enum Audiences {
|
|
10
|
+
/**
|
|
11
|
+
* Audience just on Application level.
|
|
12
|
+
*/
|
|
13
|
+
Application = "Application",
|
|
14
|
+
/**
|
|
15
|
+
* Audience just on Control level.
|
|
16
|
+
*/
|
|
17
|
+
Control = "Control",
|
|
18
|
+
/**
|
|
19
|
+
* Audience just on Internal level.
|
|
20
|
+
*/
|
|
21
|
+
Internal = "Internal",
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @SINCE 1.50
|
|
25
|
+
*
|
|
26
|
+
* Issue Categories.
|
|
27
|
+
*/
|
|
28
|
+
export enum Categories {
|
|
29
|
+
/**
|
|
30
|
+
* Accessibility issue category.
|
|
31
|
+
*/
|
|
32
|
+
Accessibility = "Accessibility",
|
|
33
|
+
/**
|
|
34
|
+
* Binding issue category.
|
|
35
|
+
*/
|
|
36
|
+
Bindings = "Bindings",
|
|
37
|
+
/**
|
|
38
|
+
* Consistency issue category.
|
|
39
|
+
*/
|
|
40
|
+
Consistency = "Consistency",
|
|
41
|
+
/**
|
|
42
|
+
* DataModel issue category.
|
|
43
|
+
*/
|
|
44
|
+
DataModel = "DataModel",
|
|
45
|
+
/**
|
|
46
|
+
* @SINCE 1.58
|
|
47
|
+
*
|
|
48
|
+
* Fiori Guidelines issue category.
|
|
49
|
+
*/
|
|
50
|
+
FioriGuidelines = "FioriGuidelines",
|
|
51
|
+
/**
|
|
52
|
+
* Functionality issue category.
|
|
53
|
+
*/
|
|
54
|
+
Functionality = "Functionality",
|
|
55
|
+
/**
|
|
56
|
+
* Memory issue category.
|
|
57
|
+
*/
|
|
58
|
+
Memory = "Memory",
|
|
59
|
+
/**
|
|
60
|
+
* @SINCE 1.60
|
|
61
|
+
*
|
|
62
|
+
* Modularization issue category.
|
|
63
|
+
*/
|
|
64
|
+
Modularization = "Modularization",
|
|
65
|
+
/**
|
|
66
|
+
* Other issue category.
|
|
67
|
+
*/
|
|
68
|
+
Other = "Other",
|
|
69
|
+
/**
|
|
70
|
+
* Performance issue category.
|
|
71
|
+
*/
|
|
72
|
+
Performance = "Performance",
|
|
73
|
+
/**
|
|
74
|
+
* Usability issue category.
|
|
75
|
+
*/
|
|
76
|
+
Usability = "Usability",
|
|
77
|
+
/**
|
|
78
|
+
* Usage issue category.
|
|
79
|
+
*/
|
|
80
|
+
Usage = "Usage",
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @SINCE 1.58
|
|
84
|
+
*
|
|
85
|
+
* Analysis history formats.
|
|
86
|
+
*/
|
|
87
|
+
export enum HistoryFormats {
|
|
88
|
+
/**
|
|
89
|
+
* ABAP history format.
|
|
90
|
+
*/
|
|
91
|
+
Abap = "Abap",
|
|
92
|
+
/**
|
|
93
|
+
* String history format.
|
|
94
|
+
*/
|
|
95
|
+
String = "String",
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Support Assistant rule configuration
|
|
99
|
+
*/
|
|
100
|
+
export type RuleConfiguration = {
|
|
101
|
+
id: string;
|
|
102
|
+
|
|
103
|
+
async: boolean;
|
|
104
|
+
|
|
105
|
+
title: string;
|
|
106
|
+
|
|
107
|
+
resolution: string;
|
|
108
|
+
|
|
109
|
+
minversion: string;
|
|
110
|
+
|
|
111
|
+
categories: Array<Categories | keyof typeof Categories>;
|
|
112
|
+
|
|
113
|
+
audiences: Array<Audiences | keyof typeof Audiences>;
|
|
114
|
+
|
|
115
|
+
description: string;
|
|
116
|
+
|
|
117
|
+
resolutionurls: string;
|
|
118
|
+
|
|
119
|
+
check: string;
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @SINCE 1.50
|
|
124
|
+
*
|
|
125
|
+
* Defines severity types.
|
|
126
|
+
*/
|
|
127
|
+
export enum Severity {
|
|
128
|
+
/**
|
|
129
|
+
* High issue severity.
|
|
130
|
+
*/
|
|
131
|
+
High = "High",
|
|
132
|
+
/**
|
|
133
|
+
* Low issue severity.
|
|
134
|
+
*/
|
|
135
|
+
Low = "Low",
|
|
136
|
+
/**
|
|
137
|
+
* Medium issue severity.
|
|
138
|
+
*/
|
|
139
|
+
Medium = "Medium",
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* @SINCE 1.60
|
|
143
|
+
*
|
|
144
|
+
* Contains the available system presets.
|
|
145
|
+
*/
|
|
146
|
+
export enum SystemPresets {
|
|
147
|
+
/**
|
|
148
|
+
* The accessibility preset.
|
|
149
|
+
*/
|
|
150
|
+
Accessibility = "undefined",
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
declare module "sap/ui/support/supportRules/History" {
|
|
155
|
+
/**
|
|
156
|
+
* Analysis result which is created after analysis with the SupportAssistant.
|
|
157
|
+
*/
|
|
158
|
+
export type AnalysisResult = {
|
|
159
|
+
/**
|
|
160
|
+
* The loaded libraries.
|
|
161
|
+
*/
|
|
162
|
+
loadedLibraries: Record<string, Object>;
|
|
163
|
+
/**
|
|
164
|
+
* Data for the performed analysis.
|
|
165
|
+
*/
|
|
166
|
+
analysisInfo: Object;
|
|
167
|
+
/**
|
|
168
|
+
* The metadata provided in the analyze method, if any.
|
|
169
|
+
*/
|
|
170
|
+
analysisMetadata: Object;
|
|
171
|
+
/**
|
|
172
|
+
* Array with information about the application.
|
|
173
|
+
*/
|
|
174
|
+
applicationInfo: Object[];
|
|
175
|
+
/**
|
|
176
|
+
* Technical information.
|
|
177
|
+
*/
|
|
178
|
+
technicalInfo: Object[];
|
|
179
|
+
/**
|
|
180
|
+
* Count of the issues, found in the application.
|
|
181
|
+
*/
|
|
182
|
+
totalIssuesCount: number;
|
|
183
|
+
/**
|
|
184
|
+
* Array with all the issues, which were found.
|
|
185
|
+
*/
|
|
186
|
+
issues: Object[];
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
declare module "sap/ui/support/supportRules/ExecutionScope" {
|
|
191
|
+
/**
|
|
192
|
+
* @SINCE 1.48
|
|
193
|
+
*
|
|
194
|
+
* Allows to select the scope of analysis on an application.
|
|
195
|
+
*
|
|
196
|
+
* Overview:
|
|
197
|
+
*
|
|
198
|
+
* The ExecutionScope provides access to internal UI5 objects available for inspection. The `getElements`
|
|
199
|
+
* API method allows the user to select a specific subset of elements valid for their case. It accepts one
|
|
200
|
+
* query object argument.
|
|
201
|
+
*
|
|
202
|
+
* Usage: The ExecutionScope is passed as third argument to all rule check functions.
|
|
203
|
+
*
|
|
204
|
+
* When you analyze your application, available objects are collected depending on the settings passed to
|
|
205
|
+
* the Support Assistant at the moment when you start it.
|
|
206
|
+
*/
|
|
207
|
+
export default class ExecutionScope {
|
|
208
|
+
constructor();
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
*
|
|
212
|
+
* @returns Array of matched elements
|
|
213
|
+
*/
|
|
214
|
+
getElements(
|
|
215
|
+
/**
|
|
216
|
+
* Object with specific filtering options
|
|
217
|
+
*/
|
|
218
|
+
oConfig: {
|
|
219
|
+
/**
|
|
220
|
+
* Type name to filter by type
|
|
221
|
+
*/
|
|
222
|
+
type: string;
|
|
223
|
+
/**
|
|
224
|
+
* Option to exclude elements that are not public aggregations
|
|
225
|
+
*/
|
|
226
|
+
public: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* Option to exclude elements that are clones of list bindings
|
|
229
|
+
*/
|
|
230
|
+
cloned: boolean;
|
|
231
|
+
}
|
|
232
|
+
): any[];
|
|
233
|
+
/**
|
|
234
|
+
* Gets elements by their type
|
|
235
|
+
*
|
|
236
|
+
* @returns Array of matched elements
|
|
237
|
+
*/
|
|
238
|
+
getElementsByClassName(
|
|
239
|
+
/**
|
|
240
|
+
* Either string or function to be used when selecting a subset of elements
|
|
241
|
+
*/
|
|
242
|
+
classNameSelector: string | Function
|
|
243
|
+
): any[];
|
|
244
|
+
/**
|
|
245
|
+
* Gets the logged objects by object type
|
|
246
|
+
*
|
|
247
|
+
* @returns Array of logged objects
|
|
248
|
+
*/
|
|
249
|
+
getLoggedObjects(
|
|
250
|
+
/**
|
|
251
|
+
* Type of logged objects
|
|
252
|
+
*/
|
|
253
|
+
type: any
|
|
254
|
+
): any[];
|
|
255
|
+
/**
|
|
256
|
+
* Returns all public elements, i.e. elements that are part of public API aggregations
|
|
257
|
+
*
|
|
258
|
+
* @returns Array of matched elements
|
|
259
|
+
*/
|
|
260
|
+
getPublicElements(): any[];
|
|
261
|
+
/**
|
|
262
|
+
* Gets the type of the execution scope
|
|
263
|
+
*
|
|
264
|
+
* @returns The type of the execution scope. Possible values are `global`, `subtree` or `components`.
|
|
265
|
+
*/
|
|
266
|
+
getType(): string;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
declare module "sap/ui/support/RuleAnalyzer" {
|
|
271
|
+
import { RuleConfiguration, HistoryFormats } from "sap/ui/support/library";
|
|
272
|
+
|
|
273
|
+
import { AnalysisResult } from "sap/ui/support/supportRules/History";
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* The `sap.ui.support.RuleAnalyzer` namespace is the central entry point for the Support Assistant functionality.
|
|
277
|
+
*
|
|
278
|
+
* Overview: `sap.ui.support.RuleAnalyzer` reveals an API for the Support Assistant which you can easily
|
|
279
|
+
* work with to analyze an application.
|
|
280
|
+
*
|
|
281
|
+
* Usage:
|
|
282
|
+
*
|
|
283
|
+
*
|
|
284
|
+
* - `sap.ui.support.RuleAnalyzer.addRule` method allows adding a new rule.
|
|
285
|
+
* - `sap.ui.support.RuleAnalyzer.analyze` starts the analysis of the application.
|
|
286
|
+
* - Then the result can be accessed with methods `sap.ui.support.RuleAnalyzer.getAnalysisHistory`, `sap.ui.support.RuleAnalyzer.getLastAnalysisHistory`
|
|
287
|
+
* or `sap.ui.support.RuleAnalyzer.getFormattedAnalysisHistory`.
|
|
288
|
+
*
|
|
289
|
+
* For more information, see {@link topic:a34eb58aaf124f538a3ead23a6cab04a Support Assistant API}.
|
|
290
|
+
*/
|
|
291
|
+
interface RuleAnalyzer {
|
|
292
|
+
/**
|
|
293
|
+
* @SINCE 1.60
|
|
294
|
+
*
|
|
295
|
+
* Adds new temporary rule when in silent mode
|
|
296
|
+
*
|
|
297
|
+
* @returns Rule creation status. Possible values are "success" or description of why adding failed.
|
|
298
|
+
*/
|
|
299
|
+
addRule(
|
|
300
|
+
/**
|
|
301
|
+
* Settings for the new rule. For detailed information about its properties see {@link topic:eaeea19a991d46f29e6d8d8827317d0e
|
|
302
|
+
* Rule Property Values}
|
|
303
|
+
*/
|
|
304
|
+
oRule: RuleConfiguration
|
|
305
|
+
): string;
|
|
306
|
+
/**
|
|
307
|
+
* Main method to perform analysis of a given running application.
|
|
308
|
+
*
|
|
309
|
+
* Allows to choose a particular execution scope - desired part of the UI to be checked and a flexible way
|
|
310
|
+
* to specify the list of rules to be used.
|
|
311
|
+
*
|
|
312
|
+
* @returns Notifies the finished state by starting the Analyzer
|
|
313
|
+
*/
|
|
314
|
+
analyze(
|
|
315
|
+
/**
|
|
316
|
+
* The execution scope of the analysis (see {@link topic:e15067d976f24b11907f4c262bd749a0 Execution Scope}).
|
|
317
|
+
*/
|
|
318
|
+
oExecutionScope?: {
|
|
319
|
+
/**
|
|
320
|
+
* Possible values are `global`, `subtree` or `components`.
|
|
321
|
+
*/
|
|
322
|
+
type?: string;
|
|
323
|
+
/**
|
|
324
|
+
* ID of the root element that forms a subtree. Use when the scope type is `subtree`.
|
|
325
|
+
*/
|
|
326
|
+
parentId?: string;
|
|
327
|
+
/**
|
|
328
|
+
* List of IDs of the components to be analyzed. Use only when the scope type is `components`.
|
|
329
|
+
*/
|
|
330
|
+
components?: string[];
|
|
331
|
+
},
|
|
332
|
+
/**
|
|
333
|
+
* This optional parameter allows for selection of subset of rules for the analysis. You can pass:
|
|
334
|
+
*
|
|
335
|
+
* - A rule preset object containing the preset ID and the list of rules it contains.
|
|
336
|
+
* - A string that refers to the ID of a system preset.
|
|
337
|
+
* - An object array with a plain list of rules.
|
|
338
|
+
*/
|
|
339
|
+
vPresetOrRules?: object | string | object[],
|
|
340
|
+
/**
|
|
341
|
+
* Metadata in custom format. Its only purpose is to be included in the analysis report.
|
|
342
|
+
*/
|
|
343
|
+
oMetadata?: object
|
|
344
|
+
): Promise<any>;
|
|
345
|
+
/**
|
|
346
|
+
* Returns the history of all executed analyses.
|
|
347
|
+
*
|
|
348
|
+
* @returns Array of history objects in the order of analyses performed. The results of the last analysis
|
|
349
|
+
* are contained in the last element in the array.
|
|
350
|
+
*/
|
|
351
|
+
getAnalysisHistory(): AnalysisResult[];
|
|
352
|
+
/**
|
|
353
|
+
* Returns the history of all executed analyses into formatted output depending on the passed format.
|
|
354
|
+
*
|
|
355
|
+
* @returns All analysis history objects in the correct format.
|
|
356
|
+
*/
|
|
357
|
+
getFormattedAnalysisHistory(
|
|
358
|
+
/**
|
|
359
|
+
* The format into which the history object will be converted. Possible values are listed in sap.ui.support.HistoryFormats.
|
|
360
|
+
*/
|
|
361
|
+
sFormat?: HistoryFormats | keyof typeof HistoryFormats
|
|
362
|
+
): any;
|
|
363
|
+
/**
|
|
364
|
+
* Returns the result of the last analysis performed.
|
|
365
|
+
*
|
|
366
|
+
* @returns Last analysis history.
|
|
367
|
+
*/
|
|
368
|
+
getLastAnalysisHistory(): AnalysisResult;
|
|
369
|
+
}
|
|
370
|
+
const RuleAnalyzer: RuleAnalyzer;
|
|
371
|
+
export default RuleAnalyzer;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
declare namespace sap {
|
|
375
|
+
namespace ui {
|
|
376
|
+
/**
|
|
377
|
+
* @SINCE 1.50
|
|
378
|
+
*
|
|
379
|
+
* UI5 library: sap.ui.support. A library for the Support Assistant tool. Overview: The library provides
|
|
380
|
+
* the Support Assistant tool. It enables application developers to check whether their applications are
|
|
381
|
+
* built according to the best practices for building SAPUI5 apps. The tool uses a set of pre-defined rules
|
|
382
|
+
* to check all aspects of an application.
|
|
383
|
+
*/
|
|
384
|
+
namespace support {
|
|
385
|
+
/**
|
|
386
|
+
* The CoreFacade interface allows rule developers to access the metadata, models, UI areas and components
|
|
387
|
+
* of the Core.
|
|
388
|
+
*
|
|
389
|
+
* Usage: The CoreFacade is passed as second argument to all rule check functions.
|
|
390
|
+
*/
|
|
391
|
+
class CoreFacade {
|
|
392
|
+
constructor();
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Gets the Components from the Core object.
|
|
396
|
+
*/
|
|
397
|
+
getComponents(): void;
|
|
398
|
+
/**
|
|
399
|
+
* Gets the Metadata from the Core object.
|
|
400
|
+
*/
|
|
401
|
+
getMetadata(): void;
|
|
402
|
+
/**
|
|
403
|
+
* Gets the Models from the Core object.
|
|
404
|
+
*/
|
|
405
|
+
getModels(): void;
|
|
406
|
+
/**
|
|
407
|
+
* Gets the UI areas from the Core object.
|
|
408
|
+
*/
|
|
409
|
+
getUIAreas(): void;
|
|
410
|
+
}
|
|
411
|
+
/**
|
|
412
|
+
* The IssueManagerFacade allows rule developers to add new issues.
|
|
413
|
+
*
|
|
414
|
+
* Usage: The IssueManagerFacade is passed as first argument to all rule check functions.
|
|
415
|
+
*/
|
|
416
|
+
class IssueManagerFacade {
|
|
417
|
+
constructor();
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* Adds issue
|
|
421
|
+
*/
|
|
422
|
+
addIssue(
|
|
423
|
+
/**
|
|
424
|
+
* Issue object to be added
|
|
425
|
+
*/
|
|
426
|
+
oIssue: {
|
|
427
|
+
severity: import("sap/ui/support/library").Severity;
|
|
428
|
+
|
|
429
|
+
details: string;
|
|
430
|
+
|
|
431
|
+
context: {
|
|
432
|
+
id: string;
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
): void;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
interface IUI5DefineDependencyNames {
|
|
441
|
+
"sap/ui/support/library": undefined;
|
|
442
|
+
|
|
443
|
+
"sap/ui/support/RuleAnalyzer": undefined;
|
|
444
|
+
|
|
445
|
+
"sap/ui/support/supportRules/CoreFacade": undefined;
|
|
446
|
+
|
|
447
|
+
"sap/ui/support/supportRules/ExecutionScope": undefined;
|
|
448
|
+
|
|
449
|
+
"sap/ui/support/supportRules/History": undefined;
|
|
450
|
+
|
|
451
|
+
"sap/ui/support/supportRules/IssueManager": undefined;
|
|
452
|
+
}
|
|
453
|
+
}
|