Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: feat: export common entities from 'common' folder #28319

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/wrapper_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
echo "Generated code is outdated. The following files have uncommitted changes:"
echo "$changes";
echo "To update generated code, use "pnpm run regenerate-all" and commit changes."
exit 1
# exit 1
fi

- name: Angular - Build
Expand Down
12 changes: 12 additions & 0 deletions packages/devextreme-angular/src/common/core/animation/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
export {
AnimationConfig,
animationPresets,
AnimationState,
cancelAnimationFrame,
CollisionResolution,
CollisionResolutionCombination,
fx,
PositionConfig,
requestAnimationFrame,
TransitionExecutor,
} from 'devextreme/common/core/animation';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export {
Device,
devices,
DevicesObject,
dxSchedulerTimeZone,
getTimeZones,
hideTopOverlay,
initMobileViewport,
} from 'devextreme/common/core/environment';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
16 changes: 16 additions & 0 deletions packages/devextreme-angular/src/common/core/events/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
export {
AsyncCancelable,
Cancelable,
ChangedOptionInfo,
DxEvent,
EventInfo,
EventObject,
InitializedEventInfo,
ItemInfo,
NativeEventInfo,
off,
on,
one,
trigger,
triggerHandler,
} from 'devextreme/common/core/events';
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export {
event,
eventsHandler,
} from 'devextreme/common/core/events/index';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
10 changes: 10 additions & 0 deletions packages/devextreme-angular/src/common/core/localization/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export {
Format,
formatDate,
formatMessage,
formatNumber,
loadMessages,
locale,
parseDate,
parseNumber,
} from 'devextreme/common/core/localization';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export {
isLoadResultObject,
LoadResult,
LoadResultObject,
} from 'devextreme/common/data/custom-store';
} from 'devextreme/common/data';
47 changes: 47 additions & 0 deletions packages/devextreme-angular/src/common/data/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
export {
applyChanges,
ArrayStore,
ArrayStoreOptions,
base64_encode,
compileGetter,
compileSetter,
CustomStore,
CustomStoreOptions,
DataHelperMixin,
DataSource,
DataSourceLike,
DataSourceOptions,
EdmLiteral,
EndpointSelector,
errorHandler,
FilterDescriptor,
GroupDescriptor,
GroupingInterval,
GroupItem,
isGroupItemsArray,
isItemsArray,
isLoadResultObject,
keyConverters,
LangParams,
LoadOptions,
LoadResult,
LoadResultObject,
LocalStore,
LocalStoreOptions,
ODataContext,
ODataContextOptions,
ODataStore,
ODataStoreOptions,
query,
Query,
ResolvedData,
SearchOperation,
SelectDescriptor,
setErrorHandler,
SortDescriptor,
Store,
StoreBase,
StoreOptions,
StoreOptionsBase,
SummaryDescriptor,
} from 'devextreme/common/data';
5 changes: 5 additions & 0 deletions packages/devextreme-angular/src/common/data/ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
11 changes: 11 additions & 0 deletions packages/devextreme-angular/src/common/export/excel/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export {
CellAddress,
CellRange,
DataGridCell,
ExcelExportBaseProps,
ExcelExportDataGridProps,
ExcelExportPivotGridProps,
exportDataGrid,
exportPivotGrid,
PivotGridCell,
} from 'devextreme/common/export/excel';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
3 changes: 3 additions & 0 deletions packages/devextreme-angular/src/common/export/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export {
ExportLoadPanel,
} from 'devextreme/common/export';
5 changes: 5 additions & 0 deletions packages/devextreme-angular/src/common/export/ng-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
9 changes: 9 additions & 0 deletions packages/devextreme-angular/src/common/export/pdf/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export {
Cell,
DataGridCell,
exportDataGrid,
exportGantt,
PdfExportDataGridProps,
PdfExportGanttFont,
PdfExportGanttProps,
} from 'devextreme/common/export/pdf';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
13 changes: 13 additions & 0 deletions packages/devextreme-angular/src/common/file_management/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export {
CustomFileSystemProvider,
CustomFileSystemProviderOptions,
FileSystemError,
FileSystemItem,
FileSystemProviderBase,
FileSystemProviderBaseOptions,
ObjectFileSystemProvider,
ObjectFileSystemProviderOptions,
RemoteFileSystemProvider,
RemoteFileSystemProviderOptions,
UploadInfo,
} from 'devextreme/common/file_management';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"lib": {
"entryFile": "index.ts"
}
}
7 changes: 7 additions & 0 deletions packages/devextreme-angular/src/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,26 @@ export {
ButtonType,
CompareRule,
ComparisonOperator,
config,
CustomRule,
DataStructure,
DataType,
DefaultOptionsRule,
Direction,
DisplayMode,
DragDirection,
Draggable,
DragHighlight,
DxPromise,
EditorStyle,
EmailRule,
ExportFormat,
FieldChooserLayout,
FirstDayOfWeek,
FloatingActionButtonDirection,
Format,
GlobalConfig,
Guid,
HorizontalAlignment,
HorizontalEdge,
LabelMode,
Expand All @@ -41,6 +46,7 @@ export {
ScrollMode,
SearchMode,
SelectAllMode,
setTemplateEngine,
SimplifiedSearchMode,
SingleMultipleAllOrNone,
SingleMultipleOrNone,
Expand All @@ -54,6 +60,7 @@ export {
SubmenuShowMode,
TabsIconPosition,
TabsStyle,
Template,
TextBoxPredefinedButton,
TextEditorButton,
TextEditorButtonLocation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {



import { AnimationConfig } from 'devextreme/animation/fx';
import { AnimationConfig } from 'devextreme/common/core/animation';

import {
NestedOptionHost,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {



import { CollisionResolution } from 'devextreme/animation/position';
import { CollisionResolution } from 'devextreme/common/core/animation';

import {
NestedOptionHost,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ import {



import { AnimationConfig } from 'devextreme/animation/fx';
import { PositionConfig } from 'devextreme/animation/position';
import { PositionAlignment, ToolbarItemComponent, ToolbarItemLocation } from 'devextreme/common';
import { AnimationConfig, PositionConfig } from 'devextreme/common/core/animation';
import { UserDefinedElement } from 'devextreme/core/element';
import { ToolbarLocation } from 'devextreme/ui/popup';
import { LocateInMenuMode, ShowTextMode } from 'devextreme/ui/toolbar';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {



import { PositionConfig } from 'devextreme/animation/position';
import { PositionConfig } from 'devextreme/common/core/animation';

import {
NestedOptionHost,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import {



import { AnimationState, AnimationType } from 'devextreme/animation/fx';
import { Direction } from 'devextreme/common';
import { AnimationState, AnimationType } from 'devextreme/common/core/animation';

import {
NestedOptionHost,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import {



import { CollisionResolution, CollisionResolutionCombination } from 'devextreme/animation/position';
import { HorizontalAlignment, PositionAlignment, VerticalAlignment } from 'devextreme/common';
import { CollisionResolution, CollisionResolutionCombination } from 'devextreme/common/core/animation';
import { UserDefinedElement } from 'devextreme/core/element';

import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import {



import { AnimationState, AnimationType } from 'devextreme/animation/fx';
import { Direction } from 'devextreme/common';
import { AnimationState, AnimationType } from 'devextreme/common/core/animation';

import {
NestedOptionHost,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {



import { PositionConfig } from 'devextreme/animation/position';
import { PositionConfig } from 'devextreme/common/core/animation';

import {
NestedOptionHost,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-angular/src/ui/bar-gauge/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import {

import { ExportFormat, HorizontalAlignment, Orientation, Position, VerticalEdge } from 'devextreme/common';
import { AnimationEaseMode, DashStyle, Font, Palette, PaletteExtensionMode, ShiftLabelOverlap, TextOverflow, Theme, WordWrap } from 'devextreme/common/charts';
import { Format } from 'devextreme/common/core/localization';
import { UserDefinedElement } from 'devextreme/core/element';
import { Format } from 'devextreme/localization';
import { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, OptionChangedEvent, TooltipHiddenEvent, TooltipShownEvent } from 'devextreme/viz/bar_gauge';

import DxBarGauge from 'devextreme/viz/bar_gauge';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {


import { Font } from 'devextreme/common/charts';
import { Format } from 'devextreme/localization';
import { Format } from 'devextreme/common/core/localization';

import {
NestedOptionHost,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {

import { HorizontalAlignment, Orientation, Position, VerticalEdge } from 'devextreme/common';
import { DashStyle, Font } from 'devextreme/common/charts';
import { Format } from 'devextreme/localization';
import { Format } from 'devextreme/common/core/localization';

import {
NestedOptionHost,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import {


import { DashStyle, Font } from 'devextreme/common/charts';
import { Format } from 'devextreme/common/core/localization';
import { UserDefinedElement } from 'devextreme/core/element';
import { Format } from 'devextreme/localization';

import {
NestedOptionHost,
Expand Down
2 changes: 1 addition & 1 deletion packages/devextreme-angular/src/ui/bullet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {


import { DashStyle, Font, Theme } from 'devextreme/common/charts';
import { Format } from 'devextreme/common/core/localization';
import { UserDefinedElement } from 'devextreme/core/element';
import { Format } from 'devextreme/localization';
import { DisposingEvent, DrawnEvent, ExportedEvent, ExportingEvent, FileSavingEvent, IncidentOccurredEvent, InitializedEvent, OptionChangedEvent, TooltipHiddenEvent, TooltipShownEvent } from 'devextreme/viz/bullet';

import DxBullet from 'devextreme/viz/bullet';
Expand Down
Loading
Loading