@necrolab/dashboard 0.4.210 → 0.4.212
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/backend/api.js
CHANGED
|
@@ -398,7 +398,20 @@ app.get("/api/cors", async (req, res) => {
|
|
|
398
398
|
|
|
399
399
|
let config = {};
|
|
400
400
|
app.get("/api/quickconfig", async (req, res) => {
|
|
401
|
-
return res.json(
|
|
401
|
+
return res.json({
|
|
402
|
+
keys: {
|
|
403
|
+
Captcha: {
|
|
404
|
+
CapMonster: "fe9f920acc58e0296b84d07f46822a",
|
|
405
|
+
CapSolver: "CAP-E9A981297E6D56CC32896AF38C3A0",
|
|
406
|
+
Invizible: "35c3aea4-5d01-4fde-b2-d69568f637d2",
|
|
407
|
+
TwoCaptcha: "8cf8f62b11f7382132f6fdc624c2"
|
|
408
|
+
},
|
|
409
|
+
SMS: {
|
|
410
|
+
Quackr: "pFFzLab8SXgR5lP1WP4SK1AW2",
|
|
411
|
+
SMSActivate: "305d36dbd47702AeA5f4ce2df0c76"
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
});
|
|
402
415
|
});
|
|
403
416
|
|
|
404
417
|
app.post("/api/quickconfig", async (req, res) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@necrolab/dashboard",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.212",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "npx workbox-cli generateSW workbox-config.js && vite build",
|
|
6
6
|
"dev": "vite",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@faker-js/faker": "^7.6.0",
|
|
16
16
|
"@msgpack/msgpack": "^3.0.0-beta2",
|
|
17
|
-
"@necrolab/tm-renderer": "^0.1.
|
|
17
|
+
"@necrolab/tm-renderer": "^0.1.2",
|
|
18
18
|
"@vitejs/plugin-vue": "^5.0.3",
|
|
19
19
|
"@vueuse/core": "^10.7.2",
|
|
20
20
|
"autoprefixer": "^10.4.17",
|
|
@@ -1,43 +1,32 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<Modal>
|
|
3
|
-
<template #header
|
|
3
|
+
<template #header
|
|
4
|
+
><span class="mb-4 flex">Quick Settings <GearIcon class="ml-4 w-4" /></span
|
|
5
|
+
></template>
|
|
4
6
|
|
|
5
|
-
<div
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
placeholder="Enter HyperAPI key"
|
|
21
|
-
/>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<div
|
|
25
|
-
class="text-white bg-dark-500 mb-3 rounded border-dark-550 border-2 px-3 flex items-center justify-between h-10"
|
|
26
|
-
>
|
|
27
|
-
<span class="w-full">Capsolver key</span>
|
|
28
|
-
<input
|
|
29
|
-
type="text"
|
|
30
|
-
class="transparent w-full bg-transparent border-none text-white placeholder-light-400"
|
|
31
|
-
placeholder="Enter Capsolver key"
|
|
32
|
-
/>
|
|
7
|
+
<div v-for="(category, categoryName) in quickConfig.keys" :key="categoryName" class="mb-4">
|
|
8
|
+
<div class="text-light-400 mb-2">{{ categoryName }} Keys</div>
|
|
9
|
+
<div
|
|
10
|
+
v-for="(value, keyName) in category"
|
|
11
|
+
:key="keyName"
|
|
12
|
+
class="text-white bg-dark-500 mb-3 rounded border-dark-550 border-2 px-3 flex items-center justify-between h-10"
|
|
13
|
+
>
|
|
14
|
+
<span class="w-1/3">{{ keyName }}</span>
|
|
15
|
+
<input
|
|
16
|
+
type="text"
|
|
17
|
+
class="transparent w-2/3 bg-transparent border-none text-white placeholder-light-400"
|
|
18
|
+
:placeholder="`Enter ${keyName} key`"
|
|
19
|
+
v-model="quickConfig.keys[categoryName][keyName]"
|
|
20
|
+
/>
|
|
21
|
+
</div>
|
|
33
22
|
</div>
|
|
34
23
|
|
|
35
24
|
<div
|
|
36
|
-
class="text-white bg-dark-500 mb-3 rounded border-dark-550 border-2
|
|
25
|
+
class="text-white bg-dark-500 mb-3 rounded border-dark-550 border-2 flex items-center justify-between h-10"
|
|
37
26
|
>
|
|
38
|
-
<span class="w-
|
|
27
|
+
<span class="w-1/3">Checkout Proxies</span>
|
|
39
28
|
<Dropdown
|
|
40
|
-
class="
|
|
29
|
+
class="transparent !w-2/3 !px-0 bg-transparent border-none text-white z-50"
|
|
41
30
|
:default="ui.profile.proxyList?.checkout || proxyLists[0]"
|
|
42
31
|
:options="proxyLists"
|
|
43
32
|
:onClick="(f) => saveProxyListUpate('checkout', f)"
|
|
@@ -46,10 +35,12 @@
|
|
|
46
35
|
/>
|
|
47
36
|
</div>
|
|
48
37
|
|
|
49
|
-
<div
|
|
50
|
-
|
|
38
|
+
<div
|
|
39
|
+
class="text-white bg-dark-500 mb-3 rounded border-dark-550 border-2 flex items-center justify-between h-10"
|
|
40
|
+
>
|
|
41
|
+
<span class="w-1/3">Queue Proxies</span>
|
|
51
42
|
<Dropdown
|
|
52
|
-
class="
|
|
43
|
+
class="transparent !w-2/3 !px-0 bg-transparent border-none text-white z-30"
|
|
53
44
|
:default="ui.profile.proxyList?.queue || proxyLists[0]"
|
|
54
45
|
:onClick="(f) => saveProxyListUpate('queue', f)"
|
|
55
46
|
:options="proxyLists"
|
|
@@ -57,23 +48,17 @@
|
|
|
57
48
|
rightAmount="right-3"
|
|
58
49
|
/>
|
|
59
50
|
</div>
|
|
60
|
-
<div class="flex mt-5 justify-between items-
|
|
61
|
-
<span class="text-light-400 text-sm
|
|
62
|
-
<div class="flex
|
|
51
|
+
<div class="flex mt-5 justify-between flex-row items-center">
|
|
52
|
+
<span class="text-light-400 text-sm">v{{ version }}</span>
|
|
53
|
+
<div class="flex gap-5">
|
|
63
54
|
<button
|
|
64
|
-
class="button-default hover:opacity-70 active:opacity-50 bg-dark-400 w-24
|
|
55
|
+
class="button-default hover:opacity-70 active:opacity-50 bg-dark-400 w-24 text-xs flex items-center justify-center gap-x-2"
|
|
65
56
|
@click="checkBalances()"
|
|
66
57
|
>
|
|
67
58
|
Balances <img src="@/assets/img/sell.svg" width="14" />
|
|
68
59
|
</button>
|
|
69
60
|
<button
|
|
70
|
-
class="button-default hover:opacity-70 active:opacity-50 bg-dark-400 w-24
|
|
71
|
-
@click="done(false)"
|
|
72
|
-
>
|
|
73
|
-
Cancel <img src="@/assets/img/close.svg" width="14" />
|
|
74
|
-
</button>
|
|
75
|
-
<button
|
|
76
|
-
class="button-default hover:opacity-70 active:opacity-50 bg-dark-400 w-24 md:w-44 text-xs flex items-center justify-center gap-x-2"
|
|
61
|
+
class="button-default hover:opacity-70 active:opacity-50 bg-dark-400 w-24 text-xs flex items-center justify-center gap-x-2"
|
|
77
62
|
@click="done(true)"
|
|
78
63
|
>
|
|
79
64
|
Save <img src="/img/save.svg" width="14" class="invert" />
|
|
@@ -335,6 +335,7 @@ let rendererFactory;
|
|
|
335
335
|
if (!DEBUG)
|
|
336
336
|
RendererFactory.then((r) => {
|
|
337
337
|
rendererFactory = new r.default();
|
|
338
|
+
rendererFactory.init();
|
|
338
339
|
});
|
|
339
340
|
|
|
340
341
|
const updateShownVenue = async () => {
|
|
@@ -348,12 +349,12 @@ const updateShownVenue = async () => {
|
|
|
348
349
|
return;
|
|
349
350
|
}
|
|
350
351
|
|
|
352
|
+
debugger;
|
|
351
353
|
renderer = rendererFactory.createRenderer(eventId.value, "", country);
|
|
352
354
|
filterBuilder.value.highlightedSeatColor = renderer.c.highlightedSeatColor;
|
|
353
355
|
renderer.c.logFullError = true;
|
|
354
356
|
renderer.c.includeDetailedAttributes = true;
|
|
355
357
|
renderer.c.renderRowBlocks = true;
|
|
356
|
-
renderer.setFetchAvailabilityData(false);
|
|
357
358
|
renderer.setUrlProxy("/api/cors?url=");
|
|
358
359
|
|
|
359
360
|
try {
|