Explorar el Código

组件目录改名

qdy hace 1 mes
padre
commit
8c95f9eb7e

+ 1
- 1
package.json Ver fichero

@@ -24,7 +24,7 @@
24 24
     "ag-grid-angular": "^35.0.0",
25 25
     "ag-grid-community": "^35.0.0",
26 26
     "marked": "^17.0.1",
27
-    "ng-base": "file:../../ng-base/dist/ng-base",
27
+    "base-core": "file:../../base-core/dist/base-core",
28 28
     "prismjs": "^1.30.0",
29 29
     "rxjs": "~7.8.0",
30 30
     "tslib": "^2.3.0",

+ 3
- 3
src/app/app.component.ts Ver fichero

@@ -1,15 +1,15 @@
1 1
 import { Component, OnInit, HostListener, OnDestroy } from '@angular/core';
2 2
 import { CommonModule } from '@angular/common';
3 3
 import { Router, RouterOutlet, ActivatedRoute, NavigationEnd } from '@angular/router';
4
-import { TreeNavComponent } from 'ng-base';
4
+import { TreeNavComponent } from 'base-core';
5 5
 import { MatIcon } from '@angular/material/icon';
6 6
 import { MatButtonModule } from '@angular/material/button';
7 7
 import { MatMenuModule } from '@angular/material/menu';
8 8
 import { MatTooltipModule } from '@angular/material/tooltip';
9 9
 import { DragDropModule } from '@angular/cdk/drag-drop';
10 10
 import { AuthService } from './services/auth.service';
11
-import { TreeService } from 'ng-base';
12
-import { TreeNode } from 'ng-base';
11
+import { TreeService } from 'base-core';
12
+import { TreeNode } from 'base-core';
13 13
 import { Subscription, filter } from 'rxjs';
14 14
 
