@sapui5/types 1.120.4 → 1.120.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/package.json +1 -1
  2. package/types/sap.chart.d.ts +1 -1
  3. package/types/sap.f.d.ts +1 -1
  4. package/types/sap.fe.core.d.ts +1 -1
  5. package/types/sap.fe.macros.d.ts +1 -1
  6. package/types/sap.fe.navigation.d.ts +1 -1
  7. package/types/sap.fe.placeholder.d.ts +1 -1
  8. package/types/sap.fe.templates.d.ts +1 -1
  9. package/types/sap.fe.test.d.ts +1 -1
  10. package/types/sap.fe.tools.d.ts +1 -1
  11. package/types/sap.gantt.d.ts +2 -2
  12. package/types/sap.insights.d.ts +5 -1
  13. package/types/sap.m.d.ts +57 -1
  14. package/types/sap.makit.d.ts +1 -1
  15. package/types/sap.me.d.ts +1 -1
  16. package/types/sap.ndc.d.ts +1 -1
  17. package/types/sap.ovp.d.ts +1 -1
  18. package/types/sap.sac.df.d.ts +314 -13
  19. package/types/sap.suite.ui.commons.d.ts +33 -9
  20. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  21. package/types/sap.suite.ui.microchart.d.ts +1 -1
  22. package/types/sap.tnt.d.ts +1 -1
  23. package/types/sap.ui.codeeditor.d.ts +1 -1
  24. package/types/sap.ui.commons.d.ts +1 -1
  25. package/types/sap.ui.comp.d.ts +1 -1
  26. package/types/sap.ui.core.d.ts +5 -5
  27. package/types/sap.ui.dt.d.ts +1 -1
  28. package/types/sap.ui.export.d.ts +1 -1
  29. package/types/sap.ui.fl.d.ts +1 -1
  30. package/types/sap.ui.integration.d.ts +1 -1
  31. package/types/sap.ui.layout.d.ts +1 -1
  32. package/types/sap.ui.mdc.d.ts +3 -3
  33. package/types/sap.ui.richtexteditor.d.ts +1 -1
  34. package/types/sap.ui.rta.d.ts +1 -1
  35. package/types/sap.ui.suite.d.ts +1 -1
  36. package/types/sap.ui.support.d.ts +1 -1
  37. package/types/sap.ui.table.d.ts +1 -1
  38. package/types/sap.ui.testrecorder.d.ts +1 -1
  39. package/types/sap.ui.unified.d.ts +1 -1
  40. package/types/sap.ui.ux3.d.ts +1 -1
  41. package/types/sap.ui.vk.d.ts +10 -1
  42. package/types/sap.ui.webc.common.d.ts +1 -1
  43. package/types/sap.ui.webc.fiori.d.ts +1 -1
  44. package/types/sap.ui.webc.main.d.ts +1 -1
  45. package/types/sap.uiext.inbox.d.ts +1 -1
  46. package/types/sap.ushell.d.ts +444 -2
  47. package/types/sap.ushell_abap.d.ts +1 -1
  48. package/types/sap.uxap.d.ts +1 -1
  49. package/types/sap.viz.d.ts +1 -1
  50. package/types/sap.zen.commons.d.ts +1 -1
  51. package/types/sap.zen.crosstab.d.ts +1 -1
  52. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.4
1
+ // For Library Version: 1.120.6
2
2
 
