@openui5/ts-types 1.127.1 → 1.129.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.127.1
1
+ // For Library Version: 1.129.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -6633,6 +6633,17 @@ declare namespace sap {
6633
6633
  | sap.ui.base.ManagedObject.AggregationBindingInfo
6634
6634
  | `{${string}}`;
6635
6635
 
6636
+ /**
6637
+ * Sets the provided period to be displayed as a non-working.
6638
+ *
6639
+ * @since 1.128
6640
+ */
6641
+ nonWorkingPeriods?:
6642
+ | sap.ui.unified.NonWorkingPeriod[]
6643
+ | sap.ui.unified.NonWorkingPeriod
6644
+ | sap.ui.base.ManagedObject.AggregationBindingInfo
6645
+ | `{${string}}`;
6646
+
6636
6647
  /**
6637
6648
  * Appointments to be displayed in the top of the intervals. The `intervalHeaders` are used to visualize
6638
6649
  * public holidays and similar things.
@@ -7633,6 +7644,13 @@ declare namespace sap {
7633
7644
  * menu item. This event and the event of the menu items are redundant.
7634
7645
  */
7635
7646
  itemSelect?: (oEvent: Menu$ItemSelectEvent) => void;
7647
+
7648
+ /**
7649
+ * Fired when the menu is closed.
7650
+ *
7651
+ * @since 1.129
7652
+ */
7653
+ closed?: (oEvent: sap.ui.base.Event) => void;
7636
7654
  }
7637
7655
 
7638
7656
  /**
@@ -7780,6 +7798,26 @@ declare namespace sap {
7780
7798
  | `{${string}}`;
7781
7799
  }
7782
7800
 
7801
+ /**
7802
+ * Describes the settings that can be provided to the NonWorkingPeriod constructor.
7803
+ *
7804
+ * @experimental (since 1.127.0)
7805
+ */
7806
+ interface $NonWorkingPeriodSettings extends sap.ui.core.$ElementSettings {
7807
+ /**
7808
+ * Determines the day to which the timeRange refers. This object must be a UI5Date or JavaScript Date object.
7809
+ */
7810
+ date?:
7811
+ | object
7812
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7813
+ | `{${string}}`;
7814
+
7815
+ /**
7816
+ * Defines the hours range for the non-working period.
7817
+ */
7818
+ timeRange?: sap.ui.unified.TimeRange;
7819
+ }
7820
+
7783
7821
  /**
7784
7822
  * Describes the settings that can be provided to the Shell constructor.
7785
7823
  *
@@ -8160,6 +8198,30 @@ declare namespace sap {
8160
8198
  | `{${string}}`;
8161
8199
  }
8162
8200
 
8201
+ /**
8202
+ * Describes the settings that can be provided to the TimeRange constructor.
8203
+ *
8204
+ * @experimental (since 1.127.0)
8205
+ */
8206
+ interface $TimeRangeSettings extends sap.ui.core.$ElementSettings {
8207
+ /**
8208
+ * Start time for a time range. This must be a String.
8209
+ */
8210
+ start?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
8211
+
8212
+ /**
8213
+ * End time for a time range. This must be a String.
8214
+ */
8215
+ end?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
8216
+
8217
+ /**
8218
+ * Determines the format of the startTime and endTime
8219
+ *
8220
+ * **Note:** a time pattern in LDML format. It is not verified whether the pattern only represents a time.
8221
+ */
8222
+ valueFormat?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
8223
+ }
8224
+
8163
8225
  /**
8164
8226
  * Parameters of the Calendar#cancel event.
8165
8227
  */
@@ -8698,6 +8760,11 @@ declare namespace sap {
8698
8760
  requestHeaders?: object[];
8699
8761
  }
8700
8762
 
8763
+ /**
8764
+ * Parameters of the Menu#closed event.
8765
+ */
8766
+ interface Menu$ClosedEventParameters {}
8767
+
8701
8768
  /**
8702
8769
  * Parameters of the Menu#itemSelect event.
8703
8770
  */
@@ -11798,6 +11865,19 @@ declare namespace sap {
11798
11865
  */
11799
11866
  oIntervalHeader: sap.ui.unified.CalendarAppointment
11800
11867
  ): this;
