@openui5/ts-types-esm 1.108.24 → 1.108.26

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": "@openui5/ts-types-esm",
3
- "version": "1.108.24",
3
+ "version": "1.108.26",
4
4
  "description": "OpenUI5 TypeScript Definitions - ES Modules",
5
5
  "homepage": "https://openui5.org",
6
6
  "author": "SAP SE (https://www.sap.com)",
package/types/sap.f.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  export interface IToolHeader {
package/types/sap.m.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/f/library" {
4
4
  export interface IShellBar {
@@ -64936,6 +64936,11 @@ declare module "sap/m/p13n/Engine" {
64936
64936
  */
64937
64937
  FNMetaImpl?: Function
64938
64938
  ): Function;
64939
+ /**
64940
+ *
64941
+ * @returns The Engine instance
64942
+ */
64943
+ getInstance(): Engine;
64939
64944
  /**
64940
64945
  * Returns a metadata object for class sap.m.p13n.Engine.
64941
64946
  *
@@ -65114,13 +65119,9 @@ declare module "sap/m/p13n/GroupController" {
65114
65119
  */
65115
65120
  constructor(
65116
65121
  /**
65117
- * ID for the new control, generated automatically if no ID is given
65118
- */
65119
- sId?: string,
65120
- /**
65121
- * Initial settings for the new control
65122
+ * Initial settings for the new controller
65122
65123
  */
65123
- mSettings?: {
65124
+ mSettings: {
65124
65125
  /**
65125
65126
  * The control instance that is personalized by this controller
65126
65127
  */
@@ -65128,6 +65129,24 @@ declare module "sap/m/p13n/GroupController" {
65128
65129
  }
65129
65130
  );
65130
65131
  }
65132
+ /**
65133
+ * Personalization `GroupState` object type. This object describes the state processed by this controller
65134
+ * when accessing it through the {@link sap.m.p13n.Engine Engine}.
65135
+ */
65136
+ export type GroupState = {
65137
+ /**
65138
+ * The key for the group state
65139
+ */
65140
+ key: string;
65141
+ /**
65142
+ * Defines whether the item is grouped (if a group state is provided, it's grouped automatically)
65143
+ */
65144
+ grouped?: boolean;
65145
+ /**
65146
+ * Describes the index of the grouping
65147
+ */
65148
+ index?: int;
65149
+ };
65131
65150
  }
65132
65151
 
65133
65152
  declare module "sap/m/p13n/GroupPanel" {
@@ -65305,6 +65324,118 @@ declare module "sap/m/p13n/GroupPanel" {
65305
65324
  }
65306
65325
  }
65307
65326
 
65327
+ declare module "sap/m/p13n/MetadataHelper" {
65328
+ import BaseObject from "sap/ui/base/Object";
65329
+
65330
+ import Metadata from "sap/ui/base/Metadata";
65331
+
65332
+ /**
65333
+ * The `MetadataHelper` entity offers utility functionality for service metadata during the `Engine#register`
65334
+ * process.
65335
+ */
65336
+ export default class MetadataHelper extends BaseObject {
65337
+ /**
65338
+ * See:
65339
+ * {@link topic:75c08fdebf784575947927e052712bab Personalization}
65340
+ */
65341
+ constructor(
65342
+ /**
65343
+ * Array of objects defining available items for personalization
65344
+ */
65345
+ aProperties: MetadataObject[]
65346
+ );
65347
+
65348
+ /**
65349
+ * Creates a new subclass of class sap.m.p13n.MetadataHelper with name `sClassName` and enriches it with
65350
+ * the information contained in `oClassInfo`.
65351
+ *
65352
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
65353
+ *
65354
+ * @returns Created class / constructor function
65355
+ */
65356
+ static extend<T extends Record<string, unknown>>(
65357
+ /**
65358
+ * Name of the class being created
65359
+ */
65360
+ sClassName: string,
65361
+ /**
65362
+ * Object literal with information about the class
65363
+ */
65364
+ oClassInfo?: sap.ClassInfo<T, MetadataHelper>,
65365
+ /**
65366
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
65367
+ * used by this class
65368
+ */
65369
+ FNMetaImpl?: Function
65370
+ ): Function;
65371
+ /**
65372
+ * Returns a metadata object for class sap.m.p13n.MetadataHelper.
65373
+ *
65374
+ * @returns Metadata object describing this class
65375
+ */
65376
+ static getMetadata(): Metadata;
65377
+ /**
65378
+ * Gets a property path based on its key.
65379
+ *
65380
+ * @returns The property path based on its key
65381
+ */
65382
+ getPath(
65383
+ /**
65384
+ * The property key identifying a property entry
65385
+ */
65386
+ sKey: string
65387
+ ): string;
65388
+ /**
65389
+ * Gets the array of properties.
65390
+ *
65391
+ * @returns Array of properties
65392
+ */
65393
+ getProperties(): MetadataObject[];
65394
+ /**
65395
+ * Gets a single property.
65396
+ *
65397
+ * @returns A single property
65398
+ */
65399
+ getProperty(
65400
+ /**
65401
+ * The property key identifying a property entry
65402
+ */
65403
+ sKey: string
65404
+ ): MetadataObject;
65405
+ }
65406
+ /**
65407
+ * @EXPERIMENTAL (since 1.104)
65408
+ *
65409
+ * Personalization `MetadataObject` type.
65410
+ */
65411
+ export type MetadataObject = {
65412
+ /**
65413
+ * The unique key for the p13n metadata object
65414
+ */
65415
+ key: string;
65416
+ /**
65417
+ * Defines the text that will be displayed in the personalization popup
65418
+ */
65419
+ label: string;
65420
+ /**
65421
+ * Defines the technical path to apply binding-related updates
65422
+ */
65423
+ path: string;
65424
+ /**
65425
+ * Defines whether the metadata object is sortable
65426
+ */
65427
+ sortable?: boolean;
65428
+ /**
65429
+ * Defines whether the metadata object is groupable
65430
+ */
65431
+ groupable?: boolean;
65432
+ /**
65433
+ * Defines whether the metadata object is visible for selection
65434
+ */
65435
+ visible?: boolean;
65436
+ };
65437
+ }
65438
+
65308
65439
  declare module "sap/m/p13n/modification/FlexModificationHandler" {
65309
65440
  /**
65310
65441
  * @EXPERIMENTAL (since 1.104)
@@ -65814,17 +65945,20 @@ declare module "sap/m/p13n/SelectionController" {
65814
65945
  */
65815
65946
  constructor(
65816
65947
  /**
65817
- * ID for the new control, generated automatically if no ID is given
65948
+ * Initial settings for the new controller
65818
65949
  */
65819
- sId?: string,
65820
- /**
65821
- * Initial settings for the new control
65822
- */
65823
- mSettings?: {
65950
+ mSettings: {
65824
65951
  /**
65825
65952
  * The control instance that is personalized by this controller
65826
65953
  */
65827
65954
  control: Control;
65955
+ /**
65956
+ * By default the SelectionController tries to identify the existing item through the key by checking if
65957
+ * there is an existing item with this id. This behaviour can be overruled by implementing this method which
65958
+ * will provide the according item of the `targetAggregation` to return the according key associated to
65959
+ * this item.
65960
+ */
65961
+ getKeyForItem?: Function;
65828
65962
  /**
65829
65963
  * The name of the aggregation that is now managed by this controller
65830
65964
  */
@@ -65862,6 +65996,24 @@ declare module "sap/m/p13n/SelectionController" {
65862
65996
  */
65863
65997
  static getMetadata(): Metadata;
65864
65998
  }
65999
+ /**
66000
+ * Personalization `SelectionState` object type. This object describes the state processed by this controller
66001
+ * when accessing it through the {@link sap.m.p13n.Engine Engine}.
66002
+ */
66003
+ export type SelectionState = {
66004
+ /**
66005
+ * The key for the group state
66006
+ */
66007
+ key: string;
66008
+ /**
66009
+ * Defines whether the item is selected (if a selection state is provided, it's selected automatically)
66010
+ */
66011
+ visible?: boolean;
66012
+ /**
66013
+ * Describes the index of the selection item
66014
+ */
66015
+ index?: int;
66016
+ };
65865
66017
  }
65866
66018
 
65867
66019
  declare module "sap/m/p13n/SelectionPanel" {
@@ -66184,13 +66336,9 @@ declare module "sap/m/p13n/SortController" {
66184
66336
  */
66185
66337
  constructor(
66186
66338
  /**
66187
- * ID for the new control, generated automatically if no ID is given
66339
+ * Initial settings for the new controller
66188
66340
  */
66189
- sId?: string,
66190
- /**
66191
- * Initial settings for the new control
66192
- */
66193
- mSettings?: {
66341
+ mSettings: {
66194
66342
  /**
66195
66343
  * The control instance that is personalized by this controller
66196
66344
  */
@@ -66228,6 +66376,28 @@ declare module "sap/m/p13n/SortController" {
66228
66376
  */
66229
66377
  static getMetadata(): Metadata;
66230
66378
  }
66379
+ /**
66380
+ * Personalization `SortState` object type. This object describes the state processed by this controller
66381
+ * when accessing it through the {@link sap.m.p13n.Engine Engine}.
66382
+ */
66383
+ export type SortState = {
66384
+ /**
66385
+ * The key for the sort state
66386
+ */
66387
+ key: string;
66388
+ /**
66389
+ * Defines whether the item is sorted (if a sort state is provided, it's sorted automatically)
66390
+ */
66391
+ sorted?: boolean;
66392
+ /**
66393
+ * Defines whether the sorting is processed in a descending order (`false` is the default)
66394
+ */
66395
+ descending?: boolean;
66396
+ /**
66397
+ * Describes the index of the sorter
66398
+ */
66399
+ index?: int;
66400
+ };
66231
66401
  }
66232
66402
 
66233
66403
  declare module "sap/m/p13n/SortPanel" {
@@ -75912,6 +76082,22 @@ declare module "sap/m/PDFViewer" {
75912
76082
  * @returns Value of property `height`
75913
76083
  */
75914
76084
  getHeight(): CSSSize;
76085
+ /**
76086
+ * Gets current value of property {@link #getIsTrustedSource isTrustedSource}.
76087
+ *
76088
+ * Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
76089
+ * can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
76090
+ * "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
76091
+ * Set this property to true only when the PDF is generated by the application or the PDF is scanned for
76092
+ * viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
76093
+ * desktop devices, which overrides any configuration that has been provided by the application for the
76094
+ * property displayType. This means that the PDFViewer appears as a toolbar with a download button.
76095
+ *
76096
+ * Default value is `true`.
76097
+ *
76098
+ * @returns Value of property `isTrustedSource`
76099
+ */
76100
+ getIsTrustedSource(): boolean;
75915
76101
  /**
75916
76102
  * Gets content of aggregation {@link #getPopupButtons popupButtons}.
75917
76103
  *
@@ -76119,6 +76305,29 @@ declare module "sap/m/PDFViewer" {
76119
76305
  */
76120
76306
  sHeight?: CSSSize
76121
76307
  ): this;
76308
+ /**
76309
+ * Sets a new value for property {@link #getIsTrustedSource isTrustedSource}.
76310
+ *
76311
+ * Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
76312
+ * can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
76313
+ * "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
76314
+ * Set this property to true only when the PDF is generated by the application or the PDF is scanned for
76315
+ * viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
76316
+ * desktop devices, which overrides any configuration that has been provided by the application for the
76317
+ * property displayType. This means that the PDFViewer appears as a toolbar with a download button.
76318
+ *
76319
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
76320
+ *
76321
+ * Default value is `true`.
76322
+ *
76323
+ * @returns Reference to `this` in order to allow method chaining
76324
+ */
76325
+ setIsTrustedSource(
76326
+ /**
76327
+ * New value for property `isTrustedSource`
76328
+ */
76329
+ bIsTrustedSource?: boolean
76330
+ ): this;
76122
76331
  /**
76123
76332
  * @deprecated (since 1.50.0) - replaced by {@link sap.m.PDFViewer#getTitle}.
76124
76333
  *
@@ -76277,6 +76486,17 @@ declare module "sap/m/PDFViewer" {
76277
76486
  | PropertyBindingInfo
76278
76487
  | `{${string}}`;
76279
76488
 
76489
+ /**
76490
+ * Parameter to determine if the given PDF is from a trusted source. If the source is valid this property
76491
+ * can be set to true. If isTrustedSource is set to true, the PDFViewer opens with the displayType set to
76492
+ * "Embedded" on desktop devices, which means that the PDF content is directly shown within the PDFViewer.
76493
+ * Set this property to true only when the PDF is generated by the application or the PDF is scanned for
76494
+ * viruses. If isTrustedSource is set to false, the PDFViewer opens with the displayType set to "Link" on
76495
+ * desktop devices, which overrides any configuration that has been provided by the application for the
76496
+ * property displayType. This means that the PDFViewer appears as a toolbar with a download button.
76497
+ */
76498
+ isTrustedSource?: boolean | PropertyBindingInfo | `{${string}}`;
76499
+
76280
76500
  /**
76281
76501
  * A custom control that can be used instead of the error message specified by the errorPlaceholderMessage
76282
76502
  * property.
@@ -141596,6 +141816,8 @@ declare namespace sap {
141596
141816
 
141597
141817
  "sap/m/p13n/GroupPanel": undefined;
141598
141818
 
141819
+ "sap/m/p13n/MetadataHelper": undefined;
141820
+
141599
141821
  "sap/m/p13n/modification/FlexModificationHandler": undefined;
141600
141822
 
141601
141823
  "sap/m/p13n/modification/LocalStorageModificationHandler": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/tnt/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/codeeditor/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/commons/library" {
4
4
  import { ColorPickerMode as ColorPickerMode1 } from "sap/ui/unified/library";
@@ -264,7 +264,7 @@ interface JQuery<TElement = HTMLElement> extends Iterable<TElement> {
264
264
  ): jQuery;
265
265
  }
266
266
 
267
- // For Library Version: 1.108.24
267
+ // For Library Version: 1.108.26
268
268
 
269
269
  declare module "sap/base/assert" {
270
270
  /**
@@ -1,3 +1,3 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare namespace sap {}
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/fl/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/integration/library" {
4
4
  import { URI } from "sap/ui/core/library";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/layout/library" {
4
4
  import Control from "sap/ui/core/Control";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/mdc/filterbar/vh/FilterContainer" {
4
4
  import Metadata from "sap/ui/base/Metadata";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/rta/api/startAdaptation" {
4
4
  import Control from "sap/ui/core/Control";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/suite/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/support/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/table/library" {
4
4
  import TreeAutoExpandMode1 from "sap/ui/model/TreeAutoExpandMode";
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/testrecorder/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.108.24
1
+ // For Library Version: 1.108.26
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**