3
3
  declare module "sap/ushell/library" {
4
4
  /**
@@ -7366,6 +7366,117 @@ declare module "sap/ushell/services/PersonalizationV2/ContextContainer" {
7366
7366
  * To be called by the personalization service getContainer method.
7367
7367
  */
7368
7368
  constructor();
7369
+
7370
+ /**
7371
+ * @since 1.120.0
7372
+ *
7373
+ * clears the local copy data of this container
7374
+ */
7375
+ clearData(): void;
7376
+ /**
7377
+ * @since 1.120.0
7378
+ *
7379
+ * Checks if a specific direct item is contained in the container.
7380
+ *
7381
+ * @returns `true` if the container contains a direct item with the key
7382
+ */
7383
+ containsItem(
7384
+ /**
7385
+ * item key
7386
+ */
7387
+ sItemKey: string
7388
+ ): boolean;
7389
+ /**
7390
+ * @since 1.120.0
7391
+ *
7392
+ * Deletes a direct item from the container. In case the item does not exist, nothing happens.
7393
+ */
7394
+ deleteItem(
7395
+ /**
7396
+ * item key
7397
+ */
7398
+ sItemKey: string
7399
+ ): void;
7400
+ /**
7401
+ * @since 1.120.0
7402
+ *
7403
+ * flush all pending request; The result of the promise may reflect the last pending operation in the queue
7404
+ *
7405
+ * @returns promise
7406
+ */
7407
+ flushPendingRequests(): Promise<any>;
7408
+ /**
7409
+ * @since 1.120.0
7410
+ *
7411
+ * Returns an array with the keys of direct items in the container.
7412
+ *
7413
+ * @returns item keys
7414
+ */
7415
+ getItemKeys(): string[];
7416
+ /**
7417
+ * @since 1.120.0
7418
+ *
7419
+ * Returns the value for a direct item from the container. (Value semantics, new copy is returned)
7420
+ *
7421
+ * @returns item value (JSON object). In case the container does not contain a direct item with this key
7422
+ * `undefined` is returned.
7423
+ */
7424
+ getItemValue(
7425
+ /**
7426
+ * item key
7427
+ */
7428
+ sItemKey: string
7429
+ ): object;
7430
+ /**
7431
+ * @since 1.120.0
7432
+ *
7433
+ * return the container key as a string variable
7434
+ *
7435
+ * @returns the container key
7436
+ */
7437
+ getKey(): string;
7438
+ /**
7439
+ * @since 1.120.0
7440
+ *
7441
+ * (Re)loads the current container data from the underlying storage asynchronously. The current local data
7442
+ * is discarded.
7443
+ *
7444
+ * Returns a promise for the load operation. If another save/load/delete operation is not completed, the
7445
+ * operation may fail! (wait for the other promise).
7446
+ *
7447
+ * Synchronous read and write operations before the load is done have undefined effects.
7448
+ *
7449
+ * @returns Promise object
7450
+ */
7451
+ load(): Promise<object>;
7452
+ /**
7453
+ * @since 1.120.0
7454
+ *
7455
+ * * todo: jsdoc Save the current container data at the underlying storage asynchronously at the earlies
7456
+ * nDelayInMilliseconds seconds before. The current state is serialized.
7457
+ *
7458
+ * @returns Promise object
7459
+ *
7460
+ * The operation may wait for completion of another pending operation.
7461
+ */
7462
+ save(nDelayInMilliseconds: int): Promise<any>;
7463
+ /**
7464
+ * @since 1.120.0
7465
+ *
7466
+ * Sets the value of a direct item in the container. In case the item is already existing its value is overwritten.
7467
+ * In case it is not existing a new item with this key and value is created. The value is serialized during
7468
+ * set
7469
+ */
7470
+ setItemValue(
7471
+ /**
7472
+ * item key. The string length is restricted to 40 characters
7473
+ */
7474
+ sItemKey: string,
7475
+ /**
7476
+ * item value (JSON object)
7477
+ */
7478
+ oItemValue: object
7479
+ ): void;
7369
7480
  }
7370
7481
  }
7371
7482
 
@@ -7381,6 +7492,36 @@ declare module "sap/ushell/services/PersonalizationV2/Personalizer" {
7381
7492
  * To be called by the personalization service getPersonalizer method.
7382
7493
  */
7383
7494
  constructor();
7495
+
7496
+ /**
7497
+ * @since 1.120.0
7498
+ *
7499
+ * Deletes a personalization data value.
7500
+ *
7501
+ * @returns Resolves if delete was successful
7502
+ */
7503
+ deletePersData(): Promise<any>;
7504
+ /**
7505
+ * @since 1.120.0
7506
+ *
7507
+ * Gets a personalization data value.
7508
+ *
7509
+ * @returns Resolves the data
7510
+ */
7511
+ getPersData(): Promise<object>;
7512
+ /**
7513
+ * @since 1.120.0
7514
+ *
7515
+ * Sets a personalization data value.
7516
+ *
7517
+ * @returns Resolves if save was successful
7518
+ */
7519
+ setPersData(
7520
+ /**
7521
+ * JSON object containing the personalization value.
7522
+ */
7523
+ oValue: object
7524
+ ): Promise<any>;
7384
7525
  }
