@golstats/gsc-reports 1.1.2 → 1.1.3
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/{FilterConditions-e6c1cf0d-CR6046FF-B8WvhKwN-B-F2H-4X.js → FilterConditions-33ce2100-BdE1vYE7-D63IUIba-Dw22NURh.js} +1 -1
- package/dist/{FilterField-5dfcd3ba-B5krjHfM-HzkqfENk-ApthDK8K.js → FilterField-0f3013eb-DwYb-xkF-CdDodqG1-D1UZxo-G.js} +1 -1
- package/dist/{FilterSubcategories-eb0e7102-DP67Y6JD-BLeG3e2q-D6bpOXkT.js → FilterSubcategories-4c69ac5b-B8IgttLN-B8laOQ4Y-BGtWeHVP.js} +1 -1
- package/dist/gsc-reports.css +1 -1
- package/dist/gsc-reports.es.js +1 -1
- package/dist/gsc-reports.umd.js +73 -73
- package/dist/{index-5TmulLNf.js → index-mvUgOaQi.js} +1653 -1598
- package/package.json +2 -2
- package/src/components/elementsTemplates/ModalGenerarReporte.vue +15 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@golstats/gsc-reports",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"main": "dist/gsc-reports.umd.js",
|
|
5
5
|
"module": "dist/gsc-reports.es.js",
|
|
6
6
|
"exports": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@golstats/gsc-checkbox": "^1.0.13",
|
|
52
|
-
"@golstats/gsc-template-report-maker": "^1.1.
|
|
52
|
+
"@golstats/gsc-template-report-maker": "^1.1.3",
|
|
53
53
|
"axios": "^1.10.0",
|
|
54
54
|
"gridstack": "^12.1.1",
|
|
55
55
|
"tiny-emitter": "^2.1.0",
|
|
@@ -300,7 +300,8 @@ const props = defineProps({
|
|
|
300
300
|
},
|
|
301
301
|
token: {
|
|
302
302
|
type: String,
|
|
303
|
-
|
|
303
|
+
default:
|
|
304
|
+
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MCwibmFtZSI6IlVzdWFyaW8gRnJlZSIsInVzZXJuYW1lIjoiZnJlZUBnb2xzdGF0cy5jb20iLCJlbWFpbCI6ImZyZWVAZ29sc3RhdHMuY29tIiwiaWF0IjoxNjA2NzU4Nzk1LCJleHAiOjE2MzgyOTQ3OTV9.kPNmP7yDtk38cAXrUyc7OHRh6J25VFqy-XUNzbK-4YE',
|
|
304
305
|
},
|
|
305
306
|
team: {
|
|
306
307
|
type: Number,
|
|
@@ -412,10 +413,15 @@ async function cargarTorneos() {
|
|
|
412
413
|
loading.value = true
|
|
413
414
|
const response = await axios.get(
|
|
414
415
|
getApiUrl(
|
|
415
|
-
'https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/gs3/tournaments',
|
|
416
|
+
'https://kefloixzy1.execute-api.us-west-2.amazonaws.com/prod/v2/gs3/tournaments',
|
|
416
417
|
props.provider,
|
|
417
418
|
props.isDevApis,
|
|
418
419
|
),
|
|
420
|
+
{
|
|
421
|
+
headers: {
|
|
422
|
+
Authorization: props.token,
|
|
423
|
+
},
|
|
424
|
+
},
|
|
419
425
|
)
|
|
420
426
|
|
|
421
427
|
if (response.data && Array.isArray(response.data)) {
|
|
@@ -850,6 +856,13 @@ watch(
|
|
|
850
856
|
{ immediate: true },
|
|
851
857
|
)
|
|
852
858
|
|
|
859
|
+
watch(
|
|
860
|
+
() => props.token,
|
|
861
|
+
() => {
|
|
862
|
+
cargarTorneos()
|
|
863
|
+
},
|
|
864
|
+
)
|
|
865
|
+
|
|
853
866
|
onMounted(() => {
|
|
854
867
|
// Si se debe mostrar el error 409 desde el inicio, configurarlo
|
|
855
868
|
if (props.showError409OnMount) {
|