196 lines
4.8 KiB
JavaScript
196 lines
4.8 KiB
JavaScript
export const SUPPORT_COUNTRIES = { US: "en", DE: "de", UK: "uk", RU: "ru" };
|
|
|
|
// debug
|
|
export const DEBUG_KEY = "5286";
|
|
export const TESTPANEL_KEY = "5325";
|
|
export const SFT_TEST = "5555";
|
|
export const SFT_TEST2 = "6666";
|
|
export const DEFAULT_SERVERTYPE = "qt2"; //system, qt2, qt, prd
|
|
export const DEFAULT_RIC_CODE = "aic"; //system, aic, eic, ruc
|
|
export const DEBUG_WINDOW_DEVICEID = "testdeviceid";
|
|
export const panel_names = {
|
|
INTRO_PANEL: "intropanel",
|
|
HOME_PANEL: "homepanel",
|
|
MY_PAGE_PANEL: "mypagepanel",
|
|
CATEGORY_PANEL: "categorypanel",
|
|
SEARCH_PANEL: "searchpanel",
|
|
ON_SALE_PANEL: "onsalepanel",
|
|
TRENDING_NOW_PANEL: "trendingnowpanel",
|
|
HOT_PICKS_PANEL: "hotpickpanel",
|
|
CART_PANEL: "cartpanel",
|
|
FEATURED_BRANDS_PANEL: "featuredbrandspanel",
|
|
WELCOME_EVENT_PANEL: "welcomeeventpanel",
|
|
DETAIL_PANEL: "detailpanel",
|
|
PLAYER_PANEL: "playerpanel",
|
|
CHECKOUT_PANEL: "checkoutpanel",
|
|
THEME_CURATION_PANEL: "themeCurationPanel",
|
|
IMAGE_PANEL: "imagepanel",
|
|
|
|
// error
|
|
ERROR_PANEL: "errorpanel",
|
|
|
|
// debug
|
|
DEBUG_PANEL: "debugpanel",
|
|
};
|
|
|
|
//button
|
|
export const TBUTTON_PRESS_DELAY = 100;
|
|
|
|
//search data
|
|
export const SEARCH_DATA_MAX_RESULTS_LIMIT = 30;
|
|
|
|
// getSubCategory data
|
|
export const CATEGORY_DATA_MAX_RESULTS_LIMIT = 20;
|
|
|
|
// popup
|
|
export const ACTIVE_POPUP = {
|
|
alarmOffPopup: "alarmOffPopup",
|
|
couponPopup: "couponPopup",
|
|
exitPopup: "exitPopup",
|
|
favoritePopup: "favoritePopup",
|
|
loginPopup: "loginPopup",
|
|
noShowPopup: "noShowPopup",
|
|
optionPopup: "optionPopup",
|
|
qrPopup: "qrPopup",
|
|
reminderPopup: "reminderPopup",
|
|
termsPopup: "termsPopup",
|
|
timeConflictPopup: "timeConflictPopup",
|
|
};
|
|
export const DEBUG_VIDEO_SUBTITLE_TEST = false;
|
|
export const AUTO_SCROLL_DELAY = 600;
|
|
export const AUTO_SCROLL_GAP = 20;
|
|
export const SINGLE = "SINGLE";
|
|
export const SERIES = "SERIES";
|
|
export const YOUTUBE_VIDEO = "youtube#video";
|
|
export const YOUTUBE_CHANNEL = "youtube#channel";
|
|
export const CP_CONTENT = "CP_CONTENT";
|
|
export const APP = "APP";
|
|
export const PLAN = "PLAN";
|
|
export const ADD_PLAN = "ADD_PLAN";
|
|
export const MORE = "MORE";
|
|
|
|
export const LOG_TP_NO = {
|
|
LIVE: {
|
|
HOME: "100",
|
|
FEATURED_BRANDS: "101",
|
|
FULL: "102",
|
|
ITEM_DETAIL: "103",
|
|
},
|
|
|
|
VOD: {},
|
|
|
|
CURATION: {
|
|
HOT_PICKS: "220",
|
|
ON_SALE: "260",
|
|
HOME: "270",
|
|
CATEGORY: "280",
|
|
},
|
|
|
|
SEACH: "261",
|
|
|
|
SEACH_CLICK: "262",
|
|
|
|
SECOND_LAYER: {},
|
|
|
|
BRANDS: "290",
|
|
|
|
PARTNERS: "500",
|
|
|
|
GNB: "300",
|
|
|
|
HOME: {},
|
|
|
|
PRODUCT: {},
|
|
|
|
DETAIL: {},
|
|
|
|
SHOP_BY_MOBILE: {
|
|
SHOP_BY_MOBILE: "450",
|
|
AGREE_AND_SEND: "452",
|
|
QR_CODE_REDIRECT_AND_CREATE_TRACKING_LOG: "453",
|
|
},
|
|
|
|
TERMS: {
|
|
AGREE: "650",
|
|
DO_NOT_AGREE: "651",
|
|
},
|
|
|
|
MY_INFO: {},
|
|
|
|
COUPON: {},
|
|
|
|
CART: {},
|
|
|
|
CHECK_OUT: {},
|
|
};
|
|
|
|
// log menu name(v 1.0), 변경 여부 유, need a naming convention
|
|
export const LOG_MENU = {
|
|
SYSALERT: "System Alert",
|
|
SECOND_LAYER: "Tv 2depth",
|
|
TV_SEARCH: "Tv Search",
|
|
OVERLAY: "Overlay",
|
|
TV_AD: "Tv Ad",
|
|
TV_HOME: "Tv Home",
|
|
APP: "App",
|
|
LG_CH_QVC: "LG Channel:QVC",
|
|
LG_CH_HSN: "LG Channel:HSN",
|
|
LG_CH_ONTV4U: "LG Channel:OnTV4U",
|
|
UNKNOWN: "Unknown",
|
|
|
|
HOME: "Home",
|
|
CATEGORY: "Category",
|
|
ON_SALE: "On Sale",
|
|
FEATURED_BRANDS: "Featured Brands",
|
|
SEARCH: "Search",
|
|
HOT_PICKS: "Hot Picks",
|
|
PARTNERS: "Partners",
|
|
|
|
LIVE_CHANNELS: "WatchNow/Live Channels",
|
|
LIVE_CHANNELS_BANNER: "WatchNow/Live Channels/Banner",
|
|
ITEM_ON_THE_SHOW: "WatchNow/SHOP NOW",
|
|
UPCOMING: "WatchNow/Trending+Upcoming",
|
|
|
|
TOP_DEALS: "Top Deals",
|
|
TODAY_DEALS: "Top Deals/Today's Deals",
|
|
POPULAR_SHOW: "Top Deals/Popular Show",
|
|
|
|
SUB_PAGE: "Sub Page",
|
|
SUB_PAGE_UPCOMING: "Sub Page/Upcoming",
|
|
|
|
MYPAGE: "My Page",
|
|
MYPAGE_FAVORITES: "My Page/Favorites",
|
|
MYPAGE_MY_INFO: "My Page/My Info",
|
|
MYPAGE_RECENTLY_VIEWED: "My Page/Recentry Viewed",
|
|
MYPAGE_REMINDERS: "My Page/Reminders",
|
|
MYPAGE_REMINDERS_SHOW: "My Page/Reminders/show",
|
|
MYPAGE_REMINDERS_KEYWORD: "My Page/Reminders/keyword",
|
|
MYPAGE_MENU_TERMS: "My Page/Terms of Service",
|
|
MYPAGE_TERMS_PRIVACY: "My Page/Privacy Policy",
|
|
|
|
MYPAGE_SUPPORT: "My Page/Support",
|
|
MYPAGE_SUPPROT_FAQ: "My Page/Support/FAQ",
|
|
MYPAGE_SUPPROT_CONTACT: "My Page/Support/Contact",
|
|
MYPAGE_SUPPROT_NOTICE: "My Page/Support/Notice",
|
|
|
|
MYPAGE_LANGUAGE: "My Page/Language",
|
|
MYPAGE_INFO: "My Page/Info",
|
|
MYPAGE_INPUT: "My Page/Input",
|
|
MYPAGE_PHONEAUTH: "My Page/PhoneAuth",
|
|
|
|
DETAIL_PRODUCT_DETAIL: "Detail Page/Product Detail",
|
|
|
|
DETAIL_VOD_DETAIL: "Detail Page/VOD Detail",
|
|
DETAIL_VOD_DETAIL_POPULAR: "Detail Page/VOD Detail/Popular",
|
|
|
|
DETAIL_THEME_DETAIL: "Detail Page/Theme Detail",
|
|
DETAIL_TRAVEL_DETAIL: "Detail Page/Travel Theme Detail",
|
|
|
|
DETAIL_AD_SINGLE_DETAIL: "Detail Page/Ad Single Detail",
|
|
DETAIL_AD_MULTIPLE_DETAIL: "Detail Page/Ad Multiple Detail",
|
|
|
|
INTRO_TERMS: "Terms of Service",
|
|
INTRO_TERMS_AGREE: "Terms of Service/Agree",
|
|
INTRO_TERMS_DO_NOT_AGREE: "Terms of Service/Do Not Agree",
|
|
};
|