@sapui5/ts-types-esm 1.127.2 → 1.128.1

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 (67) hide show
  1. package/package.json +1 -1
  2. package/types/sap.apf.d.ts +1 -1
  3. package/types/sap.ca.ui.d.ts +1 -1
  4. package/types/sap.chart.d.ts +1 -1
  5. package/types/sap.collaboration.d.ts +1 -1
  6. package/types/sap.cux.home.d.ts +221 -22
  7. package/types/sap.esh.search.ui.d.ts +1 -1
  8. package/types/sap.f.d.ts +1414 -225
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +11 -26
  11. package/types/sap.fe.ina.d.ts +1 -1
  12. package/types/sap.fe.macros.d.ts +7 -1
  13. package/types/sap.fe.navigation.d.ts +1 -1
  14. package/types/sap.fe.placeholder.d.ts +1 -1
  15. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  16. package/types/sap.fe.templates.d.ts +14 -3
  17. package/types/sap.fe.test.d.ts +3 -3
  18. package/types/sap.fe.tools.d.ts +1 -1
  19. package/types/sap.feedback.ui.d.ts +1 -1
  20. package/types/sap.gantt.d.ts +123 -64
  21. package/types/sap.insights.d.ts +24 -1
  22. package/types/sap.m.d.ts +327 -26
  23. package/types/sap.makit.d.ts +1 -1
  24. package/types/sap.me.d.ts +1 -1
  25. package/types/sap.ndc.d.ts +1 -1
  26. package/types/sap.ovp.d.ts +1 -1
  27. package/types/sap.rules.ui.d.ts +1 -1
  28. package/types/sap.sac.df.d.ts +110 -29
  29. package/types/sap.suite.ui.commons.d.ts +1 -1
  30. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  31. package/types/sap.suite.ui.microchart.d.ts +1 -1
  32. package/types/sap.tnt.d.ts +1 -1
  33. package/types/sap.ui.codeeditor.d.ts +10 -4
  34. package/types/sap.ui.commons.d.ts +1 -1
  35. package/types/sap.ui.comp.d.ts +997 -4
  36. package/types/sap.ui.core.d.ts +48 -28
  37. package/types/sap.ui.dt.d.ts +1 -1
  38. package/types/sap.ui.export.d.ts +1 -1
  39. package/types/sap.ui.fl.d.ts +10 -4
  40. package/types/sap.ui.generic.app.d.ts +1 -1
  41. package/types/sap.ui.generic.template.d.ts +1 -1
  42. package/types/sap.ui.integration.d.ts +55 -5
  43. package/types/sap.ui.layout.d.ts +5 -5
  44. package/types/sap.ui.mdc.d.ts +426 -212
  45. package/types/sap.ui.richtexteditor.d.ts +1 -1
  46. package/types/sap.ui.rta.d.ts +1 -1
  47. package/types/sap.ui.suite.d.ts +1 -1
  48. package/types/sap.ui.support.d.ts +1 -1
  49. package/types/sap.ui.table.d.ts +91 -23
  50. package/types/sap.ui.testrecorder.d.ts +1 -1
  51. package/types/sap.ui.unified.d.ts +624 -1
  52. package/types/sap.ui.ux3.d.ts +1 -1
  53. package/types/sap.ui.vbm.d.ts +1 -1
  54. package/types/sap.ui.vk.d.ts +48 -23
  55. package/types/sap.ui.vtm.d.ts +1 -1
  56. package/types/sap.ui.webc.common.d.ts +1 -1
  57. package/types/sap.ui.webc.fiori.d.ts +1 -1
  58. package/types/sap.ui.webc.main.d.ts +1 -1
  59. package/types/sap.uiext.inbox.d.ts +1 -1
  60. package/types/sap.ushell.d.ts +16 -8
  61. package/types/sap.ushell_abap.d.ts +1 -1
  62. package/types/sap.uxap.d.ts +44 -1
  63. package/types/sap.viz.d.ts +1 -1
  64. package/types/sap.webanalytics.core.d.ts +1 -1
  65. package/types/sap.zen.commons.d.ts +1 -1
  66. package/types/sap.zen.crosstab.d.ts +1 -1
  67. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.127.0
