@sapui5/ts-types 1.94.1 → 1.96.2

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 (65) hide show
  1. package/package.json +1 -1
  2. package/types/index.d.ts +3 -2
  3. package/types/sap.apf.d.ts +1 -1
  4. package/types/sap.ca.ui.d.ts +1 -1
  5. package/types/sap.chart.d.ts +1 -1
  6. package/types/sap.collaboration.d.ts +1 -1
  7. package/types/sap.esh.search.ui.d.ts +235 -1
  8. package/types/sap.f.d.ts +310 -40
  9. package/types/sap.fe.common.d.ts +1 -1
  10. package/types/sap.fe.core.d.ts +102 -1
  11. package/types/{sap.fe.macros.d.ts → sap.fe.macros-1.96.0-d.ts} +36 -12
  12. package/types/sap.fe.navigation.d.ts +1 -1
  13. package/types/sap.fe.placeholder-1.96.0-d.ts +3 -0
  14. package/types/sap.fe.plugins.d.ts +1 -1
  15. package/types/sap.fe.semantics.d.ts +1 -1
  16. package/types/sap.fe.templates.d.ts +2 -2
  17. package/types/sap.fe.test.d.ts +1 -1
  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 +1106 -44
  21. package/types/sap.landvisz.d.ts +1 -1
  22. package/types/sap.m.d.ts +643 -115
  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 +21 -29
  26. package/types/sap.ovp.d.ts +1 -1
  27. package/types/sap.rules.ui.d.ts +1 -1
  28. package/types/sap.sac.grid.d.ts +635 -0
  29. package/types/sap.suite.ui.commons.d.ts +177 -3
  30. package/types/sap.suite.ui.generic.template.d.ts +49 -6
  31. package/types/sap.suite.ui.microchart.d.ts +1 -1
  32. package/types/sap.tnt.d.ts +41 -12
  33. package/types/sap.ui.codeeditor.d.ts +29 -31
  34. package/types/sap.ui.commons.d.ts +1 -1
  35. package/types/sap.ui.comp.d.ts +149 -18
  36. package/types/sap.ui.core.d.ts +708 -332
  37. package/types/sap.ui.dt.d.ts +1 -1
  38. package/types/sap.ui.export.d.ts +119 -69
  39. package/types/sap.ui.fl.d.ts +3 -1
  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 +232 -1
  43. package/types/sap.ui.layout.d.ts +19 -1
  44. package/types/sap.ui.mdc.d.ts +51 -1
  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 +6 -6
  49. package/types/sap.ui.table.d.ts +7 -4
  50. package/types/sap.ui.testrecorder.d.ts +1 -1
  51. package/types/sap.ui.unified.d.ts +140 -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 +793 -130
  55. package/types/sap.ui.vtm.d.ts +1 -1
  56. package/types/sap.uiext.inbox.d.ts +2 -1
  57. package/types/sap.ushell.d.ts +69 -49
  58. package/types/sap.ushell_abap.d.ts +2 -2
  59. package/types/sap.uxap.d.ts +1 -1
  60. package/types/sap.viz.d.ts +1 -1
  61. package/types/sap.webanalytics.core.d.ts +1 -1
  62. package/types/sap.zen.commons.d.ts +1 -1
  63. package/types/sap.zen.crosstab.d.ts +1 -1
  64. package/types/sap.zen.dsh.d.ts +49 -34
  65. package/types/sap.fe.placeholder.d.ts +0 -3
@@ -1,4 +1,4 @@
1
- // For Library Version: 1.94.0
1
+ // For Library Version: 1.96.2
2
2
 
3
3
  declare namespace sap {
4
4
  /**
@@ -20212,6 +20212,13 @@ declare namespace sap {
20212
20212
  * This property indicates the font family that gets used to render the text in the shape.
20213
20213
  */
20214
20214
  fontFamily?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
20215
+
20216
+ /**
20217
+ * @SINCE 1.96
20218
+ *
20219
+ * The titleSpacing property defines the space between the start of the shape and the shape title in pixels
20220
+ */
20221
+ titleSpacing?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
20215
20222
  }
20216
20223
 
