Skip to content

Commit

Permalink
fix: (Core|Platform) Add missing modules in main global module (#4506)
Browse files Browse the repository at this point in the history
* fix: (Core|Platform) Add missing modules in main global module

* remove grid list due to errors from bundle module
  • Loading branch information
JKMarkowski committed Feb 3, 2021
1 parent a857c77 commit 4deb180
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class StackblitzModuleWrapper {
{ name: 'FormsModule', path: '@angular/forms' },
{ name: 'ReactiveFormsModule', path: '@angular/forms' },
{ name: 'BrowserAnimationsModule', path: '@angular/platform-browser/animations' },
{ name: 'FundamentalNgxCoreModule', path: '@fundamental-ngx/core' },
{ name: 'FundamentalNgxCoreModule, GridListModule', path: '@fundamental-ngx/core' },
{ name: 'FundamentalNgxPlatformModule', path: '@fundamental-ngx/platform' },
{ name: 'HttpClientModule', path: '@angular/common/http' },
{ name: 'CdkTableModule', path: '@angular/cdk/table' },
Expand Down
19 changes: 12 additions & 7 deletions libs/core/src/lib/fundamental-ngx-core.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ import { MessageBoxModule } from './message-box/message-box.module';
import { ThemesService } from './utils/services/themes.service';
import { WizardModule } from './wizard/wizard.module';
import { QuickViewModule } from './quick-view/quick-view.module';
import { FeedInputModule } from './feed-input/feed-input.module';
import { ObjectNumberModule } from './object-number/object-number.module';
import { TitleModule } from './title/title.module';

@NgModule({
imports: [CommonModule, FormsModule],
Expand All @@ -90,16 +93,18 @@ import { QuickViewModule } from './quick-view/quick-view.module';
BreadcrumbModule,
BusyIndicatorModule,
ButtonModule,
SegmentedButtonModule,
CalendarModule,
CardModule,
CarouselModule,
ComboboxModule,
ComboboxMobileModule,
CheckboxModule,
DatePickerModule,
DatetimePickerModule,
DragAndDropModule,
DynamicSideContentModule,
FeedListItemModule,
FeedInputModule,
FileUploaderModule,
FixedCardLayoutModule,
FlexibleColumnLayoutModule,
Expand All @@ -116,13 +121,16 @@ import { QuickViewModule } from './quick-view/quick-view.module';
ListModule,
MenuModule,
DialogModule,
MessageBoxModule,
MessageStripModule,
MessageToastModule,
MultiInputModule,
MultiInputMobileModule,
NestedListModule,
NotificationModule,
ObjectIdentifierModule,
ObjectMarkerModule,
ObjectNumberModule,
ObjectStatusModule,
PaginationModule,
PanelModule,
Expand All @@ -137,21 +145,18 @@ import { QuickViewModule } from './quick-view/quick-view.module';
ShellbarModule,
SideNavigationModule,
SplitButtonModule,
SwitchModule,
StepInputModule,
TableModule,
TabsModule,
TileModule,
TimeModule,
TimePickerModule,
TitleModule,
ToolbarModule,
SwitchModule,
TokenModule,
TreeModule,
WizardModule,
CardModule,
MessageBoxModule,
MessageToastModule,
DynamicSideContentModule
WizardModule
],
providers: [AlertService, DialogService, NotificationService, MessageToastService, ThemesService],
})
Expand Down
6 changes: 6 additions & 0 deletions libs/platform/src/lib/platform.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ import { PlatformFeedInputModule } from './components/feed-input/feed-input.modu
import { PlatformDatePickerModule } from './components/form/date-picker/date-picker.module';
import { PlatformApprovalFlowModule } from './components/approval-flow/approval-flow.module';
import { PlatformDynamicPageModule } from './components/dynamic-page/dynamic-page.module';
import { PlatformListModule } from './components/list/list.module';
import { PlatformUploadCollectionModule } from './components/upload-collection';
import { PlatformValueHelpDialogModule } from './components/value-help-dialog/value-help-dialog.module';

@NgModule({
imports: [CommonModule, FundamentalNgxCoreModule],
Expand All @@ -58,6 +61,7 @@ import { PlatformDynamicPageModule } from './components/dynamic-page/dynamic-pag
PlatformMenuModule,
PlatformSelectModule,
PlatformLinkModule,
PlatformListModule,
PlatformRadioGroupModule,
PlatformMenuButtonModule,
PlatformSplitMenuButtonModule,
Expand All @@ -83,6 +87,8 @@ import { PlatformDynamicPageModule } from './components/dynamic-page/dynamic-pag
PlatformMultiInputMobileModule,
PlatformFeedInputModule,
PlatformFileUploaderModule,
PlatformUploadCollectionModule,
PlatformValueHelpDialogModule,
PlatformAutoCompleteModule,
PlatformApprovalFlowModule
]
Expand Down

0 comments on commit 4deb180

Please sign in to comment.