@sapui5/ts-types 1.104.2 → 1.106.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/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +2 -2
- package/types/sap.collaboration.d.ts +25 -25
- package/types/sap.esh.search.ui.d.ts +939 -1
- package/types/sap.f.d.ts +80 -4
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +5 -5
- package/types/sap.fe.macros.d.ts +30 -98
- package/types/sap.fe.navigation.d.ts +53 -5
- package/types/sap.fe.templates.d.ts +155 -1
- package/types/sap.fe.test.d.ts +17 -3
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +218 -57
- package/types/sap.insights.d.ts +1 -1
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +583 -149
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +68 -3
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +152 -171
- package/types/sap.sac.grid.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +121 -16
- package/types/sap.suite.ui.generic.template.d.ts +17 -3
- package/types/sap.suite.ui.microchart.d.ts +13 -13
- package/types/sap.tnt.d.ts +3 -3
- package/types/sap.ui.codeeditor.d.ts +1 -1
- package/types/sap.ui.commons.d.ts +31 -31
- package/types/sap.ui.comp.d.ts +182 -57
- package/types/sap.ui.core.d.ts +618 -265
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +3 -3
- package/types/sap.ui.fl.d.ts +1117 -5
- package/types/sap.ui.generic.app.d.ts +14 -11
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +101 -18
- package/types/sap.ui.layout.d.ts +7 -7
- package/types/sap.ui.mdc.d.ts +5 -1
- package/types/sap.ui.richtexteditor.d.ts +2 -2
- package/types/sap.ui.rta.d.ts +3 -1
- package/types/sap.ui.suite.d.ts +5 -5
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +26 -8
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +66 -19
- package/types/sap.ui.ux3.d.ts +11 -11
- package/types/sap.ui.vbm.d.ts +3 -3
- package/types/sap.ui.vk.d.ts +315 -24
- package/types/sap.ui.vtm.d.ts +2 -2
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +239 -43
- package/types/sap.ui.webc.main.d.ts +636 -146
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +12 -10
- package/types/sap.ushell_abap.d.ts +1 -215
- package/types/sap.uxap.d.ts +41 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +2 -6
- 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/sap.f.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.106.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -7861,6 +7861,16 @@ declare namespace sap {
|
|
|
7861
7861
|
*/
|
|
7862
7862
|
layoutXL?: sap.f.GridContainerSettings;
|
|
7863
7863
|
|
|
7864
|
+
/**
|
|
7865
|
+
* Association to controls / IDs which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
7866
|
+
*/
|
|
7867
|
+
ariaDescribedBy?: Array<sap.ui.core.Control | string>;
|
|
7868
|
+
|
|
7869
|
+
/**
|
|
7870
|
+
* Association to controls / IDs which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
7871
|
+
*/
|
|
7872
|
+
ariaLabelledBy?: Array<sap.ui.core.Control | string>;
|
|
7873
|
+
|
|
7864
7874
|
/**
|
|
7865
7875
|
* Fired when the currently active GridSettings change.
|
|
7866
7876
|
*/
|
|
@@ -11213,7 +11223,7 @@ declare namespace sap {
|
|
|
11213
11223
|
* The ariaDescribedBy to be removed or its index or ID
|
|
11214
11224
|
*/
|
|
11215
11225
|
vAriaDescribedBy: int | sap.ui.core.ID | sap.ui.core.Control
|
|
11216
|
-
): sap.ui.core.ID;
|
|
11226
|
+
): sap.ui.core.ID | null;
|
|
11217
11227
|
/**
|
|
11218
11228
|
* @SINCE 1.50
|
|
11219
11229
|
*
|
|
@@ -14093,6 +14103,28 @@ declare namespace sap {
|
|
|
14093
14103
|
* @returns Metadata object describing this class
|
|
14094
14104
|
*/
|
|
14095
14105
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
14106
|
+
/**
|
|
14107
|
+
* Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
14108
|
+
*
|
|
14109
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14110
|
+
*/
|
|
14111
|
+
addAriaDescribedBy(
|
|
14112
|
+
/**
|
|
14113
|
+
* The ariaDescribedBy to add; if empty, nothing is inserted
|
|
14114
|
+
*/
|
|
14115
|
+
vAriaDescribedBy: sap.ui.core.ID | sap.ui.core.Control
|
|
14116
|
+
): this;
|
|
14117
|
+
/**
|
|
14118
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
14119
|
+
*
|
|
14120
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
14121
|
+
*/
|
|
14122
|
+
addAriaLabelledBy(
|
|
14123
|
+
/**
|
|
14124
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
14125
|
+
*/
|
|
14126
|
+
vAriaLabelledBy: sap.ui.core.ID | sap.ui.core.Control
|
|
14127
|
+
): this;
|
|
14096
14128
|
/**
|
|
14097
14129
|
* Adds some item to the aggregation {@link #getItems items}.
|
|
14098
14130
|
*
|
|
@@ -14458,6 +14490,16 @@ declare namespace sap {
|
|
|
14458
14490
|
* @returns Value of property `allowDenseFill`
|
|
14459
14491
|
*/
|
|
14460
14492
|
getAllowDenseFill(): boolean;
|
|
14493
|
+
/**
|
|
14494
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
|
|
14495
|
+
* ariaDescribedBy}.
|
|
14496
|
+
*/
|
|
14497
|
+
getAriaDescribedBy(): sap.ui.core.ID[];
|
|
14498
|
+
/**
|
|
14499
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
14500
|
+
* ariaLabelledBy}.
|
|
14501
|
+
*/
|
|
14502
|
+
getAriaLabelledBy(): sap.ui.core.ID[];
|
|
14461
14503
|
/**
|
|
14462
14504
|
* Gets current value of property {@link #getContainerQuery containerQuery}.
|
|
14463
14505
|
*
|
|
@@ -14600,6 +14642,18 @@ declare namespace sap {
|
|
|
14600
14642
|
*/
|
|
14601
14643
|
iIndex: int
|
|
14602
14644
|
): this;
|
|
14645
|
+
/**
|
|
14646
|
+
* Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
14647
|
+
*
|
|
14648
|
+
* @returns An array of the removed elements (might be empty)
|
|
14649
|
+
*/
|
|
14650
|
+
removeAllAriaDescribedBy(): sap.ui.core.ID[];
|
|
14651
|
+
/**
|
|
14652
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
14653
|
+
*
|
|
14654
|
+
* @returns An array of the removed elements (might be empty)
|
|
14655
|
+
*/
|
|
14656
|
+
removeAllAriaLabelledBy(): sap.ui.core.ID[];
|
|
14603
14657
|
/**
|
|
14604
14658
|
* Removes all the controls from the aggregation {@link #getItems items}.
|
|
14605
14659
|
*
|
|
@@ -14608,17 +14662,39 @@ declare namespace sap {
|
|
|
14608
14662
|
* @returns An array of the removed elements (might be empty)
|
|
14609
14663
|
*/
|
|
14610
14664
|
removeAllItems(): sap.ui.core.Control[];
|
|
14665
|
+
/**
|
|
14666
|
+
* Removes an ariaDescribedBy from the association named {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
14667
|
+
*
|
|
14668
|
+
* @returns The removed ariaDescribedBy or `null`
|
|
14669
|
+
*/
|
|
14670
|
+
removeAriaDescribedBy(
|
|
14671
|
+
/**
|
|
14672
|
+
* The ariaDescribedBy to be removed or its index or ID
|
|
14673
|
+
*/
|
|
14674
|
+
vAriaDescribedBy: int | sap.ui.core.ID | sap.ui.core.Control
|
|
14675
|
+
): sap.ui.core.ID | null;
|
|
14676
|
+
/**
|
|
14677
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
14678
|
+
*
|
|
14679
|
+
* @returns The removed ariaLabelledBy or `null`
|
|
14680
|
+
*/
|
|
14681
|
+
removeAriaLabelledBy(
|
|
14682
|
+
/**
|
|
14683
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
14684
|
+
*/
|
|
14685
|
+
vAriaLabelledBy: int | sap.ui.core.ID | sap.ui.core.Control
|
|
14686
|
+
): sap.ui.core.ID | null;
|
|
14611
14687
|
/**
|
|
14612
14688
|
* Removes an item from the aggregation named `items`.
|
|
14613
14689
|
*
|
|
14614
|
-
* @returns The removed item or null
|
|
14690
|
+
* @returns The removed item or `null`.
|
|
14615
14691
|
*/
|
|
14616
14692
|
removeItem(
|
|
14617
14693
|
/**
|
|
14618
14694
|
* The item to remove or its index or ID.
|
|
14619
14695
|
*/
|
|
14620
14696
|
vItem: int | string | sap.ui.core.Item
|
|
14621
|
-
): sap.ui.core.Control;
|
|
14697
|
+
): sap.ui.core.Control | null;
|
|
14622
14698
|
/**
|
|
14623
14699
|
* @EXPERIMENTAL (since 1.66)
|
|
14624
14700
|
*
|
package/types/sap.fe.common.d.ts
CHANGED
package/types/sap.fe.core.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.106.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
/**
|
|
@@ -148,7 +148,7 @@ declare namespace sap {
|
|
|
148
148
|
* Invokes an action (bound or unbound) and tracks the changes so that other pages can be refreshed and
|
|
149
149
|
* show the updated data upon navigation.
|
|
150
150
|
*
|
|
151
|
-
* @returns A promise once the action has been
|
|
151
|
+
* @returns A promise which resolves once the action has been executed, providing the response
|
|
152
152
|
*/
|
|
153
153
|
invokeAction(
|
|
154
154
|
/**
|
|
@@ -510,7 +510,7 @@ declare namespace sap {
|
|
|
510
510
|
/**
|
|
511
511
|
* Current context where the navigation is initiated
|
|
512
512
|
*/
|
|
513
|
-
oContext
|
|
513
|
+
oContext?: sap.ui.model.odata.v4.Context
|
|
514
514
|
): void;
|
|
515
515
|
/**
|
|
516
516
|
* @SINCE 1.94.0
|
|
@@ -811,7 +811,7 @@ declare namespace sap {
|
|
|
811
811
|
*/
|
|
812
812
|
applyInitialStateOnly(): boolean;
|
|
813
813
|
/**
|
|
814
|
-
* Apply navigation parameters
|
|
814
|
+
* Apply navigation parameters is not called if the navigation type is iAppState
|
|
815
815
|
* This function is meant to be individually overridden by consuming controllers, but not to be called directly.
|
|
816
816
|
* The override execution is: {@link sap.ui.core.mvc.OverrideExecution.After}.
|
|
817
817
|
*/
|
|
@@ -861,7 +861,7 @@ declare namespace sap {
|
|
|
861
861
|
*/
|
|
862
862
|
navigationType: any;
|
|
863
863
|
/**
|
|
864
|
-
* Defines whether standard variant must be used in
|
|
864
|
+
* Defines whether the standard variant must be used in variant management
|
|
865
865
|
*/
|
|
866
866
|
requiresStandardVariant?: boolean;
|
|
867
867
|
/**
|
package/types/sap.fe.macros.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.106.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace fe {
|
|
@@ -72,6 +72,19 @@ declare namespace sap {
|
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
interface $MacroAPISettings extends sap.ui.core.$ControlSettings {
|
|
76
|
+
/**
|
|
77
|
+
* Defines the path of the context used in the current page or block.
|
|
78
|
+
* This setting is defined by the framework.
|
|
79
|
+
*/
|
|
80
|
+
contextPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
84
|
+
*/
|
|
85
|
+
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
86
|
+
}
|
|
87
|
+
|
|
75
88
|
interface $ChartSettings extends sap.fe.macros.$MacroAPISettings {
|
|
76
89
|
/**
|
|
77
90
|
* Metadata path to the entitySet or navigationProperty
|
|
@@ -159,7 +172,7 @@ declare namespace sap {
|
|
|
159
172
|
contextPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
160
173
|
|
|
161
174
|
/**
|
|
162
|
-
* The identifier of the
|
|
175
|
+
* The identifier of the FilterBar control.
|
|
163
176
|
*/
|
|
164
177
|
id?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
165
178
|
|
|
@@ -192,19 +205,6 @@ declare namespace sap {
|
|
|
192
205
|
title?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
193
206
|
}
|
|
194
207
|
|
|
195
|
-
interface $MacroAPISettings extends sap.ui.core.$ControlSettings {
|
|
196
|
-
/**
|
|
197
|
-
* Defines the path of the context used in the current page or block.
|
|
198
|
-
* This setting is defined by the framework.
|
|
199
|
-
*/
|
|
200
|
-
contextPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* Defines the relative path of the property in the metamodel, based on the current contextPath.
|
|
204
|
-
*/
|
|
205
|
-
metaPath?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
208
|
interface $TableSettings extends sap.fe.macros.$MacroAPISettings {
|
|
209
209
|
/**
|
|
210
210
|
* An expression that allows you to control the 'busy' state of the table.
|
|
@@ -354,76 +354,18 @@ declare namespace sap {
|
|
|
354
354
|
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
|
-
/**
|
|
358
|
-
* @SINCE 1.93.0
|
|
359
|
-
*
|
|
360
|
-
* Building block used specifically in an app using the flexible column layout to add the ‘expand’, ‘reduce’,
|
|
361
|
-
* and ‘close’ action buttons.
|
|
362
|
-
*
|
|
363
|
-
* Usage example:
|
|
364
|
-
* ```javascript
|
|
365
|
-
*
|
|
366
|
-
* <f:DynamicPageTitle id="incidentProcessFlowDynamicPageTitle">
|
|
367
|
-
* <f:navigationActions>
|
|
368
|
-
* <macros:FlexibleColumnLayoutActions />
|
|
369
|
-
* </f:navigationActions>
|
|
370
|
-
* </f:DynamicPageTitle>
|
|
371
|
-
* <macro:FlexibleColumnLayoutActions />
|
|
372
|
-
* ```
|
|
373
|
-
*/
|
|
374
|
-
class FlexibleColumnLayoutActions
|
|
375
|
-
/* was: sap.fe.macros.MacroMetadata */ extends Object {
|
|
376
|
-
constructor();
|
|
377
|
-
}
|
|
378
357
|
/**
|
|
379
358
|
* @SINCE 1.90.0
|
|
380
359
|
*
|
|
381
360
|
* Building block used to create a form element containing a label and a field.
|
|
382
361
|
*/
|
|
383
|
-
class FormElement
|
|
362
|
+
class FormElement {
|
|
384
363
|
constructor();
|
|
385
364
|
}
|
|
386
365
|
/**
|
|
387
|
-
*
|
|
388
|
-
*
|
|
389
|
-
* Building block used to create a MicroChart based on the metadata provided by OData V4.
|
|
390
|
-
*/
|
|
391
|
-
class MicroChart /* was: sap.fe.macros.MacroMetadata */ extends Object {
|
|
392
|
-
constructor();
|
|
393
|
-
}
|
|
394
|
-
/**
|
|
395
|
-
* @SINCE 1.94.0
|
|
396
|
-
*
|
|
397
|
-
* Building block used to create a paginator control.
|
|
398
|
-
*
|
|
399
|
-
* Usage example:
|
|
400
|
-
* ```javascript
|
|
401
|
-
*
|
|
402
|
-
* <macro:Paginator />
|
|
403
|
-
* ```
|
|
404
|
-
*/
|
|
405
|
-
class Paginator /* was: sap.fe.macros.MacroMetadata */ extends Object {
|
|
406
|
-
constructor();
|
|
407
|
-
}
|
|
408
|
-
/**
|
|
409
|
-
* @SINCE 1.93.0
|
|
410
|
-
*
|
|
411
|
-
* Building block used to create the ‘Share’ functionality.
|
|
412
|
-
* Please note that the 'Share in SAP Jam' option is only available on platforms that are integrated with
|
|
413
|
-
* SAP Jam.
|
|
414
|
-
* If you are consuming this macro in an environment where the SAP Fiori launchpad is not available, then
|
|
415
|
-
* the 'Save as Tile' option is not visible.
|
|
416
|
-
*
|
|
417
|
-
* Usage example:
|
|
418
|
-
* ```javascript
|
|
419
|
-
*
|
|
420
|
-
* <macro:Share
|
|
421
|
-
* id="someID"
|
|
422
|
-
* visible="true"
|
|
423
|
-
* />
|
|
424
|
-
* ```
|
|
366
|
+
* Base API control for macros.
|
|
425
367
|
*/
|
|
426
|
-
class
|
|
368
|
+
class MacroAPI extends sap.ui.core.Control {
|
|
427
369
|
constructor();
|
|
428
370
|
}
|
|
429
371
|
/**
|
|
@@ -543,7 +485,7 @@ declare namespace sap {
|
|
|
543
485
|
| string[]
|
|
544
486
|
| number[]
|
|
545
487
|
| boolean[]
|
|
546
|
-
):
|
|
488
|
+
): Promise<any>;
|
|
547
489
|
}
|
|
548
490
|
/**
|
|
549
491
|
* Building block for creating a Form based on the metadata provided by OData V4.
|
|
@@ -561,12 +503,6 @@ declare namespace sap {
|
|
|
561
503
|
class Form extends sap.fe.macros.MacroAPI {
|
|
562
504
|
constructor();
|
|
563
505
|
}
|
|
564
|
-
/**
|
|
565
|
-
* Base API control for macros.
|
|
566
|
-
*/
|
|
567
|
-
class MacroAPI extends sap.ui.core.Control {
|
|
568
|
-
constructor();
|
|
569
|
-
}
|
|
570
506
|
/**
|
|
571
507
|
* Building block used to create a table based on the metadata provided by OData V4.
|
|
572
508
|
*
|
|
@@ -684,7 +620,7 @@ declare namespace sap {
|
|
|
684
620
|
*/
|
|
685
621
|
label: string;
|
|
686
622
|
/**
|
|
687
|
-
* If set the search
|
|
623
|
+
* If set, the search is triggered automatically when a filter value is changed.
|
|
688
624
|
*/
|
|
689
625
|
liveMode: boolean;
|
|
690
626
|
/**
|
|
@@ -692,6 +628,10 @@ declare namespace sap {
|
|
|
692
628
|
* Allowed values are `Before` and `After`
|
|
693
629
|
*/
|
|
694
630
|
placement: string;
|
|
631
|
+
/**
|
|
632
|
+
* If set, possible errors that occur during the search will be displayed in a message box.
|
|
633
|
+
*/
|
|
634
|
+
showMessages: boolean;
|
|
695
635
|
/**
|
|
696
636
|
* Parameter which sets the visibility of the FilterBar building block
|
|
697
637
|
*/
|
|
@@ -701,28 +641,20 @@ declare namespace sap {
|
|
|
701
641
|
}
|
|
702
642
|
|
|
703
643
|
interface IUI5DefineDependencyNames {
|
|
704
|
-
"sap/fe/macros/ChartAPI": undefined;
|
|
644
|
+
"sap/fe/macros/chart/ChartAPI": undefined;
|
|
705
645
|
|
|
706
|
-
"sap/fe/macros/FieldAPI": undefined;
|
|
646
|
+
"sap/fe/macros/field/FieldAPI": undefined;
|
|
707
647
|
|
|
708
|
-
"sap/fe/macros/FilterBarAPI": undefined;
|
|
648
|
+
"sap/fe/macros/filterBar/FilterBarAPI": undefined;
|
|
709
649
|
|
|
710
|
-
"sap/fe/macros/
|
|
650
|
+
"sap/fe/macros/form/FormAPI": undefined;
|
|
711
651
|
|
|
712
|
-
"sap/fe/macros/
|
|
713
|
-
|
|
714
|
-
"sap/fe/macros/FormElement.metadata": undefined;
|
|
652
|
+
"sap/fe/macros/form/FormElement.metadata": undefined;
|
|
715
653
|
|
|
716
654
|
"sap/fe/macros/library": undefined;
|
|
717
655
|
|
|
718
656
|
"sap/fe/macros/MacroAPI": undefined;
|
|
719
657
|
|
|
720
|
-
"sap/fe/macros/
|
|
721
|
-
|
|
722
|
-
"sap/fe/macros/Paginator.metadata": undefined;
|
|
723
|
-
|
|
724
|
-
"sap/fe/macros/Share.metadata": undefined;
|
|
725
|
-
|
|
726
|
-
"sap/fe/macros/TableAPI": undefined;
|
|
658
|
+
"sap/fe/macros/table/TableAPI": undefined;
|
|
727
659
|
}
|
|
728
660
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.106.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace fe {
|
|
@@ -757,8 +757,8 @@ declare namespace sap {
|
|
|
757
757
|
* properties
|
|
758
758
|
* - `oAppData.tableVariantId`
|
|
759
759
|
* - `oAppData.customData` which return the inner app data as stored in {@link #.navigate navigate}
|
|
760
|
-
* or {@link #.
|
|
761
|
-
* selection variant and `oAppData.bNavSelVarHasDefaultsOnly` is `false` in this case.
|
|
760
|
+
* or {@link #.storeInnerAppStateAsync storeInnerAppStateAsync}. `oAppData.oDefaultedSelectionVariant` is
|
|
761
|
+
* an empty selection variant and `oAppData.bNavSelVarHasDefaultsOnly` is `false` in this case.
|
|
762
762
|
* **Note:** If the navigation type is {@link sap.fe.navigation.NavType.initial} oAppData is an empty object!
|
|
763
763
|
* If an error occurs, an error object of type {@link sap.fe.navigation.NavError}, URL parameters (if available)
|
|
764
764
|
* and the type of navigation are returned.
|
|
@@ -881,6 +881,9 @@ declare namespace sap {
|
|
|
881
881
|
aTechnicalParameters: any[]
|
|
882
882
|
): void;
|
|
883
883
|
/**
|
|
884
|
+
* @deprecated (since 1.104) - Use the {@link sap.fe.navigation.NavigationHandler.storeInnerAppStateAsync}
|
|
885
|
+
* instead.
|
|
886
|
+
*
|
|
884
887
|
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
885
888
|
*
|
|
886
889
|
* @returns A Promise object to monitor when all the actions of the function have been executed; if the
|
|
@@ -888,6 +891,50 @@ declare namespace sap {
|
|
|
888
891
|
* sap.fe.navigation.NavError} is returned
|
|
889
892
|
*/
|
|
890
893
|
storeInnerAppState(
|
|
894
|
+
/**
|
|
895
|
+
* Object containing the current state of the app
|
|
896
|
+
*/
|
|
897
|
+
mInnerAppData: {
|
|
898
|
+
/**
|
|
899
|
+
* Stringified JSON object as returned, for example, from getDataSuiteFormat() of the SmartFilterBar control
|
|
900
|
+
*/
|
|
901
|
+
selectionVariant: string;
|
|
902
|
+
/**
|
|
903
|
+
* ID of the SmartTable variant
|
|
904
|
+
*/
|
|
905
|
+
tableVariantId?: string;
|
|
906
|
+
/**
|
|
907
|
+
* Object that can be used to store additional app-specific data
|
|
908
|
+
*/
|
|
909
|
+
customData?: object;
|
|
910
|
+
/**
|
|
911
|
+
* Object containing the current ui state of the app
|
|
912
|
+
*/
|
|
913
|
+
presentationVariant?: object;
|
|
914
|
+
/**
|
|
915
|
+
* Object containing value descriptions
|
|
916
|
+
*/
|
|
917
|
+
valueTexts?: object;
|
|
918
|
+
/**
|
|
919
|
+
* Object containing semanticDates filter information
|
|
920
|
+
*/
|
|
921
|
+
semanticDates?: object;
|
|
922
|
+
},
|
|
923
|
+
/**
|
|
924
|
+
* If set to false, the inner app hash will not be replaced until storing is successful; do not set to false
|
|
925
|
+
* if you cannot react to the resolution of the Promise, for example, when calling the beforeLinkPressed
|
|
926
|
+
* event
|
|
927
|
+
*/
|
|
928
|
+
bImmediateHashReplace?: boolean
|
|
929
|
+
): object;
|
|
930
|
+
/**
|
|
931
|
+
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
932
|
+
*
|
|
933
|
+
* @returns A Promise object to monitor when all the actions of the function have been executed; if the
|
|
934
|
+
* execution is successful, the app state key is returned; if an error occurs, an object of type {@link
|
|
935
|
+
* sap.fe.navigation.NavError} is returned
|
|
936
|
+
*/
|
|
937
|
+
storeInnerAppStateAsync(
|
|
891
938
|
/**
|
|
892
939
|
* Object containing the current state of the app
|
|
893
940
|
*/
|
|
@@ -924,13 +971,14 @@ declare namespace sap {
|
|
|
924
971
|
*/
|
|
925
972
|
bImmediateHashReplace?: boolean,
|
|
926
973
|
/**
|
|
927
|
-
* If set to true, the inner app hash will not be replaced in the
|
|
974
|
+
* If set to true, the inner app hash will not be replaced in the storeInnerAppStateAsync. Also the bImmediateHashReplace
|
|
928
975
|
* will be ignored.
|
|
929
976
|
*/
|
|
930
977
|
bSkipHashReplace?: boolean
|
|
931
978
|
): object;
|
|
932
979
|
/**
|
|
933
|
-
* @deprecated (since 1.104) - Use the {@link sap.fe.navigation.NavigationHandler.
|
|
980
|
+
* @deprecated (since 1.104) - Use the {@link sap.fe.navigation.NavigationHandler.storeInnerAppStateAsync}
|
|
981
|
+
* instead.
|
|
934
982
|
*
|
|
935
983
|
* Changes the URL according to the current app state and stores the app state for later retrieval.
|
|
936
984
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.106.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace fe {
|
|
@@ -161,6 +161,158 @@ declare namespace sap {
|
|
|
161
161
|
| string[]
|
|
162
162
|
| number[]
|
|
163
163
|
| boolean[]
|
|
164
|
+
): Promise<any>;
|
|
165
|
+
/**
|
|
166
|
+
* Triggers an update of the app state.
|
|
167
|
+
* Should be called if the state of a control, or any other state-relevant information, was changed.
|
|
168
|
+
*
|
|
169
|
+
* @returns A promise that resolves with the new app state object.
|
|
170
|
+
*/
|
|
171
|
+
updateAppState(): undefined | Promise<any>;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
namespace ObjectPage {
|
|
176
|
+
/**
|
|
177
|
+
* @SINCE 1.79.0
|
|
178
|
+
*
|
|
179
|
+
*
|
|
180
|
+
* Extension API for object pages on SAP Fiori elements for OData V4.
|
|
181
|
+
*/
|
|
182
|
+
class ExtensionAPI
|
|
183
|
+
/* was: sap.fe.templates.ExtensionAPI */ extends Object {
|
|
184
|
+
constructor();
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* Add any control as a dependent control to this SAP Fiori elements page.
|
|
188
|
+
*/
|
|
189
|
+
addDependent(
|
|
190
|
+
/**
|
|
191
|
+
* Control to be added as a dependent control
|
|
192
|
+
*/
|
|
193
|
+
oControl: sap.ui.core.Control
|
|
194
|
+
): void;
|
|
195
|
+
/**
|
|
196
|
+
* Gets the bound context of the current object page.
|
|
197
|
+
*
|
|
198
|
+
* @returns Context bound to the object page
|
|
199
|
+
*/
|
|
200
|
+
getBindingContext(): undefined | object | sap.ui.model.Context;
|
|
201
|
+
/**
|
|
202
|
+
* Get access to models managed by SAP Fiori elements.
|
|
203
|
+
*
|
|
204
|
+
* The following models can be accessed:
|
|
205
|
+
*
|
|
206
|
+
*
|
|
207
|
+
* - undefined: the undefined model returns the SAPUI5 OData V4 model bound to this page
|
|
208
|
+
*
|
|
209
|
+
* - i18n / further data models defined in the manifest
|
|
210
|
+
* ui: returns a SAPUI5 JSON model containing UI information.
|
|
211
|
+
* Only the following properties are public and supported:
|
|
212
|
+
*
|
|
213
|
+
*
|
|
214
|
+
* - isEditable: set to true if the application is in edit mode
|
|
215
|
+
*
|
|
216
|
+
*
|
|
217
|
+
* .
|
|
218
|
+
* editMode is deprecated and should not be used anymore. Use isEditable instead.
|
|
219
|
+
*
|
|
220
|
+
* @returns The required model
|
|
221
|
+
*/
|
|
222
|
+
getModel(
|
|
223
|
+
/**
|
|
224
|
+
* Name of the model
|
|
225
|
+
*/
|
|
226
|
+
sModelName?: string
|
|
227
|
+
): undefined | sap.ui.model.Model;
|
|
228
|
+
/**
|
|
229
|
+
* Gets the list entries currently selected for the table.
|
|
230
|
+
*
|
|
231
|
+
* @returns Array containing the selected contexts
|
|
232
|
+
*/
|
|
233
|
+
getSelectedContexts(
|
|
234
|
+
/**
|
|
235
|
+
* The ID identifying the table the selected context is requested for
|
|
236
|
+
*/
|
|
237
|
+
sTableId: string
|
|
238
|
+
): any;
|
|
239
|
+
/**
|
|
240
|
+
* Load a fragment and go through the template preprocessor with the current page context.
|
|
241
|
+
*
|
|
242
|
+
* @returns The fragment definition
|
|
243
|
+
*/
|
|
244
|
+
loadFragment(
|
|
245
|
+
/**
|
|
246
|
+
* The settings object
|
|
247
|
+
*/
|
|
248
|
+
mSettings: {
|
|
249
|
+
/**
|
|
250
|
+
* The contextPath to be used for the templating process
|
|
251
|
+
*/
|
|
252
|
+
contextPath: string;
|
|
253
|
+
/**
|
|
254
|
+
* The controller to be attached to the fragment
|
|
255
|
+
*/
|
|
256
|
+
controller: object;
|
|
257
|
+
/**
|
|
258
|
+
* The ID of the fragment itself
|
|
259
|
+
*/
|
|
260
|
+
id: string;
|
|
261
|
+
/**
|
|
262
|
+
* The initial binding context
|
|
263
|
+
*/
|
|
264
|
+
initialBindingContext: sap.ui.model.Context;
|
|
265
|
+
/**
|
|
266
|
+
* The name of the fragment to be loaded
|
|
267
|
+
*/
|
|
268
|
+
name: string;
|
|
269
|
+
}
|
|
270
|
+
): Promise<any>;
|
|
271
|
+
/**
|
|
272
|
+
* Navigate to another target.
|
|
273
|
+
*/
|
|
274
|
+
navigateToTarget(
|
|
275
|
+
/**
|
|
276
|
+
* Name of the target route
|
|
277
|
+
*/
|
|
278
|
+
sTarget: string,
|
|
279
|
+
/**
|
|
280
|
+
* undefined
|
|
281
|
+
*/
|
|
282
|
+
oContext: sap.ui.model.Context
|
|
283
|
+
): void;
|
|
284
|
+
/**
|
|
285
|
+
* Refreshes either the whole object page or only parts of it.
|
|
286
|
+
*
|
|
287
|
+
* @returns Resolved once the data is refreshed or rejected if the request failed
|
|
288
|
+
*/
|
|
289
|
+
refresh(
|
|
290
|
+
/**
|
|
291
|
+
* undefined
|
|
292
|
+
*/
|
|
293
|
+
vPath: undefined | string | string[]
|
|
294
|
+
): Promise<any>;
|
|
295
|
+
/**
|
|
296
|
+
* Remove a dependent control from this SAP Fiori elements page.
|
|
297
|
+
*/
|
|
298
|
+
removeDependent(
|
|
299
|
+
/**
|
|
300
|
+
* Control to be added as a dependent control
|
|
301
|
+
*/
|
|
302
|
+
oControl: sap.ui.core.Control
|
|
303
|
+
): void;
|
|
304
|
+
/**
|
|
305
|
+
* Displays or hides the side content of an object page block.
|
|
306
|
+
*/
|
|
307
|
+
showSideContent(
|
|
308
|
+
/**
|
|
309
|
+
* Key of the side content fragment as defined in the manifest.json
|
|
310
|
+
*/
|
|
311
|
+
sSubSectionKey: string,
|
|
312
|
+
/**
|
|
313
|
+
* undefined
|
|
314
|
+
*/
|
|
315
|
+
bShow: undefined | boolean
|
|
164
316
|
): void;
|
|
165
317
|
/**
|
|
166
318
|
* Triggers an update of the app state.
|
|
@@ -178,5 +330,7 @@ declare namespace sap {
|
|
|
178
330
|
"sap/fe/templates/library": undefined;
|
|
179
331
|
|
|
180
332
|
"sap/fe/templates/ListReport/ExtensionAPI": undefined;
|
|
333
|
+
|
|
334
|
+
"sap/fe/templates/ObjectPage/ExtensionAPI": undefined;
|
|
181
335
|
}
|
|
182
336
|
}
|