20217
20224
  interface $BaseTextSettings extends sap.gantt.simple.$BaseShapeSettings {
@@ -20265,6 +20272,20 @@ declare namespace sap {
20265
20272
  * basegroup.
20266
20273
  */
20267
20274
  isLabel?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
20275
+
20276
+ /**
20277
+ * @SINCE 1.96
20278
+ *
20279
+ * property to check if shape is cropped by the visible horizon
20280
+ */
20281
+ _shapeCropped?: boolean | sap.ui.base.ManagedObject.PropertyBindingInfo;
20282
+
20283
+ /**
20284
+ * @SINCE 1.96
20285
+ *
20286
+ * xBaised value to be added to cropped shape when horizontalTextAligment is set to "Dynamic"
20287
+ */
20288
+ _xBiassed?: float | sap.ui.base.ManagedObject.PropertyBindingInfo;
20268
20289
  }
20269
20290
 
20270
20291
  interface $BaseTriangleSettings
@@ -20394,15 +20415,6 @@ declare namespace sap {
20394
20415
  | boolean
20395
20416
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
20396
20417
 
20397
- /**
20398
- * @SINCE 1.88
20399
- *
20400
- * Property to enable variant management
20401
- */
20402
- enableVariantManagement?:
20403
- | boolean
20404
- | sap.ui.base.ManagedObject.PropertyBindingInfo;
20405
-
20406
20418
  /**
20407
20419
  * The additional setting items in Setting Dialog
20408
20420
  */
@@ -20452,6 +20464,22 @@ declare namespace sap {
20452
20464
  _control?: sap.ui.core.Control;
20453
20465
  }
20454
20466
 
20467
+ interface $CustomVariantHandlerSettings
20468
+ extends sap.ui.core.$ElementSettings {
20469
+ data?: object | sap.ui.base.ManagedObject.PropertyBindingInfo;
20470
+
20471
+ dependantControlID?:
20472
+ | string[]
20473
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
20474
+
20475
+ /**
20476
+ * @SINCE 1.88
20477
+ *
20478
+ * The event is triggered when custom variant data is set to update gantt chart with table
20479
+ */
20480
+ setDataComplete?: (oEvent: sap.ui.base.Event) => void;
20481
+ }
20482
+
20455
20483
  interface $DeltaLineSettings extends sap.ui.core.$ElementSettings {
20456
20484
  /**
20457
20485
  * Standard SVG 'stroke' attribute. You can provide the stroke attribute with HTML colors and URL reference
@@ -20773,6 +20801,15 @@ declare namespace sap {
20773
20801
  | string[]
20774
20802
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
20775
20803
 
20804
+ /**
20805
+ * @SINCE 1.95
20806
+ *
20807
+ * Property to enable variant management
20808
+ */
20809
+ enableVariantManagement?:
20810
+ | boolean
20811
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
20812
+
20776
20813
  /**
20777
20814
  * @SINCE 1.91
20778
20815
  *
@@ -20809,7 +20846,7 @@ declare namespace sap {
20809
20846
  *
20810
20847
  * Custom variant handler of the container
20811
20848
  */
20812
- variantHandler?: /* was: sap.gantt.simple.CustomVariantHandler */ any;
20849
+ variantHandler?: sap.gantt.simple.CustomVariantHandler;
20813
20850
 
20814
20851
  /**
20815
20852
  * Event fired when the custom settings value is changed.
@@ -21230,6 +21267,25 @@ declare namespace sap {
21230
21267
  | boolean
21231
21268
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
21232
21269
 
21270
+ /**
21271
+ * @SINCE 1.96
21272
+ *
21273
+ * Specifies the size of the relationship's shape. Applicable to triangles, square, diamond, and circle
21274
+ * shapes; excluding horizontal rectangle and vertical rectangle shapes.
21275
+ */
21276
+ relationshipShapeSize?:
21277
+ | sap.gantt.simple.relationshipShapeSize
21278
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
21279
+
21280
+ /**
21281
+ * @EXPERIMENTAL (since 1.98)
21282
+ *
21283
+ * Determines if only tasks need to be used for rendering the expanded shapes. Subtasks are not required.
21284
+ */
21285
+ useParentShapeOnExpand?:
21286
+ | boolean
21287
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
21288
+
21233
21289
  /**
21234
21290
  * Table of the Gantt Chart
21235
21291
  *
@@ -21790,6 +21846,15 @@ declare namespace sap {
21790
21846
  | boolean
21791
21847
  | sap.ui.base.ManagedObject.PropertyBindingInfo;
21792
21848
 
21849
+ /**
21850
+ * @SINCE 1.95
21851
+ *
21852
+ * Flag to have relationship pass over divider line
21853
+ */
21854
+ relationshipOverDivider?:
21855
+ | boolean
21856
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
21857
+
21793
21858
  /**
21794
21859
  * _lMarker determines up/down relation of L type .
21795
21860
  */
@@ -21816,6 +21881,96 @@ declare namespace sap {
21816
21881
  rowSpan?: int | sap.ui.base.ManagedObject.PropertyBindingInfo;
21817
21882
  }
21818
21883
 
21884
+ interface $StockChartSettings
21885
+ extends sap.gantt.simple.$UtilizationChartSettings {
21886
+ /**
21887
+ * Flag to show or hide the middle line in Stock Chart. By default the middle line is a gray dashed line
21888
+ */
21889
+ showMiddleLine?:
21890
+ | boolean
21891
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
21892
+
21893
+ /**
21894
+ * Minimum value of the Chart.
21895
+ */
21896
+ minValue?: float | sap.ui.base.ManagedObject.PropertyBindingInfo;
21897
+
21898
+ /**
21899
+ * Maximum value of the Chart.
21900
+ */
21901
+ maxValue?: float | sap.ui.base.ManagedObject.PropertyBindingInfo;
21902
+
21903
+ /**
21904
+ * Dimensions of the Stock Chart
21905
+ */
21906
+ stockChartDimensions?:
21907
+ | sap.gantt.simple.StockChartDimension[]
21908
+ | sap.gantt.simple.StockChartDimension
21909
+ | sap.ui.base.ManagedObject.AggregationBindingInfo;
21910
+ }
21911
+
21912
+ interface $StockChartDimensionSettings
21913
+ extends sap.ui.core.$ElementSettings {
21914
+ /**
21915
+ * The name of the Dimension
21916
+ */
21917
+ name?: string | sap.ui.base.ManagedObject.PropertyBindingInfo;
21918
+
21919
+ /**
21920
+ * Sets the dimension path color
21921
+ */
21922
+ dimensionPathColor?:
21923
+ | sap.gantt.ValueSVGPaintServer
21924
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
21925
+
21926
+ /**
21927
+ * Sets the remaining capacity color
21928
+ */
21929
+ remainCapacityColor?:
21930
+ | sap.gantt.ValueSVGPaintServer
21931
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
21932
+
21933
+ /**
21934
+ * Sets the remaining capacity color for negative values
21935
+ */
21936
+ remainCapacityColorNegative?:
21937
+ | sap.gantt.ValueSVGPaintServer
21938
+ | sap.ui.base.ManagedObject.PropertyBindingInfo;
21939
+
21940
+ /**
21941
+ * Sets the relative point to start the dimensions
21942
+ */
21943
+ relativePoint?: float | sap.ui.base.ManagedObject.PropertyBindingInfo;
21944
+
21945
+ /**
21946
+ * Aggregation of periods are used to display the utilization line.
21947
+ *
21948
+ * The periods have to be in chronological order, you must ensure that it's sorted by `from`, otherwise
21949
+ * the SC can't ben display correctly.
21950
+ */
21951
+ stockChartPeriods?:
21952
+ | sap.gantt.simple.StockChartPeriod[]
21953
+ | sap.gantt.simple.StockChartPeriod
21954
+ | sap.ui.base.ManagedObject.AggregationBindingInfo;
21955
+ }
21956
+
21957
+ interface $StockChartPeriodSettings extends sap.ui.core.$ElementSettings {
21958
+ /**
21959
+ * from date time of period
21960
+ */
21961
+ from?: object | sap.ui.base.ManagedObject.PropertyBindingInfo;
21962
+
21963
+ /**
21964
+ * to date time of period
21965
+ */
21966
+ to?: object | sap.ui.base.ManagedObject.PropertyBindingInfo;
21967
+
21968
+ /**
21969
+ * The value of the actual consumption capacity.
21970
+ */
21971
+ value?: float | sap.ui.base.ManagedObject.PropertyBindingInfo;
21972
+ }
21973
+
21819
21974
  interface $UtilizationBarChartSettings
21820
21975
  extends sap.gantt.simple.$UtilizationChartSettings {
21821
21976
  /**
@@ -25021,6 +25176,16 @@ declare namespace sap {
25021
25176
  * shape title;
25022
25177
  */
25023
25178
  getTitleColor(): sap.gantt.ValueSVGPaintServer;
25179
+ /**
25180
+ * @SINCE 1.96
25181
+ *
25182
+ * Gets current value of property {@link #getTitleSpacing titleSpacing}.
25183
+ *
25184
+ * The titleSpacing property defines the space between the start of the shape and the shape title in pixels
25185
+ *
25186
+ * Default value is `0`.
25187
+ */
25188
+ getTitleSpacing(): int;
25024
25189
  /**
25025
25190
  * Gets current value of property {@link #getTransform transform}.
25026
25191
  *
@@ -25583,6 +25748,23 @@ declare namespace sap {
25583
25748
  */
25584
25749
  sTitleColor: sap.gantt.ValueSVGPaintServer
25585
25750
  ): this;
25751
+ /**
25752
+ * @SINCE 1.96
25753
+ *
25754
+ * Sets a new value for property {@link #getTitleSpacing titleSpacing}.
25755
+ *
25756
+ * The titleSpacing property defines the space between the start of the shape and the shape title in pixels
25757
+ *
25758
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
25759
+ *
25760
+ * Default value is `0`.
25761
+ */
25762
+ setTitleSpacing(
25763
+ /**
25764
+ * New value for property `titleSpacing`
25765
+ */
25766
+ iTitleSpacing?: int
25767
+ ): this;
25586
25768
  /**
25587
25769
  * Sets a new value for property {@link #getTransform transform}.
25588
25770
  *
@@ -25724,6 +25906,24 @@ declare namespace sap {
25724
25906
  * Returns a metadata object for class sap.gantt.simple.BaseText.
25725
25907
  */
25726
25908
  static getMetadata(): sap.ui.core.ElementMetadata;
25909
+ /**
25910
+ * @SINCE 1.96
25911
+ *
25912
+ * Gets current value of property {@link #get_shapeCropped _shapeCropped}.
25913
+ *
25914
+ * property to check if shape is cropped by the visible horizon
25915
+ *
25916
+ * Default value is `false`.
25917
+ */
25918
+ get_shapeCropped(): boolean;
25919
+ /**
25920
+ * @SINCE 1.96
25921
+ *
25922
+ * Gets current value of property {@link #get_xBiassed _xBiassed}.
25923
+ *
25924
+ * xBaised value to be added to cropped shape when horizontalTextAligment is set to "Dynamic"
25925
+ */
25926
+ get_xBiassed(): float;
25727
25927
  /**
25728
25928
  * Gets current value of property {@link #getFontFamily fontFamily}.
25729
25929
  *
@@ -25814,6 +26014,38 @@ declare namespace sap {
25814
26014
  */
25815
26015
  oElement: sap.gantt.simple.BaseText
25816
26016
  ): void;
26017
+ /**
26018
+ * @SINCE 1.96
26019
+ *
26020
+ * Sets a new value for property {@link #get_shapeCropped _shapeCropped}.
26021
+ *
26022
+ * property to check if shape is cropped by the visible horizon
26023
+ *
26024
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
26025
+ *
26026
+ * Default value is `false`.
26027
+ */
26028
+ set_shapeCropped(
26029
+ /**
26030
+ * New value for property `_shapeCropped`
26031
+ */
26032
+ b_shapeCropped?: boolean
26033
+ ): this;
26034
+ /**
26035
+ * @SINCE 1.96
26036
+ *
26037
+ * Sets a new value for property {@link #get_xBiassed _xBiassed}.
26038
+ *
26039
+ * xBaised value to be added to cropped shape when horizontalTextAligment is set to "Dynamic"
26040
+ *
26041
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
26042
+ */
26043
+ set_xBiassed(
26044
+ /**
26045
+ * New value for property `_xBiassed`
26046
+ */
26047
+ f_xBiassed: float
26048
+ ): this;
25817
26049
  /**
25818
26050
  * Sets a new value for property {@link #getFontFamily fontFamily}.
25819
26051
  *
@@ -26585,16 +26817,6 @@ declare namespace sap {
26585
26817
  * Default value is `false`.
26586
26818
  */
26587
26819
  getAlignCustomContentToRight(): boolean;
26588
- /**
26589
- * @SINCE 1.88
26590
- *
26591
- * Gets current value of property {@link #getEnableVariantManagement enableVariantManagement}.
26592
- *
26593
- * Property to enable variant management
26594
- *
26595
- * Default value is `false`.
26596
- */
26597
- getEnableVariantManagement(): boolean;
26598
26820
  /**
26599
26821
  * Gets current value of property {@link #getInfoOfSelectItems infoOfSelectItems}.
26600
26822
  *
@@ -26744,23 +26966,6 @@ declare namespace sap {
26744
26966
  */
26745
26967
  bAlignCustomContentToRight?: boolean
26746
26968
  ): this;
26747
- /**
26748
- * @SINCE 1.88
26749
- *
26750
- * Sets a new value for property {@link #getEnableVariantManagement enableVariantManagement}.
26751
- *
26752
- * Property to enable variant management
26753
- *
26754
- * When called with a value of `null` or `undefined`, the default value of the property will be restored.
26755
- *
26756
- * Default value is `false`.
26757
- */
26758
- setEnableVariantManagement(
26759
- /**
26760
- * New value for property `enableVariantManagement`
26761
- */
26762
- bEnableVariantManagement?: boolean
26763
- ): this;
26764
26969
  /**
26765
26970
  * Sets a new value for property {@link #getInfoOfSelectItems infoOfSelectItems}.
26766
26971
  *
@@ -27048,6 +27253,179 @@ declare namespace sap {
27048
27253
  sType?: sap.gantt.simple.ContainerToolbarPlaceholderType
27049
27254
  ): this;
27050
27255
  }
27256
+ /**
27257
+ * Custom variant handler of the `sap.gantt.simple.GanttChartContainer` instance.
27258
+ */
27259
+ class CustomVariantHandler extends sap.ui.core.Element {
27260
+ /**
27261
+ * Creates and initializes the new Custom Variant Handler instance.
27262
+ *
27263
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
27264
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
27265
+ * of the syntax of the settings object.
27266
+ */
27267
+ constructor(
27268
+ /**
27269
+ * Initial settings for the new control
27270
+ */
27271
+ mSettings?: sap.gantt.simple.$CustomVariantHandlerSettings
27272
+ );
27273
+ /**
27274
+ * Creates and initializes the new Custom Variant Handler instance.
27275
+ *
27276
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
27277
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
27278
+ * of the syntax of the settings object.
27279
+ */
27280
+ constructor(
27281
+ /**
27282
+ * ID for the new control, generated automatically if no ID is given
27283
+ */
27284
+ sId?: string,
27285
+ /**
27286
+ * Initial settings for the new control
27287
+ */
27288
+ mSettings?: sap.gantt.simple.$CustomVariantHandlerSettings
27289
+ );
27290
+
27291
+ /**
27292
+ * Creates a new subclass of class sap.gantt.simple.CustomVariantHandler with name `sClassName` and enriches
27293
+ * it with the information contained in `oClassInfo`.
27294
+ *
27295
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
27296
+ */
27297
+ static extend<T extends Record<string, unknown>>(
27298
+ /**
27299
+ * Name of the class being created
27300
+ */
27301
+ sClassName: string,
27302
+ /**
27303
+ * Object literal with information about the class
27304
+ */
27305
+ oClassInfo?: sap.ClassInfo<T, sap.gantt.simple.CustomVariantHandler>,
27306
+ /**
27307
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
27308
+ * used by this class
27309
+ */
27310
+ FNMetaImpl?: Function
27311
+ ): Function;
27312
+ /**
27313
+ * Returns a metadata object for class sap.gantt.simple.CustomVariantHandler.
27314
+ */
27315
+ static getMetadata(): sap.ui.core.ElementMetadata;
27316
+ /**
27317
+ * @SINCE 1.88
27318
+ *
27319
+ * Attaches event handler `fnFunction` to the {@link #event:setDataComplete setDataComplete} event of this
27320
+ * `sap.gantt.simple.CustomVariantHandler`.
27321
+ *
27322
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
27323
+ * otherwise it will be bound to this `sap.gantt.simple.CustomVariantHandler` itself.
27324
+ *
27325
+ * The event is triggered when custom variant data is set to update gantt chart with table
27326
+ */
27327
+ attachSetDataComplete(
27328
+ /**
27329
+ * An application-specific payload object that will be passed to the event handler along with the event
27330
+ * object when firing the event
27331
+ */
27332
+ oData: object,
27333
+ /**
27334
+ * The function to be called when the event occurs
27335
+ */
27336
+ fnFunction: (p1: sap.ui.base.Event) => void,
27337
+ /**
27338
+ * Context object to call the event handler with. Defaults to this `sap.gantt.simple.CustomVariantHandler`
27339
+ * itself
27340
+ */
27341
+ oListener?: object
27342
+ ): this;
27343
+ /**
27344
+ * @SINCE 1.88
27345
+ *
27346
+ * Attaches event handler `fnFunction` to the {@link #event:setDataComplete setDataComplete} event of this
27347
+ * `sap.gantt.simple.CustomVariantHandler`.
27348
+ *
27349
+ * When called, the context of the event handler (its `this`) will be bound to `oListener` if specified,
27350
+ * otherwise it will be bound to this `sap.gantt.simple.CustomVariantHandler` itself.
27351
+ *
27352
+ * The event is triggered when custom variant data is set to update gantt chart with table
27353
+ */
27354
+ attachSetDataComplete(
27355
+ /**
27356
+ * The function to be called when the event occurs
27357
+ */
27358
+ fnFunction: (p1: sap.ui.base.Event) => void,
27359
+ /**
27360
+ * Context object to call the event handler with. Defaults to this `sap.gantt.simple.CustomVariantHandler`
27361
+ * itself
27362
+ */
27363
+ oListener?: object
27364
+ ): this;
27365
+ /**
27366
+ * @SINCE 1.88
27367
+ *
27368
+ * Detaches event handler `fnFunction` from the {@link #event:setDataComplete setDataComplete} event of
27369
+ * this `sap.gantt.simple.CustomVariantHandler`.
27370
+ *
27371
+ * The passed function and listener object must match the ones used for event registration.
27372
+ */
27373
+ detachSetDataComplete(
27374
+ /**
27375
+ * The function to be called, when the event occurs
27376
+ */
27377
+ fnFunction: (p1: sap.ui.base.Event) => void,
27378
+ /**
27379
+ * Context object on which the given function had to be called
27380
+ */
27381
+ oListener?: object
27382
+ ): this;
27383
+ /**
27384
+ * @SINCE 1.88
27385
+ *
27386
+ * Fires event {@link #event:setDataComplete setDataComplete} to attached listeners.
27387
+ */
27388
+ fireSetDataComplete(
27389
+ /**
27390
+ * Parameters to pass along with the event
27391
+ */
27392
+ mParameters?: object
27393
+ ): this;
27394
+ /**
27395
+ * Gets current value of property {@link #getData data}.
27396
+ */
27397
+ getData(): object;
27398
+ /**
27399
+ * Gets current value of property {@link #getDependantControlID dependantControlID}.
27400
+ *
27401
+ * Default value is `[]`.
27402
+ */
27403
+ getDependantControlID(): string[];
27404
+ /**
27405
+ * Sets a new value for property {@link #getData data}.
27406
+ *
27407
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
27408
+ */
27409
+ setData(
27410
+ /**
27411
+ * New value for property `data`
27412
+ */
27413
+ oData: object
27414
+ ): this;
27415
+ /**
27416
+ * Sets a new value for property {@link #getDependantControlID dependantControlID}.
27417
+ *
27418
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
27419
+ *
27420
+ * Default value is `[]`.
27421
+ */
27422
+ setDependantControlID(
27423
+ /**
27424
+ * New value for property `dependantControlID`
27425
+ */
27426
+ sDependantControlID?: string[]
27427
+ ): this;
27428
+ }
27051
27429
  /**
27052
27430
  * @SINCE 1.84
27053
27431
  *
@@ -28517,6 +28895,16 @@ declare namespace sap {
28517
28895
  * Default value is `true`.
28518
28896
  */
28519
28897
  getEnableTimeScrollSync(): boolean;
28898
+ /**
28899
+ * @SINCE 1.95
28900
+ *
28901
+ * Gets current value of property {@link #getEnableVariantManagement enableVariantManagement}.
28902
+ *
28903
+ * Property to enable variant management
28904
+ *
28905
+ * Default value is `false`.
28906
+ */
28907
+ getEnableVariantManagement(): boolean;
28520
28908
  /**
28521
28909
  * Gets current value of property {@link #getEnableVerticalLine enableVerticalLine}.
28522
28910
  *
@@ -28619,7 +29007,7 @@ declare namespace sap {
28619
29007
  *
28620
29008
  * Custom variant handler of the container
28621
29009
  */
28622
- getVariantHandler(): /* was: sap.gantt.simple.CustomVariantHandler */ any;
29010
+ getVariantHandler(): sap.gantt.simple.CustomVariantHandler;
28623
29011
  /**
28624
29012
  * Gets current value of property {@link #getWidth width}.
28625
29013
  *
@@ -28828,6 +29216,23 @@ declare namespace sap {
28828
29216
  */
28829
29217
  bEnableTimeScrollSync?: boolean
28830
29218
  ): this;