7385
7526
  }
7386
7527
 
@@ -7393,6 +7534,36 @@ declare module "sap/ushell/services/PersonalizationV2/TransientPersonalizer" {
7393
7534
  */
7394
7535
  export default class TransientPersonalizer {
7395
7536
  constructor();
7537
+
7538
+ /**
7539
+ * @since 1.120.0
7540
+ *
7541
+ * Deletes a personalization data value.
7542
+ *
7543
+ * @returns Resolves if delete was successful.
7544
+ */
7545
+ deletePersData(): Promise<any>;
7546
+ /**
7547
+ * @since 1.120.0
7548
+ *
7549
+ * Gets a personalization data value.
7550
+ *
7551
+ * @returns Resolves the data.
7552
+ */
7553
+ getPersData(): Promise<object>;
7554
+ /**
7555
+ * @since 1.120.0
7556
+ *
7557
+ * Sets a personalization data value.
7558
+ *
7559
+ * @returns Resolves if save was successful.
7560
+ */
7561
+ setPersData(
7562
+ /**
7563
+ * JSON object containing the personalization value.
7564
+ */
7565
+ oValue: object
7566
+ ): Promise<any>;
7396
7567
  }
7397
7568
  }
7398
7569
 
@@ -7405,13 +7576,220 @@ declare module "sap/ushell/services/PersonalizationV2/Variant" {
7405
7576
  */
7406
7577
  export default class Variant {
7407
7578
  /**
7408
- * To be instantiated via Personalization.VariantSet add / get Variant only
7579
+ * To be instantiated via PersonalizationV2.VariantSet add / get Variant only
7409
7580
  */
7410
7581
  constructor();
7582
+
7583
+ /**
7584
+ * @since 1.120.0
7585
+ *
7586
+ * Checks if a specific item is contained in this variant.
7587
+ *
7588
+ * @returns `true` if the variant contains an item with the key
7589
+ */
7590
+ containsItem(
7591
+ /**
7592
+ * item key
7593
+ */
7594
+ sItemKey: string
7595
+ ): boolean;
7596
+ /**
7597
+ * @since 1.120.0
7598
+ *
7599
+ * Deletes an item from this variant. In case the item does not exist, nothing happens.
7600
+ */
7601
+ deleteItem(
7602
+ /**
7603
+ * item key
7604
+ */
7605
+ sItemKey: string
7606
+ ): void;
7607
+ /**
7608
+ * @since 1.120.0
7609
+ *
7610
+ * Returns an array with the keys of all items in this variant.
7611
+ *
7612
+ * @returns item keys
7613
+ */
7614
+ getItemKeys(): string[];
7615
+ /**
7616
+ * @since 1.120.0
7617
+ *
7618
+ * Returns the value for an item in this variant.
7619
+ *
7620
+ * @returns item value (JSON object). In case the variant does not contain an item with this key `undefined`
7621
+ * is returned.
7622
+ */
7623
+ getItemValue(
7624
+ /**
7625
+ * item key
7626
+ */
7627
+ sItemKey: string
7628
+ ): object;
7629
+ /**
7630
+ * @since 1.120.0
7631
+ *
7632
+ * Returns the key of this variant.
7633
+ *
7634
+ * @returns variant key.
7635
+ */
7636
+ getVariantKey(): string;
7637
+ /**
7638
+ * @since 1.120.0
7639
+ *
7640
+ * Returns the name of this variant.
7641
+ *
7642
+ * @returns variant name.
7643
+ */
7644
+ getVariantName(): string;
7645
+ /**
7646
+ * @since 1.120.0
7647
+ *
7648
+ * Sets the value for an item in this variant.
7649
+ */
7650
+ setItemValue(
7651
+ /**
7652
+ * item key
7653
+ */
7654
+ sItemKey: string,
7655
+ /**
7656
+ * value (JSON object)
7657
+ */
7658
+ oItemValue: object
7659
+ ): void;
7660
+ /**
7661
+ * @since 1.120.0
7662
+ *
7663
+ * Sets the name of the variant.
7664
+ *
7665
+ * In case a variant with `sVariantName` is already existing in the corresponding variant set an exception
7666
+ * is thrown.
7667
+ */
7668
+ setVariantName(
7669
+ /**
7670
+ * variant name
7671
+ */
7672
+ sVariantName: string
7673
+ ): void;
7674
+ }
7675
+ }
7676
+
7677
+ declare module "sap/ushell/services/PersonalizationV2/VariantSet" {
7678
+ import Variant from "sap/ushell/services/PersonalizationV2/Variant";
7679
+
7680
+ /**
7681
+ * @since 1.120.0
7682
+ *
7683
+ * The personalization variant set contains variants of personalization data. It is used in the personalization
7684
+ * container mode.
7685
+ */
7686
+ export default class VariantSet {
7687
+ /**
7688
+ * A VariantSet is a class representing a collection of Variants (identified by a key and name) and a member
7689
+ * variable indicating the "current variable"
7690
+ *
7691
+ * When manipulating the underlying data, additional constraints are enforced.
7692
+ *
7693
+ * To be called by the personalization container.
7694
+ */
7695
+ constructor();
7696
+
7697
+ /**
7698
+ * @since 1.120.0
7699
+ *
7700
+ * Creates a new variant in the variant set. In case a variant with this name is already existing an exception
7701
+ * is thrown.
7702
+ */
7703
+ addVariant(
7704
+ /**
7705
+ * variant set name
7706
+ */
7707
+ sVariantName: string
7708
+ ): Variant;
7709
+ /**
7710
+ * @since 1.120.0
7711
+ *
7712
+ * Checks if a specific variant is contained in the variant set.
7713
+ *
7714
+ * @returns `true` if the variant set contains a variant with the key
7715
+ */
7716
+ containsVariant(
7717
+ /**
7718
+ * variant key
7719
+ */
7720
+ sVariantKey: string
7721
+ ): boolean;
7722
+ /**
7723
+ * @since 1.120.0
7724
+ *
7725
+ * Deletes a variant from the variant set. In case the variant does not exist nothing happens.
7726
+ */
7727
+ deleteVariant(
7728
+ /**
7729
+ * variant key
7730
+ */
7731
+ sVariantKey: string
7732
+ ): void;
7733
+ /**
7734
+ * @since 1.120.0
7735
+ *
7736
+ * Returns the current variant key.
7737
+ *
7738
+ * @returns current variant key. In case the current variant was never set `null` is returned.
7739
+ */
7740
+ getCurrentVariantKey(): string;
7741
+ /**
7742
+ * @since 1.120.0
7743
+ *
7744
+ * Returns a variant object.
7745
+ *
7746
+ * @returns In case the variant set does not contain a variant with this key `undefined` is returned.
7747
+ */
7748
+ getVariant(
7749
+ /**
7750
+ * variant key
7751
+ */
7752
+ sVariantKey: string
7753
+ ): Variant;
7754
+ /**
7755
+ * @since 1.120.0
7756
+ *
7757
+ * Returns the variant key corresponding to a variant name.
7758
+ *
7759
+ * @returns variant key. In case the variant set does not contain a variant with this name `undefined` is
7760
+ * returned.
7761
+ */
7762
+ getVariantKeyByName(
7763
+ /**
7764
+ * variant name
7765
+ */
7766
+ sVariantName: string
7767
+ ): string;
7768
+ /**
7769
+ * @since 1.120.0
7770
+ *
7771
+ * Returns an array with the keys of the variants in the variant set.
7772
+ *
7773
+ * @returns variant keys
7774
+ */
7775
+ getVariantKeys(): string[];
7776
+ /**
7777
+ * @since 1.120.0
7778
+ *
7779
+ * Sets the current variant key.
7780
+ */
7781
+ setCurrentVariantKey(
7782
+ /**
7783
+ * There is no validity check for the variant key.
7784
+ */
7785
+ sVariantKey: string
7786
+ ): void;
7411
7787
  }
7412
7788
  }