11868
+ /**
11869
+ * Adds some nonWorkingPeriod to the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
11870
+ *
11871
+ * @since 1.128
11872
+ *
11873
+ * @returns Reference to `this` in order to allow method chaining
11874
+ */
11875
+ addNonWorkingPeriod(
11876
+ /**
11877
+ * The nonWorkingPeriod to add; if empty, nothing is inserted
11878
+ */
11879
+ oNonWorkingPeriod: sap.ui.unified.NonWorkingPeriod
11880
+ ): this;
11801
11881
  /**
11802
11882
  * Attaches event handler `fnFunction` to the {@link #event:intervalSelect intervalSelect} event of this
11803
11883
  * `sap.ui.unified.CalendarRow`.
@@ -12008,6 +12088,14 @@ declare namespace sap {
12008
12088
  * @returns Reference to `this` in order to allow method chaining
12009
12089
  */
12010
12090
  destroyIntervalHeaders(): this;
12091
+ /**
12092
+ * Destroys all the nonWorkingPeriods in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
12093
+ *
12094
+ * @since 1.128
12095
+ *
12096
+ * @returns Reference to `this` in order to allow method chaining
12097
+ */
12098
+ destroyNonWorkingPeriods(): this;
12011
12099
  /**
12012
12100
  * Detaches event handler `fnFunction` from the {@link #event:intervalSelect intervalSelect} event of this
12013
12101
  * `sap.ui.unified.CalendarRow`.
@@ -12370,6 +12458,14 @@ declare namespace sap {
12370
12458
  * @returns Value of property `nonWorkingHours`
12371
12459
  */
12372
12460
  getNonWorkingHours(): int[];
12461
+ /**
12462
+ * Gets content of aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
12463
+ *
12464
+ * Sets the provided period to be displayed as a non-working.
12465
+ *
12466
+ * @since 1.128
12467
+ */
12468
+ getNonWorkingPeriods(): sap.ui.unified.NonWorkingPeriod[];
12373
12469
  /**
12374
12470
  * Gets current value of property {@link #getShowEmptyIntervalHeaders showEmptyIntervalHeaders}.
12375
12471
  *
@@ -12491,6 +12587,20 @@ declare namespace sap {
12491
12587
  */
12492
12588
  oIntervalHeader: sap.ui.unified.CalendarAppointment
12493
12589
  ): int;
12590
+ /**
12591
+ * Checks for the provided `sap.ui.unified.NonWorkingPeriod` in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
12592
+ * and returns its index if found or -1 otherwise.
12593
+ *
12594
+ * @since 1.128
12595
+ *
12596
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
12597
+ */
12598
+ indexOfNonWorkingPeriod(
12599
+ /**
12600
+ * The nonWorkingPeriod whose index is looked for
12601
+ */
12602
+ oNonWorkingPeriod: sap.ui.unified.NonWorkingPeriod
12603
+ ): int;
12494
12604
  /**
12495
12605
  * Inserts a appointment into the aggregation {@link #getAppointments appointments}.
12496
12606
  *
@@ -12527,6 +12637,25 @@ declare namespace sap {
12527
12637
  */
12528
12638
  iIndex: int
12529
12639
  ): this;
12640
+ /**
12641
+ * Inserts a nonWorkingPeriod into the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
12642
+ *
12643
+ * @since 1.128
12644
+ *
12645
+ * @returns Reference to `this` in order to allow method chaining
12646
+ */
12647
+ insertNonWorkingPeriod(
12648
+ /**
12649
+ * The nonWorkingPeriod to insert; if empty, nothing is inserted
12650
+ */
12651
+ oNonWorkingPeriod: sap.ui.unified.NonWorkingPeriod,
12652
+ /**
12653
+ * The `0`-based index the nonWorkingPeriod should be inserted at; for a negative value of `iIndex`, the
12654
+ * nonWorkingPeriod is inserted at position 0; for a value greater than the current size of the aggregation,
12655
+ * the nonWorkingPeriod is inserted at the last position
12656
+ */
12657
+ iIndex: int
12658
+ ): this;
12530
12659
  /**
12531
12660
  * Removes all the controls from the aggregation {@link #getAppointments appointments}.
12532
12661
  *
@@ -12552,6 +12681,16 @@ declare namespace sap {
12552
12681
  * @returns An array of the removed elements (might be empty)
12553
12682
  */