29219
+ /**
29220
+ * @SINCE 1.95
29221
+ *
29222
+ * Sets a new value for property {@link #getEnableVariantManagement enableVariantManagement}.
29223
+ *
29224
+ * Property to enable variant management
29225
+ *
29226
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
29227
+ *
29228
+ * Default value is `false`.
29229
+ */
29230
+ setEnableVariantManagement(
29231
+ /**
29232
+ * New value for property `enableVariantManagement`
29233
+ */
29234
+ bEnableVariantManagement?: boolean
29235
+ ): this;
28831
29236
  /**
28832
29237
  * Sets a new value for property {@link #getEnableVerticalLine enableVerticalLine}.
28833
29238
  *
@@ -28983,7 +29388,7 @@ declare namespace sap {
28983
29388
  /**
28984
29389
  * The variantHandler to set
28985
29390
  */
28986
- oVariantHandler: /* was: sap.gantt.simple.CustomVariantHandler */ any
29391
+ oVariantHandler: sap.gantt.simple.CustomVariantHandler
28987
29392
  ): this;
28988
29393
  /**
28989
29394
  * Sets a new value for property {@link #getWidth width}.
@@ -30640,6 +31045,17 @@ declare namespace sap {
30640
31045
  * Default value is `100`.
30641
31046
  */
