@sapui5/ts-types 1.148.0 → 1.149.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.
Files changed (66) 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.esh.search.ui.d.ts +4 -4
  7. package/types/sap.f.d.ts +1 -1
  8. package/types/sap.fe.ariba.d.ts +1 -1
  9. package/types/sap.fe.base.d.ts +1 -1
  10. package/types/sap.fe.controls.d.ts +1 -1
  11. package/types/sap.fe.core.d.ts +1 -1
  12. package/types/sap.fe.ina.d.ts +1 -1
  13. package/types/sap.fe.macros.d.ts +18 -18
  14. package/types/sap.fe.navigation.d.ts +1 -1
  15. package/types/sap.fe.placeholder.d.ts +1 -1
  16. package/types/sap.fe.plugins.managecache.d.ts +1 -1
  17. package/types/sap.fe.templates.d.ts +19 -5
  18. package/types/sap.fe.test.d.ts +1 -1
  19. package/types/sap.fe.tools.d.ts +1 -1
  20. package/types/sap.feedback.ui.d.ts +1 -1
  21. package/types/sap.gantt.d.ts +1 -1
  22. package/types/sap.insights.d.ts +1 -1
  23. package/types/sap.m.d.ts +56 -2
  24. package/types/sap.makit.d.ts +1 -1
  25. package/types/sap.me.d.ts +1 -1
  26. package/types/sap.ndc.d.ts +1 -1
  27. package/types/sap.ovp.d.ts +26 -4
  28. package/types/sap.rules.ui.d.ts +1 -1
  29. package/types/sap.sac.df.d.ts +3 -1
  30. package/types/sap.suite.ui.commons.d.ts +48 -1
  31. package/types/sap.suite.ui.generic.template.d.ts +1 -1
  32. package/types/sap.suite.ui.microchart.d.ts +45 -1
  33. package/types/sap.tnt.d.ts +83 -1
  34. package/types/sap.ui.codeeditor.d.ts +1 -1
  35. package/types/sap.ui.commons.d.ts +1 -1
  36. package/types/sap.ui.comp.d.ts +41 -10
  37. package/types/sap.ui.core.d.ts +308 -387
  38. package/types/sap.ui.dt.d.ts +1 -1
  39. package/types/sap.ui.export.d.ts +1 -1
  40. package/types/sap.ui.fl.d.ts +1 -1
  41. package/types/sap.ui.generic.app.d.ts +1 -1
  42. package/types/sap.ui.generic.template.d.ts +1 -1
  43. package/types/sap.ui.geomap.d.ts +1 -1
  44. package/types/sap.ui.integration.d.ts +1 -1
  45. package/types/sap.ui.layout.d.ts +1 -1
  46. package/types/sap.ui.mdc.d.ts +39 -2
  47. package/types/sap.ui.richtexteditor.d.ts +1 -1
  48. package/types/sap.ui.rta.d.ts +1 -1
  49. package/types/sap.ui.suite.d.ts +1 -1
  50. package/types/sap.ui.support.d.ts +1 -1
  51. package/types/sap.ui.table.d.ts +10 -1
  52. package/types/sap.ui.testrecorder.d.ts +1 -1
  53. package/types/sap.ui.unified.d.ts +687 -1
  54. package/types/sap.ui.ux3.d.ts +1 -1
  55. package/types/sap.ui.vbm.d.ts +1 -1
  56. package/types/sap.ui.vk.d.ts +1 -1
  57. package/types/sap.ui.vtm.d.ts +1 -1
  58. package/types/sap.uiext.inbox.d.ts +1 -1
  59. package/types/sap.ushell.d.ts +337 -1
  60. package/types/sap.ushell_abap.d.ts +1 -1
  61. package/types/sap.uxap.d.ts +1 -1
  62. package/types/sap.viz.d.ts +1 -1
  63. package/types/sap.webanalytics.core.d.ts +1 -1
  64. package/types/sap.zen.commons.d.ts +1 -1
  65. package/types/sap.zen.crosstab.d.ts +1 -1
  66. package/types/sap.zen.dsh.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.148.0
1
+ // For Library Version: 1.149.0
2
2
 
