Skip to content

Commit

Permalink
🤖 Merge PR #69594 [openui5] Update the definition files for OpenUI5 1…
Browse files Browse the repository at this point in the history
….124 by @akudev
  • Loading branch information
akudev committed May 14, 2024
1 parent 884f5f5 commit 94479cc
Show file tree
Hide file tree
Showing 24 changed files with 4,968 additions and 1,559 deletions.
6 changes: 5 additions & 1 deletion types/openui5/openui5-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import { ContentConfigType, DynamicDateRangeGroups, ITableItem } from "sap/m/lib
import ColumnListItem from "sap/m/ColumnListItem";
import Filter from "sap/ui/model/Filter";
import Model from "sap/ui/model/Model";
import Version from "sap/base/util/Version";

/*
* REMARK: the type definition files are automatically generated and this generation is tested,
Expand Down Expand Up @@ -217,4 +218,7 @@ const noneFilter = Filter.NONE;
// 1.122
const cct = ContentConfigType.Link;

// 1.123 mainly comes with comment changes, deprecations etc.
// 1.123 mainly comes with comment changes, deprecations etc.

// 1.124
const v: Version = new Version(1); // minor version is only optional since 1.124
2 changes: 1 addition & 1 deletion types/openui5/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@types/openui5",
"version": "1.123.9999",
"version": "1.124.9999",
"nonNpm": true,
"nonNpmDescription": "openui5",
"projects": [
Expand Down
61 changes: 49 additions & 12 deletions types/openui5/sap.f.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// For Library Version: 1.123.0
// For Library Version: 1.124.0

declare module "sap/tnt/library" {
export interface IToolHeader {
Expand Down Expand Up @@ -2782,7 +2782,8 @@ declare module "sap/f/cards/NumericHeader" {
*/
export default class NumericHeader
extends BaseHeader
implements cards.IHeader {
implements cards.IHeader
{
__implements__sap_f_cards_IHeader: boolean;
/**
* Constructor for a new `NumericHeader`.
Expand Down Expand Up @@ -2905,6 +2906,14 @@ declare module "sap/f/cards/NumericHeader" {
*/
oListener?: object
): this;
/**
* Destroys the microChart in the aggregation {@link #getMicroChart microChart}.
*
* @experimental (since 1.124)
*
* @returns Reference to `this` in order to allow method chaining
*/
destroyMicroChart(): this;
/**
* Destroys all the sideIndicators in the aggregation {@link #getSideIndicators sideIndicators}.
*
Expand Down Expand Up @@ -3087,6 +3096,14 @@ declare module "sap/f/cards/NumericHeader" {
* @returns Value of property `iconVisible`
*/
getIconVisible(): boolean;
/**
* Gets content of aggregation {@link #getMicroChart microChart}.
*
* Micro Chart
*
* @experimental (since 1.124)
*/
getMicroChart(): Control;
/**
* Gets current value of property {@link #getNumber number}.
*
Expand Down Expand Up @@ -3483,6 +3500,19 @@ declare module "sap/f/cards/NumericHeader" {
*/
bIconVisible?: boolean
): this;
/**
* Sets the aggregated {@link #getMicroChart microChart}.
*
* @experimental (since 1.124)
*
* @returns Reference to `this` in order to allow method chaining
*/
setMicroChart(
/**
* The microChart to set
*/
oMicroChart: Control
): this;
/**
* Sets a new value for property {@link #getNumber number}.
*
Expand Down Expand Up @@ -3914,6 +3944,13 @@ declare module "sap/f/cards/NumericHeader" {
| AggregationBindingInfo
| `{${string}}`;

/**
* Micro Chart
*
* @experimental (since 1.124)
*/
microChart?: Control;

/**
* Fires when the user presses the control.
*/
Expand Down Expand Up @@ -4252,9 +4289,7 @@ declare module "sap/f/dnd/GridDropInfo" {
* @returns Value of property `dropIndicatorSize`
*/
getDropIndicatorSize():
| ((
p1: Control
) => {
| ((p1: Control) => {
rows: int;

columns: int;
Expand Down Expand Up @@ -4283,9 +4318,7 @@ declare module "sap/f/dnd/GridDropInfo" {
/**
* New value for property `dropIndicatorSize`
*/
fnDropIndicatorSize?: (
p1: Control
) => {
fnDropIndicatorSize?: (p1: Control) => {
rows: int;

columns: int;
Expand Down Expand Up @@ -7144,7 +7177,8 @@ declare module "sap/f/FlexibleColumnLayout" {
*/
export default class FlexibleColumnLayout
extends Control
implements IPlaceholderSupport {
implements IPlaceholderSupport
{
__implements__sap_ui_core_IPlaceholderSupport: boolean;
/**
* Constructor for a new `sap.f.FlexibleColumnLayout`.
Expand Down Expand Up @@ -10467,7 +10501,8 @@ declare module "sap/f/GridContainer" {
*/
export default class GridContainer
extends Control
implements dnd.IGridDroppable {
implements dnd.IGridDroppable
{
__implements__sap_f_dnd_IGridDroppable: boolean;
/**
* Constructor for a new `sap.f.GridContainer`.
Expand Down Expand Up @@ -12106,7 +12141,8 @@ declare module "sap/f/GridList" {
*/
export default class GridList
extends ListBase
implements cssgrid.IGridConfigurable, dnd.IGridDroppable {
implements cssgrid.IGridConfigurable, dnd.IGridDroppable
{
__implements__sap_ui_layout_cssgrid_IGridConfigurable: boolean;
__implements__sap_f_dnd_IGridDroppable: boolean;
/**
Expand Down Expand Up @@ -19455,7 +19491,8 @@ declare module "sap/f/ShellBar" {
*/
export default class ShellBar
extends Control
implements IShellBar, IBar, IToolHeader {
implements IShellBar, IBar, IToolHeader
{
__implements__sap_f_IShellBar: boolean;
__implements__sap_m_IBar: boolean;
__implements__sap_tnt_IToolHeader: boolean;
Expand Down

0 comments on commit 94479cc

Please sign in to comment.