30642
31047
  getPrintingBatchSize(): int;
31048
+ /**
31049
+ * @SINCE 1.96
31050
+ *
31051
+ * Gets current value of property {@link #getRelationshipShapeSize relationshipShapeSize}.
31052
+ *
31053
+ * Specifies the size of the relationship's shape. Applicable to triangles, square, diamond, and circle
31054
+ * shapes; excluding horizontal rectangle and vertical rectangle shapes.
31055
+ *
31056
+ * Default value is `Medium`.
31057
+ */
31058
+ getRelationshipShapeSize(): sap.gantt.simple.relationshipShapeSize;
30643
31059
  /**
30644
31060
  * Get selected shapes in gantt chart.
30645
31061
  */
@@ -30875,6 +31291,16 @@ declare namespace sap {
30875
31291
  * Default value is `library.config.DEFAULT_TIME_PATTERN`.
30876
31292
  */
30877
31293
  getTimePattern(): string;
31294
+ /**
31295
+ * @EXPERIMENTAL (since 1.98)
31296
+ *
31297
+ * Gets current value of property {@link #getUseParentShapeOnExpand useParentShapeOnExpand}.
31298
+ *
31299
+ * Determines if only tasks need to be used for rendering the expanded shapes. Subtasks are not required.
31300
+ *
31301
+ * Default value is `false`.
31302
+ */
31303
+ getUseParentShapeOnExpand(): boolean;
30878
31304
  /**
30879
31305
  * Gets current value of property {@link #getWidth width}.
30880
31306
  *
@@ -31657,6 +32083,24 @@ declare namespace sap {
31657
32083
  */
31658
32084
  iPrintingBatchSize?: int
31659
32085
  ): this;
