Skip to content

Commit

Permalink
feat: downgrade project to abp v4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
bnymncoskuner committed Dec 10, 2021
1 parent f035b43 commit 4fc58cd
Show file tree
Hide file tree
Showing 7 changed files with 240 additions and 145 deletions.
2 changes: 1 addition & 1 deletion apps/angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"bundleName": "ngx-datatable-material"
},
{
"input": "node_modules/bootstrap/dist/css/bootstrap.rtl.min.css",
"input": "node_modules/@abp/ng.theme.shared/styles/bootstrap-rtl.min.css",
"inject": false,
"bundleName": "bootstrap-rtl.min"
},
Expand Down
18 changes: 9 additions & 9 deletions apps/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
},
"private": true,
"dependencies": {
"@abp/ng.account": "~5.0.0-rc.2",
"@abp/ng.components": "~5.0.0-rc.2",
"@abp/ng.core": "~5.0.0-rc.2",
"@abp/ng.identity": "~5.0.0-rc.2",
"@abp/ng.setting-management": "~5.0.0-rc.2",
"@abp/ng.tenant-management": "~5.0.0-rc.2",
"@abp/ng.theme.basic": "~5.0.0-rc.2",
"@abp/ng.theme.shared": "~5.0.0-rc.2",
"@abp/ng.account": "4.4.4",
"@abp/ng.components": "4.4.4",
"@abp/ng.core": "4.4.4",
"@abp/ng.identity": "4.4.4",
"@abp/ng.setting-management": "4.4.4",
"@abp/ng.tenant-management": "4.4.4",
"@abp/ng.theme.basic": "4.4.4",
"@abp/ng.theme.shared": "4.4.4",
"@angular/animations": "~12.2.8",
"@angular/common": "~12.2.8",
"@angular/compiler": "~12.2.8",
Expand All @@ -34,7 +34,7 @@
"zone.js": "~0.11.4"
},
"devDependencies": {
"@abp/ng.schematics": "~5.0.0-rc.2",
"@abp/ng.schematics": "4.4.4",
"@angular-devkit/build-angular": "~12.2.8",
"@angular/cli": "~12.2.8",
"@angular/compiler-cli": "~12.2.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="col col-md-6">
<h5 class="card-title">{{ 'CatalogService::Products' | abpLocalization }}</h5>
</div>
<div class="text-end col col-md-6">
<div class="text-right col col-md-6">
<button class="btn btn-primary" (click)="onCreate()" *abpPermission="permissions.create">
{{ 'CatalogService::NewProduct' | abpLocalization }}
</button>
Expand All @@ -26,7 +26,7 @@ <h5 class="card-title">{{ 'CatalogService::Products' | abpLocalization }}</h5>
aria-haspopup="true"
ngbDropdownToggle
>
<i class="me-1 fa fa-cog"></i>{{ 'AbpUi::Actions' | abpLocalization }}
<i class="mr-1 fa fa-cog"></i>{{ 'AbpUi::Actions' | abpLocalization }}
</button>
<div ngbDropdownMenu>
<button
Expand Down
2 changes: 2 additions & 0 deletions apps/angular/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { CatalogConfigModule } from '@eshoponabp/catalog/config';
import { NgxsModule } from '@ngxs/store';
import { environment } from '../environments/environment';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
Expand All @@ -31,6 +32,7 @@ import { APP_ROUTE_PROVIDER } from './route.provider';
SettingManagementConfigModule.forRoot(),
ThemeBasicModule.forRoot(),
CatalogConfigModule.forRoot(),
NgxsModule.forRoot(),
],
declarations: [AppComponent],
providers: [APP_ROUTE_PROVIDER],
Expand Down
Loading

0 comments on commit 4fc58cd

Please sign in to comment.