@sapui5/ts-types 1.102.4 → 1.102.7

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.
Files changed (43) hide show
  1. package/package.json +1 -1
  2. package/types/sap.chart.d.ts +1 -1
  3. package/types/sap.esh.search.ui.d.ts +1 -1
  4. package/types/sap.f.d.ts +1 -1
  5. package/types/sap.fe.common.d.ts +1 -1
  6. package/types/sap.fe.core.d.ts +1 -1
  7. package/types/sap.fe.macros.d.ts +1 -1
  8. package/types/sap.fe.navigation.d.ts +1 -1
  9. package/types/sap.fe.templates.d.ts +158 -1
  10. package/types/sap.fe.test.d.ts +1 -1
  11. package/types/sap.gantt.d.ts +1 -1
  12. package/types/sap.insights.d.ts +1 -1
  13. package/types/sap.m.d.ts +13 -10
  14. package/types/sap.makit.d.ts +1 -1
  15. package/types/sap.me.d.ts +1 -1
  16. package/types/sap.ndc.d.ts +1 -1
  17. package/types/sap.suite.ui.commons.d.ts +1 -1
  18. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  19. package/types/sap.suite.ui.microchart.d.ts +1 -1
  20. package/types/sap.tnt.d.ts +1 -1
  21. package/types/sap.ui.codeeditor.d.ts +1 -1
  22. package/types/sap.ui.commons.d.ts +1 -1
  23. package/types/sap.ui.comp.d.ts +1 -1
  24. package/types/sap.ui.core.d.ts +10 -4
  25. package/types/sap.ui.dt.d.ts +1 -1
  26. package/types/sap.ui.export.d.ts +3 -3
  27. package/types/sap.ui.fl.d.ts +1 -1
  28. package/types/sap.ui.integration.d.ts +1 -1
  29. package/types/sap.ui.layout.d.ts +1 -1
  30. package/types/sap.ui.mdc.d.ts +1 -1
  31. package/types/sap.ui.richtexteditor.d.ts +1 -1
  32. package/types/sap.ui.rta.d.ts +1 -1
  33. package/types/sap.ui.suite.d.ts +1 -1
  34. package/types/sap.ui.support.d.ts +1 -1
  35. package/types/sap.ui.table.d.ts +1 -1
  36. package/types/sap.ui.testrecorder.d.ts +1 -1
  37. package/types/sap.ui.unified.d.ts +1 -1
  38. package/types/sap.ui.ux3.d.ts +1 -1
  39. package/types/sap.uiext.inbox.d.ts +1 -1
  40. package/types/sap.ushell.d.ts +1 -1
  41. package/types/sap.ushell_abap.d.ts +1 -1
  42. package/types/sap.uxap.d.ts +1 -1
  43. package/types/sap.viz.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sapui5/ts-types",
3
- "version": "1.102.4",
3
+ "version": "1.102.7",
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.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.2
1
+ // For Library Version: 1.102.3
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.102.3
1
+ // For Library Version: 1.102.4
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.3
1
+ // For Library Version: 1.102.4
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.3
1
+ // For Library Version: 1.102.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.3
1
+ // For Library Version: 1.102.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.3
1
+ // For Library Version: 1.102.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -171,6 +171,161 @@ declare namespace sap {
171
171
  updateAppState(): undefined | Promise<any>;
172
172
  }
173
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
+ * Context instance
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
+ * Path or array of paths referring to entities or properties to be refreshed.
292
+ * If omitted, the whole object page is refreshed. The path "" refreshes the entity assigned to the object
293
+ * page
294
+ * without navigations
295
+ */
296
+ vPath: undefined | string | string[]
297
+ ): Promise<any>;
298
+ /**
299
+ * Remove a dependent control from this SAP Fiori elements page.
300
+ */
301
+ removeDependent(
302
+ /**
303
+ * Control to be added as a dependent control
304
+ */
305
+ oControl: sap.ui.core.Control
306
+ ): void;
307
+ /**
308
+ * Displays or hides the side content of an object page block.
309
+ */
310
+ showSideContent(
311
+ /**
312
+ * Key of the side content fragment as defined in the manifest.json
313
+ */
314
+ sSubSectionKey: string,
315
+ /**
316
+ * Optional Boolean flag to show or hide the side content
317
+ */
318
+ bShow: undefined | boolean
319
+ ): void;
320
+ /**
321
+ * Triggers an update of the app state.
322
+ * Should be called if the state of a control, or any other state-relevant information, was changed.
323
+ *
324
+ * @returns A promise that resolves with the new app state object.
325
+ */
326
+ updateAppState(): undefined | Promise<any>;
327
+ }
328
+ }
174
329
  }
175
330
  }
176
331
 
@@ -178,5 +333,7 @@ declare namespace sap {
178
333
  "sap/fe/templates/library": undefined;
179
334
 
180
335
  "sap/fe/templates/ListReport/ExtensionAPI": undefined;
336
+
337
+ "sap/fe/templates/ObjectPage/ExtensionAPI": undefined;
181
338
  }
182
339
  }
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.3
1
+ // For Library Version: 1.102.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace fe {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.6
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.3
1
+ // For Library Version: 1.102.5
2
2
 
