@sapui5/ts-types 1.145.1 → 1.147.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 +3 -6
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.chart.d.ts +4 -7
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +59 -67
- package/types/sap.f.d.ts +214 -528
- package/types/sap.fe.ariba.d.ts +1 -1
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.controls.d.ts +1 -1
- package/types/sap.fe.core.d.ts +1 -1
- package/types/sap.fe.ina.d.ts +1 -1
- package/types/sap.fe.macros.d.ts +1725 -1041
- package/types/sap.fe.navigation.d.ts +1 -1
- 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 +49 -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 +229 -1
- package/types/sap.insights.d.ts +14 -1
- package/types/{mobile-1.145.0-d.ts → sap.m.d.ts} +607 -48
- 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 +1 -1
- package/types/sap.suite.ui.commons.d.ts +294 -10
- package/types/sap.suite.ui.generic.template.d.ts +79 -1
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +9 -19
- package/types/sap.ui.codeeditor.d.ts +82 -46
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +5 -15
- package/types/{core-1.145.0-d.ts → sap.ui.core.d.ts} +1209 -376
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +9 -1
- package/types/sap.ui.generic.app.d.ts +5 -5
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.geomap.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +87 -289
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/{mdc-1.145.0-d.ts → sap.ui.mdc.d.ts} +108 -21
- package/types/sap.ui.richtexteditor.d.ts +6 -6
- 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 +2 -2
- package/types/sap.ui.table.d.ts +1 -1
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +41 -11
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +8 -24
- package/types/sap.ui.vk.d.ts +216 -2
- package/types/sap.ui.vtm.d.ts +2 -2
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +590 -196
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +146 -1
- package/types/sap.viz.d.ts +4 -5
- 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/sap.ui.webc.common.d.ts +0 -173
- package/types/sap.ui.webc.fiori.d.ts +0 -16012
- package/types/sap.ui.webc.main.d.ts +0 -51158
package/types/sap.makit.d.ts
CHANGED
package/types/sap.me.d.ts
CHANGED
package/types/sap.ndc.d.ts
CHANGED
package/types/sap.ovp.d.ts
CHANGED
package/types/sap.rules.ui.d.ts
CHANGED
package/types/sap.sac.df.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.147.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/suite/ui/commons/collaboration/BaseHelperService" {
|
|
4
4
|
/**
|
|
@@ -3873,13 +3873,22 @@ declare namespace sap {
|
|
|
3873
3873
|
/**
|
|
3874
3874
|
* Enables advanced line routing algorithm that creates orthogonal bends along the pathfinding process for
|
|
3875
3875
|
* line creation.
|
|
3876
|
-
*
|
|
3877
|
-
* @since 1.144
|
|
3878
3876
|
*/
|
|
3879
3877
|
enableOptimizedLineAlgorithm?:
|
|
3880
3878
|
| boolean
|
|
3881
3879
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
3882
3880
|
| `{${string}}`;
|
|
3881
|
+
|
|
3882
|
+
/**
|
|
3883
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
3884
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
3885
|
+
*
|
|
3886
|
+
* @since 1.146
|
|
3887
|
+
*/
|
|
3888
|
+
componentArrangement?:
|
|
3889
|
+
| sap.suite.ui.commons.networkgraph.ComponentArrangement
|
|
3890
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
3891
|
+
| `{${string}}`;
|
|
3883
3892
|
}
|
|
3884
3893
|
|
|
3885
3894
|
/**
|
|
@@ -4697,6 +4706,19 @@ declare namespace sap {
|
|
|
4697
4706
|
* @returns Metadata object describing this class
|
|
4698
4707
|
*/
|
|
4699
4708
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
4709
|
+
/**
|
|
4710
|
+
* Gets current value of property {@link #getComponentArrangement componentArrangement}.
|
|
4711
|
+
*
|
|
4712
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
4713
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
4714
|
+
*
|
|
4715
|
+
* Default value is `Horizontal`.
|
|
4716
|
+
*
|
|
4717
|
+
* @since 1.146
|
|
4718
|
+
*
|
|
4719
|
+
* @returns Value of property `componentArrangement`
|
|
4720
|
+
*/
|
|
4721
|
+
getComponentArrangement(): sap.suite.ui.commons.networkgraph.ComponentArrangement;
|
|
4700
4722
|
/**
|
|
4701
4723
|
* Gets current value of property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
|
|
4702
4724
|
*
|
|
@@ -4705,7 +4727,6 @@ declare namespace sap {
|
|
|
4705
4727
|
*
|
|
4706
4728
|
* Default value is `false`.
|
|
4707
4729
|
*
|
|
4708
|
-
* @since 1.144
|
|
4709
4730
|
*
|
|
4710
4731
|
* @returns Value of property `enableOptimizedLineAlgorithm`
|
|
4711
4732
|
*/
|
|
@@ -4718,12 +4739,33 @@ declare namespace sap {
|
|
|
4718
4739
|
*/
|
|
4719
4740
|
getLayoutRenderType(): sap.suite.ui.commons.networkgraph.LayoutRenderType;
|
|
4720
4741
|
/**
|
|
4721
|
-
* Executes the layout algorithm.
|
|
4742
|
+
* Executes the layout algorithm. Automatically calculates initial positions for unpositioned nodes using
|
|
4743
|
+
* DependencyLayoutHelper, then normalizes line coordinates.
|
|
4722
4744
|
*
|
|
4723
4745
|
*
|
|
4724
4746
|
* @returns Task to get the layout calculated.
|
|
4725
4747
|
*/
|
|
4726
4748
|
layout(): sap.suite.ui.commons.networkgraph.layout.LayoutTask;
|
|
4749
|
+
/**
|
|
4750
|
+
* Sets a new value for property {@link #getComponentArrangement componentArrangement}.
|
|
4751
|
+
*
|
|
4752
|
+
* Defines how separate connected components should be arranged in the graph. Components can be arranged
|
|
4753
|
+
* either horizontally (side-by-side) or vertically (stacked).
|
|
4754
|
+
*
|
|
4755
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
4756
|
+
*
|
|
4757
|
+
* Default value is `Horizontal`.
|
|
4758
|
+
*
|
|
4759
|
+
* @since 1.146
|
|
4760
|
+
*
|
|
4761
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
4762
|
+
*/
|
|
4763
|
+
setComponentArrangement(
|
|
4764
|
+
/**
|
|
4765
|
+
* New value for property `componentArrangement`
|
|
4766
|
+
*/
|
|
4767
|
+
sComponentArrangement?: sap.suite.ui.commons.networkgraph.ComponentArrangement
|
|
4768
|
+
): this;
|
|
4727
4769
|
/**
|
|
4728
4770
|
* Sets a new value for property {@link #getEnableOptimizedLineAlgorithm enableOptimizedLineAlgorithm}.
|
|
4729
4771
|
*
|
|
@@ -4734,7 +4776,6 @@ declare namespace sap {
|
|
|
4734
4776
|
*
|
|
4735
4777
|
* Default value is `false`.
|
|
4736
4778
|
*
|
|
4737
|
-
* @since 1.144
|
|
4738
4779
|
*
|
|
4739
4780
|
* @returns Reference to `this` in order to allow method chaining
|
|
4740
4781
|
*/
|
|
@@ -4898,6 +4939,20 @@ declare namespace sap {
|
|
|
4898
4939
|
* nodes based on their dependency relationships using topological sorting, cycle detection, and layer-based
|
|
4899
4940
|
* positioning.
|
|
4900
4941
|
*
|
|
4942
|
+
* Why a node may be positioned incorrectly after recalculation: After each run, node positions are cached
|
|
4943
|
+
* with a flag indicating whether the user moved them (`bIsUserPositioned`). On the next call, nodes flagged
|
|
4944
|
+
* as user-positioned are preserved as-is, and the algorithm-placed nodes are recalculated. A node appears
|
|
4945
|
+
* in the wrong place if it is unexpectedly treated as user-positioned, most commonly because `clearCache:
|
|
4946
|
+
* true` was passed. It wipes the cache, but leaves the coordinates intact. So every node with non-zero
|
|
4947
|
+
* coordinates is immediately re-classified as user-positioned and freezes, rather than being recalculated.
|
|
4948
|
+
*
|
|
4949
|
+
* Drag and drop recalculation - correct pattern: Call `resetNode(oNode)` for each dragged node, then call
|
|
4950
|
+
* `calculatePositions` without `clearCache` (default `false`). `resetNode` evicts the node from the cache
|
|
4951
|
+
* and zeros its coordinates, so only that node is repositioned; all the other nodes remain stable.
|
|
4952
|
+
*
|
|
4953
|
+
* Sentinel value: Coordinates `(0, 0)` mean "unpositioned". To place a node at the canvas origin, use `(0.1,
|
|
4954
|
+
* 0.1)` or `(1, 1)` instead.
|
|
4955
|
+
*
|
|
4901
4956
|
* @since 1.144
|
|
4902
4957
|
*/
|
|
4903
4958
|
interface DependencyLayoutHelper {}
|
|
@@ -5214,7 +5269,9 @@ declare namespace sap {
|
|
|
5214
5269
|
|
|
5215
5270
|
/**
|
|
5216
5271
|
* Enables the drag and drop of nodes. This property is ignored if the layout property is not set to noop.
|
|
5217
|
-
* If set to `true`, nodes can be dragged and dropped within the graph.
|
|
5272
|
+
* If set to `true`, nodes can be dragged and dropped within the graph. Note: Drag and drop functionality
|
|
5273
|
+
* is only available for nodes. Groups cannot be dragged and dropped, even when NoopLayout is used and enableDragAndDrop
|
|
5274
|
+
* is set to true.
|
|
5218
5275
|
*
|
|
5219
5276
|
* @since 1.144
|
|
5220
5277
|
*/
|
|
@@ -5370,7 +5427,11 @@ declare namespace sap {
|
|
|
5370
5427
|
|
|
5371
5428
|
/**
|
|
5372
5429
|
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
5373
|
-
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`.
|
|
5430
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`. Note: When a
|
|
5431
|
+
* node is dropped near the TOP or LEFT boundary of the graph canvas, its position is automatically adjusted
|
|
5432
|
+
* (clamped) to ensure the node and its elements remain fully visible. This provides better visualization
|
|
5433
|
+
* by preventing nodes from being positioned at coordinates that would make them invisible or partially
|
|
5434
|
+
* hidden.
|
|
5374
5435
|
*
|
|
5375
5436
|
* @since 1.144
|
|
5376
5437
|
*/
|
|
@@ -5391,6 +5452,14 @@ declare namespace sap {
|
|
|
5391
5452
|
* @since 1.145
|
|
5392
5453
|
*/
|
|
5393
5454
|
itemDeleted?: (oEvent: Graph$ItemDeletedEvent) => void;
|
|
5455
|
+
|
|
5456
|
+
/**
|
|
5457
|
+
* Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
|
|
5458
|
+
* used and enableDragAndDrop is `true`.
|
|
5459
|
+
*
|
|
5460
|
+
* @since 1.148
|
|
5461
|
+
*/
|
|
5462
|
+
nodeAdded?: (oEvent: sap.ui.base.Event) => void;
|
|
5394
5463
|
}
|
|
5395
5464
|
|
|
5396
5465
|
/**
|
|
@@ -6137,6 +6206,11 @@ declare namespace sap {
|
|
|
6137
6206
|
item?: sap.suite.ui.commons.networkgraph.ElementBase;
|
|
6138
6207
|
}
|
|
6139
6208
|
|
|
6209
|
+
/**
|
|
6210
|
+
* Parameters of the Graph#nodeAdded event.
|
|
6211
|
+
*/
|
|
6212
|
+
interface Graph$NodeAddedEventParameters {}
|
|
6213
|
+
|
|
6140
6214
|
/**
|
|
6141
6215
|
* Parameters of the Graph#nodeDropped event.
|
|
6142
6216
|
*/
|
|
@@ -7535,6 +7609,59 @@ declare namespace sap {
|
|
|
7535
7609
|
*/
|
|
7536
7610
|
oListener?: object
|
|
7537
7611
|
): this;
|
|
7612
|
+
/**
|
|
7613
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7614
|
+
*
|
|
7615
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7616
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7617
|
+
*
|
|
7618
|
+
* Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
|
|
7619
|
+
* used and enableDragAndDrop is `true`.
|
|
7620
|
+
*
|
|
7621
|
+
* @since 1.148
|
|
7622
|
+
*
|
|
7623
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7624
|
+
*/
|
|
7625
|
+
attachNodeAdded(
|
|
7626
|
+
/**
|
|
7627
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
7628
|
+
* object when firing the event
|
|
7629
|
+
*/
|
|
7630
|
+
oData: object,
|
|
7631
|
+
/**
|
|
7632
|
+
* The function to be called when the event occurs
|
|
7633
|
+
*/
|
|
7634
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
7635
|
+
/**
|
|
7636
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7637
|
+
* itself
|
|
7638
|
+
*/
|
|
7639
|
+
oListener?: object
|
|
7640
|
+
): this;
|
|
7641
|
+
/**
|
|
7642
|
+
* Attaches event handler `fnFunction` to the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7643
|
+
*
|
|
7644
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
7645
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7646
|
+
*
|
|
7647
|
+
* Fired when the user requests to add a node via INSERT or Ctrl+Alt+N. Only available when NoopLayout is
|
|
7648
|
+
* used and enableDragAndDrop is `true`.
|
|
7649
|
+
*
|
|
7650
|
+
* @since 1.148
|
|
7651
|
+
*
|
|
7652
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
7653
|
+
*/
|
|
7654
|
+
attachNodeAdded(
|
|
7655
|
+
/**
|
|
7656
|
+
* The function to be called when the event occurs
|
|
7657
|
+
*/
|
|
7658
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
7659
|
+
/**
|
|
7660
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.networkgraph.Graph`
|
|
7661
|
+
* itself
|
|
7662
|
+
*/
|
|
7663
|
+
oListener?: object
|
|
7664
|
+
): this;
|
|
7538
7665
|
/**
|
|
7539
7666
|
* Attaches event handler `fnFunction` to the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7540
7667
|
*
|
|
@@ -7542,7 +7669,11 @@ declare namespace sap {
|
|
|
7542
7669
|
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7543
7670
|
*
|
|
7544
7671
|
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
7545
|
-
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`.
|
|
7672
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`. Note: When a
|
|
7673
|
+
* node is dropped near the TOP or LEFT boundary of the graph canvas, its position is automatically adjusted
|
|
7674
|
+
* (clamped) to ensure the node and its elements remain fully visible. This provides better visualization
|
|
7675
|
+
* by preventing nodes from being positioned at coordinates that would make them invisible or partially
|
|
7676
|
+
* hidden.
|
|
7546
7677
|
*
|
|
7547
7678
|
* @since 1.144
|
|
7548
7679
|
*
|
|
@@ -7571,7 +7702,11 @@ declare namespace sap {
|
|
|
7571
7702
|
* otherwise it will be bound to this `sap.suite.ui.commons.networkgraph.Graph` itself.
|
|
7572
7703
|
*
|
|
7573
7704
|
* This event is fired when a user drops a node in the graph. This event is available only when the layout
|
|
7574
|
-
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`.
|
|
7705
|
+
* algorithm is set to "NoopLayout" and the `enableDragAndDrop` property is set to `true`. Note: When a
|
|
7706
|
+
* node is dropped near the TOP or LEFT boundary of the graph canvas, its position is automatically adjusted
|
|
7707
|
+
* (clamped) to ensure the node and its elements remain fully visible. This provides better visualization
|
|
7708
|
+
* by preventing nodes from being positioned at coordinates that would make them invisible or partially
|
|
7709
|
+
* hidden.
|
|
7575
7710
|
*
|
|
7576
7711
|
* @since 1.144
|
|
7577
7712
|
*
|
|
@@ -7958,6 +8093,25 @@ declare namespace sap {
|
|
|
7958
8093
|
*/
|
|
7959
8094
|
oListener?: object
|
|
7960
8095
|
): this;
|
|
8096
|
+
/**
|
|
8097
|
+
* Detaches event handler `fnFunction` from the {@link #event:nodeAdded nodeAdded} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
8098
|
+
*
|
|
8099
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
8100
|
+
*
|
|
8101
|
+
* @since 1.148
|
|
8102
|
+
*
|
|
8103
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8104
|
+
*/
|
|
8105
|
+
detachNodeAdded(
|
|
8106
|
+
/**
|
|
8107
|
+
* The function to be called, when the event occurs
|
|
8108
|
+
*/
|
|
8109
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
8110
|
+
/**
|
|
8111
|
+
* Context object on which the given function had to be called
|
|
8112
|
+
*/
|
|
8113
|
+
oListener?: object
|
|
8114
|
+
): this;
|
|
7961
8115
|
/**
|
|
7962
8116
|
* Detaches event handler `fnFunction` from the {@link #event:nodeDropped nodeDropped} event of this `sap.suite.ui.commons.networkgraph.Graph`.
|
|
7963
8117
|
*
|
|
@@ -8131,6 +8285,20 @@ declare namespace sap {
|
|
|
8131
8285
|
*/
|
|
8132
8286
|
mParameters?: sap.suite.ui.commons.networkgraph.Graph$ItemDeletedEventParameters
|
|
8133
8287
|
): this;
|
|
8288
|
+
/**
|
|
8289
|
+
* Fires event {@link #event:nodeAdded nodeAdded} to attached listeners.
|
|
8290
|
+
*
|
|
8291
|
+
* @since 1.148
|
|
8292
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
8293
|
+
*
|
|
8294
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
8295
|
+
*/
|
|
8296
|
+
fireNodeAdded(
|
|
8297
|
+
/**
|
|
8298
|
+
* Parameters to pass along with the event
|
|
8299
|
+
*/
|
|
8300
|
+
mParameters?: object
|
|
8301
|
+
): this;
|
|
8134
8302
|
/**
|
|
8135
8303
|
* Fires event {@link #event:nodeDropped nodeDropped} to attached listeners.
|
|
8136
8304
|
*
|
|
@@ -13426,6 +13594,14 @@ declare namespace sap {
|
|
|
13426
13594
|
Graph
|
|
13427
13595
|
>;
|
|
13428
13596
|
|
|
13597
|
+
/**
|
|
13598
|
+
* Event object of the Graph#nodeAdded event.
|
|
13599
|
+
*/
|
|
13600
|
+
type Graph$NodeAddedEvent = sap.ui.base.Event<
|
|
13601
|
+
Graph$NodeAddedEventParameters,
|
|
13602
|
+
Graph
|
|
13603
|
+
>;
|
|
13604
|
+
|
|
13429
13605
|
/**
|
|
13430
13606
|
* Event object of the Graph#nodeDropped event.
|
|
13431
13607
|
*/
|
|
@@ -20192,6 +20368,13 @@ declare namespace sap {
|
|
|
20192
20368
|
* This event is fired after the expression is validated.
|
|
20193
20369
|
*/
|
|
20194
20370
|
afterValidation?: (oEvent: sap.ui.base.Event) => void;
|
|
20371
|
+
|
|
20372
|
+
/**
|
|
20373
|
+
* This event is triggered when the focus leaves the input field.
|
|
20374
|
+
*
|
|
20375
|
+
* @since 1.146
|
|
20376
|
+
*/
|
|
20377
|
+
focusChange?: (oEvent: CalculationBuilder$FocusChangeEvent) => void;
|
|
20195
20378
|
}
|
|
20196
20379
|
|
|
20197
20380
|
/**
|
|
@@ -24036,6 +24219,15 @@ declare namespace sap {
|
|
|
24036
24219
|
*/
|
|
24037
24220
|
interface CalculationBuilder$ChangeEventParameters {}
|
|
24038
24221
|
|
|
24222
|
+
/**
|
|
24223
|
+
* Parameters of the CalculationBuilder#focusChange event.
|
|
24224
|
+
*/
|
|
24225
|
+
interface CalculationBuilder$FocusChangeEventParameters {
|
|
24226
|
+
value?: String;
|
|
24227
|
+
|
|
24228
|
+
position?: int;
|
|
24229
|
+
}
|
|
24230
|
+
|
|
24039
24231
|
/**
|
|
24040
24232
|
* Parameters of the CalculationBuilder#validateFunction event.
|
|
24041
24233
|
*/
|
|
@@ -25940,6 +26132,57 @@ declare namespace sap {
|
|
|
25940
26132
|
*/
|
|
25941
26133
|
oListener?: object
|
|
25942
26134
|
): this;
|
|
26135
|
+
/**
|
|
26136
|
+
* Attaches event handler `fnFunction` to the {@link #event:focusChange focusChange} event of this `sap.suite.ui.commons.CalculationBuilder`.
|
|
26137
|
+
*
|
|
26138
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
26139
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.CalculationBuilder` itself.
|
|
26140
|
+
*
|
|
26141
|
+
* This event is triggered when the focus leaves the input field.
|
|
26142
|
+
*
|
|
26143
|
+
* @since 1.146
|
|
26144
|
+
*
|
|
26145
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
26146
|
+
*/
|
|
26147
|
+
attachFocusChange(
|
|
26148
|
+
/**
|
|
26149
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
26150
|
+
* object when firing the event
|
|
26151
|
+
*/
|
|
26152
|
+
oData: object,
|
|
26153
|
+
/**
|
|
26154
|
+
* The function to be called when the event occurs
|
|
26155
|
+
*/
|
|
26156
|
+
fnFunction: (p1: CalculationBuilder$FocusChangeEvent) => void,
|
|
26157
|
+
/**
|
|
26158
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.CalculationBuilder`
|
|
26159
|
+
* itself
|
|
26160
|
+
*/
|
|
26161
|
+
oListener?: object
|
|
26162
|
+
): this;
|
|
26163
|
+
/**
|
|
26164
|
+
* Attaches event handler `fnFunction` to the {@link #event:focusChange focusChange} event of this `sap.suite.ui.commons.CalculationBuilder`.
|
|
26165
|
+
*
|
|
26166
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
26167
|
+
* otherwise it will be bound to this `sap.suite.ui.commons.CalculationBuilder` itself.
|
|
26168
|
+
*
|
|
26169
|
+
* This event is triggered when the focus leaves the input field.
|
|
26170
|
+
*
|
|
26171
|
+
* @since 1.146
|
|
26172
|
+
*
|
|
26173
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
26174
|
+
*/
|
|
26175
|
+
attachFocusChange(
|
|
26176
|
+
/**
|
|
26177
|
+
* The function to be called when the event occurs
|
|
26178
|
+
*/
|
|
26179
|
+
fnFunction: (p1: CalculationBuilder$FocusChangeEvent) => void,
|
|
26180
|
+
/**
|
|
26181
|
+
* Context object to call the event handler with. Defaults to this `sap.suite.ui.commons.CalculationBuilder`
|
|
26182
|
+
* itself
|
|
26183
|
+
*/
|
|
26184
|
+
oListener?: object
|
|
26185
|
+
): this;
|
|
25943
26186
|
/**
|
|
25944
26187
|
* Attaches event handler `fnFunction` to the {@link #event:validateFunction validateFunction} event of
|
|
25945
26188
|
* this `sap.suite.ui.commons.CalculationBuilder`.
|
|
@@ -26082,6 +26325,25 @@ declare namespace sap {
|
|
|
26082
26325
|
*/
|
|
26083
26326
|
oListener?: object
|
|
26084
26327
|
): this;
|
|
26328
|
+
/**
|
|
26329
|
+
* Detaches event handler `fnFunction` from the {@link #event:focusChange focusChange} event of this `sap.suite.ui.commons.CalculationBuilder`.
|
|
26330
|
+
*
|
|
26331
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
26332
|
+
*
|
|
26333
|
+
* @since 1.146
|
|
26334
|
+
*
|
|
26335
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
26336
|
+
*/
|
|
26337
|
+
detachFocusChange(
|
|
26338
|
+
/**
|
|
26339
|
+
* The function to be called, when the event occurs
|
|
26340
|
+
*/
|
|
26341
|
+
fnFunction: (p1: CalculationBuilder$FocusChangeEvent) => void,
|
|
26342
|
+
/**
|
|
26343
|
+
* Context object on which the given function had to be called
|
|
26344
|
+
*/
|
|
26345
|
+
oListener?: object
|
|
26346
|
+
): this;
|
|
26085
26347
|
/**
|
|
26086
26348
|
* Detaches event handler `fnFunction` from the {@link #event:validateFunction validateFunction} event of
|
|
26087
26349
|
* this `sap.suite.ui.commons.CalculationBuilder`.
|
|
@@ -26127,6 +26389,20 @@ declare namespace sap {
|
|
|
26127
26389
|
*/
|
|
26128
26390
|
mParameters?: object
|
|
26129
26391
|
): this;
|
|
26392
|
+
/**
|
|
26393
|
+
* Fires event {@link #event:focusChange focusChange} to attached listeners.
|
|
26394
|
+
*
|
|
26395
|
+
* @since 1.146
|
|
26396
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
26397
|
+
*
|
|
26398
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
26399
|
+
*/
|
|
26400
|
+
fireFocusChange(
|
|
26401
|
+
/**
|
|
26402
|
+
* Parameters to pass along with the event
|
|
26403
|
+
*/
|
|
26404
|
+
mParameters?: sap.suite.ui.commons.CalculationBuilder$FocusChangeEventParameters
|
|
26405
|
+
): this;
|
|
26130
26406
|
/**
|
|
26131
26407
|
* Fires event {@link #event:validateFunction validateFunction} to attached listeners.
|
|
26132
26408
|
*
|
|
@@ -51653,6 +51929,14 @@ declare namespace sap {
|
|
|
51653
51929
|
CalculationBuilder
|
|
51654
51930
|
>;
|
|
51655
51931
|
|
|
51932
|
+
/**
|
|
51933
|
+
* Event object of the CalculationBuilder#focusChange event.
|
|
51934
|
+
*/
|
|
51935
|
+
type CalculationBuilder$FocusChangeEvent = sap.ui.base.Event<
|
|
51936
|
+
CalculationBuilder$FocusChangeEventParameters,
|
|
51937
|
+
CalculationBuilder
|
|
51938
|
+
>;
|
|
51939
|
+
|
|
51656
51940
|
/**
|
|
51657
51941
|
* Event object of the CalculationBuilder#validateFunction event.
|
|
51658
51942
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.147.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace suite {
|
|
@@ -590,6 +590,22 @@ declare namespace sap {
|
|
|
590
590
|
*/
|
|
591
591
|
bReplaceInHistory: boolean
|
|
592
592
|
): boolean;
|
|
593
|
+
/**
|
|
594
|
+
* This method is called by SAP Fiori elements when a Contextmenu open in a new tab is triggered from a
|
|
595
|
+
* table. Application developers can override this method and perform conditional (internal or external)
|
|
596
|
+
* navigation from different rows of a table. Such custom navigation should be triggered via corresponding
|
|
597
|
+
* methods of {@link sap.suite.ui.generic.template.extensionAPI.NavigationController NavigationController}.
|
|
598
|
+
*
|
|
599
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
600
|
+
*
|
|
601
|
+
* @returns Method should return `true` if framework navigation should be suppressed
|
|
602
|
+
*/
|
|
603
|
+
onListNavigationExtensionFromContextMenu(
|
|
604
|
+
/**
|
|
605
|
+
* The context of the corresponding table row
|
|
606
|
+
*/
|
|
607
|
+
aContext: sap.ui.model.Context[]
|
|
608
|
+
): boolean;
|
|
593
609
|
/**
|
|
594
610
|
* This method is called by SAP Fiori elements when the Share functionality is triggered. Application developers
|
|
595
611
|
* can adapt the service URL passed as a parameter to this method. Adapted service URL will be used in the
|
|
@@ -1184,6 +1200,11 @@ declare namespace sap {
|
|
|
1184
1200
|
| string
|
|
1185
1201
|
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
1186
1202
|
|
|
1203
|
+
applyButtonNavigatesImmediately?:
|
|
1204
|
+
| boolean
|
|
1205
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
1206
|
+
| `{${string}}`;
|
|
1207
|
+
|
|
1187
1208
|
useColumnLayoutForSmartForm?:
|
|
1188
1209
|
| boolean
|
|
1189
1210
|
| sap.ui.base.ManagedObject.PropertyBindingInfo
|
|
@@ -1392,6 +1413,15 @@ declare namespace sap {
|
|
|
1392
1413
|
*/
|
|
1393
1414
|
mParameters?: object
|
|
1394
1415
|
): this;
|
|
1416
|
+
/**
|
|
1417
|
+
* Gets current value of property {@link #getApplyButtonNavigatesImmediately applyButtonNavigatesImmediately}.
|
|
1418
|
+
*
|
|
1419
|
+
* Default value is `false`.
|
|
1420
|
+
*
|
|
1421
|
+
*
|
|
1422
|
+
* @returns Value of property `applyButtonNavigatesImmediately`
|
|
1423
|
+
*/
|
|
1424
|
+
getApplyButtonNavigatesImmediately(): boolean;
|
|
1395
1425
|
/**
|
|
1396
1426
|
* Gets current value of property {@link #getCollaborationSettings collaborationSettings}.
|
|
1397
1427
|
*
|
|
@@ -1553,6 +1583,22 @@ declare namespace sap {
|
|
|
1553
1583
|
* @returns Value of property `useColumnLayoutForSmartForm`
|
|
1554
1584
|
*/
|
|
1555
1585
|
getUseColumnLayoutForSmartForm(): boolean;
|
|
1586
|
+
/**
|
|
1587
|
+
* Sets a new value for property {@link #getApplyButtonNavigatesImmediately applyButtonNavigatesImmediately}.
|
|
1588
|
+
*
|
|
1589
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
1590
|
+
*
|
|
1591
|
+
* Default value is `false`.
|
|
1592
|
+
*
|
|
1593
|
+
*
|
|
1594
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
1595
|
+
*/
|
|
1596
|
+
setApplyButtonNavigatesImmediately(
|
|
1597
|
+
/**
|
|
1598
|
+
* New value for property `applyButtonNavigatesImmediately`
|
|
1599
|
+
*/
|
|
1600
|
+
bApplyButtonNavigatesImmediately?: boolean
|
|
1601
|
+
): this;
|
|
1556
1602
|
/**
|
|
1557
1603
|
* Sets a new value for property {@link #getCollaborationSettings collaborationSettings}.
|
|
1558
1604
|
*
|
|
@@ -2596,6 +2642,22 @@ declare namespace sap {
|
|
|
2596
2642
|
*/
|
|
2597
2643
|
bReplaceInHistory: boolean
|
|
2598
2644
|
): boolean;
|
|
2645
|
+
/**
|
|
2646
|
+
* This method is called by SAP Fiori elements when a Contextmenu open in a new tab is triggered from a
|
|
2647
|
+
* table. Application developers can override this method and perform conditional (internal or external)
|
|
2648
|
+
* navigation from different rows of a table. Such custom navigation should be triggered via corresponding
|
|
2649
|
+
* methods of {@link sap.suite.ui.generic.template.extensionAPI.NavigationController NavigationController}.
|
|
2650
|
+
*
|
|
2651
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
2652
|
+
*
|
|
2653
|
+
* @returns Method should return `true` if framework navigation should be suppressed
|
|
2654
|
+
*/
|
|
2655
|
+
onListNavigationExtensionFromContextMenu(
|
|
2656
|
+
/**
|
|
2657
|
+
* The context of the corresponding table row
|
|
2658
|
+
*/
|
|
2659
|
+
aContext: sap.ui.model.Context[]
|
|
2660
|
+
): boolean;
|
|
2599
2661
|
/**
|
|
2600
2662
|
* This method is called by SAP Fiori elements when the Share functionality is triggered. Application developers
|
|
2601
2663
|
* can adapt the service URL passed as a parameter to this method. Adapted service URL will be used in the
|
|
@@ -3623,6 +3685,22 @@ declare namespace sap {
|
|
|
3623
3685
|
*/
|
|
3624
3686
|
bReplaceInHistory: boolean
|
|
3625
3687
|
): boolean;
|
|
3688
|
+
/**
|
|
3689
|
+
* This method is called by SAP Fiori elements when a Contextmenu open in a new tab is triggered from a
|
|
3690
|
+
* table. Application developers can override this method and perform conditional (internal or external)
|
|
3691
|
+
* navigation from different rows of a table. Such custom navigation should be triggered via corresponding
|
|
3692
|
+
* methods of {@link sap.suite.ui.generic.template.extensionAPI.NavigationController NavigationController}.
|
|
3693
|
+
*
|
|
3694
|
+
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
3695
|
+
*
|
|
3696
|
+
* @returns Method should return `true` if framework navigation should be suppressed
|
|
3697
|
+
*/
|
|
3698
|
+
onListNavigationExtensionFromContextMenu(
|
|
3699
|
+
/**
|
|
3700
|
+
* The context of the corresponding table row
|
|
3701
|
+
*/
|
|
3702
|
+
aContext: sap.ui.model.Context[]
|
|
3703
|
+
): boolean;
|
|
3626
3704
|
/**
|
|
3627
3705
|
* This method is called by SAP Fiori elements when the Share functionality is triggered. Application developers
|
|
3628
3706
|
* can adapt the service URL passed as a parameter to this method. Adapted service URL will be used in the
|