32086
+ /**
32087
+ * @SINCE 1.96
32088
+ *
32089
+ * Sets a new value for property {@link #getRelationshipShapeSize relationshipShapeSize}.
32090
+ *
32091
+ * Specifies the size of the relationship's shape. Applicable to triangles, square, diamond, and circle
32092
+ * shapes; excluding horizontal rectangle and vertical rectangle shapes.
32093
+ *
32094
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
32095
+ *
32096
+ * Default value is `Medium`.
32097
+ */
32098
+ setRelationshipShapeSize(
32099
+ /**
32100
+ * New value for property `relationshipShapeSize`
32101
+ */
32102
+ sRelationshipShapeSize?: sap.gantt.simple.relationshipShapeSize
32103
+ ): this;
31660
32104
  /**
31661
32105
  * @EXPERIMENTAL (since 1.88)
31662
32106
  *
@@ -31946,6 +32390,23 @@ declare namespace sap {
31946
32390
  */
31947
32391
  sTimePattern?: string
31948
32392
  ): this;
32393
+ /**
32394
+ * @EXPERIMENTAL (since 1.98)
32395
+ *
32396
+ * Sets a new value for property {@link #getUseParentShapeOnExpand useParentShapeOnExpand}.
32397
+ *
32398
+ * Determines if only tasks need to be used for rendering the expanded shapes. Subtasks are not required.
32399
+ *
32400
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
32401
+ *
32402
+ * Default value is `false`.
32403
+ */
32404
+ setUseParentShapeOnExpand(
32405
+ /**
32406
+ * New value for property `useParentShapeOnExpand`
32407
+ */
32408
+ bUseParentShapeOnExpand?: boolean
32409
+ ): this;
31949
32410
  /**
31950
32411
  * Sets a new value for property {@link #getWidth width}.
31951
32412
  *
@@ -34375,6 +34836,16 @@ declare namespace sap {
34375
34836
  * the property value
34376
34837
  */
34377
34838
  getPredecessor(): string;
34839
+ /**
34840
+ * @SINCE 1.95
34841
+ *
34842
+ * Gets current value of property {@link #getRelationshipOverDivider relationshipOverDivider}.
34843
+ *
34844
+ * Flag to have relationship pass over divider line
34845
+ *
34846
+ * Default value is `false`.
34847
+ */
34848
+ getRelationshipOverDivider(): boolean;
34378
34849
  /**
34379
34850
  * Gets current value of property {@link #getSelectedEndShapeColor selectedEndShapeColor}.
34380
34851
  *
@@ -34527,6 +34998,23 @@ declare namespace sap {
34527
34998
  */
34528
34999
  sPredecessor: string
34529
35000
  ): this;
