@hhgtech/hhg-components
Version:
Hello Health Group common components
107 lines (106 loc) • 3.54 kB
TypeScript
import { LocaleType } from "../../interfaces/types";
import { BmrActiveLevel, CareLocalisedSlugsType } from "./types";
export declare const POST_DATE_FORMAT = "dd/MM/yyyy";
export declare const NORMAL_DATE_FORMAT = "YYYY-MM-DD";
export declare const DUE_DATE_FORMAT = "DD/MM/YYYY";
export declare const DEFAULT_AVATAR_IMG = "/images/avatar.jpg";
export declare const DEFAULT_RESULT_IMG = "/images/default.png";
export declare const DEFAULT_IMG = "/images/default-image.jpg";
export declare const BMI_LEVELS: string[];
export declare const BMR_LEVELS: string[];
export declare const CORAL_TOKEN_COOKE = "coral_together_user_token";
export declare const HEALTH_TOOL_TYPE: {
readonly DUE_DATE: "DUE_DATE";
readonly BMI: "BMI";
readonly BMR: "BMR";
readonly OVULATION: "OVULATION";
readonly IFRAME: "IFRAME";
readonly PWG: "PWG";
readonly THR: "THR";
readonly BGC: "BGC";
};
export declare const LOCALE_HEALTH_TOOLS: {
[locale: string]: {
[ht: string]: string;
};
};
export declare const BEARER_TOKEN_COOKIE = "hhg_user_token";
export declare const TOGETHER_DISCLAIMER_COOKIE = "hhg_together_disclaimer";
export declare const BEARER_ADMIN_TOKEN_COOKIE = "together_admin_token";
export declare const Z_INDEX: {
adBlock: number;
articleAdContainer: number;
headerContainerHome: number;
headerContainerPopup: number;
headerContainerPopupSUbLevel: number;
menuSearchInputPopup: number;
menuSearchInputDisplayIcon: number;
menuSearchPopup: number;
};
export declare const BmrActiveLevels: {
name: string;
value: BmrActiveLevel;
icon: string;
description: string;
}[];
export declare const LEAD_CAMPAIGN_CODE = "lmoct7xfr5sv4fv";
export declare const LEAD_TOKEN_COOKIE = "hhg-id";
export declare const GA_TOKEN_COOKIE = "_ga";
export declare const GOOGLE_CALENDAR_AUTH_CLIENT_ID = "1038242799566-esoq4ij201ve5qfp266nbca44scpo3c6.apps.googleusercontent.com";
export declare const FIND_CARE_IFRAME_URL = "https://www.appsheet.com/start/4ba34ebe-3cb6-4c16-8dd4-d074025a5bb6#appName=DependentDropdowns-2711103&group=%5B%5D&page=card&sort=%5B%5D&table=Menu&view=Menu";
export declare const REPORT_REASON_MAP: {
[k: string]: {
label: string;
reportReasonText: string;
};
};
export declare const MB_SOCIAL_LINKS: {
LINKEDIN: string;
FACEBOOK: string;
INSTAGRAM: string;
TWITTER: string;
YOUTUBE: string;
ZALO: string;
};
export declare const INTERNAL_ROLES: string[];
export declare const EXTERNAL_ROLES: string[];
export declare const INTERNAL_PROFILE_ROLES: string[];
export declare const EXTERNAL_PROFILE_ROLES: string[];
export declare const RoleDataMap: {
moderator: {
text: string;
fid: string;
background: string;
};
admin: {
text: string;
fid: string;
background: string;
};
'local-admin': {
text: string;
fid: string;
background: string;
};
expert: {
text: string;
fid: string;
background: string;
};
sponsor: {
text: string;
fid: string;
background: string;
};
ambassador: {
text: string;
fid: string;
background: string;
};
};
export declare const MAX_IMAGE_UPLOADS = 20;
export declare const LOCALISED_SLUGS: {
[key in LocaleType]?: {
[key in CareLocalisedSlugsType]: string;
};
};