7413
7789
 
7414
7790
  declare module "sap/ushell/services/PersonalizationV2/VariantSetAdapter" {
7791
+ import VariantSet from "sap/ushell/services/PersonalizationV2/VariantSet";
7792
+
7415
7793
  /**
7416
7794
  * @since 1.120.0
7417
7795
  *
@@ -7440,6 +7818,66 @@ declare module "sap/ushell/services/PersonalizationV2/VariantSetAdapter" {
7440
7818
  */
7441
7819
  oContextContainer: object
7442
7820
  );
7821
+
7822
+ /**
7823
+ * @since 1.120.0
7824
+ *
7825
+ * Creates a new variant set in the container. In case a variant set with this key is already existing an
7826
+ * exception is thrown.
7827
+ *
7828
+ * @returns The new VariantSet
7829
+ */
7830
+ addVariantSet(
7831
+ /**
7832
+ * variant set key
7833
+ */
7834
+ sVariantSetKey: string
7835
+ ): VariantSet;
7836
+ /**
7837
+ * @since 1.120.0
7838
+ *
7839
+ * Checks if a specific variant set is contained in the container.
7840
+ *
7841
+ * @returns `true` if the container contains a variant set with the key
7842
+ */
7843
+ containsVariantSet(
7844
+ /**
7845
+ * variant set key
7846
+ */
7847
+ sVariantSetKey: string
7848
+ ): boolean;
7849
+ /**
7850
+ * @since 1.120.0
7851
+ *
7852
+ * Deletes a variant set from the container. In case the variant set does not exist nothing happens.
7853
+ */
7854
+ deleteVariantSet(
7855
+ /**
7856
+ * variant set key
7857
+ */
7858
+ sVariantSetKey: string
7859
+ ): void;
7860
+ /**
7861
+ * @since 1.120.0
7862
+ *
7863
+ * Returns the variant set object from the container.
7864
+ *
7865
+ * @returns In case the container does not contain a variant set with this key `undefined` is returned.
7866
+ */
7867
+ getVariantSet(
7868
+ /**
7869
+ * variant set key. The string length is restricted to 40 characters.
7870
+ */
7871
+ sVariantSetKey: string
7872
+ ): VariantSet;
7873
+ /**
7874
+ * @since 1.120.0
7875
+ *
7876
+ * Returns an array with the keys of the variant sets in the container.
7877
+ *
7878
+ * @returns variant set keys
7879
+ */
7880
+ getVariantSetKeys(): string[];
7443
7881
  }