12554
12683
  removeAllIntervalHeaders(): sap.ui.unified.CalendarAppointment[];
12684
+ /**
12685
+ * Removes all the controls from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
12686
+ *
12687
+ * Additionally, it unregisters them from the hosting UIArea.
12688
+ *
12689
+ * @since 1.128
12690
+ *
12691
+ * @returns An array of the removed elements (might be empty)
12692
+ */
12693
+ removeAllNonWorkingPeriods(): sap.ui.unified.NonWorkingPeriod[];
12555
12694
  /**
12556
12695
  * Removes a appointment from the aggregation {@link #getAppointments appointments}.
12557
12696
  *
@@ -12588,6 +12727,19 @@ declare namespace sap {
12588
12727
  */
12589
12728
  vIntervalHeader: int | string | sap.ui.unified.CalendarAppointment
12590
12729
  ): sap.ui.unified.CalendarAppointment | null;
12730
+ /**
12731
+ * Removes a nonWorkingPeriod from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
12732
+ *
12733
+ * @since 1.128
12734
+ *
12735
+ * @returns The removed nonWorkingPeriod or `null`
12736
+ */
12737
+ removeNonWorkingPeriod(
12738
+ /**
12739
+ * The nonWorkingPeriod to remove or its index or id
12740
+ */
12741
+ vNonWorkingPeriod: int | string | sap.ui.unified.NonWorkingPeriod
12742
+ ): sap.ui.unified.NonWorkingPeriod | null;
12591
12743
  /**
12592
12744
  * Sets a new value for property {@link #getAppointmentHeight appointmentHeight}.
12593
12745
  *
@@ -17969,6 +18121,55 @@ declare namespace sap {
17969
18121
  */
17970
18122
  oItem: sap.ui.unified.IMenuItem
17971
18123
  ): this;
18124
+ /**
18125
+ * Attaches event handler `fnFunction` to the {@link #event:closed closed} event of this `sap.ui.unified.Menu`.
18126
+ *
18127
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
18128
+ * otherwise it will be bound to this `sap.ui.unified.Menu` itself.
18129
+ *
18130
+ * Fired when the menu is closed.
18131
+ *
18132
+ * @since 1.129
18133
+ *
18134
+ * @returns Reference to `this` in order to allow method chaining
18135
+ */
18136
+ attachClosed(
18137
+ /**
18138
+ * An application-specific payload object that will be passed to the event handler along with the event
18139
+ * object when firing the event
18140
+ */
18141
+ oData: object,
18142
+ /**
18143
+ * The function to be called when the event occurs
18144
+ */
18145
+ fnFunction: (p1: sap.ui.base.Event) => void,
18146
+ /**
18147
+ * Context object to call the event handler with. Defaults to this `sap.ui.unified.Menu` itself
18148
+ */
18149
+ oListener?: object
18150
+ ): this;
18151
+ /**
18152
+ * Attaches event handler `fnFunction` to the {@link #event:closed closed} event of this `sap.ui.unified.Menu`.
18153
+ *
18154
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
18155
+ * otherwise it will be bound to this `sap.ui.unified.Menu` itself.
18156
+ *
18157
+ * Fired when the menu is closed.
18158
+ *
18159
+ * @since 1.129
18160
+ *
18161
+ * @returns Reference to `this` in order to allow method chaining
18162
+ */
18163
+ attachClosed(
18164
+ /**
18165
+ * The function to be called when the event occurs
18166
+ */
18167
+ fnFunction: (p1: sap.ui.base.Event) => void,
18168
+ /**
18169
+ * Context object to call the event handler with. Defaults to this `sap.ui.unified.Menu` itself
18170
+ */
18171
+ oListener?: object
18172
+ ): this;
17972
18173
  /**
17973
18174
  * Attaches event handler `fnFunction` to the {@link #event:itemSelect itemSelect} event of this `sap.ui.unified.Menu`.
17974
18175
  *
@@ -18031,6 +18232,25 @@ declare namespace sap {
18031
18232
  * @returns Reference to `this` in order to allow method chaining
18032
18233
  */