1
+ // For Library Version: 1.128.0
2
2
 
3
3
  declare module "sap/ui/unified/library" {
4
4
  /**
@@ -318,6 +318,15 @@ declare module "sap/ui/unified/library" {
318
318
  ): Promise<Blob[]>;
319
319
  }
320
320
 
321
+ /**
322
+ * Interval types in a `RecurrenceType`.
323
+ *
324
+ * This enum is part of the 'sap/ui/unified/library' module export and must be accessed by the property
325
+ * 'RecurrenceType'.
326
+ *
327
+ * @since 1.127.0
328
+ */
329
+ export enum RecurrenceType {}
321
330
  /**
322
331
  * Standard day types visualized in a {@link sap.m.PlanningCalendarLegend}, which correspond to days in
323
332
  * a {@link sap.ui.unified.Calendar}.
@@ -9770,6 +9779,8 @@ declare module "sap/ui/unified/CalendarRow" {
9770
9779
 
9771
9780
  import { ID, CSSSize } from "sap/ui/core/library";
9772
9781
 
9782
+ import NonWorkingPeriod from "sap/ui/unified/NonWorkingPeriod";
9783
+
9773
9784
  import Event from "sap/ui/base/Event";
9774
9785
 
9775
9786
  import UI5Date from "sap/ui/core/date/UI5Date";
@@ -9895,6 +9906,19 @@ declare module "sap/ui/unified/CalendarRow" {
9895
9906
  */
9896
9907
  oIntervalHeader: CalendarAppointment
9897
9908
  ): this;
9909
+ /**
9910
+ * Adds some nonWorkingPeriod to the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
9911
+ *
9912
+ * @since 1.128
9913
+ *
9914
+ * @returns Reference to `this` in order to allow method chaining
9915
+ */
9916
+ addNonWorkingPeriod(
9917
+ /**
9918
+ * The nonWorkingPeriod to add; if empty, nothing is inserted
9919
+ */
9920
+ oNonWorkingPeriod: NonWorkingPeriod
9921
+ ): this;
9898
9922
  /**
9899
9923
  * Attaches event handler `fnFunction` to the {@link #event:intervalSelect intervalSelect} event of this
9900
9924
  * `sap.ui.unified.CalendarRow`.
@@ -10105,6 +10129,14 @@ declare module "sap/ui/unified/CalendarRow" {
10105
10129
  * @returns Reference to `this` in order to allow method chaining
10106
10130
  */
10107
10131
  destroyIntervalHeaders(): this;
10132
+ /**
10133
+ * Destroys all the nonWorkingPeriods in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
10134
+ *
10135
+ * @since 1.128
10136
+ *
10137
+ * @returns Reference to `this` in order to allow method chaining
10138
+ */
10139
+ destroyNonWorkingPeriods(): this;
10108
10140
  /**
10109
10141
  * Detaches event handler `fnFunction` from the {@link #event:intervalSelect intervalSelect} event of this
10110
10142
  * `sap.ui.unified.CalendarRow`.
@@ -10475,6 +10507,14 @@ declare module "sap/ui/unified/CalendarRow" {
10475
10507
  * @returns Value of property `nonWorkingHours`
10476
10508
  */
10477
10509
  getNonWorkingHours(): int[];
10510
+ /**
10511
+ * Gets content of aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
10512
+ *
10513
+ * Sets the provided period to be displayed as a non-working.
10514
+ *
10515
+ * @since 1.128
10516
+ */
10517
+ getNonWorkingPeriods(): NonWorkingPeriod[];
10478
10518
  /**
10479
10519
  * Gets current value of property {@link #getShowEmptyIntervalHeaders showEmptyIntervalHeaders}.
10480
10520
  *
@@ -10596,6 +10636,20 @@ declare module "sap/ui/unified/CalendarRow" {
10596
10636
  */
10597
10637
  oIntervalHeader: CalendarAppointment
