fontastic 0.1.3 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.node-version +1 -1
- package/angular.json +9 -1
- package/angular.webpack.js +6 -3
- package/app/package-lock.json +4 -4
- package/app/package.json +1 -1
- package/docs/screenshots/readme.md +1 -1
- package/package.json +38 -36
- package/src/app/app.component.html +1 -0
- package/src/app/pages/main/grid/grid.component.html +47 -24
- package/src/app/shared/components/index.ts +1 -0
- package/src/app/shared/components/splash-screen/splash-screen.component.html +5 -0
- package/src/app/shared/components/splash-screen/splash-screen.component.scss +31 -0
- package/src/app/shared/components/splash-screen/splash-screen.component.ts +17 -0
- package/src/app/shared/shared.module.ts +5 -3
- package/src/index.html +1 -43
- package/src/styles/components/tables.scss +4 -4
- package/src/test.ts +1 -6
- package/tsconfig.json +4 -2
package/.node-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
18
|
package/angular.json
CHANGED
|
@@ -190,5 +190,13 @@
|
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
},
|
|
193
|
-
"defaultProject": "angular-electron"
|
|
193
|
+
"defaultProject": "angular-electron",
|
|
194
|
+
"schematics": {
|
|
195
|
+
"@angular-eslint/schematics:application": {
|
|
196
|
+
"setParserOptionsProject": true
|
|
197
|
+
},
|
|
198
|
+
"@angular-eslint/schematics:library": {
|
|
199
|
+
"setParserOptionsProject": true
|
|
200
|
+
}
|
|
201
|
+
}
|
|
194
202
|
}
|
package/angular.webpack.js
CHANGED
|
@@ -8,7 +8,7 @@ module.exports = (config, options) => {
|
|
|
8
8
|
config.target = 'electron-renderer';
|
|
9
9
|
|
|
10
10
|
if (options.fileReplacements) {
|
|
11
|
-
for(let fileReplacement of options.fileReplacements) {
|
|
11
|
+
for (let fileReplacement of options.fileReplacements) {
|
|
12
12
|
if (fileReplacement.replace !== 'src/environments/environment.ts') {
|
|
13
13
|
continue;
|
|
14
14
|
}
|
|
@@ -24,9 +24,12 @@ module.exports = (config, options) => {
|
|
|
24
24
|
config.plugins = [
|
|
25
25
|
...config.plugins,
|
|
26
26
|
new NodePolyfillPlugin({
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
excludeAliases: ["console"]
|
|
28
|
+
})
|
|
29
29
|
];
|
|
30
30
|
|
|
31
|
+
// https://github.com/ryanclark/karma-webpack/issues/497
|
|
32
|
+
config.output.globalObject = 'globalThis';
|
|
33
|
+
|
|
31
34
|
return config;
|
|
32
35
|
}
|
package/app/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "
|
|
3
|
-
"version": "0.1.
|
|
2
|
+
"name": "fontastic",
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
|
-
"name": "
|
|
9
|
-
"version": "0.1.
|
|
8
|
+
"name": "fontastic",
|
|
9
|
+
"version": "0.1.6",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@mozilla/readability": "^0.4.2",
|
|
12
12
|
"electron-is-dev": "^2.0.0",
|
package/app/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fontastic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.7",
|
|
4
4
|
"description": "A gorgeous multi-platform font management application.",
|
|
5
5
|
"homepage": "https://github.com/tomshaw/fontastic",
|
|
6
6
|
"private": false,
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"lint": "ng lint"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@angular/common": "
|
|
42
|
-
"@angular/compiler": "
|
|
43
|
-
"@angular/core": "
|
|
44
|
-
"@angular/forms": "
|
|
45
|
-
"@angular/language-service": "
|
|
46
|
-
"@angular/platform-browser": "
|
|
47
|
-
"@angular/platform-browser-dynamic": "
|
|
48
|
-
"@angular/router": "
|
|
41
|
+
"@angular/common": "15.1.5",
|
|
42
|
+
"@angular/compiler": "15.1.5",
|
|
43
|
+
"@angular/core": "15.1.5",
|
|
44
|
+
"@angular/forms": "15.1.5",
|
|
45
|
+
"@angular/language-service": "15.1.5",
|
|
46
|
+
"@angular/platform-browser": "15.1.5",
|
|
47
|
+
"@angular/platform-browser-dynamic": "15.1.5",
|
|
48
|
+
"@angular/router": "15.1.5",
|
|
49
49
|
"@tailwindcss/forms": "0.5.3",
|
|
50
50
|
"@tailwindcss/typography": "0.5.8",
|
|
51
51
|
"chart.js": "4.1.1",
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
"electron-log": "4.4.8",
|
|
54
54
|
"electron-store": "8.1.0",
|
|
55
55
|
"gsap": "3.11.4",
|
|
56
|
+
"material-icons": "1.13.2",
|
|
56
57
|
"mime": "3.0.0",
|
|
57
58
|
"mysql": "2.18.1",
|
|
58
59
|
"node-machine-id": "1.1.12",
|
|
@@ -60,43 +61,44 @@
|
|
|
60
61
|
"postcss": "8.4.20",
|
|
61
62
|
"pretty-bytes": "6.0.0",
|
|
62
63
|
"reflect-metadata": "0.1.13",
|
|
63
|
-
"rxjs": "7.
|
|
64
|
+
"rxjs": "7.8.0",
|
|
64
65
|
"sqlite3": "5.1.4",
|
|
65
66
|
"sudo-prompt": "9.2.1",
|
|
66
67
|
"ts-md5": "1.3.1",
|
|
67
|
-
"tslib": "^2.
|
|
68
|
+
"tslib": "^2.5.0",
|
|
68
69
|
"typeorm": "0.3.11",
|
|
69
|
-
"zone.js": "~0.
|
|
70
|
+
"zone.js": "~0.12.0"
|
|
70
71
|
},
|
|
71
72
|
"devDependencies": {
|
|
72
|
-
"@angular-builders/custom-webpack": "
|
|
73
|
-
|
|
74
|
-
"@angular-
|
|
75
|
-
"@angular-eslint/
|
|
76
|
-
"@angular-eslint/eslint-plugin
|
|
77
|
-
"@angular-eslint/
|
|
78
|
-
"@angular-eslint/
|
|
79
|
-
"@angular/
|
|
80
|
-
"@angular/
|
|
73
|
+
"@angular-builders/custom-webpack": "15.0.0",
|
|
74
|
+
|
|
75
|
+
"@angular-devkit/build-angular": "15.1.6",
|
|
76
|
+
"@angular-eslint/builder": "15.2.1",
|
|
77
|
+
"@angular-eslint/eslint-plugin": "15.2.1",
|
|
78
|
+
"@angular-eslint/eslint-plugin-template": "15.2.1",
|
|
79
|
+
"@angular-eslint/schematics": "15.2.1",
|
|
80
|
+
"@angular-eslint/template-parser": "15.2.1",
|
|
81
|
+
"@angular/cli": "15.1.6",
|
|
82
|
+
"@angular/compiler-cli": "15.1.5",
|
|
81
83
|
"@ngx-translate/core": "14.0.0",
|
|
82
84
|
"@ngx-translate/http-loader": "7.0.0",
|
|
83
|
-
"@playwright/test": "1.
|
|
84
|
-
"@types/jasmine": "4.3.
|
|
85
|
+
"@playwright/test": "1.30.0",
|
|
86
|
+
"@types/jasmine": "4.3.1",
|
|
85
87
|
"@types/jasminewd2": "2.0.10",
|
|
86
|
-
"@types/node": "18.
|
|
88
|
+
"@types/node": "18.14.0",
|
|
87
89
|
"@types/opentype.js": "1.3.4",
|
|
88
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
89
|
-
"@typescript-eslint/parser": "5.
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "5.48.0",
|
|
91
|
+
"@typescript-eslint/parser": "5.48.0",
|
|
90
92
|
"conventional-changelog-cli": "2.2.2",
|
|
91
|
-
"electron": "
|
|
93
|
+
"electron": "23.1.0",
|
|
92
94
|
"electron-builder": "23.6.0",
|
|
93
95
|
"electron-debug": "3.2.0",
|
|
94
96
|
"electron-reloader": "1.2.3",
|
|
95
|
-
"eslint": "8.
|
|
96
|
-
"eslint-plugin-import": "2.
|
|
97
|
-
"eslint-plugin-jsdoc": "39.
|
|
97
|
+
"eslint": "8.34.0",
|
|
98
|
+
"eslint-plugin-import": "2.27.5",
|
|
99
|
+
"eslint-plugin-jsdoc": "39.7.5",
|
|
98
100
|
"eslint-plugin-prefer-arrow": "1.2.3",
|
|
99
|
-
"jasmine-core": "4.
|
|
101
|
+
"jasmine-core": "4.5.0",
|
|
100
102
|
"jasmine-spec-reporter": "7.0.0",
|
|
101
103
|
"karma": "6.4.1",
|
|
102
104
|
"karma-coverage-istanbul-reporter": "3.0.3",
|
|
@@ -105,17 +107,17 @@
|
|
|
105
107
|
"karma-jasmine-html-reporter": "2.0.0",
|
|
106
108
|
"node-polyfill-webpack-plugin": "2.0.1",
|
|
107
109
|
"npm-run-all": "4.1.5",
|
|
108
|
-
"playwright": "1.
|
|
110
|
+
"playwright": "1.30.0",
|
|
109
111
|
"tailwindcss": "3.2.4",
|
|
110
112
|
"ts-node": "10.9.1",
|
|
111
|
-
"typescript": "4.8.4",
|
|
112
|
-
"wait-on": "
|
|
113
|
+
"typescript": "~4.8.4",
|
|
114
|
+
"wait-on": "7.0.1",
|
|
113
115
|
"webdriver-manager": "12.1.8"
|
|
114
116
|
},
|
|
115
117
|
"engines": {
|
|
116
|
-
"node": ">= 14.
|
|
118
|
+
"node": ">= 14.20.0 || >= 16.13.0 || >= 18.10.0"
|
|
117
119
|
},
|
|
118
120
|
"browserslist": [
|
|
119
|
-
"chrome
|
|
121
|
+
"chrome 110"
|
|
120
122
|
]
|
|
121
123
|
}
|
|
@@ -6,19 +6,32 @@
|
|
|
6
6
|
<thead>
|
|
7
7
|
<tr>
|
|
8
8
|
<th class="sorting sort_center sort_input" (click)="handleSort('activated')">
|
|
9
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'activated'"
|
|
10
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'activated'"
|
|
9
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'activated'">arrow_drop_up</span>
|
|
10
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'activated'">arrow_drop_down</span>
|
|
11
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'activated'">swap_vert</span>
|
|
11
12
|
</th>
|
|
12
13
|
<th class="sorting sort_center sort_input" (click)="handleSort('temporary')" *ngIf="isWindows">
|
|
13
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'temporary'"
|
|
14
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'temporary'"
|
|
14
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'temporary'">arrow_drop_up</span>
|
|
15
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'temporary'">arrow_drop_down</span>
|
|
16
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'temporary'">swap_vert</span>
|
|
17
|
+
</th>
|
|
18
|
+
<th class="sorting text-left" (click)="handleSort('id')">
|
|
19
|
+
<span class="flex items-center justify-between w-full">
|
|
20
|
+
<span>ID</span>
|
|
21
|
+
<span>
|
|
22
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'id'">arrow_drop_up</span>
|
|
23
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'id'">arrow_drop_down</span>
|
|
24
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'id'">swap_vert</span>
|
|
25
|
+
</span>
|
|
26
|
+
</span>
|
|
15
27
|
</th>
|
|
16
28
|
<th class="sorting text-left" (click)="handleSort('full_name')">
|
|
17
29
|
<span class="flex items-center justify-between w-full">
|
|
18
30
|
<span>Name</span>
|
|
19
31
|
<span>
|
|
20
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'full_name'"
|
|
21
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'full_name'"
|
|
32
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'full_name'">arrow_drop_up</span>
|
|
33
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'full_name'">arrow_drop_down</span>
|
|
34
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'full_name'">swap_vert</span>
|
|
22
35
|
</span>
|
|
23
36
|
</span>
|
|
24
37
|
</th>
|
|
@@ -26,8 +39,9 @@
|
|
|
26
39
|
<span class="flex items-center justify-between w-full">
|
|
27
40
|
<span>Family</span>
|
|
28
41
|
<span>
|
|
29
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'font_family'"
|
|
30
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'font_family'"
|
|
42
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'font_family'">arrow_drop_up</span>
|
|
43
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'font_family'">arrow_drop_down</span>
|
|
44
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'font_family'">swap_vert</span>
|
|
31
45
|
</span>
|
|
32
46
|
</span>
|
|
33
47
|
</th>
|
|
@@ -35,8 +49,9 @@
|
|
|
35
49
|
<span class="flex items-center justify-between w-full">
|
|
36
50
|
<span>Type</span>
|
|
37
51
|
<span>
|
|
38
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'file_type'"
|
|
39
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'file_type'"
|
|
52
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'file_type'">arrow_drop_up</span>
|
|
53
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'file_type'">arrow_drop_down</span>
|
|
54
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'file_type'">swap_vert</span>
|
|
40
55
|
</span>
|
|
41
56
|
</span>
|
|
42
57
|
</th>
|
|
@@ -44,8 +59,9 @@
|
|
|
44
59
|
<span class="flex items-center justify-between w-full">
|
|
45
60
|
<span>Size</span>
|
|
46
61
|
<span>
|
|
47
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'file_size'"
|
|
48
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'file_size'"
|
|
62
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'file_size'">arrow_drop_up</span>
|
|
63
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'file_size'">arrow_drop_down</span>
|
|
64
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'file_size'">swap_vert</span>
|
|
49
65
|
</span>
|
|
50
66
|
</span>
|
|
51
67
|
</th>
|
|
@@ -53,8 +69,9 @@
|
|
|
53
69
|
<span class="flex items-center justify-between w-full">
|
|
54
70
|
<span>Designer</span>
|
|
55
71
|
<span>
|
|
56
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'designer'"
|
|
57
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'designer'"
|
|
72
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'designer'">arrow_drop_up</span>
|
|
73
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'designer'">arrow_drop_down</span>
|
|
74
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'designer'">swap_vert</span>
|
|
58
75
|
</span>
|
|
59
76
|
</span>
|
|
60
77
|
</th>
|
|
@@ -62,8 +79,9 @@
|
|
|
62
79
|
<span class="flex items-center justify-between w-full">
|
|
63
80
|
<span>Manufacturer</span>
|
|
64
81
|
<span>
|
|
65
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'manufacturer'"
|
|
66
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'manufacturer'"
|
|
82
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'manufacturer'">arrow_drop_up</span>
|
|
83
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'manufacturer'">arrow_drop_down</span>
|
|
84
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'manufacturer'">swap_vert</span>
|
|
67
85
|
</span>
|
|
68
86
|
</span>
|
|
69
87
|
</th>
|
|
@@ -71,8 +89,9 @@
|
|
|
71
89
|
<span class="flex items-center justify-between w-full">
|
|
72
90
|
<span>Version</span>
|
|
73
91
|
<span>
|
|
74
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'version'"
|
|
75
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'version'"
|
|
92
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'version'">arrow_drop_up</span>
|
|
93
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'version'">arrow_drop_down</span>
|
|
94
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'version'">swap_vert</span>
|
|
76
95
|
</span>
|
|
77
96
|
</span>
|
|
78
97
|
</th>
|
|
@@ -80,8 +99,9 @@
|
|
|
80
99
|
<span class="flex items-center justify-between w-full">
|
|
81
100
|
<span>Unique Id</span>
|
|
82
101
|
<span>
|
|
83
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'unique_id'"
|
|
84
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'unique_id'"
|
|
102
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'unique_id'">arrow_drop_up</span>
|
|
103
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'unique_id'">arrow_drop_down</span>
|
|
104
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'unique_id'">swap_vert</span>
|
|
85
105
|
</span>
|
|
86
106
|
</span>
|
|
87
107
|
</th>
|
|
@@ -89,8 +109,9 @@
|
|
|
89
109
|
<span class="flex items-center justify-between w-full">
|
|
90
110
|
<span>Created</span>
|
|
91
111
|
<span>
|
|
92
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'created'"
|
|
93
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'created'"
|
|
112
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'created'">arrow_drop_up</span>
|
|
113
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'created'">arrow_drop_down</span>
|
|
114
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'created'">swap_vert</span>
|
|
94
115
|
</span>
|
|
95
116
|
</span>
|
|
96
117
|
</th>
|
|
@@ -98,8 +119,9 @@
|
|
|
98
119
|
<span class="flex items-center justify-between w-full">
|
|
99
120
|
<span>Updated</span>
|
|
100
121
|
<span>
|
|
101
|
-
<span *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'updated'"
|
|
102
|
-
<span *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'updated'"
|
|
122
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'DESC' && queryOptions.order.column === 'updated'">arrow_drop_up</span>
|
|
123
|
+
<span class="material-icons" *ngIf="queryOptions.order.direction === 'ASC' && queryOptions.order.column === 'updated'">arrow_drop_down</span>
|
|
124
|
+
<span class="material-icons" *ngIf="queryOptions.order.column !== 'updated'">swap_vert</span>
|
|
103
125
|
</span>
|
|
104
126
|
</span>
|
|
105
127
|
</th>
|
|
@@ -138,6 +160,7 @@
|
|
|
138
160
|
</ng-template>
|
|
139
161
|
</ng-container>
|
|
140
162
|
|
|
163
|
+
<td class="text-left">{{ item.id }}</td>
|
|
141
164
|
<td class="text-left">{{ item.full_name }}</td>
|
|
142
165
|
<td class="text-left">{{ item.font_family }}</td>
|
|
143
166
|
<td class="text-center">{{ item.file_type }}</td>
|
|
@@ -13,4 +13,5 @@ export * from './search/search.component';
|
|
|
13
13
|
export * from './settings/settings.component';
|
|
14
14
|
export * from './store/store.component';
|
|
15
15
|
export * from './spinner/spinner.component';
|
|
16
|
+
export * from './splash-screen/splash-screen.component';
|
|
16
17
|
export * from './typescale/typescale.component';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
.splash-screen {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
position: absolute;
|
|
6
|
+
top: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
background-color: #fff;
|
|
11
|
+
.d {
|
|
12
|
+
font-size: 28px;
|
|
13
|
+
animation: dots 1.5s ease-out infinite;
|
|
14
|
+
}
|
|
15
|
+
.d-2 {
|
|
16
|
+
animation-delay: .5s;
|
|
17
|
+
}
|
|
18
|
+
.d-3 {
|
|
19
|
+
animation-delay: 1s;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@keyframes dots {
|
|
24
|
+
50% {
|
|
25
|
+
transform: translateY(-.4rem);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
100% {
|
|
29
|
+
transform: translateY(0);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Component, OnInit } from '@angular/core';
|
|
2
|
+
|
|
3
|
+
@Component({
|
|
4
|
+
selector: 'app-splash-screen',
|
|
5
|
+
templateUrl: './splash-screen.component.html',
|
|
6
|
+
styleUrls: ['./splash-screen.component.scss']
|
|
7
|
+
})
|
|
8
|
+
export class SplashScreenComponent implements OnInit {
|
|
9
|
+
showSplash = true;
|
|
10
|
+
|
|
11
|
+
constructor() { }
|
|
12
|
+
|
|
13
|
+
ngOnInit(): void {
|
|
14
|
+
setTimeout(() => this.showSplash = !this.showSplash, 1e3);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
}
|
|
@@ -3,7 +3,7 @@ import { CommonModule } from '@angular/common';
|
|
|
3
3
|
import { RouterModule } from '@angular/router';
|
|
4
4
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
5
5
|
import { TranslateModule } from '@ngx-translate/core';
|
|
6
|
-
import { AlertComponent, BreadcrumbsComponent, ButtonComponent, GlyphListComponent, GlyphViewComponent, LoadingComponent, ModalComponent, PageNotFoundComponent, PaginatorComponent, PairingComponent, SpinnerComponent, SearchComponent, SettingsComponent, StoreComponent, TablesComponent, TypescaleComponent } from './components/';
|
|
6
|
+
import { AlertComponent, BreadcrumbsComponent, ButtonComponent, GlyphListComponent, GlyphViewComponent, LoadingComponent, ModalComponent, PageNotFoundComponent, PaginatorComponent, PairingComponent, SpinnerComponent, SplashScreenComponent, SearchComponent, SettingsComponent, StoreComponent, TablesComponent, TypescaleComponent } from './components/';
|
|
7
7
|
import { WebviewDirective, GravatarDirective } from './directives/';
|
|
8
8
|
import { SafeHtmlPipe } from './pipes/safehtml.pipe';
|
|
9
9
|
import { PrettyBytesPipe } from './pipes/prettybytes.pipe';
|
|
@@ -52,7 +52,8 @@ import { FormCollectionComponent } from './components/collection/form-collection
|
|
|
52
52
|
SystemComponent,
|
|
53
53
|
CreateCollectionComponent,
|
|
54
54
|
UpdateCollectionComponent,
|
|
55
|
-
FormCollectionComponent
|
|
55
|
+
FormCollectionComponent,
|
|
56
|
+
SplashScreenComponent
|
|
56
57
|
],
|
|
57
58
|
imports: [
|
|
58
59
|
CommonModule,
|
|
@@ -86,7 +87,8 @@ import { FormCollectionComponent } from './components/collection/form-collection
|
|
|
86
87
|
SystemComponent,
|
|
87
88
|
CreateCollectionComponent,
|
|
88
89
|
UpdateCollectionComponent,
|
|
89
|
-
FormCollectionComponent
|
|
90
|
+
FormCollectionComponent,
|
|
91
|
+
SplashScreenComponent
|
|
90
92
|
]
|
|
91
93
|
})
|
|
92
94
|
export class SharedModule { }
|
package/src/index.html
CHANGED
|
@@ -8,48 +8,6 @@
|
|
|
8
8
|
<link rel="icon" type="image/x-icon" href="assets/icons/favicon.ico">
|
|
9
9
|
</head>
|
|
10
10
|
<body class="app-loading" data-theme="default">
|
|
11
|
-
<app-root>
|
|
12
|
-
<style>
|
|
13
|
-
app-root {
|
|
14
|
-
display: flex;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
align-items: center;
|
|
17
|
-
height: 100vh;
|
|
18
|
-
color: pink;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
body {
|
|
22
|
-
background: #fff;
|
|
23
|
-
margin: 0;
|
|
24
|
-
padding: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@keyframes dots {
|
|
28
|
-
50% {
|
|
29
|
-
transform: translateY(-.4rem);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
100% {
|
|
33
|
-
transform: translateY(0);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.d {
|
|
38
|
-
animation: dots 1.5s ease-out infinite;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.d-2 {
|
|
42
|
-
animation-delay: .5s;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.d-3 {
|
|
46
|
-
animation-delay: 1s;
|
|
47
|
-
}
|
|
48
|
-
</style>
|
|
49
|
-
|
|
50
|
-
<span class="d">.</span>
|
|
51
|
-
<span class="d d-2">.</span>
|
|
52
|
-
<span class="d d-3">.</span>
|
|
53
|
-
</app-root>
|
|
11
|
+
<app-root></app-root>
|
|
54
12
|
</body>
|
|
55
13
|
</html>
|
|
@@ -21,7 +21,7 @@ Tables
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
th {
|
|
24
|
-
@apply cursor-pointer
|
|
24
|
+
@apply cursor-pointer px-3 py-1.5;
|
|
25
25
|
.material-icons {
|
|
26
26
|
color: #fff;
|
|
27
27
|
}
|
|
@@ -31,9 +31,9 @@ Tables
|
|
|
31
31
|
@apply p-3;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
th:not(.sort_input) {
|
|
35
|
-
|
|
36
|
-
}
|
|
34
|
+
// th:not(.sort_input) {
|
|
35
|
+
// min-width: 160px;
|
|
36
|
+
// }
|
|
37
37
|
|
|
38
38
|
th.sort_input {
|
|
39
39
|
min-width: 40px;
|
package/src/test.ts
CHANGED
|
@@ -7,16 +7,11 @@ import {
|
|
|
7
7
|
platformBrowserDynamicTesting
|
|
8
8
|
} from '@angular/platform-browser-dynamic/testing';
|
|
9
9
|
|
|
10
|
-
declare const require: any;
|
|
11
10
|
|
|
12
11
|
// First, initialize the Angular testing environment.
|
|
13
12
|
getTestBed().initTestEnvironment(
|
|
14
13
|
BrowserDynamicTestingModule,
|
|
15
14
|
platformBrowserDynamicTesting(), {
|
|
16
15
|
teardown: { destroyAfterEach: false }
|
|
17
|
-
}
|
|
16
|
+
}
|
|
18
17
|
);
|
|
19
|
-
// Then we find all the tests.
|
|
20
|
-
const context = require.context('./', true, /\.spec\.ts$/);
|
|
21
|
-
// And load the modules.
|
|
22
|
-
context.keys().map(context);
|
package/tsconfig.json
CHANGED
|
@@ -2,23 +2,25 @@
|
|
|
2
2
|
"compileOnSave": false,
|
|
3
3
|
"compilerOptions": {
|
|
4
4
|
"outDir": "./dist/out-tsc",
|
|
5
|
-
"module": "
|
|
5
|
+
"module": "es2022",
|
|
6
6
|
"sourceMap": true,
|
|
7
7
|
"declaration": false,
|
|
8
8
|
"moduleResolution": "node",
|
|
9
9
|
"emitDecoratorMetadata": true,
|
|
10
10
|
"experimentalDecorators": true,
|
|
11
11
|
"allowJs": true,
|
|
12
|
-
"target": "
|
|
12
|
+
"target": "es2022",
|
|
13
13
|
"typeRoots": [
|
|
14
14
|
"node_modules/@types"
|
|
15
15
|
],
|
|
16
16
|
"lib": [
|
|
17
|
+
"es2018",
|
|
17
18
|
"es2017",
|
|
18
19
|
"es2016",
|
|
19
20
|
"es2015",
|
|
20
21
|
"dom"
|
|
21
22
|
],
|
|
23
|
+
"useDefineForClassFields": false,
|
|
22
24
|
"baseUrl": "src",
|
|
23
25
|
"paths": {
|
|
24
26
|
"@app/*": ["app/*"],
|