18033
18234
  destroyItems(): this;
18235
+ /**
18236
+ * Detaches event handler `fnFunction` from the {@link #event:closed closed} event of this `sap.ui.unified.Menu`.
18237
+ *
18238
+ * The passed function and listener object must match the ones used for event registration.
18239
+ *
18240
+ * @since 1.129
18241
+ *
18242
+ * @returns Reference to `this` in order to allow method chaining
18243
+ */
18244
+ detachClosed(
18245
+ /**
18246
+ * The function to be called, when the event occurs
18247
+ */
18248
+ fnFunction: (p1: sap.ui.base.Event) => void,
18249
+ /**
18250
+ * Context object on which the given function had to be called
18251
+ */
18252
+ oListener?: object
18253
+ ): this;
18034
18254
  /**
18035
18255
  * Detaches event handler `fnFunction` from the {@link #event:itemSelect itemSelect} event of this `sap.ui.unified.Menu`.
18036
18256
  *
@@ -18049,6 +18269,20 @@ declare namespace sap {
18049
18269
  */
18050
18270
  oListener?: object
18051
18271
  ): this;
18272
+ /**
18273
+ * Fires event {@link #event:closed closed} to attached listeners.
18274
+ *
18275
+ * @since 1.129
18276
+ * @ui5-protected Do not call from applications (only from related classes in the framework)
18277
+ *
18278
+ * @returns Reference to `this` in order to allow method chaining
18279
+ */
18280
+ fireClosed(
18281
+ /**
18282
+ * Parameters to pass along with the event
18283
+ */
18284
+ mParameters?: object
18285
+ ): this;
18052
18286
  /**
18053
18287
  * Fires event {@link #event:itemSelect itemSelect} to attached listeners.
18054
18288
  *
@@ -19316,6 +19550,284 @@ declare namespace sap {
19316
19550
  sValueState?: sap.ui.core.ValueState
19317
19551
  ): this;
19318
19552
  }
19553
+ /**
19554
+ * NonWorkingPeriod
19555
+ *
19556
+ * @since 1.27.0
19557
+ * @experimental (since 1.127.0)
19558
+ */
19559
+ class NonWorkingPeriod extends sap.ui.core.Element {
19560
+ /**
19561
+ * Constructor for a new NonWorkingPeriod.
19562
+ *
19563
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
19564
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
19565
+ * of the syntax of the settings object.
19566
+ */
19567
+ constructor(
19568
+ /**
19569
+ * initial settings for the new control
19570
+ */
19571
+ mSettings?: sap.ui.unified.$NonWorkingPeriodSettings
19572
+ );
19573
+ /**
19574
+ * Constructor for a new NonWorkingPeriod.
19575
+ *
19576
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
19577
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
19578
+ * of the syntax of the settings object.
19579
+ */
19580
+ constructor(
19581
+ /**
19582
+ * ID for the new control, generated automatically if no ID is given
19583
+ */
19584
+ sId?: string,
19585
+ /**
19586
+ * initial settings for the new control
19587
+ */
19588
+ mSettings?: sap.ui.unified.$NonWorkingPeriodSettings
19589
+ );
19590
+
19591
+ /**
19592
+ * Creates a new subclass of class sap.ui.unified.NonWorkingPeriod with name `sClassName` and enriches it
19593
+ * with the information contained in `oClassInfo`.
19594
+ *
19595
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
19596
+ *
19597
+ *
19598
+ * @returns Created class / constructor function
19599
+ */
19600
+ static extend<T extends Record<string, unknown>>(
19601
+ /**
19602
+ * Name of the class being created
19603
+ */
19604
+ sClassName: string,
19605
+ /**
19606
+ * Object literal with information about the class
19607
+ */
19608
+ oClassInfo?: sap.ClassInfo<T, sap.ui.unified.NonWorkingPeriod>,
19609
+ /**
19610
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
19611
+ * used by this class
19612
+ */
19613
+ FNMetaImpl?: Function
19614
+ ): Function;
19615
+ /**
19616
+ * Returns a metadata object for class sap.ui.unified.NonWorkingPeriod.
19617
+ *
19618
+ *
19619
+ * @returns Metadata object describing this class
19620
+ */
19621
+ static getMetadata(): sap.ui.core.ElementMetadata;
19622
+ /**
19623
+ * Destroys the timeRange in the aggregation {@link #getTimeRange timeRange}.
19624
+ *
19625
+ *
19626
+ * @returns Reference to `this` in order to allow method chaining
19627
+ */
19628
+ destroyTimeRange(): this;
19629
+ /**
19630
+ * Gets current value of property {@link #getDate date}.
19631
+ *
19632
+ * Determines the day to which the timeRange refers. This object must be a UI5Date or JavaScript Date object.
19633
+ *
19634
+ *
19635
+ * @returns Value of property `date`
19636
+ */
19637
+ getDate(): object;
19638
+ /**
19639
+ * Returns the duration of the non-working period.
19640
+ *
19641
+ *
19642
+ * @returns returns a number that represents the duration of a calendar item in minutes
19643
+ */
19644
+ getDurationInMinutes(): int;
19645
+ /**
19646
+ * Gets content of aggregation {@link #getTimeRange timeRange}.
19647
+ *
19648
+ * Defines the hours range for the non-working period.
19649
+ */
19650
+ getTimeRange(): sap.ui.unified.TimeRange;
19651
+ /**
19652
+ * Sets a new value for property {@link #getDate date}.
19653
+ *
19654
+ * Determines the day to which the timeRange refers. This object must be a UI5Date or JavaScript Date object.
19655
+ *
19656
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19657
+ *
19658
+ *
19659
+ * @returns Reference to `this` in order to allow method chaining
19660
+ */
19661
+ setDate(
19662
+ /**
19663
+ * New value for property `date`
19664
+ */
19665
+ oDate: object
19666
+ ): this;
19667
+ /**
19668
+ * Sets the aggregated {@link #getTimeRange timeRange}.
19669
+ *
19670
+ *
19671
+ * @returns Reference to `this` in order to allow method chaining
19672
+ */
19673
+ setTimeRange(
19674
+ /**
19675
+ * The timeRange to set
19676
+ */
19677
+ oTimeRange: sap.ui.unified.TimeRange
19678
+ ): this;
19679
+ }
19680
+ /**
19681
+ * A `RecurringNonWorkingPeriod` for use in a `PlanningCalendar` and `SinglePlanningCalendar`.
19682
+ *
19683
+ * Applications can inherit from this element to add own fields.
19684
+ *
19685
+ * @since 1.127.0
19686
+ * @experimental (since 1.127.0)
19687
+ */
19688
+ class RecurringNonWorkingPeriod
19689
+ extends /* was: sap.ui.unified. */ Object
19690
+ {
19691
+ /**
19692
+ * Constructor for a new `RecurringNonWorkingPeriod`.
19693
+ *
19694
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
19695
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
19696
+ * of the syntax of the settings object.
19697
+ */
19698
+ constructor(
19699
+ /**
19700
+ * ID for the new control, generated automatically if no ID is given
19701
+ */
19702
+ sId?: string,
19703
+ /**
19704
+ * Initial settings for the new control
19705
+ */
19706
+ mSettings?: object
19707
+ );
19708
+
19709
+ /**
19710
+ * Creates a new subclass of class sap.ui.unified.RecurringNonWorkingPeriod with name `sClassName` and enriches
19711
+ * it with the information contained in `oClassInfo`.
19712
+ *
19713
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.unified..extend}.
19714
+ *
19715
+ *
19716
+ * @returns Created class / constructor function
19717
+ */
19718
+ static extend<T extends Record<string, unknown>>(
19719
+ /**
19720
+ * Name of the class being created
19721
+ */
19722
+ sClassName: string,
19723
+ /**
19724
+ * Object literal with information about the class
19725
+ */
19726
+ oClassInfo?: sap.ClassInfo<
19727
+ T,
19728
+ sap.ui.unified.RecurringNonWorkingPeriod
19729
+ >,
19730
+ /**
19731
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
19732
+ * used by this class
19733
+ */
19734
+ FNMetaImpl?: Function
19735
+ ): Function;
19736
+ /**
19737
+ * Returns a metadata object for class sap.ui.unified.RecurringNonWorkingPeriod.
19738
+ *
19739
+ *
19740
+ * @returns Metadata object describing this class
19741
+ */
19742
+ static getMetadata(): sap.ui.base.Metadata;
19743
+ /**
19744
+ * Gets current value of property {@link #getRecurrenceEndDate recurrenceEndDate}.
19745
+ *
19746
+ * Determines the end date of the calendar item, as a UI5Date or JavaScript Date object. It is considered
19747
+ * as a local date.
19748
+ *
19749
+ *
19750
+ * @returns Value of property `recurrenceEndDate`
19751
+ */
19752
+ getRecurrenceEndDate(): object;
19753
+ /**
19754
+ * Gets current value of property {@link #getRecurrencePattern recurrencePattern}.
19755
+ *
19756
+ * The recurrencePattern is an integer value which, in combination with the recurrenceType, sets the recurrence
19757
+ * frequency for a calendar item. For example, if the recurrenceType is set to "Daily" and the recurrencePattern
19758
+ * is set to 1, it signifies that repetition is set for every day. If the recurrencePattern is set to 3,
19759
+ * this would imply the calendar item is recurring once for every three days.
19760
+ *
19761
+ * Default value is `1`.
19762
+ *
19763
+ *
19764
+ * @returns Value of property `recurrencePattern`
19765
+ */
19766
+ getRecurrencePattern(): int;
19767
+ /**
19768
+ * Gets current value of property {@link #getRecurrenceType recurrenceType}.
19769
+ *
19770
+ * The recurrenceType determines the pattern of recurrence for a given calendar item.
19771
+ *
19772
+ *
19773
+ * @returns Value of property `recurrenceType`
19774
+ */
19775
+ getRecurrenceType(): sap.ui.unified.RecurrenceType;
19776
+ /**
19777
+ * Sets a new value for property {@link #getRecurrenceEndDate recurrenceEndDate}.
19778
+ *
19779
+ * Determines the end date of the calendar item, as a UI5Date or JavaScript Date object. It is considered
19780
+ * as a local date.
19781
+ *
19782
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19783
+ *
19784
+ *
19785
+ * @returns Reference to `this` in order to allow method chaining
19786
+ */
19787
+ setRecurrenceEndDate(
19788
+ /**
19789
+ * New value for property `recurrenceEndDate`
19790
+ */
19791
+ oRecurrenceEndDate: object
19792
+ ): this;
19793
+ /**
19794
+ * Sets a new value for property {@link #getRecurrencePattern recurrencePattern}.
19795
+ *
19796
+ * The recurrencePattern is an integer value which, in combination with the recurrenceType, sets the recurrence
19797
+ * frequency for a calendar item. For example, if the recurrenceType is set to "Daily" and the recurrencePattern
19798
+ * is set to 1, it signifies that repetition is set for every day. If the recurrencePattern is set to 3,
19799
+ * this would imply the calendar item is recurring once for every three days.
19800
+ *
19801
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19802
+ *
19803
+ * Default value is `1`.
19804
+ *
19805
+ *
19806
+ * @returns Reference to `this` in order to allow method chaining
19807
+ */
19808
+ setRecurrencePattern(
19809
+ /**
19810
+ * New value for property `recurrencePattern`
19811
+ */
19812
+ iRecurrencePattern?: int
19813
+ ): this;
19814
+ /**
19815
+ * Sets a new value for property {@link #getRecurrenceType recurrenceType}.
19816
+ *
19817
+ * The recurrenceType determines the pattern of recurrence for a given calendar item.
19818
+ *
19819
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19820
+ *
19821
+ *
19822
+ * @returns Reference to `this` in order to allow method chaining
19823
+ */
19824
+ setRecurrenceType(
19825
+ /**
19826
+ * New value for property `recurrenceType`
19827
+ */
19828
+ sRecurrenceType: sap.ui.unified.RecurrenceType
19829
+ ): this;
19830
+ }
19319
19831
  /**
19320
19832
  * The shell control is meant as root control (full-screen) of an application. It was build as root control
19321
19833
  * of the Fiori Launchpad application and provides the basic capabilities for this purpose. Do not use this
@@ -21548,6 +22060,173 @@ declare namespace sap {
21548
22060
  bShowSecondaryContent?: boolean
21549
22061
  ): this;
21550
22062
  }
22063
+ /**
22064
+ * Time range for use in `NonWorkingPeriod`
22065
+ *
22066
+ * @since 1.127.0
22067
+ * @experimental (since 1.127.0)
22068
+ */
22069
+ class TimeRange extends sap.ui.core.Element {
22070
+ /**
22071
+ * Constructor for a new TimeRange.
22072
+ *
22073
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
22074
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
22075
+ * of the syntax of the settings object.
22076
+ */
22077
+ constructor(
22078
+ /**
22079
+ * initial settings for the new control
22080
+ */
22081
+ mSettings?: sap.ui.unified.$TimeRangeSettings
22082
+ );
22083
+ /**
22084
+ * Constructor for a new TimeRange.
22085
+ *
22086
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
22087
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
22088
+ * of the syntax of the settings object.
22089
+ */
22090
+ constructor(
22091
+ /**
22092
+ * ID for the new control, generated automatically if no ID is given
22093
+ */
22094
+ sId?: string,
22095
+ /**
22096
+ * initial settings for the new control
22097
+ */
22098
+ mSettings?: sap.ui.unified.$TimeRangeSettings
22099
+ );
22100
+
22101
+ /**
22102
+ * Creates a new subclass of class sap.ui.unified.TimeRange with name `sClassName` and enriches it with
22103
+ * the information contained in `oClassInfo`.
22104
+ *
22105
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
22106
+ *
22107
+ *
22108
+ * @returns Created class / constructor function
22109
+ */
22110
+ static extend<T extends Record<string, unknown>>(
22111
+ /**
22112
+ * Name of the class being created
22113
+ */
22114
+ sClassName: string,
22115
+ /**
22116
+ * Object literal with information about the class
22117
+ */
22118
+ oClassInfo?: sap.ClassInfo<T, sap.ui.unified.TimeRange>,
22119
+ /**
22120
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
22121
+ * used by this class
22122
+ */
22123
+ FNMetaImpl?: Function
22124
+ ): Function;
22125
+ /**
22126
+ * Returns a metadata object for class sap.ui.unified.TimeRange.
22127
+ *
22128
+ *
22129
+ * @returns Metadata object describing this class
22130
+ */
22131
+ static getMetadata(): sap.ui.core.ElementMetadata;
22132
+ /**
22133
+ * Gets current value of property {@link #getEnd end}.
22134
+ *
22135
+ * End time for a time range. This must be a String.
22136
+ *
22137
+ *
22138
+ * @returns Value of property `end`
22139
+ */
22140
+ getEnd(): string;
22141
+ /**
22142
+ * Get end date for a time range. From this date, only hours, minutes, seconds, and milliseconds are used.
22143
+ *
22144
+ *
22145
+ * @returns [oDate] A date instance
22146
+ */
22147
+ getEndDate(): Date | import("sap/ui/core/date/UI5Date").default;
22148
+ /**
22149
+ * Gets current value of property {@link #getStart start}.
22150
+ *
22151
+ * Start time for a time range. This must be a String.
22152
+ *
22153
+ *
22154
+ * @returns Value of property `start`
22155
+ */
22156
+ getStart(): string;
22157
+ /**
22158
+ * Get start date for a time range. From this date, only hours, minutes, seconds, and milliseconds are used.
22159
+ *
22160
+ *
22161
+ * @returns [oDate] A date instance
22162
+ */
22163
+ getStartDate(): Date | import("sap/ui/core/date/UI5Date").default;
22164
+ /**
22165
+ * Gets current value of property {@link #getValueFormat valueFormat}.
22166
+ *
22167
+ * Determines the format of the startTime and endTime
22168
+ *
22169
+ * **Note:** a time pattern in LDML format. It is not verified whether the pattern only represents a time.
22170
+ *
22171
+ * Default value is `"hh:mm"`.
22172
+ *
22173
+ *
22174
+ * @returns Value of property `valueFormat`
22175
+ */
22176
+ getValueFormat(): string;
22177
+ /**
22178
+ * Sets a new value for property {@link #getEnd end}.
22179
+ *
22180
+ * End time for a time range. This must be a String.
22181
+ *
22182
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22183
+ *
22184
+ *
22185
+ * @returns Reference to `this` in order to allow method chaining
22186
+ */
22187
+ setEnd(
22188
+ /**
22189
+ * New value for property `end`
22190
+ */
22191
+ sEnd?: string
22192
+ ): this;
22193
+ /**
22194
+ * Sets a new value for property {@link #getStart start}.
22195
+ *
22196
+ * Start time for a time range. This must be a String.
22197
+ *
22198
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22199
+ *
22200
+ *
22201
+ * @returns Reference to `this` in order to allow method chaining
22202
+ */
22203
+ setStart(
22204
+ /**
22205
+ * New value for property `start`
22206
+ */
22207
+ sStart?: string
22208
+ ): this;
22209
+ /**
22210
+ * Sets a new value for property {@link #getValueFormat valueFormat}.
22211
+ *
22212
+ * Determines the format of the startTime and endTime
22213
+ *
22214
+ * **Note:** a time pattern in LDML format. It is not verified whether the pattern only represents a time.
22215
+ *
22216
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22217
+ *
22218
+ * Default value is `"hh:mm"`.
22219
+ *
22220
+ *
22221
+ * @returns Reference to `this` in order to allow method chaining
22222
+ */
22223
+ setValueFormat(
22224
+ /**
22225
+ * New value for property `valueFormat`
22226
+ */
22227
+ sValueFormat?: string
22228
+ ): this;
22229
+ }
21551
22230
  /**
21552
22231
  * Types of a calendar appointment display mode
21553
22232
  *
@@ -21864,6 +22543,15 @@ declare namespace sap {
21864
22543
  */