3
3
  declare namespace sap {
4
4
  namespace ui {
@@ -7909,6 +7909,107 @@ declare namespace sap {
7909
7909
  timeRange?: sap.ui.unified.TimeRange;
7910
7910
  }
7911
7911
 
7912
+ /**
7913
+ * Describes the settings that can be provided to the RecurrenceRule constructor.
7914
+ *
7915
+ * @experimental As of version 1.149.
7916
+ */
7917
+ interface $RecurrenceRuleSettings extends sap.ui.core.$ElementSettings {
7918
+ /**
7919
+ * The recurrence type. Determines which properties are relevant and which concrete subclass is created
7920
+ * internally by the parent.
7921
+ */
7922
+ recurrenceType?:
7923
+ | sap.ui.unified.RecurrenceType
7924
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7925
+ | `{${string}}`;
7926
+
7927
+ /**
7928
+ * Days of week for weekly recurrence (0–6, 0 = Sunday). Relevant when `recurrenceType` is `Weekly`.
7929
+ */
7930
+ days?:
7931
+ | int[]
7932
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7933
+ | `{${string}}`;
7934
+
7935
+ /**
7936
+ * Type of the advanced recurrence pattern. Relevant when `recurrenceType` is `Monthly` or `Yearly`.
7937
+ */
7938
+ type?:
7939
+ | sap.ui.unified.RecurrenceRuleType
7940
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7941
+ | `{${string}}`;
7942
+
7943
+ /**
7944
+ * Day of month (1–31). A value of `0` means "inherit from parent start date". Relevant when `type` is `DayOfMonth`.
7945
+ */
7946
+ dayOfMonth?:
7947
+ | int
7948
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7949
+ | `{${string}}`;
7950
+
7951
+ /**
7952
+ * Week of month (First, Second, Third, Fourth, Last). Relevant when `type` is `DayOfWeek`.
7953
+ */
7954
+ weekOfMonth?:
7955
+ | sap.ui.unified.WeekOfMonth
7956
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7957
+ | `{${string}}`;
7958
+
7959
+ /**
7960
+ * Day of week (0–6, 0 = Sunday). Relevant when `type` is `DayOfWeek`.
7961
+ */
7962
+ dayOfWeek?:
7963
+ | int
7964
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7965
+ | `{${string}}`;
7966
+
7967
+ /**
7968
+ * Month of year (0–11, 0 = January). Relevant when `recurrenceType` is `Yearly`.
7969
+ */
7970
+ month?:
7971
+ | int
7972
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7973
+ | `{${string}}`;
7974
+ }
7975
+
7976
+ /**
7977
+ * Describes the settings that can be provided to the RecurringCalendarAppointment constructor.
7978
+ *
7979
+ * @experimental As of version 1.149.
7980
+ */
7981
+ interface $RecurringCalendarAppointmentSettings
7982
+ extends sap.ui.unified.$CalendarAppointmentSettings {
7983
+ /**
7984
+ * The recurrence type (Daily, Weekly, Monthly, Yearly).
7985
+ */
7986
+ recurrenceType?:
7987
+ | sap.ui.unified.RecurrenceType
7988
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7989
+ | `{${string}}`;
7990
+
7991
+ /**
7992
+ * End date of the recurrence. Must be a UI5Date or JavaScript Date object.
7993
+ */
7994
+ recurrenceEndDate?:
7995
+ | object
7996
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
7997
+ | `{${string}}`;
7998
+
7999
+ /**
8000
+ * Recurrence interval. E.g. 1 = every day/week/month/year, 2 = every second, etc.
8001
+ */
8002
+ recurrencePattern?:
8003
+ | int
8004
+ | sap.ui.base.ManagedObject.PropertyBindingInfo
8005
+ | `{${string}}`;
8006
+
8007
+ /**
8008
+ * Advanced recurrence rule configuration.
8009
+ */
8010
+ recurrenceRule?: sap.ui.unified.RecurrenceRule;
8011
+ }
8012
+
7912
8013
  /**
7913
8014
  * Describes the settings that can be provided to the RecurringNonWorkingPeriod constructor.
7914
8015
  *
@@ -7943,6 +8044,11 @@ declare namespace sap {
7943
8044
  | int
7944
8045
  | sap.ui.base.ManagedObject.PropertyBindingInfo
7945
8046
  | `{${string}}`;
8047
+
8048
+ /**
8049
+ * Advanced recurrence rule configuration.
8050
+ */
8051
+ recurrenceRule?: sap.ui.unified.RecurrenceRule;
7946
8052
  }
7947
8053
 
7948
8054
  /**
@@ -20120,6 +20226,493 @@ declare namespace sap {
20120
20226
  oTimeRange: sap.ui.unified.TimeRange
20121
20227
  ): this;
20122
20228
  }
20229
+ /**
20230
+ * Binding DTO for recurrence rule configuration. Carries all possible recurrence properties along with
20231
+ * the `recurrenceType` that determines which properties are relevant.
20232
+ *
20233
+ * When set on a parent aggregation, the parent internally creates the correct concrete subclass ({@link sap.ui.unified.WeeklyRecurrenceRule},
20234
+ * {@link sap.ui.unified.MonthlyRecurrenceRule}, or {@link sap.ui.unified.YearlyRecurrenceRule}) via {@link sap.ui.unified.RecurrenceRule._factory}.
20235
+ *
20236
+ * Usage in XML binding:
20237
+ * ```javascript
20238
+ *
20239
+ * <unified:recurrenceRule>
20240
+ * <unified:RecurrenceRule
20241
+ * recurrenceType="{/RecurrenceType}"
20242
+ * days="{/Days}"
20243
+ * weekOfMonth="{/WeekOfMonth}"
20244
+ * dayOfMonth="{/DayOfMonth}"
20245
+ * month="{/Month}" />
20246
+ * </unified:recurrenceRule>
20247
+ * ```
20248
+ *
20249
+ *
20250
+ * @experimental As of version 1.149.
20251
+ */
20252
+ class RecurrenceRule extends sap.ui.core.Element {
20253
+ /**
20254
+ * Constructor for a new `RecurrenceRule`.
20255
+ *
20256
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
20257
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
20258
+ * of the syntax of the settings object.
20259
+ */
20260
+ constructor(
20261
+ /**
20262
+ * Initial settings for the new element
20263
+ */
20264
+ mSettings?: sap.ui.unified.$RecurrenceRuleSettings
20265
+ );
20266
+ /**
20267
+ * Constructor for a new `RecurrenceRule`.
20268
+ *
20269
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
20270
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
20271
+ * of the syntax of the settings object.
20272
+ */
20273
+ constructor(
20274
+ /**
20275
+ * ID for the new element, generated automatically if no ID is given
20276
+ */
20277
+ sId?: string,
20278
+ /**
20279
+ * Initial settings for the new element
20280
+ */
20281
+ mSettings?: sap.ui.unified.$RecurrenceRuleSettings
20282
+ );
20283
+
20284
+ /**
20285
+ * Creates a new subclass of class sap.ui.unified.RecurrenceRule with name `sClassName` and enriches it
20286
+ * with the information contained in `oClassInfo`.
20287
+ *
20288
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
20289
+ *
20290
+ *
20291
+ * @returns Created class / constructor function
20292
+ */
20293
+ static extend<T extends Record<string, unknown>>(
20294
+ /**
20295
+ * Name of the class being created
20296
+ */
20297
+ sClassName: string,
20298
+ /**
20299
+ * Object literal with information about the class
20300
+ */
20301
+ oClassInfo?: sap.ClassInfo<T, sap.ui.unified.RecurrenceRule>,
20302
+ /**
20303
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
20304
+ * used by this class
20305
+ */
20306
+ FNMetaImpl?: Function
20307
+ ): Function;
20308
+ /**
20309
+ * Returns a metadata object for class sap.ui.unified.RecurrenceRule.
20310
+ *
20311
+ *
20312
+ * @returns Metadata object describing this class
20313
+ */
20314
+ static getMetadata(): sap.ui.core.ElementMetadata;
20315
+ /**
20316
+ * Gets current value of property {@link #getDayOfMonth dayOfMonth}.
20317
+ *
20318
+ * Day of month (1–31). A value of `0` means "inherit from parent start date". Relevant when `type` is `DayOfMonth`.
20319
+ *
20320
+ * Default value is `0`.
20321
+ *
20322
+ *
20323
+ * @returns Value of property `dayOfMonth`
20324
+ */
20325
+ getDayOfMonth(): int;
20326
+ /**
20327
+ * Gets current value of property {@link #getDayOfWeek dayOfWeek}.
20328
+ *
20329
+ * Day of week (0–6, 0 = Sunday). Relevant when `type` is `DayOfWeek`.
20330
+ *
20331
+ * Default value is `0`.
20332
+ *
20333
+ *
20334
+ * @returns Value of property `dayOfWeek`
20335
+ */
20336
+ getDayOfWeek(): int;
20337
+ /**
20338
+ * Gets current value of property {@link #getDays days}.
20339
+ *
20340
+ * Days of week for weekly recurrence (0–6, 0 = Sunday). Relevant when `recurrenceType` is `Weekly`.
20341
+ *
20342
+ * Default value is `[]`.
20343
+ *
20344
+ *
20345
+ * @returns Value of property `days`
20346
+ */
20347
+ getDays(): int[];
20348
+ /**
20349
+ * Gets current value of property {@link #getMonth month}.
20350
+ *
20351
+ * Month of year (0–11, 0 = January). Relevant when `recurrenceType` is `Yearly`.
20352
+ *
20353
+ * Default value is `-1`.
20354
+ *
20355
+ *
20356
+ * @returns Value of property `month`
20357
+ */
20358
+ getMonth(): int;
20359
+ /**
20360
+ * Gets current value of property {@link #getRecurrenceType recurrenceType}.
20361
+ *
20362
+ * The recurrence type. Determines which properties are relevant and which concrete subclass is created
20363
+ * internally by the parent.
20364
+ *
20365
+ *
20366
+ * @returns Value of property `recurrenceType`
20367
+ */
20368
+ getRecurrenceType(): sap.ui.unified.RecurrenceType;
20369
+ /**
20370
+ * Gets current value of property {@link #getType type}.
20371
+ *
20372
+ * Type of the advanced recurrence pattern. Relevant when `recurrenceType` is `Monthly` or `Yearly`.
20373
+ *
20374
+ * Default value is `DayOfMonth`.
20375
+ *
20376
+ *
20377
+ * @returns Value of property `type`
20378
+ */
20379
+ getType(): sap.ui.unified.RecurrenceRuleType;
20380
+ /**
20381
+ * Gets current value of property {@link #getWeekOfMonth weekOfMonth}.
20382
+ *
20383
+ * Week of month (First, Second, Third, Fourth, Last). Relevant when `type` is `DayOfWeek`.
20384
+ *
20385
+ * Default value is `First`.
20386
+ *
20387
+ *
20388
+ * @returns Value of property `weekOfMonth`
20389
+ */
20390
+ getWeekOfMonth(): sap.ui.unified.WeekOfMonth;
20391
+ /**
20392
+ * Sets a new value for property {@link #getDayOfMonth dayOfMonth}.
20393
+ *
20394
+ * Day of month (1–31). A value of `0` means "inherit from parent start date". Relevant when `type` is `DayOfMonth`.
20395
+ *
20396
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20397
+ *
20398
+ * Default value is `0`.
20399
+ *
20400
+ *
20401
+ * @returns Reference to `this` in order to allow method chaining
20402
+ */
20403
+ setDayOfMonth(
20404
+ /**
20405
+ * New value for property `dayOfMonth`
20406
+ */
20407
+ iDayOfMonth?: int
20408
+ ): this;
20409
+ /**
20410
+ * Sets a new value for property {@link #getDayOfWeek dayOfWeek}.
20411
+ *
20412
+ * Day of week (0–6, 0 = Sunday). Relevant when `type` is `DayOfWeek`.
20413
+ *
20414
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20415
+ *
20416
+ * Default value is `0`.
20417
+ *
20418
+ *
20419
+ * @returns Reference to `this` in order to allow method chaining
20420
+ */
20421
+ setDayOfWeek(
20422
+ /**
20423
+ * New value for property `dayOfWeek`
20424
+ */
20425
+ iDayOfWeek?: int
20426
+ ): this;
20427
+ /**
20428
+ * Sets the days of week (0–6, 0 = Sunday).
20429
+ */
20430
+ setDays(vDays: number | number[]): this;
20431
+ /**
20432
+ * Sets a new value for property {@link #getMonth month}.
20433
+ *
20434
+ * Month of year (0–11, 0 = January). Relevant when `recurrenceType` is `Yearly`.
20435
+ *
20436
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20437
+ *
20438
+ * Default value is `-1`.
20439
+ *
20440
+ *
20441
+ * @returns Reference to `this` in order to allow method chaining
20442
+ */
20443
+ setMonth(
20444
+ /**
20445
+ * New value for property `month`
20446
+ */
20447
+ iMonth?: int
20448
+ ): this;
20449
+ /**
20450
+ * Sets a new value for property {@link #getRecurrenceType recurrenceType}.
20451
+ *
20452
+ * The recurrence type. Determines which properties are relevant and which concrete subclass is created
20453
+ * internally by the parent.
20454
+ *
20455
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20456
+ *
20457
+ *
20458
+ * @returns Reference to `this` in order to allow method chaining
20459
+ */
20460
+ setRecurrenceType(
20461
+ /**
20462
+ * New value for property `recurrenceType`
20463
+ */
20464
+ sRecurrenceType: sap.ui.unified.RecurrenceType
20465
+ ): this;
20466
+ /**
20467
+ * Sets a new value for property {@link #getType type}.
20468
+ *
20469
+ * Type of the advanced recurrence pattern. Relevant when `recurrenceType` is `Monthly` or `Yearly`.
20470
+ *
20471
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20472
+ *
20473
+ * Default value is `DayOfMonth`.
20474
+ *
20475
+ *
20476
+ * @returns Reference to `this` in order to allow method chaining
20477
+ */
20478
+ setType(
20479
+ /**
20480
+ * New value for property `type`
20481
+ */
20482
+ sType?: sap.ui.unified.RecurrenceRuleType
20483
+ ): this;
20484
+ /**
20485
+ * Sets a new value for property {@link #getWeekOfMonth weekOfMonth}.
20486
+ *
20487
+ * Week of month (First, Second, Third, Fourth, Last). Relevant when `type` is `DayOfWeek`.
20488
+ *
20489
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20490
+ *
20491
+ * Default value is `First`.
20492
+ *
20493
+ *
20494
+ * @returns Reference to `this` in order to allow method chaining
20495
+ */
20496
+ setWeekOfMonth(
20497
+ /**
20498
+ * New value for property `weekOfMonth`
20499
+ */
20500
+ sWeekOfMonth?: sap.ui.unified.WeekOfMonth
20501
+ ): this;
20502
+ }
20503
+ /**
20504
+ * An appointment for use in a `PlanningCalendar` or similar. The rendering must be done in the Row collecting
20505
+ * the appointments. (Because there are different visualizations possible.)
20506
+ *
20507
+ * Applications could inherit from this element to add own fields.
20508
+ *
20509
+ * @experimental As of version 1.149.
20510
+ */
20511
+ class RecurringCalendarAppointment extends sap.ui.unified
20512
+ .CalendarAppointment {
20513
+ /**
20514
+ * Constructor for a new `RecurringCalendarAppointment`.
20515
+ *
20516
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
20517
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
20518
+ * of the syntax of the settings object.
20519
+ */
20520
+ constructor(
20521
+ /**
20522
+ * Initial settings for the new control
20523
+ */
20524
+ mSettings?: sap.ui.unified.$RecurringCalendarAppointmentSettings
20525
+ );
20526
+ /**
20527
+ * Constructor for a new `RecurringCalendarAppointment`.
20528
+ *
20529
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
20530
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
20531
+ * of the syntax of the settings object.
20532
+ */
20533
+ constructor(
20534
+ /**
20535
+ * ID for the new control, generated automatically if no ID is given
20536
+ */
20537
+ sId?: string,
20538
+ /**
20539
+ * Initial settings for the new control
20540
+ */
20541
+ mSettings?: sap.ui.unified.$RecurringCalendarAppointmentSettings
20542
+ );
20543
+
20544
+ /**
20545
+ * Creates a new subclass of class sap.ui.unified.RecurringCalendarAppointment with name `sClassName` and
20546
+ * enriches it with the information contained in `oClassInfo`.
20547
+ *
20548
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.unified.CalendarAppointment.extend}.
20549
+ *
20550
+ *
20551
+ * @returns Created class / constructor function
20552
+ */
20553
+ static extend<T extends Record<string, unknown>>(
20554
+ /**
20555
+ * Name of the class being created
20556
+ */
20557
+ sClassName: string,
20558
+ /**
20559
+ * Object literal with information about the class
20560
+ */
20561
+ oClassInfo?: sap.ClassInfo<
20562
+ T,
20563
+ sap.ui.unified.RecurringCalendarAppointment
20564
+ >,
20565
+ /**
20566
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
20567
+ * used by this class
20568
+ */
20569
+ FNMetaImpl?: Function
20570
+ ): Function;
20571
+ /**
20572
+ * Returns a metadata object for class sap.ui.unified.RecurringCalendarAppointment.
20573
+ *
20574
+ *
20575
+ * @returns Metadata object describing this class
20576
+ */
20577
+ static getMetadata(): sap.ui.core.ElementMetadata;
20578
+ /**
20579
+ * Creates `CalendarAppointment` clones for each occurrence of this recurring appointment within the given
20580
+ * date range.
20581
+ *
20582
+ *
20583
+ * @returns Array of cloned appointments, one per occurrence
20584
+ */
20585
+ createOccurrenceClones(
20586
+ /**
20587
+ * Start of the visible range (inclusive)
20588
+ */
20589
+ oRangeStart: Date | import("sap/ui/core/date/UI5Date").default,
20590
+ /**
20591
+ * End of the visible range (inclusive)
20592
+ */
20593
+ oRangeEnd: Date | import("sap/ui/core/date/UI5Date").default
20594
+ ): sap.ui.unified.CalendarAppointment[];
20595
+ /**
20596
+ * Destroys the recurrenceRule in the aggregation {@link #getRecurrenceRule recurrenceRule}.
20597
+ *
20598
+ *
20599
+ * @returns Reference to `this` in order to allow method chaining
20600
+ */
20601
+ destroyRecurrenceRule(): this;
20602
+ /**
20603
+ * Returns all occurrence dates within the given date range.
20604
+ *
20605
+ *
20606
+ * @returns Array of occurrence dates (UI5Date instances)
20607
+ */
20608
+ getOccurrencesInRange(
20609
+ /**
20610
+ * Start date of range (inclusive)
20611
+ */
20612
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default,
20613
+ /**
20614
+ * End date of range (inclusive)
20615
+ */
20616
+ oEndDate: Date | import("sap/ui/core/date/UI5Date").default
20617
+ ): Date[];
20618
+ /**
20619
+ * Gets current value of property {@link #getRecurrenceEndDate recurrenceEndDate}.
20620
+ *
20621
+ * End date of the recurrence. Must be a UI5Date or JavaScript Date object.
20622
+ *
20623
+ *
20624
+ * @returns Value of property `recurrenceEndDate`
20625
+ */
20626
+ getRecurrenceEndDate(): object;
20627
+ /**
20628
+ * Gets current value of property {@link #getRecurrencePattern recurrencePattern}.
20629
+ *
20630
+ * Recurrence interval. E.g. 1 = every day/week/month/year, 2 = every second, etc.
20631
+ *
20632
+ * Default value is `1`.
20633
+ *
20634
+ *
20635
+ * @returns Value of property `recurrencePattern`
20636
+ */
20637
+ getRecurrencePattern(): int;
20638
+ /**
20639
+ * Gets content of aggregation {@link #getRecurrenceRule recurrenceRule}.
20640
+ *
20641
+ * Advanced recurrence rule configuration.
20642
+ */
20643
+ getRecurrenceRule(): sap.ui.unified.RecurrenceRule;
20644
+ /**
20645
+ * Gets current value of property {@link #getRecurrenceType recurrenceType}.
20646
+ *
20647
+ * The recurrence type (Daily, Weekly, Monthly, Yearly).
20648
+ *
20649
+ *
20650
+ * @returns Value of property `recurrenceType`
20651
+ */
20652
+ getRecurrenceType(): sap.ui.unified.RecurrenceType;
20653
+ /**
20654
+ * Sets a new value for property {@link #getRecurrenceEndDate recurrenceEndDate}.
20655
+ *
20656
+ * End date of the recurrence. Must be a UI5Date or JavaScript Date object.
20657
+ *
20658
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20659
+ *
20660
+ *
20661
+ * @returns Reference to `this` in order to allow method chaining
20662
+ */
20663
+ setRecurrenceEndDate(
20664
+ /**
20665
+ * New value for property `recurrenceEndDate`
20666
+ */
20667
+ oRecurrenceEndDate: object
20668
+ ): this;
20669
+ /**
20670
+ * Sets a new value for property {@link #getRecurrencePattern recurrencePattern}.
20671
+ *
20672
+ * Recurrence interval. E.g. 1 = every day/week/month/year, 2 = every second, etc.
20673
+ *
20674
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20675
+ *
20676
+ * Default value is `1`.
20677
+ *
20678
+ *
20679
+ * @returns Reference to `this` in order to allow method chaining
20680
+ */
20681
+ setRecurrencePattern(
20682
+ /**
20683
+ * New value for property `recurrencePattern`
20684
+ */
20685
+ iRecurrencePattern?: int
20686
+ ): this;
20687
+ /**
20688
+ * Sets the aggregated {@link #getRecurrenceRule recurrenceRule}.
20689
+ *
20690
+ *
20691
+ * @returns Reference to `this` in order to allow method chaining
20692
+ */
20693
+ setRecurrenceRule(
20694
+ /**
20695
+ * The recurrenceRule to set
20696
+ */
20697
+ oRecurrenceRule: sap.ui.unified.RecurrenceRule
20698
+ ): this;
20699
+ /**
20700
+ * Sets a new value for property {@link #getRecurrenceType recurrenceType}.
20701
+ *
20702
+ * The recurrence type (Daily, Weekly, Monthly, Yearly).
20703
+ *
20704
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
20705
+ *
20706
+ *
20707
+ * @returns Reference to `this` in order to allow method chaining
20708
+ */
20709
+ setRecurrenceType(
20710
+ /**
20711
+ * New value for property `recurrenceType`
20712
+ */
20713
+ sRecurrenceType: sap.ui.unified.RecurrenceType
20714
+ ): this;
20715
+ }
20123
20716
  /**
20124
20717
  * A `RecurringNonWorkingPeriod` for use in a `PlanningCalendar` and `SinglePlanningCalendar`.
20125
20718
  *
@@ -20193,6 +20786,30 @@ declare namespace sap {
20193
20786
  * @returns Metadata object describing this class
20194
20787
  */
20195
20788
  static getMetadata(): sap.ui.core.ElementMetadata;
20789
+ /**
20790
+ * Destroys the recurrenceRule in the aggregation {@link #getRecurrenceRule recurrenceRule}.
20791
+ *
20792
+ *
20793
+ * @returns Reference to `this` in order to allow method chaining
20794
+ */
20795
+ destroyRecurrenceRule(): this;
20796
+ /**
20797
+ * Gets cached non-working periods for a date range. Returns cached result if available, or null if not
20798
+ * cached.
20799
+ *
20800
+ *
20801
+ * @returns Cached non-working periods or null
20802
+ */
20803
+ getCachedOccurrences(
20804
+ /**
20805
+ * Start date of range
20806
+ */
20807
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default,
20808
+ /**
20809
+ * End date of range
20810
+ */
20811
+ oEndDate: Date | import("sap/ui/core/date/UI5Date").default
20812
+ ): sap.ui.unified.NonWorkingPeriod[] | null;
20196
20813
  /**
20197
20814
  * Gets current value of property {@link #getRecurrenceEndDate recurrenceEndDate}.
20198
20815
  *
@@ -20217,6 +20834,12 @@ declare namespace sap {
20217
20834
  * @returns Value of property `recurrencePattern`
20218
20835
  */
20219
20836
  getRecurrencePattern(): int;
20837
+ /**
20838
+ * Gets content of aggregation {@link #getRecurrenceRule recurrenceRule}.
20839
+ *
20840
+ * Advanced recurrence rule configuration.
20841
+ */
20842
+ getRecurrenceRule(): sap.ui.unified.RecurrenceRule;
20220
20843
  /**
20221
20844
  * Gets current value of property {@link #getRecurrenceType recurrenceType}.
20222
20845
  *
@@ -20226,6 +20849,35 @@ declare namespace sap {
20226
20849
  * @returns Value of property `recurrenceType`
20227
20850
  */
20228
20851
  getRecurrenceType(): sap.ui.unified.RecurrenceType;
20852
+ /**
20853
+ * Checks if a given date (without time) is a non-working day.
20854
+ *
20855
+ *
20856
+ * @returns True if the date is non-working
20857
+ */
20858
+ hasNonWorkingAtDate(
20859
+ /**
20860
+ * Date to check
20861
+ */
20862
+ oDate: Date | import("sap/ui/core/date/UI5Date").default
20863
+ ): boolean;
20864
+ /**
20865
+ * Sets cached non-working periods for a date range.
20866
+ */
20867
+ setCachedOccurrences(
20868
+ /**
20869
+ * Start date of range
20870
+ */
20871
+ oStartDate: Date | import("sap/ui/core/date/UI5Date").default,
20872
+ /**
20873
+ * End date of range
20874
+ */
20875
+ oEndDate: Date | import("sap/ui/core/date/UI5Date").default,
20876
+ /**
20877
+ * Array of non-working periods to cache
20878
+ */
20879
+ aPeriods: sap.ui.unified.NonWorkingPeriod[]
20880
+ ): void;
20229
20881
  /**
20230
20882
  * Sets a new value for property {@link #getRecurrenceEndDate recurrenceEndDate}.
20231
20883
  *
@@ -20264,6 +20916,18 @@ declare namespace sap {
20264
20916
  */
20265
20917
  iRecurrencePattern?: int
20266
20918
  ): this;
