Skip to content

Commit f4c2fd9

Browse files
chore(utility): change import style and locations, remove unncecessary comments and update comments, remove unnecessary interface and service, use Number from local utility instead of dist by Duratiion.
1 parent 8821efd commit f4c2fd9

File tree

12 files changed

+24
-184
lines changed

12 files changed

+24
-184
lines changed

src/utility/active/src/active.service.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
// @angular.
22
import { Injectable } from '@angular/core';
33

4-
// Class.
5-
import { Active } from './active.class';
4+
// Active.
5+
import {
6+
// Class.
7+
Active
8+
} from './active.class';
69

710
/**
811
*

src/utility/align/src/align.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Class.
2-
import { Name } from '../../../name/src/name.class';
2+
import { Name } from '../../name';
33

44
/**
55
*

src/utility/blur/src/blur.service.ts

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
// @angular.
22
import { Injectable } from '@angular/core';
3-
import { Levels, Scale } from '../../scale';
43

54
// Scale.
6-
// import { ScaleService } from '../../scale';
5+
import {
6+
// Type.
7+
Levels,
78

8-
// @Injectable()
9-
// export class BlurService<
10-
// Prefix extends string | undefined
11-
// > extends ScaleService<`${Prefix}-blur`> {
12-
// constructor() {
13-
// super();
14-
// }
15-
// }
9+
// Class.
10+
Scale,
11+
} from '../../scale';
1612

1713
@Injectable()
1814
export class BlurService<

src/utility/color/src/color.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Class.
2-
import { Name } from '../../../name';
2+
import { Name } from '../../name';
33

44
// Type.
55
import { Colors } from '../type/colors.type';

src/utility/color/src/css-property-color.class.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// Class.
2-
import { AffixedName } from '../../../name';
1+
// Name.
2+
import { AffixedName } from '../../name';
3+
4+
// Color.
35
import { Color } from './color.class';
46

57
// Type.

src/utility/expandable/src/expandable.class.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
// Status.
1+
// Ability.
22
import { Ability } from '../../ability';
3+
4+
// Status.
35
import { Status } from '../../lib/status.class';
46

57
/**

src/utility/expandable/src/expandable.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Class.
1+
// @angular.
22
import { Injectable } from '@angular/core';
33

44
// Expandable.

src/utility/interface/avatar-config.interface.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/utility/lib/common-service.ts

Lines changed: 0 additions & 148 deletions
This file was deleted.

src/utility/lib/duration.class.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { Subject } from 'rxjs';
33

44
// Range.
5-
import { Number } from 'dist/range';
5+
import { Number } from '../range';
66

77
/**
88
*

0 commit comments

Comments
 (0)