Skip to content

Commit

Permalink
update: common struct
Browse files Browse the repository at this point in the history
  • Loading branch information
kainonly committed Mar 17, 2023
1 parent 7982109 commit 218a4ae
Show file tree
Hide file tree
Showing 34 changed files with 30 additions and 30 deletions.
12 changes: 6 additions & 6 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterModule, Routes } from '@angular/router';

import { LayoutComponent } from '@common/layout/layout.component';
import { LayoutModule } from '@common/layout/layout.module';
import { AuthorizedComponent } from '@common/result/authorized/authorized.component';
import { ResultModule } from '@common/result/result.module';
import { UnauthorizeComponent } from '@common/result/unauthorize/unauthorize.component';
import { LayoutComponent } from '@common/components/layout/layout.component';
import { LayoutModule } from '@common/components/layout/layout.module';
import { AuthorizedComponent } from '@common/components/result/authorized/authorized.component';
import { ResultModule } from '@common/components/result/result.module';
import { UnauthorizeComponent } from '@common/components/result/unauthorize/unauthorize.component';
import { TranslationModule } from '@common/components/translation/translation.module';
import { ShareModule } from '@common/share.module';
import { TranslationModule } from '@common/translation/translation.module';
import { environment } from '@env';
import { WpxRichtextModule } from '@weplanx/ng/richtext';
import { WpxStoreModule } from '@weplanx/ng/store';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { NgModule } from '@angular/core';

import { BlankLayoutComponent } from '@common/blank-layout/blank-layout.component';
import { BlankLayoutComponent } from '@common/components/blank-layout/blank-layout.component';
import { ShareModule } from '@common/share.module';

@NgModule({
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { Component, OnInit, TemplateRef, ViewChild } from '@angular/core';
import { ActivatedRoute, Router } from '@angular/router';

import { AppService } from '@app';
import { ProfileComponent } from '@common/layout/profile/profile.component';
import { QuickComponent } from '@common/layout/quick/quick.component';
import { ProfileComponent } from '@common/components/layout/profile/profile.component';
import { QuickComponent } from '@common/components/layout/quick/quick.component';
import { WpxService } from '@weplanx/ng';
import { NzDrawerRef, NzDrawerService } from 'ng-zorro-antd/drawer';

Expand Down
14 changes: 14 additions & 0 deletions src/app/common/components/layout/layout.module.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import { NgModule } from '@angular/core';

import { LayoutComponent } from '@common/components/layout/layout.component';
import { ProfileModule } from '@common/components/layout/profile/profile.module';
import { QuickModule } from '@common/components/layout/quick/quick.module';
import { TranslationModule } from '@common/components/translation/translation.module';
import { ShareModule } from '@common/share.module';

@NgModule({
imports: [ShareModule, ProfileModule, QuickModule, TranslationModule],
declarations: [LayoutComponent],
exports: [LayoutComponent]
})
export class LayoutModule {}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NgModule } from '@angular/core';

import { AuthorizedComponent } from '@common/result/authorized/authorized.component';
import { UnauthorizeComponent } from '@common/result/unauthorize/unauthorize.component';
import { AuthorizedComponent } from '@common/components/result/authorized/authorized.component';
import { UnauthorizeComponent } from '@common/components/result/unauthorize/unauthorize.component';
import { ShareModule } from '@common/share.module';

@NgModule({
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { NgModule } from '@angular/core';

import { TranslationComponent } from '@common/components/translation/translation.component';
import { ShareModule } from '@common/share.module';
import { TranslationComponent } from '@common/translation/translation.component';

@NgModule({
imports: [ShareModule],
Expand Down
14 changes: 0 additions & 14 deletions src/app/common/layout/layout.module.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/app/forget/forget.module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { BlankLayoutModule } from '@common/blank-layout/blank-layout.module';
import { BlankLayoutModule } from '@common/components/blank-layout/blank-layout.module';
import { TranslationModule } from '@common/components/translation/translation.module';
import { ShareModule } from '@common/share.module';
import { TranslationModule } from '@common/translation/translation.module';
import { NzStepsModule } from 'ng-zorro-antd/steps';

import { ForgetComponent } from './forget.component';
Expand Down
4 changes: 2 additions & 2 deletions src/app/login/login.module.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { BlankLayoutModule } from '@common/blank-layout/blank-layout.module';
import { BlankLayoutModule } from '@common/components/blank-layout/blank-layout.module';
import { TranslationModule } from '@common/components/translation/translation.module';
import { ShareModule } from '@common/share.module';
import { TranslationModule } from '@common/translation/translation.module';

import { LoginComponent } from './login.component';

Expand Down

0 comments on commit 218a4ae

Please sign in to comment.