@sapui5/ts-types 1.102.0 → 1.102.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types",
3
- "version": "1.102.0",
3
+ "version": "1.102.1",
4
4
  "description": "SAPUI5 TypeScript Definitions",
5
5
  "homepage": "https://ui5.sap.com",
6
6
  "author": "SAP SE (https://www.sap.com)",
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -9232,6 +9232,9 @@ declare namespace sap {
9232
9232
  removePressed?: (oEvent: sap.ui.base.Event) => void;
9233
9233
  }
9234
9234
 
9235
+ interface $UploadSetToolbarPlaceholderSettings
9236
+ extends sap.ui.core.$ControlSettings {}
9237
+
9235
9238
  /**
9236
9239
  * @SINCE 1.63
9237
9240
  *
@@ -11818,6 +11821,18 @@ declare namespace sap {
11818
11821
  */
11819
11822
  iIndex: int
11820
11823
  ): this;
11824
+ /**
11825
+ * Opens the FileUploader dialog. When an UploadSetItem is provided, this method can be used to update a
11826
+ * file with a new version.
11827
+ *
11828
+ * @returns this to allow method chaining
11829
+ */
11830
+ openFileDialog(
11831
+ /**
11832
+ * The UploadSetItem to update with a new version. This parameter is mandatory.
11833
+ */
11834
+ item: /* was: sap.m.UploadSetItem */ any
11835
+ ): this;
11821
11836
  /**
11822
11837
  * Attaches all necessary handlers to the given uploader instance, so that the progress and status of the
11823
11838
  * upload can be displayed and monitored. This is necessary in case when custom uploader is used.
@@ -13093,6 +13108,81 @@ declare namespace sap {
13093
13108
  bVisibleRemove?: boolean
13094
13109
  ): this;
13095
13110
  }
13111
+ /**
13112
+ * Used to create a customizable toolbar for the UploadSet. A FileUploader instance is required in the toolbar
13113
+ * and it is placed by the application.
13114
+ */
13115
+ class UploadSetToolbarPlaceholder extends sap.ui.core.Control {
13116
+ /**
13117
+ * Constructor for a new UploadSetToolbarPlaceholder.
13118
+ *
13119
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
13120
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
13121
+ * of the syntax of the settings object.
13122
+ *
13123
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Control#constructor
13124
+ * sap.ui.core.Control} can be used.
13125
+ */
13126
+ constructor(
13127
+ /**
13128
+ * initial settings for the new control
13129
+ */
13130
+ mSettings?: sap.m.upload.$UploadSetToolbarPlaceholderSettings
13131
+ );
13132
+ /**
13133
+ * Constructor for a new UploadSetToolbarPlaceholder.
13134
+ *
13135
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
13136
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
13137
+ * of the syntax of the settings object.
13138
+ *
13139
+ * This class does not have its own settings, but all settings applicable to the base type {@link sap.ui.core.Control#constructor
13140
+ * sap.ui.core.Control} can be used.
13141
+ */
13142
+ constructor(
13143
+ /**
13144
+ * ID for the new control, generated automatically if no ID is given
13145
+ */
13146
+ sId?: string,
13147
+ /**
13148
+ * initial settings for the new control
13149
+ */
13150
+ mSettings?: sap.m.upload.$UploadSetToolbarPlaceholderSettings
13151
+ );
13152
+
13153
+ /**
13154
+ * Creates a new subclass of class sap.m.upload.UploadSetToolbarPlaceholder with name `sClassName` and enriches
13155
+ * it with the information contained in `oClassInfo`.
13156
+ *
13157
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Control.extend}.
13158
+ *
13159
+ * @returns Created class / constructor function
13160
+ */
13161
+ static extend<T extends Record<string, unknown>>(
13162
+ /**
13163
+ * Name of the class being created
13164
+ */
13165
+ sClassName: string,
13166
+ /**
13167
+ * Object literal with information about the class
13168
+ */
13169
+ oClassInfo?: sap.ClassInfo<
13170
+ T,
13171
+ sap.m.upload.UploadSetToolbarPlaceholder
13172
+ >,
13173
+ /**
13174
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
13175
+ * used by this class
13176
+ */
13177
+ FNMetaImpl?: Function
13178
+ ): Function;
13179
+ /**
13180
+ * Returns a metadata object for class sap.m.upload.UploadSetToolbarPlaceholder.
13181
+ *
13182
+ * @returns Metadata object describing this class
13183
+ */
13184
+ static getMetadata(): sap.ui.core.ElementMetadata;
13185
+ }
13096
13186
  /**
13097
13187
  * @SINCE 1.90
13098
13188
  *
@@ -17304,6 +17394,16 @@ declare namespace sap {
17304
17394
  | sap.ui.base.ManagedObject.PropertyBindingInfo
17305
17395
  | `{${string}}`;
17306
17396
 
17397
+ /**
17398
+ * @EXPERIMENTAL
17399
+ *
17400
+ * The load state of the tileIcon.
17401
+ */
17402
+ iconLoaded?:
17403
+ | boolean
17404
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
17405
+ | `{${string}}`;
17406
+
17307
17407
  /**
17308
17408
  * The content of the tile.
17309
17409
  */