10598
10638
  ): int;
10639
+ /**
10640
+ * Checks for the provided `sap.ui.unified.NonWorkingPeriod` in the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
10641
+ * and returns its index if found or -1 otherwise.
10642
+ *
10643
+ * @since 1.128
10644
+ *
10645
+ * @returns The index of the provided control in the aggregation if found, or -1 otherwise
10646
+ */
10647
+ indexOfNonWorkingPeriod(
10648
+ /**
10649
+ * The nonWorkingPeriod whose index is looked for
10650
+ */
10651
+ oNonWorkingPeriod: NonWorkingPeriod
10652
+ ): int;
10599
10653
  /**
10600
10654
  * Inserts a appointment into the aggregation {@link #getAppointments appointments}.
10601
10655
  *
@@ -10632,6 +10686,25 @@ declare module "sap/ui/unified/CalendarRow" {
10632
10686
  */
10633
10687
  iIndex: int
10634
10688
  ): this;
10689
+ /**
10690
+ * Inserts a nonWorkingPeriod into the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
10691
+ *
10692
+ * @since 1.128
10693
+ *
10694
+ * @returns Reference to `this` in order to allow method chaining
10695
+ */
10696
+ insertNonWorkingPeriod(
10697
+ /**
10698
+ * The nonWorkingPeriod to insert; if empty, nothing is inserted
10699
+ */
10700
+ oNonWorkingPeriod: NonWorkingPeriod,
10701
+ /**
10702
+ * The `0`-based index the nonWorkingPeriod should be inserted at; for a negative value of `iIndex`, the
10703
+ * nonWorkingPeriod is inserted at position 0; for a value greater than the current size of the aggregation,
10704
+ * the nonWorkingPeriod is inserted at the last position
10705
+ */
10706
+ iIndex: int
10707
+ ): this;
10635
10708
  /**
10636
10709
  * Removes all the controls from the aggregation {@link #getAppointments appointments}.
10637
10710
  *
@@ -10657,6 +10730,16 @@ declare module "sap/ui/unified/CalendarRow" {
10657
10730
  * @returns An array of the removed elements (might be empty)
10658
10731
  */
10659
10732
  removeAllIntervalHeaders(): CalendarAppointment[];
10733
+ /**
10734
+ * Removes all the controls from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
10735
+ *
10736
+ * Additionally, it unregisters them from the hosting UIArea.
10737
+ *
10738
+ * @since 1.128
10739
+ *
10740
+ * @returns An array of the removed elements (might be empty)
10741
+ */
10742
+ removeAllNonWorkingPeriods(): NonWorkingPeriod[];
10660
10743
  /**
10661
10744
  * Removes a appointment from the aggregation {@link #getAppointments appointments}.
10662
10745
  *
@@ -10693,6 +10776,19 @@ declare module "sap/ui/unified/CalendarRow" {
10693
10776
  */
10694
10777
  vIntervalHeader: int | string | CalendarAppointment
10695
10778
  ): CalendarAppointment | null;