20919
+ /**
20920
+ * Sets the aggregated {@link #getRecurrenceRule recurrenceRule}.
20921
+ *
20922
+ *
20923
+ * @returns Reference to `this` in order to allow method chaining
20924
+ */
20925
+ setRecurrenceRule(
20926
+ /**
20927
+ * The recurrenceRule to set
20928
+ */
20929
+ oRecurrenceRule: sap.ui.unified.RecurrenceRule
20930
+ ): this;
20267
20931
  /**
20268
20932
  * Sets a new value for property {@link #getRecurrenceType recurrenceType}.
20269
20933
  *
@@ -23007,6 +23671,15 @@ declare namespace sap {
23007
23671
  */
23008
23672
  Expanded = "Expanded",
23009
23673
  }
23674
+ /**
23675
+ * Types of recurrence rule pattern.
23676
+ *
23677
+ * This enum is part of the 'sap/ui/unified/library' module export and must be accessed by the property
23678
+ * 'RecurrenceRuleType'.
23679
+ *
23680
+ * @since 1.149.0
23681
+ */
23682
+ enum RecurrenceRuleType {}
23010
23683
  /**
23011
23684
  * Interval types in a `RecurrenceType`.
23012
23685
  *
@@ -23043,6 +23716,15 @@ declare namespace sap {
23043
23716
  */
23044
23717
  WorkingDay = "WorkingDay",
23045
23718
  }
23719
+ /**
23720
+ * Week order within a month for recurrence rules.
23721
+ *
23722
+ * This enum is part of the 'sap/ui/unified/library' module export and must be accessed by the property
23723
+ * 'WeekOfMonth'.
23724
+ *
23725
+ * @since 1.149.0
23726
+ */
23727
+ enum WeekOfMonth {}
23046
23728
  /**
23047
23729
  * Event object of the Calendar#cancel event.
23048
23730
  */
@@ -23410,6 +24092,10 @@ declare namespace sap {
23410
24092
 
23411
24093
  "sap/ui/unified/NonWorkingPeriod": undefined;
23412
24094
 
24095
+ "sap/ui/unified/RecurrenceRule": undefined;
24096
+
24097
+ "sap/ui/unified/RecurringCalendarAppointment": undefined;
24098
+
23413
24099
  "sap/ui/unified/RecurringNonWorkingPeriod": undefined;
23414
24100
 
23415
24101
  "sap/ui/unified/Shell": undefined;