@@ -28723,10 +28823,17 @@ declare namespace sap {
28723
28823
  * Adds a priority badge before the content. Works only in Generic Tile ActionMode.
28724
28824
  */
28725
28825
  priority?:
28726
- | sap.ui.core.Priority
28826
+ | sap.m.Priority
28727
28827
  | sap.ui.base.ManagedObject.PropertyBindingInfo
28728
28828
  | `{${string}}`;
28729
28829
 
28830
+ /**
28831
+ * @EXPERIMENTAL (since 1.103)
28832
+ *
28833
+ * Sets the Text inside the Priority badge in Generic Tile ActionMode.
28834
+ */
28835
+ priorityText?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
28836
+
28730
28837
  /**
28731
28838
  * @SINCE 1.100.0
28732
28839
  *
@@ -53334,6 +53441,18 @@ declare namespace sap {
53334
53441
  * to display an icon or image use sap.m.ImageContent control instead.
53335
53442
  */
53336
53443
  getIcon(): sap.ui.core.Control;
53444
+ /**
53445
+ * @EXPERIMENTAL
53446
+ *
53447
+ * Gets current value of property {@link #getIconLoaded iconLoaded}.
53448
+ *
53449
+ * The load state of the tileIcon.
53450
+ *
53451
+ * Default value is `true`.
53452
+ *
53453
+ * @returns Value of property `iconLoaded`
53454
+ */
53455
+ getIconLoaded(): boolean;
53337
53456
  /**
53338
53457
  * Gets current value of property {@link #getImageDescription imageDescription}.
53339
53458
  *
@@ -53823,6 +53942,25 @@ declare namespace sap {
53823
53942
  */
53824
53943
  oIcon: sap.ui.core.Control
53825
53944
  ): this;
53945
+ /**
53946
+ * @EXPERIMENTAL
53947
+ *
53948
+ * Sets a new value for property {@link #getIconLoaded iconLoaded}.
53949
+ *
53950
+ * The load state of the tileIcon.
53951
+ *
53952
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
53953
+ *
53954
+ * Default value is `true`.
53955
+ *
53956
+ * @returns Reference to `this` in order to allow method chaining
53957
+ */
53958
+ setIconLoaded(
53959
+ /**
53960
+ * New value for property `iconLoaded`
53961
+ */
53962
+ bIconLoaded?: boolean
53963
+ ): this;
53826
53964
  /**
53827
53965
  * Sets a new value for property {@link #getImageDescription imageDescription}.
53828
53966
  *
@@ -121375,7 +121513,17 @@ declare namespace sap {
121375
121513
  *
121376
121514
  * @returns Value of property `priority`
121377
121515
  */
121378
- getPriority(): sap.ui.core.Priority;
121516
+ getPriority(): sap.m.Priority;
121517
+ /**
121518
+ * @EXPERIMENTAL (since 1.103)
121519
+ *
121520
+ * Gets current value of property {@link #getPriorityText priorityText}.
121521
+ *
121522
+ * Sets the Text inside the Priority badge in Generic Tile ActionMode.
121523
+ *
121524
+ * @returns Value of property `priorityText`
121525
+ */
121526
+ getPriorityText(): string;
121379
121527
  /**
121380
121528
  * @deprecated (since 1.38.0) - The TileContent control has now a fixed size, depending on the used media
121381
121529
  * (desktop, tablet or phone).
@@ -121506,7 +121654,24 @@ declare namespace sap {
121506
121654
  /**
121507
121655
  * New value for property `priority`
121508
121656
  */
