adminforth 1.0.77 → 1.0.78
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/dist/modules/codeInjector.js +3 -0
- package/documentation/docusaurus.config.ts +1 -1
- package/documentation/static/img/favicon.png +0 -0
- package/documentation/static/img/logo.svg +19 -1
- package/modules/codeInjector.ts +3 -1
- package/package.json +1 -1
- package/documentation/static/img/docusaurus.png +0 -0
- package/documentation/static/img/favicon.ico +0 -0
|
@@ -394,6 +394,9 @@ class CodeInjector {
|
|
|
394
394
|
watchCustomComponentsForCopy(_a) {
|
|
395
395
|
return __awaiter(this, arguments, void 0, function* ({ verbose }) {
|
|
396
396
|
const customComponentsDir = this.adminforth.config.customization.customComponentsDir;
|
|
397
|
+
if (!customComponentsDir) {
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
397
400
|
// check if folder exists
|
|
398
401
|
try {
|
|
399
402
|
yield fs.promises.access(customComponentsDir, fs.constants.F_OK);
|
|
@@ -5,7 +5,7 @@ import type * as Preset from '@docusaurus/preset-classic';
|
|
|
5
5
|
const config: Config = {
|
|
6
6
|
title: 'AdminForth',
|
|
7
7
|
tagline: 'AdminForth Open-Source Vue-driven Next-Gen Admin Panel',
|
|
8
|
-
favicon: 'img/favicon.
|
|
8
|
+
favicon: 'img/favicon.png',
|
|
9
9
|
|
|
10
10
|
// Set the production url of your site here
|
|
11
11
|
url: 'https://adminforth.devforth.io',
|
|
Binary file
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
<svg width="
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_1_8)">
|
|
3
|
+
<path d="M8.034 6.006V13H6.097V12.194C5.59433 12.8007 4.86633 13.104 3.913 13.104C3.25433 13.104 2.65633 12.9567 2.119 12.662C1.59033 12.3673 1.17433 11.947 0.871 11.401C0.567667 10.855 0.416 10.2223 0.416 9.503C0.416 8.78367 0.567667 8.151 0.871 7.605C1.17433 7.059 1.59033 6.63867 2.119 6.344C2.65633 6.04933 3.25433 5.902 3.913 5.902C4.80567 5.902 5.50333 6.18367 6.006 6.747V6.006H8.034ZM4.264 11.44C4.77533 11.44 5.2 11.2667 5.538 10.92C5.876 10.5647 6.045 10.0923 6.045 9.503C6.045 8.91367 5.876 8.44567 5.538 8.099C5.2 7.74367 4.77533 7.566 4.264 7.566C3.744 7.566 3.315 7.74367 2.977 8.099C2.639 8.44567 2.47 8.91367 2.47 9.503C2.47 10.0923 2.639 10.5647 2.977 10.92C3.315 11.2667 3.744 11.44 4.264 11.44Z" fill="url(#paint0_linear_1_8)"/>
|
|
4
|
+
<path d="M13.317 5.538C12.589 5.538 12.0387 5.69833 11.666 6.019C11.2933 6.331 11.107 6.80333 11.107 7.436V7.995H14.851V9.685H11.107V13H9.001V7.449C9.001 6.279 9.365 5.369 10.093 4.719C10.8297 4.069 11.8567 3.744 13.174 3.744C13.694 3.744 14.1837 3.80033 14.643 3.913C15.1023 4.017 15.501 4.173 15.839 4.381L15.189 6.045C14.669 5.707 14.045 5.538 13.317 5.538Z" fill="url(#paint1_linear_1_8)"/>
|
|
5
|
+
</g>
|
|
6
|
+
<defs>
|
|
7
|
+
<linearGradient id="paint0_linear_1_8" x1="1.5" y1="6.93333" x2="7.31883" y2="11.8926" gradientUnits="userSpaceOnUse">
|
|
8
|
+
<stop stop-color="#656E7A"/>
|
|
9
|
+
<stop offset="1" stop-color="#99A6B8"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
<linearGradient id="paint1_linear_1_8" x1="12.5" y1="3.73333" x2="9.68642" y2="12.7016" gradientUnits="userSpaceOnUse">
|
|
12
|
+
<stop stop-color="#48C5FF"/>
|
|
13
|
+
<stop offset="1" stop-color="#A1E1FF"/>
|
|
14
|
+
</linearGradient>
|
|
15
|
+
<clipPath id="clip0_1_8">
|
|
16
|
+
<rect width="16" height="16" fill="white"/>
|
|
17
|
+
</clipPath>
|
|
18
|
+
</defs>
|
|
19
|
+
</svg>
|
package/modules/codeInjector.ts
CHANGED
|
@@ -456,7 +456,9 @@ async watchForReprepare({ verbose }) {
|
|
|
456
456
|
|
|
457
457
|
async watchCustomComponentsForCopy({ verbose }) {
|
|
458
458
|
const customComponentsDir = this.adminforth.config.customization.customComponentsDir;
|
|
459
|
-
|
|
459
|
+
if (!customComponentsDir) {
|
|
460
|
+
return;
|
|
461
|
+
}
|
|
460
462
|
// check if folder exists
|
|
461
463
|
try {
|
|
462
464
|
await fs.promises.access(customComponentsDir, fs.constants.F_OK);
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|