50p82u21t54k 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/50p82u21t54k.es.js +450 -173
- package/dist/50p82u21t54k.umd.js +1 -1
- package/dist/cmsList/index.d.ts +3 -0
- package/dist/cmsList/index.d.ts.map +1 -0
- package/dist/cmsList/method.d.ts +45 -0
- package/dist/cmsList/method.d.ts.map +1 -0
- package/dist/cmsList/type.d.ts +19 -0
- package/dist/cmsList/type.d.ts.map +1 -0
- package/dist/csLink/index.d.ts +3 -0
- package/dist/csLink/index.d.ts.map +1 -0
- package/dist/csLink/method.d.ts +8 -0
- package/dist/csLink/method.d.ts.map +1 -0
- package/dist/csLink/type.d.ts +9 -0
- package/dist/csLink/type.d.ts.map +1 -0
- package/dist/eGame/index.d.ts +3 -0
- package/dist/eGame/index.d.ts.map +1 -0
- package/dist/eGame/method.d.ts +22 -0
- package/dist/eGame/method.d.ts.map +1 -0
- package/dist/eGame/type.d.ts +24 -0
- package/dist/eGame/type.d.ts.map +1 -0
- package/dist/fishGames/type.d.ts +2 -2
- package/dist/fishGames/type.d.ts.map +1 -1
- package/dist/getLocale/index.d.ts +3 -0
- package/dist/getLocale/index.d.ts.map +1 -0
- package/dist/getLocale/method.d.ts +16 -0
- package/dist/getLocale/method.d.ts.map +1 -0
- package/dist/getLocale/type.d.ts +10 -0
- package/dist/getLocale/type.d.ts.map +1 -0
- package/dist/home/method.d.ts.map +1 -1
- package/dist/home/type.d.ts +4 -0
- package/dist/home/type.d.ts.map +1 -1
- package/dist/hotGames/type.d.ts +2 -2
- package/dist/hotGames/type.d.ts.map +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/plugin.d.ts +6 -1
- package/dist/plugin.d.ts.map +1 -1
- package/dist/trialGames/type.d.ts +2 -2
- package/dist/trialGames/type.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/getLocale (incomplete)/index.d.ts +0 -1
- package/dist/getLocale (incomplete)/index.d.ts.map +0 -1
- package/dist/getLocale (incomplete)/method.d.ts +0 -1
- package/dist/getLocale (incomplete)/method.d.ts.map +0 -1
- package/dist/getLocale (incomplete)/type.d.ts +0 -1
- package/dist/getLocale (incomplete)/type.d.ts.map +0 -1
package/dist/50p82u21t54k.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(s,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("axios"),require("vue"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","axios","vue","crypto-js"],c):(s=typeof globalThis<"u"?globalThis:s||self,c(s["50p82u21t54k"]={},s.axios,s.Vue,s.CryptoJS))})(this,function(s,c,E,m){"use strict";const G=Object.freeze(Object.defineProperty({__proto__:null,get getHotGames(){return D},get processHotGamesData(){return g}},Symbol.toStringTag,{value:"Module"})),y=Object.freeze(Object.defineProperty({__proto__:null,get getFishGames(){return R},get processFishGame(){return d},get processFishGamesData(){return f}},Symbol.toStringTag,{value:"Module"})),O=Object.freeze(Object.defineProperty({__proto__:null,get getTrialGames(){return x},get processTrialGamesData(){return i}},Symbol.toStringTag,{value:"Module"})),v=Object.freeze(Object.defineProperty({__proto__:null,get getHome(){return L},get processHomeData(){return T},get processPlatformGame(){return u}},Symbol.toStringTag,{value:"Module"})),b=Object.freeze(Object.defineProperty({__proto__:null,get getCurrentLang(){return M}},Symbol.toStringTag,{value:"Module"})),o=c.create({baseURL:"/apis",timeout:5e3,headers:{"Content-Type":"application/json"}});o.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),o.interceptors.response.use(e=>e,e=>{const a={status:null,message:"An error occurred"};return e.response?(a.status=e.response.status,a.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(a)),e.response.status===401?console.error("Unauthorized access - redirecting to login."):e.response.status===404?console.error("Resource not found."):e.response.status>=500&&console.error("Server error. Please try again later.")):e.request?console.error("No response received:",e.request):console.error("Error setting up request:",e.message),Promise.reject(a)});const N=E.ref("");function r(){return N.value===""?0:1}const F={home:v,hotGames:G,fishGames:y,trialGames:O,currentLang:b},j={install(e){e.config.globalProperties.$library=F}},l=e=>{try{const a=JSON.parse(m.AES.decrypt(e,N.value,{format:{stringify:t=>{const n={ct:t.ciphertext.toString(m.enc.Base64)};return t.iv&&(n.iv=t.iv.toString()),t.salt&&(n.s=t.salt.toString()),JSON.stringify(n)},parse:t=>{const n=JSON.parse(t),p=m.lib.CipherParams.create({ciphertext:m.enc.Base64.parse(n.ct)});return n.iv&&(p.iv=m.enc.Hex.parse(n.iv)),n.s&&(p.salt=m.enc.Hex.parse(n.s)),p}}}).toString(m.enc.Utf8));return a!==""?JSON.parse(a):a}catch(a){return console.error(a),""}};async function D(){const e={status:200,message:"",data:{currentPage:0,data:[],from:0,lastPage:0,nextPageUrl:"",path:"",perPage:0,prevPageUrl:"",to:0,total:0}};try{const a=await o.get("/hotGames",{params:{render:r()}});let t;return r()?t=JSON.parse(l(a.data)):t=a.data,a.status!=200?(e.status=a.status,e.message="",e):(e.data=g(t),e)}catch(a){const t=a;return e.status=t.status||500,e.message=t.message,e}}const g=e=>({currentPage:e.current_page??0,data:e.data.map(a=>({id:a.id??0,name:a.name??"",pfid:a.pfid??0,ppname:a.ppname??"",code:a.code??"",img:a.img??"",progressive:a.progressive??"",ppid:a.ppid??0,notry:a.notry===1,productCode:a.product_code??"",imgSrc:a.imgSrc??"",imgPf:a.imgPf??"",favouriteFlag:a.favourite_flag===1,platformStatusFlag:a.platform_status_flag??"",platformFlagName:a.platform_flag_name??"",platformStatusParams:{eb:a.platform_status_params.eb??!1,fit:a.platform_status_params.fit??!1,fs:a.platform_status_params.fs??!1},gameId:a.game_id??0})),from:e.from??0,lastPage:e.last_page??0,nextPageUrl:e.next_page_url??"",path:e.path??"",perPage:e.per_page??0,prevPageUrl:e.prev_page_url??"",to:e.to??0,total:e.total??0});async function R(){const e={status:200,message:"",data:{hotfish:[],data:[]}};try{const a=await o.get("/fishGames",{params:{render:r()}});let t;return r()?t=JSON.parse(l(a.data)):t=a.data,a.status!=200?(e.status=a.status,e.message="",e):(e.data=f(t),e)}catch(a){const t=a;return e.status=t.status||500,e.message=t.message,e}}const f=e=>({hotfish:e.hotfish.map(a=>d(a)),data:e.data.map(a=>d(a))}),d=e=>({id:e.id??0,name:e.name??"",ppid:e.pp_id??"",img:e.img??"",desc:e.desc??"",ppname:e.pp_name??"",platformCode:e.platform_code??"",code:e.code??"",flag:e.flag??0,gameId:e.game_id??0,imgSrc:e.imgSrc??"",imgPf:e.imgPf??"",favouriteFlag:e.favourite_flag===1,platformStatusFflag:e.platform_status_Fflag??"",platformFlagName:e.platform_flag_name??"",platformStatusParams:{eb:e.platform_status_params.eb??!1,fit:e.platform_status_params.fit??!1,fs:e.platform_status_params.fs??!1}});async function x(){const e={status:200,message:"",data:[]};try{const a=await o.get("/trialGames",{params:{render:r()}});let t;return r()?t=JSON.parse(l(a.data)):t=a.data,a.status!=200?(e.status=a.status,e.message="",e):(e.data=i(t),e)}catch(a){const t=a;return e.status=t.status||500,e.message=t.message,e}}const i=e=>e.map(a=>({ppid:a.ppid??0,ppname:a.ppname??"",games:a.games.map(t=>({id:t.id??0,name:t.name??"",img:t.img??"",progressive:t.progressive??"",notry:t.notry===1,imgSrc:t.imgSrc??"",imgPf:t.imgPf??"",favouriteFlag:t.favourite_flag===1,platformStatusFflag:t.platform_status_Fflag??"",platformFlagName:t.platform_flag_name??"",platformStatusParams:{eb:t.platform_status_params.eb??!1,fit:t.platform_status_params.fit??!1,fs:t.platform_status_params.fs??!1},ppname:a.ppname??""}))}));async function L(){const e={status:200,message:"",data:{game:{SPORT:[],SPECIAL:[],PVP:[],LIVE:[],EVENT:[],ESPORT:[],EGAME:[],BINGO:[]},mobileBanner:[],announcement:[],alertAnnouncement:[]},hotGames:{status:200,message:"",data:{currentPage:0,data:[],from:0,lastPage:0,nextPageUrl:"",path:"",perPage:0,prevPageUrl:"",to:0,total:0}},fishGames:{status:200,message:"",data:{hotfish:[],data:[]}},trialGames:{status:200,message:"",data:[]}};try{const[a,t,n,p]=await Promise.all([o.get("/home",{params:{render:r()}}),o.get("/hotGames",{params:{render:r()}}),o.get("/fishGames",{params:{render:r()}}),o.get("/trialGames",{params:{render:r()}})]);let _,h,S,P;return r()?(_=JSON.parse(l(a.data)),h=JSON.parse(l(t.data)),S=JSON.parse(l(n.data)),P=JSON.parse(l(p.data))):(_=a.data,h=t.data,S=n.data,P=p.data),a.status!=200?(e.status=a.status,e.message=""):e.data=T(_),t.status!=200?(e.hotGames.status=t.status,e.hotGames.message=""):e.hotGames.data=g(h),n.status!=200?(e.fishGames.status=n.status,e.fishGames.message=""):e.fishGames.data=f(S),p.status!=200?(e.trialGames.status=p.status,e.trialGames.message=""):e.trialGames.data=i(P),e}catch(a){const t=a;return e.status=t.status||500,e.message=t.message,e}}const T=e=>({game:{SPORT:e.game.SPORT.map(a=>u(a)),SPECIAL:e.game.SPECIAL.map(a=>u(a)),PVP:e.game.PVP.map(a=>u(a)),LIVE:e.game.LIVE.map(a=>u(a)),EVENT:e.game.EVENT.map(a=>u(a)),ESPORT:e.game.ESPORT.map(a=>u(a)),EGAME:e.game.EGAME.map(a=>u(a)),BINGO:e.game.BINGO.map(a=>u(a))},mobileBanner:e.mobileBanner.map(a=>({name:a.name??"",content:a.content??"",link:a.link??"",linkTarget:a.link_target??"",updatedOn:a.updated_on??"",idCmsCategory:a.id_cms_category??0,contentOrg:a.content_org??""})),announcement:e.announcement.map(a=>({announcementIndex:a.announcement_index??0,announcementEnglish:a.announcement_english??"",announcementSimplified:a.announcement_simplified??"",announcementTraditional:a.announcement_traditional??"",announcementMalay:a.announcement_malay??"",announcementStatus:a.announcement_status==="1",announcementShow:a.announcement_show==="1",announcementAlert:a.announcement_alert==="1",announcementUser:a.announcement_user==="1",announcementSequence:a.announcement_sequence??0,announcementCompany:a.announcement_company==="1",companyIndex:a.companyindex??0,announcementLastUpdated:a.announcement_lastupdated??"",announcementDateCreated:a.announcement_datecreated??"",announcementSmaid:a.announcement_smaid??"",annTimer:a.ann_timer??"",annStart:a.ann_start??"",annEnd:a.ann_end??"",grp:a.grp??"",time:a.time??""})),alertAnnouncement:e.alert_announcement.map(a=>({announcementDateCreated:a.announcement_datecreated??"",announcementSimplified:a.announcement_simplified??""}))}),u=e=>({id:e.id??0,idPlatformMaster:e.id_PlatformMaster??0,idProductMaster:e.id_ProductMaster??0,name:e.name??"",shortName:e.shortName??"",img:e.img??"",mobileUrl:e.mobileUrl??"",url:e.url??"",desc:e.desc??"",seq:e.seq??0,flag:e.flag??0,status:e.status??"",createdBy:e.created_by??0,createdOn:e.created_on??"",categoryID:e.categoryid??0,com:e.com??"",cur:e.cur??"",pt:e.pt??"",ppName:e.pp_name??"",ppImage:e.pp_image??"",platformCode:e.platform_code??"",platformName:e.platform_name??"",classIcon:e.class_icon??"",productCode:e.product_code??"",productName:e.product_name??"",gameID:e.game_id??0,fAuth:e.fAuth??!1,platformStatusParams:{eb:e.platform_status_params.eb??!1,fit:e.platform_status_params.fit??!1,fs:e.platform_status_params.fs??!1},loginFlag:e.login_flag==="1",link:e.link??"",favouriteFlag:e.favourite_flag===1,platformStatusFlag:e.platform_status_flag??"",platformFlagName:e.platform_flag_name??"",homeLogo:e.home_logo??"",imgPf:e.imgPf??"",imgSport:e.imgSport??"",imgTemplate:e.imgTemplate??""});async function M(){const e={status:200,message:"",data:""};try{const a=await o.get("/currentLang",{params:{render:r()}});let t;return r()?t=JSON.parse(l(a.data)):t=a.data,a.status!=200?(e.status=a.status,e.message="",e):(e.data=t,e)}catch(a){const t=a;return e.status=t.status||500,e.message=t.message,e}}s.Repository=j,s.currentLang=b,s.fishGames=y,s.home=v,s.hotGames=G,s.trialGames=O,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(n,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("axios"),require("vue"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","axios","vue","crypto-js"],g):(n=typeof globalThis<"u"?globalThis:n||self,g(n["50p82u21t54k"]={},n.axios,n.Vue,n.CryptoJS))})(this,function(n,g,H,p){"use strict";const A=Object.freeze(Object.defineProperty({__proto__:null,get getHotGames(){return K},get processHotGamesData(){return f}},Symbol.toStringTag,{value:"Module"})),T=Object.freeze(Object.defineProperty({__proto__:null,get getFishGames(){return Q},get processFishGame(){return _},get processFishGamesData(){return d}},Symbol.toStringTag,{value:"Module"})),j=Object.freeze(Object.defineProperty({__proto__:null,get getTrialGames(){return W},get processTrialGamesData(){return y}},Symbol.toStringTag,{value:"Module"})),E=Object.freeze(Object.defineProperty({__proto__:null,get CmsId(){return S},get getCmsList(){return X},get processCmsListData(){return h}},Symbol.toStringTag,{value:"Module"})),M=Object.freeze(Object.defineProperty({__proto__:null,get getPromotion(){return Y},get processPromotionData(){return b}},Symbol.toStringTag,{value:"Module"})),D=Object.freeze(Object.defineProperty({__proto__:null,get getHome(){return Z},get processHomeData(){return J},get processPlatformGame(){return l}},Symbol.toStringTag,{value:"Module"})),F=Object.freeze(Object.defineProperty({__proto__:null,get getCurrentLang(){return C}},Symbol.toStringTag,{value:"Module"})),k=Object.freeze(Object.defineProperty({__proto__:null,get getGetLocale(){return w},get processGetLocaleData(){return U}},Symbol.toStringTag,{value:"Module"})),B=Object.freeze(Object.defineProperty({__proto__:null,get getCsLink(){return I},get processCsLinkData(){return q}},Symbol.toStringTag,{value:"Module"})),R=Object.freeze(Object.defineProperty({__proto__:null,get getEGame(){return ee},get processEGameData(){return x}},Symbol.toStringTag,{value:"Module"})),o=g.create({baseURL:"/apis",timeout:5e3,headers:{"Content-Type":"application/json"}});o.interceptors.request.use(e=>e,e=>(console.error("Error request:",e.response),Promise.reject(e))),o.interceptors.response.use(e=>e,e=>{const t={status:null,message:"An error occurred"};return e.response?(t.status=e.response.status,t.message=e.response.data.message||e.response.statusText,console.error("Error response:",JSON.stringify(t)),e.response.status===401?console.error("Unauthorized access - redirecting to login."):e.response.status===404?console.error("Resource not found."):e.response.status>=500&&console.error("Server error. Please try again later.")):e.request?console.error("No response received:",e.request):console.error("Error setting up request:",e.message),Promise.reject(t)});const z=H.ref("");function r(){return z.value===""?0:1}const V={home:D,hotGames:A,fishGames:T,trialGames:j,currentLang:F,promotion:M,getLocale:k,csLink:B,eGame:R,cmsList:E},$={install(e){e.config.globalProperties.$library=V}},u=e=>{try{const t=JSON.parse(p.AES.decrypt(e,z.value,{format:{stringify:a=>{const s={ct:a.ciphertext.toString(p.enc.Base64)};return a.iv&&(s.iv=a.iv.toString()),a.salt&&(s.s=a.salt.toString()),JSON.stringify(s)},parse:a=>{const s=JSON.parse(a),c=p.lib.CipherParams.create({ciphertext:p.enc.Base64.parse(s.ct)});return s.iv&&(c.iv=p.enc.Hex.parse(s.iv)),s.s&&(c.salt=p.enc.Hex.parse(s.s)),c}}}).toString(p.enc.Utf8));return t!==""?JSON.parse(t):t}catch(t){return console.error(t),""}};async function K(){const e={status:200,message:"",data:{currentPage:0,data:[],from:0,lastPage:0,nextPageUrl:"",path:"",perPage:0,prevPageUrl:"",to:0,total:0}};try{const t=await o.get("/hotGames",{params:{render:r()}});let a;return r()?a=JSON.parse(u(t.data)):a=t.data,t.status!=200?(e.status=t.status,e.message="",e):(e.data=f(a),e)}catch(t){const a=t;return e.status=a.status||500,e.message=a.message,e}}const f=e=>({currentPage:e.current_page??0,data:e.data.map(t=>({id:t.id??0,name:t.name??"",pfid:t.pfid??0,ppname:t.ppname??"",code:t.code??"",img:t.img??"",progressive:t.progressive??"",ppid:t.ppid??0,notry:t.notry===1,productCode:t.product_code??"",imgSrc:t.imgSrc??"",imgPf:t.imgPf??"",favouriteFlag:t.favourite_flag===1,platformStatusFlag:t.platform_status_flag??"",platformFlagName:t.platform_flag_name??"",platformStatusParams:{eb:t.platform_status_params.eb??!1,fit:t.platform_status_params.fit??!1,fs:t.platform_status_params.fs??!1},gameId:t.game_id??0})),from:e.from??0,lastPage:e.last_page??0,nextPageUrl:e.next_page_url??"",path:e.path??"",perPage:e.per_page??0,prevPageUrl:e.prev_page_url??"",to:e.to??0,total:e.total??0});async function Q(){const e={status:200,message:"",data:{hotfish:[],data:[]}};try{const t=await o.get("/fishGames",{params:{render:r()}});let a;return r()?a=JSON.parse(u(t.data)):a=t.data,t.status!=200?(e.status=t.status,e.message="",e):(e.data=d(a),e)}catch(t){const a=t;return e.status=a.status||500,e.message=a.message,e}}const d=e=>({hotfish:e.hotfish.map(t=>_(t)),data:e.data.map(t=>_(t))}),_=e=>({id:e.id??0,name:e.name??"",ppid:e.pp_id??"",img:e.img??"",desc:e.desc??"",ppname:e.pp_name??"",platformCode:e.platform_code??"",code:e.code??"",flag:e.flag??0,gameId:e.game_id??0,imgSrc:e.imgSrc??"",imgPf:e.imgPf??"",favouriteFlag:e.favourite_flag===1,platformStatusFflag:e.platform_status_Fflag??"",platformFlagName:e.platform_flag_name??"",platformStatusParams:{eb:e.platform_status_params.eb??!1,fit:e.platform_status_params.fit??!1,fs:e.platform_status_params.fs??!1}});async function W(){const e={status:200,message:"",data:[]};try{const t=await o.get("/trialGames",{params:{render:r()}});let a;return r()?a=JSON.parse(u(t.data)):a=t.data,t.status!=200?(e.status=t.status,e.message="",e):(e.data=y(a),e)}catch(t){const a=t;return e.status=a.status||500,e.message=a.message,e}}const y=e=>e.map(t=>({ppid:t.ppid??0,ppname:t.ppname??"",games:t.games.map(a=>({id:a.id??0,name:a.name??"",img:a.img??"",progressive:a.progressive??"",notry:a.notry===1,imgSrc:a.imgSrc??"",imgPf:a.imgPf??"",favouriteFlag:a.favourite_flag===1,platformStatusFflag:a.platform_status_Fflag??"",platformFlagName:a.platform_flag_name??"",platformStatusParams:{eb:a.platform_status_params.eb??!1,fit:a.platform_status_params.fit??!1,fs:a.platform_status_params.fs??!1},ppname:t.ppname??""}))}));var S=(e=>(e[e.AllCategories=0]="AllCategories",e[e.Lotto=2]="Lotto",e[e.LiveCasino=3]="LiveCasino",e[e.SlotGames=4]="SlotGames",e[e.SportsBetting=5]="SportsBetting",e[e.LatestAd=7]="LatestAd",e[e.Promotions=8]="Promotions",e[e.MobileBetting=9]="MobileBetting",e[e.ESports=12]="ESports",e[e.CardGames=13]="CardGames",e[e.FishingGames=14]="FishingGames",e[e.BottomRightAd=16]="BottomRightAd",e[e.LotteryActivity=18]="LotteryActivity",e[e.HomepagePopup=101]="HomepagePopup",e[e.LeftAd=102]="LeftAd",e[e.RightAd=103]="RightAd",e[e.MobileAd=104]="MobileAd",e[e.MobilePopup=105]="MobilePopup",e[e.BottomLeftAd=106]="BottomLeftAd",e[e.InfoGallery=109]="InfoGallery",e[e.AgentBackendAd=114]="AgentBackendAd",e[e.CheckInBanner=123]="CheckInBanner",e[e.PlatformActivities=128]="PlatformActivities",e[e.LotterySlogan=130]="LotterySlogan",e[e.MobileLotterySlogan=131]="MobileLotterySlogan",e[e.PointsMallSlogan=135]="PointsMallSlogan",e))(S||{});async function X(e){const t={status:200,message:"",data:{cmsList:[]}};try{const a=await o.get(`/cmsList?id=${e}`,{params:{render:r()}});let s;return r()?s=JSON.parse(u(a.data)):s=a.data,a.status!=200?(t.status=a.status,t.message="",t):(t.data=h(s),t)}catch(a){const s=a;return t.status=s.status||500,t.message=s.message,t}}const h=e=>({cmsList:e.cmslist.map(t=>({name:t.name??"",content:t.content??"",link:t.link??"",linkTarget:t.link_target??"",updatedOn:t.updated_on??"",idCmsCategory:t.id_cms_category??0,contentOrg:t.content_org??"",linkOrg:t.link_org??""}))});async function Y(){const e={status:200,message:"",data:{objList:[],promoCat:[],resize:0}};try{const t=await o.get("/promotion",{params:{render:r()}});let a;return r()?a=JSON.parse(u(t.data)):a=t.data,t.status!=200?(e.status=t.status,e.message="",e):(e.data=b(a),e)}catch(t){const a=t;return e.status=a.status||500,e.message=a.message,e}}const b=e=>({objList:e.objList.map(t=>({promoIndex:t.promoindex??0,type:t.type??0,thumb:t.thumb??0,title:t.title??"",displayTime:t.display_time??"",handle:t.handle??"",content:t.content??"",langList:t.lang_list??"",agentList:t.agent_list??"",dateCreated:t.datecreated??"",updateBy:t.updateby??"",lastUpdated:t.lastupdated??"",sequence:t.sequence??0,status:t.status===1,timer:t.timer??"",stime:t.stime??"",etime:t.etime??"",smaid:t.smaid??"",companyIndex:t.companyindex??"",fileName:t.filename??"",version:t.version??"",categoryName:t.category_name??"",barImg:t.bar_img??"",buttonImg:t.button_img??"",promoImg:t.promo_image??"",catId:t.catid??"",imageType:t.image_type??"",image:t.image??"",isLink:t.isLink,latestUpdate:t.latestupdate??""})),promoCat:e.promoCat.map(t=>({catId:t.catid??0,name:t.name??"",barImg:t.bar_img??"",buttonImg:t.button_img??""})),resize:e.resize});async function Z(){const e={status:200,message:"",data:{game:{SPORT:[],SPECIAL:[],PVP:[],LIVE:[],EVENT:[],ESPORT:[],EGAME:[],BINGO:[]},mobileBanner:[],announcement:[],alertAnnouncement:[]},hotGames:{status:200,message:"",data:{currentPage:0,data:[],from:0,lastPage:0,nextPageUrl:"",path:"",perPage:0,prevPageUrl:"",to:0,total:0}},fishGames:{status:200,message:"",data:{hotfish:[],data:[]}},trialGames:{status:200,message:"",data:[]},promotion:{status:200,message:"",data:{objList:[],promoCat:[],resize:0}},cmsList:{status:200,message:"",data:{cmsList:[]}}};try{const[t,a,s,c,i,m]=await Promise.all([o.get("/home",{params:{render:r()}}),o.get("/hotGames",{params:{render:r()}}),o.get("/fishGames",{params:{render:r()}}),o.get("/trialGames",{params:{render:r()}}),o.get("/promotion",{params:{render:r()}}),o.get(`/cmsList?id=${S.LatestAd}`,{params:{render:r()}})]);let P,G,L,O,v,N;return r()?(P=JSON.parse(u(t.data)),G=JSON.parse(u(a.data)),L=JSON.parse(u(s.data)),O=JSON.parse(u(c.data)),v=JSON.parse(u(i.data)),N=JSON.parse(u(m.data))):(P=t.data,G=a.data,L=s.data,O=c.data,v=i.data,N=m.data),t.status!=200?(e.status=t.status,e.message=""):e.data=J(P),a.status!=200?(e.hotGames.status=a.status,e.hotGames.message=""):e.hotGames.data=f(G),s.status!=200?(e.fishGames.status=s.status,e.fishGames.message=""):e.fishGames.data=d(L),c.status!=200?(e.trialGames.status=c.status,e.trialGames.message=""):e.trialGames.data=y(O),i.status!=200?(e.promotion.status=i.status,e.promotion.message=""):e.promotion.data=b(v),m.status!=200?(e.cmsList.status=m.status,e.cmsList.message=""):e.cmsList.data=h(N),e}catch(t){const a=t;return e.status=a.status||500,e.message=a.message,e}}const J=e=>({game:{SPORT:e.game.SPORT.map(t=>l(t)),SPECIAL:e.game.SPECIAL.map(t=>l(t)),PVP:e.game.PVP.map(t=>l(t)),LIVE:e.game.LIVE.map(t=>l(t)),EVENT:e.game.EVENT.map(t=>l(t)),ESPORT:e.game.ESPORT.map(t=>l(t)),EGAME:e.game.EGAME.map(t=>l(t)),BINGO:e.game.BINGO.map(t=>l(t))},mobileBanner:e.mobileBanner.map(t=>({name:t.name??"",content:t.content??"",link:t.link??"",linkTarget:t.link_target??"",updatedOn:t.updated_on??"",idCmsCategory:t.id_cms_category??0,contentOrg:t.content_org??""})),announcement:e.announcement.map(t=>({announcementIndex:t.announcement_index??0,announcementEnglish:t.announcement_english??"",announcementSimplified:t.announcement_simplified??"",announcementTraditional:t.announcement_traditional??"",announcementMalay:t.announcement_malay??"",announcementStatus:t.announcement_status==="1",announcementShow:t.announcement_show==="1",announcementAlert:t.announcement_alert==="1",announcementUser:t.announcement_user==="1",announcementSequence:t.announcement_sequence??0,announcementCompany:t.announcement_company==="1",companyIndex:t.companyindex??0,announcementLastUpdated:t.announcement_lastupdated??"",announcementDateCreated:t.announcement_datecreated??"",announcementSmaid:t.announcement_smaid??"",annTimer:t.ann_timer??"",annStart:t.ann_start??"",annEnd:t.ann_end??"",grp:t.grp??"",time:t.time??""})),alertAnnouncement:e.alert_announcement.map(t=>({announcementDateCreated:t.announcement_datecreated??"",announcementSimplified:t.announcement_simplified??""}))}),l=e=>({id:e.id??0,idPlatformMaster:e.id_PlatformMaster??0,idProductMaster:e.id_ProductMaster??0,name:e.name??"",shortName:e.shortName??"",img:e.img??"",mobileUrl:e.mobileUrl??"",url:e.url??"",desc:e.desc??"",seq:e.seq??0,flag:e.flag??0,status:e.status??"",createdBy:e.created_by??0,createdOn:e.created_on??"",categoryID:e.categoryid??0,com:e.com??"",cur:e.cur??"",pt:e.pt??"",ppName:e.pp_name??"",ppImage:e.pp_image??"",platformCode:e.platform_code??"",platformName:e.platform_name??"",classIcon:e.class_icon??"",productCode:e.product_code??"",productName:e.product_name??"",gameID:e.game_id??0,fAuth:e.fAuth??!1,platformStatusParams:{eb:e.platform_status_params.eb??!1,fit:e.platform_status_params.fit??!1,fs:e.platform_status_params.fs??!1},loginFlag:e.login_flag==="1",link:e.link??"",favouriteFlag:e.favourite_flag===1,platformStatusFlag:e.platform_status_flag??"",platformFlagName:e.platform_flag_name??"",homeLogo:e.home_logo??"",imgPf:e.imgPf??"",imgSport:e.imgSport??"",imgTemplate:e.imgTemplate??""});async function C(){const e={status:200,message:"",data:""};try{const t=await o.get("/currentLang",{params:{render:r()}});let a;return r()?a=JSON.parse(u(t.data)):a=t.data,t.status!=200?(e.status=t.status,e.message="",e):(e.data=a,e)}catch(t){const a=t;return e.status=a.status||500,e.message=a.message,e}}async function w(){const e={status:200,message:"",data:[]};try{const t=await o.get("/getLocale",{params:{render:r()}});let a;return r()?a=JSON.parse(u(t.data)):a=t.data,t.status!=200?(e.status=t.status,e.message="",e):(e.data=U(a),e)}catch(t){const a=t;return e.status=a.status||500,e.message=a.message,e}}const U=e=>[{code:"en",label:e.en.label??""},{code:"zh",label:e.zh.label??""},{code:"ms",label:e.ms.label??""}];async function I(){const e={status:200,message:"",data:{liveChat:""}};try{const t=await o.get("/cslink",{params:{render:r()}});let a;return r()?a=JSON.parse(u(t.data)):a=t.data,t.status!=200?(e.status=t.status,e.message="",e):(e.data=q(a),e)}catch(t){const a=t;return e.status=a.status||500,e.message=a.message,e}}const q=e=>({liveChat:e.livechat??""});async function ee(e){const t={status:200,message:"",data:[]};try{const a=await o.get(`/egame/json/${e}`,{params:{render:r()}});let s;return r()?s=JSON.parse(u(a.data)):s=a.data,a.status!=200?(t.status=a.status,t.message="",t):(t.data=x(s),t)}catch(a){const s=a;return t.status=s.status||500,t.message=s.message,t}}const x=e=>e.map(t=>({gameId:t.game_id??"",imgSrc:t.imgSrc??"",imgPf:t.imgPf??"",name:t.name??"",favouriteFlag:t.favourite_flag===1,platformStatusFflag:t.platform_status_Fflag??"",platformFlagName:t.platform_flag_name??"",platformStatusParams:{eb:t.platform_status_params.eb??!1,fit:t.platform_status_params.fit??!1,fs:t.platform_status_params.fs??!1},progressive:t.progressive??"",gameCategory:t.game_category??"",ppid:t.pp_id??""}));n.Repository=$,n.cmsList=E,n.csLink=B,n.currentLang=F,n.eGame=R,n.fishGames=T,n.getLocale=k,n.home=D,n.hotGames=A,n.promotion=M,n.trialGames=j,Object.defineProperty(n,Symbol.toStringTag,{value:"Module"})});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cmsList/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CmsListData, CmsListResponse } from './type';
|
|
2
|
+
|
|
3
|
+
export declare enum CmsId {
|
|
4
|
+
AllCategories = 0,// 全部類別
|
|
5
|
+
Lotto = 2,// 彩票游戏 (Lotto Games)
|
|
6
|
+
LiveCasino = 3,// 真人娱乐 (Live Casino)
|
|
7
|
+
SlotGames = 4,// 电子游艺 (Electronic Games)
|
|
8
|
+
SportsBetting = 5,// 体育博彩 (Sports Betting)
|
|
9
|
+
LatestAd = 7,// 最新广告 (Latest Ad)
|
|
10
|
+
Promotions = 8,// 优惠活动 (Promotions)
|
|
11
|
+
MobileBetting = 9,// 手机投注 (Mobile Betting)
|
|
12
|
+
ESports = 12,// 电竞赛事 (ESports)
|
|
13
|
+
CardGames = 13,// 棋牌游戏 (Card Games)
|
|
14
|
+
FishingGames = 14,// 捕鱼游戏 (Fishing Games)
|
|
15
|
+
BottomRightAd = 16,// 右下广告 (Bottom Right Ad)
|
|
16
|
+
LotteryActivity = 18,// 抽奖活动 (Lottery Activity)
|
|
17
|
+
HomepagePopup = 101,// 首页弹窗 (Homepage Popup)
|
|
18
|
+
LeftAd = 102,// 左边广告 (Left Ad)
|
|
19
|
+
RightAd = 103,// 右边广告 (Right Ad)
|
|
20
|
+
MobileAd = 104,// 手机广告 (Mobile Ad)
|
|
21
|
+
MobilePopup = 105,// 手机弹窗 (Mobile Popup)
|
|
22
|
+
BottomLeftAd = 106,// 左下广告 (Bottom Left Ad)
|
|
23
|
+
InfoGallery = 109,// 资讯图库 (Info Gallery)
|
|
24
|
+
AgentBackendAd = 114,// 代理后台广告 (Agent Backend Ad)
|
|
25
|
+
CheckInBanner = 123,// 签到横幅 (Check-In Banner)
|
|
26
|
+
PlatformActivities = 128,// 平台活动 (Platform Activities)
|
|
27
|
+
LotterySlogan = 130,// 抽奖Slogan (Lottery Slogan)
|
|
28
|
+
MobileLotterySlogan = 131,// 手机版抽奖Slogan (Mobile Lottery Slogan)
|
|
29
|
+
PointsMallSlogan = 135
|
|
30
|
+
}
|
|
31
|
+
export type RawCmsListResponse = {
|
|
32
|
+
cmslist: {
|
|
33
|
+
name: string;
|
|
34
|
+
content: string;
|
|
35
|
+
link: string;
|
|
36
|
+
link_target: number;
|
|
37
|
+
updated_on: string;
|
|
38
|
+
id_cms_category: number;
|
|
39
|
+
content_org: string;
|
|
40
|
+
link_org: string;
|
|
41
|
+
}[];
|
|
42
|
+
};
|
|
43
|
+
export declare function getCmsList(id: CmsId): Promise<CmsListResponse>;
|
|
44
|
+
export declare const processCmsListData: (raw: RawCmsListResponse) => CmsListData;
|
|
45
|
+
//# sourceMappingURL=method.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/cmsList/method.ts"],"names":[],"mappings":"AAGA,OAAO,E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ACJ,CAAA;AAED,wBAAsB,UAAU,CAAC,EAAE,EAAE,KAAK,GAAG,OAAO,CAAC,eAAe,CAAC,CAwCpE;AAED,eAAO,MAAM,kBAAkB,QAAS,kBAAkB,KAAG,WAe5D,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseType } from '../util/type';
|
|
2
|
+
|
|
3
|
+
export type CmsListResponse = BaseType & {
|
|
4
|
+
data: CmsListData;
|
|
5
|
+
};
|
|
6
|
+
export type CmsListData = {
|
|
7
|
+
cmsList: CmsInfo[];
|
|
8
|
+
};
|
|
9
|
+
export type CmsInfo = {
|
|
10
|
+
name: string;
|
|
11
|
+
content: string;
|
|
12
|
+
link: string;
|
|
13
|
+
linkTarget: number;
|
|
14
|
+
updatedOn: string;
|
|
15
|
+
idCmsCategory: number;
|
|
16
|
+
contentOrg: string;
|
|
17
|
+
linkOrg: string;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/cmsList/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG;IACvC,IAAI,EAAE,WAAW,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG;IACxB,OAAO,EAAE,OAAO,EAAE,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;IAClB,SAAS,EAAE,MAAM,CAAA;IACjB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/csLink/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CsLinkData, CsLinkResponse } from './type';
|
|
2
|
+
|
|
3
|
+
export type RawCsLinkResponse = {
|
|
4
|
+
livechat: string;
|
|
5
|
+
};
|
|
6
|
+
export declare function getCsLink(): Promise<CsLinkResponse>;
|
|
7
|
+
export declare const processCsLinkData: (raw: RawCsLinkResponse) => CsLinkData;
|
|
8
|
+
//# sourceMappingURL=method.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/csLink/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AAGnD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,wBAAsB,SAAS,IAAI,OAAO,CAAC,cAAc,CAAC,CAwCzD;AAED,eAAO,MAAM,iBAAiB,QAAS,iBAAiB,KAAG,UAI1D,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/csLink/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG;IACtC,IAAI,EAAE,UAAU,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/eGame/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EGameData, EGameResponse } from './type';
|
|
2
|
+
|
|
3
|
+
export type RawEGameResponse = {
|
|
4
|
+
game_id: number;
|
|
5
|
+
imgSrc: string;
|
|
6
|
+
imgPf: string;
|
|
7
|
+
name: string;
|
|
8
|
+
favourite_flag: number;
|
|
9
|
+
platform_status_Fflag: string;
|
|
10
|
+
platform_flag_name: string;
|
|
11
|
+
platform_status_params: {
|
|
12
|
+
eb: boolean;
|
|
13
|
+
fit: boolean;
|
|
14
|
+
fs: boolean;
|
|
15
|
+
};
|
|
16
|
+
progressive: string;
|
|
17
|
+
game_category: string;
|
|
18
|
+
pp_id: string;
|
|
19
|
+
};
|
|
20
|
+
export declare function getEGame(id: number): Promise<EGameResponse>;
|
|
21
|
+
export declare const processEGameData: (raw: RawEGameResponse[]) => EGameData[];
|
|
22
|
+
//# sourceMappingURL=method.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/eGame/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAA;AAGjD,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,cAAc,EAAE,MAAM,CAAA;IACtB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,sBAAsB,EAAE;QACtB,EAAE,EAAE,OAAO,CAAA;QACX,GAAG,EAAE,OAAO,CAAA;QACZ,EAAE,EAAE,OAAO,CAAA;KACZ,CAAA;IACD,WAAW,EAAE,MAAM,CAAA;IACnB,aAAa,EAAE,MAAM,CAAA;IACrB,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,wBAAsB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAsCjE;AAED,eAAO,MAAM,gBAAgB,QAAS,gBAAgB,EAAE,KAAG,SAAS,EAoBnE,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseType } from '../util/type';
|
|
2
|
+
|
|
3
|
+
export type EGameResponse = BaseType & {
|
|
4
|
+
data: EGameData[];
|
|
5
|
+
};
|
|
6
|
+
export type EGameData = {
|
|
7
|
+
gameId: number;
|
|
8
|
+
imgSrc: string;
|
|
9
|
+
imgPf: string;
|
|
10
|
+
name: string;
|
|
11
|
+
favouriteFlag: boolean;
|
|
12
|
+
platformStatusFflag: string;
|
|
13
|
+
platformFlagName: string;
|
|
14
|
+
platformStatusParams: PlatformStatusParam;
|
|
15
|
+
progressive: string;
|
|
16
|
+
gameCategory: string;
|
|
17
|
+
ppid: string;
|
|
18
|
+
};
|
|
19
|
+
export type PlatformStatusParam = {
|
|
20
|
+
eb: boolean;
|
|
21
|
+
fit: boolean;
|
|
22
|
+
fs: boolean;
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=type.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/eGame/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG;IACrC,IAAI,EAAE,SAAS,EAAE,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,SAAS,GAAG;IACtB,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,OAAO,CAAA;IACtB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,mBAAmB,CAAA;IACzC,WAAW,EAAE,MAAM,CAAA;IACnB,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
|
package/dist/fishGames/type.d.ts
CHANGED
|
@@ -23,9 +23,9 @@ export type FishGame = {
|
|
|
23
23
|
favouriteFlag: boolean;
|
|
24
24
|
platformStatusFflag: string;
|
|
25
25
|
platformFlagName: string;
|
|
26
|
-
platformStatusParams:
|
|
26
|
+
platformStatusParams: PlatformStatusParam;
|
|
27
27
|
};
|
|
28
|
-
export type
|
|
28
|
+
export type PlatformStatusParam = {
|
|
29
29
|
eb: boolean;
|
|
30
30
|
fit: boolean;
|
|
31
31
|
fs: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/fishGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE,aAAa,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,QAAQ,EAAE,CAAA;IACnB,IAAI,EAAE,QAAQ,EAAE,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,QAAQ,GAAG;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,YAAY,EAAE,MAAM,CAAA;IACpB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,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index.d.ts","sourceRoot":"","sources":["../../src/getLocale/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { GetLocaleData, GetLocaleResponse } from './type';
|
|
2
|
+
|
|
3
|
+
export type RawGetLocaleResponse = {
|
|
4
|
+
en: {
|
|
5
|
+
label: string;
|
|
6
|
+
};
|
|
7
|
+
zh: {
|
|
8
|
+
label: string;
|
|
9
|
+
};
|
|
10
|
+
ms: {
|
|
11
|
+
label: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare function getGetLocale(): Promise<GetLocaleResponse>;
|
|
15
|
+
export declare const processGetLocaleData: (raw: RawGetLocaleResponse) => GetLocaleData[];
|
|
16
|
+
//# sourceMappingURL=method.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/getLocale/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAA;AAGzD,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE;QACF,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;IACD,EAAE,EAAE;QACF,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;IACD,EAAE,EAAE;QACF,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;CACF,CAAA;AAED,wBAAsB,YAAY,IAAI,OAAO,CAAC,iBAAiB,CAAC,CAsC/D;AAED,eAAO,MAAM,oBAAoB,QAAS,oBAAoB,KAAG,aAAa,EAe7E,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/getLocale/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG;IACzC,IAAI,EAAE,aAAa,EAAE,CAAA;CACtB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/home/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/home/method.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAA;AAQ7D,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,eAAe,EAAE,CAAA;IAC/B,YAAY,EAAE,eAAe,EAAE,CAAA;IAC/B,kBAAkB,EAAE,oBAAoB,EAAE,CAAA;CAC3C,CAAA;AAED,MAAM,MAAM,OAAO,GAAG;IACpB,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,OAAO,EAAE,eAAe,EAAE,CAAA;IAC1B,GAAG,EAAE,eAAe,EAAE,CAAA;IACtB,IAAI,EAAE,eAAe,EAAE,CAAA;IACvB,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,MAAM,EAAE,eAAe,EAAE,CAAA;IACzB,KAAK,EAAE,eAAe,EAAE,CAAA;IACxB,KAAK,EAAE,eAAe,EAAE,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAA;IACV,iBAAiB,EAAE,MAAM,CAAA;IACzB,gBAAgB,EAAE,MAAM,CAAA;IACxB,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,GAAG,EAAE,MAAM,CAAA;IACX,SAAS,EAAE,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AW,EAAE,MAAM,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,eAAe,GAAG;IAC5B,kBAAkB,EAAE,MAAM,CAAA;IAC1B,oBAAoB,EAAE,MAAM,CAAA;IAC5B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,wBAAwB,EAAE,MAAM,CAAA;IAChC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,mBAAmB,EAAE,MAAM,CAAA;IAC3B,iBAAiB,EAAE,MAAM,CAAA;IACzB,kBAAkB,EAAE,MAAM,CAAA;IAC1B,iBAAiB,EAAE,MAAM,CAAA;IACzB,qBAAqB,EAAE,MAAM,CAAA;IAC7B,oBAAoB,EAAE,MAAM,CAAA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,wBAAwB,EAAE,MAAM,CAAA;IAChC,wBAAwB,EAAE,MAAM,CAAA;IAChC,kBAAkB,EAAE,MAAM,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,oBAAoB,GAAG;IACjC,wBAAwB,EAAE,MAAM,CAAA;IAChC,uBAAuB,EAAE,MAAM,CAAA;CAChC,CAAA;AAED,wBAAsB,OAAO,IAAI,OAAO,CAAC,YAAY,CAAC,CAsLrD;AAED,eAAO,MAAM,eAAe,QAAS,eAAe,KAAG,QAsEtD,CAAA;AAED,eAAO,MAAM,mBAAmB,SAAU,eAAe,KAAG,YA4C3D,CAAA"}
|
package/dist/home/type.d.ts
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
import { PromotionResponse } from '../promotion';
|
|
1
2
|
import { FishGamesResponse } from '../fishGames';
|
|
2
3
|
import { HotGamesResponse } from '../hotGames';
|
|
3
4
|
import { TrialGamesResponse } from '../trialGames';
|
|
4
5
|
import { BaseType } from '../util/type';
|
|
6
|
+
import { CmsListResponse } from '../cmsList';
|
|
5
7
|
|
|
6
8
|
export type HomeResponse = BaseType & {
|
|
7
9
|
data: HomeData;
|
|
8
10
|
hotGames: HotGamesResponse;
|
|
9
11
|
fishGames: FishGamesResponse;
|
|
10
12
|
trialGames: TrialGamesResponse;
|
|
13
|
+
promotion: PromotionResponse;
|
|
14
|
+
cmsList: CmsListResponse;
|
|
11
15
|
};
|
|
12
16
|
export type HomeData = {
|
|
13
17
|
game: Game;
|
package/dist/home/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/home/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/home/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAC/C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAE3C,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG;IACpC,IAAI,EAAE,QAAQ,CAAA;IACd,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,SAAS,EAAE,iBAAiB,CAAA;IAC5B,UAAU,EAAE,kBAAkB,CAAA;IAC9B,SAAS,EAAE,iBAAiB,CAAA;IAC5B,OAAO,EAAE,eA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AA;IAC5B,YAAY,EAAE,MAAM,CAAA;IACpB,uBAAuB,EAAE,MAAM,CAAA;IAC/B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,iBAAiB,EAAE,MAAM,CAAA;IACzB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,uBAAuB,EAAE,MAAM,CAAA;IAC/B,sBAAsB,EAAE,MAAM,CAAA;CAC/B,CAAA"}
|
package/dist/hotGames/type.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export type HotGamesData = {
|
|
|
21
21
|
favouriteFlag: boolean;
|
|
22
22
|
platformStatusFlag: string;
|
|
23
23
|
platformFlagName: string;
|
|
24
|
-
platformStatusParams:
|
|
24
|
+
platformStatusParams: PlatformStatusParam;
|
|
25
25
|
gameId: number;
|
|
26
26
|
}[];
|
|
27
27
|
from: number;
|
|
@@ -33,7 +33,7 @@ export type HotGamesData = {
|
|
|
33
33
|
to: number;
|
|
34
34
|
total: number;
|
|
35
35
|
};
|
|
36
|
-
export type
|
|
36
|
+
export type PlatformStatusParam = {
|
|
37
37
|
eb: boolean;
|
|
38
38
|
fit: boolean;
|
|
39
39
|
fs: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/hotGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG;IACxC,IAAI,EAAE,YAAY,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,YAAY,GAAG;IACzB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE;QACJ,EAAE,EAAE,MAAM,CAAA;QACV,IAAI,EAAE,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A;KACf,EAAE,CAAA;IACH,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,MAAM,CAAA;IACnB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -3,13 +3,23 @@ import * as hotGames from './hotGames';
|
|
|
3
3
|
import * as fishGames from './fishGames';
|
|
4
4
|
import * as trialGames from './trialGames';
|
|
5
5
|
import * as currentLang from './currentLang';
|
|
6
|
-
|
|
6
|
+
import * as promotion from './promotion';
|
|
7
|
+
import * as getLocale from './getLocale';
|
|
8
|
+
import * as csLink from './csLink';
|
|
9
|
+
import * as eGame from './eGame';
|
|
10
|
+
import * as cmsList from './cmsList';
|
|
11
|
+
export { home, hotGames, fishGames, trialGames, currentLang, promotion, getLocale, csLink, eGame, cmsList, };
|
|
7
12
|
export type RepositoryType = {
|
|
8
13
|
home: typeof home;
|
|
9
14
|
hotGames: typeof hotGames;
|
|
10
15
|
fishGames: typeof fishGames;
|
|
11
16
|
trialGames: typeof trialGames;
|
|
12
17
|
currentLang: typeof currentLang;
|
|
18
|
+
promotion: typeof promotion;
|
|
19
|
+
getLocale: typeof getLocale;
|
|
20
|
+
csLink: typeof csLink;
|
|
21
|
+
eGame: typeof eGame;
|
|
22
|
+
cmsList: typeof cmsList;
|
|
13
23
|
};
|
|
14
24
|
export { default as Repository } from './plugin';
|
|
15
25
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAA;AAC9B,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,IAAI,MAAM,QAAQ,CAAA;AAC9B,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAA;AACtC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,WAAW,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAA;AACxC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAA;AAClC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAA;AAChC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AAEpC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,UAAU,EACV,WAAW,EACX,SAAS,EACT,SAAS,EACT,MAAM,EACN,KAAK,EACL,OAAO,GACR,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAO3B,IAAI,EAAE,OAAO,IAAI,CAAA;IACjB,QAAQ,EAAE,OAAO,QAAQ,CAAA;IACzB,SAAS,EAAE,OAAO,SAAS,CAAA;IAC3B,UAAU,EAAE,OAAO,UAAU,CAAA;IAC7B,WAAW,EAAE,OAAO,WAAW,CAAA;IAC/B,SAAS,EAAE,OAAO,SAAS,CAAA;IAC3B,SAAS,EAAE,OAAO,SAAS,CAAA;IAC3B,MAAM,EAAE,OAAO,MAAM,CAAA;IACrB,KAAK,EAAE,OAAO,KAAK,CAAA;IACnB,OAAO,EAAE,OAAO,OAAO,CAAA;CACxB,CAAA;AAED,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA"}
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import { home, hotGames, fishGames, trialGames, currentLang } from './index';
|
|
2
|
+
import { home, hotGames, fishGames, trialGames, currentLang, promotion, getLocale, csLink, eGame, cmsList } from './index';
|
|
3
3
|
|
|
4
4
|
export declare const gKey: import('vue').Ref<string>;
|
|
5
5
|
export declare function getRender(): number;
|
|
@@ -9,6 +9,11 @@ export declare const Repository: {
|
|
|
9
9
|
fishGames: typeof fishGames;
|
|
10
10
|
trialGames: typeof trialGames;
|
|
11
11
|
currentLang: typeof currentLang;
|
|
12
|
+
promotion: typeof promotion;
|
|
13
|
+
getLocale: typeof getLocale;
|
|
14
|
+
csLink: typeof csLink;
|
|
15
|
+
eGame: typeof eGame;
|
|
16
|
+
cmsList: typeof cmsList;
|
|
12
17
|
};
|
|
13
18
|
declare const _default: {
|
|
14
19
|
install(app: App): void;
|
package/dist/plugin.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAO,MAAM,KAAK,CAAA;AAE9B,eAAO,MAAM,IAAI,2BAAU,CAAA;AAE3B,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,OAAO,
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../src/plugin.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,GAAG,EAAO,MAAM,KAAK,CAAA;AAE9B,eAAO,MAAM,IAAI,2BAAU,CAAA;AAE3B,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,UAAU,EACV,WAAW,EACX,SAAS,EACT,SAAS,EACT,MAAM,EACN,KAAK,EACL,OAAO,EACR,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,UAAU;;;;;;;;;;;CAWtB,CAAA;;iBAGc,GAAG;;AADlB,wBAIC"}
|
|
@@ -19,10 +19,10 @@ export type TrialGames = {
|
|
|
19
19
|
favouriteFlag: boolean;
|
|
20
20
|
platformStatusFflag: string;
|
|
21
21
|
platformFlagName: string;
|
|
22
|
-
platformStatusParams:
|
|
22
|
+
platformStatusParams: PlatformStatusParam;
|
|
23
23
|
ppname: string;
|
|
24
24
|
};
|
|
25
|
-
export type
|
|
25
|
+
export type PlatformStatusParam = {
|
|
26
26
|
eb: boolean;
|
|
27
27
|
fit: boolean;
|
|
28
28
|
fs: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/trialGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE,cAAc,EAAE,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,OAAO,CAAA;IACtB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/trialGames/type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEvC,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG;IAC1C,IAAI,EAAE,cAAc,EAAE,CAAA;CACvB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,OAAO,CAAA;IACtB,mBAAmB,EAAE,MAAM,CAAA;IAC3B,gBAAgB,EAAE,MAAM,CAAA;IACxB,oBAAoB,EAAE,mBAAmB,CAAA;IACzC,MAAM,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,EAAE,OAAO,CAAA;IACX,GAAG,EAAE,OAAO,CAAA;IACZ,EAAE,EAAE,OAAO,CAAA;CACZ,CAAA"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/getLocale (incomplete)/index.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=method.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"method.d.ts","sourceRoot":"","sources":["../../src/getLocale (incomplete)/method.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=type.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../src/getLocale (incomplete)/type.ts"],"names":[],"mappings":""}
|