@openui5/ts-types-esm 1.98.0 → 1.101.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 +6 -2
- package/types/sap.f.d.ts +389 -89
- package/types/sap.m.d.ts +1692 -176
- 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.core.d.ts +1489 -752
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +11 -5
- package/types/sap.ui.integration.d.ts +29 -11
- package/types/sap.ui.layout.d.ts +4 -1
- package/types/sap.ui.mdc.d.ts +64 -8
- 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 +10 -12
- package/types/sap.ui.table.d.ts +13 -49
- 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.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +2836 -860
- package/types/sap.ui.webc.main.d.ts +3346 -1034
- package/types/sap.uxap.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openui5/ts-types-esm",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.101.0",
|
|
4
4
|
"description": "OpenUI5 TypeScript Definitions - ES Modules",
|
|
5
5
|
"homepage": "https://openui5.org",
|
|
6
6
|
"author": "SAP SE (https://www.sap.com)",
|
|
@@ -13,5 +13,9 @@
|
|
|
13
13
|
"openui5",
|
|
14
14
|
"ui5",
|
|
15
15
|
"typescript"
|
|
16
|
-
]
|
|
16
|
+
],
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@types/jquery": "3.5.13",
|
|
19
|
+
"@types/qunit": "2.5.4"
|
|
20
|
+
}
|
|
17
21
|
}
|
package/types/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.101.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/tnt/library" {
|
|
4
4
|
export interface IToolHeader {
|
|
@@ -1697,6 +1697,16 @@ declare module "sap/f/cards/Header" {
|
|
|
1697
1697
|
* Default value is `empty string`.
|
|
1698
1698
|
*/
|
|
1699
1699
|
getSubtitle(): string;
|
|
1700
|
+
/**
|
|
1701
|
+
* @EXPERIMENTAL (since 1.101)
|
|
1702
|
+
*
|
|
1703
|
+
* Gets current value of property {@link #getSubtitleMaxLines subtitleMaxLines}.
|
|
1704
|
+
*
|
|
1705
|
+
* Limits the number of lines for the subtitle.
|
|
1706
|
+
*
|
|
1707
|
+
* Default value is `2`.
|
|
1708
|
+
*/
|
|
1709
|
+
getSubtitleMaxLines(): int;
|
|
1700
1710
|
/**
|
|
1701
1711
|
* Gets current value of property {@link #getTitle title}.
|
|
1702
1712
|
*
|
|
@@ -1705,6 +1715,16 @@ declare module "sap/f/cards/Header" {
|
|
|
1705
1715
|
* Default value is `empty string`.
|
|
1706
1716
|
*/
|
|
1707
1717
|
getTitle(): string;
|
|
1718
|
+
/**
|
|
1719
|
+
* @EXPERIMENTAL (since 1.101)
|
|
1720
|
+
*
|
|
1721
|
+
* Gets current value of property {@link #getTitleMaxLines titleMaxLines}.
|
|
1722
|
+
*
|
|
1723
|
+
* Limits the number of lines for the title.
|
|
1724
|
+
*
|
|
1725
|
+
* Default value is `3`.
|
|
1726
|
+
*/
|
|
1727
|
+
getTitleMaxLines(): int;
|
|
1708
1728
|
/**
|
|
1709
1729
|
* @EXPERIMENTAL (since 1.81)
|
|
1710
1730
|
*
|
|
@@ -1814,6 +1834,23 @@ declare module "sap/f/cards/Header" {
|
|
|
1814
1834
|
*/
|
|
1815
1835
|
sSubtitle?: string
|
|
1816
1836
|
): this;
|
|
1837
|
+
/**
|
|
1838
|
+
* @EXPERIMENTAL (since 1.101)
|
|
1839
|
+
*
|
|
1840
|
+
* Sets a new value for property {@link #getSubtitleMaxLines subtitleMaxLines}.
|
|
1841
|
+
*
|
|
1842
|
+
* Limits the number of lines for the subtitle.
|
|
1843
|
+
*
|
|
1844
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1845
|
+
*
|
|
1846
|
+
* Default value is `2`.
|
|
1847
|
+
*/
|
|
1848
|
+
setSubtitleMaxLines(
|
|
1849
|
+
/**
|
|
1850
|
+
* New value for property `subtitleMaxLines`
|
|
1851
|
+
*/
|
|
1852
|
+
iSubtitleMaxLines?: int
|
|
1853
|
+
): this;
|
|
1817
1854
|
/**
|
|
1818
1855
|
* Sets a new value for property {@link #getTitle title}.
|
|
1819
1856
|
*
|
|
@@ -1829,6 +1866,23 @@ declare module "sap/f/cards/Header" {
|
|
|
1829
1866
|
*/
|
|
1830
1867
|
sTitle?: string
|
|
1831
1868
|
): this;
|
|
1869
|
+
/**
|
|
1870
|
+
* @EXPERIMENTAL (since 1.101)
|
|
1871
|
+
*
|
|
1872
|
+
* Sets a new value for property {@link #getTitleMaxLines titleMaxLines}.
|
|
1873
|
+
*
|
|
1874
|
+
* Limits the number of lines for the title.
|
|
1875
|
+
*
|
|
1876
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1877
|
+
*
|
|
1878
|
+
* Default value is `3`.
|
|
1879
|
+
*/
|
|
1880
|
+
setTitleMaxLines(
|
|
1881
|
+
/**
|
|
1882
|
+
* New value for property `titleMaxLines`
|
|
1883
|
+
*/
|
|
1884
|
+
iTitleMaxLines?: int
|
|
1885
|
+
): this;
|
|
1832
1886
|
}
|
|
1833
1887
|
|
|
1834
1888
|
export interface $HeaderSettings extends $BaseHeaderSettings {
|
|
@@ -1837,11 +1891,25 @@ declare module "sap/f/cards/Header" {
|
|
|
1837
1891
|
*/
|
|
1838
1892
|
title?: string | PropertyBindingInfo;
|
|
1839
1893
|
|
|
1894
|
+
/**
|
|
1895
|
+
* @EXPERIMENTAL (since 1.101)
|
|
1896
|
+
*
|
|
1897
|
+
* Limits the number of lines for the title.
|
|
1898
|
+
*/
|
|
1899
|
+
titleMaxLines?: int | PropertyBindingInfo;
|
|
1900
|
+
|
|
1840
1901
|
/**
|
|
1841
1902
|
* Defines the subtitle.
|
|
1842
1903
|
*/
|
|
1843
1904
|
subtitle?: string | PropertyBindingInfo;
|
|
1844
1905
|
|
|
1906
|
+
/**
|
|
1907
|
+
* @EXPERIMENTAL (since 1.101)
|
|
1908
|
+
*
|
|
1909
|
+
* Limits the number of lines for the subtitle.
|
|
1910
|
+
*/
|
|
1911
|
+
subtitleMaxLines?: int | PropertyBindingInfo;
|
|
1912
|
+
|
|
1845
1913
|
/**
|
|
1846
1914
|
* Defines the status text.
|
|
1847
1915
|
*/
|
|
@@ -2066,6 +2134,16 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2066
2134
|
* Additional text which adds more details to what is shown in the numeric header.
|
|
2067
2135
|
*/
|
|
2068
2136
|
getDetails(): string;
|
|
2137
|
+
/**
|
|
2138
|
+
* @EXPERIMENTAL (since 1.101)
|
|
2139
|
+
*
|
|
2140
|
+
* Gets current value of property {@link #getDetailsMaxLines detailsMaxLines}.
|
|
2141
|
+
*
|
|
2142
|
+
* Limits the number of lines for the details.
|
|
2143
|
+
*
|
|
2144
|
+
* Default value is `1`.
|
|
2145
|
+
*/
|
|
2146
|
+
getDetailsMaxLines(): int;
|
|
2069
2147
|
/**
|
|
2070
2148
|
* Gets current value of property {@link #getNumber number}.
|
|
2071
2149
|
*
|
|
@@ -2122,12 +2200,32 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2122
2200
|
* The subtitle of the card
|
|
2123
2201
|
*/
|
|
2124
2202
|
getSubtitle(): string;
|
|
2203
|
+
/**
|
|
2204
|
+
* @EXPERIMENTAL (since 1.101)
|
|
2205
|
+
*
|
|
2206
|
+
* Gets current value of property {@link #getSubtitleMaxLines subtitleMaxLines}.
|
|
2207
|
+
*
|
|
2208
|
+
* Limits the number of lines for the subtitle.
|
|
2209
|
+
*
|
|
2210
|
+
* Default value is `2`.
|
|
2211
|
+
*/
|
|
2212
|
+
getSubtitleMaxLines(): int;
|
|
2125
2213
|
/**
|
|
2126
2214
|
* Gets current value of property {@link #getTitle title}.
|
|
2127
2215
|
*
|
|
2128
2216
|
* The title of the card
|
|
2129
2217
|
*/
|
|
2130
2218
|
getTitle(): string;
|
|
2219
|
+
/**
|
|
2220
|
+
* @EXPERIMENTAL (since 1.101)
|
|
2221
|
+
*
|
|
2222
|
+
* Gets current value of property {@link #getTitleMaxLines titleMaxLines}.
|
|
2223
|
+
*
|
|
2224
|
+
* Limits the number of lines for the title.
|
|
2225
|
+
*
|
|
2226
|
+
* Default value is `3`.
|
|
2227
|
+
*/
|
|
2228
|
+
getTitleMaxLines(): int;
|
|
2131
2229
|
/**
|
|
2132
2230
|
* Gets current value of property {@link #getTrend trend}.
|
|
2133
2231
|
*
|
|
@@ -2183,31 +2281,63 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2183
2281
|
vSideIndicator: int | string | NumericSideIndicator
|
|
2184
2282
|
): NumericSideIndicator;
|
|
2185
2283
|
/**
|
|
2186
|
-
* Sets
|
|
2284
|
+
* Sets a new value for property {@link #getDetails details}.
|
|
2285
|
+
*
|
|
2286
|
+
* Additional text which adds more details to what is shown in the numeric header.
|
|
2287
|
+
*
|
|
2288
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2187
2289
|
*/
|
|
2188
2290
|
setDetails(
|
|
2189
2291
|
/**
|
|
2190
|
-
*
|
|
2292
|
+
* New value for property `details`
|
|
2191
2293
|
*/
|
|
2192
|
-
|
|
2294
|
+
sDetails: string
|
|
2295
|
+
): this;
|
|
2296
|
+
/**
|
|
2297
|
+
* @EXPERIMENTAL (since 1.101)
|
|
2298
|
+
*
|
|
2299
|
+
* Sets a new value for property {@link #getDetailsMaxLines detailsMaxLines}.
|
|
2300
|
+
*
|
|
2301
|
+
* Limits the number of lines for the details.
|
|
2302
|
+
*
|
|
2303
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2304
|
+
*
|
|
2305
|
+
* Default value is `1`.
|
|
2306
|
+
*/
|
|
2307
|
+
setDetailsMaxLines(
|
|
2308
|
+
/**
|
|
2309
|
+
* New value for property `detailsMaxLines`
|
|
2310
|
+
*/
|
|
2311
|
+
iDetailsMaxLines?: int
|
|
2193
2312
|
): this;
|
|
2194
2313
|
/**
|
|
2195
|
-
* Sets
|
|
2314
|
+
* Sets a new value for property {@link #getNumber number}.
|
|
2315
|
+
*
|
|
2316
|
+
* The numeric value of the main number indicator. If the value contains more than five characters, only
|
|
2317
|
+
* the first five are displayed. Without rounding the number.
|
|
2318
|
+
*
|
|
2319
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2196
2320
|
*/
|
|
2197
2321
|
setNumber(
|
|
2198
2322
|
/**
|
|
2199
|
-
*
|
|
2323
|
+
* New value for property `number`
|
|
2200
2324
|
*/
|
|
2201
|
-
|
|
2325
|
+
sNumber: string
|
|
2202
2326
|
): this;
|
|
2203
2327
|
/**
|
|
2204
|
-
* Sets
|
|
2328
|
+
* Sets a new value for property {@link #getScale scale}.
|
|
2329
|
+
*
|
|
2330
|
+
* Defines the unit of measurement (scaling prefix) for the main indicator. Financial characters can be
|
|
2331
|
+
* used for currencies and counters. The International System of Units (SI) prefixes can be used. If the
|
|
2332
|
+
* unit contains more than three characters, only the first three characters are displayed.
|
|
2333
|
+
*
|
|
2334
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2205
2335
|
*/
|
|
2206
2336
|
setScale(
|
|
2207
2337
|
/**
|
|
2208
|
-
*
|
|
2338
|
+
* New value for property `scale`
|
|
2209
2339
|
*/
|
|
2210
|
-
|
|
2340
|
+
sScale: string
|
|
2211
2341
|
): this;
|
|
2212
2342
|
/**
|
|
2213
2343
|
* Sets a new value for property {@link #getSideIndicatorsAlignment sideIndicatorsAlignment}.
|
|
@@ -2227,13 +2357,21 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2227
2357
|
| keyof typeof cards.NumericHeaderSideIndicatorsAlignment
|
|
2228
2358
|
): this;
|
|
2229
2359
|
/**
|
|
2230
|
-
*
|
|
2360
|
+
* @EXPERIMENTAL (since 1.64)
|
|
2361
|
+
*
|
|
2362
|
+
* Sets a new value for property {@link #getState state}.
|
|
2363
|
+
*
|
|
2364
|
+
* The semantic color which represents the state of the main number indicator.
|
|
2365
|
+
*
|
|
2366
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2367
|
+
*
|
|
2368
|
+
* Default value is `"Neutral"`.
|
|
2231
2369
|
*/
|
|
2232
2370
|
setState(
|
|
2233
2371
|
/**
|
|
2234
|
-
*
|
|
2372
|
+
* New value for property `state`
|
|
2235
2373
|
*/
|
|
2236
|
-
|
|
2374
|
+
sState?: ValueColor | keyof typeof ValueColor
|
|
2237
2375
|
): this;
|
|
2238
2376
|
/**
|
|
2239
2377
|
* Sets a new value for property {@link #getStatusText statusText}.
|
|
@@ -2251,40 +2389,92 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2251
2389
|
sStatusText?: string
|
|
2252
2390
|
): this;
|
|
2253
2391
|
/**
|
|
2254
|
-
* Sets
|
|
2392
|
+
* Sets a new value for property {@link #getSubtitle subtitle}.
|
|
2393
|
+
*
|
|
2394
|
+
* The subtitle of the card
|
|
2395
|
+
*
|
|
2396
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2255
2397
|
*/
|
|
2256
2398
|
setSubtitle(
|
|
2257
2399
|
/**
|
|
2258
|
-
*
|
|
2400
|
+
* New value for property `subtitle`
|
|
2259
2401
|
*/
|
|
2260
|
-
|
|
2402
|
+
sSubtitle: string
|
|
2261
2403
|
): this;
|
|
2262
2404
|
/**
|
|
2263
|
-
*
|
|
2405
|
+
* @EXPERIMENTAL (since 1.101)
|
|
2406
|
+
*
|
|
2407
|
+
* Sets a new value for property {@link #getSubtitleMaxLines subtitleMaxLines}.
|
|
2408
|
+
*
|
|
2409
|
+
* Limits the number of lines for the subtitle.
|
|
2410
|
+
*
|
|
2411
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2412
|
+
*
|
|
2413
|
+
* Default value is `2`.
|
|
2414
|
+
*/
|
|
2415
|
+
setSubtitleMaxLines(
|
|
2416
|
+
/**
|
|
2417
|
+
* New value for property `subtitleMaxLines`
|
|
2418
|
+
*/
|
|
2419
|
+
iSubtitleMaxLines?: int
|
|
2420
|
+
): this;
|
|
2421
|
+
/**
|
|
2422
|
+
* Sets a new value for property {@link #getTitle title}.
|
|
2423
|
+
*
|
|
2424
|
+
* The title of the card
|
|
2425
|
+
*
|
|
2426
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2264
2427
|
*/
|
|
2265
2428
|
setTitle(
|
|
2266
2429
|
/**
|
|
2267
|
-
*
|
|
2430
|
+
* New value for property `title`
|
|
2268
2431
|
*/
|
|
2269
|
-
|
|
2432
|
+
sTitle: string
|
|
2433
|
+
): this;
|
|
2434
|
+
/**
|
|
2435
|
+
* @EXPERIMENTAL (since 1.101)
|
|
2436
|
+
*
|
|
2437
|
+
* Sets a new value for property {@link #getTitleMaxLines titleMaxLines}.
|
|
2438
|
+
*
|
|
2439
|
+
* Limits the number of lines for the title.
|
|
2440
|
+
*
|
|
2441
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2442
|
+
*
|
|
2443
|
+
* Default value is `3`.
|
|
2444
|
+
*/
|
|
2445
|
+
setTitleMaxLines(
|
|
2446
|
+
/**
|
|
2447
|
+
* New value for property `titleMaxLines`
|
|
2448
|
+
*/
|
|
2449
|
+
iTitleMaxLines?: int
|
|
2270
2450
|
): this;
|
|
2271
2451
|
/**
|
|
2272
|
-
* Sets
|
|
2452
|
+
* Sets a new value for property {@link #getTrend trend}.
|
|
2453
|
+
*
|
|
2454
|
+
* The direction of the trend arrow. Shows deviation for the value of the main number indicator.
|
|
2455
|
+
*
|
|
2456
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2457
|
+
*
|
|
2458
|
+
* Default value is `"None"`.
|
|
2273
2459
|
*/
|
|
2274
2460
|
setTrend(
|
|
2275
2461
|
/**
|
|
2276
|
-
*
|
|
2462
|
+
* New value for property `trend`
|
|
2277
2463
|
*/
|
|
2278
|
-
|
|
2464
|
+
sTrend?: DeviationIndicator | keyof typeof DeviationIndicator
|
|
2279
2465
|
): this;
|
|
2280
2466
|
/**
|
|
2281
|
-
* Sets
|
|
2467
|
+
* Sets a new value for property {@link #getUnitOfMeasurement unitOfMeasurement}.
|
|
2468
|
+
*
|
|
2469
|
+
* General unit of measurement for the header. Displayed as side information to the subtitle.
|
|
2470
|
+
*
|
|
2471
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
2282
2472
|
*/
|
|
2283
2473
|
setUnitOfMeasurement(
|
|
2284
2474
|
/**
|
|
2285
|
-
*
|
|
2475
|
+
* New value for property `unitOfMeasurement`
|
|
2286
2476
|
*/
|
|
2287
|
-
|
|
2477
|
+
sUnitOfMeasurement: string
|
|
2288
2478
|
): this;
|
|
2289
2479
|
}
|
|
2290
2480
|
|
|
@@ -2294,11 +2484,25 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2294
2484
|
*/
|
|
2295
2485
|
title?: string | PropertyBindingInfo;
|
|
2296
2486
|
|
|
2487
|
+
/**
|
|
2488
|
+
* @EXPERIMENTAL (since 1.101)
|
|
2489
|
+
*
|
|
2490
|
+
* Limits the number of lines for the title.
|
|
2491
|
+
*/
|
|
2492
|
+
titleMaxLines?: int | PropertyBindingInfo;
|
|
2493
|
+
|
|
2297
2494
|
/**
|
|
2298
2495
|
* The subtitle of the card
|
|
2299
2496
|
*/
|
|
2300
2497
|
subtitle?: string | PropertyBindingInfo;
|
|
2301
2498
|
|
|
2499
|
+
/**
|
|
2500
|
+
* @EXPERIMENTAL (since 1.101)
|
|
2501
|
+
*
|
|
2502
|
+
* Limits the number of lines for the subtitle.
|
|
2503
|
+
*/
|
|
2504
|
+
subtitleMaxLines?: int | PropertyBindingInfo;
|
|
2505
|
+
|
|
2302
2506
|
/**
|
|
2303
2507
|
* Defines the status text.
|
|
2304
2508
|
*/
|
|
@@ -2341,6 +2545,13 @@ declare module "sap/f/cards/NumericHeader" {
|
|
|
2341
2545
|
*/
|
|
2342
2546
|
details?: string | PropertyBindingInfo;
|
|
2343
2547
|
|
|
2548
|
+
/**
|
|
2549
|
+
* @EXPERIMENTAL (since 1.101)
|
|
2550
|
+
*
|
|
2551
|
+
* Limits the number of lines for the details.
|
|
2552
|
+
*/
|
|
2553
|
+
detailsMaxLines?: int | PropertyBindingInfo;
|
|
2554
|
+
|
|
2344
2555
|
/**
|
|
2345
2556
|
* The alignment of the side indicators.
|
|
2346
2557
|
*/
|
|
@@ -7489,72 +7700,14 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
|
|
|
7489
7700
|
oSettings?: object
|
|
7490
7701
|
): FlexibleColumnLayoutSemanticHelper;
|
|
7491
7702
|
/**
|
|
7492
|
-
* Returns an object
|
|
7703
|
+
* Returns an object describing the current state of the control and the expected action buttons for each
|
|
7493
7704
|
* column.
|
|
7494
7705
|
*
|
|
7495
|
-
* The returned object has the following structure:
|
|
7496
|
-
* - layout - the value of the `layout` property
|
|
7497
|
-
* - maxColumnsCount - the maximum number of columns that can be displayed at once based on the control
|
|
7498
|
-
* width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
|
|
7499
|
-
* - columnsSizes - an object with fields `beginColumn, midColumn, endColumn`, representing the relative
|
|
7500
|
-
* percentage sizes of the three columns as integers
|
|
7501
|
-
* - columnsVisibility - an object with fields `beginColumn, midColumn, endColumn`, representing the visibility
|
|
7502
|
-
* of the three columns
|
|
7503
|
-
* - isFullScreen - `true` if only one column is visible at the moment, `false` otherwise **Note:** This
|
|
7504
|
-
* may be due to small screen size (phone) or due to a layout, for which a single column takes up the whole
|
|
7505
|
-
* width
|
|
7506
|
-
* - isLogicallyFullScreen - `true` if the current `layout` is one of the following: `sap.f.LayoutType.OneColumn,
|
|
7507
|
-
* sap.f.LayoutType.MidColumnFullScreen, sap.f.LayoutType.EndColumnFullScreen`, `false` otherwise **Note:**
|
|
7508
|
-
* While `isFullScreen` can be `true` for any layout, due to small screen size, `isLogicallyFullScreen`
|
|
7509
|
-
* will only be `true` for the layout values, listed above.
|
|
7510
|
-
* - actionButtonsInfo - an object with fields `midColumn, endColumn`, each containing an object, telling
|
|
7511
|
-
* whether action buttons should be shown in the `mid` and `end` columns, and what value of the `layout`
|
|
7512
|
-
* property should be set upon clicking these buttons. Each of these objects has the following fields: `closeColumn,
|
|
7513
|
-
* fullScreen, exitFullScreen`. If `null`, then the respective action button should not be shown, otherwise
|
|
7514
|
-
* provides the value of `layout` property for the action button.
|
|
7515
|
-
*
|
|
7516
7706
|
* **Note:** This method relies on the internal `FlexibleColumnLayout` reference to be rendered in the DOM
|
|
7517
7707
|
* tree. For convenience, use methods {@link sap.f.FlexibleColumnLayoutSemanticHelper#isDOMReady} and {@link
|
|
7518
7708
|
* sap.f.FlexibleColumnLayoutSemanticHelper#whenDOMReady}.
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
*
|
|
7522
|
-
*
|
|
7523
|
-
* ```javascript
|
|
7524
|
-
*
|
|
7525
|
-
*
|
|
7526
|
-
* {
|
|
7527
|
-
* "layout":"ThreeColumnsMidExpanded",
|
|
7528
|
-
* "maxColumnsCount":3,
|
|
7529
|
-
* "columnsSizes":{
|
|
7530
|
-
* "beginColumn":25,
|
|
7531
|
-
* "midColumn":50,
|
|
7532
|
-
* "endColumn":25
|
|
7533
|
-
* },
|
|
7534
|
-
* "columnsVisibility":{
|
|
7535
|
-
* "beginColumn":true,
|
|
7536
|
-
* "midColumn":true,
|
|
7537
|
-
* "endColumn":true
|
|
7538
|
-
* },
|
|
7539
|
-
* "isFullScreen":false,
|
|
7540
|
-
* "isLogicallyFullScreen":false,
|
|
7541
|
-
* "actionButtonsInfo":{
|
|
7542
|
-
* "midColumn":{
|
|
7543
|
-
* "fullScreen":null,
|
|
7544
|
-
* "exitFullScreen":null,
|
|
7545
|
-
* "closeColumn":null
|
|
7546
|
-
* },
|
|
7547
|
-
* "endColumn":{
|
|
7548
|
-
* "fullScreen":"EndColumnFullScreen",
|
|
7549
|
-
* "exitFullScreen":null,
|
|
7550
|
-
* "closeColumn":"TwoColumnsBeginExpanded"
|
|
7551
|
-
* }
|
|
7552
|
-
* }
|
|
7553
|
-
* }
|
|
7554
|
-
*
|
|
7555
|
-
* ```
|
|
7556
|
-
*/
|
|
7557
|
-
getCurrentUIState(): object;
|
|
7709
|
+
*/
|
|
7710
|
+
getCurrentUIState(): UIState;
|
|
7558
7711
|
/**
|
|
7559
7712
|
* Returns the default layout types for the different numbers of columns.
|
|
7560
7713
|
*
|
|
@@ -7570,8 +7723,6 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
|
|
|
7570
7723
|
/**
|
|
7571
7724
|
* Returns an object, describing the state that the control will have after navigating to a different view
|
|
7572
7725
|
* level.
|
|
7573
|
-
*
|
|
7574
|
-
* About the format of return value, see: {@link sap.f.FlexibleColumnLayoutSemanticHelper#getCurrentUIState}
|
|
7575
7726
|
*/
|
|
7576
7727
|
getNextUIState(
|
|
7577
7728
|
/**
|
|
@@ -7579,7 +7730,7 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
|
|
|
7579
7730
|
* 3 and above - subsequent views
|
|
7580
7731
|
*/
|
|
7581
7732
|
iNextLevel: int
|
|
7582
|
-
):
|
|
7733
|
+
): UIState;
|
|
7583
7734
|
/**
|
|
7584
7735
|
* @SINCE 1.72
|
|
7585
7736
|
*
|
|
@@ -7608,6 +7759,155 @@ declare module "sap/f/FlexibleColumnLayoutSemanticHelper" {
|
|
|
7608
7759
|
*/
|
|
7609
7760
|
whenReady(): Promise<any>;
|
|
7610
7761
|
}
|
|
7762
|
+
/**
|
|
7763
|
+
* The configuration of the navigation actions in the columns.
|
|
7764
|
+
*/
|
|
7765
|
+
export type ColumnsNavigationActions = {
|
|
7766
|
+
/**
|
|
7767
|
+
* Configuration of the navigation actions of the mid column.
|
|
7768
|
+
*/
|
|
7769
|
+
midColumn?: NavigationActionsTargets;
|
|
7770
|
+
/**
|
|
7771
|
+
* Configuration of the navigation actions of the end column.
|
|
7772
|
+
*/
|
|
7773
|
+
endColumn?: NavigationActionsTargets;
|
|
7774
|
+
};
|
|
7775
|
+
|
|
7776
|
+
/**
|
|
7777
|
+
* Represents the relative percentage sizes of all columns as integers.
|
|
7778
|
+
*/
|
|
7779
|
+
export type ColumnsSizes = {
|
|
7780
|
+
/**
|
|
7781
|
+
* The relative percentage width of the begin column as integer.
|
|
7782
|
+
*/
|
|
7783
|
+
beginColumn?: number;
|
|
7784
|
+
/**
|
|
7785
|
+
* The relative percentage width of the mid column as integer.
|
|
7786
|
+
*/
|
|
7787
|
+
midColumn?: number;
|
|
7788
|
+
/**
|
|
7789
|
+
* The relative percentage width of the end column as integer.
|
|
7790
|
+
*/
|
|
7791
|
+
endColumn?: number;
|
|
7792
|
+
};
|
|
7793
|
+
|
|
7794
|
+
/**
|
|
7795
|
+
* Represents the visibility of the columns.
|
|
7796
|
+
*/
|
|
7797
|
+
export type ColumnsVisibility = {
|
|
7798
|
+
/**
|
|
7799
|
+
* The visibility of the begin column.
|
|
7800
|
+
*/
|
|
7801
|
+
beginColumn?: boolean;
|
|
7802
|
+
/**
|
|
7803
|
+
* The visibility of the mid column.
|
|
7804
|
+
*/
|
|
7805
|
+
midColumn?: boolean;
|
|
7806
|
+
/**
|
|
7807
|
+
* The visibility of the end column.
|
|
7808
|
+
*/
|
|
7809
|
+
endColumn?: boolean;
|
|
7810
|
+
};
|
|
7811
|
+
|
|
7812
|
+
/**
|
|
7813
|
+
* Configures the target layouts of the navigation acion buttons in a column.
|
|
7814
|
+
*/
|
|
7815
|
+
export type NavigationActionsTargets = {
|
|
7816
|
+
/**
|
|
7817
|
+
* The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `fullscreen` navigation action
|
|
7818
|
+
* button is pressed. If null, then the respective action button should not be shown.
|
|
7819
|
+
*/
|
|
7820
|
+
fullScreen?: string | null;
|
|
7821
|
+
/**
|
|
7822
|
+
* The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `exitFullScreen` navigation action
|
|
7823
|
+
* button is pressed. If null, then the respective action button should not be shown.
|
|
7824
|
+
*/
|
|
7825
|
+
exitFullScreen?: string | null;
|
|
7826
|
+
/**
|
|
7827
|
+
* The target {@link sap.f.FlexibleColumnLayout#getLayout layout} when the `closeColumn` navigation action
|
|
7828
|
+
* button is pressed. If null, then the respective action button should not be shown.
|
|
7829
|
+
*/
|
|
7830
|
+
closeColumn?: string | null;
|
|
7831
|
+
};
|
|
7832
|
+
|
|
7833
|
+
/**
|
|
7834
|
+
* Configuration of the state of the `FlexibleColumnLayout` control and the expected action buttons for
|
|
7835
|
+
* each column.
|
|
7836
|
+
*
|
|
7837
|
+
* Example value:
|
|
7838
|
+
*
|
|
7839
|
+
*
|
|
7840
|
+
* ```javascript
|
|
7841
|
+
*
|
|
7842
|
+
*
|
|
7843
|
+
* {
|
|
7844
|
+
* "layout":"ThreeColumnsMidExpanded",
|
|
7845
|
+
* "maxColumnsCount":3,
|
|
7846
|
+
* "columnsSizes":{
|
|
7847
|
+
* "beginColumn":25,
|
|
7848
|
+
* "midColumn":50,
|
|
7849
|
+
* "endColumn":25
|
|
7850
|
+
* },
|
|
7851
|
+
* "columnsVisibility":{
|
|
7852
|
+
* "beginColumn":true,
|
|
7853
|
+
* "midColumn":true,
|
|
7854
|
+
* "endColumn":true
|
|
7855
|
+
* },
|
|
7856
|
+
* "isFullScreen":false,
|
|
7857
|
+
* "isLogicallyFullScreen":false,
|
|
7858
|
+
* "actionButtonsInfo":{
|
|
7859
|
+
* "midColumn":{
|
|
7860
|
+
* "fullScreen":null,
|
|
7861
|
+
* "exitFullScreen":null,
|
|
7862
|
+
* "closeColumn":null
|
|
7863
|
+
* },
|
|
7864
|
+
* "endColumn":{
|
|
7865
|
+
* "fullScreen":"EndColumnFullScreen",
|
|
7866
|
+
* "exitFullScreen":null,
|
|
7867
|
+
* "closeColumn":"TwoColumnsBeginExpanded"
|
|
7868
|
+
* }
|
|
7869
|
+
* }
|
|
7870
|
+
* }
|
|
7871
|
+
*
|
|
7872
|
+
* ```
|
|
7873
|
+
*/
|
|
7874
|
+
export type UIState = {
|
|
7875
|
+
/**
|
|
7876
|
+
* The value of the {@link sap.f.FlexibleColumnLayout#getLayout layout} property.
|
|
7877
|
+
*/
|
|
7878
|
+
layout?: string;
|
|
7879
|
+
/**
|
|
7880
|
+
* The maximum number of columns that can be displayed at once based on the control width. See {@link sap.f.FlexibleColumnLayout#getMaxColumnsCount}
|
|
7881
|
+
*/
|
|
7882
|
+
maxColumnsCount?: number;
|
|
7883
|
+
/**
|
|
7884
|
+
* Represents the relative percentage sizes of all columns as integers.
|
|
7885
|
+
*/
|
|
7886
|
+
columnsSizes?: ColumnsSizes;
|
|
7887
|
+
/**
|
|
7888
|
+
* Represents the visibility of the columns.
|
|
7889
|
+
*/
|
|
7890
|
+
columnsVisibility?: ColumnsVisibility;
|
|
7891
|
+
/**
|
|
7892
|
+
* The value is `true` if only one column is visible at the moment, `false` otherwise.
|
|
7893
|
+
*
|
|
7894
|
+
* **Note:** This may be due to small screen size (phone) or due to a layout, for which a single column
|
|
7895
|
+
* takes up the whole width.
|
|
7896
|
+
*/
|
|
7897
|
+
isFullScreen?: boolean;
|
|
7898
|
+
/**
|
|
7899
|
+
* The value is `true` if the current `layout` is one of the following: `sap.f.LayoutType.OneColumn, sap.f.LayoutType.MidColumnFullScreen,
|
|
7900
|
+
* sap.f.LayoutType.EndColumnFullScreen`, `false` otherwise.
|
|
7901
|
+
*
|
|
7902
|
+
* **Note:** While `isFullScreen` can be `true` for any layout, due to small screen size, `isLogicallyFullScreen`
|
|
7903
|
+
* will only be `true` for the layout values, listed above.
|
|
7904
|
+
*/
|
|
7905
|
+
isLogicallyFullScreen?: boolean;
|
|
7906
|
+
/**
|
|
7907
|
+
* The configuration of the navigation actions in the columns.
|
|
7908
|
+
*/
|
|
7909
|
+
actionButtonsInfo?: ColumnsNavigationActions;
|
|
7910
|
+
};
|
|
7611
7911
|
}
|
|
7612
7912
|
|
|
7613
7913
|
declare module "sap/f/GridContainer" {
|