@sapui5/types 1.126.2 → 1.127.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.
- package/package.json +1 -1
- package/types/index.d.ts +4 -0
- package/types/sap.apf.d.ts +1 -1
- package/types/sap.ca.ui.d.ts +1 -1
- package/types/sap.cards.ap.common.d.ts +7 -0
- package/types/sap.cards.ap.generator.d.ts +3 -0
- package/types/sap.cards.ap.transpiler.d.ts +3 -0
- package/types/sap.chart.d.ts +1 -1
- package/types/sap.collaboration.d.ts +1 -1
- package/types/sap.esh.search.ui.d.ts +1 -1
- package/types/sap.f.d.ts +1 -16
- package/types/sap.fe.base.d.ts +1 -1
- package/types/sap.fe.core.d.ts +2 -4
- package/types/sap.fe.ina.d.ts +3 -0
- package/types/sap.fe.macros.d.ts +157 -14
- package/types/sap.fe.navigation.d.ts +1 -1
- package/types/sap.fe.placeholder.d.ts +1 -1
- package/types/sap.fe.plugins.managecache.d.ts +1 -1
- package/types/sap.fe.templates.d.ts +9 -2
- package/types/sap.fe.test.d.ts +1 -1
- package/types/sap.fe.tools.d.ts +1 -1
- package/types/sap.feedback.ui.d.ts +1 -1
- package/types/sap.gantt.d.ts +352 -8
- package/types/sap.insights.d.ts +22 -1
- package/types/sap.m.d.ts +312 -38
- package/types/sap.makit.d.ts +1 -1
- package/types/sap.me.d.ts +1 -1
- package/types/sap.ndc.d.ts +14 -1
- package/types/sap.ovp.d.ts +1 -1
- package/types/sap.rules.ui.d.ts +1 -1
- package/types/sap.sac.df.d.ts +1 -1
- package/types/sap.suite.ui.commons.d.ts +4 -2
- package/types/sap.suite.ui.generic.template.d.ts +49 -2
- package/types/sap.suite.ui.microchart.d.ts +1 -1
- package/types/sap.tnt.d.ts +1 -1
- package/types/sap.ui.codeeditor.d.ts +17 -11
- package/types/sap.ui.commons.d.ts +1 -1
- package/types/sap.ui.comp.d.ts +14 -1
- package/types/sap.ui.core.d.ts +157 -16
- package/types/sap.ui.dt.d.ts +1 -1
- package/types/sap.ui.export.d.ts +1 -1
- package/types/sap.ui.fl.d.ts +3 -1
- package/types/sap.ui.generic.app.d.ts +1 -1
- package/types/sap.ui.generic.template.d.ts +1 -1
- package/types/sap.ui.integration.d.ts +45 -1
- package/types/sap.ui.layout.d.ts +36 -7
- package/types/sap.ui.mdc.d.ts +85 -1
- package/types/sap.ui.richtexteditor.d.ts +1 -1
- package/types/sap.ui.rta.d.ts +4 -2
- package/types/sap.ui.suite.d.ts +1 -1
- package/types/sap.ui.support.d.ts +1 -1
- package/types/sap.ui.table.d.ts +20 -6
- package/types/sap.ui.testrecorder.d.ts +1 -1
- package/types/sap.ui.unified.d.ts +303 -18
- package/types/sap.ui.ux3.d.ts +1 -1
- package/types/sap.ui.vbm.d.ts +1 -1
- package/types/sap.ui.vk.d.ts +1 -1
- package/types/sap.ui.vtm.d.ts +2 -2
- package/types/sap.ui.webc.common.d.ts +1 -1
- package/types/sap.ui.webc.fiori.d.ts +1 -1
- package/types/sap.ui.webc.main.d.ts +1 -1
- package/types/sap.uiext.inbox.d.ts +1 -1
- package/types/sap.ushell.d.ts +21 -5
- package/types/sap.ushell_abap.d.ts +1 -1
- package/types/sap.uxap.d.ts +1 -1
- package/types/sap.viz.d.ts +1 -1
- package/types/sap.webanalytics.core.d.ts +1 -1
- package/types/sap.zen.commons.d.ts +1 -1
- package/types/sap.zen.crosstab.d.ts +1 -1
- package/types/sap.zen.dsh.d.ts +1 -1
package/types/sap.gantt.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.127.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/gantt/library" {
|
|
4
4
|
import ChartScheme from "sap/gantt/config/ChartScheme";
|
|
@@ -44446,6 +44446,18 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
|
|
|
44446
44446
|
* @returns Value of property `enableLassoInvert`
|
|
44447
44447
|
*/
|
|
44448
44448
|
getEnableLassoInvert(): boolean;
|
|
44449
|
+
/**
|
|
44450
|
+
* Gets current value of property {@link #getEnableMultipleGhosts enableMultipleGhosts}.
|
|
44451
|
+
*
|
|
44452
|
+
* Flag to enable displaying multiple ghosts when multiple shapes are selected and dragged.
|
|
44453
|
+
*
|
|
44454
|
+
* Default value is `true`.
|
|
44455
|
+
*
|
|
44456
|
+
* @experimental (since 1.127)
|
|
44457
|
+
*
|
|
44458
|
+
* @returns Value of property `enableMultipleGhosts`
|
|
44459
|
+
*/
|
|
44460
|
+
getEnableMultipleGhosts(): boolean;
|
|
44449
44461
|
/**
|
|
44450
44462
|
* Gets current value of property {@link #getEnableNonWorkingTime enableNonWorkingTime}.
|
|
44451
44463
|
*
|
|
@@ -44944,7 +44956,7 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
|
|
|
44944
44956
|
* Gets current value of property {@link #getShowShapeTimeOnDrag showShapeTimeOnDrag}.
|
|
44945
44957
|
*
|
|
44946
44958
|
* Flag to show or hide the start time and end time of a shape when you drag it along the time line. The
|
|
44947
|
-
* property takes effect if only one shape is selected.
|
|
44959
|
+
* property takes effect if only one shape is selected or `enableMultipleGhosts` is set to false.
|
|
44948
44960
|
*
|
|
44949
44961
|
* Default value is `false`.
|
|
44950
44962
|
*
|
|
@@ -44955,7 +44967,8 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
|
|
|
44955
44967
|
/**
|
|
44956
44968
|
* Gets current value of property {@link #getShowTextOnGhost showTextOnGhost}.
|
|
44957
44969
|
*
|
|
44958
|
-
* Option to show or hide shape labels on ghost while dragging.
|
|
44970
|
+
* Option to show or hide shape labels on ghost while dragging. The property takes effect only when `enableMultipleGhosts`
|
|
44971
|
+
* is set to true.
|
|
44959
44972
|
*
|
|
44960
44973
|
* Default value is `true`.
|
|
44961
44974
|
*
|
|
@@ -45798,6 +45811,25 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
|
|
|
45798
45811
|
*/
|
|
45799
45812
|
bEnableLassoInvert?: boolean
|
|
45800
45813
|
): this;
|
|
45814
|
+
/**
|
|
45815
|
+
* Sets a new value for property {@link #getEnableMultipleGhosts enableMultipleGhosts}.
|
|
45816
|
+
*
|
|
45817
|
+
* Flag to enable displaying multiple ghosts when multiple shapes are selected and dragged.
|
|
45818
|
+
*
|
|
45819
|
+
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
45820
|
+
*
|
|
45821
|
+
* Default value is `true`.
|
|
45822
|
+
*
|
|
45823
|
+
* @experimental (since 1.127)
|
|
45824
|
+
*
|
|
45825
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
45826
|
+
*/
|
|
45827
|
+
setEnableMultipleGhosts(
|
|
45828
|
+
/**
|
|
45829
|
+
* New value for property `enableMultipleGhosts`
|
|
45830
|
+
*/
|
|
45831
|
+
bEnableMultipleGhosts?: boolean
|
|
45832
|
+
): this;
|
|
45801
45833
|
/**
|
|
45802
45834
|
* Sets a new value for property {@link #getEnableNonWorkingTime enableNonWorkingTime}.
|
|
45803
45835
|
*
|
|
@@ -46418,7 +46450,7 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
|
|
|
46418
46450
|
* Sets a new value for property {@link #getShowShapeTimeOnDrag showShapeTimeOnDrag}.
|
|
46419
46451
|
*
|
|
46420
46452
|
* Flag to show or hide the start time and end time of a shape when you drag it along the time line. The
|
|
46421
|
-
* property takes effect if only one shape is selected.
|
|
46453
|
+
* property takes effect if only one shape is selected or `enableMultipleGhosts` is set to false.
|
|
46422
46454
|
*
|
|
46423
46455
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
46424
46456
|
*
|
|
@@ -46436,7 +46468,8 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
|
|
|
46436
46468
|
/**
|
|
46437
46469
|
* Sets a new value for property {@link #getShowTextOnGhost showTextOnGhost}.
|
|
46438
46470
|
*
|
|
46439
|
-
* Option to show or hide shape labels on ghost while dragging.
|
|
46471
|
+
* Option to show or hide shape labels on ghost while dragging. The property takes effect only when `enableMultipleGhosts`
|
|
46472
|
+
* is set to true.
|
|
46440
46473
|
*
|
|
46441
46474
|
* When called with a value of `null` or `undefined`, the default value of the property will be restored.
|
|
46442
46475
|
*
|
|
@@ -46838,7 +46871,7 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
|
|
|
46838
46871
|
|
|
46839
46872
|
/**
|
|
46840
46873
|
* Flag to show or hide the start time and end time of a shape when you drag it along the time line. The
|
|
46841
|
-
* property takes effect if only one shape is selected.
|
|
46874
|
+
* property takes effect if only one shape is selected or `enableMultipleGhosts` is set to false.
|
|
46842
46875
|
*/
|
|
46843
46876
|
showShapeTimeOnDrag?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
46844
46877
|
|
|
@@ -47010,7 +47043,8 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
|
|
|
47010
47043
|
selectOnlyGraphicalShape?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
47011
47044
|
|
|
47012
47045
|
/**
|
|
47013
|
-
* Option to show or hide shape labels on ghost while dragging.
|
|
47046
|
+
* Option to show or hide shape labels on ghost while dragging. The property takes effect only when `enableMultipleGhosts`
|
|
47047
|
+
* is set to true.
|
|
47014
47048
|
*
|
|
47015
47049
|
* @since 1.94
|
|
47016
47050
|
*/
|
|
@@ -47126,6 +47160,13 @@ declare module "sap/gantt/simple/GanttChartWithTable" {
|
|
|
47126
47160
|
*/
|
|
47127
47161
|
shapeRenderOrder?: string[] | PropertyBindingInfo | `{${string}}`;
|
|
47128
47162
|
|
|
47163
|
+
/**
|
|
47164
|
+
* Flag to enable displaying multiple ghosts when multiple shapes are selected and dragged.
|
|
47165
|
+
*
|
|
47166
|
+
* @experimental (since 1.127)
|
|
47167
|
+
*/
|
|
47168
|
+
enableMultipleGhosts?: boolean | PropertyBindingInfo | `{${string}}`;
|
|
47169
|
+
|
|
47129
47170
|
/**
|
|
47130
47171
|
* Table of the Gantt Chart
|
|
47131
47172
|
*
|
|
@@ -47829,6 +47870,10 @@ declare module "sap/gantt/simple/GanttPrinting" {
|
|
|
47829
47870
|
|
|
47830
47871
|
import ElementMetadata from "sap/ui/core/ElementMetadata";
|
|
47831
47872
|
|
|
47873
|
+
import PrintConfig from "sap/gantt/simple/PrintConfig";
|
|
47874
|
+
|
|
47875
|
+
import PrintDialogTemplate from "sap/gantt/simple/PrintDialogTemplate";
|
|
47876
|
+
|
|
47832
47877
|
import GanttChartWithTable from "sap/gantt/simple/GanttChartWithTable";
|
|
47833
47878
|
|
|
47834
47879
|
/**
|
|
@@ -47902,6 +47947,12 @@ declare module "sap/gantt/simple/GanttPrinting" {
|
|
|
47902
47947
|
* `null`.
|
|
47903
47948
|
*/
|
|
47904
47949
|
getGanttChart(): ID | null;
|
|
47950
|
+
/**
|
|
47951
|
+
* @since 1.127
|
|
47952
|
+
*
|
|
47953
|
+
* @returns Print configuration class instance with print configuration data
|
|
47954
|
+
*/
|
|
47955
|
+
getPrintData(): PrintConfig;
|
|
47905
47956
|
/**
|
|
47906
47957
|
* Merges multiple canvases into one canvas.
|
|
47907
47958
|
*
|
|
@@ -47925,7 +47976,11 @@ declare module "sap/gantt/simple/GanttPrinting" {
|
|
|
47925
47976
|
* Optional function which takes cloned gantt chart's table for modification. Applications can loop through
|
|
47926
47977
|
* the table columns and update certain properties like maxLines to overcome html2canvas limitations.
|
|
47927
47978
|
*/
|
|
47928
|
-
fnUpdateTable: Function
|
|
47979
|
+
fnUpdateTable: Function,
|
|
47980
|
+
/**
|
|
47981
|
+
* which takes custom buttons to display on print Dialog
|
|
47982
|
+
*/
|
|
47983
|
+
printDialogTemplate: PrintDialogTemplate
|
|
47929
47984
|
): Promise<any>;
|
|
47930
47985
|
/**
|
|
47931
47986
|
* Sets the Gantt chart to be exported as PDF.
|
|
@@ -47936,6 +47991,17 @@ declare module "sap/gantt/simple/GanttPrinting" {
|
|
|
47936
47991
|
*/
|
|
47937
47992
|
oGanttChart: undefined
|
|
47938
47993
|
): this;
|
|
47994
|
+
/**
|
|
47995
|
+
* Sets the print configuration data.
|
|
47996
|
+
*
|
|
47997
|
+
* @since 1.127
|
|
47998
|
+
*/
|
|
47999
|
+
setPrintData(
|
|
48000
|
+
/**
|
|
48001
|
+
* configuration class instance with print configuration data.
|
|
48002
|
+
*/
|
|
48003
|
+
objClass: PrintConfig
|
|
48004
|
+
): void;
|
|
47939
48005
|
}
|
|
47940
48006
|
/**
|
|
47941
48007
|
* Describes the settings that can be provided to the GanttPrinting constructor.
|
|
@@ -51615,6 +51681,280 @@ declare module "sap/gantt/simple/MultiActivityRowSettings" {
|
|
|
51615
51681
|
}
|
|
51616
51682
|
}
|
|
51617
51683
|
|
|
51684
|
+
declare module "sap/gantt/simple/PrintConfig" {
|
|
51685
|
+
import BaseObject from "sap/ui/base/Object";
|
|
51686
|
+
|
|
51687
|
+
import Metadata from "sap/ui/base/Metadata";
|
|
51688
|
+
|
|
51689
|
+
/**
|
|
51690
|
+
* PrintConfig is a class that holds the configuration for the print page.
|
|
51691
|
+
*
|
|
51692
|
+
* @since 1.127
|
|
51693
|
+
*/
|
|
51694
|
+
export default class PrintConfig extends BaseObject {
|
|
51695
|
+
/**
|
|
51696
|
+
* Creates and initializes a print configuration class.
|
|
51697
|
+
*/
|
|
51698
|
+
constructor(
|
|
51699
|
+
/**
|
|
51700
|
+
* The print configurationobject can have keys as pageConfig, textConfig, marginConfig, durationConfig,
|
|
51701
|
+
* exportConfig and with values as defined in below structure. pageConfig - The page configuration object
|
|
51702
|
+
* with the following given keys. paperSize: : Possible values are "A0" | "A1" | "A2" | "A3" | "A4" | "A5"
|
|
51703
|
+
* | "Letter" | "Legal" | "Tabloid" | "Custom". Select one of the provided values as the paper size of the
|
|
51704
|
+
* print page. Default value is "A4". unit": Possible values are "mm" | "cm" | "in". Select one of the provided
|
|
51705
|
+
* values as the unit for paper and margin measurements. Default value is "mm" for all paper size except
|
|
51706
|
+
* "Letter", "Legal", "Tabloid" where default value is "in". paperHeight: It must be a number, and it must
|
|
51707
|
+
* be the unit specified within the page configuration. It is considered only when paper size is "Custom".
|
|
51708
|
+
* If paper size is not provided, then the default value is height of the "A4" paper size. paperWidth: It
|
|
51709
|
+
* must be a number, and it must be the unit specified within the page configuration. It is considered only
|
|
51710
|
+
* when the paper size is "Custom". If paper size is not provided, then "A4" is the default width. portrait:
|
|
51711
|
+
* It must be a boolean value as it is the orientation of the page. Default value is true. showPageNumber:
|
|
51712
|
+
* It must be a boolean value. It decides if the page number is to be displayed. Default value is false.
|
|
51713
|
+
* Not applicable in single page API. textConfig - The text configuration with the following given keys.
|
|
51714
|
+
* showHeaderText: It must be a boolean value. It is a flag to decide whether to show the header text or
|
|
51715
|
+
* not in the print page. Default value is false. showFooterText: It must be a boolean value. It is a flag
|
|
51716
|
+
* to decide whether to show the footer text or not in the print page. Default value is false. headerText:
|
|
51717
|
+
* It must be a string value to display header text in the print page. Default value is empty string. footerText:
|
|
51718
|
+
* It must be a string value to display footer text in the print page. Default value is empty string. marginConfig
|
|
51719
|
+
* - The margin configuration object with the following given keys. marginType: Possible values are "custom"
|
|
51720
|
+
* | "none" | "default". Select one of the provided values for the margin type of the print page. Default
|
|
51721
|
+
* value is "default". marginLeft: It must be a number and it must be in the unit specified within the page
|
|
51722
|
+
* configuration. It is considered only when margin type is set as "custom". When the margin type is "default",
|
|
51723
|
+
* the default value is "5mm". If "none" is maintained, then the value is "0". marginBottom: It must be
|
|
51724
|
+
* a number and it must be in the unit specified within the page configuration. It is considered only when
|
|
51725
|
+
* margin type is set as "custom". When the margin type is "default", the default value is "5mm". If "none"
|
|
51726
|
+
* is maintained, then the value is "0". marginRight: It must be a number and it must be in the unit specified
|
|
51727
|
+
* within the page configuration. It is considered only when margin type is set as "custom". When the margin
|
|
51728
|
+
* type is "default", the default value is "5mm". If "none" is maintained, then the value is "0". marginTop:
|
|
51729
|
+
* It must be a number and it must be in the unit specified within the page configuration. It is considered
|
|
51730
|
+
* only when margin type is set as "custom". When the margin type is "default", the default value is "5mm".
|
|
51731
|
+
* If "none" is maintained, then the value is "0". marginLocked: It must be a boolean value. If set to true,
|
|
51732
|
+
* it signifies all four margins get synced on the same value. If the value is provided by the application,
|
|
51733
|
+
* the margin top is considered for all four margins. Default value is false and considered only when the
|
|
51734
|
+
* margin type is "custom". durationConfig - The duration configuration object with following given keys.
|
|
51735
|
+
* duration: Possible values are "all" | "week" | "month" | "custom". Select the date duration of the print
|
|
51736
|
+
* page. Default value is "all". If the provided value is "all", then the total horizon is set as duration.
|
|
51737
|
+
* Values provided in "startDate" and "endDate" are ignored. If the provided value is "week", then the next
|
|
51738
|
+
* week is set as duration. Values provided in "startDate" and "endDate" are ignored. If the provided value
|
|
51739
|
+
* is "month", then the next month is set as duration. Values provided in "startDate" and "endDate" are
|
|
51740
|
+
* ignored. If the provided value is "custom", then the value provided in "startDate" and "endDate" is set
|
|
51741
|
+
* as duration. startDate: This is a UI5 date object. It is the start date of a print page. It is considered
|
|
51742
|
+
* only when the "duration" is set as "custom". endDate: This is a UI5 date object. It is the end date of
|
|
51743
|
+
* a print page. It is considered only when the "duration" is set as "custom". exportConfig - The export
|
|
51744
|
+
* configuration object with the following given keys. exportAsJPEG: It must be a boolean value. It is a
|
|
51745
|
+
* flag to decide whether to export the pdf as a JPEG or not. Default value is true, which means that the
|
|
51746
|
+
* exported PDF has content in a JPEG image format. This is not applicable for single page API. exportRange:
|
|
51747
|
+
* It must be a string value such as, '0,1". It is the range of the export. This is not applicable for a
|
|
51748
|
+
* single page API and when "exportAll" is set to true. exportAll: It must be a boolean value. It is a flag
|
|
51749
|
+
* to decide whether to export all the pages or not. Default value is true. This is not applicable for a
|
|
51750
|
+
* single page API. compressionQuality: It must be a number between the range of 1 to 100. The quality of
|
|
51751
|
+
* the compression is applicable only when "exportAsJPEG" is set to true. Default value is 75. This is not
|
|
51752
|
+
* applicable for a single page API. scale: It must be a number between the range of 50 to 100. This is
|
|
51753
|
+
* to scale the export up or down. Default value is 100. This is not applicable for a single page API. multiplePage:
|
|
51754
|
+
* It must be a boolean value. It is a flag to decide whether if the export is multiple page. This is not
|
|
51755
|
+
* applicable for a single page API.
|
|
51756
|
+
*/
|
|
51757
|
+
printConfiguartionObject: object
|
|
51758
|
+
);
|
|
51759
|
+
|
|
51760
|
+
/**
|
|
51761
|
+
* Creates a new subclass of class sap.gantt.simple.PrintConfig with name `sClassName` and enriches it with
|
|
51762
|
+
* the information contained in `oClassInfo`.
|
|
51763
|
+
*
|
|
51764
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.Object.extend}.
|
|
51765
|
+
*
|
|
51766
|
+
*
|
|
51767
|
+
* @returns Created class / constructor function
|
|
51768
|
+
*/
|
|
51769
|
+
static extend<T extends Record<string, unknown>>(
|
|
51770
|
+
/**
|
|
51771
|
+
* Name of the class being created
|
|
51772
|
+
*/
|
|
51773
|
+
sClassName: string,
|
|
51774
|
+
/**
|
|
51775
|
+
* Object literal with information about the class
|
|
51776
|
+
*/
|
|
51777
|
+
oClassInfo?: sap.ClassInfo<T, PrintConfig>,
|
|
51778
|
+
/**
|
|
51779
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
51780
|
+
* used by this class
|
|
51781
|
+
*/
|
|
51782
|
+
FNMetaImpl?: Function
|
|
51783
|
+
): Function;
|
|
51784
|
+
/**
|
|
51785
|
+
* Returns a metadata object for class sap.gantt.simple.PrintConfig.
|
|
51786
|
+
*
|
|
51787
|
+
*
|
|
51788
|
+
* @returns Metadata object describing this class
|
|
51789
|
+
*/
|
|
51790
|
+
static getMetadata(): Metadata;
|
|
51791
|
+
}
|
|
51792
|
+
}
|
|
51793
|
+
|
|
51794
|
+
declare module "sap/gantt/simple/PrintDialogTemplate" {
|
|
51795
|
+
import {
|
|
51796
|
+
default as ManagedObject,
|
|
51797
|
+
$ManagedObjectSettings,
|
|
51798
|
+
AggregationBindingInfo,
|
|
51799
|
+
} from "sap/ui/base/ManagedObject";
|
|
51800
|
+
|
|
51801
|
+
import Button from "sap/m/Button";
|
|
51802
|
+
|
|
51803
|
+
import ManagedObjectMetadata from "sap/ui/base/ManagedObjectMetadata";
|
|
51804
|
+
|
|
51805
|
+
/**
|
|
51806
|
+
* Enables the user to define print dialog footer buttons. Print dialog template offers an option to provide
|
|
51807
|
+
* custom buttons for the print dialog footer.
|
|
51808
|
+
*
|
|
51809
|
+
* @since 1.127
|
|
51810
|
+
*/
|
|
51811
|
+
export default class PrintDialogTemplate extends ManagedObject {
|
|
51812
|
+
/**
|
|
51813
|
+
* Creates and initializes a new print dialog template class.
|
|
51814
|
+
*
|
|
51815
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
51816
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
51817
|
+
* of the syntax of the settings object.
|
|
51818
|
+
*/
|
|
51819
|
+
constructor(
|
|
51820
|
+
/**
|
|
51821
|
+
* Initial settings for the new control
|
|
51822
|
+
*/
|
|
51823
|
+
mSettings?: $PrintDialogTemplateSettings
|
|
51824
|
+
);
|
|
51825
|
+
/**
|
|
51826
|
+
* Creates and initializes a new print dialog template class.
|
|
51827
|
+
*
|
|
51828
|
+
* Accepts an object literal `mSettings` that defines initial property values, aggregated and associated
|
|
51829
|
+
* objects as well as event handlers. See {@link sap.ui.base.ManagedObject#constructor} for a general description
|
|
51830
|
+
* of the syntax of the settings object.
|
|
51831
|
+
*/
|
|
51832
|
+
constructor(
|
|
51833
|
+
/**
|
|
51834
|
+
* ID of the new control, it is generated automatically if no ID is provided.
|
|
51835
|
+
*/
|
|
51836
|
+
sId?: string,
|
|
51837
|
+
/**
|
|
51838
|
+
* Initial settings for the new control
|
|
51839
|
+
*/
|
|
51840
|
+
mSettings?: $PrintDialogTemplateSettings
|
|
51841
|
+
);
|
|
51842
|
+
|
|
51843
|
+
/**
|
|
51844
|
+
* Creates a new subclass of class sap.gantt.simple.PrintDialogTemplate with name `sClassName` and enriches
|
|
51845
|
+
* it with the information contained in `oClassInfo`.
|
|
51846
|
+
*
|
|
51847
|
+
* `oClassInfo` might contain the same kind of information as described in {@link sap.ui.base.ManagedObject.extend}.
|
|
51848
|
+
*
|
|
51849
|
+
*
|
|
51850
|
+
* @returns Created class / constructor function
|
|
51851
|
+
*/
|
|
51852
|
+
static extend<T extends Record<string, unknown>>(
|
|
51853
|
+
/**
|
|
51854
|
+
* Name of the class being created
|
|
51855
|
+
*/
|
|
51856
|
+
sClassName: string,
|
|
51857
|
+
/**
|
|
51858
|
+
* Object literal with information about the class
|
|
51859
|
+
*/
|
|
51860
|
+
oClassInfo?: sap.ClassInfo<T, PrintDialogTemplate>,
|
|
51861
|
+
/**
|
|
51862
|
+
* Constructor function for the metadata object; if not given, it defaults to the metadata implementation
|
|
51863
|
+
* used by this class
|
|
51864
|
+
*/
|
|
51865
|
+
FNMetaImpl?: Function
|
|
51866
|
+
): Function;
|
|
51867
|
+
/**
|
|
51868
|
+
* Returns a metadata object for class sap.gantt.simple.PrintDialogTemplate.
|
|
51869
|
+
*
|
|
51870
|
+
*
|
|
51871
|
+
* @returns Metadata object describing this class
|
|
51872
|
+
*/
|
|
51873
|
+
static getMetadata(): ManagedObjectMetadata;
|
|
51874
|
+
/**
|
|
51875
|
+
* Adds some footerButton to the aggregation {@link #getFooterButtons footerButtons}.
|
|
51876
|
+
*
|
|
51877
|
+
*
|
|
51878
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
51879
|
+
*/
|
|
51880
|
+
addFooterButton(
|
|
51881
|
+
/**
|
|
51882
|
+
* The footerButton to add; if empty, nothing is inserted
|
|
51883
|
+
*/
|
|
51884
|
+
oFooterButton: Button
|
|
51885
|
+
): this;
|
|
51886
|
+
/**
|
|
51887
|
+
* Destroys all the footerButtons in the aggregation {@link #getFooterButtons footerButtons}.
|
|
51888
|
+
*
|
|
51889
|
+
*
|
|
51890
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
51891
|
+
*/
|
|
51892
|
+
destroyFooterButtons(): this;
|
|
51893
|
+
/**
|
|
51894
|
+
* Gets content of aggregation {@link #getFooterButtons footerButtons}.
|
|
51895
|
+
*/
|
|
51896
|
+
getFooterButtons(): Button[];
|
|
51897
|
+
/**
|
|
51898
|
+
* Checks for the provided `sap.m.Button` in the aggregation {@link #getFooterButtons footerButtons}. and
|
|
51899
|
+
* returns its index if found or -1 otherwise.
|
|
51900
|
+
*
|
|
51901
|
+
*
|
|
51902
|
+
* @returns The index of the provided control in the aggregation if found, or -1 otherwise
|
|
51903
|
+
*/
|
|
51904
|
+
indexOfFooterButton(
|
|
51905
|
+
/**
|
|
51906
|
+
* The footerButton whose index is looked for
|
|
51907
|
+
*/
|
|
51908
|
+
oFooterButton: Button
|
|
51909
|
+
): int;
|
|
51910
|
+
/**
|
|
51911
|
+
* Inserts a footerButton into the aggregation {@link #getFooterButtons footerButtons}.
|
|
51912
|
+
*
|
|
51913
|
+
*
|
|
51914
|
+
* @returns Reference to `this` in order to allow method chaining
|
|
51915
|
+
*/
|
|
51916
|
+
insertFooterButton(
|
|
51917
|
+
/**
|
|
51918
|
+
* The footerButton to insert; if empty, nothing is inserted
|
|
51919
|
+
*/
|
|
51920
|
+
oFooterButton: Button,
|
|
51921
|
+
/**
|
|
51922
|
+
* The `0`-based index the footerButton should be inserted at; for a negative value of `iIndex`, the footerButton
|
|
51923
|
+
* is inserted at position 0; for a value greater than the current size of the aggregation, the footerButton
|
|
51924
|
+
* is inserted at the last position
|
|
51925
|
+
*/
|
|
51926
|
+
iIndex: int
|
|
51927
|
+
): this;
|
|
51928
|
+
/**
|
|
51929
|
+
* Removes all the controls from the aggregation {@link #getFooterButtons footerButtons}.
|
|
51930
|
+
*
|
|
51931
|
+
* Additionally, it unregisters them from the hosting UIArea.
|
|
51932
|
+
*
|
|
51933
|
+
*
|
|
51934
|
+
* @returns An array of the removed elements (might be empty)
|
|
51935
|
+
*/
|
|
51936
|
+
removeAllFooterButtons(): Button[];
|
|
51937
|
+
/**
|
|
51938
|
+
* Removes a footerButton from the aggregation {@link #getFooterButtons footerButtons}.
|
|
51939
|
+
*
|
|
51940
|
+
*
|
|
51941
|
+
* @returns The removed footerButton or `null`
|
|
51942
|
+
*/
|
|
51943
|
+
removeFooterButton(
|
|
51944
|
+
/**
|
|
51945
|
+
* The footerButton to remove or its index or id
|
|
51946
|
+
*/
|
|
51947
|
+
vFooterButton: int | string | Button
|
|
51948
|
+
): Button | null;
|
|
51949
|
+
}
|
|
51950
|
+
/**
|
|
51951
|
+
* Describes the settings that can be provided to the PrintDialogTemplate constructor.
|
|
51952
|
+
*/
|
|
51953
|
+
export interface $PrintDialogTemplateSettings extends $ManagedObjectSettings {
|
|
51954
|
+
footerButtons?: Button[] | Button | AggregationBindingInfo | `{${string}}`;
|
|
51955
|
+
}
|
|
51956
|
+
}
|
|
51957
|
+
|
|
51618
51958
|
declare module "sap/gantt/simple/Relationship" {
|
|
51619
51959
|
import {
|
|
51620
51960
|
default as BasePath,
|
|
@@ -56292,6 +56632,10 @@ declare namespace sap {
|
|
|
56292
56632
|
|
|
56293
56633
|
"sap/gantt/simple/MultiActivityRowSettings": undefined;
|
|
56294
56634
|
|
|
56635
|
+
"sap/gantt/simple/PrintConfig": undefined;
|
|
56636
|
+
|
|
56637
|
+
"sap/gantt/simple/PrintDialogTemplate": undefined;
|
|
56638
|
+
|
|
56295
56639
|
"sap/gantt/simple/Relationship": undefined;
|
|
56296
56640
|
|
|
56297
56641
|
"sap/gantt/simple/shapes/Shape": undefined;
|
package/types/sap.insights.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// For Library Version: 1.
|
|
1
|
+
// For Library Version: 1.127.0
|
|
2
2
|
|
|
3
3
|
declare module "sap/insights/library" {}
|
|
4
4
|
|
|
@@ -230,6 +230,27 @@ declare module "sap/insights/CardsChannel" {
|
|
|
230
230
|
*/
|
|
231
231
|
providerId: string
|
|
232
232
|
): Promise<void>;
|
|
233
|
+
/**
|
|
234
|
+
* Request card creation to a given provider.
|
|
235
|
+
*
|
|
236
|
+
* @experimental
|
|
237
|
+
*
|
|
238
|
+
* @returns .
|
|
239
|
+
*/
|
|
240
|
+
requestCardCreation(
|
|
241
|
+
/**
|
|
242
|
+
* .
|
|
243
|
+
*/
|
|
244
|
+
consumerId: string,
|
|
245
|
+
/**
|
|
246
|
+
* .
|
|
247
|
+
*/
|
|
248
|
+
card: Card,
|
|
249
|
+
/**
|
|
250
|
+
* .
|
|
251
|
+
*/
|
|
252
|
+
providerId: string
|
|
253
|
+
): Promise<void>;
|
|
233
254
|
/**
|
|
234
255
|
* Unregister a previously registered consumer or provider.
|
|
235
256
|
*
|