121509
- sPriority?: sap.ui.core.Priority
121657
+ sPriority?: sap.m.Priority
121658
+ ): this;
121659
+ /**
121660
+ * @EXPERIMENTAL (since 1.103)
121661
+ *
121662
+ * Sets a new value for property {@link #getPriorityText priorityText}.
121663
+ *
121664
+ * Sets the Text inside the Priority badge in Generic Tile ActionMode.
121665
+ *
121666
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
121667
+ *
121668
+ * @returns Reference to `this` in order to allow method chaining
121669
+ */
121670
+ setPriorityText(
121671
+ /**
121672
+ * New value for property `priorityText`
121673
+ */
121674
+ sPriorityText?: string
121510
121675
  ): this;
121511
121676
  /**
121512
121677
  * Setter for protected property to enable or disable content rendering. This function does not invalidate
@@ -135401,6 +135566,31 @@ declare namespace sap {
135401
135566
  */
135402
135567
  GridSmall = "GridSmall",
135403
135568
  }
135569
+ /**
135570
+ * Defines the priority for the TileContent in ActionMode
135571
+ */
135572
+ enum Priority {
135573
+ /**
135574
+ * It displays high priority color for the GenericTag
135575
+ */
135576
+ High = "High",
135577
+ /**
135578
+ * It displays low priority color for the GenericTag
135579
+ */
135580
+ Low = "Low",
135581
+ /**
135582
+ * It displays medium priority color for the GenericTag
135583
+ */
135584
+ Medium = "Medium",
135585
+ /**
135586
+ * The priority is not set
135587
+ */
135588
+ None = "None",
135589
+ /**
135590
+ * It displays very high priority color for the GenericTag
135591
+ */
135592
+ VeryHigh = "VeryHigh",
135593
+ }
135404
135594
  /**
135405
135595
  * QuickViewGroupElement is a combination of one label and another control (Link or Text) associated to
135406
135596
  * this label.
@@ -136796,6 +136986,8 @@ declare namespace sap {
136796
136986
 
136797
136987
  "sap/m/upload/UploadSetItem": undefined;
136798
136988
 
136989
+ "sap/m/upload/UploadSetToolbarPlaceholder": undefined;
136990
+
136799
136991
  "sap/m/UploadCollection": undefined;
136800
136992
 
136801
136993
  "sap/m/UploadCollectionItem": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
package/types/sap.me.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -264,7 +264,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
264
264
  ): jQuery;
265
265
  }
266
266
 
267
- // For Library Version: 1.102.0
267
+ // For Library Version: 1.102.1
268
268
 
269
269
  declare module "sap/base/assert" {
270
270
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -225,7 +225,7 @@ declare namespace sap {
225
225
  * - `workbook.context` - Context object that will be applied to the generated file. It may contain the
226
226
  * following fields:
227
227
  * - `application` (string) - The application that creates the XLSX document (default: "SAP UI5")
228
- * - `version` (string) - Application version that creates the XLSX document (default: "1.102.0")
228
+ * - `version` (string) - Application version that creates the XLSX document (default: "1.102.1")
229
229
  * - `title` (string) - Title of the XLSX document (NOT the filename)
230
230
  * - `modifiedBy` (string) - User context for the XLSX document
231
231
  * - `sheetName` (string) - The label of the data sheet
@@ -311,7 +311,7 @@ declare namespace sap {
311
311
  * columns: aColumns,
312
312
  * context: {
313
313
  * application: 'Debug Test Application',
314
- * version: '1.102.0',
314
+ * version: '1.102.1',
315
315
  * title: 'Some random title',
316
316
  * modifiedBy: 'John Doe',
317
317
  * metaSheetName: 'Custom metadata',
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace uiext {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ushell {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.0
1
+ // For Library Version: 1.102.1
2
2
 
3
3
  declare namespace sap {
4
4
  /**