3
3
  declare module "sap/insights/CardHelper" {
4
4
  /**
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -15496,9 +15496,8 @@ declare namespace sap {
15496
15496
  * @SINCE 1.99
15497
15497
  *
15498
15498
  * The IANA timezone ID, e.g `"Europe/Berlin"`. Date and time are displayed in this timezone. The `value`
15499
- * property string is treated as if it is formatted in this timezone. However, the `dateValue` property
15500
- * is a JS Date object, which is the same point in time as the `value`, but in the local timezone. Thus,
15501
- * it is adjusted when the `timezone` changes.
15499
+ * property string is treated as if it is formatted in this timezone. The `dateValue` property should not
15500
+ * be used as this could lead to an unpredictable results. Use `getValue()` instead.
15502
15501
  */
15503
15502
  timezone?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
15504
15503
  }
@@ -44713,6 +44712,12 @@ declare namespace sap {
44713
44712
  * @returns Current accessibility state of the control
44714
44713
  */
44715
44714
  getAccessibilityInfo(): object;
44715
+ /**
44716
+ * @SINCE 1.102
44717
+ *
44718
+ * This method should not be used because it could produce unpredictable results. Use `getValue()` instead.
44719
+ */
44720
+ getDateValue(): object;
44716
44721
  /**
44717
44722
  * Apply the correct icon to the used Date control
44718
44723
  */
@@ -44771,9 +44776,8 @@ declare namespace sap {
44771
44776
  * Gets current value of property {@link #getTimezone timezone}.
44772
44777
  *
44773
44778
  * The IANA timezone ID, e.g `"Europe/Berlin"`. Date and time are displayed in this timezone. The `value`
44774
- * property string is treated as if it is formatted in this timezone. However, the `dateValue` property
44775
- * is a JS Date object, which is the same point in time as the `value`, but in the local timezone. Thus,
44776
- * it is adjusted when the `timezone` changes.
44779
+ * property string is treated as if it is formatted in this timezone. The `dateValue` property should not
44780
+ * be used as this could lead to an unpredictable results. Use `getValue()` instead.
44777
44781
  *
44778
44782
  * @returns Value of property `timezone`
44779
44783
  */
@@ -44860,9 +44864,8 @@ declare namespace sap {
44860
44864
  * Sets a new value for property {@link #getTimezone timezone}.
44861
44865
  *
44862
44866
  * The IANA timezone ID, e.g `"Europe/Berlin"`. Date and time are displayed in this timezone. The `value`
44863
- * property string is treated as if it is formatted in this timezone. However, the `dateValue` property
44864
- * is a JS Date object, which is the same point in time as the `value`, but in the local timezone. Thus,
44865
- * it is adjusted when the `timezone` changes.
44867
+ * property string is treated as if it is formatted in this timezone. The `dateValue` property should not
44868
+ * be used as this could lead to an unpredictable results. Use `getValue()` instead.
44866
44869
  *
44867
44870
  * When called with a value of `null` or `undefined`, the default value of the property will be restored.
44868
44871
  *
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
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.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.3
1
+ // For Library Version: 1.102.5
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.3
1
+ // For Library Version: 1.102.4
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace suite {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
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.4
267
+ // For Library Version: 1.102.7
268
268
 
269
269
  declare module "sap/base/assert" {
270
270
  /**
@@ -15544,11 +15544,11 @@ declare namespace sap {
15544
15544
  /**
15545
15545
  * Whether the fragment content should be added to the `dependents` aggregation of the view
15546
15546
  */
15547
- addToDependents?: object;
15547
+ addToDependents?: boolean;
15548
15548
  /**
15549
15549
  * Whether the IDs of the fragment content will be prefixed by the view ID
15550
15550
  */
15551
- autoPrefixId?: object;
15551
+ autoPrefixId?: boolean;
15552
15552
  /**
15553
15553
  * the ID of the Fragment
15554
15554
  */
@@ -30723,7 +30723,10 @@ declare namespace sap {
30723
30723
  /**
30724
30724
  * @SINCE 1.99.0
30725
30725
  *
30726
- * Retrieves the configured IANA timezone ID
30726
+ * **Note: Due to compatibility considerations, this function will always return the timezone of the browser/host
30727
+ * system in this release**
30728
+ *
30729
+ * Retrieves the configured IANA timezone ID.
30727
30730
  *
30728
30731
  * @returns The configured IANA timezone ID, e.g. "America/New_York"
30729
30732
  */
@@ -30905,6 +30908,9 @@ declare namespace sap {
30905
30908
  /**
30906
30909
  * @SINCE 1.99.0
30907
30910
  *
30911
+ * **Note: Due to compatibility considerations, this function has no effect in this release. The timezone
30912
+ * configuration will always reflect the timezone of the browser/host system.**
30913
+ *
30908
30914
  * Sets the timezone such that all date and time based calculations use this timezone.
30909
30915
  *
30910
30916
  * When the timezone has changed, the Core will fire its {@link sap.ui.core.Core#event:localizationChanged
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
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.4")
228
+ * - `version` (string) - Application version that creates the XLSX document (default: "1.102.7")
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.4',
314
+ * version: '1.102.7',
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.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace uiext {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ushell {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.102.4
1
+ // For Library Version: 1.102.7
2
2
 
3
3
  declare namespace sap {
4
4
  /**