@sapui5/ts-types 1.100.2 → 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 +1 -1
- package/types/index.d.ts +1 -0
- 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 +1 -1
- package/types/sap.esh.search.ui.d.ts +674 -2
- package/types/sap.f.d.ts +236 -25
- package/types/sap.fe.common.d.ts +1 -1
- package/types/sap.fe.core.d.ts +8 -63
- package/types/sap.fe.macros.d.ts +17 -9
- package/types/sap.fe.navigation.d.ts +5 -71
- package/types/sap.fe.templates.d.ts +97 -190
- package/types/sap.fe.test.d.ts +43 -24
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +40 -15
- package/types/sap.landvisz.d.ts +1 -1
- package/types/sap.m.d.ts +209 -38
- 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 +40 -5
- package/types/sap.sac.df.d.ts +981 -0
- package/types/sap.sac.grid.d.ts +25 -1
- package/types/sap.suite.ui.commons.d.ts +18 -1
- package/types/sap.suite.ui.generic.template.d.ts +115 -8
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- 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.comp.d.ts +154 -15
- package/types/sap.ui.core.d.ts +73 -27
- 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 +1 -1
- package/types/sap.ui.generic.app.d.ts +10 -10
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +1 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +9 -1
- 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 +10 -6
- package/types/sap.ui.table.d.ts +11 -34
- 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.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +683 -26
- package/types/sap.ui.vtm.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +549 -113
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +2 -2
- 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 -1585
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1303 -4047
package/types/sap.ui.vk.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.101.0
|
|
2
2
|
|
|
3
3
|
declare namespace sap {
|
|
4
4
|
namespace ui {
|
|
@@ -4757,27 +4757,6 @@ declare namespace sap {
|
|
|
4757
4757
|
selection?: boolean | object;
|
|
4758
4758
|
}
|
|
4759
4759
|
): object;
|
|
4760
|
-
/**
|
|
4761
|
-
* Project 3D point to screen space
|
|
4762
|
-
*/
|
|
4763
|
-
projectToScreen(
|
|
4764
|
-
/**
|
|
4765
|
-
* X coordinate in world space
|
|
4766
|
-
*/
|
|
4767
|
-
x: float,
|
|
4768
|
-
/**
|
|
4769
|
-
* Y coordinate in world space
|
|
4770
|
-
*/
|
|
4771
|
-
y: float,
|
|
4772
|
-
/**
|
|
4773
|
-
* Z coordinate in world space
|
|
4774
|
-
*/
|
|
4775
|
-
z: float,
|
|
4776
|
-
/**
|
|
4777
|
-
* Camera to be used with calculation of projection
|
|
4778
|
-
*/
|
|
4779
|
-
camera: sap.ui.vk.Camera
|
|
4780
|
-
): object;
|
|
4781
4760
|
/**
|
|
4782
4761
|
* Queues a command for execution during the rendering cycle. All gesture operations should be called using
|
|
4783
4762
|
* this method.
|
|
@@ -13774,7 +13753,7 @@ declare namespace sap {
|
|
|
13774
13753
|
| sap.ui.core.Control
|
|
13775
13754
|
| sap.ui.base.ManagedObject.AggregationBindingInfo;
|
|
13776
13755
|
|
|
13777
|
-
viewport?: sap.ui.vk.
|
|
13756
|
+
viewport?: sap.ui.vk.ViewportBase | string;
|
|
13778
13757
|
}
|
|
13779
13758
|
|
|
13780
13759
|
interface $FlexibleControlSettings extends sap.ui.core.$ControlSettings {
|
|
@@ -14717,6 +14696,96 @@ declare namespace sap {
|
|
|
14717
14696
|
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14718
14697
|
}
|
|
14719
14698
|
|
|
14699
|
+
interface $ToggleMenuButtonSettings extends sap.ui.core.$ControlSettings {
|
|
14700
|
+
/**
|
|
14701
|
+
* Defines the type of the button (for example, Default, Accept, Reject, Transparent). Values `Back`, `Up`
|
|
14702
|
+
* and `Unstyled` are ignored.
|
|
14703
|
+
*/
|
|
14704
|
+
type?: sap.m.ButtonType | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14705
|
+
|
|
14706
|
+
/**
|
|
14707
|
+
* Defines the width of the button.
|
|
14708
|
+
*/
|
|
14709
|
+
width?:
|
|
14710
|
+
| sap.ui.core.CSSSize
|
|
14711
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14712
|
+
|
|
14713
|
+
/**
|
|
14714
|
+
* Boolean property to enable the control (default is `true`). **Note:** Depending on custom settings, the
|
|
14715
|
+
* buttons that are disabled have other colors than the enabled ones.
|
|
14716
|
+
*/
|
|
14717
|
+
enabled?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14718
|
+
|
|
14719
|
+
/**
|
|
14720
|
+
* When set to `truefalse` to avoid the attempt of fetching density perfect image.
|
|
14721
|
+
*/
|
|
14722
|
+
iconDensityAware?:
|
|
14723
|
+
| boolean
|
|
14724
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14725
|
+
|
|
14726
|
+
/**
|
|
14727
|
+
* Specifies the position of the popup menu with enumerated options. By default, the control opens the menu
|
|
14728
|
+
* at its bottom left side.
|
|
14729
|
+
*
|
|
14730
|
+
* **Note:** In the case that the menu has no space to show itself in the view port of the current window
|
|
14731
|
+
* it tries to open itself to the inverted direction.
|
|
14732
|
+
*/
|
|
14733
|
+
menuPosition?:
|
|
14734
|
+
| sap.ui.core.Popup.Dock
|
|
14735
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14736
|
+
|
|
14737
|
+
/**
|
|
14738
|
+
* This property specifies the element's text directionality with enumerated options. By default, the control
|
|
14739
|
+
* inherits text direction from the DOM.
|
|
14740
|
+
*/
|
|
14741
|
+
textDirection?:
|
|
14742
|
+
| sap.ui.core.TextDirection
|
|
14743
|
+
| sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14744
|
+
|
|
14745
|
+
/**
|
|
14746
|
+
* The property is “true” when the control is toggled. The default state of this property is "false".
|
|
14747
|
+
*/
|
|
14748
|
+
pressed?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
|
|
14749
|
+
|
|
14750
|
+
/**
|
|
14751
|
+
* Defines the menu items contained within this control.
|
|
14752
|
+
*/
|
|
14753
|
+
items?: /* was: sap.ui.vk.ToggleMenuItem */
|
|
14754
|
+
| any[]
|
|
14755
|
+
| /* was: sap.ui.vk.ToggleMenuItem */ any
|
|
14756
|
+
| sap.ui.base.ManagedObject.AggregationBindingInfo;
|
|
14757
|
+
|
|
14758
|
+
/**
|
|
14759
|
+
* Sets or retrieves the selected item from the aggregation named items.
|
|
14760
|
+
*/
|
|
14761
|
+
defaultItem?: /* was: sap.ui.vk.ToggleMenuItem */ any | string;
|
|
14762
|
+
|
|
14763
|
+
/**
|
|
14764
|
+
* Association to controls / IDs, which describe this control (see WAI-ARIA attribute aria-describedby).
|
|
14765
|
+
*/
|
|
14766
|
+
ariaDescribedBy?: Array<sap.ui.core.Control | string>;
|
|
14767
|
+
|
|
14768
|
+
/**
|
|
14769
|
+
* Association to controls / IDs, which label this control (see WAI-ARIA attribute aria-labelledby).
|
|
14770
|
+
*/
|
|
14771
|
+
ariaLabelledBy?: Array<sap.ui.core.Control | string>;
|
|
14772
|
+
|
|
14773
|
+
/**
|
|
14774
|
+
* Fired before menu opening when the `buttonMode` is set to `Split` and the user presses the arrow button.
|
|
14775
|
+
*/
|
|
14776
|
+
beforeMenuOpen?: (oEvent: sap.ui.base.Event) => void;
|
|
14777
|
+
|
|
14778
|
+
/**
|
|
14779
|
+
* Fired when a `ToggleMenuItem` is toggled.
|
|
14780
|
+
*/
|
|
14781
|
+
itemToggled?: (oEvent: sap.ui.base.Event) => void;
|
|
14782
|
+
|
|
14783
|
+
/**
|
|
14784
|
+
* Fired when a `ToggleMenuItem` is selected.
|
|
14785
|
+
*/
|
|
14786
|
+
itemSelected?: (oEvent: sap.ui.base.Event) => void;
|
|
14787
|
+
}
|
|
14788
|
+
|
|
14720
14789
|
interface $ToolbarSettings extends sap.ui.core.$ControlSettings {
|
|
14721
14790
|
/**
|
|
14722
14791
|
* Used to set the title of the Toolbar
|
|
@@ -19224,7 +19293,7 @@ declare namespace sap {
|
|
|
19224
19293
|
* ID of an element which becomes the new target of this viewport association; alternatively, an element
|
|
19225
19294
|
* instance may be given
|
|
19226
19295
|
*/
|
|
19227
|
-
oViewport: sap.ui.core.ID | sap.ui.vk.
|
|
19296
|
+
oViewport: sap.ui.core.ID | sap.ui.vk.ViewportBase
|
|
19228
19297
|
): this;
|
|
19229
19298
|
}
|
|
19230
19299
|
/**
|
|
@@ -28117,6 +28186,590 @@ declare namespace sap {
|
|
|
28117
28186
|
bUvVerticalTilingEnabled?: boolean
|
|
28118
28187
|
): this;
|
|
28119
28188
|
}
|
|
28189
|
+
/**
|
|
28190
|
+
* Enables users to trigger actions.
|
|
28191
|
+
*/
|
|
28192
|
+
class ToggleMenuButton
|
|
28193
|
+
extends sap.ui.core.Control
|
|
28194
|
+
implements sap.m.IOverflowToolbarContent {
|
|
28195
|
+
__implements__sap_m_IOverflowToolbarContent: boolean;
|
|
28196
|
+
/**
|
|
28197
|
+
* Constructor for a new `ToggleMenuButton`.
|
|
28198
|
+
*
|
|
28199
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
28200
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
28201
|
+
* of the syntax of the settings object.
|
|
28202
|
+
*/
|
|
28203
|
+
constructor(
|
|
28204
|
+
/**
|
|
28205
|
+
* Initial settings for the new control
|
|
28206
|
+
*/
|
|
28207
|
+
mSettings?: sap.ui.vk.$ToggleMenuButtonSettings
|
|
28208
|
+
);
|
|
28209
|
+
/**
|
|
28210
|
+
* Constructor for a new `ToggleMenuButton`.
|
|
28211
|
+
*
|
|
28212
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
28213
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
28214
|
+
* of the syntax of the settings object.
|
|
28215
|
+
*/
|
|
28216
|
+
constructor(
|
|
28217
|
+
/**
|
|
28218
|
+
* ID for the new control, generated automatically if no ID is given
|
|
28219
|
+
*/
|
|
28220
|
+
sId?: string,
|
|
28221
|
+
/**
|
|
28222
|
+
* Initial settings for the new control
|
|
28223
|
+
*/
|
|
28224
|
+
mSettings?: sap.ui.vk.$ToggleMenuButtonSettings
|
|
28225
|
+
);
|
|
28226
|
+
|
|
28227
|
+
/**
|
|
28228
|
+
* Creates a new subclass of class sap.ui.vk.ToggleMenuButton with name `sClassName` and enriches it with
|
|
28229
|
+
* the information contained in `oClassInfo`.
|
|
28230
|
+
*
|
|
28231
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
|
|
28232
|
+
*/
|
|
28233
|
+
static extend<T extends Record<string, unknown>>(
|
|
28234
|
+
/**
|
|
28235
|
+
* Name of the class being created
|
|
28236
|
+
*/
|
|
28237
|
+
sClassName: string,
|
|
28238
|
+
/**
|
|
28239
|
+
* Object literal with information about the class
|
|
28240
|
+
*/
|
|
28241
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.vk.ToggleMenuButton>,
|
|
28242
|
+
/**
|
|
28243
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
28244
|
+
* used by this class
|
|
28245
|
+
*/
|
|
28246
|
+
FNMetaImpl?: Function
|
|
28247
|
+
): Function;
|
|
28248
|
+
/**
|
|
28249
|
+
* Returns a metadata object for class sap.ui.vk.ToggleMenuButton.
|
|
28250
|
+
*/
|
|
28251
|
+
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
28252
|
+
/**
|
|
28253
|
+
* Adds some ariaDescribedBy into the association {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
28254
|
+
*/
|
|
28255
|
+
addAriaDescribedBy(
|
|
28256
|
+
/**
|
|
28257
|
+
* The ariaDescribedBy to add; if empty, nothing is inserted
|
|
28258
|
+
*/
|
|
28259
|
+
vAriaDescribedBy: sap.ui.core.ID | sap.ui.core.Control
|
|
28260
|
+
): this;
|
|
28261
|
+
/**
|
|
28262
|
+
* Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
28263
|
+
*/
|
|
28264
|
+
addAriaLabelledBy(
|
|
28265
|
+
/**
|
|
28266
|
+
* The ariaLabelledBy to add; if empty, nothing is inserted
|
|
28267
|
+
*/
|
|
28268
|
+
vAriaLabelledBy: sap.ui.core.ID | sap.ui.core.Control
|
|
28269
|
+
): this;
|
|
28270
|
+
/**
|
|
28271
|
+
* Adds some item to the aggregation {@link #getItems items}.
|
|
28272
|
+
*/
|
|
28273
|
+
addItem(
|
|
28274
|
+
/**
|
|
28275
|
+
* The item to add; if empty, nothing is inserted
|
|
28276
|
+
*/
|
|
28277
|
+
oItem: /* was: sap.ui.vk.ToggleMenuItem */ any
|
|
28278
|
+
): this;
|
|
28279
|
+
/**
|
|
28280
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeMenuOpen beforeMenuOpen} event of this
|
|
28281
|
+
* `sap.ui.vk.ToggleMenuButton`.
|
|
28282
|
+
*
|
|
28283
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
28284
|
+
* otherwise it will be bound to this `sap.ui.vk.ToggleMenuButton` itself.
|
|
28285
|
+
*
|
|
28286
|
+
* Fired before menu opening when the `buttonMode` is set to `Split` and the user presses the arrow button.
|
|
28287
|
+
*/
|
|
28288
|
+
attachBeforeMenuOpen(
|
|
28289
|
+
/**
|
|
28290
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
28291
|
+
* object when firing the event
|
|
28292
|
+
*/
|
|
28293
|
+
oData: object,
|
|
28294
|
+
/**
|
|
28295
|
+
* The function to be called when the event occurs
|
|
28296
|
+
*/
|
|
28297
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
28298
|
+
/**
|
|
28299
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.vk.ToggleMenuButton` itself
|
|
28300
|
+
*/
|
|
28301
|
+
oListener?: object
|
|
28302
|
+
): this;
|
|
28303
|
+
/**
|
|
28304
|
+
* Attaches event handler `fnFunction` to the {@link #event:beforeMenuOpen beforeMenuOpen} event of this
|
|
28305
|
+
* `sap.ui.vk.ToggleMenuButton`.
|
|
28306
|
+
*
|
|
28307
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
28308
|
+
* otherwise it will be bound to this `sap.ui.vk.ToggleMenuButton` itself.
|
|
28309
|
+
*
|
|
28310
|
+
* Fired before menu opening when the `buttonMode` is set to `Split` and the user presses the arrow button.
|
|
28311
|
+
*/
|
|
28312
|
+
attachBeforeMenuOpen(
|
|
28313
|
+
/**
|
|
28314
|
+
* The function to be called when the event occurs
|
|
28315
|
+
*/
|
|
28316
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
28317
|
+
/**
|
|
28318
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.vk.ToggleMenuButton` itself
|
|
28319
|
+
*/
|
|
28320
|
+
oListener?: object
|
|
28321
|
+
): this;
|
|
28322
|
+
/**
|
|
28323
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemSelected itemSelected} event of this `sap.ui.vk.ToggleMenuButton`.
|
|
28324
|
+
*
|
|
28325
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
28326
|
+
* otherwise it will be bound to this `sap.ui.vk.ToggleMenuButton` itself.
|
|
28327
|
+
*
|
|
28328
|
+
* Fired when a `ToggleMenuItem` is selected.
|
|
28329
|
+
*/
|
|
28330
|
+
attachItemSelected(
|
|
28331
|
+
/**
|
|
28332
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
28333
|
+
* object when firing the event
|
|
28334
|
+
*/
|
|
28335
|
+
oData: object,
|
|
28336
|
+
/**
|
|
28337
|
+
* The function to be called when the event occurs
|
|
28338
|
+
*/
|
|
28339
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
28340
|
+
/**
|
|
28341
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.vk.ToggleMenuButton` itself
|
|
28342
|
+
*/
|
|
28343
|
+
oListener?: object
|
|
28344
|
+
): this;
|
|
28345
|
+
/**
|
|
28346
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemSelected itemSelected} event of this `sap.ui.vk.ToggleMenuButton`.
|
|
28347
|
+
*
|
|
28348
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
28349
|
+
* otherwise it will be bound to this `sap.ui.vk.ToggleMenuButton` itself.
|
|
28350
|
+
*
|
|
28351
|
+
* Fired when a `ToggleMenuItem` is selected.
|
|
28352
|
+
*/
|
|
28353
|
+
attachItemSelected(
|
|
28354
|
+
/**
|
|
28355
|
+
* The function to be called when the event occurs
|
|
28356
|
+
*/
|
|
28357
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
28358
|
+
/**
|
|
28359
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.vk.ToggleMenuButton` itself
|
|
28360
|
+
*/
|
|
28361
|
+
oListener?: object
|
|
28362
|
+
): this;
|
|
28363
|
+
/**
|
|
28364
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemToggled itemToggled} event of this `sap.ui.vk.ToggleMenuButton`.
|
|
28365
|
+
*
|
|
28366
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
28367
|
+
* otherwise it will be bound to this `sap.ui.vk.ToggleMenuButton` itself.
|
|
28368
|
+
*
|
|
28369
|
+
* Fired when a `ToggleMenuItem` is toggled.
|
|
28370
|
+
*/
|
|
28371
|
+
attachItemToggled(
|
|
28372
|
+
/**
|
|
28373
|
+
* An application-specific payload object that will be passed to the event handler along with the event
|
|
28374
|
+
* object when firing the event
|
|
28375
|
+
*/
|
|
28376
|
+
oData: object,
|
|
28377
|
+
/**
|
|
28378
|
+
* The function to be called when the event occurs
|
|
28379
|
+
*/
|
|
28380
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
28381
|
+
/**
|
|
28382
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.vk.ToggleMenuButton` itself
|
|
28383
|
+
*/
|
|
28384
|
+
oListener?: object
|
|
28385
|
+
): this;
|
|
28386
|
+
/**
|
|
28387
|
+
* Attaches event handler `fnFunction` to the {@link #event:itemToggled itemToggled} event of this `sap.ui.vk.ToggleMenuButton`.
|
|
28388
|
+
*
|
|
28389
|
+
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
28390
|
+
* otherwise it will be bound to this `sap.ui.vk.ToggleMenuButton` itself.
|
|
28391
|
+
*
|
|
28392
|
+
* Fired when a `ToggleMenuItem` is toggled.
|
|
28393
|
+
*/
|
|
28394
|
+
attachItemToggled(
|
|
28395
|
+
/**
|
|
28396
|
+
* The function to be called when the event occurs
|
|
28397
|
+
*/
|
|
28398
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
28399
|
+
/**
|
|
28400
|
+
* Context object to call the event handler with. Defaults to this `sap.ui.vk.ToggleMenuButton` itself
|
|
28401
|
+
*/
|
|
28402
|
+
oListener?: object
|
|
28403
|
+
): this;
|
|
28404
|
+
/**
|
|
28405
|
+
* Destroys all the items in the aggregation {@link #getItems items}.
|
|
28406
|
+
*/
|
|
28407
|
+
destroyItems(): this;
|
|
28408
|
+
/**
|
|
28409
|
+
* Detaches event handler `fnFunction` from the {@link #event:beforeMenuOpen beforeMenuOpen} event of this
|
|
28410
|
+
* `sap.ui.vk.ToggleMenuButton`.
|
|
28411
|
+
*
|
|
28412
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
28413
|
+
*/
|
|
28414
|
+
detachBeforeMenuOpen(
|
|
28415
|
+
/**
|
|
28416
|
+
* The function to be called, when the event occurs
|
|
28417
|
+
*/
|
|
28418
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
28419
|
+
/**
|
|
28420
|
+
* Context object on which the given function had to be called
|
|
28421
|
+
*/
|
|
28422
|
+
oListener?: object
|
|
28423
|
+
): this;
|
|
28424
|
+
/**
|
|
28425
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemSelected itemSelected} event of this `sap.ui.vk.ToggleMenuButton`.
|
|
28426
|
+
*
|
|
28427
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
28428
|
+
*/
|
|
28429
|
+
detachItemSelected(
|
|
28430
|
+
/**
|
|
28431
|
+
* The function to be called, when the event occurs
|
|
28432
|
+
*/
|
|
28433
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
28434
|
+
/**
|
|
28435
|
+
* Context object on which the given function had to be called
|
|
28436
|
+
*/
|
|
28437
|
+
oListener?: object
|
|
28438
|
+
): this;
|
|
28439
|
+
/**
|
|
28440
|
+
* Detaches event handler `fnFunction` from the {@link #event:itemToggled itemToggled} event of this `sap.ui.vk.ToggleMenuButton`.
|
|
28441
|
+
*
|
|
28442
|
+
* The passed function and listener object must match the ones used for event registration.
|
|
28443
|
+
*/
|
|
28444
|
+
detachItemToggled(
|
|
28445
|
+
/**
|
|
28446
|
+
* The function to be called, when the event occurs
|
|
28447
|
+
*/
|
|
28448
|
+
fnFunction: (p1: sap.ui.base.Event) => void,
|
|
28449
|
+
/**
|
|
28450
|
+
* Context object on which the given function had to be called
|
|
28451
|
+
*/
|
|
28452
|
+
oListener?: object
|
|
28453
|
+
): this;
|
|
28454
|
+
/**
|
|
28455
|
+
* Fires event {@link #event:beforeMenuOpen beforeMenuOpen} to attached listeners.
|
|
28456
|
+
*/
|
|
28457
|
+
fireBeforeMenuOpen(
|
|
28458
|
+
/**
|
|
28459
|
+
* Parameters to pass along with the event
|
|
28460
|
+
*/
|
|
28461
|
+
mParameters?: object
|
|
28462
|
+
): this;
|
|
28463
|
+
/**
|
|
28464
|
+
* Fires event {@link #event:itemSelected itemSelected} to attached listeners.
|
|
28465
|
+
*/
|
|
28466
|
+
fireItemSelected(
|
|
28467
|
+
/**
|
|
28468
|
+
* Parameters to pass along with the event
|
|
28469
|
+
*/
|
|
28470
|
+
mParameters?: {
|
|
28471
|
+
/**
|
|
28472
|
+
* The `ToggleMenuItem` which was selected.
|
|
28473
|
+
*/
|
|
28474
|
+
item?: /* was: sap.ui.vk.ToggleMenuItem */ any;
|
|
28475
|
+
}
|
|
28476
|
+
): this;
|
|
28477
|
+
/**
|
|
28478
|
+
* Fires event {@link #event:itemToggled itemToggled} to attached listeners.
|
|
28479
|
+
*/
|
|
28480
|
+
fireItemToggled(
|
|
28481
|
+
/**
|
|
28482
|
+
* Parameters to pass along with the event
|
|
28483
|
+
*/
|
|
28484
|
+
mParameters?: {
|
|
28485
|
+
/**
|
|
28486
|
+
* The `ToggleMenuItem` which was unpressed.
|
|
28487
|
+
*/
|
|
28488
|
+
oldItem?: /* was: sap.ui.vk.ToggleMenuItem */ any;
|
|
28489
|
+
/**
|
|
28490
|
+
* The `ToggleMenuItem` which was pressed.
|
|
28491
|
+
*/
|
|
28492
|
+
newItem?: /* was: sap.ui.vk.ToggleMenuItem */ any;
|
|
28493
|
+
}
|
|
28494
|
+
): this;
|
|
28495
|
+
/**
|
|
28496
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaDescribedBy
|
|
28497
|
+
* ariaDescribedBy}.
|
|
28498
|
+
*/
|
|
28499
|
+
getAriaDescribedBy(): sap.ui.core.ID[];
|
|
28500
|
+
/**
|
|
28501
|
+
* Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy
|
|
28502
|
+
* ariaLabelledBy}.
|
|
28503
|
+
*/
|
|
28504
|
+
getAriaLabelledBy(): sap.ui.core.ID[];
|
|
28505
|
+
/**
|
|
28506
|
+
* ID of the element which is the current target of the association {@link #getDefaultItem defaultItem},
|
|
28507
|
+
* or `null`.
|
|
28508
|
+
*/
|
|
28509
|
+
getDefaultItem(): sap.ui.core.ID;
|
|
28510
|
+
/**
|
|
28511
|
+
* Gets current value of property {@link #getEnabled enabled}.
|
|
28512
|
+
*
|
|
28513
|
+
* Boolean property to enable the control (default is `true`). **Note:** Depending on custom settings, the
|
|
28514
|
+
* buttons that are disabled have other colors than the enabled ones.
|
|
28515
|
+
*
|
|
28516
|
+
* Default value is `true`.
|
|
28517
|
+
*/
|
|
28518
|
+
getEnabled(): boolean;
|
|
28519
|
+
/**
|
|
28520
|
+
* Gets current value of property {@link #getIconDensityAware iconDensityAware}.
|
|
28521
|
+
*
|
|
28522
|
+
* When set to `truefalse` to avoid the attempt of fetching density perfect image.
|
|
28523
|
+
*
|
|
28524
|
+
* Default value is `true`.
|
|
28525
|
+
*/
|
|
28526
|
+
getIconDensityAware(): boolean;
|
|
28527
|
+
/**
|
|
28528
|
+
* Gets content of aggregation {@link #getItems items}.
|
|
28529
|
+
*
|
|
28530
|
+
* Defines the menu items contained within this control.
|
|
28531
|
+
*/
|
|
28532
|
+
getItems(): /* was: sap.ui.vk.ToggleMenuItem */ any[];
|
|
28533
|
+
/**
|
|
28534
|
+
* Gets current value of property {@link #getMenuPosition menuPosition}.
|
|
28535
|
+
*
|
|
28536
|
+
* Specifies the position of the popup menu with enumerated options. By default, the control opens the menu
|
|
28537
|
+
* at its bottom left side.
|
|
28538
|
+
*
|
|
28539
|
+
* **Note:** In the case that the menu has no space to show itself in the view port of the current window
|
|
28540
|
+
* it tries to open itself to the inverted direction.
|
|
28541
|
+
*
|
|
28542
|
+
* Default value is `BeginBottom`.
|
|
28543
|
+
*/
|
|
28544
|
+
getMenuPosition(): sap.ui.core.Popup.Dock;
|
|
28545
|
+
/**
|
|
28546
|
+
* Gets current value of property {@link #getPressed pressed}.
|
|
28547
|
+
*
|
|
28548
|
+
* The property is “true” when the control is toggled. The default state of this property is "false".
|
|
28549
|
+
*
|
|
28550
|
+
* Default value is `false`.
|
|
28551
|
+
*/
|
|
28552
|
+
getPressed(): boolean;
|
|
28553
|
+
/**
|
|
28554
|
+
* Gets current value of property {@link #getTextDirection textDirection}.
|
|
28555
|
+
*
|
|
28556
|
+
* This property specifies the element's text directionality with enumerated options. By default, the control
|
|
28557
|
+
* inherits text direction from the DOM.
|
|
28558
|
+
*
|
|
28559
|
+
* Default value is `Inherit`.
|
|
28560
|
+
*/
|
|
28561
|
+
getTextDirection(): sap.ui.core.TextDirection;
|
|
28562
|
+
/**
|
|
28563
|
+
* Gets current value of property {@link #getType type}.
|
|
28564
|
+
*
|
|
28565
|
+
* Defines the type of the button (for example, Default, Accept, Reject, Transparent). Values `Back`, `Up`
|
|
28566
|
+
* and `Unstyled` are ignored.
|
|
28567
|
+
*
|
|
28568
|
+
* Default value is `Default`.
|
|
28569
|
+
*/
|
|
28570
|
+
getType(): sap.m.ButtonType;
|
|
28571
|
+
/**
|
|
28572
|
+
* Gets current value of property {@link #getWidth width}.
|
|
28573
|
+
*
|
|
28574
|
+
* Defines the width of the button.
|
|
28575
|
+
*/
|
|
28576
|
+
getWidth(): sap.ui.core.CSSSize;
|
|
28577
|
+
/**
|
|
28578
|
+
* Checks for the provided `sap.ui.vk.ToggleMenuItem` in the aggregation {@link #getItems items}. and returns
|
|
28579
|
+
* its index if found or -1 otherwise.
|
|
28580
|
+
*/
|
|
28581
|
+
indexOfItem(
|
|
28582
|
+
/**
|
|
28583
|
+
* The item whose index is looked for
|
|
28584
|
+
*/
|
|
28585
|
+
oItem: /* was: sap.ui.vk.ToggleMenuItem */ any
|
|
28586
|
+
): int;
|
|
28587
|
+
/**
|
|
28588
|
+
* Inserts a item into the aggregation {@link #getItems items}.
|
|
28589
|
+
*/
|
|
28590
|
+
insertItem(
|
|
28591
|
+
/**
|
|
28592
|
+
* The item to insert; if empty, nothing is inserted
|
|
28593
|
+
*/
|
|
28594
|
+
oItem: /* was: sap.ui.vk.ToggleMenuItem */ any,
|
|
28595
|
+
/**
|
|
28596
|
+
* The `0`-based index the item should be inserted at; for a negative value of `iIndex`, the item is inserted
|
|
28597
|
+
* at position 0; for a value greater than the current size of the aggregation, the item is inserted at
|
|
28598
|
+
* the last position
|
|
28599
|
+
*/
|
|
28600
|
+
iIndex: int
|
|
28601
|
+
): this;
|
|
28602
|
+
/**
|
|
28603
|
+
* Removes all the controls in the association named {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
28604
|
+
*/
|
|
28605
|
+
removeAllAriaDescribedBy(): sap.ui.core.ID[];
|
|
28606
|
+
/**
|
|
28607
|
+
* Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
28608
|
+
*/
|
|
28609
|
+
removeAllAriaLabelledBy(): sap.ui.core.ID[];
|
|
28610
|
+
/**
|
|
28611
|
+
* Removes all the controls from the aggregation {@link #getItems items}.
|
|
28612
|
+
*
|
|
28613
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
28614
|
+
*/
|
|
28615
|
+
removeAllItems(): /* was: sap.ui.vk.ToggleMenuItem */ any[];
|
|
28616
|
+
/**
|
|
28617
|
+
* Removes an ariaDescribedBy from the association named {@link #getAriaDescribedBy ariaDescribedBy}.
|
|
28618
|
+
*/
|
|
28619
|
+
removeAriaDescribedBy(
|
|
28620
|
+
/**
|
|
28621
|
+
* The ariaDescribedBy to be removed or its index or ID
|
|
28622
|
+
*/
|
|
28623
|
+
vAriaDescribedBy: int | sap.ui.core.ID | sap.ui.core.Control
|
|
28624
|
+
): sap.ui.core.ID;
|
|
28625
|
+
/**
|
|
28626
|
+
* Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
|
|
28627
|
+
*/
|
|
28628
|
+
removeAriaLabelledBy(
|
|
28629
|
+
/**
|
|
28630
|
+
* The ariaLabelledBy to be removed or its index or ID
|
|
28631
|
+
*/
|
|
28632
|
+
vAriaLabelledBy: int | sap.ui.core.ID | sap.ui.core.Control
|
|
28633
|
+
): sap.ui.core.ID;
|
|
28634
|
+
/**
|
|
28635
|
+
* Removes a item from the aggregation {@link #getItems items}.
|
|
28636
|
+
*/
|
|
28637
|
+
removeItem(
|
|
28638
|
+
/**
|
|
28639
|
+
* The item to remove or its index or id
|
|
28640
|
+
*/
|
|
28641
|
+
vItem: int | string | /* was: sap.ui.vk.ToggleMenuItem */ any
|
|
28642
|
+
): /* was: sap.ui.vk.ToggleMenuItem */ any;
|
|
28643
|
+
/**
|
|
28644
|
+
* Sets the arrow state to down or not down.
|
|
28645
|
+
*/
|
|
28646
|
+
setArrowState(
|
|
28647
|
+
/**
|
|
28648
|
+
* Is the arrow down
|
|
28649
|
+
*/
|
|
28650
|
+
bIsDown: boolean
|
|
28651
|
+
): void;
|
|
28652
|
+
/**
|
|
28653
|
+
* Sets the associated {@link #getDefaultItem defaultItem}.
|
|
28654
|
+
*/
|
|
28655
|
+
setDefaultItem(
|
|
28656
|
+
/**
|
|
28657
|
+
* ID of an element which becomes the new target of this defaultItem association; alternatively, an element
|
|
28658
|
+
* instance may be given
|
|
28659
|
+
*/
|
|
28660
|
+
oDefaultItem: sap.ui.core.ID | /* was: sap.ui.vk.ToggleMenuItem */ any
|
|
28661
|
+
): this;
|
|
28662
|
+
/**
|
|
28663
|
+
* Sets a new value for property {@link #getEnabled enabled}.
|
|
28664
|
+
*
|
|
28665
|
+
* Boolean property to enable the control (default is `true`). **Note:** Depending on custom settings, the
|
|
28666
|
+
* buttons that are disabled have other colors than the enabled ones.
|
|
28667
|
+
*
|
|
28668
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
28669
|
+
*
|
|
28670
|
+
* Default value is `true`.
|
|
28671
|
+
*/
|
|
28672
|
+
setEnabled(
|
|
28673
|
+
/**
|
|
28674
|
+
* New value for property `enabled`
|
|
28675
|
+
*/
|
|
28676
|
+
bEnabled?: boolean
|
|
28677
|
+
): this;
|
|
28678
|
+
/**
|
|
28679
|
+
* Sets a new value for property {@link #getIconDensityAware iconDensityAware}.
|
|
28680
|
+
*
|
|
28681
|
+
* When set to `truefalse` to avoid the attempt of fetching density perfect image.
|
|
28682
|
+
*
|
|
28683
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
28684
|
+
*
|
|
28685
|
+
* Default value is `true`.
|
|
28686
|
+
*/
|
|
28687
|
+
setIconDensityAware(
|
|
28688
|
+
/**
|
|
28689
|
+
* New value for property `iconDensityAware`
|
|
28690
|
+
*/
|
|
28691
|
+
bIconDensityAware?: boolean
|
|
28692
|
+
): this;
|
|
28693
|
+
/**
|
|
28694
|
+
* Sets a new value for property {@link #getMenuPosition menuPosition}.
|
|
28695
|
+
*
|
|
28696
|
+
* Specifies the position of the popup menu with enumerated options. By default, the control opens the menu
|
|
28697
|
+
* at its bottom left side.
|
|
28698
|
+
*
|
|
28699
|
+
* **Note:** In the case that the menu has no space to show itself in the view port of the current window
|
|
28700
|
+
* it tries to open itself to the inverted direction.
|
|
28701
|
+
*
|
|
28702
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
28703
|
+
*
|
|
28704
|
+
* Default value is `BeginBottom`.
|
|
28705
|
+
*/
|
|
28706
|
+
setMenuPosition(
|
|
28707
|
+
/**
|
|
28708
|
+
* New value for property `menuPosition`
|
|
28709
|
+
*/
|
|
28710
|
+
sMenuPosition?: sap.ui.core.Popup.Dock
|
|
28711
|
+
): this;
|
|
28712
|
+
/**
|
|
28713
|
+
* Sets a new value for property {@link #getPressed pressed}.
|
|
28714
|
+
*
|
|
28715
|
+
* The property is “true” when the control is toggled. The default state of this property is "false".
|
|
28716
|
+
*
|
|
28717
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
28718
|
+
*
|
|
28719
|
+
* Default value is `false`.
|
|
28720
|
+
*/
|
|
28721
|
+
setPressed(
|
|
28722
|
+
/**
|
|
28723
|
+
* New value for property `pressed`
|
|
28724
|
+
*/
|
|
28725
|
+
bPressed?: boolean
|
|
28726
|
+
): this;
|
|
28727
|
+
/**
|
|
28728
|
+
* Sets a new value for property {@link #getTextDirection textDirection}.
|
|
28729
|
+
*
|
|
28730
|
+
* This property specifies the element's text directionality with enumerated options. By default, the control
|
|
28731
|
+
* inherits text direction from the DOM.
|
|
28732
|
+
*
|
|
28733
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
28734
|
+
*
|
|
28735
|
+
* Default value is `Inherit`.
|
|
28736
|
+
*/
|
|
28737
|
+
setTextDirection(
|
|
28738
|
+
/**
|
|
28739
|
+
* New value for property `textDirection`
|
|
28740
|
+
*/
|
|
28741
|
+
sTextDirection?: sap.ui.core.TextDirection
|
|
28742
|
+
): this;
|
|
28743
|
+
/**
|
|
28744
|
+
* Sets a new value for property {@link #getType type}.
|
|
28745
|
+
*
|
|
28746
|
+
* Defines the type of the button (for example, Default, Accept, Reject, Transparent). Values `Back`, `Up`
|
|
28747
|
+
* and `Unstyled` are ignored.
|
|
28748
|
+
*
|
|
28749
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
28750
|
+
*
|
|
28751
|
+
* Default value is `Default`.
|
|
28752
|
+
*/
|
|
28753
|
+
setType(
|
|
28754
|
+
/**
|
|
28755
|
+
* New value for property `type`
|
|
28756
|
+
*/
|
|
28757
|
+
sType?: sap.m.ButtonType
|
|
28758
|
+
): this;
|
|
28759
|
+
/**
|
|
28760
|
+
* Sets a new value for property {@link #getWidth width}.
|
|
28761
|
+
*
|
|
28762
|
+
* Defines the width of the button.
|
|
28763
|
+
*
|
|
28764
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
28765
|
+
*/
|
|
28766
|
+
setWidth(
|
|
28767
|
+
/**
|
|
28768
|
+
* New value for property `width`
|
|
28769
|
+
*/
|
|
28770
|
+
sWidth?: sap.ui.core.CSSSize
|
|
28771
|
+
): this;
|
|
28772
|
+
}
|
|
28120
28773
|
/**
|
|
28121
28774
|
* @SINCE 1.32.0
|
|
28122
28775
|
*
|
|
@@ -34158,14 +34811,16 @@ declare namespace sap {
|
|
|
34158
34811
|
enum DrawerToolbarButton {
|
|
34159
34812
|
CrossSection = "VIT-Cross-Section",
|
|
34160
34813
|
|
|
34161
|
-
CrossSectionAxis = "VIT-Cross-Section-Axis",
|
|
34162
|
-
|
|
34163
34814
|
FitToView = "VIT-Fit-To-View",
|
|
34164
34815
|
|
|
34165
34816
|
FullScreen = "VIT-Fullscreen",
|
|
34166
34817
|
|
|
34167
34818
|
Hide = "VIT-Hide",
|
|
34168
34819
|
|
|
34820
|
+
Measurements = "VIT-Measurements",
|
|
34821
|
+
|
|
34822
|
+
MeasurementsSeparator = "VIT-Measurements-Separator",
|
|
34823
|
+
|
|
34169
34824
|
Orbit = "VIT-Orbit",
|
|
34170
34825
|
|
|
34171
34826
|
Pan = "VIT-Pan",
|
|
@@ -34494,6 +35149,8 @@ declare namespace sap {
|
|
|
34494
35149
|
|
|
34495
35150
|
"sap/ui/vk/threejs/ViewStateManager": undefined;
|
|
34496
35151
|
|
|
35152
|
+
"sap/ui/vk/ToggleMenuButton": undefined;
|
|
35153
|
+
|
|
34497
35154
|
"sap/ui/vk/Toolbar": undefined;
|
|
34498
35155
|
|
|
34499
35156
|
"sap/ui/vk/tools/AnchorPointTool": undefined;
|