287 lines
7.8 KiB
JavaScript
287 lines
7.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 = "system"; //system, qt2, qt, prd
|
|
export const DEFAULT_RIC_CODE = "system"; //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",
|
|
CONFIRM_PANEL: "confirmpanel",
|
|
DETAIL_PANEL: "detailpanel",
|
|
PLAYER_PANEL: "playerpanel",
|
|
CHECKOUT_PANEL: "checkoutpanel",
|
|
THEME_CURATION_PANEL: "themeCurationPanel",
|
|
IMAGE_PANEL: "imagepanel",
|
|
SERVICE_UNAVAILABLE: "servicepanel",
|
|
// 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;
|
|
|
|
// getMyinfoOrderSearch data
|
|
export const GET_MY_INFO_ORDER_SEARCH_LIMIT = 5;
|
|
|
|
// popup
|
|
export const ACTIVE_POPUP = {
|
|
alarmOffPopup: "alarmOffPopup",
|
|
alarmOnPopup: "alarmOnPopup",
|
|
couponPopup: "couponPopup",
|
|
exitPopup: "exitPopup",
|
|
favoritePopup: "favoritePopup",
|
|
loginPopup: "loginPopup",
|
|
noShowPopup: "noShowPopup",
|
|
optionPopup: "optionPopup",
|
|
qrPopup: "qrPopup",
|
|
qrPopup2: "qrPopup2",
|
|
reminderPopup: "reminderPopup",
|
|
termsPopup: "termsPopup",
|
|
timeConflictPopup: "timeConflictPopup",
|
|
descriptionPopup: "descriptionPopup",
|
|
eventPopup: "eventPopup",
|
|
smsPopup: "smsPopup",
|
|
alertPopup: "alertPopup",
|
|
setPinCodePopup: "setPinCodePopup",
|
|
hotPicksSmsPopup: "hotPicksSmsPopup",
|
|
watchPopup: "watchPopup",
|
|
orderCancelReason: "orderCancelReason",
|
|
orderDetailPopup: "orderDetailPopup",
|
|
orderDetailCancel: "orderDetailCancel",
|
|
errorPopup: "errorPopup",
|
|
};
|
|
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 MYINFO_TABS = {
|
|
PAYMENT: 0,
|
|
BILLING_ADDRESS: 1,
|
|
SHIPPING_ADDRESS: 2,
|
|
COUPON: 3,
|
|
};
|
|
|
|
export const LOG_TP_NO = {
|
|
LIVE: {
|
|
HOME: "100",
|
|
FEATURED_BRANDS: "101",
|
|
FULL: "102",
|
|
ITEM_DETAIL: "103",
|
|
},
|
|
|
|
// TrendingNowPanel = VOD
|
|
// HomePanel = VOD, Live
|
|
// FeaturedBrandsPaenl = Live
|
|
// HotPicksPanel = Media
|
|
// DetailPanel = Media
|
|
|
|
// 150, 151, 153, 154, 155, 156
|
|
VOD: {
|
|
// Everywhere, Full, VOD
|
|
FULL_VOD: "150",
|
|
|
|
// TrendingNowPanel and HotPicksPanel, Modal
|
|
POPULAR_SHOWS_AND_HOT_PICKS: "151",
|
|
|
|
// * no cases *, FeaturedBrandsPanel(Recommended Shwos, Featured creators), Modal, VOD
|
|
FEATURED_BRANDS_VOD: "152",
|
|
|
|
// HomePanel(Top), Modal, VOD
|
|
HOME_VOD: "153",
|
|
|
|
ITEM_DETAIL_VOD: "154",
|
|
|
|
// Everywhere, Full, Media
|
|
FULL_MEDIA: "155",
|
|
|
|
// DetailPanel, Modal, Media
|
|
ITEM_DETAIL_MEDIA: "156",
|
|
},
|
|
|
|
CURATION: {
|
|
HOT_PICKS: "220",
|
|
ON_SALE: "260",
|
|
HOME: "270",
|
|
CATEGORY: "280",
|
|
},
|
|
|
|
SEARCH: "261",
|
|
|
|
SEARCH_CLICK: "262",
|
|
|
|
UPCOMING_FLAG: "271",
|
|
|
|
SECOND_LAYER: "210",
|
|
|
|
ALARM_POP: "281",
|
|
|
|
ALARM_CLICK: {
|
|
OK: "282",
|
|
NO: "283",
|
|
},
|
|
|
|
BRANDS: "290",
|
|
|
|
PARTNERS: "500",
|
|
|
|
GNB: "300",
|
|
|
|
TOP_CONTENTS: "310",
|
|
|
|
PRODUCT: {
|
|
PRODUCT_DETAIL: "400",
|
|
GROUP_DETAIL: "408",
|
|
BILLING_PRODUCT_DETAIL: "409",
|
|
PRODUCT_DETAIL_IMAGE: "410",
|
|
},
|
|
|
|
DETAIL: {
|
|
THEME_DETAIL: "402",
|
|
TRAVEL_DETAIL: "406",
|
|
DETAIL_BUTTON_CLICK: "407",
|
|
},
|
|
|
|
THEME_PRODUCT: "411",
|
|
|
|
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: {},
|
|
|
|
MY_PAGE: {
|
|
ALERT_FLAG: "250",
|
|
MY_DELETE: "251",
|
|
NOTICE: "252",
|
|
},
|
|
|
|
COUPON: {},
|
|
|
|
CART: {},
|
|
|
|
CHECK_OUT: {},
|
|
|
|
LG_ACCOUNT_LOGIN: " 700",
|
|
};
|
|
|
|
// TV log update, 로그 layout_240509_Themepage추가.xlsx
|
|
export const LOG_MENU = {
|
|
APP: "App",
|
|
HOME_BANNER_1: "HomeBanner:1",
|
|
HOME_BANNER_2: "HomeBanner:2",
|
|
TVAD_BIG_BANNER: "TVAD:BigBanner",
|
|
TVAD_HOME_LAUNCHER: "TVAD:HomeLauncher",
|
|
TVAD_WEDGE: "TVAD:Wedge",
|
|
TVAD_COMPANION: "TVAD:Companion",
|
|
LG_CHANNEL_QVC: "LG Channel:QVC",
|
|
LG_CHANNEL_HSN: "LG Channel:HSN",
|
|
LG_CHANNEL_ONTV4U: "LG Channel:OnTV4U",
|
|
OVERLAY: "Overlay",
|
|
TV_2DEPTH: "Tv 2depth",
|
|
TV_SEARCH: "TV Search",
|
|
SYSTEM_ALERT: "System Alert",
|
|
UNKNOWN: "Unknown",
|
|
|
|
POP_UP: "Pop Up", // completed
|
|
TERMS_CONDITIONS: "Terms & Conditions", // completed
|
|
|
|
HOME_TOP: "Home/Top", // completed
|
|
HOME_CATEGORY: "Home/Category", // completed
|
|
HOME_ON_SALE: "Home/On Sale", // completed
|
|
HOME_POPULAR_SHOWS: "Home/Popular Shows", // completed
|
|
HOME_BEST_SELLER: "Home/Best Sellers", // completed
|
|
|
|
TRENDING_NOW_POPULAR_SHOWS: "Trending Now/Popular Shows", // completed
|
|
TRENDING_NOW_BEST_SELLER: "Trending Now/Best Sellers", // completed
|
|
|
|
HOT_PICKS: "Hot Picks", // completed
|
|
|
|
ON_SALE: "On Sale", // completed
|
|
|
|
SEARCH_SEARCH: "Search/Search", // completed
|
|
SEARCH_RESULT: "Search/Search Result", // completed
|
|
SEARCH_BEST_SELLER: "Search/Best Sellers", // completed
|
|
|
|
CATEGORY_SHOWS: "Category/Shows", // completed
|
|
CATEGORY_ITEM: "Ctegory/Item", // completed
|
|
CATEGORY_POPULAR_SHOWS: "Category/Popular Shows", // completed
|
|
CATEGORY_BEST_SELLER: "Category/Best Sellers", // completed
|
|
|
|
FEATURED_BRANDS_QUICK_MENU: "Featured Brands/Quick Menu", // pyh todo, 문의, completed
|
|
FEATURED_BRANDS_LIVE_CHANNELS: "Featured Brands/Live Channels", // completed
|
|
FEATURED_BRANDS_UPCOMING: "Featured Brands/Upcoming", // completed
|
|
FEATURED_BRANDS_TODAYS_DEALS: 'Featured Brands/Today"s Deals', // completed
|
|
FEATURED_BRANDS_BEST_SELLER: "Featured Brands/Best Sellers", // completed
|
|
FEATURED_BRANDS_RECOMMENDED_SHOWS: "Featured Brands/Recommended Shows", // completed
|
|
FEATURED_BRANDS_FEATURED_CREATORS: "Featured Brands/Featured Creators", // completed
|
|
FEATURED_BRANDS_SERIES: "Featured Brands/Series", // completed
|
|
FEATURED_BRANDS_CATEGORY: "Featured Brands/Category", // completed
|
|
FEATURED_BRANDS_SHOWROOM: "Featured Brands/Showroom", // completed
|
|
|
|
MY_PAGE: "My Page", // completed
|
|
// MY_PAGE_MY_INFO: "My Page/My Info",
|
|
// MY_PAGE_MY_ORDERS: "My Page/My Orders",
|
|
// MY_PAGE_FAVORITES: "My Page/Favorites",
|
|
// MY_PAGE_RECENTLY_VIEWED: "My Page/Recently Viewed",
|
|
// MY_PAGE_REMINDERS: "My Page/Reminders",
|
|
// MY_PAGE_SUPPORT: "My Page/Support",
|
|
// MY_PAGE_TERMS_OF_SERVICE: "My Page/Terms Of Service",
|
|
// MY_PAGE_SETTINGS: "My Page/Settings",
|
|
|
|
THEME_PAGE: "Theme Page", // completed
|
|
|
|
DETAIL_PAGE_BILLING_PRODUCT_DETAIL: "Detail Page/Billing Product Detail", // completed
|
|
DETAIL_PAGE_PRODUCT_DETAIL: "Detail Page/Product Detail", // completed
|
|
DETAIL_PAGE_TRAVEL_THEME_DETAIL: "Detail Page/Travel Theme Detail", // completed
|
|
DETAIL_PAGE_GROUP_DETAIL: "Detail Page/Group Detail", // completed
|
|
|
|
FULL: "Full", // pyh todo, 문의, completed
|
|
FULL_SHOP_NOW: "Full/Shop Now", // completed
|
|
FULL_YOU_MAY_LIKE: "Full/You May Like", // completed
|
|
FULL_LIVE_CHANNELS: "Full/Live Channels", // completed
|
|
FULL_FEATURED_SHOWS: "Full/Featured Shows", // completed
|
|
|
|
CHECKOUT: "Checkout/Checkout", // pyh todo, 문의, completed
|
|
CHECKOUT_PIN_CODE: "Checkout/PIN Code", // completed
|
|
CHECKOUT_ORDER_COMPLETE: "Checkout/Order Complete", // completed
|
|
};
|