@openui5/types 1.140.0 → 1.141.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.
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.140.0
1
+ // For Library Version: 1.141.0
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -7657,9 +7657,9 @@ declare module "sap/ui/unified/CalendarAppointment" {
7657
7657
  $DateTypeRangeSettings,
7658
7658
  } from "sap/ui/unified/DateTypeRange";
7659
7659
 
7660
- import Control from "sap/ui/core/Control";
7660
+ import { ID, CSSColor, URI } from "sap/ui/core/library";
7661
7661
 
7662
- import { CSSColor, URI } from "sap/ui/core/library";
7662
+ import Control from "sap/ui/core/Control";
7663
7663
 
7664
7664
  import ElementMetadata from "sap/ui/core/ElementMetadata";
7665
7665
 
@@ -7739,6 +7739,18 @@ declare module "sap/ui/unified/CalendarAppointment" {
7739
7739
  * @returns Metadata object describing this class
7740
7740
  */
7741
7741
  static getMetadata(): ElementMetadata;
7742
+ /**
7743
+ * Adds some ariaLabelledBy into the association {@link #getAriaLabelledBy ariaLabelledBy}.
7744
+ *
7745
+ *
7746
+ * @returns Reference to `this` in order to allow method chaining
7747
+ */
7748
+ addAriaLabelledBy(
7749
+ /**
7750
+ * The ariaLabelledBy to add; if empty, nothing is inserted
7751
+ */
7752
+ vAriaLabelledBy: ID | Control
7753
+ ): this;
7742
7754
  /**
7743
7755
  * Adds some customContent to the aggregation {@link #getCustomContent customContent}.
7744
7756
  *
@@ -7760,6 +7772,10 @@ declare module "sap/ui/unified/CalendarAppointment" {
7760
7772
  * @returns Reference to `this` in order to allow method chaining
7761
7773
  */
7762
7774
  destroyCustomContent(): this;
7775
+ /**
7776
+ * Returns array of IDs of the elements which are the current targets of the association {@link #getAriaLabelledBy ariaLabelledBy}.
7777
+ */
7778
+ getAriaLabelledBy(): ID[];
7763
7779
  /**
7764
7780
  * Gets current value of property {@link #getColor color}.
7765
7781
  *
@@ -7785,6 +7801,12 @@ declare module "sap/ui/unified/CalendarAppointment" {
7785
7801
  * - Do not use interactive controls as content, as they may trigger unwanted selection of the appointment
7786
7802
  * and may lead to unpredictable results.
7787
7803
  *
7804
+ * **Note:** When using the `customContent` aggregation, it is the application developer's responsibility
7805
+ * to add appropriate labels to the `ariaLabelledBy` association to provide accessible information about
7806
+ * this appointment as the standard properties (`title`, `text`, `description`, and `icon`) are ignored,
7807
+ * which means screen readers will have no information about the appointment unless proper ARIA labeling
7808
+ * is implemented.
7809
+ *
7788
7810
  * @since 1.93.0
7789
7811
  */
7790
7812
  getCustomContent(): Control[];
@@ -7891,6 +7913,13 @@ declare module "sap/ui/unified/CalendarAppointment" {
7891
7913
  */
7892
7914
  iIndex: int
7893
7915
  ): this;
7916
+ /**
7917
+ * Removes all the controls in the association named {@link #getAriaLabelledBy ariaLabelledBy}.
7918
+ *
7919
+ *
7920
+ * @returns An array of the removed elements (might be empty)
7921
+ */
7922
+ removeAllAriaLabelledBy(): ID[];
7894
7923
  /**
7895
7924
  * Removes all the controls from the aggregation {@link #getCustomContent customContent}.
7896
7925
  *
@@ -7901,6 +7930,18 @@ declare module "sap/ui/unified/CalendarAppointment" {
7901
7930
  * @returns An array of the removed elements (might be empty)
7902
7931
  */
7903
7932
  removeAllCustomContent(): Control[];
7933
+ /**
7934
+ * Removes an ariaLabelledBy from the association named {@link #getAriaLabelledBy ariaLabelledBy}.
7935
+ *
7936
+ *
7937
+ * @returns The removed ariaLabelledBy or `null`
7938
+ */
7939
+ removeAriaLabelledBy(
7940
+ /**
7941
+ * The ariaLabelledBy to be removed or its index or ID
7942
+ */
7943
+ vAriaLabelledBy: int | ID | Control
7944
+ ): ID | null;
7904
7945
  /**
7905
7946
  * Removes a customContent from the aggregation {@link #getCustomContent customContent}.
7906
7947
  *
@@ -8115,6 +8156,12 @@ declare module "sap/ui/unified/CalendarAppointment" {
8115
8156
  * - Do not use interactive controls as content, as they may trigger unwanted selection of the appointment
8116
8157
  * and may lead to unpredictable results.
8117
8158
  *
8159
+ * **Note:** When using the `customContent` aggregation, it is the application developer's responsibility
8160
+ * to add appropriate labels to the `ariaLabelledBy` association to provide accessible information about
8161
+ * this appointment as the standard properties (`title`, `text`, `description`, and `icon`) are ignored,
8162
+ * which means screen readers will have no information about the appointment unless proper ARIA labeling
8163
+ * is implemented.
8164
+ *
8118
8165
  * @since 1.93.0
8119
8166
  */
8120
8167
  customContent?:
@@ -8122,6 +8169,11 @@ declare module "sap/ui/unified/CalendarAppointment" {
8122
8169
  | Control
8123
8170
  | AggregationBindingInfo
8124
8171
  | `{${string}}`;
8172
+
8173
+ /**
8174
+ * Association to controls / ids which label this control (see WAI-ARIA attribute aria-labelledBy).
8175
+ */
8176
+ ariaLabelledBy?: Array<Control | string>;
8125
8177
  }
8126
8178
  }
8127
8179
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.140.0
1
+ // For Library Version: 1.141.0
2
2
 
3
3
  declare module "sap/ui/ux3/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.140.0
1
+ // For Library Version: 1.141.0
2
2
 
3
3
  declare module "sap/ui/webc/common/library" {}
4
4
 
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.140.0
1
+ // For Library Version: 1.141.0
2
2
 
3
3
  declare module "sap/ui/webc/fiori/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.140.0
1
+ // For Library Version: 1.141.0
2
2
 
3
3
  declare module "sap/ui/webc/main/library" {
4
4
  /**
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.140.0
1
+ // For Library Version: 1.141.0
2
2
 
3
3
  declare module "sap/uxap/library" {
4
4
  /**