Skip to content

Commit

Permalink
fix: Update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Apr 10, 2024
1 parent dbf3253 commit 26a0085
Show file tree
Hide file tree
Showing 34 changed files with 806 additions and 802 deletions.
18 changes: 9 additions & 9 deletions resources/overrides/library/sap.ca.ui.d.ts
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
declare module "sap/ca/ui/ChartColor" {
import ChartColor from "sap/ca/ui/library";
declare module "sap/ca/ui/charts/ChartColor" {
import {charts} from "sap/ca/ui/library";

/**
* Enumeration of available color to be used in sap.ca.ui charts.
*
* @deprecated (since 1.24) - Sap.ca charts have been replaced with sap.viz and VizFrame in 1.24. The UI5 control "sap.viz.ui5.controls.VizFrame" serves as a single point of entry for all the new charts. Now that 1.24 is available you are asked to use sap.viz charts and the VizFrame instead! This control will not be supported anymore from 1.24.
* @public
*/
export default ChartColor;
export default charts.ChartColor;
}

declare module "sap/ca/ui/ChartSelectionMode" {
import ChartSelectionMode from "sap/ca/ui/library";
declare module "sap/ca/ui/charts/ChartSelectionMode" {
import {charts} from "sap/ca/ui/library";

/**
* Determines the selection mode of a Chart.
*
* @deprecated (since 1.24) - Sap.ca charts have been replaced with sap.viz and VizFrame in 1.24. The UI5 control "sap.viz.ui5.controls.VizFrame" serves as a single point of entry for all the new charts. Now that 1.24 is available you are asked to use sap.viz charts and the VizFrame instead! This control will not be supported anymore from 1.24.
* @public
*/
export default ChartSelectionMode;
export default charts.ChartSelectionMode;
}

declare module "sap/ca/ui/ChartSemanticColor" {
import ChartSemanticColor from "sap/ca/ui/library";
declare module "sap/ca/ui/charts/ChartSemanticColor" {
import {charts} from "sap/ca/ui/library";

/**
* Enumeration of available semantic color to be used in sap.Ca.ui
*
* @deprecated (since 1.24) - Sap.ca charts have been replaced with sap.viz and VizFrame in 1.24. The UI5 control "sap.viz.ui5.controls.VizFrame" serves as a single point of entry for all the new charts. Now that 1.24 is available you are asked to use sap.viz charts and the VizFrame instead! This control will not be supported anymore from 1.24.
* @public
*/
export default ChartSemanticColor;
export default charts.ChartSemanticColor;
}
36 changes: 18 additions & 18 deletions resources/overrides/library/sap.chart.d.ts
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
declare module "sap/chart/GradationDivergingColorScheme" {
import GradationDivergingColorScheme from "sap/chart/library";
declare module "sap/chart/coloring/GradationDivergingColorScheme" {
import {coloring} from "sap/chart/library";

/**
* Enumeration for supported Gradation diverging color scheme in analytical chart
*
* @public
*/
export default GradationDivergingColorScheme;
export default coloring.GradationDivergingColorScheme;
}

declare module "sap/chart/GradationSaturation" {
import GradationSaturation from "sap/chart/library";
declare module "sap/chart/coloring/GradationSaturation" {
import {coloring} from "sap/chart/library";

/**
* Enumeration for supported Gradation color saturation in analytical chart
*
* @public
*/
export default GradationSaturation;
export default coloring.GradationSaturation;
}

declare module "sap/chart/GradationSingleColorScheme" {
import GradationSingleColorScheme from "sap/chart/library";
declare module "sap/chart/coloring/GradationSingleColorScheme" {
import {coloring} from "sap/chart/library";

/**
* Enumeration for supported Gradation single color scheme in analytical chart
*
* @public
*/
export default GradationSingleColorScheme;
export default coloring.GradationSingleColorScheme;
}

declare module "sap/chart/GradationTargetColorScheme" {
import GradationTargetColorScheme from "sap/chart/library";
declare module "sap/chart/coloring/GradationTargetColorScheme" {
import {coloring} from "sap/chart/library";

/**
* Enumeration for supported Gradation target color scheme in analytical chart
*
* @public
*/
export default GradationTargetColorScheme;
export default coloring.GradationTargetColorScheme;
}

declare module "sap/chart/ImprovementDirectionType" {
import ImprovementDirectionType from "sap/chart/library";
declare module "sap/chart/coloring/ImprovementDirectionType" {
import {coloring} from "sap/chart/library";

/**
* Enumeration for supported ImprovementDirection types in analytical chart
*
* @public
*/
export default ImprovementDirectionType;
export default coloring.ImprovementDirectionType;
}

declare module "sap/chart/MessageId" {
import MessageId from "sap/chart/library";
import {MessageId} from "sap/chart/library";

/**
* Enumeration for supported message types in analytical chart.
Expand All @@ -65,7 +65,7 @@ declare module "sap/chart/MessageId" {
}

declare module "sap/chart/SelectionBehavior" {
import SelectionBehavior from "sap/chart/library";
import {SelectionBehavior} from "sap/chart/library";

/**
* Enumeration for supported selection behavior in analytical chart
Expand All @@ -76,7 +76,7 @@ declare module "sap/chart/SelectionBehavior" {
}

declare module "sap/chart/SelectionMode" {
import SelectionMode from "sap/chart/library";
import {SelectionMode} from "sap/chart/library";

/**
* Enumeration for supported selection mode in analytical chart
Expand Down
6 changes: 3 additions & 3 deletions resources/overrides/library/sap.collaboration.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare module "sap/collaboration/AppType" {
import AppType from "sap/collaboration/library";
import {AppType} from "sap/collaboration/library";

/**
* Application Type (Mode)
Expand All @@ -10,7 +10,7 @@ declare module "sap/collaboration/AppType" {
}

declare module "sap/collaboration/DisplayFeedType" {
import DisplayFeedType from "sap/collaboration/library";
import {DisplayFeedType} from "sap/collaboration/library";

/**
* Feed Types to be displayed by the Social Timeline
Expand All @@ -21,7 +21,7 @@ declare module "sap/collaboration/DisplayFeedType" {
}

declare module "sap/collaboration/FeedType" {
import FeedType from "sap/collaboration/library";
import {FeedType} from "sap/collaboration/library";

/**
* Feed Types
Expand Down
22 changes: 11 additions & 11 deletions resources/overrides/library/sap.f.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
declare module "sap/f/AvatarGroupType" {
import AvatarGroupType from "sap/f/library";
import {AvatarGroupType} from "sap/f/library";

/**
* Group modes for the {@link sap.f.AvatarGroup} control.
Expand All @@ -11,32 +11,32 @@ declare module "sap/f/AvatarGroupType" {
export default AvatarGroupType;
}

declare module "sap/f/HeaderPosition" {
import HeaderPosition from "sap/f/library";
declare module "sap/f/cards/HeaderPosition" {
import {cards} from "sap/f/library";

/**
* Different options for the position of the header in controls that implement the {@link sap.f.ICard} interface.
*
* @public
* @since 1.65
*/
export default HeaderPosition;
export default cards.HeaderPosition;
}

declare module "sap/f/NumericHeaderSideIndicatorsAlignment" {
import NumericHeaderSideIndicatorsAlignment from "sap/f/library";
declare module "sap/f/cards/NumericHeaderSideIndicatorsAlignment" {
import {cards} from "sap/f/library";

/**
* Different options for the alignment of the side indicators in the numeric header.
*
* @public
* @since 1.96
*/
export default NumericHeaderSideIndicatorsAlignment;
export default cards.NumericHeaderSideIndicatorsAlignment;
}

declare module "sap/f/DynamicPageTitleArea" {
import DynamicPageTitleArea from "sap/f/library";
import {DynamicPageTitleArea} from "sap/f/library";

/**
* Defines the areas within the <code>sap.f.DynamicPageTitle</code> control.
Expand All @@ -49,7 +49,7 @@ declare module "sap/f/DynamicPageTitleArea" {
}

declare module "sap/f/LayoutType" {
import LayoutType from "sap/f/library";
import {LayoutType} from "sap/f/library";

/**
* Layouts, representing the number of columns to be displayed and their relative widths for a {@link sap.f.FlexibleColumnLayout} control.
Expand All @@ -67,7 +67,7 @@ declare module "sap/f/LayoutType" {
}

declare module "sap/f/NavigationDirection" {
import NavigationDirection from "sap/f/library";
import {NavigationDirection} from "sap/f/library";

/**
* Enumeration for different navigation directions.
Expand All @@ -79,7 +79,7 @@ declare module "sap/f/NavigationDirection" {
}

declare module "sap/f/SidePanelPosition" {
import SidePanelPosition from "sap/f/library";
import {SidePanelPosition} from "sap/f/library";

/**
* Enumeration for different SidePanel position.
Expand Down
Loading

0 comments on commit 26a0085

Please sign in to comment.