50p82u21t54k 0.0.19 → 0.0.20
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 +236 -78
- package/dist/50p82u21t54k.umd.js +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/plugin.d.ts +4 -1
- package/dist/plugin.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/50p82u21t54k.es.js
CHANGED
|
@@ -1,22 +1,27 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import h from "axios";
|
|
2
|
+
import { ref as G } from "vue";
|
|
3
3
|
import m from "crypto-js";
|
|
4
|
-
const
|
|
4
|
+
const y = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5
5
|
__proto__: null,
|
|
6
6
|
get getHome() {
|
|
7
|
+
return F;
|
|
8
|
+
}
|
|
9
|
+
}, Symbol.toStringTag, { value: "Module" })), v = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
10
|
+
__proto__: null,
|
|
11
|
+
get getHotGames() {
|
|
7
12
|
return E;
|
|
8
13
|
}
|
|
9
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const y = {
|
|
14
|
-
home: G
|
|
15
|
-
}, b = {
|
|
16
|
-
install(a) {
|
|
17
|
-
a.config.globalProperties.$library = y;
|
|
14
|
+
}, Symbol.toStringTag, { value: "Module" })), b = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
15
|
+
__proto__: null,
|
|
16
|
+
get getFishGames() {
|
|
17
|
+
return T;
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, Symbol.toStringTag, { value: "Module" })), O = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
20
|
+
__proto__: null,
|
|
21
|
+
get getTrialGames() {
|
|
22
|
+
return x;
|
|
23
|
+
}
|
|
24
|
+
}, Symbol.toStringTag, { value: "Module" })), f = h.create({
|
|
20
25
|
baseURL: "/apis",
|
|
21
26
|
timeout: 5e3,
|
|
22
27
|
// Request timeout
|
|
@@ -62,47 +67,60 @@ const y = {
|
|
|
62
67
|
// },
|
|
63
68
|
// },
|
|
64
69
|
});
|
|
65
|
-
|
|
70
|
+
f.interceptors.request.use(
|
|
66
71
|
(a) => a,
|
|
67
72
|
(a) => (console.error("Error request:", a.response), Promise.reject(a))
|
|
68
73
|
);
|
|
69
|
-
|
|
74
|
+
f.interceptors.response.use(
|
|
70
75
|
(a) => a,
|
|
71
76
|
(a) => {
|
|
72
|
-
const
|
|
77
|
+
const r = {
|
|
73
78
|
status: null,
|
|
74
79
|
message: "An error occurred"
|
|
75
80
|
};
|
|
76
|
-
return a.response ? (
|
|
81
|
+
return a.response ? (r.status = a.response.status, r.message = a.response.data.message || a.response.statusText, console.error("Error response:", JSON.stringify(r)), a.response.status === 401 ? console.error("Unauthorized access - redirecting to login.") : a.response.status === 404 ? console.error("Resource not found.") : a.response.status >= 500 && console.error("Server error. Please try again later.")) : a.request ? console.error("No response received:", a.request) : console.error("Error setting up request:", a.message), Promise.reject(r);
|
|
77
82
|
}
|
|
78
83
|
);
|
|
79
|
-
const
|
|
84
|
+
const P = G("");
|
|
85
|
+
function u() {
|
|
86
|
+
return P.value === "" ? 0 : 1;
|
|
87
|
+
}
|
|
88
|
+
const N = {
|
|
89
|
+
home: y,
|
|
90
|
+
hotGames: v,
|
|
91
|
+
fishGames: b,
|
|
92
|
+
trialGames: O
|
|
93
|
+
}, j = {
|
|
94
|
+
install(a) {
|
|
95
|
+
a.config.globalProperties.$library = N;
|
|
96
|
+
}
|
|
97
|
+
}, g = (a) => {
|
|
80
98
|
try {
|
|
81
|
-
const
|
|
82
|
-
m.AES.decrypt(a,
|
|
99
|
+
const r = JSON.parse(
|
|
100
|
+
m.AES.decrypt(a, P.value, {
|
|
83
101
|
format: {
|
|
84
102
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
85
|
-
stringify: (
|
|
86
|
-
const
|
|
87
|
-
ct:
|
|
103
|
+
stringify: (t) => {
|
|
104
|
+
const s = {
|
|
105
|
+
ct: t.ciphertext.toString(m.enc.Base64)
|
|
88
106
|
};
|
|
89
|
-
return
|
|
107
|
+
return t.iv && (s.iv = t.iv.toString()), t.salt && (s.s = t.salt.toString()), JSON.stringify(s);
|
|
90
108
|
},
|
|
91
|
-
parse: (
|
|
92
|
-
const
|
|
93
|
-
ciphertext: m.enc.Base64.parse(
|
|
109
|
+
parse: (t) => {
|
|
110
|
+
const s = JSON.parse(t), n = m.lib.CipherParams.create({
|
|
111
|
+
ciphertext: m.enc.Base64.parse(s.ct)
|
|
94
112
|
});
|
|
95
|
-
return
|
|
113
|
+
return s.iv && (n.iv = m.enc.Hex.parse(s.iv)), s.s && (n.salt = m.enc.Hex.parse(s.s)), n;
|
|
96
114
|
}
|
|
97
115
|
}
|
|
98
116
|
}).toString(m.enc.Utf8)
|
|
99
117
|
);
|
|
100
|
-
return
|
|
101
|
-
} catch (
|
|
102
|
-
return console.error(
|
|
118
|
+
return r !== "" ? JSON.parse(r) : r;
|
|
119
|
+
} catch (r) {
|
|
120
|
+
return console.error(r), "";
|
|
103
121
|
}
|
|
104
122
|
};
|
|
105
|
-
async function
|
|
123
|
+
async function F() {
|
|
106
124
|
const a = {
|
|
107
125
|
status: 200,
|
|
108
126
|
message: "",
|
|
@@ -152,41 +170,41 @@ async function E() {
|
|
|
152
170
|
}
|
|
153
171
|
};
|
|
154
172
|
try {
|
|
155
|
-
const [t, s, n
|
|
156
|
-
|
|
173
|
+
const [r, t, s, n] = await Promise.all([
|
|
174
|
+
f.get("/home", {
|
|
157
175
|
params: {
|
|
158
|
-
render:
|
|
176
|
+
render: u()
|
|
159
177
|
}
|
|
160
178
|
}),
|
|
161
|
-
|
|
179
|
+
f.get("/hotGames", {
|
|
162
180
|
params: {
|
|
163
|
-
render:
|
|
181
|
+
render: u()
|
|
164
182
|
}
|
|
165
183
|
}),
|
|
166
|
-
|
|
184
|
+
f.get("/fishGames", {
|
|
167
185
|
params: {
|
|
168
|
-
render:
|
|
186
|
+
render: u()
|
|
169
187
|
}
|
|
170
188
|
}),
|
|
171
|
-
|
|
189
|
+
f.get("/trialGames", {
|
|
172
190
|
params: {
|
|
173
|
-
render:
|
|
191
|
+
render: u()
|
|
174
192
|
}
|
|
175
193
|
})
|
|
176
194
|
]);
|
|
177
|
-
let
|
|
178
|
-
return
|
|
179
|
-
g(
|
|
180
|
-
)) : (
|
|
181
|
-
SPORT:
|
|
182
|
-
SPECIAL:
|
|
183
|
-
PVP:
|
|
184
|
-
LIVE:
|
|
185
|
-
EVENT:
|
|
186
|
-
ESPORT:
|
|
187
|
-
EGAME:
|
|
188
|
-
BINGO:
|
|
189
|
-
}, a.data.mobileBanner =
|
|
195
|
+
let o, l, c, _;
|
|
196
|
+
return u() ? (o = JSON.parse(g(r.data)), l = JSON.parse(g(t.data)), c = JSON.parse(g(s.data)), _ = JSON.parse(
|
|
197
|
+
g(n.data)
|
|
198
|
+
)) : (o = r.data, l = t.data, c = s.data, _ = n.data), r.status != 200 ? (a.status = r.status, a.message = "") : (a.data.game = {
|
|
199
|
+
SPORT: o.game.SPORT.map((e) => d(e)) ?? [],
|
|
200
|
+
SPECIAL: o.game.SPECIAL.map((e) => d(e)) ?? [],
|
|
201
|
+
PVP: o.game.PVP.map((e) => d(e)) ?? [],
|
|
202
|
+
LIVE: o.game.LIVE.map((e) => d(e)) ?? [],
|
|
203
|
+
EVENT: o.game.EVENT.map((e) => d(e)) ?? [],
|
|
204
|
+
ESPORT: o.game.ESPORT.map((e) => d(e)) ?? [],
|
|
205
|
+
EGAME: o.game.EGAME.map((e) => d(e)) ?? [],
|
|
206
|
+
BINGO: o.game.BINGO.map((e) => d(e)) ?? []
|
|
207
|
+
}, a.data.mobileBanner = o.mobileBanner.map((e) => ({
|
|
190
208
|
name: e.name ?? "",
|
|
191
209
|
content: e.content ?? "",
|
|
192
210
|
link: e.link ?? "",
|
|
@@ -194,7 +212,7 @@ async function E() {
|
|
|
194
212
|
updatedOn: e.updated_on ?? "",
|
|
195
213
|
idCmsCategory: e.id_cms_category ?? 0,
|
|
196
214
|
contentOrg: e.content_org ?? ""
|
|
197
|
-
})) ?? [], a.data.announcement =
|
|
215
|
+
})) ?? [], a.data.announcement = o.announcement.map((e) => ({
|
|
198
216
|
announcementIndex: e.announcement_index ?? 0,
|
|
199
217
|
announcementEnglish: e.announcement_english ?? "",
|
|
200
218
|
announcementSimplified: e.announcement_simplified ?? "",
|
|
@@ -215,10 +233,10 @@ async function E() {
|
|
|
215
233
|
annEnd: e.ann_end ?? "",
|
|
216
234
|
grp: e.grp ?? "",
|
|
217
235
|
time: e.time ?? ""
|
|
218
|
-
})) ?? [], a.data.alertAnnouncement =
|
|
236
|
+
})) ?? [], a.data.alertAnnouncement = o.alert_announcement.map((e) => ({
|
|
219
237
|
announcementDateCreated: e.announcement_datecreated ?? "",
|
|
220
238
|
announcementSimplified: e.announcement_simplified ?? ""
|
|
221
|
-
})) ?? []),
|
|
239
|
+
})) ?? []), t.status != 200 ? (a.data.hotGames.status = t.status, a.data.hotGames.message = "") : (a.data.hotGames.data.currentPage = l.current_page ?? 0, a.data.hotGames.data.data = l.data.map((e) => ({
|
|
222
240
|
id: e.id ?? 0,
|
|
223
241
|
name: e.name ?? "",
|
|
224
242
|
pfid: e.pfid ?? 0,
|
|
@@ -240,31 +258,31 @@ async function E() {
|
|
|
240
258
|
fs: e.platform_status_params.fs ?? !1
|
|
241
259
|
},
|
|
242
260
|
gameId: e.game_id ?? 0
|
|
243
|
-
})), a.data.hotGames.data.from =
|
|
261
|
+
})), a.data.hotGames.data.from = l.from ?? 0, a.data.hotGames.data.lastPage = l.last_page ?? 0, a.data.hotGames.data.nextPageUrl = l.next_page_url ?? "", a.data.hotGames.data.path = l.path ?? "", a.data.hotGames.data.perPage = l.per_page ?? 0, a.data.hotGames.data.prevPageUrl = l.prev_page_url ?? "", a.data.hotGames.data.to = l.to ?? 0, a.data.hotGames.data.total = l.total ?? 0), s.status != 200 ? (a.data.fishGames.status = s.status, a.data.fishGames.message = "") : (a.data.fishGames.data.hotfish = c.data.map((e) => i(e)) ?? [], a.data.fishGames.data.data = c.data.map((e) => i(e)) ?? []), n.status != 200 ? (a.data.trialGames.status = n.status, a.data.trialGames.message = "") : a.data.trialGames.data = _.map((e) => ({
|
|
244
262
|
ppid: e.ppid ?? 0,
|
|
245
263
|
ppname: e.ppname ?? "",
|
|
246
|
-
games: e.games.map((
|
|
247
|
-
id:
|
|
248
|
-
name:
|
|
249
|
-
img:
|
|
250
|
-
progressive:
|
|
251
|
-
notry:
|
|
252
|
-
imgSrc:
|
|
253
|
-
imgPf:
|
|
254
|
-
favouriteFlag:
|
|
255
|
-
platformStatusFflag:
|
|
256
|
-
platformFlagName:
|
|
264
|
+
games: e.games.map((p) => ({
|
|
265
|
+
id: p.id ?? 0,
|
|
266
|
+
name: p.name ?? "",
|
|
267
|
+
img: p.img ?? "",
|
|
268
|
+
progressive: p.progressive ?? "",
|
|
269
|
+
notry: p.notry === 1,
|
|
270
|
+
imgSrc: p.imgSrc ?? "",
|
|
271
|
+
imgPf: p.imgPf ?? "",
|
|
272
|
+
favouriteFlag: p.favourite_flag === 1,
|
|
273
|
+
platformStatusFflag: p.platform_status_Fflag ?? "",
|
|
274
|
+
platformFlagName: p.platform_flag_name ?? "",
|
|
257
275
|
platformStatusParams: {
|
|
258
|
-
eb:
|
|
259
|
-
fit:
|
|
260
|
-
fs:
|
|
276
|
+
eb: p.platform_status_params.eb ?? !1,
|
|
277
|
+
fit: p.platform_status_params.fit ?? !1,
|
|
278
|
+
fs: p.platform_status_params.fs ?? !1
|
|
261
279
|
},
|
|
262
280
|
ppname: e.ppname ?? ""
|
|
263
281
|
})) ?? []
|
|
264
282
|
})) ?? [], a;
|
|
265
|
-
} catch (
|
|
266
|
-
const
|
|
267
|
-
return a.status =
|
|
283
|
+
} catch (r) {
|
|
284
|
+
const t = r;
|
|
285
|
+
return a.status = t.status || 500, a.message = t.message, a;
|
|
268
286
|
}
|
|
269
287
|
}
|
|
270
288
|
const i = (a) => ({
|
|
@@ -288,7 +306,7 @@ const i = (a) => ({
|
|
|
288
306
|
fit: a.platform_status_params.fit ?? !1,
|
|
289
307
|
fs: a.platform_status_params.fs ?? !1
|
|
290
308
|
}
|
|
291
|
-
}),
|
|
309
|
+
}), d = (a) => ({
|
|
292
310
|
id: a.id ?? 0,
|
|
293
311
|
idPlatformMaster: a.id_PlatformMaster ?? 0,
|
|
294
312
|
idProductMaster: a.id_ProductMaster ?? 0,
|
|
@@ -331,7 +349,147 @@ const i = (a) => ({
|
|
|
331
349
|
imgSport: a.imgSport ?? "",
|
|
332
350
|
imgTemplate: a.imgTemplate ?? ""
|
|
333
351
|
});
|
|
352
|
+
async function E() {
|
|
353
|
+
const a = {
|
|
354
|
+
status: 200,
|
|
355
|
+
message: "",
|
|
356
|
+
data: {
|
|
357
|
+
currentPage: 0,
|
|
358
|
+
data: [],
|
|
359
|
+
from: 0,
|
|
360
|
+
lastPage: 0,
|
|
361
|
+
nextPageUrl: "",
|
|
362
|
+
path: "",
|
|
363
|
+
perPage: 0,
|
|
364
|
+
prevPageUrl: "",
|
|
365
|
+
to: 0,
|
|
366
|
+
total: 0
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
try {
|
|
370
|
+
const r = await f.get("/hotGames", {
|
|
371
|
+
params: {
|
|
372
|
+
render: u()
|
|
373
|
+
}
|
|
374
|
+
});
|
|
375
|
+
let t;
|
|
376
|
+
return u() ? t = JSON.parse(g(r.data)) : t = r.data, r.status != 200 ? (a.status = r.status, a.message = "", a) : (a.data.currentPage = t.current_page ?? 0, a.data.data = t.data.map((s) => ({
|
|
377
|
+
id: s.id ?? 0,
|
|
378
|
+
name: s.name ?? "",
|
|
379
|
+
pfid: s.pfid ?? 0,
|
|
380
|
+
ppname: s.ppname ?? "",
|
|
381
|
+
code: s.code ?? "",
|
|
382
|
+
img: s.img ?? "",
|
|
383
|
+
progressive: s.progressive ?? "",
|
|
384
|
+
ppid: s.ppid ?? 0,
|
|
385
|
+
notry: s.notry === 1,
|
|
386
|
+
productCode: s.product_code ?? "",
|
|
387
|
+
imgSrc: s.imgSrc ?? "",
|
|
388
|
+
imgPf: s.imgPf ?? "",
|
|
389
|
+
favouriteFlag: s.favourite_flag === 1,
|
|
390
|
+
platformStatusFlag: s.platform_status_flag ?? "",
|
|
391
|
+
platformFlagName: s.platform_flag_name ?? "",
|
|
392
|
+
platformStatusParams: {
|
|
393
|
+
eb: s.platform_status_params.eb ?? !1,
|
|
394
|
+
fit: s.platform_status_params.fit ?? !1,
|
|
395
|
+
fs: s.platform_status_params.fs ?? !1
|
|
396
|
+
},
|
|
397
|
+
gameId: s.game_id ?? 0
|
|
398
|
+
})), a.data.from = t.from ?? 0, a.data.lastPage = t.last_page ?? 0, a.data.nextPageUrl = t.next_page_url ?? "", a.data.path = t.path ?? "", a.data.perPage = t.per_page ?? 0, a.data.prevPageUrl = t.prev_page_url ?? "", a.data.to = t.to ?? 0, a.data.total = t.total ?? 0, a);
|
|
399
|
+
} catch (r) {
|
|
400
|
+
const t = r;
|
|
401
|
+
return a.status = t.status || 500, a.message = t.message, a;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
async function T() {
|
|
405
|
+
const a = {
|
|
406
|
+
status: 200,
|
|
407
|
+
message: "",
|
|
408
|
+
data: {
|
|
409
|
+
hotfish: [],
|
|
410
|
+
data: []
|
|
411
|
+
}
|
|
412
|
+
};
|
|
413
|
+
try {
|
|
414
|
+
const r = await f.get("/fishGames", {
|
|
415
|
+
params: {
|
|
416
|
+
render: u(),
|
|
417
|
+
setting: []
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
let t;
|
|
421
|
+
return u() ? t = JSON.parse(g(r.data)) : t = r.data, r.status != 200 ? (a.status = r.status, a.message = "", a) : (a.data.hotfish = t.data.map((s) => S(s)), a.data.data = t.data.map((s) => S(s)), a);
|
|
422
|
+
} catch (r) {
|
|
423
|
+
const t = r;
|
|
424
|
+
return a.status = t.status || 500, a.message = t.message, a;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
const S = (a) => ({
|
|
428
|
+
id: a.id ?? 0,
|
|
429
|
+
name: a.name ?? "",
|
|
430
|
+
ppid: a.pp_id ?? "",
|
|
431
|
+
img: a.img ?? "",
|
|
432
|
+
desc: a.desc ?? "",
|
|
433
|
+
ppname: a.pp_name ?? "",
|
|
434
|
+
platformCode: a.platform_code ?? "",
|
|
435
|
+
code: a.code ?? "",
|
|
436
|
+
flag: a.flag ?? 0,
|
|
437
|
+
gameId: a.game_id ?? 0,
|
|
438
|
+
imgSrc: a.imgSrc ?? "",
|
|
439
|
+
imgPf: a.imgPf ?? "",
|
|
440
|
+
favouriteFlag: a.favourite_flag === 1,
|
|
441
|
+
platformStatusFflag: a.platform_status_Fflag ?? "",
|
|
442
|
+
platformFlagName: a.platform_flag_name ?? "",
|
|
443
|
+
platformStatusParams: {
|
|
444
|
+
eb: a.platform_status_params.eb ?? !1,
|
|
445
|
+
fit: a.platform_status_params.fit ?? !1,
|
|
446
|
+
fs: a.platform_status_params.fs ?? !1
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
async function x() {
|
|
450
|
+
const a = {
|
|
451
|
+
status: 200,
|
|
452
|
+
message: "",
|
|
453
|
+
data: []
|
|
454
|
+
};
|
|
455
|
+
try {
|
|
456
|
+
const r = await f.get("/trialGames", {
|
|
457
|
+
params: {
|
|
458
|
+
render: u()
|
|
459
|
+
}
|
|
460
|
+
});
|
|
461
|
+
let t;
|
|
462
|
+
return u() ? t = JSON.parse(g(r.data)) : t = r.data, r.status != 200 ? (a.status = r.status, a.message = "", a) : (a.data = t.map((s) => ({
|
|
463
|
+
ppid: s.ppid ?? 0,
|
|
464
|
+
ppname: s.ppname ?? "",
|
|
465
|
+
games: s.games.map((n) => ({
|
|
466
|
+
id: n.id ?? 0,
|
|
467
|
+
name: n.name ?? "",
|
|
468
|
+
img: n.img ?? "",
|
|
469
|
+
progressive: n.progressive ?? "",
|
|
470
|
+
notry: n.notry === 1,
|
|
471
|
+
imgSrc: n.imgSrc ?? "",
|
|
472
|
+
imgPf: n.imgPf ?? "",
|
|
473
|
+
favouriteFlag: n.favourite_flag === 1,
|
|
474
|
+
platformStatusFflag: n.platform_status_Fflag ?? "",
|
|
475
|
+
platformFlagName: n.platform_flag_name ?? "",
|
|
476
|
+
platformStatusParams: {
|
|
477
|
+
eb: n.platform_status_params.eb ?? !1,
|
|
478
|
+
fit: n.platform_status_params.fit ?? !1,
|
|
479
|
+
fs: n.platform_status_params.fs ?? !1
|
|
480
|
+
},
|
|
481
|
+
ppname: s.ppname ?? ""
|
|
482
|
+
})) ?? []
|
|
483
|
+
})) ?? [], a);
|
|
484
|
+
} catch (r) {
|
|
485
|
+
const t = r;
|
|
486
|
+
return a.status = t.status || 500, a.message = t.message, a;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
334
489
|
export {
|
|
335
|
-
|
|
336
|
-
|
|
490
|
+
j as Repository,
|
|
491
|
+
b as fishGames,
|
|
492
|
+
y as home,
|
|
493
|
+
v as hotGames,
|
|
494
|
+
O as trialGames
|
|
337
495
|
};
|
package/dist/50p82u21t54k.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(u,c){typeof exports=="object"&&typeof module<"u"?c(exports,require("vue"),require("axios"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","vue","axios","crypto-js"],c):(u=typeof globalThis<"u"?globalThis:u||self,c(u["50p82u21t54k"]={},u.Vue,u.axios,u.CryptoJS))})(this,function(u,c,y,f){"use strict";const P=Object.freeze(Object.defineProperty({__proto__:null,get getHome(){return N}},Symbol.toStringTag,{value:"Module"})),S=c.ref("");function g(){return S.value===""?0:1}const v={home:P},E={install(a){a.config.globalProperties.$library=v}},m=y.create({baseURL:"/apis",timeout:5e3,headers:{"Content-Type":"application/json"}});m.interceptors.request.use(a=>a,a=>(console.error("Error request:",a.response),Promise.reject(a))),m.interceptors.response.use(a=>a,a=>{const t={status:null,message:"An error occurred"};return a.response?(t.status=a.response.status,t.message=a.response.data.message||a.response.statusText,console.error("Error response:",JSON.stringify(t)),a.response.status===401?console.error("Unauthorized access - redirecting to login."):a.response.status===404?console.error("Resource not found."):a.response.status>=500&&console.error("Server error. Please try again later.")):a.request?console.error("No response received:",a.request):console.error("Error setting up request:",a.message),Promise.reject(t)});const i=a=>{try{const t=JSON.parse(f.AES.decrypt(a,S.value,{format:{stringify:s=>{const n={ct:s.ciphertext.toString(f.enc.Base64)};return s.iv&&(n.iv=s.iv.toString()),s.salt&&(n.s=s.salt.toString()),JSON.stringify(n)},parse:s=>{const n=JSON.parse(s),d=f.lib.CipherParams.create({ciphertext:f.enc.Base64.parse(n.ct)});return n.iv&&(d.iv=f.enc.Hex.parse(n.iv)),n.s&&(d.salt=f.enc.Hex.parse(n.s)),d}}}).toString(f.enc.Utf8));return t!==""?JSON.parse(t):t}catch(t){return console.error(t),""}};async function N(){const a={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[t,s,n,d]=await Promise.all([m.get("/home",{params:{render:g()}}),m.get("/hotGames",{params:{render:g()}}),m.get("/fishGames",{params:{render:g()}}),m.get("/trialGames",{params:{render:g()}})]);let r,p,_,h;return g()?(r=JSON.parse(i(t.data)),p=JSON.parse(i(s.data)),_=JSON.parse(i(n.data)),h=JSON.parse(i(d.data))):(r=t.data,p=s.data,_=n.data,h=d.data),t.status!=200?(a.status=t.status,a.message=""):(a.data.game={SPORT:r.game.SPORT.map(e=>l(e))??[],SPECIAL:r.game.SPECIAL.map(e=>l(e))??[],PVP:r.game.PVP.map(e=>l(e))??[],LIVE:r.game.LIVE.map(e=>l(e))??[],EVENT:r.game.EVENT.map(e=>l(e))??[],ESPORT:r.game.ESPORT.map(e=>l(e))??[],EGAME:r.game.EGAME.map(e=>l(e))??[],BINGO:r.game.BINGO.map(e=>l(e))??[]},a.data.mobileBanner=r.mobileBanner.map(e=>({name:e.name??"",content:e.content??"",link:e.link??"",linkTarget:e.link_target??"",updatedOn:e.updated_on??"",idCmsCategory:e.id_cms_category??0,contentOrg:e.content_org??""}))??[],a.data.announcement=r.announcement.map(e=>({announcementIndex:e.announcement_index??0,announcementEnglish:e.announcement_english??"",announcementSimplified:e.announcement_simplified??"",announcementTraditional:e.announcement_traditional??"",announcementMalay:e.announcement_malay??"",announcementStatus:e.announcement_status==="1",announcementShow:e.announcement_show==="1",announcementAlert:e.announcement_alert==="1",announcementUser:e.announcement_user==="1",announcementSequence:e.announcement_sequence??0,announcementCompany:e.announcement_company==="1",companyIndex:e.companyindex??0,announcementLastUpdated:e.announcement_lastupdated??"",announcementDateCreated:e.announcement_datecreated??"",announcementSmaid:e.announcement_smaid??"",annTimer:e.ann_timer??"",annStart:e.ann_start??"",annEnd:e.ann_end??"",grp:e.grp??"",time:e.time??""}))??[],a.data.alertAnnouncement=r.alert_announcement.map(e=>({announcementDateCreated:e.announcement_datecreated??"",announcementSimplified:e.announcement_simplified??""}))??[]),s.status!=200?(a.data.hotGames.status=s.status,a.data.hotGames.message=""):(a.data.hotGames.data.currentPage=p.current_page??0,a.data.hotGames.data.data=p.data.map(e=>({id:e.id??0,name:e.name??"",pfid:e.pfid??0,ppname:e.ppname??"",code:e.code??"",img:e.img??"",progressive:e.progressive??"",ppid:e.ppid??0,notry:e.notry===1,productCode:e.product_code??"",imgSrc:e.imgSrc??"",imgPf:e.imgPf??"",favouriteFlag:e.favourite_flag===1,platformStatusFlag:e.platform_status_flag??"",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},gameId:e.game_id??0})),a.data.hotGames.data.from=p.from??0,a.data.hotGames.data.lastPage=p.last_page??0,a.data.hotGames.data.nextPageUrl=p.next_page_url??"",a.data.hotGames.data.path=p.path??"",a.data.hotGames.data.perPage=p.per_page??0,a.data.hotGames.data.prevPageUrl=p.prev_page_url??"",a.data.hotGames.data.to=p.to??0,a.data.hotGames.data.total=p.total??0),n.status!=200?(a.data.fishGames.status=n.status,a.data.fishGames.message=""):(a.data.fishGames.data.hotfish=_.data.map(e=>G(e))??[],a.data.fishGames.data.data=_.data.map(e=>G(e))??[]),d.status!=200?(a.data.trialGames.status=d.status,a.data.trialGames.message=""):a.data.trialGames.data=h.map(e=>({ppid:e.ppid??0,ppname:e.ppname??"",games:e.games.map(o=>({id:o.id??0,name:o.name??"",img:o.img??"",progressive:o.progressive??"",notry:o.notry===1,imgSrc:o.imgSrc??"",imgPf:o.imgPf??"",favouriteFlag:o.favourite_flag===1,platformStatusFflag:o.platform_status_Fflag??"",platformFlagName:o.platform_flag_name??"",platformStatusParams:{eb:o.platform_status_params.eb??!1,fit:o.platform_status_params.fit??!1,fs:o.platform_status_params.fs??!1},ppname:e.ppname??""}))??[]}))??[],a}catch(t){const s=t;return a.status=s.status||500,a.message=s.message,a}}const G=a=>({id:a.id??0,name:a.name??"",ppid:a.pp_id??"",img:a.img??"",desc:a.desc??"",ppname:a.pp_name??"",platformCode:a.platform_code??"",code:a.code??"",flag:a.flag??0,gameId:a.game_id??0,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}}),l=a=>({id:a.id??0,idPlatformMaster:a.id_PlatformMaster??0,idProductMaster:a.id_ProductMaster??0,name:a.name??"",shortName:a.shortName??"",img:a.img??"",mobileUrl:a.mobileUrl??"",url:a.url??"",desc:a.desc??"",seq:a.seq??0,flag:a.flag??0,status:a.status??"",createdBy:a.created_by??0,createdOn:a.created_on??"",categoryID:a.categoryid??0,com:a.com??"",cur:a.cur??"",pt:a.pt??"",ppName:a.pp_name??"",ppImage:a.pp_image??"",platformCode:a.platform_code??"",platformName:a.platform_name??"",classIcon:a.class_icon??"",productCode:a.product_code??"",productName:a.product_name??"",gameID:a.game_id??0,fAuth:a.fAuth??!1,platformStatusParams:{eb:a.platform_status_params.eb??!1,fit:a.platform_status_params.fit??!1,fs:a.platform_status_params.fs??!1},loginFlag:a.login_flag==="1",link:a.link??"",favouriteFlag:a.favourite_flag===1,platformStatusFlag:a.platform_status_flag??"",platformFlagName:a.platform_flag_name??"",homeLogo:a.home_logo??"",imgPf:a.imgPf??"",imgSport:a.imgSport??"",imgTemplate:a.imgTemplate??""});u.Repository=E,u.home=P,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(o,_){typeof exports=="object"&&typeof module<"u"?_(exports,require("axios"),require("vue"),require("crypto-js")):typeof define=="function"&&define.amd?define(["exports","axios","vue","crypto-js"],_):(o=typeof globalThis<"u"?globalThis:o||self,_(o["50p82u21t54k"]={},o.axios,o.Vue,o.CryptoJS))})(this,function(o,_,N,g){"use strict";const P=Object.freeze(Object.defineProperty({__proto__:null,get getHome(){return T}},Symbol.toStringTag,{value:"Module"})),S=Object.freeze(Object.defineProperty({__proto__:null,get getHotGames(){return j}},Symbol.toStringTag,{value:"Module"})),G=Object.freeze(Object.defineProperty({__proto__:null,get getFishGames(){return x}},Symbol.toStringTag,{value:"Module"})),y=Object.freeze(Object.defineProperty({__proto__:null,get getTrialGames(){return R}},Symbol.toStringTag,{value:"Module"})),d=_.create({baseURL:"/apis",timeout:5e3,headers:{"Content-Type":"application/json"}});d.interceptors.request.use(a=>a,a=>(console.error("Error request:",a.response),Promise.reject(a))),d.interceptors.response.use(a=>a,a=>{const r={status:null,message:"An error occurred"};return a.response?(r.status=a.response.status,r.message=a.response.data.message||a.response.statusText,console.error("Error response:",JSON.stringify(r)),a.response.status===401?console.error("Unauthorized access - redirecting to login."):a.response.status===404?console.error("Resource not found."):a.response.status>=500&&console.error("Server error. Please try again later.")):a.request?console.error("No response received:",a.request):console.error("Error setting up request:",a.message),Promise.reject(r)});const v=N.ref("");function f(){return v.value===""?0:1}const F={home:P,hotGames:S,fishGames:G,trialGames:y},E={install(a){a.config.globalProperties.$library=F}},c=a=>{try{const r=JSON.parse(g.AES.decrypt(a,v.value,{format:{stringify:t=>{const s={ct:t.ciphertext.toString(g.enc.Base64)};return t.iv&&(s.iv=t.iv.toString()),t.salt&&(s.s=t.salt.toString()),JSON.stringify(s)},parse:t=>{const s=JSON.parse(t),n=g.lib.CipherParams.create({ciphertext:g.enc.Base64.parse(s.ct)});return s.iv&&(n.iv=g.enc.Hex.parse(s.iv)),s.s&&(n.salt=g.enc.Hex.parse(s.s)),n}}}).toString(g.enc.Utf8));return r!==""?JSON.parse(r):r}catch(r){return console.error(r),""}};async function T(){const a={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[r,t,s,n]=await Promise.all([d.get("/home",{params:{render:f()}}),d.get("/hotGames",{params:{render:f()}}),d.get("/fishGames",{params:{render:f()}}),d.get("/trialGames",{params:{render:f()}})]);let p,u,i,h;return f()?(p=JSON.parse(c(r.data)),u=JSON.parse(c(t.data)),i=JSON.parse(c(s.data)),h=JSON.parse(c(n.data))):(p=r.data,u=t.data,i=s.data,h=n.data),r.status!=200?(a.status=r.status,a.message=""):(a.data.game={SPORT:p.game.SPORT.map(e=>m(e))??[],SPECIAL:p.game.SPECIAL.map(e=>m(e))??[],PVP:p.game.PVP.map(e=>m(e))??[],LIVE:p.game.LIVE.map(e=>m(e))??[],EVENT:p.game.EVENT.map(e=>m(e))??[],ESPORT:p.game.ESPORT.map(e=>m(e))??[],EGAME:p.game.EGAME.map(e=>m(e))??[],BINGO:p.game.BINGO.map(e=>m(e))??[]},a.data.mobileBanner=p.mobileBanner.map(e=>({name:e.name??"",content:e.content??"",link:e.link??"",linkTarget:e.link_target??"",updatedOn:e.updated_on??"",idCmsCategory:e.id_cms_category??0,contentOrg:e.content_org??""}))??[],a.data.announcement=p.announcement.map(e=>({announcementIndex:e.announcement_index??0,announcementEnglish:e.announcement_english??"",announcementSimplified:e.announcement_simplified??"",announcementTraditional:e.announcement_traditional??"",announcementMalay:e.announcement_malay??"",announcementStatus:e.announcement_status==="1",announcementShow:e.announcement_show==="1",announcementAlert:e.announcement_alert==="1",announcementUser:e.announcement_user==="1",announcementSequence:e.announcement_sequence??0,announcementCompany:e.announcement_company==="1",companyIndex:e.companyindex??0,announcementLastUpdated:e.announcement_lastupdated??"",announcementDateCreated:e.announcement_datecreated??"",announcementSmaid:e.announcement_smaid??"",annTimer:e.ann_timer??"",annStart:e.ann_start??"",annEnd:e.ann_end??"",grp:e.grp??"",time:e.time??""}))??[],a.data.alertAnnouncement=p.alert_announcement.map(e=>({announcementDateCreated:e.announcement_datecreated??"",announcementSimplified:e.announcement_simplified??""}))??[]),t.status!=200?(a.data.hotGames.status=t.status,a.data.hotGames.message=""):(a.data.hotGames.data.currentPage=u.current_page??0,a.data.hotGames.data.data=u.data.map(e=>({id:e.id??0,name:e.name??"",pfid:e.pfid??0,ppname:e.ppname??"",code:e.code??"",img:e.img??"",progressive:e.progressive??"",ppid:e.ppid??0,notry:e.notry===1,productCode:e.product_code??"",imgSrc:e.imgSrc??"",imgPf:e.imgPf??"",favouriteFlag:e.favourite_flag===1,platformStatusFlag:e.platform_status_flag??"",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},gameId:e.game_id??0})),a.data.hotGames.data.from=u.from??0,a.data.hotGames.data.lastPage=u.last_page??0,a.data.hotGames.data.nextPageUrl=u.next_page_url??"",a.data.hotGames.data.path=u.path??"",a.data.hotGames.data.perPage=u.per_page??0,a.data.hotGames.data.prevPageUrl=u.prev_page_url??"",a.data.hotGames.data.to=u.to??0,a.data.hotGames.data.total=u.total??0),s.status!=200?(a.data.fishGames.status=s.status,a.data.fishGames.message=""):(a.data.fishGames.data.hotfish=i.data.map(e=>b(e))??[],a.data.fishGames.data.data=i.data.map(e=>b(e))??[]),n.status!=200?(a.data.trialGames.status=n.status,a.data.trialGames.message=""):a.data.trialGames.data=h.map(e=>({ppid:e.ppid??0,ppname:e.ppname??"",games:e.games.map(l=>({id:l.id??0,name:l.name??"",img:l.img??"",progressive:l.progressive??"",notry:l.notry===1,imgSrc:l.imgSrc??"",imgPf:l.imgPf??"",favouriteFlag:l.favourite_flag===1,platformStatusFflag:l.platform_status_Fflag??"",platformFlagName:l.platform_flag_name??"",platformStatusParams:{eb:l.platform_status_params.eb??!1,fit:l.platform_status_params.fit??!1,fs:l.platform_status_params.fs??!1},ppname:e.ppname??""}))??[]}))??[],a}catch(r){const t=r;return a.status=t.status||500,a.message=t.message,a}}const b=a=>({id:a.id??0,name:a.name??"",ppid:a.pp_id??"",img:a.img??"",desc:a.desc??"",ppname:a.pp_name??"",platformCode:a.platform_code??"",code:a.code??"",flag:a.flag??0,gameId:a.game_id??0,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}}),m=a=>({id:a.id??0,idPlatformMaster:a.id_PlatformMaster??0,idProductMaster:a.id_ProductMaster??0,name:a.name??"",shortName:a.shortName??"",img:a.img??"",mobileUrl:a.mobileUrl??"",url:a.url??"",desc:a.desc??"",seq:a.seq??0,flag:a.flag??0,status:a.status??"",createdBy:a.created_by??0,createdOn:a.created_on??"",categoryID:a.categoryid??0,com:a.com??"",cur:a.cur??"",pt:a.pt??"",ppName:a.pp_name??"",ppImage:a.pp_image??"",platformCode:a.platform_code??"",platformName:a.platform_name??"",classIcon:a.class_icon??"",productCode:a.product_code??"",productName:a.product_name??"",gameID:a.game_id??0,fAuth:a.fAuth??!1,platformStatusParams:{eb:a.platform_status_params.eb??!1,fit:a.platform_status_params.fit??!1,fs:a.platform_status_params.fs??!1},loginFlag:a.login_flag==="1",link:a.link??"",favouriteFlag:a.favourite_flag===1,platformStatusFlag:a.platform_status_flag??"",platformFlagName:a.platform_flag_name??"",homeLogo:a.home_logo??"",imgPf:a.imgPf??"",imgSport:a.imgSport??"",imgTemplate:a.imgTemplate??""});async function j(){const a={status:200,message:"",data:{currentPage:0,data:[],from:0,lastPage:0,nextPageUrl:"",path:"",perPage:0,prevPageUrl:"",to:0,total:0}};try{const r=await d.get("/hotGames",{params:{render:f()}});let t;return f()?t=JSON.parse(c(r.data)):t=r.data,r.status!=200?(a.status=r.status,a.message="",a):(a.data.currentPage=t.current_page??0,a.data.data=t.data.map(s=>({id:s.id??0,name:s.name??"",pfid:s.pfid??0,ppname:s.ppname??"",code:s.code??"",img:s.img??"",progressive:s.progressive??"",ppid:s.ppid??0,notry:s.notry===1,productCode:s.product_code??"",imgSrc:s.imgSrc??"",imgPf:s.imgPf??"",favouriteFlag:s.favourite_flag===1,platformStatusFlag:s.platform_status_flag??"",platformFlagName:s.platform_flag_name??"",platformStatusParams:{eb:s.platform_status_params.eb??!1,fit:s.platform_status_params.fit??!1,fs:s.platform_status_params.fs??!1},gameId:s.game_id??0})),a.data.from=t.from??0,a.data.lastPage=t.last_page??0,a.data.nextPageUrl=t.next_page_url??"",a.data.path=t.path??"",a.data.perPage=t.per_page??0,a.data.prevPageUrl=t.prev_page_url??"",a.data.to=t.to??0,a.data.total=t.total??0,a)}catch(r){const t=r;return a.status=t.status||500,a.message=t.message,a}}async function x(){const a={status:200,message:"",data:{hotfish:[],data:[]}};try{const r=await d.get("/fishGames",{params:{render:f(),setting:[]}});let t;return f()?t=JSON.parse(c(r.data)):t=r.data,r.status!=200?(a.status=r.status,a.message="",a):(a.data.hotfish=t.data.map(s=>O(s)),a.data.data=t.data.map(s=>O(s)),a)}catch(r){const t=r;return a.status=t.status||500,a.message=t.message,a}}const O=a=>({id:a.id??0,name:a.name??"",ppid:a.pp_id??"",img:a.img??"",desc:a.desc??"",ppname:a.pp_name??"",platformCode:a.platform_code??"",code:a.code??"",flag:a.flag??0,gameId:a.game_id??0,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}});async function R(){const a={status:200,message:"",data:[]};try{const r=await d.get("/trialGames",{params:{render:f()}});let t;return f()?t=JSON.parse(c(r.data)):t=r.data,r.status!=200?(a.status=r.status,a.message="",a):(a.data=t.map(s=>({ppid:s.ppid??0,ppname:s.ppname??"",games:s.games.map(n=>({id:n.id??0,name:n.name??"",img:n.img??"",progressive:n.progressive??"",notry:n.notry===1,imgSrc:n.imgSrc??"",imgPf:n.imgPf??"",favouriteFlag:n.favourite_flag===1,platformStatusFflag:n.platform_status_Fflag??"",platformFlagName:n.platform_flag_name??"",platformStatusParams:{eb:n.platform_status_params.eb??!1,fit:n.platform_status_params.fit??!1,fs:n.platform_status_params.fs??!1},ppname:s.ppname??""}))??[]}))??[],a)}catch(r){const t=r;return a.status=t.status||500,a.message=t.message,a}}o.Repository=E,o.fishGames=G,o.home=P,o.hotGames=S,o.trialGames=y,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})});
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
export { default as Repository } from './plugin';
|
|
2
1
|
import * as home from './home';
|
|
3
|
-
|
|
2
|
+
import * as hotGames from './hotGames';
|
|
3
|
+
import * as fishGames from './fishGames';
|
|
4
|
+
import * as trialGames from './trialGames';
|
|
5
|
+
export { home, hotGames, fishGames, trialGames };
|
|
4
6
|
export type RepositoryType = {
|
|
5
7
|
home: typeof home;
|
|
8
|
+
hotGames: typeof hotGames;
|
|
9
|
+
fishGames: typeof fishGames;
|
|
10
|
+
trialGames: typeof trialGames;
|
|
6
11
|
};
|
|
12
|
+
export { default as Repository } from './plugin';
|
|
7
13
|
//# 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":"
|
|
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;AAE1C,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,CAAA;AAEhD,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;CAC9B,CAAA;AAED,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,UAAU,CAAA"}
|
package/dist/plugin.d.ts
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
import { home } from './index';
|
|
2
|
+
import { home, hotGames, fishGames, trialGames } from './index';
|
|
3
3
|
|
|
4
4
|
export declare const gKey: import('vue').Ref<string>;
|
|
5
5
|
export declare function getRender(): number;
|
|
6
6
|
export declare const Repository: {
|
|
7
7
|
home: typeof home;
|
|
8
|
+
hotGames: typeof hotGames;
|
|
9
|
+
fishGames: typeof fishGames;
|
|
10
|
+
trialGames: typeof trialGames;
|
|
8
11
|
};
|
|
9
12
|
declare const _default: {
|
|
10
13
|
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,EAAE,IAAI,EAAE,MAAM,SAAS,CAAA;
|
|
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,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAE/D,eAAO,MAAM,UAAU;;;;;CAKtB,CAAA;;iBAGc,GAAG;;AADlB,wBAIC"}
|