thainv: ghép navigation

This commit is contained in:
nguyen van thai
2024-06-17 11:48:00 +07:00
parent c2b9208746
commit 3c75c89a8b
30 changed files with 856 additions and 108 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
export { PublishTypes as publishTypes } from "./publishTypes.enum";
export { categoryTypes } from "./categoryTypes.enum";
export { templates, layouts, dataTypes, dataQuery, sectionTypes, sectionTaxonomy, enumPageType, enumPageSectionLayouts, enumPageComponentLayouts, enumPageComponentTemplates } from "./page.enum";
export { templates, layouts, dataTypes, dataQuery, sectionTypes, sectionTaxonomy, enumPageType, enumPageSectionLayouts, enumPageComponentLayouts, enumPageComponentTemplates, enumPageComponentStaticChild } from "./page.enum";
export { enumStatus } from "./status.enum";
export { actionCommands } from "./actionCommands.enum";
export { moduleCodes } from "./module.enum";
+13 -1
View File
@@ -119,7 +119,9 @@ export const enumPageComponentTemplates = { // KHÔNG ĐƯỢC XÓA KEY - BIẾN
QUIZ: "Quiz", // Trang quiz
SURVEY: "Survey", // Trang survey
ADVERTISING: "Advertising", // Trang quảng cáo
OTHER: "Other" // Trang khác
OTHER: "Other", // Trang khác
NAVIGATION: "Navigation" // Navigation
};
export const enumPageComponentLayouts = {
@@ -137,6 +139,11 @@ export const enumPageComponentLayouts = {
NONE: "None",
'DEFAULT': "DEFAULT"
},
[`${enumPageComponentTemplates.NAVIGATION}`]: {
'NAVIGATION-TOP': "TYPE:Navigation-PLACEMENT:Top",
'NAVIGATION-BOTTOM': "TYPE:Navigation-PLACEMENT:Bottom",
'NAVIGATION-DIRECTION': 'TYPE:Navigation-PLACEMENT:Direction',
},
[`${enumPageComponentTemplates.COLLECTION}`]: {
'ARTICLE-VERTICAL-|HORIZONTAL|-MAX_5': 'TYPE:Article-LAYOUT:vertical-DATA:HORIZONTAL-MAX:5'
},
@@ -148,3 +155,8 @@ export const enumPageComponentLayouts = {
}
};
export const enumPageComponentStaticChild = {
LAYOUT: "Layout", // Không xác định
DEFAULT: "Default", // Chuyên trang
};