35001
+ /**
35002
+ * @SINCE 1.95
35003
+ *
35004
+ * Sets a new value for property {@link #getRelationshipOverDivider relationshipOverDivider}.
35005
+ *
35006
+ * Flag to have relationship pass over divider line
35007
+ *
35008
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35009
+ *
35010
+ * Default value is `false`.
35011
+ */
35012
+ setRelationshipOverDivider(
35013
+ /**
35014
+ * New value for property `relationshipOverDivider`
35015
+ */
35016
+ bRelationshipOverDivider?: boolean
35017
+ ): this;
34530
35018
  /**
34531
35019
  * Sets a new value for property {@link #getSelectedEndShapeColor selectedEndShapeColor}.
34532
35020
  *
@@ -34789,6 +35277,564 @@ declare namespace sap {
34789
35277
  iRowSpan?: int
34790
35278
  ): this;
34791
35279
  }
35280
+ /**
35281
+ * @SINCE 1.95
35282
+ *
35283
+ * Stock Chart (SC) is a complex shape, you can use it to visualize stock utilization on different dimensions.
35284
+ * Each Stock dimension is represented by a line, you could define different colors for each dimension.
35285
+ */
35286
+ class StockChart extends sap.gantt.simple.UtilizationChart {
35287
+ /**
35288
+ * Constructor for a new Stock Chart
35289
+ *
35290
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
35291
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
35292
+ * of the syntax of the settings object.
35293
+ */
35294
+ constructor(
35295
+ /**
35296
+ * Initial settings for the new control
35297
+ */
35298
+ mSettings?: sap.gantt.simple.$StockChartSettings
35299
+ );
35300
+ /**
35301
+ * Constructor for a new Stock Chart
35302
+ *
35303
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
35304
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
35305
+ * of the syntax of the settings object.
35306
+ */
35307
+ constructor(
35308
+ /**
35309
+ * ID of the new control, generated automatically if no ID is given
35310
+ */
35311
+ sId?: string,
35312
+ /**
35313
+ * Initial settings for the new control
35314
+ */
35315
+ mSettings?: sap.gantt.simple.$StockChartSettings
35316
+ );
35317
+
35318
+ /**
35319
+ * Creates a new subclass of class sap.gantt.simple.StockChart with name `sClassName` and enriches it with
35320
+ * the information contained in `oClassInfo`.
35321
+ *
35322
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.gantt.simple.UtilizationChart.extend}.
35323
+ */
35324
+ static extend<T extends Record<string, unknown>>(
35325
+ /**
35326
+ * Name of the class being created
35327
+ */
35328
+ sClassName: string,
35329
+ /**
35330
+ * Object literal with information about the class
35331
+ */
35332
+ oClassInfo?: sap.ClassInfo<T, sap.gantt.simple.StockChart>,
35333
+ /**
35334
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
35335
+ * used by this class
35336
+ */
35337
+ FNMetaImpl?: Function
35338
+ ): Function;
35339
+ /**
35340
+ * Returns a metadata object for class sap.gantt.simple.StockChart.
35341
+ */
35342
+ static getMetadata(): sap.ui.core.ElementMetadata;
35343
+ /**
35344
+ * Adds some stockChartDimension to the aggregation {@link #getStockChartDimensions stockChartDimensions}.
35345
+ */
35346
+ addStockChartDimension(
35347
+ /**
35348
+ * The stockChartDimension to add; if empty, nothing is inserted
35349
+ */
35350
+ oStockChartDimension: sap.gantt.simple.StockChartDimension
35351
+ ): this;
35352
+ /**
35353
+ * Destroys all the stockChartDimensions in the aggregation {@link #getStockChartDimensions stockChartDimensions}.
35354
+ */
35355
+ destroyStockChartDimensions(): this;
35356
+ /**
35357
+ * Gets current value of property {@link #getMaxValue maxValue}.
35358
+ *
35359
+ * Maximum value of the Chart.
35360
+ *
35361
+ * Default value is `100`.
35362
+ */
35363
+ getMaxValue(): float;
35364
+ /**
35365
+ * Gets current value of property {@link #getMinValue minValue}.
35366
+ *
35367
+ * Minimum value of the Chart.
35368
+ *
35369
+ * Default value is `0`.
35370
+ */
35371
+ getMinValue(): float;
35372
+ /**
35373
+ * Gets current value of property {@link #getShowMiddleLine showMiddleLine}.
35374
+ *
35375
+ * Flag to show or hide the middle line in Stock Chart. By default the middle line is a gray dashed line
35376
+ *
35377
+ * Default value is `true`.
35378
+ */
35379
+ getShowMiddleLine(): boolean;
35380
+ /**
35381
+ * Gets content of aggregation {@link #getStockChartDimensions stockChartDimensions}.
35382
+ *
35383
+ * Dimensions of the Stock Chart
35384
+ */
35385
+ getStockChartDimensions(): sap.gantt.simple.StockChartDimension[];
35386
+ /**
35387
+ * Checks for the provided `sap.gantt.simple.StockChartDimension` in the aggregation {@link #getStockChartDimensions
35388
+ * stockChartDimensions}. and returns its index if found or -1 otherwise.
35389
+ */
35390
+ indexOfStockChartDimension(
35391
+ /**
35392
+ * The stockChartDimension whose index is looked for
35393
+ */
35394
+ oStockChartDimension: sap.gantt.simple.StockChartDimension
35395
+ ): int;
35396
+ /**
35397
+ * Inserts a stockChartDimension into the aggregation {@link #getStockChartDimensions stockChartDimensions}.
35398
+ */
35399
+ insertStockChartDimension(
35400
+ /**
35401
+ * The stockChartDimension to insert; if empty, nothing is inserted
35402
+ */
35403
+ oStockChartDimension: sap.gantt.simple.StockChartDimension,
35404
+ /**
35405
+ * The `0`-based index the stockChartDimension should be inserted at; for a negative value of `iIndex`,
35406
+ * the stockChartDimension is inserted at position 0; for a value greater than the current size of the aggregation,
35407
+ * the stockChartDimension is inserted at the last position
35408
+ */
35409
+ iIndex: int
35410
+ ): this;
35411
+ /**
35412
+ * Removes all the controls from the aggregation {@link #getStockChartDimensions stockChartDimensions}.
35413
+ *
35414
+ * Additionally, it unregisters them from the hosting UIArea.
35415
+ */
35416
+ removeAllStockChartDimensions(): sap.gantt.simple.StockChartDimension[];
35417
+ /**
35418
+ * Removes a stockChartDimension from the aggregation {@link #getStockChartDimensions stockChartDimensions}.
35419
+ */
35420
+ removeStockChartDimension(
35421
+ /**
35422
+ * The stockChartDimension to remove or its index or id
35423
+ */
35424
+ vStockChartDimension:
35425
+ | int
35426
+ | string
35427
+ | sap.gantt.simple.StockChartDimension
35428
+ ): sap.gantt.simple.StockChartDimension;
35429
+ /**
35430
+ * Render a shape element with RenderManager
35431
+ */
35432
+ renderElement(
35433
+ /**
35434
+ * Render Manager
35435
+ */
35436
+ oRm: object,
35437
+ /**
35438
+ * shape instance
35439
+ */
35440
+ oElement: object
35441
+ ): void;
35442
+ /**
35443
+ * Sets a new value for property {@link #getMaxValue maxValue}.
35444
+ *
35445
+ * Maximum value of the Chart.
35446
+ *
35447
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35448
+ *
35449
+ * Default value is `100`.
35450
+ */
35451
+ setMaxValue(
35452
+ /**
35453
+ * New value for property `maxValue`
35454
+ */
35455
+ fMaxValue?: float
35456
+ ): this;
35457
+ /**
35458
+ * Sets a new value for property {@link #getMinValue minValue}.
35459
+ *
35460
+ * Minimum value of the Chart.
35461
+ *
35462
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35463
+ *
35464
+ * Default value is `0`.
35465
+ */
35466
+ setMinValue(
35467
+ /**
35468
+ * New value for property `minValue`
35469
+ */
35470
+ fMinValue?: float
35471
+ ): this;
35472
+ /**
35473
+ * Sets a new value for property {@link #getShowMiddleLine showMiddleLine}.
35474
+ *
35475
+ * Flag to show or hide the middle line in Stock Chart. By default the middle line is a gray dashed line
35476
+ *
35477
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35478
+ *
35479
+ * Default value is `true`.
35480
+ */
35481
+ setShowMiddleLine(
35482
+ /**
35483
+ * New value for property `showMiddleLine`
35484
+ */
35485
+ bShowMiddleLine?: boolean
35486
+ ): this;
35487
+ }
35488
+ /**
35489
+ * @SINCE 1.95
35490
+ *
35491
+ * Used for creating a utilization dimension for the {@link sap.gantt.simple.StockChart} It's derived from
35492
+ * the {@link sap.ui.core.Element}
35493
+ */
35494
+ class StockChartDimension extends sap.ui.core.Element {
35495
+ /**
35496
+ * Constructor for a new Stock Chart Dimension
35497
+ *
35498
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
35499
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
35500
+ * of the syntax of the settings object.
35501
+ */
35502
+ constructor(
35503
+ /**
35504
+ * Initial settings for the new control
35505
+ */
35506
+ mSettings?: sap.gantt.simple.$StockChartDimensionSettings
35507
+ );
35508
+ /**
35509
+ * Constructor for a new Stock Chart Dimension
35510
+ *
35511
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
35512
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
35513
+ * of the syntax of the settings object.
35514
+ */
35515
+ constructor(
35516
+ /**
35517
+ * ID of the new control, generated automatically if no ID is given
35518
+ */
35519
+ sId?: string,
35520
+ /**
35521
+ * Initial settings for the new control
35522
+ */
35523
+ mSettings?: sap.gantt.simple.$StockChartDimensionSettings
35524
+ );
35525
+
35526
+ /**
35527
+ * Creates a new subclass of class sap.gantt.simple.StockChartDimension with name `sClassName` and enriches
35528
+ * it with the information contained in `oClassInfo`.
35529
+ *
35530
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
35531
+ */
35532
+ static extend<T extends Record<string, unknown>>(
35533
+ /**
35534
+ * Name of the class being created
35535
+ */
35536
+ sClassName: string,
35537
+ /**
35538
+ * Object literal with information about the class
35539
+ */
35540
+ oClassInfo?: sap.ClassInfo<T, sap.gantt.simple.StockChartDimension>,
35541
+ /**
35542
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
35543
+ * used by this class
35544
+ */
35545
+ FNMetaImpl?: Function
35546
+ ): Function;
35547
+ /**
35548
+ * Returns a metadata object for class sap.gantt.simple.StockChartDimension.
35549
+ */
35550
+ static getMetadata(): sap.ui.core.ElementMetadata;
35551
+ /**
35552
+ * Adds some stockChartPeriod to the aggregation {@link #getStockChartPeriods stockChartPeriods}.
35553
+ */
35554
+ addStockChartPeriod(
35555
+ /**
35556
+ * The stockChartPeriod to add; if empty, nothing is inserted
35557
+ */
35558
+ oStockChartPeriod: sap.gantt.simple.StockChartPeriod
35559
+ ): this;
35560
+ /**
35561
+ * Destroys all the stockChartPeriods in the aggregation {@link #getStockChartPeriods stockChartPeriods}.
35562
+ */
35563
+ destroyStockChartPeriods(): this;
35564
+ /**
35565
+ * Gets current value of property {@link #getDimensionPathColor dimensionPathColor}.
35566
+ *
35567
+ * Sets the dimension path color
35568
+ */
35569
+ getDimensionPathColor(): sap.gantt.ValueSVGPaintServer;
35570
+ /**
35571
+ * Gets current value of property {@link #getName name}.
35572
+ *
35573
+ * The name of the Dimension
35574
+ */
35575
+ getName(): string;
35576
+ /**
35577
+ * Gets current value of property {@link #getRelativePoint relativePoint}.
35578
+ *
35579
+ * Sets the relative point to start the dimensions
35580
+ *
35581
+ * Default value is `0`.
35582
+ */
35583
+ getRelativePoint(): float;
35584
+ /**
35585
+ * Gets current value of property {@link #getRemainCapacityColor remainCapacityColor}.
35586
+ *
35587
+ * Sets the remaining capacity color
35588
+ */
35589
+ getRemainCapacityColor(): sap.gantt.ValueSVGPaintServer;
35590
+ /**
35591
+ * Gets current value of property {@link #getRemainCapacityColorNegative remainCapacityColorNegative}.
35592
+ *
35593
+ * Sets the remaining capacity color for negative values
35594
+ */
35595
+ getRemainCapacityColorNegative(): sap.gantt.ValueSVGPaintServer;
35596
+ /**
35597
+ * Gets content of aggregation {@link #getStockChartPeriods stockChartPeriods}.
35598
+ *
35599
+ * Aggregation of periods are used to display the utilization line.
35600
+ *
35601
+ * The periods have to be in chronological order, you must ensure that it's sorted by `from`, otherwise
35602
+ * the SC can't ben display correctly.
35603
+ */
35604
+ getStockChartPeriods(): sap.gantt.simple.StockChartPeriod[];
35605
+ /**
35606
+ * Checks for the provided `sap.gantt.simple.StockChartPeriod` in the aggregation {@link #getStockChartPeriods
35607
+ * stockChartPeriods}. and returns its index if found or -1 otherwise.
35608
+ */
35609
+ indexOfStockChartPeriod(
35610
+ /**
35611
+ * The stockChartPeriod whose index is looked for
35612
+ */
35613
+ oStockChartPeriod: sap.gantt.simple.StockChartPeriod
35614
+ ): int;
35615
+ /**
35616
+ * Inserts a stockChartPeriod into the aggregation {@link #getStockChartPeriods stockChartPeriods}.
35617
+ */
35618
+ insertStockChartPeriod(
35619
+ /**
35620
+ * The stockChartPeriod to insert; if empty, nothing is inserted
35621
+ */
35622
+ oStockChartPeriod: sap.gantt.simple.StockChartPeriod,
35623
+ /**
35624
+ * The `0`-based index the stockChartPeriod should be inserted at; for a negative value of `iIndex`, the
35625
+ * stockChartPeriod is inserted at position 0; for a value greater than the current size of the aggregation,
35626
+ * the stockChartPeriod is inserted at the last position
35627
+ */
35628
+ iIndex: int
35629
+ ): this;
35630
+ /**
35631
+ * Removes all the controls from the aggregation {@link #getStockChartPeriods stockChartPeriods}.
35632
+ *
35633
+ * Additionally, it unregisters them from the hosting UIArea.
35634
+ */
35635
+ removeAllStockChartPeriods(): sap.gantt.simple.StockChartPeriod[];
35636
+ /**
35637
+ * Removes a stockChartPeriod from the aggregation {@link #getStockChartPeriods stockChartPeriods}.
35638
+ */
35639
+ removeStockChartPeriod(
35640
+ /**
35641
+ * The stockChartPeriod to remove or its index or id
35642
+ */
35643
+ vStockChartPeriod: int | string | sap.gantt.simple.StockChartPeriod
35644
+ ): sap.gantt.simple.StockChartPeriod;
35645
+ /**
35646
+ * Sets a new value for property {@link #getDimensionPathColor dimensionPathColor}.
35647
+ *
35648
+ * Sets the dimension path color
35649
+ *
35650
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35651
+ */
35652
+ setDimensionPathColor(
35653
+ /**
35654
+ * New value for property `dimensionPathColor`
35655
+ */
35656
+ sDimensionPathColor: sap.gantt.ValueSVGPaintServer
35657
+ ): this;
35658
+ /**
35659
+ * Sets a new value for property {@link #getName name}.
35660
+ *
35661
+ * The name of the Dimension
35662
+ *
35663
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35664
+ */
35665
+ setName(
35666
+ /**
35667
+ * New value for property `name`
35668
+ */
35669
+ sName: string
35670
+ ): this;
35671
+ /**
35672
+ * Sets a new value for property {@link #getRelativePoint relativePoint}.
35673
+ *
35674
+ * Sets the relative point to start the dimensions
35675
+ *
35676
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35677
+ *
35678
+ * Default value is `0`.
35679
+ */
35680
+ setRelativePoint(
35681
+ /**
35682
+ * New value for property `relativePoint`
35683
+ */
35684
+ fRelativePoint?: float
35685
+ ): this;
35686
+ /**
35687
+ * Sets a new value for property {@link #getRemainCapacityColor remainCapacityColor}.
35688
+ *
35689
+ * Sets the remaining capacity color
35690
+ *
35691
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35692
+ */
35693
+ setRemainCapacityColor(
35694
+ /**
35695
+ * New value for property `remainCapacityColor`
35696
+ */
35697
+ sRemainCapacityColor: sap.gantt.ValueSVGPaintServer
35698
+ ): this;
35699
+ /**
35700
+ * Sets a new value for property {@link #getRemainCapacityColorNegative remainCapacityColorNegative}.
35701
+ *
35702
+ * Sets the remaining capacity color for negative values
35703
+ *
35704
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35705
+ */
35706
+ setRemainCapacityColorNegative(
35707
+ /**
35708
+ * New value for property `remainCapacityColorNegative`
35709
+ */
35710
+ sRemainCapacityColorNegative: sap.gantt.ValueSVGPaintServer
35711
+ ): this;
35712
+ }
35713
+ /**
35714
+ * StockChartPeriod is used by `sap.gantt.simple.StockChart` It represents a time period that a specific
35715
+ * stock usages
35716
+ *
35717
+ * StockChartPeriod is defined as an aggregation of `sap.gantt.simple.StockChartDimension`
35718
+ */
35719
+ class StockChartPeriod extends sap.ui.core.Element {
35720
+ /**
35721
+ * Constructor for a new Stock Chart Period
35722
+ *
35723
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
35724
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
35725
+ * of the syntax of the settings object.
35726
+ */
35727
+ constructor(
35728
+ /**
35729
+ * Initial settings for the new control
35730
+ */
35731
+ mSettings?: sap.gantt.simple.$StockChartPeriodSettings
35732
+ );
35733
+ /**
35734
+ * Constructor for a new Stock Chart Period
35735
+ *
35736
+ * Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
35737
+ * objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
35738
+ * of the syntax of the settings object.
35739
+ */
35740
+ constructor(
35741
+ /**
35742
+ * ID of the new control, generated automatically if no ID is given
35743
+ */
35744
+ sId?: string,
35745
+ /**
35746
+ * Initial settings for the new control
35747
+ */
35748
+ mSettings?: sap.gantt.simple.$StockChartPeriodSettings
35749
+ );
35750
+
35751
+ /**
35752
+ * Creates a new subclass of class sap.gantt.simple.StockChartPeriod with name `sClassName` and enriches
35753
+ * it with the information contained in `oClassInfo`.
35754
+ *
35755
+ * `oClassInfo` might contain the same kind of information as described in {@link sap.ui.core.Element.extend}.
35756
+ */
35757
+ static extend<T extends Record<string, unknown>>(
35758
+ /**
35759
+ * Name of the class being created
35760
+ */
35761
+ sClassName: string,
35762
+ /**
35763
+ * Object literal with information about the class
35764
+ */
35765
+ oClassInfo?: sap.ClassInfo<T, sap.gantt.simple.StockChartPeriod>,
35766
+ /**
35767
+ * Constructor function for the metadata object; if not given, it defaults to the metadata implementation
35768
+ * used by this class
35769
+ */
35770
+ FNMetaImpl?: Function
35771
+ ): Function;
35772
+ /**
35773
+ * Returns a metadata object for class sap.gantt.simple.StockChartPeriod.
35774
+ */
35775
+ static getMetadata(): sap.ui.core.ElementMetadata;
35776
+ /**
35777
+ * Gets current value of property {@link #getFrom from}.
35778
+ *
35779
+ * from date time of period
35780
+ */
35781
+ getFrom(): object;
35782
+ /**
35783
+ * Gets current value of property {@link #getTo to}.
35784
+ *
35785
+ * to date time of period
35786
+ */
35787
+ getTo(): object;
35788
+ /**
35789
+ * Gets current value of property {@link #getValue value}.
35790
+ *
35791
+ * The value of the actual consumption capacity.
35792
+ *
35793
+ * Default value is `0`.
35794
+ */
35795
+ getValue(): float;
35796
+ /**
35797
+ * Sets a new value for property {@link #getFrom from}.
35798
+ *
35799
+ * from date time of period
35800
+ *
35801
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35802
+ */
35803
+ setFrom(
35804
+ /**
35805
+ * New value for property `from`
35806
+ */
35807
+ oFrom: object
35808
+ ): this;
35809
+ /**
35810
+ * Sets a new value for property {@link #getTo to}.
35811
+ *
35812
+ * to date time of period
35813
+ *
35814
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35815
+ */
35816
+ setTo(
35817
+ /**
35818
+ * New value for property `to`
35819
+ */
35820
+ oTo: object
35821
+ ): this;
35822
+ /**
35823
+ * Sets a new value for property {@link #getValue value}.
35824
+ *
35825
+ * The value of the actual consumption capacity.
35826
+ *
35827
+ * When called with a value of `null` or `undefined`, the default value of the property will be restored.
35828
+ *
35829
+ * Default value is `0`.
35830
+ */
35831
+ setValue(
35832
+ /**
35833
+ * New value for property `value`
35834
+ */
35835
+ fValue?: float
35836
+ ): this;
35837
+ }
34792
35838
  /**
34793
35839
  * Utilization Bar Chart (UBC) is a complex shape, you can use it to visualize a resource the capacity
34794
35840
  * and actual consumption of a resource. There is a `line` in UBC to visualize the actual capacity
@@ -35707,10 +36753,6 @@ declare namespace sap {
35707
36753
  * Shape title is aligned at the center of the x-axis.
35708
36754
  */
