@sapui5/ts-types 1.121.2 → 1.122.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 +7 -7
- 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 +9 -3
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +45 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +68 -272
- package/types/sap.fe.navigation.d.ts +116 -8
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.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 +53 -2
- package/types/sap.insights.d.ts +22 -1
- package/types/{mobile-1.121.0-d.ts → sap.m.d.ts} +988 -55
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +1 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +272 -196
- package/types/sap.suite.ui.commons.d.ts +1347 -84
- package/types/sap.suite.ui.generic.template.d.ts +5 -3
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/{tnt-1.121.0-d.ts → sap.tnt.d.ts} +1 -1
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/{commons-1.121.0-d.ts → sap.ui.commons.d.ts} +4 -1
- package/types/sap.ui.comp.d.ts +230 -25
- package/types/{core-1.121.0-d.ts → sap.ui.core.d.ts} +337 -171
- package/types/sap.ui.dt.d.ts +3 -0
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +1 -3
- 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 +5 -1
- package/types/sap.ui.layout.d.ts +4 -4
- package/types/{mdc-1.121.0-d.ts → sap.ui.mdc.d.ts} +163 -39
- 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 +1 -1
- package/types/sap.ui.table.d.ts +15 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +4 -4
- package/types/{ux3-1.121.0-d.ts → sap.ui.ux3.d.ts} +3 -3
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +92 -320
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +7 -482
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +50 -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 +1 -1
- package/types/dt-1.121.0-d.ts +0 -3
package/types/sap.sac.df.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.122.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace sac {
|
|
@@ -1265,6 +1265,30 @@ declare namespace sap {
|
|
|
1265
1265
|
*/
|
|
1266
1266
|
oProperties: Object
|
|
1267
1267
|
): Promise<sap.sac.df.model.VariableGroup>;
|
|
1268
|
+
/**
|
|
1269
|
+
* Creates a new variable group and attaches it to the model.
|
|
1270
|
+
*
|
|
1271
|
+
* A variable group defines which variables of the underlying data providers should behave as the same variable.
|
|
1272
|
+
* The group is defined by a name and a rule. The first added variable becomes automatically the `MergedVariable`.
|
|
1273
|
+
*
|
|
1274
|
+
*
|
|
1275
|
+
* @returns created variable group
|
|
1276
|
+
*/
|
|
1277
|
+
createVariableGroup(
|
|
1278
|
+
/**
|
|
1279
|
+
* Variable group name
|
|
1280
|
+
*/
|
|
1281
|
+
sVariableGroupName: string,
|
|
1282
|
+
/**
|
|
1283
|
+
* Rule is a function which accept the variable definition and decides if the variable has to be part of
|
|
1284
|
+
* te group.
|
|
1285
|
+
*/
|
|
1286
|
+
fnRule: Function,
|
|
1287
|
+
/**
|
|
1288
|
+
* Additional properties
|
|
1289
|
+
*/
|
|
1290
|
+
oProperties: Object
|
|
1291
|
+
): sap.sac.df.model.VariableGroup;
|
|
1268
1292
|
/**
|
|
1269
1293
|
* Updates the model from the given the model state including all aggregated data providers
|
|
1270
1294
|
*
|
|
@@ -1317,6 +1341,18 @@ declare namespace sap {
|
|
|
1317
1341
|
*/
|
|
1318
1342
|
oParameters?: object
|
|
1319
1343
|
): this;
|
|
1344
|
+
/**
|
|
1345
|
+
* Fires event {@link #event:variableGroupsAdded variableGroupsAdded} to attached listeners.
|
|
1346
|
+
*
|
|
1347
|
+
*
|
|
1348
|
+
* @returns Reference to this in order to allow method chaining
|
|
1349
|
+
*/
|
|
1350
|
+
fireVariableGroupsAdded(
|
|
1351
|
+
/**
|
|
1352
|
+
* Parameters to pass along with the event
|
|
1353
|
+
*/
|
|
1354
|
+
oParameters?: object
|
|
1355
|
+
): this;
|
|
1320
1356
|
/**
|
|
1321
1357
|
* Get a data provider
|
|
1322
1358
|
*
|
|
@@ -1421,6 +1457,21 @@ declare namespace sap {
|
|
|
1421
1457
|
*/
|
|
1422
1458
|
mMessages: Record<string, sap.ui.core.message.Message[]>
|
|
1423
1459
|
): void;
|
|
1460
|
+
/**
|
|
1461
|
+
* Set variable groups.
|
|
1462
|
+
*
|
|
1463
|
+
* A variable group defines which variables of the underlying data providers should behave as the same variable.
|
|
1464
|
+
* The group is defined by a name and a rule. The first added variable becomes automatically the `MergedVariable`.
|
|
1465
|
+
*
|
|
1466
|
+
*
|
|
1467
|
+
* @returns Promise which resolves the created variable group
|
|
1468
|
+
*/
|
|
1469
|
+
setVariableGroups(
|
|
1470
|
+
/**
|
|
1471
|
+
* array of variable groups
|
|
1472
|
+
*/
|
|
1473
|
+
aVariableGroups: sap.sac.df.model.VariableGroup[]
|
|
1474
|
+
): Promise<sap.sac.df.model.VariableGroup[]>;
|
|
1424
1475
|
}
|
|
1425
1476
|
/**
|
|
1426
1477
|
* Variable Object
|
|
@@ -1943,36 +1994,32 @@ declare namespace sap {
|
|
|
1943
1994
|
|
|
1944
1995
|
interface $FilterBarSettings extends sap.ui.mdc.$FilterBarSettings {
|
|
1945
1996
|
/**
|
|
1946
|
-
*
|
|
1997
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
1947
1998
|
*/
|
|
1948
|
-
|
|
1949
|
-
| string
|
|
1950
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
1999
|
+
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
1951
2000
|
|
|
1952
2001
|
/**
|
|
1953
2002
|
* Mode
|
|
2003
|
+
*
|
|
2004
|
+
* @deprecated - please use the property `metaPath` instead
|
|
1954
2005
|
*/
|
|
1955
2006
|
mode?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
2007
|
+
}
|
|
1956
2008
|
|
|
2009
|
+
interface $FilterFieldSettings
|
|
2010
|
+
extends sap.ui.mdc.field.$FieldBaseSettings {
|
|
1957
2011
|
/**
|
|
1958
|
-
* Defines
|
|
1959
|
-
*/
|
|
1960
|
-
display?:
|
|
1961
|
-
| sap.ui.mdc.enums.FieldDisplay
|
|
1962
|
-
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
1963
|
-
| `{${string}}`;
|
|
1964
|
-
|
|
1965
|
-
/**
|
|
1966
|
-
* Fires before update variable of multidimension model after input value or open value help of variable.
|
|
2012
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
1967
2013
|
*/
|
|
1968
|
-
|
|
1969
|
-
oEvent: FilterBar$BeforeFilterChangeEvent
|
|
1970
|
-
) => void;
|
|
2014
|
+
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
1971
2015
|
|
|
1972
2016
|
/**
|
|
1973
|
-
*
|
|
2017
|
+
* Search attributes for the token validation. Available options are Key and Text
|
|
1974
2018
|
*/
|
|
1975
|
-
|
|
2019
|
+
searchAttributes?:
|
|
2020
|
+
| string[]
|
|
2021
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
2022
|
+
| `{${string}}`;
|
|
1976
2023
|
}
|
|
1977
2024
|
|
|
1978
2025
|
interface $FlexAnalysisSettings extends sap.ui.core.$ControlSettings {
|
|
@@ -2178,6 +2225,11 @@ declare namespace sap {
|
|
|
2178
2225
|
| sap.sac.df.FlexAnalysisPanel
|
|
2179
2226
|
| sap.ui.base.ManagedObject.AggregationBindingInfo
|
|
2180
2227
|
| `{${string}}`;
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* Fires on cell click event
|
|
2231
|
+
*/
|
|
2232
|
+
onCellClick?: (oEvent: FlexAnalysis$OnCellClickEvent) => void;
|
|
2181
2233
|
}
|
|
2182
2234
|
|
|
2183
2235
|
interface $FlexAnalysisPanelSettings
|
|
@@ -2206,15 +2258,13 @@ declare namespace sap {
|
|
|
2206
2258
|
content?: sap.ui.core.Control;
|
|
2207
2259
|
}
|
|
2208
2260
|
|
|
2209
|
-
interface
|
|
2261
|
+
interface FlexAnalysis$OnCellClickEventParameters {
|
|
2210
2262
|
/**
|
|
2211
|
-
*
|
|
2263
|
+
* Cell context
|
|
2212
2264
|
*/
|
|
2213
|
-
|
|
2265
|
+
cellContext?: object;
|
|
2214
2266
|
}
|
|
2215
2267
|
|
|
2216
|
-
interface FilterBar$CancelFilterChangeEventParameters {}
|
|
2217
|
-
|
|
2218
2268
|
/**
|
|
2219
2269
|
* A Filter Bar based on Multidimensional Model
|
|
2220
2270
|
*
|
|
@@ -2262,253 +2312,204 @@ declare namespace sap {
|
|
|
2262
2312
|
*/
|
|
2263
2313
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
2264
2314
|
/**
|
|
2265
|
-
*
|
|
2266
|
-
* of this `sap.sac.df.FilterBar`.
|
|
2267
|
-
*
|
|
2268
|
-
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2269
|
-
* otherwise it will be bound to this `sap.sac.df.FilterBar` itself.
|
|
2315
|
+
* Gets current value of property {@link #getMetaPath metaPath}.
|
|
2270
2316
|
*
|
|
2271
|
-
*
|
|
2317
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
2272
2318
|
*
|
|
2273
2319
|
*
|
|
2274
|
-
* @returns
|
|
2320
|
+
* @returns Value of property `metaPath`
|
|
2275
2321
|
*/
|
|
2276
|
-
|
|
2277
|
-
/**
|
|
2278
|
-
* An application-specific payload object that will be passed to the event handler along with the event
|
|
2279
|
-
* object when firing the event
|
|
2280
|
-
*/
|
|
2281
|
-
oData: object,
|
|
2282
|
-
/**
|
|
2283
|
-
* The function to be called when the event occurs
|
|
2284
|
-
*/
|
|
2285
|
-
fnFunction: (p1: FilterBar$BeforeFilterChangeEvent) => void,
|
|
2286
|
-
/**
|
|
2287
|
-
* Context object to call the event handler with. Defaults to this `sap.sac.df.FilterBar` itself
|
|
2288
|
-
*/
|
|
2289
|
-
oListener?: object
|
|
2290
|
-
): this;
|
|
2322
|
+
getMetaPath(): string;
|
|
2291
2323
|
/**
|
|
2292
|
-
*
|
|
2293
|
-
* of this `sap.sac.df.FilterBar`.
|
|
2324
|
+
* Gets current value of property {@link #getMode mode}.
|
|
2294
2325
|
*
|
|
2295
|
-
*
|
|
2296
|
-
* otherwise it will be bound to this `sap.sac.df.FilterBar` itself.
|
|
2326
|
+
* Mode
|
|
2297
2327
|
*
|
|
2298
|
-
*
|
|
2328
|
+
* Default value is `"VariablesOfDataProvider"`.
|
|
2299
2329
|
*
|
|
2330
|
+
* @deprecated - please use the property `metaPath` instead
|
|
2300
2331
|
*
|
|
2301
|
-
* @returns
|
|
2332
|
+
* @returns Value of property `mode`
|
|
2302
2333
|
*/
|
|
2303
|
-
|
|
2304
|
-
/**
|
|
2305
|
-
* The function to be called when the event occurs
|
|
2306
|
-
*/
|
|
2307
|
-
fnFunction: (p1: FilterBar$BeforeFilterChangeEvent) => void,
|
|
2308
|
-
/**
|
|
2309
|
-
* Context object to call the event handler with. Defaults to this `sap.sac.df.FilterBar` itself
|
|
2310
|
-
*/
|
|
2311
|
-
oListener?: object
|
|
2312
|
-
): this;
|
|
2334
|
+
getMode(): string;
|
|
2313
2335
|
/**
|
|
2314
|
-
*
|
|
2315
|
-
* of this `sap.sac.df.FilterBar`.
|
|
2336
|
+
* Sets a new value for property {@link #getMetaPath metaPath}.
|
|
2316
2337
|
*
|
|
2317
|
-
*
|
|
2318
|
-
* otherwise it will be bound to this `sap.sac.df.FilterBar` itself.
|
|
2338
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
2319
2339
|
*
|
|
2320
|
-
*
|
|
2340
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2321
2341
|
*
|
|
2322
2342
|
*
|
|
2323
2343
|
* @returns Reference to `this` in order to allow method chaining
|
|
2324
2344
|
*/
|
|
2325
|
-
|
|
2345
|
+
setMetaPath(
|
|
2326
2346
|
/**
|
|
2327
|
-
*
|
|
2328
|
-
* object when firing the event
|
|
2347
|
+
* New value for property `metaPath`
|
|
2329
2348
|
*/
|
|
2330
|
-
|
|
2331
|
-
/**
|
|
2332
|
-
* The function to be called when the event occurs
|
|
2333
|
-
*/
|
|
2334
|
-
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
2335
|
-
/**
|
|
2336
|
-
* Context object to call the event handler with. Defaults to this `sap.sac.df.FilterBar` itself
|
|
2337
|
-
*/
|
|
2338
|
-
oListener?: object
|
|
2349
|
+
sMetaPath: string
|
|
2339
2350
|
): this;
|
|
2340
2351
|
/**
|
|
2341
|
-
*
|
|
2342
|
-
* of this `sap.sac.df.FilterBar`.
|
|
2352
|
+
* Sets a new value for property {@link #getMode mode}.
|
|
2343
2353
|
*
|
|
2344
|
-
*
|
|
2345
|
-
*
|
|
2354
|
+
* Mode
|
|
2355
|
+
*
|
|
2356
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2346
2357
|
*
|
|
2347
|
-
*
|
|
2358
|
+
* Default value is `"VariablesOfDataProvider"`.
|
|
2348
2359
|
*
|
|
2360
|
+
* @deprecated - please use the property `metaPath` instead
|
|
2349
2361
|
*
|
|
2350
2362
|
* @returns Reference to `this` in order to allow method chaining
|
|
2351
2363
|
*/
|
|
2352
|
-
|
|
2364
|
+
setMode(
|
|
2353
2365
|
/**
|
|
2354
|
-
*
|
|
2366
|
+
* New value for property `mode`
|
|
2355
2367
|
*/
|
|
2356
|
-
|
|
2368
|
+
sMode?: string
|
|
2369
|
+
): this;
|
|
2370
|
+
}
|
|
2371
|
+
/**
|
|
2372
|
+
* The `FilterField` control is used to filter data based on the conditions. The conditions are managed
|
|
2373
|
+
* in the corresponding {@link sap.ui.mdc.condition.ConditionModel ConditionModel}. That is why the `conditions`
|
|
2374
|
+
* property must be bound to the related conditions in the {@link sap.ui.mdc.condition.ConditionModel ConditionModel}.
|
|
2375
|
+
* The type of this data must be defined in the `dataType` property.
|
|
2376
|
+
*
|
|
2377
|
+
* Based on the data type settings, a default control is rendered by the `FilterField` as follows:
|
|
2378
|
+
*
|
|
2379
|
+
*
|
|
2380
|
+
* - In display mode, usually a {@link sap.m.Text Text} control is rendered.
|
|
2381
|
+
* - If `multipleLines` is set, an {@link sap.m.ExpandableText ExpandableText} control is rendered.
|
|
2382
|
+
* - If multiple values are allowed, a {@link sap.m.Tokenizer Tokenizer} control is rendered.
|
|
2383
|
+
* - In edit mode, usually an {@link sap.m.Input Input} control is rendered.
|
|
2384
|
+
* - If multiple values are allowed, a {@link sap.m.MultiInput MultiInput} control is rendered.
|
|
2385
|
+
* - If `multipleLines` is set, a {@link sap.m.TextArea TextArea} control is rendered.
|
|
2386
|
+
* - If a date type or a date/time type is used, a {@link sap.m.DateRangeSelection DateRangeSelection }
|
|
2387
|
+
* control is rendered.
|
|
2388
|
+
* - If a date type is used and only single values are allowed, a {@link sap.m.DatePicker DatePicker }
|
|
2389
|
+
* control is rendered.
|
|
2390
|
+
* - If a date type is used and only single ranges are allowed, a {@link sap.m.DateRangeSelection DateRangeSelection }
|
|
2391
|
+
* control is rendered.
|
|
2392
|
+
* - If a date/time type is used and only single values are allowed, a {@link sap.m.DateTimePicker DateTimePicker }
|
|
2393
|
+
* control is rendered.
|
|
2394
|
+
* - If a time type is used and only single values are allowed, a {@link sap.m.TimePicker TimePicker }
|
|
2395
|
+
* control is rendered.
|
|
2396
|
+
* - If used for search, a {@link sap.m.SearchField SearchField} control is rendered.
|
|
2397
|
+
*
|
|
2398
|
+
* @since 1.48.0
|
|
2399
|
+
* @experimental (since 1.48.0)
|
|
2400
|
+
*/
|
|
2401
|
+
class FilterField
|
|
2402
|
+
extends sap.ui.mdc.field.FieldBase
|
|
2403
|
+
implements
|
|
2404
|
+
sap.ui.core.IFormContent,
|
|
2405
|
+
sap.ui.core.ISemanticFormContent,
|
|
2406
|
+
sap.m.IOverflowToolbarContent {
|
|
2407
|
+
__implements__sap_ui_core_IFormContent: boolean;
|
|
2408
|
+
__implements__sap_ui_core_ISemanticFormContent: boolean;
|
|
2409
|
+
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
2410
|
+
/**
|
|
2411
|
+
* Constructor for a new `FilterField`.
|
|
2412
|
+
*/
|
|
2413
|
+
constructor(
|
|
2357
2414
|
/**
|
|
2358
|
-
*
|
|
2415
|
+
* Initial settings for the new control
|
|
2359
2416
|
*/
|
|
2360
|
-
|
|
2361
|
-
)
|
|
2417
|
+
mSettings?: sap.sac.df.$FilterFieldSettings
|
|
2418
|
+
);
|
|
2362
2419
|
/**
|
|
2363
|
-
*
|
|
2364
|
-
* of this `sap.sac.df.FilterBar`.
|
|
2365
|
-
*
|
|
2366
|
-
* The passed function and listener object must match the ones used for event registration.
|
|
2367
|
-
*
|
|
2368
|
-
*
|
|
2369
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
2420
|
+
* Constructor for a new `FilterField`.
|
|
2370
2421
|
*/
|
|
2371
|
-
|
|
2422
|
+
constructor(
|
|
2372
2423
|
/**
|
|
2373
|
-
*
|
|
2424
|
+
* ID for the new control, generated automatically if no ID is given
|
|
2374
2425
|
*/
|
|
2375
|
-
|
|
2426
|
+
sId?: string,
|
|
2376
2427
|
/**
|
|
2377
|
-
*
|
|
2428
|
+
* Initial settings for the new control
|
|
2378
2429
|
*/
|
|
2379
|
-
|
|
2380
|
-
)
|
|
2430
|
+
mSettings?: sap.sac.df.$FilterFieldSettings
|
|
2431
|
+
);
|
|
2432
|
+
|
|
2381
2433
|
/**
|
|
2382
|
-
*
|
|
2383
|
-
*
|
|
2434
|
+
* Creates a new subclass of class sap.sac.df.FilterField with name `sClassName` and enriches it with the
|
|
2435
|
+
* information contained in `oClassInfo`.
|
|
2384
2436
|
*
|
|
2385
|
-
*
|
|
2437
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.mdc.FilterField.extend}.
|
|
2386
2438
|
*
|
|
2387
2439
|
*
|
|
2388
|
-
* @returns
|
|
2440
|
+
* @returns Created class / constructor function
|
|
2389
2441
|
*/
|
|
2390
|
-
|
|
2391
|
-
/**
|
|
2392
|
-
* The function to be called, when the event occurs
|
|
2393
|
-
*/
|
|
2394
|
-
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
2442
|
+
static extend<T extends Record<string, unknown>>(
|
|
2395
2443
|
/**
|
|
2396
|
-
*
|
|
2444
|
+
* Name of the class being created
|
|
2397
2445
|
*/
|
|
2398
|
-
|
|
2399
|
-
): this;
|
|
2400
|
-
/**
|
|
2401
|
-
* Fires event {@link #event:beforeFilterChange beforeFilterChange} to attached listeners.
|
|
2402
|
-
*
|
|
2403
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2404
|
-
*
|
|
2405
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
2406
|
-
*/
|
|
2407
|
-
fireBeforeFilterChange(
|
|
2446
|
+
sClassName: string,
|
|
2408
2447
|
/**
|
|
2409
|
-
*
|
|
2448
|
+
* Object literal with information about the class
|
|
2410
2449
|
*/
|
|
2411
|
-
|
|
2412
|
-
): this;
|
|
2413
|
-
/**
|
|
2414
|
-
* Fires event {@link #event:cancelFilterChange cancelFilterChange} to attached listeners.
|
|
2415
|
-
*
|
|
2416
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2417
|
-
*
|
|
2418
|
-
* @returns Reference to `this` in order to allow method chaining
|
|
2419
|
-
*/
|
|
2420
|
-
fireCancelFilterChange(
|
|
2450
|
+
oClassInfo?: sap.ClassInfo<T, sap.sac.df.FilterField>,
|
|
2421
2451
|
/**
|
|
2422
|
-
*
|
|
2452
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
2453
|
+
* used by this class
|
|
2423
2454
|
*/
|
|
2424
|
-
|
|
2425
|
-
):
|
|
2426
|
-
/**
|
|
2427
|
-
* Gets current value of property {@link #getDisplay display}.
|
|
2428
|
-
*
|
|
2429
|
-
* Defines whether the value and/or description of the field is shown and in which order.
|
|
2430
|
-
*
|
|
2431
|
-
* Default value is `ValueDescription`.
|
|
2432
|
-
*
|
|
2433
|
-
*
|
|
2434
|
-
* @returns Value of property `display`
|
|
2435
|
-
*/
|
|
2436
|
-
getDisplay(): sap.ui.mdc.enums.FieldDisplay;
|
|
2455
|
+
FNMetaImpl?: Function
|
|
2456
|
+
): Function;
|
|
2437
2457
|
/**
|
|
2438
|
-
*
|
|
2439
|
-
*
|
|
2440
|
-
* Mode
|
|
2458
|
+
* Returns a metadata object for class sap.sac.df.FilterField.
|
|
2441
2459
|
*
|
|
2442
|
-
* Default value is `"VariablesOfDataProvider"`.
|
|
2443
2460
|
*
|
|
2444
|
-
*
|
|
2445
|
-
* @returns Value of property `mode`
|
|
2461
|
+
* @returns Metadata object describing this class
|
|
2446
2462
|
*/
|
|
2447
|
-
|
|
2463
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
2448
2464
|
/**
|
|
2449
|
-
* Gets current value of property {@link #
|
|
2465
|
+
* Gets current value of property {@link #getMetaPath metaPath}.
|
|
2450
2466
|
*
|
|
2451
|
-
*
|
|
2452
|
-
*
|
|
2453
|
-
* Default value is `"om"`.
|
|
2467
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
2454
2468
|
*
|
|
2455
2469
|
*
|
|
2456
|
-
* @returns Value of property `
|
|
2470
|
+
* @returns Value of property `metaPath`
|
|
2457
2471
|
*/
|
|
2458
|
-
|
|
2472
|
+
getMetaPath(): string;
|
|
2459
2473
|
/**
|
|
2460
|
-
*
|
|
2461
|
-
*
|
|
2462
|
-
* Defines whether the value and/or description of the field is shown and in which order.
|
|
2463
|
-
*
|
|
2464
|
-
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2474
|
+
* Gets current value of property {@link #getSearchAttributes searchAttributes}.
|
|
2465
2475
|
*
|
|
2466
|
-
*
|
|
2476
|
+
* Search attributes for the token validation. Available options are Key and Text
|
|
2467
2477
|
*
|
|
2468
2478
|
*
|
|
2469
|
-
* @returns
|
|
2479
|
+
* @returns Value of property `searchAttributes`
|
|
2470
2480
|
*/
|
|
2471
|
-
|
|
2472
|
-
/**
|
|
2473
|
-
* New value for property `display`
|
|
2474
|
-
*/
|
|
2475
|
-
sDisplay?: sap.ui.mdc.enums.FieldDisplay
|
|
2476
|
-
): this;
|
|
2481
|
+
getSearchAttributes(): string[];
|
|
2477
2482
|
/**
|
|
2478
|
-
* Sets a new value for property {@link #
|
|
2483
|
+
* Sets a new value for property {@link #getMetaPath metaPath}.
|
|
2479
2484
|
*
|
|
2480
|
-
*
|
|
2485
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
2481
2486
|
*
|
|
2482
2487
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2483
2488
|
*
|
|
2484
|
-
* Default value is `"VariablesOfDataProvider"`.
|
|
2485
|
-
*
|
|
2486
2489
|
*
|
|
2487
2490
|
* @returns Reference to `this` in order to allow method chaining
|
|
2488
2491
|
*/
|
|
2489
|
-
|
|
2492
|
+
setMetaPath(
|
|
2490
2493
|
/**
|
|
2491
|
-
* New value for property `
|
|
2494
|
+
* New value for property `metaPath`
|
|
2492
2495
|
*/
|
|
2493
|
-
|
|
2496
|
+
sMetaPath: string
|
|
2494
2497
|
): this;
|
|
2495
2498
|
/**
|
|
2496
|
-
* Sets a new value for property {@link #
|
|
2499
|
+
* Sets a new value for property {@link #getSearchAttributes searchAttributes}.
|
|
2497
2500
|
*
|
|
2498
|
-
*
|
|
2501
|
+
* Search attributes for the token validation. Available options are Key and Text
|
|
2499
2502
|
*
|
|
2500
2503
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2501
2504
|
*
|
|
2502
|
-
* Default value is `"om"`.
|
|
2503
|
-
*
|
|
2504
2505
|
*
|
|
2505
2506
|
* @returns Reference to `this` in order to allow method chaining
|
|
2506
2507
|
*/
|
|
2507
|
-
|
|
2508
|
+
setSearchAttributes(
|
|
2508
2509
|
/**
|
|
2509
|
-
* New value for property `
|
|
2510
|
+
* New value for property `searchAttributes`
|
|
2510
2511
|
*/
|
|
2511
|
-
|
|
2512
|
+
sSearchAttributes: string[]
|
|
2512
2513
|
): this;
|
|
2513
2514
|
}
|
|
2514
2515
|
/**
|
|
@@ -2579,6 +2580,53 @@ declare namespace sap {
|
|
|
2579
2580
|
*/
|
|
2580
2581
|
oCustomPanel: sap.sac.df.FlexAnalysisPanel
|
|
2581
2582
|
): this;
|
|
2583
|
+
/**
|
|
2584
|
+
* Attaches event handler `fnFunction` to the {@link #event:onCellClick onCellClick} event of this `sap.sac.df.FlexAnalysis`.
|
|
2585
|
+
*
|
|
2586
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2587
|
+
* otherwise it will be bound to this `sap.sac.df.FlexAnalysis` itself.
|
|
2588
|
+
*
|
|
2589
|
+
* Fires on cell click event
|
|
2590
|
+
*
|
|
2591
|
+
*
|
|
2592
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2593
|
+
*/
|
|
2594
|
+
attachOnCellClick(
|
|
2595
|
+
/**
|
|
2596
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
2597
|
+
* object when firing the event
|
|
2598
|
+
*/
|
|
2599
|
+
oData: object,
|
|
2600
|
+
/**
|
|
2601
|
+
* The function to be called when the event occurs
|
|
2602
|
+
*/
|
|
2603
|
+
fnFunction: (p1: FlexAnalysis$OnCellClickEvent) => void,
|
|
2604
|
+
/**
|
|
2605
|
+
* Context object to call the event handler with. Defaults to this `sap.sac.df.FlexAnalysis` itself
|
|
2606
|
+
*/
|
|
2607
|
+
oListener?: object
|
|
2608
|
+
): this;
|
|
2609
|
+
/**
|
|
2610
|
+
* Attaches event handler `fnFunction` to the {@link #event:onCellClick onCellClick} event of this `sap.sac.df.FlexAnalysis`.
|
|
2611
|
+
*
|
|
2612
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
2613
|
+
* otherwise it will be bound to this `sap.sac.df.FlexAnalysis` itself.
|
|
2614
|
+
*
|
|
2615
|
+
* Fires on cell click event
|
|
2616
|
+
*
|
|
2617
|
+
*
|
|
2618
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2619
|
+
*/
|
|
2620
|
+
attachOnCellClick(
|
|
2621
|
+
/**
|
|
2622
|
+
* The function to be called when the event occurs
|
|
2623
|
+
*/
|
|
2624
|
+
fnFunction: (p1: FlexAnalysis$OnCellClickEvent) => void,
|
|
2625
|
+
/**
|
|
2626
|
+
* Context object to call the event handler with. Defaults to this `sap.sac.df.FlexAnalysis` itself
|
|
2627
|
+
*/
|
|
2628
|
+
oListener?: object
|
|
2629
|
+
): this;
|
|
2582
2630
|
/**
|
|
2583
2631
|
* Binds property {@link #getDataProvider dataProvider} to model data.
|
|
2584
2632
|
*
|
|
@@ -2601,6 +2649,37 @@ declare namespace sap {
|
|
|
2601
2649
|
* @returns Reference to `this` in order to allow method chaining
|
|
2602
2650
|
*/
|
|
2603
2651
|
destroyCustomPanels(): this;
|
|
2652
|
+
/**
|
|
2653
|
+
* Detaches event handler `fnFunction` from the {@link #event:onCellClick onCellClick} event of this `sap.sac.df.FlexAnalysis`.
|
|
2654
|
+
*
|
|
2655
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
2656
|
+
*
|
|
2657
|
+
*
|
|
2658
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2659
|
+
*/
|
|
2660
|
+
detachOnCellClick(
|
|
2661
|
+
/**
|
|
2662
|
+
* The function to be called, when the event occurs
|
|
2663
|
+
*/
|
|
2664
|
+
fnFunction: (p1: FlexAnalysis$OnCellClickEvent) => void,
|
|
2665
|
+
/**
|
|
2666
|
+
* Context object on which the given function had to be called
|
|
2667
|
+
*/
|
|
2668
|
+
oListener?: object
|
|
2669
|
+
): this;
|
|
2670
|
+
/**
|
|
2671
|
+
* Fires event {@link #event:onCellClick onCellClick} to attached listeners.
|
|
2672
|
+
*
|
|
2673
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2674
|
+
*
|
|
2675
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
2676
|
+
*/
|
|
2677
|
+
fireOnCellClick(
|
|
2678
|
+
/**
|
|
2679
|
+
* Parameters to pass along with the event
|
|
2680
|
+
*/
|
|
2681
|
+
mParameters?: sap.sac.df.FlexAnalysis$OnCellClickEventParameters
|
|
2682
|
+
): this;
|
|
2604
2683
|
/**
|
|
2605
2684
|
* Gets current value of property {@link #getAutoUpdate autoUpdate}.
|
|
2606
2685
|
*
|
|
@@ -3563,14 +3642,9 @@ declare namespace sap {
|
|
|
3563
3642
|
): this;
|
|
3564
3643
|
}
|
|
3565
3644
|
|
|
3566
|
-
type
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
>;
|
|
3570
|
-
|
|
3571
|
-
type FilterBar$CancelFilterChangeEvent = sap.ui.base.Event<
|
|
3572
|
-
FilterBar$CancelFilterChangeEventParameters,
|
|
3573
|
-
FilterBar
|
|
3645
|
+
type FlexAnalysis$OnCellClickEvent = sap.ui.base.Event<
|
|
3646
|
+
FlexAnalysis$OnCellClickEventParameters,
|
|
3647
|
+
FlexAnalysis
|
|
3574
3648
|
>;
|
|
3575
3649
|
}
|
|
3576
3650
|
}
|
|
@@ -3580,6 +3654,8 @@ declare namespace sap {
|
|
|
3580
3654
|
|
|
3581
3655
|
"sap/sac/df/FilterBar": undefined;
|
|
3582
3656
|
|
|
3657
|
+
"sap/sac/df/FilterField": undefined;
|
|
3658
|
+
|
|
3583
3659
|
"sap/sac/df/FlexAnalysis": undefined;
|
|
3584
3660
|
|
|
3585
3661
|
"sap/sac/df/FlexAnalysisPanel": undefined;
|