@openui5/ts-types 1.117.1 → 1.118.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/sap.f.d.ts +414 -1
- package/types/sap.m.d.ts +205 -74
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +5 -2
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.core.d.ts +994 -179
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +54 -3
- package/types/sap.ui.integration.d.ts +65 -1
- package/types/sap.ui.layout.d.ts +1 -1
- package/types/sap.ui.mdc.d.ts +424 -139
- package/types/sap.ui.rta.d.ts +1 -4
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +176 -36
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +1 -20
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.webc.common.d.ts +75 -33
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uxap.d.ts +116 -1
package/types/sap.ui.core.d.ts
CHANGED
|
@@ -280,7 +280,7 @@ declare namespace sap {
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
// For Library Version: 1.
|
|
283
|
+
// For Library Version: 1.118.0
|
|
284
284
|
|
|
285
285
|
declare module "sap/base/assert" {
|
|
286
286
|
/**
|
|
@@ -3320,6 +3320,105 @@ declare module "sap/ui/core/InvisibleRenderer" {
|
|
|
3320
3320
|
export default InvisibleRenderer;
|
|
3321
3321
|
}
|
|
3322
3322
|
|
|
3323
|
+
declare module "sap/ui/core/Messaging" {
|
|
3324
|
+
/**
|
|
3325
|
+
* @since 1.118.0
|
|
3326
|
+
*
|
|
3327
|
+
* Messaging provides a central place for managing `sap.ui.core.message.Messages`.
|
|
3328
|
+
*/
|
|
3329
|
+
interface Messaging {
|
|
3330
|
+
/**
|
|
3331
|
+
* Add messages to Messaging
|
|
3332
|
+
*/
|
|
3333
|
+
addMessages(
|
|
3334
|
+
/**
|
|
3335
|
+
* Array of sap.ui.core.message.Message or single sap.ui.core.message.Message
|
|
3336
|
+
*/
|
|
3337
|
+
vMessages: sap.ui.core.message.Message | sap.ui.core.message.Message[]
|
|
3338
|
+
): void;
|
|
3339
|
+
/**
|
|
3340
|
+
* Get the MessageModel
|
|
3341
|
+
*
|
|
3342
|
+
* @returns oMessageModel The Message Model
|
|
3343
|
+
*/
|
|
3344
|
+
getMessageModel(): sap.ui.model.message.MessageModel;
|
|
3345
|
+
/**
|
|
3346
|
+
* Register MessageProcessor
|
|
3347
|
+
*/
|
|
3348
|
+
registerMessageProcessor(
|
|
3349
|
+
/**
|
|
3350
|
+
* The MessageProcessor
|
|
3351
|
+
*/
|
|
3352
|
+
oProcessor: sap.ui.core.message.MessageProcessor
|
|
3353
|
+
): void;
|
|
3354
|
+
/**
|
|
3355
|
+
* When using the databinding type system, the validation/parsing of a new property value could fail. In
|
|
3356
|
+
* this case, a validationError/parseError event is fired. These events bubble up to the core. For registered
|
|
3357
|
+
* ManagedObjects, the Messaging attaches to these events and creates a `sap.ui.core.message.Message` (bHandleValidation=true)
|
|
3358
|
+
* for each of these errors and cancels the event bubbling.
|
|
3359
|
+
*/
|
|
3360
|
+
registerObject(
|
|
3361
|
+
/**
|
|
3362
|
+
* The sap.ui.base.ManagedObject
|
|
3363
|
+
*/
|
|
3364
|
+
oObject: sap.ui.base.ManagedObject,
|
|
3365
|
+
/**
|
|
3366
|
+
* Handle validationError/parseError events for this object. If set to true, the Messaging creates a Message
|
|
3367
|
+
* for each validation/parse error. The event bubbling is canceled in every case.
|
|
3368
|
+
*/
|
|
3369
|
+
bHandleValidation: boolean
|
|
3370
|
+
): void;
|
|
3371
|
+
/**
|
|
3372
|
+
* Remove all messages
|
|
3373
|
+
*/
|
|
3374
|
+
removeAllMessages(): void;
|
|
3375
|
+
/**
|
|
3376
|
+
* Remove given Messages
|
|
3377
|
+
*/
|
|
3378
|
+
removeMessages(
|
|
3379
|
+
/**
|
|
3380
|
+
* The message(s) to be removed.
|
|
3381
|
+
*/
|
|
3382
|
+
vMessages: sap.ui.core.message.Message | sap.ui.core.message.Message[]
|
|
3383
|
+
): void;
|
|
3384
|
+
/**
|
|
3385
|
+
* Deregister MessageProcessor
|
|
3386
|
+
*/
|
|
3387
|
+
unregisterMessageProcessor(
|
|
3388
|
+
/**
|
|
3389
|
+
* The MessageProcessor
|
|
3390
|
+
*/
|
|
3391
|
+
oProcessor: sap.ui.core.message.MessageProcessor
|
|
3392
|
+
): void;
|
|
3393
|
+
/**
|
|
3394
|
+
* Unregister ManagedObject
|
|
3395
|
+
*/
|
|
3396
|
+
unregisterObject(
|
|
3397
|
+
/**
|
|
3398
|
+
* The sap.ui.base.ManagedObject
|
|
3399
|
+
*/
|
|
3400
|
+
oObject: sap.ui.base.ManagedObject
|
|
3401
|
+
): void;
|
|
3402
|
+
/**
|
|
3403
|
+
* Update Messages by providing two arrays of old and new messages.
|
|
3404
|
+
*
|
|
3405
|
+
* The old ones will be removed, the new ones will be added.
|
|
3406
|
+
*/
|
|
3407
|
+
updateMessages(
|
|
3408
|
+
/**
|
|
3409
|
+
* Array of old messages to be removed
|
|
3410
|
+
*/
|
|
3411
|
+
aOldMessages: sap.ui.core.message.Message[],
|
|
3412
|
+
/**
|
|
3413
|
+
* Array of new messages to be added
|
|
3414
|
+
*/
|
|
3415
|
+
aNewMessages: sap.ui.core.message.Message[]
|
|
3416
|
+
): void;
|
|
3417
|
+
}
|
|
3418
|
+
const Messaging: Messaging;
|
|
3419
|
+
export default Messaging;
|
|
3420
|
+
}
|
|
3421
|
+
|
|
3323
3422
|
declare module "sap/ui/core/syncStyleClass" {
|
|
3324
3423
|
/**
|
|
3325
3424
|
* @since 1.58
|
|
@@ -3347,6 +3446,55 @@ declare module "sap/ui/core/syncStyleClass" {
|
|
|
3347
3446
|
): jQuery | Element;
|
|
3348
3447
|
}
|
|
3349
3448
|
|
|
3449
|
+
declare module "sap/ui/core/Theming" {
|
|
3450
|
+
/**
|
|
3451
|
+
* @since 1.118
|
|
3452
|
+
*
|
|
3453
|
+
* Provides theming related API
|
|
3454
|
+
*/
|
|
3455
|
+
interface Theming {
|
|
3456
|
+
/**
|
|
3457
|
+
* Attaches event handler `fnFunction` to the {@link #event:applied applied} event
|
|
3458
|
+
*/
|
|
3459
|
+
attachApplied(
|
|
3460
|
+
/**
|
|
3461
|
+
* The function to be called, when the event occurs
|
|
3462
|
+
*/
|
|
3463
|
+
fnFunction: Function
|
|
3464
|
+
): void;
|
|
3465
|
+
/**
|
|
3466
|
+
* Detaches event handler `fnFunction` from the {@link #event:applied applied} event
|
|
3467
|
+
*
|
|
3468
|
+
* The passed function must match the one used for event registration.
|
|
3469
|
+
*/
|
|
3470
|
+
detachApplied(
|
|
3471
|
+
/**
|
|
3472
|
+
* The function to be called, when the event occurs
|
|
3473
|
+
*/
|
|
3474
|
+
fnFunction: Function
|
|
3475
|
+
): void;
|
|
3476
|
+
/**
|
|
3477
|
+
* Returns the theme name
|
|
3478
|
+
*
|
|
3479
|
+
* @returns the theme name
|
|
3480
|
+
*/
|
|
3481
|
+
getTheme(): string;
|
|
3482
|
+
/**
|
|
3483
|
+
* Allows setting the theme name
|
|
3484
|
+
*
|
|
3485
|
+
* @returns `this` to allow method chaining
|
|
3486
|
+
*/
|
|
3487
|
+
setTheme(
|
|
3488
|
+
/**
|
|
3489
|
+
* the theme name
|
|
3490
|
+
*/
|
|
3491
|
+
sTheme: string
|
|
3492
|
+
): this;
|
|
3493
|
+
}
|
|
3494
|
+
const Theming: Theming;
|
|
3495
|
+
export default Theming;
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3350
3498
|
declare module "sap/ui/dom/containsOrEquals" {
|
|
3351
3499
|
/**
|
|
3352
3500
|
* @since 1.58
|
|
@@ -5082,7 +5230,7 @@ declare namespace sap {
|
|
|
5082
5230
|
*/
|
|
5083
5231
|
manifestFirst?: boolean;
|
|
5084
5232
|
/**
|
|
5085
|
-
* If set to `true` validation of the component is handled by the `
|
|
5233
|
+
* If set to `true` validation of the component is handled by the `Messaging`
|
|
5086
5234
|
*/
|
|
5087
5235
|
handleValidation?: string;
|
|
5088
5236
|
}
|
|
@@ -6180,6 +6328,9 @@ declare namespace sap {
|
|
|
6180
6328
|
oController?: sap.ui.core.mvc.Controller | Object
|
|
6181
6329
|
): sap.ui.core.Control | sap.ui.core.Control[];
|
|
6182
6330
|
/**
|
|
6331
|
+
* @deprecated (since 1.118) - Please require 'sap/ui/core/Core' instead and use the module export directly
|
|
6332
|
+
* without using 'new'."
|
|
6333
|
+
*
|
|
6183
6334
|
* Retrieve the {@link sap.ui.core.Core SAPUI5 Core} instance for the current window.
|
|
6184
6335
|
*
|
|
6185
6336
|
* @returns the API of the current SAPUI5 Core instance.
|
|
@@ -8040,7 +8191,9 @@ declare namespace sap {
|
|
|
8040
8191
|
key: string;
|
|
8041
8192
|
}) => sap.ui.base.ManagedObject;
|
|
8042
8193
|
/**
|
|
8043
|
-
* Map of event handler functions keyed by the name of the binding events that they should be attached to
|
|
8194
|
+
* Map of event handler functions keyed by the name of the binding events that they should be attached to.
|
|
8195
|
+
* The names and value ranges of the supported events depend on the model implementation and should be documented
|
|
8196
|
+
* with the model-specific subclass of `sap.ui.model.ListBinding`.
|
|
8044
8197
|
*/
|
|
8045
8198
|
events?: Record<string, Function>;
|
|
8046
8199
|
};
|
|
@@ -8235,7 +8388,9 @@ declare namespace sap {
|
|
|
8235
8388
|
*/
|
|
8236
8389
|
parameters?: object;
|
|
8237
8390
|
/**
|
|
8238
|
-
* Map of event handler functions keyed by the name of the binding events that they are attached to
|
|
8391
|
+
* Map of event handler functions keyed by the name of the binding events that they are attached to. The
|
|
8392
|
+
* names and value ranges of the supported events depend on the model implementation and should be documented
|
|
8393
|
+
* with the model-specific subclass of `sap.ui.model.ContextBinding`.
|
|
8239
8394
|
*/
|
|
8240
8395
|
events?: Record<string, Function>;
|
|
8241
8396
|
};
|
|
@@ -16812,13 +16967,15 @@ declare namespace sap {
|
|
|
16812
16967
|
sType: sap.ui.core.MessageType
|
|
16813
16968
|
): void;
|
|
16814
16969
|
}
|
|
16815
|
-
|
|
16816
|
-
|
|
16970
|
+
/**
|
|
16971
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.core.Messaging Messaging} instead.
|
|
16972
|
+
*/
|
|
16973
|
+
class MessageManager extends sap.ui.base.Object {
|
|
16817
16974
|
/**
|
|
16818
16975
|
* Constructor for a new MessageManager.
|
|
16819
16976
|
*
|
|
16820
|
-
* Creating own instances of MessageManager is deprecated. Please require 'sap/ui/core/
|
|
16821
|
-
*
|
|
16977
|
+
* Creating own instances of MessageManager is deprecated. Please require 'sap/ui/core/Messaging' instead
|
|
16978
|
+
* and use the module export directly without using 'new'.
|
|
16822
16979
|
*/
|
|
16823
16980
|
constructor();
|
|
16824
16981
|
|
|
@@ -16826,7 +16983,7 @@ declare namespace sap {
|
|
|
16826
16983
|
* Creates a new subclass of class sap.ui.core.message.MessageManager with name `sClassName` and enriches
|
|
16827
16984
|
* it with the information contained in `oClassInfo`.
|
|
16828
16985
|
*
|
|
16829
|
-
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.
|
|
16986
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
|
|
16830
16987
|
*
|
|
16831
16988
|
* @returns Created class / constructor function
|
|
16832
16989
|
*/
|
|
@@ -16851,105 +17008,6 @@ declare namespace sap {
|
|
|
16851
17008
|
* @returns Metadata object describing this class
|
|
16852
17009
|
*/
|
|
16853
17010
|
static getMetadata(): sap.ui.base.Metadata;
|
|
16854
|
-
/**
|
|
16855
|
-
* Add messages to MessageManager
|
|
16856
|
-
*/
|
|
16857
|
-
addMessages(
|
|
16858
|
-
/**
|
|
16859
|
-
* Array of sap.ui.core.message.Message or single sap.ui.core.message.Message
|
|
16860
|
-
*/
|
|
16861
|
-
vMessages:
|
|
16862
|
-
| sap.ui.core.message.Message
|
|
16863
|
-
| sap.ui.core.message.Message[]
|
|
16864
|
-
): void;
|
|
16865
|
-
/**
|
|
16866
|
-
* @deprecated (since 1.32) - do not call `destroy()` on a `MessageManager`.
|
|
16867
|
-
*
|
|
16868
|
-
* Destroy MessageManager
|
|
16869
|
-
*/
|
|
16870
|
-
destroy(): void;
|
|
16871
|
-
/**
|
|
16872
|
-
* Get the MessageModel
|
|
16873
|
-
*
|
|
16874
|
-
* @returns oMessageModel The Message Model
|
|
16875
|
-
*/
|
|
16876
|
-
getMessageModel(): sap.ui.model.message.MessageModel;
|
|
16877
|
-
/**
|
|
16878
|
-
* Register MessageProcessor
|
|
16879
|
-
*/
|
|
16880
|
-
registerMessageProcessor(
|
|
16881
|
-
/**
|
|
16882
|
-
* The MessageProcessor
|
|
16883
|
-
*/
|
|
16884
|
-
oProcessor: sap.ui.core.message.MessageProcessor
|
|
16885
|
-
): void;
|
|
16886
|
-
/**
|
|
16887
|
-
* When using the databinding type system, the validation/parsing of a new property value could fail. In
|
|
16888
|
-
* this case, a validationError/parseError event is fired. These events bubble up to the core. For registered
|
|
16889
|
-
* ManagedObjects, the MessageManager attaches to these events and creates a `sap.ui.core.message.Message`
|
|
16890
|
-
* (bHandleValidation=true) for each of these errors and cancels the event bubbling.
|
|
16891
|
-
*/
|
|
16892
|
-
registerObject(
|
|
16893
|
-
/**
|
|
16894
|
-
* The sap.ui.base.ManagedObject
|
|
16895
|
-
*/
|
|
16896
|
-
oObject: sap.ui.base.ManagedObject,
|
|
16897
|
-
/**
|
|
16898
|
-
* Handle validationError/parseError events for this object. If set to true, the MessageManager creates
|
|
16899
|
-
* a Message for each validation/parse error. The event bubbling is canceled in every case.
|
|
16900
|
-
*/
|
|
16901
|
-
bHandleValidation: boolean
|
|
16902
|
-
): void;
|
|
16903
|
-
/**
|
|
16904
|
-
* Remove all messages
|
|
16905
|
-
*/
|
|
16906
|
-
removeAllMessages(): void;
|
|
16907
|
-
/**
|
|
16908
|
-
* Remove given Messages
|
|
16909
|
-
*/
|
|
16910
|
-
removeMessages(
|
|
16911
|
-
/**
|
|
16912
|
-
* The message(s) to be removed.
|
|
16913
|
-
*/
|
|
16914
|
-
vMessages:
|
|
16915
|
-
| sap.ui.core.message.Message
|
|
16916
|
-
| sap.ui.core.message.Message[]
|
|
16917
|
-
): void;
|
|
16918
|
-
/**
|
|
16919
|
-
* Deregister MessageProcessor
|
|
16920
|
-
*/
|
|
16921
|
-
unregisterMessageProcessor(
|
|
16922
|
-
/**
|
|
16923
|
-
* The MessageProcessor
|
|
16924
|
-
*/
|
|
16925
|
-
oProcessor: sap.ui.core.message.MessageProcessor
|
|
16926
|
-
): void;
|
|
16927
|
-
/**
|
|
16928
|
-
* Unregister ManagedObject
|
|
16929
|
-
*/
|
|
16930
|
-
unregisterObject(
|
|
16931
|
-
/**
|
|
16932
|
-
* The sap.ui.base.ManagedObject
|
|
16933
|
-
*/
|
|
16934
|
-
oObject: sap.ui.base.ManagedObject
|
|
16935
|
-
): void;
|
|
16936
|
-
/**
|
|
16937
|
-
* @since 1.115
|
|
16938
|
-
*
|
|
16939
|
-
* Update Messages by providing two arrays of old and new messages.
|
|
16940
|
-
*
|
|
16941
|
-
* The old ones will be removed, the new ones will be added.
|
|
16942
|
-
*/
|
|
16943
|
-
updateMessages(
|
|
16944
|
-
/**
|
|
16945
|
-
* Array of old messages to be removed
|
|
16946
|
-
*/
|
|
16947
|
-
aOldMessages: any[],
|
|
16948
|
-
/**
|
|
16949
|
-
* Array of new messages to be added
|
|
16950
|
-
*/
|
|
16951
|
-
aNewMessages: any[]
|
|
16952
|
-
): void;
|
|
16953
17011
|
}
|
|
16954
17012
|
/**
|
|
16955
17013
|
* This is an abstract base class for MessageParser objects.
|
|
@@ -17126,7 +17184,7 @@ declare namespace sap {
|
|
|
17126
17184
|
oListener?: object
|
|
17127
17185
|
): this;
|
|
17128
17186
|
/**
|
|
17129
|
-
* @deprecated - 1.115 Use {@link sap.ui.core.
|
|
17187
|
+
* @deprecated - 1.115 Use {@link sap.ui.core.Messaging#updateMessages} instead
|
|
17130
17188
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
17131
17189
|
*
|
|
17132
17190
|
* Fires event {@link #event:messageChange messageChange} to attached listeners.
|
|
@@ -17155,6 +17213,31 @@ declare namespace sap {
|
|
|
17155
17213
|
mMessages: Record<string, sap.ui.core.message.Message[]>
|
|
17156
17214
|
): void;
|
|
17157
17215
|
}
|
|
17216
|
+
/**
|
|
17217
|
+
* Specifies possible message types.
|
|
17218
|
+
*/
|
|
17219
|
+
enum MessageType {
|
|
17220
|
+
/**
|
|
17221
|
+
* Message is an error
|
|
17222
|
+
*/
|
|
17223
|
+
Error = "Error",
|
|
17224
|
+
/**
|
|
17225
|
+
* Message should be just an information
|
|
17226
|
+
*/
|
|
17227
|
+
Information = "Information",
|
|
17228
|
+
/**
|
|
17229
|
+
* Message has no specific level
|
|
17230
|
+
*/
|
|
17231
|
+
None = "None",
|
|
17232
|
+
/**
|
|
17233
|
+
* Message is a success message
|
|
17234
|
+
*/
|
|
17235
|
+
Success = "Success",
|
|
17236
|
+
/**
|
|
17237
|
+
* Message is a warning
|
|
17238
|
+
*/
|
|
17239
|
+
Warning = "Warning",
|
|
17240
|
+
}
|
|
17158
17241
|
|
|
17159
17242
|
type MessageProcessor$MessageChangeEvent = sap.ui.base.Event<
|
|
17160
17243
|
MessageProcessor$MessageChangeEventParameters,
|
|
@@ -19743,14 +19826,20 @@ declare namespace sap {
|
|
|
19743
19826
|
|
|
19744
19827
|
/**
|
|
19745
19828
|
* The structure of the "metadata" object which is passed when inheriting from sap.ui.core.Component using
|
|
19746
|
-
* its static "extend" method. See {@link sap.ui.core.Component.extend}
|
|
19829
|
+
* its static "extend" method. See {@link sap.ui.core.Component.extend} and {@link sap.ui.core.Component.create }
|
|
19830
|
+
* for additional details on its usage.
|
|
19747
19831
|
*/
|
|
19748
19832
|
type MetadataOptions = sap.ui.base.ManagedObject.MetadataOptions & {
|
|
19749
19833
|
/**
|
|
19750
|
-
*
|
|
19834
|
+
* The manifest option determines how a component manifest should be evaluated. Default is `undefined`.
|
|
19835
|
+
*
|
|
19836
|
+
* When set to `false` or `undefined`, no manifest.json is present for this Component, however the Component
|
|
19837
|
+
* can still be started with a manifest given as an argument of the factory function, see {@link sap.ui.core.Component.create}.
|
|
19838
|
+
* When set to an object, this object will be interpreted as a manifest and must adhere to the {@link https://ui5.sap.com/#/topic/be0cf40f61184b358b5faedaec98b2da descriptor schema for components}.
|
|
19839
|
+
* When set to the string literal `"json"`, this property indicates that the component configuration should
|
|
19751
19840
|
* be read from a manifest.json file which is assumed to exist next to the Component.js file.
|
|
19752
19841
|
*/
|
|
19753
|
-
manifest?: "json";
|
|
19842
|
+
manifest?: undefined | false | object | "json";
|
|
19754
19843
|
};
|
|
19755
19844
|
}
|
|
19756
19845
|
|
|
@@ -27825,6 +27914,301 @@ declare namespace sap {
|
|
|
27825
27914
|
}
|
|
27826
27915
|
}
|
|
27827
27916
|
|
|
27917
|
+
namespace webc {
|
|
27918
|
+
namespace WebComponent {
|
|
27919
|
+
namespace MetadataOptions {
|
|
27920
|
+
namespace Association {
|
|
27921
|
+
/**
|
|
27922
|
+
* An object literal describing the mapping of an association as property of a class derived from `sap.ui.core.webc.WebComponent`.
|
|
27923
|
+
*/
|
|
27924
|
+
type Mapping = {
|
|
27925
|
+
/**
|
|
27926
|
+
* Defines the mapping of the association which defaults to "property". Associations are forwarded to the
|
|
27927
|
+
* corresponding mutator of the Web Component.
|
|
27928
|
+
*/
|
|
27929
|
+
type?: "property";
|
|
27930
|
+
/**
|
|
27931
|
+
* Defines the target of the mapping of the association to which property it will be mapped to.
|
|
27932
|
+
*/
|
|
27933
|
+
to?: string;
|
|
27934
|
+
/**
|
|
27935
|
+
* Defines the name of the formatter function at the WebComponent instance to format the value before its
|
|
27936
|
+
* being mapped.
|
|
27937
|
+
*/
|
|
27938
|
+
formatter?: string;
|
|
27939
|
+
};
|
|
27940
|
+
}
|
|
27941
|
+
|
|
27942
|
+
namespace Property {
|
|
27943
|
+
/**
|
|
27944
|
+
* An object literal describing the mapping of a property of a class derived from `sap.ui.core.webc.WebComponent`.
|
|
27945
|
+
*/
|
|
27946
|
+
type Mapping = {
|
|
27947
|
+
/**
|
|
27948
|
+
* Defines the mapping of the property to be either "property", "style", "textContent", "slot", or "none".
|
|
27949
|
+
* The default mapping of a property is "property" which either renders the value of the property into an
|
|
27950
|
+
* attribute of the custom tag or forwards object properties to the mutator in the onAfterRendering phase.
|
|
27951
|
+
*/
|
|
27952
|
+
type?: "property" | "style" | "textContent" | "slot" | "none";
|
|
27953
|
+
/**
|
|
27954
|
+
* Defines the target of the mapping of the property (e.g. the name of the attribute/property).
|
|
27955
|
+
*/
|
|
27956
|
+
to?: string;
|
|
27957
|
+
/**
|
|
27958
|
+
* Defines the name of the formatter function at the WebComponent instance to format the value before its
|
|
27959
|
+
* being mapped.
|
|
27960
|
+
*/
|
|
27961
|
+
formatter?: string;
|
|
27962
|
+
};
|
|
27963
|
+
}
|
|
27964
|
+
|
|
27965
|
+
/**
|
|
27966
|
+
* An object literal describing a property of a class derived from `sap.ui.core.webc.WebComponent`. See
|
|
27967
|
+
* {@link sap.ui.core.webc.WebComponent.MetadataOptions MetadataOptions} for details on its usage.
|
|
27968
|
+
*/
|
|
27969
|
+
type Aggregation = sap.ui.base.ManagedObject.MetadataOptions.Aggregation & {
|
|
27970
|
+
/**
|
|
27971
|
+
* Flag that marks the property as deprecated (defaults to false). May lead to an additional warning log
|
|
27972
|
+
* message at runtime when the property is still used. For the documentation, also add a `@deprecated` tag
|
|
27973
|
+
* in the JSDoc, describing since when it is deprecated and what any alternatives are.
|
|
27974
|
+
*/
|
|
27975
|
+
slot?: string;
|
|
27976
|
+
};
|
|
27977
|
+
|
|
27978
|
+
/**
|
|
27979
|
+
* An object literal describing an association of a class derived from `sap.ui.core.webc.WebComponent`.
|
|
27980
|
+
* See {@link sap.ui.core.webc.WebComponent.MetadataOptions MetadataOptions} for details on its usage.
|
|
27981
|
+
*/
|
|
27982
|
+
type Association = sap.ui.base.ManagedObject.MetadataOptions.Association & {
|
|
27983
|
+
/**
|
|
27984
|
+
* Defines the mapping of the association which defaults to "property". Associations are forwarded to the
|
|
27985
|
+
* corresponding mutator of the Web Component.
|
|
27986
|
+
*/
|
|
27987
|
+
mapping?:
|
|
27988
|
+
| "property"
|
|
27989
|
+
| sap.ui.core.webc.WebComponent.MetadataOptionsAssociationMapping;
|
|
27990
|
+
};
|
|
27991
|
+
|
|
27992
|
+
/**
|
|
27993
|
+
* An object literal describing a property of a class derived from `sap.ui.core.webc.WebComponent`. See
|
|
27994
|
+
* {@link sap.ui.core.webc.WebComponent.MetadataOptions MetadataOptions} for details on its usage.
|
|
27995
|
+
*/
|
|
27996
|
+
type Property = sap.ui.base.ManagedObject.MetadataOptions.Property & {
|
|
27997
|
+
/**
|
|
27998
|
+
* Defines the mapping of the property to be either "property", "style", "textContent", "slot", or "none".
|
|
27999
|
+
* The default mapping of a property is "property" which either renders the value of the property into an
|
|
28000
|
+
* attribute of the custom tag or forwards object properties to the mutator in the onAfterRendering phase.
|
|
28001
|
+
*/
|
|
28002
|
+
mapping?:
|
|
28003
|
+
| "property"
|
|
28004
|
+
| "style"
|
|
28005
|
+
| "textContent"
|
|
28006
|
+
| "slot"
|
|
28007
|
+
| "none"
|
|
28008
|
+
| sap.ui.core.webc.WebComponent.MetadataOptionsPropertyMapping;
|
|
28009
|
+
};
|
|
28010
|
+
}
|
|
28011
|
+
|
|
28012
|
+
/**
|
|
28013
|
+
* The structure of the "metadata" object which is passed when inheriting from sap.ui.core.Element using
|
|
28014
|
+
* its static "extend" method. See {@link sap.ui.core.Element.extend} for details on its usage.
|
|
28015
|
+
*/
|
|
28016
|
+
type MetadataOptions = sap.ui.core.Element.MetadataOptions & {
|
|
28017
|
+
/**
|
|
28018
|
+
* Tag name of the Web Component to be used in the renderer to render the HTML.
|
|
28019
|
+
*/
|
|
28020
|
+
tag: string;
|
|
28021
|
+
/**
|
|
28022
|
+
* An object literal whose properties each define a new managed property in the WebComponent subclass. See
|
|
28023
|
+
* {@link sap.ui.base.ManagedObject.MetadataOptions.Property Property} for more details.
|
|
28024
|
+
*/
|
|
28025
|
+
properties?: Record<
|
|
28026
|
+
string,
|
|
28027
|
+
string | sap.ui.core.webc.WebComponent.MetadataOptions.Property
|
|
28028
|
+
>;
|
|
28029
|
+
/**
|
|
28030
|
+
* An object literal whose properties each define a new aggregation in the ManagedObject subclass. See {@link sap.ui.base.ManagedObject.MetadataOptions.Aggregation Aggregation }
|
|
28031
|
+
* for more details.
|
|
28032
|
+
*/
|
|
28033
|
+
aggregations?: Record<
|
|
28034
|
+
string,
|
|
28035
|
+
string | sap.ui.core.webc.WebComponent.MetadataOptions.Aggregation
|
|
28036
|
+
>;
|
|
28037
|
+
/**
|
|
28038
|
+
* An object literal whose properties each define a new association in the ManagedObject subclass. See {@link sap.ui.base.ManagedObject.MetadataOptions.Association Association }
|
|
28039
|
+
* for more details.
|
|
28040
|
+
*/
|
|
28041
|
+
associations?: Record<
|
|
28042
|
+
string,
|
|
28043
|
+
string | sap.ui.core.webc.WebComponent.MetadataOptions.Association
|
|
28044
|
+
>;
|
|
28045
|
+
/**
|
|
28046
|
+
* Proxied public getters of the Web Component which are directly accessible on the wrapper Control.
|
|
28047
|
+
*/
|
|
28048
|
+
getters?: string[];
|
|
28049
|
+
/**
|
|
28050
|
+
* Proxied public methods of the Web Component which are directly accessible on the wrapper Control.
|
|
28051
|
+
*/
|
|
28052
|
+
methods?: string[];
|
|
28053
|
+
};
|
|
28054
|
+
|
|
28055
|
+
/**
|
|
28056
|
+
* HACK! This mapping omits the `no-unnecessary-qualifier` error or we need to extend the `tslint.json`!
|
|
28057
|
+
*/
|
|
28058
|
+
type MetadataOptionsAssociationMapping = sap.ui.core.webc.WebComponent.MetadataOptions.Association.Mapping;
|
|
28059
|
+
|
|
28060
|
+
/**
|
|
28061
|
+
* HACK! This mapping omits the `no-unnecessary-qualifier` error or we need to extend the `tslint.json`!
|
|
28062
|
+
*/
|
|
28063
|
+
type MetadataOptionsPropertyMapping = sap.ui.core.webc.WebComponent.MetadataOptions.Property.Mapping;
|
|
28064
|
+
}
|
|
28065
|
+
|
|
28066
|
+
interface $WebComponentSettings extends sap.ui.core.$ControlSettings {}
|
|
28067
|
+
|
|
28068
|
+
/**
|
|
28069
|
+
* @since 1.118.0
|
|
28070
|
+
* @experimental (since 1.118.0) - The API might change. It is not intended for productive usage yet!
|
|
28071
|
+
*
|
|
28072
|
+
* Base Class for Web Components. Web Components are agnostic UI elements which can be integrated into the
|
|
28073
|
+
* UI5 programming model by using this wrapper control. This wrapper control takes care to propagate the
|
|
28074
|
+
* properties, the aggregations and the events. It also ensures to render the control and put the aggregated
|
|
28075
|
+
* controls in the dedicated slots of the Web Component.
|
|
28076
|
+
*/
|
|
28077
|
+
class WebComponent extends sap.ui.core.Control {
|
|
28078
|
+
/**
|
|
28079
|
+
* Constructs and initializes a Web Component Wrapper with the given `sId` and settings.
|
|
28080
|
+
*
|
|
28081
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
28082
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
28083
|
+
* of the syntax of the settings object.
|
|
28084
|
+
*/
|
|
28085
|
+
constructor(
|
|
28086
|
+
/**
|
|
28087
|
+
* Object with initial settings for the new control
|
|
28088
|
+
*/
|
|
28089
|
+
mSettings?: sap.ui.core.webc.$WebComponentSettings
|
|
28090
|
+
);
|
|
28091
|
+
/**
|
|
28092
|
+
* Constructs and initializes a Web Component Wrapper with the given `sId` and settings.
|
|
28093
|
+
*
|
|
28094
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
28095
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
28096
|
+
* of the syntax of the settings object.
|
|
28097
|
+
*/
|
|
28098
|
+
constructor(
|
|
28099
|
+
/**
|
|
28100
|
+
* Optional ID for the new control; generated automatically if no non-empty ID is given Note: this can be
|
|
28101
|
+
* omitted, no matter whether `mSettings` will be given or not!
|
|
28102
|
+
*/
|
|
28103
|
+
sId?: string,
|
|
28104
|
+
/**
|
|
28105
|
+
* Object with initial settings for the new control
|
|
28106
|
+
*/
|
|
28107
|
+
mSettings?: sap.ui.core.webc.$WebComponentSettings
|
|
28108
|
+
);
|
|
28109
|
+
|
|
28110
|
+
/**
|
|
28111
|
+
* Defines a new subclass of WebComponent with the name `sClassName` and enriches it with the information
|
|
28112
|
+
* contained in `oClassInfo`.
|
|
28113
|
+
*
|
|
28114
|
+
* `oClassInfo` can contain the same information that {@link sap.ui.base.ManagedObject.extend} already accepts,
|
|
28115
|
+
* plus the `dnd` property in the metadata object literal to configure drag-and-drop behavior (see {@link sap.ui.core.webc.WebComponent.MetadataOptions MetadataOptions }
|
|
28116
|
+
* for details). Objects describing aggregations can also have a `dnd` property when used for a class extending
|
|
28117
|
+
* `WebComponent` (see {@link sap.ui.base.ManagedObject.MetadataOptions.AggregationDnD AggregationDnD}).
|
|
28118
|
+
*
|
|
28119
|
+
* Example:
|
|
28120
|
+
* ```javascript
|
|
28121
|
+
*
|
|
28122
|
+
* WebComponent.extend('sap.mylib.MyElement', {
|
|
28123
|
+
* metadata : {
|
|
28124
|
+
* library : 'sap.mylib',
|
|
28125
|
+
* tag : 'my-webcomponent',
|
|
28126
|
+
* properties : {
|
|
28127
|
+
* value : 'string',
|
|
28128
|
+
* width : {
|
|
28129
|
+
* type: 'sap.ui.core.CSSSize',
|
|
28130
|
+
* mapping: 'style'
|
|
28131
|
+
* }
|
|
28132
|
+
* },
|
|
28133
|
+
* defaultAggregation: "content",
|
|
28134
|
+
* aggregations : {
|
|
28135
|
+
* content : {
|
|
28136
|
+
* type: 'sap.ui.core.Control',
|
|
28137
|
+
* multiple : true
|
|
28138
|
+
* },
|
|
28139
|
+
* header : {
|
|
28140
|
+
* type : 'sap.ui.core.Control',
|
|
28141
|
+
* multiple : false,
|
|
28142
|
+
* slot: 'header'
|
|
28143
|
+
* }
|
|
28144
|
+
* }
|
|
28145
|
+
* }
|
|
28146
|
+
* });
|
|
28147
|
+
* ```
|
|
28148
|
+
*
|
|
28149
|
+
*
|
|
28150
|
+
* @returns Created class / constructor function
|
|
28151
|
+
*/
|
|
28152
|
+
static extend<T extends Record<string, unknown>>(
|
|
28153
|
+
/**
|
|
28154
|
+
* Name of the class to be created
|
|
28155
|
+
*/
|
|
28156
|
+
sClassName: string,
|
|
28157
|
+
/**
|
|
28158
|
+
* Object literal with information about the class
|
|
28159
|
+
*/
|
|
28160
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.core.webc.WebComponent>,
|
|
28161
|
+
/**
|
|
28162
|
+
* Constructor function for the metadata object. If not given, it defaults to `sap.ui.core.ElementMetadata`.
|
|
28163
|
+
*/
|
|
28164
|
+
FNMetaImpl?: Function
|
|
28165
|
+
): Function;
|
|
28166
|
+
/**
|
|
28167
|
+
* Returns a metadata object for class sap.ui.core.webc.WebComponent.
|
|
28168
|
+
*
|
|
28169
|
+
* @returns Metadata object describing this class
|
|
28170
|
+
*/
|
|
28171
|
+
static getMetadata(): sap.ui.core.webc.WebComponentMetadata;
|
|
28172
|
+
}
|
|
28173
|
+
/**
|
|
28174
|
+
* @since 1.118.0
|
|
28175
|
+
* @experimental (since 1.118.0) - The API might change. It is not intended for productive usage yet!
|
|
28176
|
+
*/
|
|
28177
|
+
class WebComponentMetadata extends sap.ui.core.ElementMetadata {
|
|
28178
|
+
/**
|
|
28179
|
+
* Creates a new metadata object for a WebComponent Wrapper subclass.
|
|
28180
|
+
*/
|
|
28181
|
+
constructor(
|
|
28182
|
+
/**
|
|
28183
|
+
* fully qualified name of the class that is described by this metadata object
|
|
28184
|
+
*/
|
|
28185
|
+
sClassName: string,
|
|
28186
|
+
/**
|
|
28187
|
+
* static info to construct the metadata from
|
|
28188
|
+
*/
|
|
28189
|
+
oClassInfo: object
|
|
28190
|
+
);
|
|
28191
|
+
|
|
28192
|
+
/**
|
|
28193
|
+
* Returns the list of public getters, proxied by the Component Wrapper to the component itself
|
|
28194
|
+
*/
|
|
28195
|
+
getGetters(): any[];
|
|
28196
|
+
/**
|
|
28197
|
+
* Returns the list of public methods, proxied by the Component Wrapper to the component itself
|
|
28198
|
+
*/
|
|
28199
|
+
getMethods(): any[];
|
|
28200
|
+
/**
|
|
28201
|
+
* Retrieves the renderer for the described web component class. Note: this is always the default renderer
|
|
28202
|
+
* and Web Component wrappers should not define their own renderers.
|
|
28203
|
+
*/
|
|
28204
|
+
getRenderer(): void;
|
|
28205
|
+
/**
|
|
28206
|
+
* Returns the tag, used to render the Component Wrapper
|
|
28207
|
+
*/
|
|
28208
|
+
getTag(): string;
|
|
28209
|
+
}
|
|
28210
|
+
}
|
|
28211
|
+
|
|
27828
28212
|
namespace ws {
|
|
27829
28213
|
namespace SapPcpWebSocket {
|
|
27830
28214
|
/**
|
|
@@ -28750,8 +29134,8 @@ declare namespace sap {
|
|
|
28750
29134
|
| `{${string}}`;
|
|
28751
29135
|
|
|
28752
29136
|
/**
|
|
28753
|
-
* Enable/disable validation handling by
|
|
28754
|
-
*
|
|
29137
|
+
* Enable/disable validation handling by Messaging for this component. The resulting Messages will be propagated
|
|
29138
|
+
* to the controls. This property can only be applied initially.
|
|
28755
29139
|
*/
|
|
28756
29140
|
handleValidation?:
|
|
28757
29141
|
| boolean
|
|
@@ -30194,8 +30578,6 @@ declare namespace sap {
|
|
|
30194
30578
|
*/
|
|
30195
30579
|
getTheme(): string;
|
|
30196
30580
|
/**
|
|
30197
|
-
* @since 1.99.0
|
|
30198
|
-
*
|
|
30199
30581
|
* Retrieves the configured IANA timezone ID.
|
|
30200
30582
|
*
|
|
30201
30583
|
* @returns The configured IANA timezone ID, e.g. "America/New_York"
|
|
@@ -30489,10 +30871,12 @@ declare namespace sap {
|
|
|
30489
30871
|
*/
|
|
30490
30872
|
getMetadata(): sap.ui.base.Metadata;
|
|
30491
30873
|
/**
|
|
30874
|
+
* @deprecated (since 1.118)
|
|
30875
|
+
*
|
|
30492
30876
|
* Enforces an immediate update of the visible UI (aka "rendering").
|
|
30493
30877
|
*
|
|
30494
|
-
* In general, applications should avoid calling this method and instead let the framework
|
|
30495
|
-
* rendering.
|
|
30878
|
+
* In general, applications and Controls should avoid calling this method and instead let the framework
|
|
30879
|
+
* manage any necessary rendering.
|
|
30496
30880
|
*/
|
|
30497
30881
|
applyChanges(): void;
|
|
30498
30882
|
/**
|
|
@@ -30540,6 +30924,9 @@ declare namespace sap {
|
|
|
30540
30924
|
oListener?: object
|
|
30541
30925
|
): void;
|
|
30542
30926
|
/**
|
|
30927
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#attachFormatError ManagedObject#attachFormatError }
|
|
30928
|
+
* instead.
|
|
30929
|
+
*
|
|
30543
30930
|
* Attaches event handler `fnFunction` to the {@link #event:formatError formatError} event of `sap.ui.core.Core`.
|
|
30544
30931
|
*
|
|
30545
30932
|
* When called, the context of the listener (its `this`) will be bound to `oListener` if specified, otherwise
|
|
@@ -30564,6 +30951,9 @@ declare namespace sap {
|
|
|
30564
30951
|
oListener?: object
|
|
30565
30952
|
): this;
|
|
30566
30953
|
/**
|
|
30954
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#attachFormatError ManagedObject#attachFormatError }
|
|
30955
|
+
* instead.
|
|
30956
|
+
*
|
|
30567
30957
|
* Attaches event handler `fnFunction` to the {@link #event:formatError formatError} event of `sap.ui.core.Core`.
|
|
30568
30958
|
*
|
|
30569
30959
|
* When called, the context of the listener (its `this`) will be bound to `oListener` if specified, otherwise
|
|
@@ -30585,6 +30975,7 @@ declare namespace sap {
|
|
|
30585
30975
|
): this;
|
|
30586
30976
|
/**
|
|
30587
30977
|
* @since 1.13.2
|
|
30978
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.core.Core.ready Core.ready} instead.
|
|
30588
30979
|
*
|
|
30589
30980
|
* Registers a given function that is executed after the framework has been initialized.
|
|
30590
30981
|
*
|
|
@@ -30636,6 +31027,9 @@ declare namespace sap {
|
|
|
30636
31027
|
oListener?: object
|
|
30637
31028
|
): void;
|
|
30638
31029
|
/**
|
|
31030
|
+
* @deprecated (since 1.118) - Please use {@link sap.base.i18n.Localization#attachChange Localization#attachChange }
|
|
31031
|
+
* instead.
|
|
31032
|
+
*
|
|
30639
31033
|
* Register a listener for the {@link #event:localizationChanged localizationChanged} event.
|
|
30640
31034
|
*
|
|
30641
31035
|
* When called, the context of the listener (its `this`) will be bound to `oListener` if specified, otherwise
|
|
@@ -30652,6 +31046,9 @@ declare namespace sap {
|
|
|
30652
31046
|
oListener?: object
|
|
30653
31047
|
): void;
|
|
30654
31048
|
/**
|
|
31049
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#attachParseError ManagedObject#attachParseError }
|
|
31050
|
+
* instead.
|
|
31051
|
+
*
|
|
30655
31052
|
* Attaches event handler `fnFunction` to the {@link #event:parseError parseError} event of `sap.ui.core.Core`.
|
|
30656
31053
|
*
|
|
30657
31054
|
* When called, the context of the listener (its `this`) will be bound to `oListener` if specified, otherwise
|
|
@@ -30677,6 +31074,9 @@ declare namespace sap {
|
|
|
30677
31074
|
oListener?: object
|
|
30678
31075
|
): this;
|
|
30679
31076
|
/**
|
|
31077
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#attachParseError ManagedObject#attachParseError }
|
|
31078
|
+
* instead.
|
|
31079
|
+
*
|
|
30680
31080
|
* Attaches event handler `fnFunction` to the {@link #event:parseError parseError} event of `sap.ui.core.Core`.
|
|
30681
31081
|
*
|
|
30682
31082
|
* When called, the context of the listener (its `this`) will be bound to `oListener` if specified, otherwise
|
|
@@ -30697,6 +31097,8 @@ declare namespace sap {
|
|
|
30697
31097
|
oListener?: object
|
|
30698
31098
|
): this;
|
|
30699
31099
|
/**
|
|
31100
|
+
* @deprecated (since 1.118) - See {@link sap.ui.core.Theming#attachApplied Theming#attachApplied} instead.
|
|
31101
|
+
*
|
|
30700
31102
|
* Attaches event handler `fnFunction` to the {@link #event:ThemeChanged ThemeChanged} event of this `sap.ui.core.Core`.
|
|
30701
31103
|
*
|
|
30702
31104
|
* When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
|
|
@@ -30713,6 +31115,9 @@ declare namespace sap {
|
|
|
30713
31115
|
oListener?: object
|
|
30714
31116
|
): void;
|
|
30715
31117
|
/**
|
|
31118
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#attachValidationError ManagedObject#attachValidationError }
|
|
31119
|
+
* instead.
|
|
31120
|
+
*
|
|
30716
31121
|
* Attaches event handler `fnFunction` to the {@link #event:validationError validationError} event of `sap.ui.core.Core`.
|
|
30717
31122
|
*
|
|
30718
31123
|
* When called, the context of the listener (its `this`) will be bound to `oListener` if specified, otherwise
|
|
@@ -30738,6 +31143,9 @@ declare namespace sap {
|
|
|
30738
31143
|
oListener?: object
|
|
30739
31144
|
): this;
|
|
30740
31145
|
/**
|
|
31146
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#attachValidationError ManagedObject#attachValidationError }
|
|
31147
|
+
* instead.
|
|
31148
|
+
*
|
|
30741
31149
|
* Attaches event handler `fnFunction` to the {@link #event:validationError validationError} event of `sap.ui.core.Core`.
|
|
30742
31150
|
*
|
|
30743
31151
|
* When called, the context of the listener (its `this`) will be bound to `oListener` if specified, otherwise
|
|
@@ -30758,6 +31166,9 @@ declare namespace sap {
|
|
|
30758
31166
|
oListener?: object
|
|
30759
31167
|
): this;
|
|
30760
31168
|
/**
|
|
31169
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#attachValidationSuccess ManagedObject#attachValidationSuccess }
|
|
31170
|
+
* instead.
|
|
31171
|
+
*
|
|
30761
31172
|
* Attaches event handler `fnFunction` to the {@link #event:validationSuccess validationSuccess} event of
|
|
30762
31173
|
* `sap.ui.core.Core`.
|
|
30763
31174
|
*
|
|
@@ -30783,6 +31194,9 @@ declare namespace sap {
|
|
|
30783
31194
|
oListener?: object
|
|
30784
31195
|
): this;
|
|
30785
31196
|
/**
|
|
31197
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#attachValidationSuccess ManagedObject#attachValidationSuccess }
|
|
31198
|
+
* instead.
|
|
31199
|
+
*
|
|
30786
31200
|
* Attaches event handler `fnFunction` to the {@link #event:validationSuccess validationSuccess} event of
|
|
30787
31201
|
* `sap.ui.core.Core`.
|
|
30788
31202
|
*
|
|
@@ -30804,6 +31218,9 @@ declare namespace sap {
|
|
|
30804
31218
|
oListener?: object
|
|
30805
31219
|
): this;
|
|
30806
31220
|
/**
|
|
31221
|
+
* @deprecated (since 1.118) - use {@link sap.ui.core.Control#getControlsByFieldGroup Control.prototype.getControlsByFieldGroup }
|
|
31222
|
+
* instead.
|
|
31223
|
+
*
|
|
30807
31224
|
* Returns a list of all controls with a field group ID. See {@link sap.ui.core.Control#checkFieldGroupIds Control.prototype.checkFieldGroupIds }
|
|
30808
31225
|
* for a description of the `vFieldGroupIds` parameter.
|
|
30809
31226
|
*
|
|
@@ -30931,6 +31348,9 @@ declare namespace sap {
|
|
|
30931
31348
|
oListener?: object
|
|
30932
31349
|
): void;
|
|
30933
31350
|
/**
|
|
31351
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#detachFormatError ManagedObject#detachFormatError }
|
|
31352
|
+
* instead.
|
|
31353
|
+
*
|
|
30934
31354
|
* Detaches event handler `fnFunction` from the {@link #event:formatError formatError} event of `sap.ui.core.Core`.
|
|
30935
31355
|
*
|
|
30936
31356
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -30968,6 +31388,9 @@ declare namespace sap {
|
|
|
30968
31388
|
oListener?: object
|
|
30969
31389
|
): void;
|
|
30970
31390
|
/**
|
|
31391
|
+
* @deprecated (since 1.118) - Please use {@link sap.base.i18n.Localization#detachChange Localization#detachChange }
|
|
31392
|
+
* instead.
|
|
31393
|
+
*
|
|
30971
31394
|
* Unregister a listener from the {@link #event:localizationChanged localizationChanged} event.
|
|
30972
31395
|
*
|
|
30973
31396
|
* The listener will only be unregistered if the same function/context combination is given as in the call
|
|
@@ -30984,6 +31407,9 @@ declare namespace sap {
|
|
|
30984
31407
|
oListener?: object
|
|
30985
31408
|
): void;
|
|
30986
31409
|
/**
|
|
31410
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#detachParseError ManagedObject#detachParseError }
|
|
31411
|
+
* instead.
|
|
31412
|
+
*
|
|
30987
31413
|
* Detaches event handler `fnFunction` from the {@link #event:parseError parseError} event of `sap.ui.core.Core`.
|
|
30988
31414
|
*
|
|
30989
31415
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -31001,6 +31427,8 @@ declare namespace sap {
|
|
|
31001
31427
|
oListener?: object
|
|
31002
31428
|
): this;
|
|
31003
31429
|
/**
|
|
31430
|
+
* @deprecated (since 1.118) - See {@link sap.ui.core.Theming#detachApplied Theming#detachApplied} instead.
|
|
31431
|
+
*
|
|
31004
31432
|
* Detaches event handler `fnFunction` from the {@link #event:ThemeChanged ThemeChanged} event of this `sap.ui.core.Core`.
|
|
31005
31433
|
*
|
|
31006
31434
|
* The passed function and listener object must match the ones used for event registration.
|
|
@@ -31016,6 +31444,9 @@ declare namespace sap {
|
|
|
31016
31444
|
oListener?: object
|
|
31017
31445
|
): void;
|
|
31018
31446
|
/**
|
|
31447
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#detachValidationError ManagedObject#detachValidationError }
|
|
31448
|
+
* instead.
|
|
31449
|
+
*
|
|
31019
31450
|
* Detaches event handler `fnFunction` from the {@link #event:validationError validationError} event of
|
|
31020
31451
|
* `sap.ui.core.Core`.
|
|
31021
31452
|
*
|
|
@@ -31034,6 +31465,9 @@ declare namespace sap {
|
|
|
31034
31465
|
oListener?: object
|
|
31035
31466
|
): this;
|
|
31036
31467
|
/**
|
|
31468
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#detachValidationSuccess ManagedObject#detachValidationSuccess }
|
|
31469
|
+
* instead.
|
|
31470
|
+
*
|
|
31037
31471
|
* Detaches event handler `fnFunction` from the {@link #event:validationSuccess validationSuccess} event
|
|
31038
31472
|
* of `sap.ui.core.Core`.
|
|
31039
31473
|
*
|
|
@@ -31052,6 +31486,8 @@ declare namespace sap {
|
|
|
31052
31486
|
oListener?: object
|
|
31053
31487
|
): this;
|
|
31054
31488
|
/**
|
|
31489
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#fireFormatError ManagedObject#fireFormatError }
|
|
31490
|
+
* instead.
|
|
31055
31491
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
31056
31492
|
*
|
|
31057
31493
|
* Fires event {@link #event:formatError formatError} to attached listeners.
|
|
@@ -31090,6 +31526,8 @@ declare namespace sap {
|
|
|
31090
31526
|
}
|
|
31091
31527
|
): this;
|
|
31092
31528
|
/**
|
|
31529
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#fireParseError ManagedObject#fireParseError }
|
|
31530
|
+
* instead.
|
|
31093
31531
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
31094
31532
|
*
|
|
31095
31533
|
* Fires event {@link #event:parseError parseError} to attached listeners.
|
|
@@ -31128,6 +31566,8 @@ declare namespace sap {
|
|
|
31128
31566
|
}
|
|
31129
31567
|
): this;
|
|
31130
31568
|
/**
|
|
31569
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#fireValidationError ManagedObject.fireValidationError }
|
|
31570
|
+
* instead.
|
|
31131
31571
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
31132
31572
|
*
|
|
31133
31573
|
* Fires event {@link #event:validationError validationError} to attached listeners.
|
|
@@ -31166,6 +31606,8 @@ declare namespace sap {
|
|
|
31166
31606
|
}
|
|
31167
31607
|
): this;
|
|
31168
31608
|
/**
|
|
31609
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#fireValidationSuccess ManagedObject#fireValidationSuccess }
|
|
31610
|
+
* instead.
|
|
31169
31611
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
31170
31612
|
*
|
|
31171
31613
|
* Fires event {@link #event:validationSuccess validationSuccess} to attached listeners.
|
|
@@ -31359,11 +31801,15 @@ declare namespace sap {
|
|
|
31359
31801
|
getLoadedLibraries(): Record<string, Object>;
|
|
31360
31802
|
/**
|
|
31361
31803
|
* @since 1.33.0
|
|
31804
|
+
* @deprecated (since 1.119) - Please use {@link sap.ui.core.Messaging Messaging} instead.
|
|
31362
31805
|
*
|
|
31363
31806
|
* Returns the active `MessageManager` instance.
|
|
31364
31807
|
*/
|
|
31365
31808
|
getMessageManager(): sap.ui.core.message.MessageManager;
|
|
31366
31809
|
/**
|
|
31810
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#getModel ManagedObject#getModel }
|
|
31811
|
+
* instead.
|
|
31812
|
+
*
|
|
31367
31813
|
* Get the model with the given model name.
|
|
31368
31814
|
*
|
|
31369
31815
|
* The name can be omitted to reference the default model or it must be a non-empty string.
|
|
@@ -31429,6 +31875,8 @@ declare namespace sap {
|
|
|
31429
31875
|
o: string | /* was Element */ global_Element
|
|
31430
31876
|
): sap.ui.core.UIArea | null | undefined;
|
|
31431
31877
|
/**
|
|
31878
|
+
* @deprecated (since 1.118)
|
|
31879
|
+
*
|
|
31432
31880
|
* Returns `true` if there are any pending rendering tasks or when such rendering tasks are currently being
|
|
31433
31881
|
* executed.
|
|
31434
31882
|
*
|
|
@@ -31436,6 +31884,9 @@ declare namespace sap {
|
|
|
31436
31884
|
*/
|
|
31437
31885
|
getUIDirty(): boolean;
|
|
31438
31886
|
/**
|
|
31887
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#hasModel ManagedObject#hasModel }
|
|
31888
|
+
* instead.
|
|
31889
|
+
*
|
|
31439
31890
|
* Check if a Model is set to the core
|
|
31440
31891
|
*
|
|
31441
31892
|
* @returns true or false
|
|
@@ -31527,6 +31978,8 @@ declare namespace sap {
|
|
|
31527
31978
|
oLibInfo: sap.ui.core.LibraryInfo
|
|
31528
31979
|
): object | undefined;
|
|
31529
31980
|
/**
|
|
31981
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.core.Core.ready Core.ready} instead.
|
|
31982
|
+
*
|
|
31530
31983
|
* Returns true if the Core has already been initialized. This means that instances of RenderManager etc.
|
|
31531
31984
|
* do already exist and the init event has already been fired (and will not be fired again).
|
|
31532
31985
|
*
|
|
@@ -31534,12 +31987,16 @@ declare namespace sap {
|
|
|
31534
31987
|
*/
|
|
31535
31988
|
isInitialized(): boolean;
|
|
31536
31989
|
/**
|
|
31990
|
+
* @deprecated (since 1.118)
|
|
31991
|
+
*
|
|
31537
31992
|
* Returns the locked state of the `sap.ui.core.Core`
|
|
31538
31993
|
*
|
|
31539
31994
|
* @returns locked state
|
|
31540
31995
|
*/
|
|
31541
31996
|
isLocked(): boolean;
|
|
31542
31997
|
/**
|
|
31998
|
+
* @deprecated (since 1.118) - use {@link sap.ui.Device.browser.mobile Device.browser.mobile} instead.
|
|
31999
|
+
*
|
|
31543
32000
|
* Check if the script is running on mobile
|
|
31544
32001
|
*
|
|
31545
32002
|
* @returns true or false
|
|
@@ -31659,6 +32116,8 @@ declare namespace sap {
|
|
|
31659
32116
|
}
|
|
31660
32117
|
): sap.ui.core.LibraryInfo | Promise<sap.ui.core.LibraryInfo>;
|
|
31661
32118
|
/**
|
|
32119
|
+
* @deprecated (since 1.118)
|
|
32120
|
+
*
|
|
31662
32121
|
* Locks the Core. No browser events are dispatched to the controls.
|
|
31663
32122
|
*
|
|
31664
32123
|
* Lock should be called before and after the DOM is modified for rendering, roundtrips... Exceptions might
|
|
@@ -31676,6 +32135,19 @@ declare namespace sap {
|
|
|
31676
32135
|
* DOM, for example changing the cozy/compact CSS class at a single control
|
|
31677
32136
|
*/
|
|
31678
32137
|
notifyContentDensityChanged(): void;
|
|
32138
|
+
/**
|
|
32139
|
+
* @since 1.118.0
|
|
32140
|
+
*
|
|
32141
|
+
* Returns a Promise that resolves if the Core is initialized.
|
|
32142
|
+
*
|
|
32143
|
+
* @returns The ready promise
|
|
32144
|
+
*/
|
|
32145
|
+
ready(
|
|
32146
|
+
/**
|
|
32147
|
+
* If the Core is ready the function will be called immediately, otherwise when the ready Promise resolves.
|
|
32148
|
+
*/
|
|
32149
|
+
fnReady?: () => void
|
|
32150
|
+
): Promise<undefined>;
|
|
31679
32151
|
/**
|
|
31680
32152
|
* @deprecated (since 1.73) - Plugins never have been meant as a public offering, but were intended for
|
|
31681
32153
|
* internal usage only. They unfortunately allow access to all internals of the Core and therefore break
|
|
@@ -31698,6 +32170,9 @@ declare namespace sap {
|
|
|
31698
32170
|
oPlugin: object
|
|
31699
32171
|
): void;
|
|
31700
32172
|
/**
|
|
32173
|
+
* @deprecated (since 1.118) - Please use {@link sap.ui.base.ManagedObject#setModel ManagedObject#setModel }
|
|
32174
|
+
* instead.
|
|
32175
|
+
*
|
|
31701
32176
|
* Sets or unsets a model for the given model name.
|
|
31702
32177
|
*
|
|
31703
32178
|
* The `sName` must either be `undefined` (or omitted) or a non-empty string. When the name is omitted,
|
|
@@ -31874,6 +32349,8 @@ declare namespace sap {
|
|
|
31874
32349
|
bForceUpdate?: boolean
|
|
31875
32350
|
): this;
|
|
31876
32351
|
/**
|
|
32352
|
+
* @deprecated (since 1.118)
|
|
32353
|
+
*
|
|
31877
32354
|
* Unlocks the Core.
|
|
31878
32355
|
*
|
|
31879
32356
|
* Browser events are dispatched to the controls again after this method is called.
|
|
@@ -32856,7 +33333,7 @@ declare namespace sap {
|
|
|
32856
33333
|
*/
|
|
32857
33334
|
altManifestUrl?: string;
|
|
32858
33335
|
/**
|
|
32859
|
-
* If set to `true` validation of the component is handled by the `
|
|
33336
|
+
* If set to `true` validation of the component is handled by the `Messaging`
|
|
32860
33337
|
*/
|
|
32861
33338
|
handleValidation?: string;
|
|
32862
33339
|
/**
|
|
@@ -33724,8 +34201,8 @@ declare namespace sap {
|
|
|
33724
34201
|
/**
|
|
33725
34202
|
* Gets current value of property {@link #getHandleValidation handleValidation}.
|
|
33726
34203
|
*
|
|
33727
|
-
* Enable/disable validation handling by
|
|
33728
|
-
*
|
|
34204
|
+
* Enable/disable validation handling by Messaging for this component. The resulting Messages will be propagated
|
|
34205
|
+
* to the controls. This property can only be applied initially.
|
|
33729
34206
|
*
|
|
33730
34207
|
* Default value is `false`.
|
|
33731
34208
|
*
|
|
@@ -33884,8 +34361,8 @@ declare namespace sap {
|
|
|
33884
34361
|
/**
|
|
33885
34362
|
* Sets a new value for property {@link #getHandleValidation handleValidation}.
|
|
33886
34363
|
*
|
|
33887
|
-
* Enable/disable validation handling by
|
|
33888
|
-
*
|
|
34364
|
+
* Enable/disable validation handling by Messaging for this component. The resulting Messages will be propagated
|
|
34365
|
+
* to the controls. This property can only be applied initially.
|
|
33889
34366
|
*
|
|
33890
34367
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
33891
34368
|
*
|
|
@@ -34417,6 +34894,24 @@ declare namespace sap {
|
|
|
34417
34894
|
*/
|
|
34418
34895
|
FNMetaImpl?: Function
|
|
34419
34896
|
): Function;
|
|
34897
|
+
/**
|
|
34898
|
+
* @since 1.118
|
|
34899
|
+
*
|
|
34900
|
+
* Returns a list of all controls with a field group ID. See {@link sap.ui.core.Control#checkFieldGroupIds Control.prototype.checkFieldGroupIds }
|
|
34901
|
+
* for a description of the `vFieldGroupIds` parameter.
|
|
34902
|
+
*
|
|
34903
|
+
* If possible please use the respective method on a Control instance (see {@link sap.ui.core.Control#getControlsByFieldGroupId}).
|
|
34904
|
+
* The control method only respects aggregated child controls, which is more effective and should be sufficient
|
|
34905
|
+
* for most use-cases.
|
|
34906
|
+
*
|
|
34907
|
+
* @returns The list of controls with matching field group IDs
|
|
34908
|
+
*/
|
|
34909
|
+
static getControlsByFieldGroupId(
|
|
34910
|
+
/**
|
|
34911
|
+
* ID of the field group or an array of field group IDs to match
|
|
34912
|
+
*/
|
|
34913
|
+
vFieldGroupIds?: string | string[]
|
|
34914
|
+
): sap.ui.core.Control[];
|
|
34420
34915
|
/**
|
|
34421
34916
|
* Returns a metadata object for class sap.ui.core.Control.
|
|
34422
34917
|
*
|
|
@@ -38409,6 +38904,266 @@ declare namespace sap {
|
|
|
38409
38904
|
*/
|
|
38410
38905
|
static getMetadata(): sap.ui.core.ElementMetadata;
|
|
38411
38906
|
}
|
|
38907
|
+
/**
|
|
38908
|
+
* @since 1.118
|
|
38909
|
+
*
|
|
38910
|
+
* Library Loading: To load a library, {@link #.load} can be used directly without creating a library instance
|
|
38911
|
+
* in advance.
|
|
38912
|
+
*
|
|
38913
|
+
* What a library does:
|
|
38914
|
+
* - preload: {@link #preload} loads the library-preload bundle and its resource bundle and apply the
|
|
38915
|
+
* same for its dependencies
|
|
38916
|
+
* - theming: {@link #_includeTheme} creates a <link> in the page referring to the corresponding
|
|
38917
|
+
* `library.css`
|
|
38918
|
+
* - resource bundle: {@link #getResourceBundle} returns the resource bundle directly when it's already
|
|
38919
|
+
* loaded or triggers a synchronous request to load it. {@link #loadResourceBundle} loads a library's resource
|
|
38920
|
+
* bundle file asynchronously. The resource bundle file is also loaded when the `preload` function is called
|
|
38921
|
+
*/
|
|
38922
|
+
class Lib extends sap.ui.base.Object {
|
|
38923
|
+
constructor();
|
|
38924
|
+
|
|
38925
|
+
/**
|
|
38926
|
+
* Creates a new subclass of class sap.ui.core.Lib with name `sClassName` and enriches it with the information
|
|
38927
|
+
* contained in `oClassInfo`.
|
|
38928
|
+
*
|
|
38929
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
|
|
38930
|
+
*
|
|
38931
|
+
* @returns Created class / constructor function
|
|
38932
|
+
*/
|
|
38933
|
+
static extend<T extends Record<string, unknown>>(
|
|
38934
|
+
/**
|
|
38935
|
+
* Name of the class being created
|
|
38936
|
+
*/
|
|
38937
|
+
sClassName: string,
|
|
38938
|
+
/**
|
|
38939
|
+
* Object literal with information about the class
|
|
38940
|
+
*/
|
|
38941
|
+
oClassInfo?: sap.ClassInfo<T, sap.ui.core.Lib>,
|
|
38942
|
+
/**
|
|
38943
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
38944
|
+
* used by this class
|
|
38945
|
+
*/
|
|
38946
|
+
FNMetaImpl?: Function
|
|
38947
|
+
): Function;
|
|
38948
|
+
/**
|
|
38949
|
+
* Returns a metadata object for class sap.ui.core.Lib.
|
|
38950
|
+
*
|
|
38951
|
+
* @returns Metadata object describing this class
|
|
38952
|
+
*/
|
|
38953
|
+
static getMetadata(): sap.ui.base.Metadata;
|
|
38954
|
+
/**
|
|
38955
|
+
* Retrieves a resource bundle for the given library and locale.
|
|
38956
|
+
*
|
|
38957
|
+
* If only one argument is given, it is assumed to be the library name. The locale then falls back to the
|
|
38958
|
+
* current {@link sap.ui.core.Configuration#getLanguage session locale}.
|
|
38959
|
+
*
|
|
38960
|
+
* @returns The best matching resource bundle for the given parameters or `undefined`
|
|
38961
|
+
*/
|
|
38962
|
+
static getResourceBundleFor(
|
|
38963
|
+
/**
|
|
38964
|
+
* Name of the library to retrieve the bundle for
|
|
38965
|
+
*/
|
|
38966
|
+
sLibrary: string,
|
|
38967
|
+
/**
|
|
38968
|
+
* Locale to retrieve the resource bundle for
|
|
38969
|
+
*/
|
|
38970
|
+
sLocale?: string
|
|
38971
|
+
): import("sap/base/i18n/ResourceBundle").default | undefined;
|
|
38972
|
+
/**
|
|
38973
|
+
* Provides information about a library.
|
|
38974
|
+
*
|
|
38975
|
+
* This method is intended to be called exactly once while the main module of a library (its `library.js`
|
|
38976
|
+
* module) is executing, typically at its begin. The single parameter `oLibInfo` is an info object that
|
|
38977
|
+
* describes the content of the library.
|
|
38978
|
+
*
|
|
38979
|
+
* When the `mSettings` has been processed, a normalized version will be set on the library instance Finally,
|
|
38980
|
+
* this function fires {@link #event:LibraryChanged} event with operation 'add' for the newly loaded library.
|
|
38981
|
+
*
|
|
38982
|
+
* Side Effects:
|
|
38983
|
+
*
|
|
38984
|
+
* While analyzing the `mSettings`, the framework takes some additional actions:
|
|
38985
|
+
*
|
|
38986
|
+
*
|
|
38987
|
+
* - If the object contains a list of `interfaces`, they will be registered with the {@link sap.ui.base.DataType }
|
|
38988
|
+
* class to make them available as aggregation types in managed objects.
|
|
38989
|
+
*
|
|
38990
|
+
*
|
|
38991
|
+
* - If the object contains a list of `controls` or `elements`, {@link sap.ui.lazyRequire lazy stubs }
|
|
38992
|
+
* will be created for their constructor as well as for their static `extend` and `getMetadata` methods.
|
|
38993
|
+
* **Note:** Future versions might abandon the concept of lazy stubs as it requires synchronous XMLHttpRequests
|
|
38994
|
+
* which have been deprecated (see {@link http://xhr.spec.whatwg.org}). To be on the safe side, productive
|
|
38995
|
+
* applications should always require any modules that they directly depend on.
|
|
38996
|
+
*
|
|
38997
|
+
*
|
|
38998
|
+
* - With the `noLibraryCSS` property, the library can be marked as 'theming-free'. Otherwise, the framework
|
|
38999
|
+
* will add a <link> tag to the page's head, pointing to the library's theme-specific stylesheet.
|
|
39000
|
+
* The creation of such a <link> tag can be suppressed with the {@link sap.ui.core.Configuration global configuration option }
|
|
39001
|
+
* `preloadLibCss`. It can contain a list of library names for which no stylesheet should be included. This
|
|
39002
|
+
* is e.g. useful when an application merges the CSS for multiple libraries and already loaded the resulting
|
|
39003
|
+
* stylesheet.
|
|
39004
|
+
*
|
|
39005
|
+
*
|
|
39006
|
+
* - If a list of library `dependencies` is specified in the info object, those libraries will be loaded
|
|
39007
|
+
* synchronously.
|
|
39008
|
+
* **Note:** Dependencies between libraries don't have to be modeled as AMD dependencies. Only when enums
|
|
39009
|
+
* or types from an additional library are used in the coding of the `library.js` module, the library should
|
|
39010
|
+
* be additionally listed in the AMD dependencies.
|
|
39011
|
+
*
|
|
39012
|
+
* Last but not least, higher layer frameworks might want to include their own metadata for libraries. The
|
|
39013
|
+
* property `extensions` might contain such additional metadata. Its structure is not defined by the framework,
|
|
39014
|
+
* but it is strongly suggested that each extension only occupies a single property in the `extensions`
|
|
39015
|
+
* object and that the name of that property contains some namespace information (e.g. library name that
|
|
39016
|
+
* introduces the feature) to avoid conflicts with other extensions. The framework won't touch the content
|
|
39017
|
+
* of `extensions` but will make it available in the library info objects returned by {@link #.getInitializedLibraries}.
|
|
39018
|
+
*
|
|
39019
|
+
* Relationship to Descriptor for Libraries (manifest.json):
|
|
39020
|
+
*
|
|
39021
|
+
* The information contained in `mSettings` is partially redundant to the content of the descriptor for
|
|
39022
|
+
* the same library (its `manifest.json` file). Future versions of UI5 might ignore the information provided
|
|
39023
|
+
* in `oLibInfo` and might evaluate the descriptor file instead. Library developers therefore should keep
|
|
39024
|
+
* the information in both files in sync.
|
|
39025
|
+
*
|
|
39026
|
+
* When the `manifest.json` is generated from the `.library` file (which is the default for UI5 libraries
|
|
39027
|
+
* built with Maven), then the content of the `.library` and `library.js` files must be kept in sync.
|
|
39028
|
+
*
|
|
39029
|
+
* @returns As of version 1.101; returns the library namespace, based on the given library name.
|
|
39030
|
+
*/
|
|
39031
|
+
static init(
|
|
39032
|
+
/**
|
|
39033
|
+
* Info object for the library
|
|
39034
|
+
*/
|
|
39035
|
+
mSettings: {
|
|
39036
|
+
/**
|
|
39037
|
+
* Name of the library; It must match the name by which the library has been loaded
|
|
39038
|
+
*/
|
|
39039
|
+
name: string;
|
|
39040
|
+
/**
|
|
39041
|
+
* Version of the library
|
|
39042
|
+
*/
|
|
39043
|
+
version?: string;
|
|
39044
|
+
/**
|
|
39045
|
+
* List of libraries that this library depends on; names are in dot notation (e.g. "sap.ui.core")
|
|
39046
|
+
*/
|
|
39047
|
+
dependencies?: string[];
|
|
39048
|
+
/**
|
|
39049
|
+
* List of names of types that this library provides; names are in dot notation (e.g. "sap.ui.core.CSSSize")
|
|
39050
|
+
*/
|
|
39051
|
+
types?: string[];
|
|
39052
|
+
/**
|
|
39053
|
+
* List of names of interface types that this library provides; names are in dot notation (e.g. "sap.ui.core.PopupInterface")
|
|
39054
|
+
*/
|
|
39055
|
+
interfaces?: string[];
|
|
39056
|
+
/**
|
|
39057
|
+
* Names of control types that this library provides; names are in dot notation (e.g. "sap.ui.core.ComponentContainer")
|
|
39058
|
+
*/
|
|
39059
|
+
controls?: string[];
|
|
39060
|
+
/**
|
|
39061
|
+
* Names of element types that this library provides (excluding controls); names are in dot notation (e.g.
|
|
39062
|
+
* "sap.ui.core.Item")
|
|
39063
|
+
*/
|
|
39064
|
+
elements?: string[];
|
|
39065
|
+
/**
|
|
39066
|
+
* Indicates whether the library doesn't provide / use theming. When set to true, no library.css will be
|
|
39067
|
+
* loaded for this library
|
|
39068
|
+
*/
|
|
39069
|
+
noLibraryCSS?: boolean;
|
|
39070
|
+
/**
|
|
39071
|
+
* Potential extensions of the library metadata; structure not defined by the UI5 core framework.
|
|
39072
|
+
*/
|
|
39073
|
+
extensions?: object;
|
|
39074
|
+
}
|
|
39075
|
+
): object;
|
|
39076
|
+
/**
|
|
39077
|
+
* Checks whether the library for the given `sName` has been loaded or not.
|
|
39078
|
+
*
|
|
39079
|
+
* @returns Returns `true` if the library is loaded. Otherwise `false`.
|
|
39080
|
+
*/
|
|
39081
|
+
static isLoaded(
|
|
39082
|
+
/**
|
|
39083
|
+
* The name of the library
|
|
39084
|
+
*/
|
|
39085
|
+
sName: string
|
|
39086
|
+
): boolean;
|
|
39087
|
+
/**
|
|
39088
|
+
* Loads the given library and its dependencies and makes its content available to the application.
|
|
39089
|
+
*
|
|
39090
|
+
* What it does:
|
|
39091
|
+
*
|
|
39092
|
+
* When library preloads are not suppressed for the given library, then a library-preload bundle will be
|
|
39093
|
+
* loaded for it.
|
|
39094
|
+
*
|
|
39095
|
+
* After preloading the bundle, dependency information from the bundle is evaluated and any missing libraries
|
|
39096
|
+
* are also preloaded.
|
|
39097
|
+
*
|
|
39098
|
+
* Only then the library entry module (named `your/lib/library.js`) will be required and executed.
|
|
39099
|
+
* The module is supposed to call {@link #.init} providing the framework with additional metadata about
|
|
39100
|
+
* the library, e.g. its version, the set of contained enums, types, interfaces, controls and elements and
|
|
39101
|
+
* whether the library requires CSS. If the library requires CSS, a <link> will be added to the page
|
|
39102
|
+
* referring to the corresponding `library.css` stylesheet for the library and the current theme.
|
|
39103
|
+
*
|
|
39104
|
+
* When the optional parameter `mOptions.url` is given, then that URL will be registered for the namespace
|
|
39105
|
+
* of the library and all resources will be loaded from that location. This is convenience for a call like
|
|
39106
|
+
*
|
|
39107
|
+
* ```javascript
|
|
39108
|
+
*
|
|
39109
|
+
* sap.ui.loader.config({
|
|
39110
|
+
* paths: {
|
|
39111
|
+
* "lib/with/slashes": mOptions.url
|
|
39112
|
+
* }
|
|
39113
|
+
* });
|
|
39114
|
+
* ```
|
|
39115
|
+
*
|
|
39116
|
+
*
|
|
39117
|
+
* When the given library has been loaded already, no further action will be taken, especially, a given
|
|
39118
|
+
* URL will not be registered. A Promise will be returned, but will be resolved immediately.
|
|
39119
|
+
*
|
|
39120
|
+
* When to use:
|
|
39121
|
+
*
|
|
39122
|
+
* For applications that follow the best practices and use components with component descriptors (manifest.json),
|
|
39123
|
+
* the framework will load all declared mandatory libraries and their dependencies automatically before
|
|
39124
|
+
* instantiating the application component.
|
|
39125
|
+
*
|
|
39126
|
+
* The same is true for libraries that are listed in the bootstrap configuration (e.g. with the attribute
|
|
39127
|
+
* `data-sap-ui-libs`). They will be loaded before the `init` event of the UI5 Core is fired.
|
|
39128
|
+
*
|
|
39129
|
+
* Only when an app declares a library to be a lazy library dependency or when code does not use descriptors
|
|
39130
|
+
* at all, then an explicit call to `loadLibrary` becomes necessary. The call should be made before artifacts
|
|
39131
|
+
* (controls, elements, types, helpers, modules etc.) from the library are used or required. This allows
|
|
39132
|
+
* the framework to optimize access to those artifacts.
|
|
39133
|
+
*
|
|
39134
|
+
* For example, when an app uses a heavy-weight charting library that shouldn't be loaded during startup,
|
|
39135
|
+
* it can declare it as "lazy" and load it just before it loads and displays a view that uses the charting
|
|
39136
|
+
* library:
|
|
39137
|
+
* ```javascript
|
|
39138
|
+
*
|
|
39139
|
+
* Lib.load({name: "heavy.charting"})
|
|
39140
|
+
* .then(function() {
|
|
39141
|
+
* View.create({
|
|
39142
|
+
* name: "myapp.views.HeavyChartingView",
|
|
39143
|
+
* type: ViewType.XML
|
|
39144
|
+
* });
|
|
39145
|
+
* });
|
|
39146
|
+
* ```
|
|
39147
|
+
*
|
|
39148
|
+
*
|
|
39149
|
+
* @returns A promise that resolves with the library instance after the loading of the library is finished
|
|
39150
|
+
*/
|
|
39151
|
+
static load(
|
|
39152
|
+
/**
|
|
39153
|
+
* The options object that contains the following properties
|
|
39154
|
+
*/
|
|
39155
|
+
mOptions: {
|
|
39156
|
+
/**
|
|
39157
|
+
* The name of the library
|
|
39158
|
+
*/
|
|
39159
|
+
name: string;
|
|
39160
|
+
/**
|
|
39161
|
+
* URL to load the library from
|
|
39162
|
+
*/
|
|
39163
|
+
url?: string;
|
|
39164
|
+
}
|
|
39165
|
+
): Promise<sap.ui.core.Lib>;
|
|
39166
|
+
}
|
|
38412
39167
|
/**
|
|
38413
39168
|
* An item that is used in list controls, such as `DropdownBox`.
|
|
38414
39169
|
*
|
|
@@ -42079,9 +42834,6 @@ declare namespace sap {
|
|
|
42079
42834
|
/**
|
|
42080
42835
|
* Registers the given event handler for resize events on the given DOM element or control.
|
|
42081
42836
|
*
|
|
42082
|
-
* **Note:** This function must not be used before the UI5 framework is initialized. Please use the {@link sap.ui.core.Core#attachInit init event }
|
|
42083
|
-
* of UI5 if you are not sure whether this is the case.
|
|
42084
|
-
*
|
|
42085
42837
|
* The resize handler periodically checks the dimensions of the registered reference. Whenever it detects
|
|
42086
42838
|
* changes, an event is fired. Be careful when changing dimensions within the event handler which might
|
|
42087
42839
|
* cause another resize event and so on.
|
|
@@ -43309,14 +44061,6 @@ declare namespace sap {
|
|
|
43309
44061
|
* @returns True if the control is still in the active DOM
|
|
43310
44062
|
*/
|
|
43311
44063
|
isActive(): boolean;
|
|
43312
|
-
/**
|
|
43313
|
-
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
43314
|
-
*
|
|
43315
|
-
* Returns whether re-rendering is currently suppressed on this UIArea.
|
|
43316
|
-
*
|
|
43317
|
-
* @returns Whether re-rendering is currently suppressed on this UIArea
|
|
43318
|
-
*/
|
|
43319
|
-
isInvalidateSuppressed(): boolean;
|
|
43320
44064
|
/**
|
|
43321
44065
|
* Returns the locked state of the `sap.ui.core.UIArea`
|
|
43322
44066
|
*
|
|
@@ -44732,32 +45476,9 @@ declare namespace sap {
|
|
|
44732
45476
|
Polite = "Polite",
|
|
44733
45477
|
}
|
|
44734
45478
|
/**
|
|
44735
|
-
*
|
|
44736
|
-
*
|
|
44737
|
-
* Defines the different message types.
|
|
45479
|
+
* Specifies possible message types.
|
|
44738
45480
|
*/
|
|
44739
|
-
enum MessageType {
|
|
44740
|
-
/**
|
|
44741
|
-
* Message is an error
|
|
44742
|
-
*/
|
|
44743
|
-
Error = "Error",
|
|
44744
|
-
/**
|
|
44745
|
-
* Message should be just an information
|
|
44746
|
-
*/
|
|
44747
|
-
Information = "Information",
|
|
44748
|
-
/**
|
|
44749
|
-
* Message has no specific level
|
|
44750
|
-
*/
|
|
44751
|
-
None = "None",
|
|
44752
|
-
/**
|
|
44753
|
-
* Message is a success message
|
|
44754
|
-
*/
|
|
44755
|
-
Success = "Success",
|
|
44756
|
-
/**
|
|
44757
|
-
* Message is a warning
|
|
44758
|
-
*/
|
|
44759
|
-
Warning = "Warning",
|
|
44760
|
-
}
|
|
45481
|
+
enum MessageType {}
|
|
44761
45482
|
/**
|
|
44762
45483
|
* Defines the different possible states of an element that can be open or closed and does not only toggle
|
|
44763
45484
|
* between these states, but also spends some time in between (e.g. because of an animation).
|
|
@@ -55911,6 +56632,40 @@ declare namespace sap {
|
|
|
55911
56632
|
* use of the model. For a summary of these changes, see {@link https://ui5.sap.com/#/topic/abd4d7c7548d4c29ab8364d3904a6d74 Changes Compared to OData V2 Model}.
|
|
55912
56633
|
*/
|
|
55913
56634
|
namespace v4 {
|
|
56635
|
+
namespace ts {
|
|
56636
|
+
/**
|
|
56637
|
+
* @since 1.118.0
|
|
56638
|
+
*
|
|
56639
|
+
* An object representing a "14.5.11 Expression edm:NavigationPropertyPath". Its shape corresponds exactly
|
|
56640
|
+
* to the shape of such an expression in the {@link https://ui5.sap.com/#/topic/87aac894a40640f89920d7b2a414499b OData V4 Metadata JSON Format }
|
|
56641
|
+
* as returned by {@link sap.ui.model.odata.v4.ODataMetaModel#requestObject}.
|
|
56642
|
+
* See:
|
|
56643
|
+
* {@link sap.ui.model.odata.v4.Context#requestSideEffects}
|
|
56644
|
+
*/
|
|
56645
|
+
type NavigationPropertyPathExpression = {
|
|
56646
|
+
/**
|
|
56647
|
+
* A value of type `Edm.NavigationPropertyPath`.
|
|
56648
|
+
*/
|
|
56649
|
+
$NavigationPropertyPath: string;
|
|
56650
|
+
};
|
|
56651
|
+
|
|
56652
|
+
/**
|
|
56653
|
+
* @since 1.118.0
|
|
56654
|
+
*
|
|
56655
|
+
* An object representing a "14.5.13 Expression edm:PropertyPath". Its shape corresponds exactly to the
|
|
56656
|
+
* shape of such an expression in the {@link https://ui5.sap.com/#/topic/87aac894a40640f89920d7b2a414499b OData V4 Metadata JSON Format }
|
|
56657
|
+
* as returned by {@link sap.ui.model.odata.v4.ODataMetaModel#requestObject}.
|
|
56658
|
+
* See:
|
|
56659
|
+
* {@link sap.ui.model.odata.v4.Context#requestSideEffects}
|
|
56660
|
+
*/
|
|
56661
|
+
type PropertyPathExpression = {
|
|
56662
|
+
/**
|
|
56663
|
+
* A value of type `Edm.PropertyPath`.
|
|
56664
|
+
*/
|
|
56665
|
+
$PropertyPath: string;
|
|
56666
|
+
};
|
|
56667
|
+
}
|
|
56668
|
+
|
|
55914
56669
|
interface ODataContextBinding$ChangeEventParameters
|
|
55915
56670
|
extends sap.ui.model.Binding$ChangeEventParameters {}
|
|
55916
56671
|
|
|
@@ -55945,7 +56700,12 @@ declare namespace sap {
|
|
|
55945
56700
|
detailedReason?: string;
|
|
55946
56701
|
}
|
|
55947
56702
|
|
|
55948
|
-
interface ODataListBinding$CreateActivateEventParameters {
|
|
56703
|
+
interface ODataListBinding$CreateActivateEventParameters {
|
|
56704
|
+
/**
|
|
56705
|
+
* The affected context
|
|
56706
|
+
*/
|
|
56707
|
+
context?: sap.ui.model.odata.v4.Context;
|
|
56708
|
+
}
|
|
55949
56709
|
|
|
55950
56710
|
interface ODataListBinding$CreateCompletedEventParameters {
|
|
55951
56711
|
/**
|
|
@@ -56717,6 +57477,13 @@ declare namespace sap {
|
|
|
56717
57477
|
): Date;
|
|
56718
57478
|
}
|
|
56719
57479
|
|
|
57480
|
+
/**
|
|
57481
|
+
* @since 1.118.0
|
|
57482
|
+
*
|
|
57483
|
+
* Namespace for TypeScript type definitions of the OData V4 model.
|
|
57484
|
+
*/
|
|
57485
|
+
interface ts {}
|
|
57486
|
+
|
|
56720
57487
|
/**
|
|
56721
57488
|
* @since 1.39.0
|
|
56722
57489
|
*
|
|
@@ -56821,6 +57588,11 @@ declare namespace sap {
|
|
|
56821
57588
|
* `delete`, and to possibly rebind it after reset or failure. The model itself ensures that all bindings
|
|
56822
57589
|
* depending on this context become unresolved, but no attempt is made to restore these bindings in case
|
|
56823
57590
|
* of reset or failure.
|
|
57591
|
+
*
|
|
57592
|
+
* Deleting a child node is supported (@experimental as of version 1.118.0) in a recursive hierarchy (see
|
|
57593
|
+
* {@link sap.ui.model.odata.v4.ODataListBinding#setAggregation}). As a precondition, `oAggregation.expandTo`
|
|
57594
|
+
* must be equal to one, and the context must not be {@link #setKeepAlive kept-alive} and hidden (for example
|
|
57595
|
+
* due to a filter).
|
|
56824
57596
|
* See:
|
|
56825
57597
|
* #hasPendingChanges
|
|
56826
57598
|
* #resetChanges
|
|
@@ -57219,8 +57991,8 @@ declare namespace sap {
|
|
|
57219
57991
|
* ID has submit mode {@link sap.ui.model.odata.v4.SubmitMode.Auto} and there are currently running updates
|
|
57220
57992
|
* or creates this method first waits for them to be processed.
|
|
57221
57993
|
*
|
|
57222
|
-
* The
|
|
57223
|
-
* attached to...
|
|
57994
|
+
* The 'dataRequested' and 'dataReceived' events are not fired unless a binding is refreshed completely.
|
|
57995
|
+
* Whatever should happen in the event handler attached to...
|
|
57224
57996
|
* 'dataRequested', can instead be done before calling {@link #requestSideEffects}. 'dataReceived',
|
|
57225
57997
|
* can instead be done once the `oPromise` returned by {@link #requestSideEffects} fulfills or rejects (using
|
|
57226
57998
|
* `oPromise.then(function () {...}, function () {...})`).
|
|
@@ -57259,7 +58031,11 @@ declare namespace sap {
|
|
|
57259
58031
|
* if it has not yet been requested by that list binding. This way, exactly the messages for a single row
|
|
57260
58032
|
* can be updated. Same for a "*" segment or an empty navigation property path.
|
|
57261
58033
|
*/
|
|
57262
|
-
aPathExpressions:
|
|
58034
|
+
aPathExpressions: Array<
|
|
58035
|
+
| sap.ui.model.odata.v4.ts.NavigationPropertyPathExpression
|
|
58036
|
+
| sap.ui.model.odata.v4.ts.PropertyPathExpression
|
|
58037
|
+
| string
|
|
58038
|
+
>,
|
|
57263
58039
|
/**
|
|
57264
58040
|
* The group ID to be used (since 1.69.0); if not specified, the update group ID for the context's binding
|
|
57265
58041
|
* is used, see {@link #getUpdateGroupId}. If a different group ID is specified, make sure that {@link #requestSideEffects }
|
|
@@ -57306,10 +58082,15 @@ declare namespace sap {
|
|
|
57306
58082
|
*/
|
|
57307
58083
|
bKeepAlive: boolean,
|
|
57308
58084
|
/**
|
|
57309
|
-
* Callback function that is executed once for a kept-alive context
|
|
57310
|
-
*
|
|
58085
|
+
* Callback function that is executed once for a kept-alive context without any argument just before the
|
|
58086
|
+
* context is destroyed; see {@link #destroy}. If a context has been replaced in a list binding (see {@link #replaceWith }
|
|
58087
|
+
* and {@link sap.ui.odata.v4.ODataContextBinding#execute}), the callback will later also be called just
|
|
58088
|
+
* before the replacing context is destroyed, but with that context as the only argument. Supported since
|
|
58089
|
+
* 1.84.0
|
|
57311
58090
|
*/
|
|
57312
|
-
fnOnBeforeDestroy?:
|
|
58091
|
+
fnOnBeforeDestroy?: (
|
|
58092
|
+
p1: sap.ui.model.odata.v4.Context | undefined
|
|
58093
|
+
) => void,
|
|
57313
58094
|
/**
|
|
57314
58095
|
* Whether to request messages for this entity. Only used if `bKeepAlive` is `true`. Determines the messages
|
|
57315
58096
|
* property from the annotation "com.sap.vocabularies.Common.v1.Messages" at the entity type. If found,
|
|
@@ -57646,7 +58427,9 @@ declare namespace sap {
|
|
|
57646
58427
|
* the bound action should either be repeated **without** applying the preference or rejected with an `Error`
|
|
57647
58428
|
* instance `oError` where `oError.canceled === true`. Since 1.92.0.
|
|
57648
58429
|
*/
|
|
57649
|
-
fnOnStrictHandlingFailed?:
|
|
58430
|
+
fnOnStrictHandlingFailed?: (
|
|
58431
|
+
p1: sap.ui.core.message.Message[]
|
|
58432
|
+
) => Promise<boolean>,
|
|
57650
58433
|
/**
|
|
57651
58434
|
* Whether this operation binding's parent context, which must belong to a list binding, is replaced with
|
|
57652
58435
|
* the operation's return value context (see below) and that list context is returned instead. That list
|
|
@@ -58113,12 +58896,10 @@ declare namespace sap {
|
|
|
58113
58896
|
* `created` promises of all nested contexts are always rejected with an instance of `Error`, even if the
|
|
58114
58897
|
* deep create succeeds. This error always has the property `canceled` with the value `true`.
|
|
58115
58898
|
*
|
|
58116
|
-
* Since 1.
|
|
58899
|
+
* Since 1.118.0 deep create also supports single-valued navigation properties; no API call is required
|
|
58117
58900
|
* in this case. Simply bind properties of the related entity relative to a transient context. An update
|
|
58118
58901
|
* to the property adds it to the POST request of the parent entity, and by this the create becomes deep.
|
|
58119
58902
|
*
|
|
58120
|
-
* **Note**: Deep create for single-valued navigation properties is **experimental**.
|
|
58121
|
-
*
|
|
58122
58903
|
* Deep create requires the `autoExpandSelect` parameter at the {@link sap.ui.model.odata.v4.ODataModel#constructor model}.
|
|
58123
58904
|
* The refresh after a deep create is optimized. Only the (navigation) properties missing from the POST
|
|
58124
58905
|
* response are actually requested. If the POST response contains all required properties, no request is
|
|
@@ -58144,7 +58925,7 @@ declare namespace sap {
|
|
|
58144
58925
|
/**
|
|
58145
58926
|
* The initial data for the created entity
|
|
58146
58927
|
*/
|
|
58147
|
-
oInitialData?:
|
|
58928
|
+
oInitialData?: Record<string, any>,
|
|
58148
58929
|
/**
|
|
58149
58930
|
* Whether an automatic refresh of the created entity will be skipped.
|
|
58150
58931
|
* **Note:** Do not use this parameter for a deep create. It leads to multiple single row requests if the
|
|
@@ -58188,7 +58969,7 @@ declare namespace sap {
|
|
|
58188
58969
|
/**
|
|
58189
58970
|
* The function to call when the event occurs
|
|
58190
58971
|
*/
|
|
58191
|
-
fnFunction:
|
|
58972
|
+
fnFunction: (evt: ODataListBinding$CreateActivateEvent) => void,
|
|
58192
58973
|
/**
|
|
58193
58974
|
* Object on which to call the given function
|
|
58194
58975
|
*/
|
|
@@ -58521,7 +59302,7 @@ declare namespace sap {
|
|
|
58521
59302
|
* Whether system query options should be returned as well. The parameter value `true` is not supported.
|
|
58522
59303
|
*/
|
|
58523
59304
|
bWithSystemQueryOptions?: boolean
|
|
58524
|
-
):
|
|
59305
|
+
): Record<string, any>;
|
|
58525
59306
|
/**
|
|
58526
59307
|
* @since 1.53.0
|
|
58527
59308
|
*
|
|
@@ -58973,7 +59754,20 @@ declare namespace sap {
|
|
|
58973
59754
|
*/
|
|
58974
59755
|
as?: string;
|
|
58975
59756
|
}>
|
|
58976
|
-
):
|
|
59757
|
+
):
|
|
59758
|
+
| {
|
|
59759
|
+
measureRangePromise: Promise<
|
|
59760
|
+
Record<
|
|
59761
|
+
string,
|
|
59762
|
+
{
|
|
59763
|
+
min: number;
|
|
59764
|
+
|
|
59765
|
+
max: number;
|
|
59766
|
+
}
|
|
59767
|
+
>
|
|
59768
|
+
>;
|
|
59769
|
+
}
|
|
59770
|
+
| undefined;
|
|
58977
59771
|
}
|
|
58978
59772
|
/**
|
|
58979
59773
|
* @since 1.37.0
|
|
@@ -60307,7 +61101,7 @@ declare namespace sap {
|
|
|
60307
61101
|
/**
|
|
60308
61102
|
* Map of HTTP header names to their values
|
|
60309
61103
|
*/
|
|
60310
|
-
mHeaders?:
|
|
61104
|
+
mHeaders?: Record<string, string | undefined>
|
|
60311
61105
|
): void;
|
|
60312
61106
|
/**
|
|
60313
61107
|
* @since 1.37.0
|
|
@@ -60484,7 +61278,7 @@ declare namespace sap {
|
|
|
60484
61278
|
* Whether to include the "SAP-ContextId" header (@since 1.86.0)
|
|
60485
61279
|
*/
|
|
60486
61280
|
bIncludeContextId?: boolean
|
|
60487
|
-
):
|
|
61281
|
+
): Record<string, string>;
|
|
60488
61282
|
/**
|
|
60489
61283
|
* @since 1.99.0
|
|
60490
61284
|
*
|
|
@@ -62979,6 +63773,17 @@ declare namespace sap {
|
|
|
62979
63773
|
*/
|
|
62980
63774
|
bReturnSuccess?: boolean
|
|
62981
63775
|
): this;
|
|
63776
|
+
/**
|
|
63777
|
+
* @since 1.98.0
|
|
63778
|
+
*
|
|
63779
|
+
* Returns all current contexts of this list binding in no special order. Just like {@link #getCurrentContexts},
|
|
63780
|
+
* this method does not request any data from a back end and does not change the binding's state. In contrast
|
|
63781
|
+
* to {@link #getCurrentContexts}, it does not only return those contexts that were last requested by a
|
|
63782
|
+
* control, but all contexts that are currently available in the binding.
|
|
63783
|
+
*
|
|
63784
|
+
* @returns All current contexts of this list binding, in no special order
|
|
63785
|
+
*/
|
|
63786
|
+
getAllCurrentContexts(): sap.ui.model.odata.v2.Context[];
|
|
62982
63787
|
/**
|
|
62983
63788
|
* @ui5-protected Do not call from applications (only from related classes in the framework)
|
|
62984
63789
|
*
|
|
@@ -66436,8 +67241,8 @@ declare namespace sap {
|
|
|
66436
67241
|
/**
|
|
66437
67242
|
* Parses the given value to an array of two values representing the start date and the end date of the
|
|
66438
67243
|
* interval, where the time part of the start date is 0 and the time part of end date is the end of day
|
|
66439
|
-
* (23:59:59
|
|
66440
|
-
*
|
|
67244
|
+
* (23:59:59). If the `singleIntervalValue` format option is used, the second entry is `null` if no end
|
|
67245
|
+
* date is given.
|
|
66441
67246
|
*
|
|
66442
67247
|
* @returns The start and the end date of the interval. The resulting values in the array are:
|
|
66443
67248
|
* - Two `Date` or `module:sap/ui/core/date/UI5Date` objects, or
|
|
@@ -68994,7 +69799,7 @@ declare namespace sap {
|
|
|
68994
69799
|
*/
|
|
68995
69800
|
class Context extends sap.ui.base.Object {
|
|
68996
69801
|
/**
|
|
68997
|
-
* Constructor for Context class.
|
|
69802
|
+
* Constructor for Context class. The constructor must only be called by model-internal methods.
|
|
68998
69803
|
*/
|
|
68999
69804
|
constructor(
|
|
69000
69805
|
/**
|
|
@@ -79324,6 +80129,10 @@ declare namespace sap {
|
|
|
79324
80129
|
|
|
79325
80130
|
"sap/ui/core/message/MessageProcessor": undefined;
|
|
79326
80131
|
|
|
80132
|
+
"sap/ui/core/message/MessageType": undefined;
|
|
80133
|
+
|
|
80134
|
+
"sap/ui/core/Messaging": undefined;
|
|
80135
|
+
|
|
79327
80136
|
"sap/ui/core/mvc/Controller": undefined;
|
|
79328
80137
|
|
|
79329
80138
|
"sap/ui/core/mvc/ControllerExtension": undefined;
|
|
@@ -79472,6 +80281,10 @@ declare namespace sap {
|
|
|
79472
80281
|
|
|
79473
80282
|
"sap/ui/core/VariantLayoutData": undefined;
|
|
79474
80283
|
|
|
80284
|
+
"sap/ui/core/webc/WebComponent": undefined;
|
|
80285
|
+
|
|
80286
|
+
"sap/ui/core/webc/WebComponentMetadata": undefined;
|
|
80287
|
+
|
|
79475
80288
|
"sap/ui/core/ws/ReadyState": undefined;
|
|
79476
80289
|
|
|
79477
80290
|
"sap/ui/core/ws/SapPcpWebSocket": undefined;
|
|
@@ -79726,6 +80539,8 @@ declare namespace sap {
|
|
|
79726
80539
|
|
|
79727
80540
|
"sap/ui/model/odata/v4/SubmitMode": undefined;
|
|
79728
80541
|
|
|
80542
|
+
"sap/ui/model/odata/v4/ts": undefined;
|
|
80543
|
+
|
|
79729
80544
|
"sap/ui/model/odata/v4/ValueListType": undefined;
|
|
79730
80545
|
|
|
79731
80546
|
"sap/ui/model/ParseException": undefined;
|