35709
36755
  Middle = "Middle",
35710
- /**
35711
- * Shape title is repeated throughout the shape.
35712
- */
35713
- Ribbon = "Ribbon",
35714
36756
  /**
35715
36757
  * Shape title is aligned at the start of the x-axis.
35716
36758
  */
@@ -35750,6 +36792,18 @@ declare namespace sap {
35750
36792
  */
35751
36793
  None = "None",
35752
36794
  }
36795
+ /**
36796
+ * @SINCE 1.96
36797
+ *
36798
+ * Size of shapes in the relationship
36799
+ */
36800
+ enum relationshipShapeSize {
36801
+ Large = "Large",
36802
+
36803
+ Medium = "Medium",
36804
+
36805
+ Small = "Small",
36806
+ }
35753
36807
  /**
35754
36808
  * @SINCE 1.60.0
35755
36809
  *
@@ -41520,6 +42574,8 @@ declare namespace sap {
41520
42574
 
41521
42575
  "sap/gantt/simple/ContainerToolbarPlaceholder": undefined;
41522
42576
 
42577
+ "sap/gantt/simple/CustomVariantHandler": undefined;
42578
+
41523
42579
  "sap/gantt/simple/DeltaLine": undefined;
41524
42580
 
41525
42581
  "sap/gantt/simple/DimensionLegend": undefined;
@@ -41562,6 +42618,12 @@ declare namespace sap {
41562
42618
 
41563
42619
  "sap/gantt/simple/ShapeScheme": undefined;
41564
42620
 
42621
+ "sap/gantt/simple/StockChart": undefined;
42622
+
42623
+ "sap/gantt/simple/StockChartDimension": undefined;
42624
+
42625
+ "sap/gantt/simple/StockChartPeriod": undefined;
42626
+
41565
42627
  "sap/gantt/simple/UtilizationBarChart": undefined;
41566
42628
 
41567
42629
  "sap/gantt/simple/UtilizationChart": undefined;