"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.HEADER_KEY_PATH_DASHBOARD = exports.LIST_DAY_OF_WEEK = exports.TITLE_ACTIVITY_HISTORY = exports.PATH_ACTIVITY_HISTORY = exports.MENU_ACTIVITY_HISTORY_CHILD = exports.LOGIN_TYPE = exports.requestMaxDuration = exports.SECRET_KEY = exports.IV_LENGTH = exports.KEY_COEFFICIENT_SEMESTER_II = exports.KEY_COEFFICIENT_SEMESTER_I = exports.SIZE_DEFAULT = exports.AUTHENTICATED = exports.BUS_SERVICE_TYPE_BUS = exports.BUS_SERVICE_TYPE_BTN = exports.PARENT_MOM = exports.PARENT_DAD = exports.KEY_PROFILE_TEACHER = exports.KEY_PARENT_STUDENT = exports.KEY_PROFILE_STUDENT = exports.DF_MENU_HOVER_BG_COLOR = exports.DF_MENU_ICON_ACTICE_COLOR = exports.DF_MENU_ICON_AND_TEXT_HOVER_COLOR = exports.DF_MENU_ICON_HOVER_COLOR = exports.DF_MENU_ICON_COLOR = exports.DF_MENU_BG_ACTIVE_COLOR = exports.DF_MENU_TEXT_COLOR = exports.DF_MENU_BG_COLOR = exports.DF_SEARCH_TEXT_COLOR = exports.DF_SEARCH_BORDER_HOVER_COLOR = exports.DF_SEARCH_BORDER_COLOR = exports.DF_SEARCH_BG_COLOR = exports.DF_SEARCH_ICON_COLOR = exports.DF_SKELETON_COLOR = exports.DF_HEADER_BG_COLOR = exports.DEFAULT_LOGO_DASHBOARD = exports.DEFAULT_LOGO_LOGIN = exports.DEFAULT_AVATAR = exports.ROLE_TEACHER = exports.TEACHER_TYPE_LEADER = exports.ROLE_SV = exports.KEY_QUERY_SETTING = exports.KEY_LOGIN_LOGO = exports.switchSchool = exports.superAdmin = exports.admin = exports.ROUTE_DASHBOARD = exports.loginPage = exports.COOKIE_REFRESH_TOKEN = exports.COOKIE_SESSION_SIGN_IN = void 0;
exports.PHONE_NUMBER_REGEX = exports.EMAIL_REGEX = exports.NOT_FOUND_ID = exports.DEFAULT_COLOR_COLUMN_CHART = exports.GRPC_HOSTNAME_QUERY_ALL_SCHOOL = exports.GRPC_HOSTNAME_DEV_PORTAL = exports.GRPC_HOSTNAME_DATA_CENTER = exports.HEADER_KEY_REQUIRED_SCHOOL_ID = void 0;
exports.COOKIE_SESSION_SIGN_IN = 'phx_session';
exports.COOKIE_REFRESH_TOKEN = 'refresh_token';
exports.loginPage = '/login-sso';
exports.ROUTE_DASHBOARD = '/dashboard';
exports.admin = 'admin';
exports.superAdmin = 'DEV';
exports.switchSchool = 'SWITCH';
exports.KEY_LOGIN_LOGO = 'login_logo';
exports.KEY_QUERY_SETTING = 'appearance';
exports.ROLE_SV = 'SV';
exports.TEACHER_TYPE_LEADER = '1';
exports.ROLE_TEACHER = 'GV';
exports.DEFAULT_AVATAR = 'https://static-data-sisv2.phx-smartschool.com/common/prod/avatar/default_avatar.png';
exports.DEFAULT_LOGO_LOGIN = 'https://static-data-sisv2.phx-smartschool.com/demo-school/prod/phx-logo.png';
exports.DEFAULT_LOGO_DASHBOARD = 'https://static-data-sisv2.phx-smartschool.com/demo-school/prod/phx-logo.png';
exports.DF_HEADER_BG_COLOR = '#1a1a1a';
exports.DF_SKELETON_COLOR = '#334155';
exports.DF_SEARCH_ICON_COLOR = '#374151';
exports.DF_SEARCH_BG_COLOR = '#414141';
exports.DF_SEARCH_BORDER_COLOR = '#818181';
exports.DF_SEARCH_BORDER_HOVER_COLOR = '#e5e7eb';
exports.DF_SEARCH_TEXT_COLOR = '#374151';
exports.DF_MENU_BG_COLOR = '#f1f1f1';
exports.DF_MENU_TEXT_COLOR = '#374151';
exports.DF_MENU_BG_ACTIVE_COLOR = '#fff';
exports.DF_MENU_ICON_COLOR = '#374151';
exports.DF_MENU_ICON_HOVER_COLOR = '#a5f3fc';
exports.DF_MENU_ICON_AND_TEXT_HOVER_COLOR = '#374151';
exports.DF_MENU_ICON_ACTICE_COLOR = '#374151';
exports.DF_MENU_HOVER_BG_COLOR = '#fff';
exports.KEY_PROFILE_STUDENT = 'profile_student';
exports.KEY_PARENT_STUDENT = 'profile_parent';
exports.KEY_PROFILE_TEACHER = 'profile_teacher';
exports.PARENT_DAD = 'DAD';
exports.PARENT_MOM = 'MOM';
exports.BUS_SERVICE_TYPE_BTN = 'BTN'; // tại nhà
exports.BUS_SERVICE_TYPE_BUS = 'BUS'; // tại điểm
exports.AUTHENTICATED = 'authenticated';
// link size default của ảnh
exports.SIZE_DEFAULT = 'original';
exports.KEY_COEFFICIENT_SEMESTER_I = 1;
exports.KEY_COEFFICIENT_SEMESTER_II = 2;
exports.IV_LENGTH = 16;
exports.SECRET_KEY = '207d0732fb1c410b55d83ef7a320418a02e8a5f1a4ae5fa22daeb43f1c8eb2f2';
exports.requestMaxDuration = 5; // mặc định 100
exports.LOGIN_TYPE = {
    GOOGLE: {
        code: 'GOOGLE',
        text: 'Đăng nhập bằng Google',
    },
    MICROSOFT: {
        code: 'MICROSOFT',
        text: 'Đăng nhập bằng Microsoft',
    },
    EMAIL_OTP: {
        code: 'EMAIL_OTP',
        text: 'Đăng nhập bằng email otp',
    },
};
exports.MENU_ACTIVITY_HISTORY_CHILD = [
    {
        name: 'Lịch sử export/import',
        code: 'ACTIVITY_HISTORY_LIST',
        path: '/list',
        current: true,
        child: [],
    },
    {
        name: 'Lịch sử thao tác',
        code: 'ACTIVITY_HISTORY_USER',
        path: '/user',
        current: false,
        child: [],
    },
];
exports.PATH_ACTIVITY_HISTORY = 'activity-history';
exports.TITLE_ACTIVITY_HISTORY = 'Lịch sử hoạt động';
exports.LIST_DAY_OF_WEEK = ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'];
// config grpc
exports.HEADER_KEY_PATH_DASHBOARD = 'x-client-path';
exports.HEADER_KEY_REQUIRED_SCHOOL_ID = 'x-strict-tenant';
exports.GRPC_HOSTNAME_DATA_CENTER = 'data-center';
exports.GRPC_HOSTNAME_DEV_PORTAL = 'dev-portal';
exports.GRPC_HOSTNAME_QUERY_ALL_SCHOOL = 'all-school';
exports.DEFAULT_COLOR_COLUMN_CHART = '#dd75c1';
exports.NOT_FOUND_ID = -1;
exports.EMAIL_REGEX = /(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))/;
exports.PHONE_NUMBER_REGEX = /^(0|84)(3|5|7|8|9)[0-9]{8}$/;
//# sourceMappingURL=constants.js.map