21865
22544
  Expanded = "Expanded",
21866
22545
  }
22546
+ /**
22547
+ * Interval types in a `RecurrenceType`.
22548
+ *
22549
+ * This enum is part of the 'sap/ui/unified/library' module export and must be accessed by the property
22550
+ * 'RecurrenceType'.
22551
+ *
22552
+ * @since 1.127.0
22553
+ */
22554
+ enum RecurrenceType {}
21867
22555
  /**
21868
22556
  * Standard day types visualized in a {@link sap.m.PlanningCalendarLegend}, which correspond to days in
21869
22557
  * a {@link sap.ui.unified.Calendar}.
@@ -22131,6 +22819,14 @@ declare namespace sap {
22131
22819
  FileUploader
22132
22820
  >;
22133
22821
 
22822
+ /**
22823
+ * Event object of the Menu#closed event.
22824
+ */
22825
+ type Menu$ClosedEvent = sap.ui.base.Event<
22826
+ Menu$ClosedEventParameters,
22827
+ Menu
22828
+ >;
22829
+
22134
22830
  /**
22135
22831
  * Event object of the Menu#itemSelect event.
22136
22832
  */
@@ -22238,6 +22934,10 @@ declare namespace sap {
22238
22934
 
22239
22935
  "sap/ui/unified/MenuTextFieldItem": undefined;
22240
22936
 
22937
+ "sap/ui/unified/NonWorkingPeriod": undefined;
22938
+
22939
+ "sap/ui/unified/RecurringNonWorkingPeriod": undefined;
22940
+
22241
22941
  "sap/ui/unified/Shell": undefined;
22242
22942
 
22243
22943
  "sap/ui/unified/ShellHeadItem": undefined;
@@ -22249,5 +22949,7 @@ declare namespace sap {
22249
22949
  "sap/ui/unified/ShellOverlay": undefined;
22250
22950
 
22251
22951
  "sap/ui/unified/SplitContainer": undefined;
22952
+
22953
+ "sap/ui/unified/TimeRange": undefined;
22252
22954
  }
22253
22955
  }