adminforth
Advanced tools
Comparing version 1.7.0-next.5 to 1.7.0-next.6
@@ -95,5 +95,6 @@ import fs from 'fs'; | ||
sidebar: [], | ||
everyPageBottom: [], | ||
}; | ||
if ((_c = this.inputConfig.customization) === null || _c === void 0 ? void 0 : _c.globalInjections) { | ||
const ALLOWED_GLOBAL_INJECTIONS = ['userMenu', 'header', 'sidebar']; | ||
const ALLOWED_GLOBAL_INJECTIONS = ['userMenu', 'header', 'sidebar', 'everyPageBottom']; | ||
Object.keys(this.inputConfig.customization.globalInjections).forEach((injection) => { | ||
@@ -100,0 +101,0 @@ if (ALLOWED_GLOBAL_INJECTIONS.includes(injection)) { |
@@ -171,2 +171,5 @@ import { ADMINFORTH_VERSION, listify } from './utils.js'; | ||
loginPageInjections: this.adminforth.config.customization.loginPageInjections, | ||
globalInjections: { | ||
everyPageBottom: this.adminforth.config.customization.globalInjections.everyPageBottom, | ||
}, | ||
rememberMeDays: this.adminforth.config.auth.rememberMeDays, | ||
@@ -173,0 +176,0 @@ }; |
@@ -711,2 +711,3 @@ import type { Express } from 'express'; | ||
sidebar?: AdminForthComponentDeclaration | Array<AdminForthComponentDeclaration>, | ||
everyPageBottom?: AdminForthComponentDeclaration | Array<AdminForthComponentDeclaration>, | ||
} | ||
@@ -988,2 +989,3 @@ } | ||
sidebar: Array<AdminForthComponentDeclarationFull>, | ||
everyPageBottom: Array<AdminForthComponentDeclarationFull>, | ||
}, | ||
@@ -990,0 +992,0 @@ } |
@@ -969,2 +969,3 @@ | ||
sidebar: Array<AdminForthComponentDeclarationFull>, | ||
everyPageBottom: Array<AdminForthComponentDeclarationFull>, | ||
} | ||
@@ -971,0 +972,0 @@ } |
@@ -686,2 +686,3 @@ /// <reference types="node" resolution-mode="require"/> | ||
sidebar?: AdminForthComponentDeclaration | Array<AdminForthComponentDeclaration>; | ||
everyPageBottom?: AdminForthComponentDeclaration | Array<AdminForthComponentDeclaration>; | ||
}; | ||
@@ -922,2 +923,3 @@ } | ||
sidebar: Array<AdminForthComponentDeclarationFull>; | ||
everyPageBottom: Array<AdminForthComponentDeclarationFull>; | ||
}; | ||
@@ -924,0 +926,0 @@ } |
@@ -857,2 +857,3 @@ /** | ||
sidebar: Array<AdminForthComponentDeclarationFull>; | ||
everyPageBottom: Array<AdminForthComponentDeclarationFull>; | ||
}; | ||
@@ -859,0 +860,0 @@ } |
{ | ||
"name": "adminforth", | ||
"version": "1.7.0-next.5", | ||
"version": "1.7.0-next.6", | ||
"description": "OpenSource Vue3 powered forth-generation admin panel", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1162492
17224