15 15
 @Component({

+ 1
- 1
src/app/interceptors/mock.interceptor.ts Ver fichero

@@ -2,7 +2,7 @@ import { HttpInterceptorFn, HttpErrorResponse } from '@angular/common/http';
2 2
 import { inject } from '@angular/core';
3 3
 import { Router } from '@angular/router';
4 4
 import { catchError, throwError } from 'rxjs';
5
-import { ConfigService } from 'ng-base';
5
+import { ConfigService } from 'base-core';
6 6
 import { AuthService } from '../services/auth.service';
7 7
 
8 8
 export const MockInterceptor: HttpInterceptorFn = (req, next) => {

+ 1
- 1
src/app/pages/login/login.component.ts Ver fichero

@@ -9,7 +9,7 @@ import { MatButtonModule } from '@angular/material/button';
9 9
 import { MatIconModule } from '@angular/material/icon';
10 10
 import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
11 11
 import { AuthService } from '../../services/auth.service';
12
-import { EnterNavigationDirective } from 'ng-base';
12
+import { EnterNavigationDirective } from 'base-core';
13 13
 
14 14
 @Component({
15 15
   selector: 'app-login',

+ 1
- 1
src/app/pages/project-list/project-list.component.ts Ver fichero

@@ -10,7 +10,7 @@ import { MatProgressSpinner } from '@angular/material/progress-spinner';
10 10
 import { MatIcon } from '@angular/material/icon';
11 11
 import { ProjectService } from '../../services/project.service';
12 12
 import { Project, ProjectRequest } from '../../models/project.model';
13
-import { EnterNavigationDirective } from 'ng-base';
13
+import { EnterNavigationDirective } from 'base-core';
14 14
 
15 15
 @Component({
16 16
   selector: 'app-project-list',

+ 1
- 1
src/app/pages/role-list/role-list.component.ts Ver fichero

@@ -10,7 +10,7 @@ import { MatProgressSpinner } from '@angular/material/progress-spinner';
10 10
 import { MatIcon } from '@angular/material/icon';
11 11
 import { RoleService } from '../../services/role.service';
12 12
 import { Role, RoleRequest } from '../../models/role.model';
13
-import { EnterNavigationDirective } from 'ng-base';
13
+import { EnterNavigationDirective } from 'base-core';
14 14
 
15 15
 @Component({
16 16
   selector: 'app-role-list',

+ 1
- 1
src/app/pages/tenant-list/tenant-list.component.ts Ver fichero

@@ -10,7 +10,7 @@ import { MatProgressSpinner } from '@angular/material/progress-spinner';
10 10
 import { MatIcon } from '@angular/material/icon';
11 11
 import { TenantService } from '../../services/tenant.service';
12 12
 import { Tenant, TenantRequest } from '../../models/tenant.model';
13
-import { EnterNavigationDirective } from 'ng-base';
13
+import { EnterNavigationDirective } from 'base-core';
14 14
 
15 15
 @Component({
16 16
   selector: 'app-tenant-list',

+ 1
- 1
src/app/services/auth.service.ts Ver fichero

@@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http';
3 3
 import { Observable, BehaviorSubject, throwError } from 'rxjs';
4 4
 import { tap, catchError } from 'rxjs/operators';
5 5
 import { Router } from '@angular/router';
6
-import { ConfigService } from 'ng-base';
6
+import { ConfigService } from 'base-core';
7 7
 
8 8
 // 后端通用响应格式
9 9
 export interface QueryResult<T> {

+ 1
- 1
src/app/services/config-meta.service.ts Ver fichero

@@ -3,7 +3,7 @@ import { HttpClient } from '@angular/common/http';
3 3
 import { Observable, of } from 'rxjs';
4 4
 import { map } from 'rxjs/operators';
5 5
 import { ConfigMeta, ConfigMetaQueryRequest, PaginatedQueryResult } from '../models/config-meta.model';
6
-import { ConfigService } from 'ng-base';
6
+import { ConfigService } from 'base-core';
7 7
 import { QueryResult } from './auth.service';
8 8
 
9 9
 @Injectable({

+ 1
- 1
src/app/services/config.service.spec.ts Ver fichero

@@ -1,6 +1,6 @@
1 1
 import { TestBed } from '@angular/core/testing';
2 2
 
3
-import { ConfigService } from 'ng-base';
3
+import { ConfigService } from 'base-core';
4 4
 
5 5
 describe('ConfigService', () => {
6 6
   let service: ConfigService;

+ 1
- 1
src/app/services/project.service.ts Ver fichero

@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
2 2
 import { HttpClient } from '@angular/common/http';
3 3
 import { Observable, of } from 'rxjs';
4 4
 import { Project, ProjectRequest } from '../models/project.model';
5
-import { ConfigService } from 'ng-base';
5
+import { ConfigService } from 'base-core';
6 6
 
7 7
 @Injectable({
8 8
   providedIn: 'root'

+ 1
- 1
src/app/services/role.service.ts Ver fichero

@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
2 2
 import { HttpClient } from '@angular/common/http';
3 3
 import { Observable, of } from 'rxjs';
4 4
 import { Role, RoleRequest } from '../models/role.model';
5
-import { ConfigService } from 'ng-base';
5
+import { ConfigService } from 'base-core';
6 6
 
7 7
 @Injectable({
8 8
   providedIn: 'root'

+ 1
- 1
src/app/services/tenant.service.ts Ver fichero

@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
2 2
 import { HttpClient } from '@angular/common/http';
3 3
 import { Observable, of } from 'rxjs';
4 4
 import { Tenant, TenantRequest, TabulatorResponse, TabulatorParams } from '../models/tenant.model';
5
-import { ConfigService } from 'ng-base';
5
+import { ConfigService } from 'base-core';
6 6
 
7 7
 @Injectable({
8 8
   providedIn: 'root'

+ 1
- 1
src/app/services/tree.service.spec.ts Ver fichero

@@ -1,6 +1,6 @@
1 1
 import { TestBed } from '@angular/core/testing';
2 2
 
3
-import { TreeService } from 'ng-base';
3
+import { TreeService } from 'base-core';
4 4
 
5 5
 describe('TreeService', () => {
6 6
   let service: TreeService;

+ 1
- 1
src/app/services/user.service.ts Ver fichero

@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
2 2
 import { HttpClient } from '@angular/common/http';
3 3
 import { Observable, of } from 'rxjs';
4 4
 import { User, UserRequest } from '../models/user.model';
5
-import { ConfigService } from 'ng-base';
5
+import { ConfigService } from 'base-core';
6 6
 
7 7
 @Injectable({
8 8
   providedIn: 'root'

+ 2
- 2
tsconfig.json Ver fichero

@@ -19,8 +19,8 @@
19 19
     "module": "ES2022",
20 20
     "baseUrl": "./",
21 21
     "paths": {
22
-      "ng-base": ["../ng-base/dist/ng-base"],
23
-      "ng-base/*": ["../ng-base/dist/ng-base/*"]
22
+      "base-core": ["../base-core/dist/base-core"],
23
+      "base-core/*": ["../base-core/dist/base-core/*"]
24 24
     }
25 25
   },
26 26
   "angularCompilerOptions": {

Loading…
Cancelar
Guardar