7444
7882
  }
7445
7883
 
@@ -12225,6 +12663,8 @@ declare namespace sap {
12225
12663
 
12226
12664
  "sap/ushell/services/PersonalizationV2/Variant": undefined;
12227
12665
 
12666
+ "sap/ushell/services/PersonalizationV2/VariantSet": undefined;
12667
+
12228
12668
  "sap/ushell/services/PersonalizationV2/VariantSetAdapter": undefined;
12229
12669
 
12230
12670
  "sap/ushell/services/SearchableContent": undefined;
@@ -12243,6 +12683,8 @@ declare namespace sap {
12243
12683
 
12244
12684
  "sap/ushell/services/UserInfo": undefined;
12245
12685
 
12686
+ "sap/ushell/services/UserRecents": undefined;
12687
+
12246
12688
  "sap/ushell/services/VisualizationInstantiation": undefined;
12247
12689
 
12248
12690
  "sap/ushell/System": undefined;
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.4
1
+ // For Library Version: 1.120.6
2
2
 
3
3
  declare namespace sap {
4
4
  interface IUI5DefineDependencyNames {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.6
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.3
1
+ // For Library Version: 1.120.6
2
2
 
3
3
  declare module "sap/viz/library" {
4
4
  export namespace ui5 {
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.2
2
2
 
3
3
  declare module "sap/zen/commons/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.2
2
2
 
3
3
  declare module "sap/zen/crosstab/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.120.0
1
+ // For Library Version: 1.120.2
2
2
 
3
3
  declare module "sap/zen/dsh/library" {}
4
4