10779
+ /**
10780
+ * Removes a nonWorkingPeriod from the aggregation {@link #getNonWorkingPeriods nonWorkingPeriods}.
10781
+ *
10782
+ * @since 1.128
10783
+ *
10784
+ * @returns The removed nonWorkingPeriod or `null`
10785
+ */
10786
+ removeNonWorkingPeriod(
10787
+ /**
10788
+ * The nonWorkingPeriod to remove or its index or id
10789
+ */
10790
+ vNonWorkingPeriod: int | string | NonWorkingPeriod
10791
+ ): NonWorkingPeriod | null;
10696
10792
  /**
10697
10793
  * Sets a new value for property {@link #getAppointmentHeight appointmentHeight}.
10698
10794
  *
@@ -11289,6 +11385,17 @@ declare module "sap/ui/unified/CalendarRow" {
11289
11385
  | AggregationBindingInfo
11290
11386
  | `{${string}}`;
11291
11387
 
11388
+ /**
11389
+ * Sets the provided period to be displayed as a non-working.
11390
+ *
11391
+ * @since 1.128
11392
+ */
11393
+ nonWorkingPeriods?:
11394
+ | NonWorkingPeriod[]
11395
+ | NonWorkingPeriod
11396
+ | AggregationBindingInfo
11397
+ | `{${string}}`;
11398
+
11292
11399
  /**
11293
11400
  * Appointments to be displayed in the top of the intervals. The `intervalHeaders` are used to visualize
11294
11401
  * public holidays and similar things.
@@ -19578,6 +19685,315 @@ declare module "sap/ui/unified/MenuTextFieldItem" {
19578
19685
  }
19579
19686
  }
19580
19687
 
19688
+ declare module "sap/ui/unified/NonWorkingPeriod" {
19689
+ import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
19690
+
19691
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
19692
+
19693
+ import TimeRange from "sap/ui/unified/TimeRange";
19694
+
19695
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
19696
+
19697
+ /**
19698
+ * NonWorkingPeriod
19699
+ *
19700
+ * @since 1.27.0
19701
+ * @experimental (since 1.127.0)
19702
+ */
19703
+ export default class NonWorkingPeriod extends UI5Element {
19704
+ /**
19705
+ * Constructor for a new NonWorkingPeriod.
19706
+ *
19707
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
19708
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
19709
+ * of the syntax of the settings object.
19710
+ */
19711
+ constructor(
19712
+ /**
19713
+ * initial settings for the new control
19714
+ */
19715
+ mSettings?: $NonWorkingPeriodSettings
19716
+ );
19717
+ /**
19718
+ * Constructor for a new NonWorkingPeriod.
19719
+ *
19720
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
19721
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
19722
+ * of the syntax of the settings object.
19723
+ */
19724
+ constructor(
19725
+ /**
19726
+ * ID for the new control, generated automatically if no ID is given
19727
+ */
19728
+ sId?: string,
19729
+ /**
19730
+ * initial settings for the new control
19731
+ */
19732
+ mSettings?: $NonWorkingPeriodSettings
19733
+ );
19734
+
19735
+ /**
19736
+ * Creates a new subclass of class sap.ui.unified.NonWorkingPeriod with name `sClassName` and enriches it
19737
+ * with the information contained in `oClassInfo`.
19738
+ *
19739
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
19740
+ *
19741
+ *
19742
+ * @returns Created class / constructor function
19743
+ */
19744
+ static extend<T extends Record<string, unknown>>(
19745
+ /**
19746
+ * Name of the class being created
19747
+ */
19748
+ sClassName: string,
19749
+ /**
19750
+ * Object literal with information about the class
19751
+ */
19752
+ oClassInfo?: sap.ClassInfo<T, NonWorkingPeriod>,
19753
+ /**
19754
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
19755
+ * used by this class
19756
+ */
19757
+ FNMetaImpl?: Function
19758
+ ): Function;
19759
+ /**
19760
+ * Returns a metadata object for class sap.ui.unified.NonWorkingPeriod.
19761
+ *
19762
+ *
19763
+ * @returns Metadata object describing this class
19764
+ */
19765
+ static getMetadata(): ElementMetadata;
19766
+ /**
19767
+ * Destroys the timeRange in the aggregation {@link #getTimeRange timeRange}.
19768
+ *
19769
+ *
19770
+ * @returns Reference to `this` in order to allow method chaining
19771
+ */
19772
+ destroyTimeRange(): this;
19773
+ /**
19774
+ * Gets current value of property {@link #getDate date}.
19775
+ *
19776
+ * Determines the day to which the timeRange refers. This object must be a UI5Date or JavaScript Date object.
19777
+ *
19778
+ *
19779
+ * @returns Value of property `date`
19780
+ */
19781
+ getDate(): object;
19782
+ /**
19783
+ * Returns the duration of the non-working period.
19784
+ *
19785
+ *
19786
+ * @returns returns a number that represents the duration of a calendar item in minutes
19787
+ */
19788
+ getDurationInMinutes(): int;
19789
+ /**
19790
+ * Gets content of aggregation {@link #getTimeRange timeRange}.
19791
+ *
19792
+ * Defines the hours range for the non-working period.
19793
+ */
19794
+ getTimeRange(): TimeRange;
19795
+ /**
19796
+ * Sets a new value for property {@link #getDate date}.
19797
+ *
19798
+ * Determines the day to which the timeRange refers. This object must be a UI5Date or JavaScript Date object.
19799
+ *
19800
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19801
+ *
19802
+ *
19803
+ * @returns Reference to `this` in order to allow method chaining
19804
+ */
19805
+ setDate(
19806
+ /**
19807
+ * New value for property `date`
19808
+ */
19809
+ oDate: object
19810
+ ): this;
19811
+ /**
19812
+ * Sets the aggregated {@link #getTimeRange timeRange}.
19813
+ *
19814
+ *
19815
+ * @returns Reference to `this` in order to allow method chaining
19816
+ */
19817
+ setTimeRange(
19818
+ /**
19819
+ * The timeRange to set
19820
+ */
19821
+ oTimeRange: TimeRange
19822
+ ): this;
19823
+ }
19824
+ /**
19825
+ * Describes the settings that can be provided to the NonWorkingPeriod constructor.
19826
+ *
19827
+ * @experimental (since 1.127.0)
19828
+ */
19829
+ export interface $NonWorkingPeriodSettings extends $ElementSettings {
19830
+ /**
19831
+ * Determines the day to which the timeRange refers. This object must be a UI5Date or JavaScript Date object.
19832
+ */
19833
+ date?: object | PropertyBindingInfo | `{${string}}`;
19834
+
19835
+ /**
19836
+ * Defines the hours range for the non-working period.
19837
+ */
19838
+ timeRange?: TimeRange;
19839
+ }
19840
+ }
19841
+
19842
+ declare module "sap/ui/unified/RecurringNonWorkingPeriod" {
19843
+ import Metadata from "sap/ui/base/Metadata";
19844
+
19845
+ import { RecurrenceType } from "sap/ui/unified/library";
19846
+
19847
+ /**
19848
+ * A `RecurringNonWorkingPeriod` for use in a `PlanningCalendar` and `SinglePlanningCalendar`.
19849
+ *
19850
+ * Applications can inherit from this element to add own fields.
19851
+ *
19852
+ * @since 1.127.0
19853
+ * @experimental (since 1.127.0)
19854
+ */
19855
+ export default class RecurringNonWorkingPeriod
19856
+ extends /* was: sap.ui.unified. */ Object
19857
+ {
19858
+ /**
19859
+ * Constructor for a new `RecurringNonWorkingPeriod`.
19860
+ *
19861
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
19862
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
19863
+ * of the syntax of the settings object.
19864
+ */
19865
+ constructor(
19866
+ /**
19867
+ * ID for the new control, generated automatically if no ID is given
19868
+ */
19869
+ sId?: string,
19870
+ /**
19871
+ * Initial settings for the new control
19872
+ */
19873
+ mSettings?: object
19874
+ );
19875
+
19876
+ /**
19877
+ * Creates a new subclass of class sap.ui.unified.RecurringNonWorkingPeriod with name `sClassName` and enriches
19878
+ * it with the information contained in `oClassInfo`.
19879
+ *
19880
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.unified..extend}.
19881
+ *
19882
+ *
19883
+ * @returns Created class / constructor function
19884
+ */
19885
+ static extend<T extends Record<string, unknown>>(
19886
+ /**
19887
+ * Name of the class being created
19888
+ */
19889
+ sClassName: string,
19890
+ /**
19891
+ * Object literal with information about the class
19892
+ */
19893
+ oClassInfo?: sap.ClassInfo<T, RecurringNonWorkingPeriod>,
19894
+ /**
19895
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
19896
+ * used by this class
19897
+ */
19898
+ FNMetaImpl?: Function
19899
+ ): Function;
19900
+ /**
19901
+ * Returns a metadata object for class sap.ui.unified.RecurringNonWorkingPeriod.
19902
+ *
19903
+ *
19904
+ * @returns Metadata object describing this class
19905
+ */
19906
+ static getMetadata(): Metadata;
19907
+ /**
19908
+ * Gets current value of property {@link #getRecurrenceEndDate recurrenceEndDate}.
19909
+ *
19910
+ * Determines the end date of the calendar item, as a UI5Date or JavaScript Date object. It is considered
19911
+ * as a local date.
19912
+ *
19913
+ *
19914
+ * @returns Value of property `recurrenceEndDate`
19915
+ */
19916
+ getRecurrenceEndDate(): object;
19917
+ /**
19918
+ * Gets current value of property {@link #getRecurrencePattern recurrencePattern}.
19919
+ *
19920
+ * The recurrencePattern is an integer value which, in combination with the recurrenceType, sets the recurrence
19921
+ * frequency for a calendar item. For example, if the recurrenceType is set to "Daily" and the recurrencePattern
19922
+ * is set to 1, it signifies that repetition is set for every day. If the recurrencePattern is set to 3,
19923
+ * this would imply the calendar item is recurring once for every three days.
19924
+ *
19925
+ * Default value is `1`.
19926
+ *
19927
+ *
19928
+ * @returns Value of property `recurrencePattern`
19929
+ */
19930
+ getRecurrencePattern(): int;
19931
+ /**
19932
+ * Gets current value of property {@link #getRecurrenceType recurrenceType}.
19933
+ *
19934
+ * The recurrenceType determines the pattern of recurrence for a given calendar item.
19935
+ *
19936
+ *
19937
+ * @returns Value of property `recurrenceType`
19938
+ */
19939
+ getRecurrenceType(): RecurrenceType | keyof typeof RecurrenceType;
19940
+ /**
19941
+ * Sets a new value for property {@link #getRecurrenceEndDate recurrenceEndDate}.
19942
+ *
19943
+ * Determines the end date of the calendar item, as a UI5Date or JavaScript Date object. It is considered
19944
+ * as a local date.
19945
+ *
19946
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19947
+ *
19948
+ *
19949
+ * @returns Reference to `this` in order to allow method chaining
19950
+ */
19951
+ setRecurrenceEndDate(
19952
+ /**
19953
+ * New value for property `recurrenceEndDate`
19954
+ */
19955
+ oRecurrenceEndDate: object
19956
+ ): this;
19957
+ /**
19958
+ * Sets a new value for property {@link #getRecurrencePattern recurrencePattern}.
19959
+ *
19960
+ * The recurrencePattern is an integer value which, in combination with the recurrenceType, sets the recurrence
19961
+ * frequency for a calendar item. For example, if the recurrenceType is set to "Daily" and the recurrencePattern
19962
+ * is set to 1, it signifies that repetition is set for every day. If the recurrencePattern is set to 3,
19963
+ * this would imply the calendar item is recurring once for every three days.
19964
+ *
19965
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19966
+ *
19967
+ * Default value is `1`.
19968
+ *
19969
+ *
19970
+ * @returns Reference to `this` in order to allow method chaining
19971
+ */
19972
+ setRecurrencePattern(
19973
+ /**
19974
+ * New value for property `recurrencePattern`
19975
+ */
19976
+ iRecurrencePattern?: int
19977
+ ): this;
19978
+ /**
19979
+ * Sets a new value for property {@link #getRecurrenceType recurrenceType}.
19980
+ *
19981
+ * The recurrenceType determines the pattern of recurrence for a given calendar item.
19982
+ *
19983
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
19984
+ *
19985
+ *
19986
+ * @returns Reference to `this` in order to allow method chaining
19987
+ */
19988
+ setRecurrenceType(
19989
+ /**
19990
+ * New value for property `recurrenceType`
19991
+ */
19992
+ sRecurrenceType: RecurrenceType | keyof typeof RecurrenceType
19993
+ ): this;
19994
+ }
19995
+ }
19996
+
19581
19997
  declare module "sap/ui/unified/Shell" {
19582
19998
  import {
19583
19999
  default as ShellLayout,
@@ -22243,6 +22659,207 @@ declare module "sap/ui/unified/SplitContainer" {
22243
22659
  }
22244
22660
  }
22245
22661
 
22662
+ declare module "sap/ui/unified/TimeRange" {
22663
+ import { default as UI5Element, $ElementSettings } from "sap/ui/core/Element";
22664
+
22665
+ import UI5Date from "sap/ui/core/date/UI5Date";
22666
+
22667
+ import ElementMetadata from "sap/ui/core/ElementMetadata";
22668
+
22669
+ import { PropertyBindingInfo } from "sap/ui/base/ManagedObject";
22670
+
22671
+ /**
22672
+ * Time range for use in `NonWorkingPeriod`
22673
+ *
22674
+ * @since 1.127.0
22675
+ * @experimental (since 1.127.0)
22676
+ */
22677
+ export default class TimeRange extends UI5Element {
22678
+ /**
22679
+ * Constructor for a new TimeRange.
22680
+ *
22681
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
22682
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
22683
+ * of the syntax of the settings object.
22684
+ */
22685
+ constructor(
22686
+ /**
22687
+ * initial settings for the new control
22688
+ */
22689
+ mSettings?: $TimeRangeSettings
22690
+ );
22691
+ /**
22692
+ * Constructor for a new TimeRange.
22693
+ *
22694
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
22695
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
22696
+ * of the syntax of the settings object.
22697
+ */
22698
+ constructor(
22699
+ /**
22700
+ * ID for the new control, generated automatically if no ID is given
22701
+ */
22702
+ sId?: string,
22703
+ /**
22704
+ * initial settings for the new control
22705
+ */
22706
+ mSettings?: $TimeRangeSettings
22707
+ );
22708
+
22709
+ /**
22710
+ * Creates a new subclass of class sap.ui.unified.TimeRange with name `sClassName` and enriches it with
22711
+ * the information contained in `oClassInfo`.
22712
+ *
22713
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
22714
+ *
22715
+ *
22716
+ * @returns Created class / constructor function
22717
+ */
22718
+ static extend<T extends Record<string, unknown>>(
22719
+ /**
22720
+ * Name of the class being created
22721
+ */
22722
+ sClassName: string,
22723
+ /**
22724
+ * Object literal with information about the class
22725
+ */
22726
+ oClassInfo?: sap.ClassInfo<T, TimeRange>,
22727
+ /**
22728
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
22729
+ * used by this class
22730
+ */
22731
+ FNMetaImpl?: Function
22732
+ ): Function;
22733
+ /**
22734
+ * Returns a metadata object for class sap.ui.unified.TimeRange.
22735
+ *
22736
+ *
22737
+ * @returns Metadata object describing this class
22738
+ */
22739
+ static getMetadata(): ElementMetadata;
22740
+ /**
22741
+ * Gets current value of property {@link #getEnd end}.
22742
+ *
22743
+ * End time for a time range. This must be a String.
22744
+ *
22745
+ *
22746
+ * @returns Value of property `end`
22747
+ */
22748
+ getEnd(): string;
22749
+ /**
22750
+ * Get end date for a time range. From this date, only hours, minutes, seconds, and milliseconds are used.
22751
+ *
22752
+ *
22753
+ * @returns [oDate] A date instance
22754
+ */
22755
+ getEndDate(): Date | UI5Date;
22756
+ /**
22757
+ * Gets current value of property {@link #getStart start}.
22758
+ *
22759
+ * Start time for a time range. This must be a String.
22760
+ *
22761
+ *
22762
+ * @returns Value of property `start`
22763
+ */
22764
+ getStart(): string;
22765
+ /**
22766
+ * Get start date for a time range. From this date, only hours, minutes, seconds, and milliseconds are used.
22767
+ *
22768
+ *
22769
+ * @returns [oDate] A date instance
22770
+ */
22771
+ getStartDate(): Date | UI5Date;
22772
+ /**
22773
+ * Gets current value of property {@link #getValueFormat valueFormat}.
22774
+ *
22775
+ * Determines the format of the startTime and endTime
22776
+ *
22777
+ * **Note:** a time pattern in LDML format. It is not verified whether the pattern only represents a time.
22778
+ *
22779
+ * Default value is `"hh:mm"`.
22780
+ *
22781
+ *
22782
+ * @returns Value of property `valueFormat`
22783
+ */
22784
+ getValueFormat(): string;
22785
+ /**
22786
+ * Sets a new value for property {@link #getEnd end}.
22787
+ *
22788
+ * End time for a time range. This must be a String.
22789
+ *
22790
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22791
+ *
22792
+ *
22793
+ * @returns Reference to `this` in order to allow method chaining
22794
+ */
22795
+ setEnd(
22796
+ /**
22797
+ * New value for property `end`
22798
+ */
22799
+ sEnd?: string
22800
+ ): this;
22801
+ /**
22802
+ * Sets a new value for property {@link #getStart start}.
22803
+ *
22804
+ * Start time for a time range. This must be a String.
22805
+ *
22806
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22807
+ *
22808
+ *
22809
+ * @returns Reference to `this` in order to allow method chaining
22810
+ */
22811
+ setStart(
22812
+ /**
22813
+ * New value for property `start`
22814
+ */
22815
+ sStart?: string
22816
+ ): this;
22817
+ /**
22818
+ * Sets a new value for property {@link #getValueFormat valueFormat}.
22819
+ *
22820
+ * Determines the format of the startTime and endTime
22821
+ *
22822
+ * **Note:** a time pattern in LDML format. It is not verified whether the pattern only represents a time.
22823
+ *
22824
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
22825
+ *
22826
+ * Default value is `"hh:mm"`.
22827
+ *
22828
+ *
22829
+ * @returns Reference to `this` in order to allow method chaining
22830
+ */
22831
+ setValueFormat(
22832
+ /**
22833
+ * New value for property `valueFormat`
22834
+ */
22835
+ sValueFormat?: string
22836
+ ): this;
22837
+ }
22838
+ /**
22839
+ * Describes the settings that can be provided to the TimeRange constructor.
22840
+ *
22841
+ * @experimental (since 1.127.0)
22842
+ */
22843
+ export interface $TimeRangeSettings extends $ElementSettings {
22844
+ /**
22845
+ * Start time for a time range. This must be a String.
22846
+ */
22847
+ start?: string | PropertyBindingInfo;
22848
+
22849
+ /**
22850
+ * End time for a time range. This must be a String.
22851
+ */
22852
+ end?: string | PropertyBindingInfo;
22853
+
22854
+ /**
22855
+ * Determines the format of the startTime and endTime
22856
+ *
22857
+ * **Note:** a time pattern in LDML format. It is not verified whether the pattern only represents a time.
22858
+ */
22859
+ valueFormat?: string | PropertyBindingInfo;
22860
+ }
22861
+ }
22862
+
22246
22863
  declare namespace sap {
22247
22864
  interface IUI5DefineDependencyNames {
22248
22865
  "sap/ui/unified/Calendar": undefined;
@@ -22309,6 +22926,10 @@ declare namespace sap {
22309
22926
 
22310
22927
  "sap/ui/unified/MenuTextFieldItem": undefined;
22311
22928
 
22929
+ "sap/ui/unified/NonWorkingPeriod": undefined;
22930
+
22931
+ "sap/ui/unified/RecurringNonWorkingPeriod": undefined;
22932
+
22312
22933
  "sap/ui/unified/Shell": undefined;
22313
22934
 
22314
22935
  "sap/ui/unified/ShellHeadItem": undefined;
@@ -22320,5 +22941,7 @@ declare namespace sap {
22320
22941
  "sap/ui/unified/ShellOverlay": undefined;
22321
22942
 
22322
22943
  "sap/ui/unified/SplitContainer": undefined;
22944
+
22945
+ "sap/ui/unified/TimeRange": undefined;
22323
22946
  }
22324
22947
  }