@golstats/gsc-landing 1.0.29 → 1.0.30

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.
@@ -1,885 +0,0 @@
1
- import { ref as B, openBlock as l, createElementBlock as d, createVNode as W, unref as z, useCssVars as g, resolveComponent as x, createElementVNode as s, toDisplayString as p, createBlock as v, normalizeStyle as h, normalizeClass as _, createCommentVNode as f, computed as y, watch as A, Fragment as V, pushScopeId as L, popScopeId as D } from "vue";
2
- import { q as $ } from "./index-nIiliDHt.js";
3
- const P = (e, i) => {
4
- const t = e.__vccOpts || e;
5
- for (const [c, o] of i)
6
- t[c] = o;
7
- return t;
8
- }, k = {
9
- props: {
10
- type: { type: Number, default: 0 },
11
- value: { type: Boolean, default: !1 },
12
- textValue: String,
13
- icon: String,
14
- iconPosition: { type: String, default: "left" },
15
- iconSize: String,
16
- fontColor: { type: String, default: "#FFFFFF" },
17
- textDecoration: String,
18
- fontSize: { type: String, default: "16px" },
19
- fontSizeStat: { type: String, default: "16px" },
20
- fontStyle: String,
21
- fontFamily: { type: String, default: "Poppins-Regular" },
22
- height: { type: String, default: "fit-content" },
23
- width: { type: String, default: "fit-content" },
24
- borderRadius: { type: String, default: "0px" },
25
- borderType: { type: String, default: "solid" },
26
- borderWidth: { type: Number, default: 0 },
27
- borderWidthBtn: { type: String, default: "2px" },
28
- borderColor: String,
29
- backgroundColor: { type: String, default: "none" },
30
- activeBackgroundColor: { type: String, default: "#000000" },
31
- activeBorderWidth: { type: Number, default: 2 },
32
- activeBorderType: { type: String, default: "solid" },
33
- activeBorderColor: { type: String, default: "#cbee6b" },
34
- activeColorText: { type: String, default: "#FFFFFF" },
35
- cursorType: { type: String, default: "default" },
36
- typeOnOff: { type: Boolean, default: !1 },
37
- textCategory: String,
38
- textStat: String,
39
- marginLeftStat: { type: String, default: "15%" }
40
- },
41
- watch: {
42
- value: {
43
- deep: !0,
44
- immediate: !0,
45
- handler(e) {
46
- this.status = e;
47
- }
48
- }
49
- },
50
- data() {
51
- return { status: !1 };
52
- },
53
- computed: {
54
- customStyle() {
55
- return {
56
- height: this.height,
57
- width: this.width,
58
- backgroundColor: this.backgroundColor,
59
- borderRadius: this.borderRadius,
60
- border: `${this.borderType} ${this.borderWidth}px ${this.borderColor}`,
61
- color: this.fontColor,
62
- textDecoration: this.textDecoration,
63
- cursor: this.cursorType,
64
- fontSize: this.fontSize,
65
- fontStyle: this.fontStyle,
66
- fontFamily: `${this.fontFamily} !important`
67
- };
68
- },
69
- customActive() {
70
- return {
71
- backgroundColor: this.activeBackgroundColor,
72
- color: this.activeColorText,
73
- border: `${this.activeBorderType} ${this.activeBorderWidth}px ${this.activeBorderColor}`
74
- };
75
- }
76
- },
77
- methods: {
78
- btnClick(e) {
79
- this.$emit("click", e), this.typeOnOff && (this.status = !this.status, this.$emit("status", this.status));
80
- }
81
- }
82
- }, m = () => {
83
- g((e) => ({
84
- "1c960139": e.height,
85
- b2f635d8: e.borderWidthBtn,
86
- "06e99898": e.borderType,
87
- "55555c76": e.borderColor,
88
- "23b6d320": e.borderRadius,
89
- "22c97374": e.width,
90
- "22bb09fa": e.backgroundColor,
91
- c148da7c: e.cursorType,
92
- cce756fc: e.fontSize,
93
- cff98d60: e.fontStyle,
94
- "5123b3a5": e.fontFamily,
95
- "47bf58db": e.marginLeftStat,
96
- cadc8414: e.fontSizeStat
97
- }));
98
- }, w = k.setup;
99
- k.setup = w ? (e, i) => (m(), w(e, i)) : m;
100
- const O = (e) => (L("data-v-fb269a1e"), e = e(), D(), e), T = ["src"], I = {
101
- key: 1,
102
- class: "text"
103
- }, N = ["src"], M = { class: "stats" }, G = /* @__PURE__ */ O(() => /* @__PURE__ */ s("img", {
104
- class: "iconstats",
105
- src: "https://az755631.vo.msecnd.net/todoelfut/playdes.png"
106
- }, null, -1)), R = { class: "numstats" }, E = { class: "leyend" };
107
- function U(e, i, t, c, o, r) {
108
- return l(), d("div", null, [
109
- t.type == 0 ? (l(), d("div", {
110
- key: 0,
111
- class: _(["button", o.status && t.typeOnOff && "button-active"]),
112
- style: h([r.customStyle, o.status && t.typeOnOff && r.customActive]),
113
- onClick: i[0] || (i[0] = (...u) => r.btnClick && r.btnClick(...u))
114
- }, [
115
- t.icon && t.iconPosition.toLowerCase() === "left" ? (l(), d("img", {
116
- key: 0,
117
- class: "icon",
118
- style: h({ width: t.iconSize }),
119
- src: t.icon
120
- }, null, 12, T)) : f("", !0),
121
- t.textValue ? (l(), d("div", I, p(t.textValue), 1)) : f("", !0),
122
- t.icon && t.iconPosition.toLowerCase() === "right" ? (l(), d("img", {
123
- key: 2,
124
- class: "icon",
125
- style: h({ width: t.iconSize }),
126
- src: t.icon
127
- }, null, 12, N)) : f("", !0)
128
- ], 6)) : f("", !0),
129
- t.type == 1 ? (l(), d("div", {
130
- key: 1,
131
- class: "button-target",
132
- onClick: i[1] || (i[1] = (...u) => r.btnClick && r.btnClick(...u))
133
- }, [
134
- s("div", M, [
135
- G,
136
- s("div", R, p(t.textStat), 1)
137
- ]),
138
- s("div", E, p(t.textCategory), 1)
139
- ])) : f("", !0)
140
- ]);
141
- }
142
- const H = /* @__PURE__ */ P(k, [["render", U], ["__scopeId", "data-v-fb269a1e"]]), q = (e, i) => {
143
- const t = e.__vccOpts || e;
144
- for (const [c, o] of i)
145
- t[c] = o;
146
- return t;
147
- }, J = { key: 1 }, Z = {
148
- width: "10",
149
- height: "8",
150
- viewBox: "0 0 10 8",
151
- fill: "none",
152
- xmlns: "http://www.w3.org/2000/svg"
153
- }, j = ["fill"], Y = {
154
- key: 0,
155
- class: "checkbox__teams"
156
- }, K = { class: "checkbox__teams__logo" }, Q = ["src"], X = { class: "checkbox__teams__logo" }, tt = ["src"], et = {
157
- __name: "GSC-Checkbox",
158
- props: {
159
- width: {
160
- type: String,
161
- default: "fit-content"
162
- },
163
- height: {
164
- type: String,
165
- default: "fit-content"
166
- },
167
- label: {
168
- type: String,
169
- default: ""
170
- },
171
- labelWhiteSpace: {
172
- type: String,
173
- default: "normal"
174
- },
175
- labelColor: {
176
- type: String,
177
- default: "white"
178
- },
179
- fontFamily: {
180
- type: String,
181
- default: "sans-serif"
182
- },
183
- labelFontSize: {
184
- type: String,
185
- default: "12px"
186
- },
187
- modelValue: {
188
- type: Boolean,
189
- default: !1
190
- },
191
- justifyContent: {
192
- type: String,
193
- default: "flex-start"
194
- },
195
- alignItems: {
196
- type: String,
197
- default: "center"
198
- },
199
- boxBackgroundColor: {
200
- type: String,
201
- default: "#CBEE6B"
202
- },
203
- boxValueColor: {
204
- type: String,
205
- default: "#0d1d29"
206
- },
207
- boxValue: {
208
- type: [String, Number],
209
- default: ""
210
- },
211
- boxPosition: {
212
- type: String,
213
- default: "left",
214
- // values can be 'left', 'right', 'top', 'bottom'
215
- validator(e) {
216
- return ["left", "right", "top", "bottom"].includes(e);
217
- }
218
- },
219
- boxMarginTop: {
220
- type: String,
221
- default: "0.2em"
222
- },
223
- boxWidthAndHeight: {
224
- type: String,
225
- default: "16px"
226
- },
227
- boxBorderColor: {
228
- type: String,
229
- default: "#969da2"
230
- },
231
- boxBorderWidth: {
232
- type: String,
233
- default: "2px"
234
- },
235
- boxBorderRadius: {
236
- type: String,
237
- default: "4px"
238
- },
239
- boxValueFontSize: {
240
- type: String,
241
- default: "10px"
242
- },
243
- boxValueFontFamily: {
244
- type: String,
245
- default: "sans-serif"
246
- },
247
- avoidInteraction: {
248
- type: Boolean,
249
- default: !1
250
- },
251
- avoidToCheck: {
252
- type: Boolean,
253
- default: !1
254
- },
255
- isBoxOnly: {
256
- type: Boolean,
257
- default: !1
258
- },
259
- teamsIds: {
260
- type: Array,
261
- default: () => null
262
- }
263
- },
264
- emits: ["update:modelValue"],
265
- setup(e, { emit: i }) {
266
- const t = e;
267
- g((n) => ({
268
- "6582e90e": e.width,
269
- "310b3edf": e.height
270
- }));
271
- const c = B(!1), o = y(() => {
272
- const n = {
273
- color: t.boxValueColor,
274
- "font-family": t.fontFamily,
275
- height: t.boxWidthAndHeight,
276
- width: t.boxWidthAndHeight,
277
- minWidth: t.boxWidthAndHeight,
278
- "border-radius": t.boxBorderRadius,
279
- "margin-top": t.boxMarginTop
280
- };
281
- return c.value ? (n["background-color"] = t.boxBackgroundColor, n.border = `solid ${t.boxBorderWidth} ${t.boxBackgroundColor}`) : n.border = `solid ${t.boxBorderWidth} ${t.boxBorderColor}`, n;
282
- }), r = y(() => ({
283
- "font-family": t.boxValueFontFamily,
284
- "font-size": t.boxValueFontSize,
285
- color: t.boxValueColor,
286
- "line-height": 1
287
- })), u = y(() => {
288
- const n = {
289
- color: t.labelColor,
290
- "font-family": t.fontFamily,
291
- "font-size": t.labelFontSize,
292
- "white-space": t.labelWhiteSpace,
293
- "text-align": t.boxPosition === "top" || t.boxPosition === "bottom" ? "center" : t.boxPosition
294
- };
295
- return (t.boxPosition === "left" || t.boxPosition === "right") && (n[`margin-${t.boxPosition}`] = t.isBoxOnly ? "0" : t.teamsIds ? "8px" : "10px"), n;
296
- });
297
- A(
298
- () => t.modelValue,
299
- (n) => {
300
- n !== c.value && (c.value = n);
301
- },
302
- { immediate: !0 }
303
- );
304
- function b() {
305
- t.avoidInteraction || !c.value && t.avoidToCheck || (c.value = !c.value, i("update:modelValue", c.value));
306
- }
307
- function a(n) {
308
- return `${{}.TEAM_LOGOS_URL || "https://az755631.vo.msecnd.net/teams-80/"}${n}.png`;
309
- }
310
- return (n, Ot) => (l(), d("div", {
311
- class: _(["checkbox", `box-${e.boxPosition}`]),
312
- onClick: b
313
- }, [
314
- s("div", {
315
- class: "checkbox__box",
316
- style: h(o.value)
317
- }, [
318
- c.value ? (l(), d(V, { key: 0 }, [
319
- t.boxValue ? (l(), d("div", {
320
- key: 0,
321
- class: "checkbox__box__value",
322
- style: h(r.value)
323
- }, p(e.boxValue), 5)) : (l(), d("div", J, [
324
- (l(), d("svg", Z, [
325
- s("path", {
326
- d: "M9.77994 1.70133L4.10994 7.37133C3.96994 7.51133 3.77994 7.59133 3.57994 7.59133C3.37994 7.59133 3.18994 7.51133 3.04994 7.37133L0.219941 4.54133C-0.0700586 4.25133 -0.0700586 3.77133 0.219941 3.48133C0.509941 3.19133 0.989941 3.19133 1.27994 3.48133L3.57994 5.78133L8.71994 0.641328C9.00994 0.351328 9.48994 0.351328 9.77994 0.641328C10.0699 0.931328 10.0699 1.40133 9.77994 1.70133Z",
327
- fill: e.boxValueColor
328
- }, null, 8, j)
329
- ]))
330
- ]))
331
- ], 64)) : f("", !0)
332
- ], 4),
333
- e.teamsIds && e.teamsIds.length ? (l(), d("div", Y, [
334
- s("div", K, [
335
- s("img", {
336
- src: a(e.teamsIds[0]),
337
- alt: ""
338
- }, null, 8, Q)
339
- ]),
340
- s("div", X, [
341
- s("img", {
342
- src: a(e.teamsIds[1]),
343
- alt: ""
344
- }, null, 8, tt)
345
- ])
346
- ])) : f("", !0),
347
- s("div", {
348
- class: "checkbox__label",
349
- style: h(u.value)
350
- }, p(e.label), 5)
351
- ], 2));
352
- }
353
- }, it = /* @__PURE__ */ q(et, [["__scopeId", "data-v-bcf3bcc6"]]), ot = (e, i) => {
354
- const t = e.__vccOpts || e;
355
- for (const [c, o] of i)
356
- t[c] = o;
357
- return t;
358
- }, S = {
359
- components: {
360
- GSCButton: H,
361
- GSCCheckbox: it
362
- },
363
- data() {
364
- return {
365
- update: 0,
366
- all: !1,
367
- refreshBtn14: 0,
368
- refreshBtn24: 0,
369
- refreshBtn34: 0,
370
- refreshBtn44: 0,
371
- sectors: Array.from(
372
- {
373
- length: 16
374
- },
375
- (e, i) => ({
376
- sector: i + 1,
377
- active: !1
378
- })
379
- ),
380
- lastUpdatedValue: []
381
- };
382
- },
383
- props: {
384
- backgroundColor: {
385
- type: String,
386
- default: "#2e3b46"
387
- },
388
- heightContainer: {
389
- type: String,
390
- default: "340px"
391
- },
392
- widthContainer: {
393
- type: String,
394
- default: "455px"
395
- },
396
- heightField: {
397
- type: Number,
398
- default: 230
399
- },
400
- widthField: {
401
- type: Number,
402
- default: 350
403
- },
404
- heightFieldGrid: {
405
- type: String,
406
- default: "230px"
407
- },
408
- widthFieldGrid: {
409
- type: String,
410
- default: "350px"
411
- },
412
- backgroundSectorActive: {
413
- type: String,
414
- default: "#cbee6b"
415
- },
416
- backgroundSectorDisabled: {
417
- type: String,
418
- default: "#2e3b46"
419
- },
420
- borderWidth: {
421
- type: Number,
422
- default: 1
423
- },
424
- opacitySector: {
425
- type: Number,
426
- default: 0.5
427
- },
428
- borderColor: {
429
- type: String,
430
- default: "#FFFFFF"
431
- },
432
- colorLineField: {
433
- type: String,
434
- default: "#bfc2c5"
435
- },
436
- borderWidthLineField: {
437
- type: Number,
438
- default: 2
439
- },
440
- value: {
441
- type: Array,
442
- default: () => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16]
443
- },
444
- title: {
445
- type: String,
446
- default: "Pase(s) desde la(s) zona(s):"
447
- },
448
- titleFontSize: {
449
- type: String,
450
- default: "14px"
451
- }
452
- },
453
- watch: {
454
- value: {
455
- deep: !0,
456
- immediate: !0,
457
- handler(e) {
458
- const i = e.sort();
459
- JSON.stringify(i) !== JSON.stringify(this.lastUpdatedValue) && (this.lastUpdatedValue = i, this.sectors.forEach((t, c) => {
460
- t.active = e.includes(c + 1), this.validateField(c);
461
- }), this.$emit("update:modelValue", e));
462
- }
463
- },
464
- sectors: {
465
- handler(e) {
466
- var i = [];
467
- for (let t = 0; t < e.length; t++)
468
- e[t].active && i.push(t + 1);
469
- this.$emit("update:modelValue", i);
470
- },
471
- deep: !0
472
- }
473
- },
474
- computed: {
475
- translx() {
476
- var e = 0;
477
- return this.widthField > 305 ? e = this.widthField - 305 : this.widthField == 268 && (e = -36), e;
478
- },
479
- transly() {
480
- var e = 0;
481
- return this.heightField > 195 ? (e = this.heightField - 195, e = e / 2) : this.heightField == 180 && (e = -7), e;
482
- },
483
- translxcircle() {
484
- var e = 0;
485
- return this.widthField > 305 ? (e = this.widthField - 305, e = e / 2) : this.widthField == 268 && (e = -18), e;
486
- }
487
- },
488
- methods: {
489
- clickAll(e) {
490
- if (e) {
491
- for (let i = 0; i < this.sectors.length; i++)
492
- this.sectors[i].active = !0, this.validateField(i);
493
- this.status14 = !0, this.status24 = !0, this.status34 = !0, this.status44 = !0, this.refreshBtn14 += 1, this.refreshBtn24 += 1, this.refreshBtn34 += 1, this.refreshBtn44 += 1;
494
- } else
495
- for (let i = 0; i < this.sectors.length; i++)
496
- this.sectors[i].active = !1, this.validateField(i), this.status14 = !1, this.status24 = !1, this.status34 = !1, this.status44 = !1, this.refreshBtn14 = 0, this.refreshBtn24 = 0, this.refreshBtn34 = 0, this.refreshBtn44 = 0;
497
- },
498
- selectSector(e) {
499
- var i = 0;
500
- this.sectors[e].active = !this.sectors[e].active;
501
- for (let t = 0; t < this.sectors.length; t++)
502
- this.sectors[t].active && (i += 1);
503
- i == 0 && (this.sectors[e].active = !0), this.validateField(e);
504
- },
505
- btn14(e) {
506
- this.sectors[0].active = e ? this.sectors[0].active = !0 : this.sectors[0].active = !1, this.sectors[1].active = e ? this.sectors[1].active = !0 : this.sectors[1].active = !1, this.sectors[2].active = e ? this.sectors[2].active = !0 : this.sectors[2].active = !1, this.sectors[3].active = e ? this.sectors[3].active = !0 : this.sectors[3].active = !1;
507
- var i = 0;
508
- for (let t = 0; t < this.sectors.length; t++)
509
- this.sectors[t].active && (i += 1);
510
- i == 0 ? (this.sectors[0].active = !0, this.sectors[1].active = !0, this.sectors[2].active = !0, this.sectors[3].active = !0, this.status14 = !0, this.refreshBtn14 += 1) : this.status14 = !1, i == 16 && (this.all = !0, this.update += 1);
511
- },
512
- btn24(e) {
513
- this.sectors[4].active = e ? this.sectors[4].active = !0 : this.sectors[4].active = !1, this.sectors[5].active = e ? this.sectors[5].active = !0 : this.sectors[5].active = !1, this.sectors[6].active = e ? this.sectors[6].active = !0 : this.sectors[6].active = !1, this.sectors[7].active = e ? this.sectors[7].active = !0 : this.sectors[7].active = !1;
514
- var i = 0;
515
- for (let t = 0; t < this.sectors.length; t++)
516
- this.sectors[t].active && (i += 1);
517
- i == 0 ? (this.sectors[4].active = !0, this.sectors[5].active = !0, this.sectors[6].active = !0, this.sectors[7].active = !0, this.status24 = !0, this.refreshBtn24 += 1) : this.status24 = !1, i == 16 && (this.all = !0, this.update += 1);
518
- },
519
- btn34(e) {
520
- this.sectors[8].active = e ? this.sectors[8].active = !0 : this.sectors[8].active = !1, this.sectors[9].active = e ? this.sectors[9].active = !0 : this.sectors[9].active = !1, this.sectors[10].active = e ? this.sectors[10].active = !0 : this.sectors[10].active = !1, this.sectors[11].active = e ? this.sectors[11].active = !0 : this.sectors[11].active = !1;
521
- var i = 0;
522
- for (let t = 0; t < this.sectors.length; t++)
523
- this.sectors[t].active && (i += 1);
524
- i == 0 ? (this.sectors[8].active = !0, this.sectors[9].active = !0, this.sectors[10].active = !0, this.sectors[11].active = !0, this.status34 = !0, this.refreshBtn34 += 1) : this.status34 = !1, i == 16 && (this.all = !0, this.update += 1);
525
- },
526
- btn44(e) {
527
- this.sectors[12].active = e ? this.sectors[12].active = !0 : this.sectors[12].active = !1, this.sectors[13].active = e ? this.sectors[13].active = !0 : this.sectors[13].active = !1, this.sectors[14].active = e ? this.sectors[14].active = !0 : this.sectors[14].active = !1, this.sectors[15].active = e ? this.sectors[15].active = !0 : this.sectors[15].active = !1;
528
- var i = 0;
529
- for (let t = 0; t < this.sectors.length; t++)
530
- this.sectors[t].active && (i += 1);
531
- i == 0 ? (this.sectors[12].active = !0, this.sectors[13].active = !0, this.sectors[14].active = !0, this.sectors[15].active = !0, this.status44 = !0, this.refreshBtn44 += 1) : this.status44 = !1, i == 16 && (this.all = !0, this.update += 1);
532
- },
533
- validateField(e) {
534
- (e === 0 || e === 1 || e === 2 || e === 3) && (this.status14 = !!(this.sectors[0].active && this.sectors[1].active && this.sectors[2].active && this.sectors[3].active)), (e === 4 || e === 5 || e === 6 || e === 7) && (this.status24 = !!(this.sectors[4].active && this.sectors[5].active && this.sectors[6].active && this.sectors[7].active)), (e === 8 || e === 9 || e === 10 || e === 11) && (this.status34 = !!(this.sectors[8].active && this.sectors[9].active && this.sectors[10].active && this.sectors[11].active)), (e === 12 || e === 13 || e === 14 || e === 15) && (this.status44 = !!(this.sectors[12].active && this.sectors[13].active && this.sectors[14].active && this.sectors[15].active)), this.all = !!(this.status14 && this.status34 && this.status24 && this.status44), this.update += 1, this.status14 && (this.refreshBtn14 += 1), this.status24 && (this.refreshBtn24 += 1), this.status34 && (this.refreshBtn34 += 1), this.status44 && (this.refreshBtn44 += 1);
535
- }
536
- }
537
- }, C = () => {
538
- g((e) => ({
539
- ff70d60a: e.widthContainer,
540
- daba190c: e.heightContainer,
541
- "6f469996": e.backgroundColor,
542
- "4ee5a3c8": e.titleFontSize,
543
- "37ac484c": e.widthFieldGrid,
544
- "12f58b4e": e.heightFieldGrid
545
- }));
546
- }, F = S.setup;
547
- S.setup = F ? (e, i) => (C(), F(e, i)) : C;
548
- const st = { class: "gsc-field" }, rt = { class: "gsc-field__title-checked" }, ct = { class: "gsc-field__title-checked__title" }, lt = { class: "gsc-field__title-checked__check-cont" }, at = { class: "gsc-field__container-field" }, dt = { class: "gsc-field__container-field__field" }, nt = {
549
- width: "100%",
550
- height: "100%",
551
- fill: "#2e3b46",
552
- xmlns: "http://www.w3.org/2000/svg"
553
- }, ht = ["stroke"], ut = ["stroke", "stroke-width"], ft = ["stroke", "stroke-width"], bt = ["stroke-width", "stroke"], pt = ["fill", "fill-opacity", "stroke", "stroke-width"], vt = ["fill", "fill-opacity", "stroke", "stroke-width"], yt = ["fill", "fill-opacity", "stroke", "stroke-width"], gt = ["fill", "fill-opacity", "stroke", "stroke-width"], kt = ["fill", "fill-opacity", "stroke", "stroke-width"], St = ["fill", "fill-opacity", "stroke", "stroke-width"], xt = ["fill", "fill-opacity", "stroke", "stroke-width"], mt = ["fill", "fill-opacity", "stroke", "stroke-width"], wt = ["fill", "fill-opacity", "stroke", "stroke-width"], Ct = ["fill", "fill-opacity", "stroke", "stroke-width"], Ft = ["fill", "fill-opacity", "stroke", "stroke-width"], Bt = ["fill", "fill-opacity", "stroke", "stroke-width"], _t = ["fill", "fill-opacity", "stroke", "stroke-width"], Wt = ["fill", "fill-opacity", "stroke", "stroke-width"], zt = ["fill", "fill-opacity", "stroke", "stroke-width"], At = ["fill", "fill-opacity", "stroke", "stroke-width"], Vt = { class: "gsc-field__container-field__bar-buttons" };
554
- function Lt(e, i, t, c, o, r) {
555
- const u = x("GSCCheckbox"), b = x("GSCButton");
556
- return l(), d("div", st, [
557
- s("div", rt, [
558
- s("div", ct, p(t.title), 1),
559
- s("div", lt, [
560
- (l(), v(u, {
561
- label: "Todas las zonas",
562
- "font-family": "Poppins-Regular",
563
- "box-value-font-family": "Poppins-Regular",
564
- "box-position": "right",
565
- "label-font-size": t.titleFontSize,
566
- "label-white-space": "nowrap",
567
- "box-margin-top": "0.4em",
568
- value: o.all,
569
- key: o.update,
570
- "model-value": o.all,
571
- "onUpdate:modelValue": r.clickAll
572
- }, null, 8, ["label-font-size", "value", "model-value", "onUpdate:modelValue"]))
573
- ])
574
- ]),
575
- s("div", at, [
576
- s("div", dt, [
577
- (l(), d("svg", nt, [
578
- s("rect", {
579
- x: "1.5",
580
- y: "0.5",
581
- width: "100%",
582
- height: "100%",
583
- rx: "1.5",
584
- stroke: t.colorLineField
585
- }, null, 8, ht),
586
- s("path", {
587
- style: h("transform: translate(" + r.translx + "px, " + r.transly + "px);"),
588
- d: "M303.597 39.9799H263.371C262.817 39.9799 262.369 40.4301 262.371 40.984L262.842 155.176C262.845 155.726 263.292 156.172 263.842 156.172H302.884",
589
- stroke: t.colorLineField,
590
- "stroke-width": t.borderWidthLineField,
591
- "stroke-linecap": "square"
592
- }, null, 12, ut),
593
- s("path", {
594
- style: h("transform: translateY(" + r.transly + "px);"),
595
- class: "porteria1",
596
- d: "M1.09097 156.172L41.3162 156.172C41.8701 156.172 42.3185 155.722 42.3162 155.168L41.845 40.9758C41.8427 40.4252 41.3957 39.98 40.845 39.98L1.80338 39.98",
597
- stroke: t.colorLineField,
598
- "stroke-width": t.borderWidthLineField,
599
- "stroke-linecap": "square"
600
- }, null, 12, ft),
601
- s("path", {
602
- style: h("transform: translate(" + r.translxcircle + "px, " + r.transly + "px);"),
603
- class: "circle",
604
- d: "M182.911 97.4512C182.911 113.726 169.44 126.936 152.801 126.936C136.162 126.936 122.691 113.726 122.691 97.4512C122.691 81.1767 136.162 67.9662 152.801 67.9662C169.44 67.9662 182.911 81.1767 182.911 97.4512Z",
605
- "stroke-width": t.borderWidthLineField,
606
- stroke: t.colorLineField
607
- }, null, 12, bt),
608
- s("rect", {
609
- x: "0%",
610
- y: "0%",
611
- width: "25%",
612
- height: "25%",
613
- fill: o.sectors[0].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
614
- "fill-opacity": t.opacitySector,
615
- stroke: t.borderColor,
616
- "stroke-width": t.borderWidth,
617
- onClick: i[0] || (i[0] = (a) => r.selectSector(0))
618
- }, null, 8, pt),
619
- s("rect", {
620
- x: "0%",
621
- y: "25%",
622
- width: "25%",
623
- height: "25%",
624
- fill: o.sectors[1].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
625
- "fill-opacity": t.opacitySector,
626
- stroke: t.borderColor,
627
- "stroke-width": t.borderWidth,
628
- onClick: i[1] || (i[1] = (a) => r.selectSector(1))
629
- }, null, 8, vt),
630
- s("rect", {
631
- x: "0%",
632
- y: "50%",
633
- width: "25%",
634
- height: "25%",
635
- fill: o.sectors[2].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
636
- "fill-opacity": t.opacitySector,
637
- stroke: t.borderColor,
638
- "stroke-width": t.borderWidth,
639
- onClick: i[2] || (i[2] = (a) => r.selectSector(2))
640
- }, null, 8, yt),
641
- s("rect", {
642
- x: "0%",
643
- y: "75%",
644
- width: "25%",
645
- height: "25%",
646
- fill: o.sectors[3].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
647
- "fill-opacity": t.opacitySector,
648
- stroke: t.borderColor,
649
- "stroke-width": t.borderWidth,
650
- onClick: i[3] || (i[3] = (a) => r.selectSector(3))
651
- }, null, 8, gt),
652
- s("rect", {
653
- x: "25%",
654
- y: "0%",
655
- width: "25%",
656
- height: "25%",
657
- fill: o.sectors[4].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
658
- "fill-opacity": t.opacitySector,
659
- stroke: t.borderColor,
660
- "stroke-width": t.borderWidth,
661
- onClick: i[4] || (i[4] = (a) => r.selectSector(4))
662
- }, null, 8, kt),
663
- s("rect", {
664
- x: "25%",
665
- y: "25%",
666
- width: "25%",
667
- height: "25%",
668
- fill: o.sectors[5].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
669
- "fill-opacity": t.opacitySector,
670
- stroke: t.borderColor,
671
- "stroke-width": t.borderWidth,
672
- onClick: i[5] || (i[5] = (a) => r.selectSector(5))
673
- }, null, 8, St),
674
- s("rect", {
675
- x: "25%",
676
- y: "50%",
677
- width: "25%",
678
- height: "25%",
679
- fill: o.sectors[6].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
680
- "fill-opacity": t.opacitySector,
681
- stroke: t.borderColor,
682
- "stroke-width": t.borderWidth,
683
- onClick: i[6] || (i[6] = (a) => r.selectSector(6))
684
- }, null, 8, xt),
685
- s("rect", {
686
- x: "25%",
687
- y: "75%",
688
- width: "25%",
689
- height: "25%",
690
- fill: o.sectors[7].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
691
- "fill-opacity": t.opacitySector,
692
- stroke: t.borderColor,
693
- "stroke-width": t.borderWidth,
694
- onClick: i[7] || (i[7] = (a) => r.selectSector(7))
695
- }, null, 8, mt),
696
- s("rect", {
697
- x: "50%",
698
- y: "0%",
699
- width: "25%",
700
- height: "25%",
701
- fill: o.sectors[8].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
702
- "fill-opacity": t.opacitySector,
703
- stroke: t.borderColor,
704
- "stroke-width": t.borderWidth,
705
- onClick: i[8] || (i[8] = (a) => r.selectSector(8))
706
- }, null, 8, wt),
707
- s("rect", {
708
- x: "50%",
709
- y: "25%",
710
- width: "25%",
711
- height: "25%",
712
- fill: o.sectors[9].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
713
- "fill-opacity": t.opacitySector,
714
- stroke: t.borderColor,
715
- "stroke-width": t.borderWidth,
716
- onClick: i[9] || (i[9] = (a) => r.selectSector(9))
717
- }, null, 8, Ct),
718
- s("rect", {
719
- x: "50%",
720
- y: "50%",
721
- width: "25%",
722
- height: "25%",
723
- fill: o.sectors[10].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
724
- "fill-opacity": t.opacitySector,
725
- stroke: t.borderColor,
726
- "stroke-width": t.borderWidth,
727
- onClick: i[10] || (i[10] = (a) => r.selectSector(10))
728
- }, null, 8, Ft),
729
- s("rect", {
730
- x: "50%",
731
- y: "75%",
732
- width: "25%",
733
- height: "25%",
734
- fill: o.sectors[11].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
735
- "fill-opacity": t.opacitySector,
736
- stroke: t.borderColor,
737
- "stroke-width": t.borderWidth,
738
- onClick: i[11] || (i[11] = (a) => r.selectSector(11))
739
- }, null, 8, Bt),
740
- s("rect", {
741
- x: "75%",
742
- y: "0%",
743
- width: "25%",
744
- height: "25%",
745
- fill: o.sectors[12].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
746
- "fill-opacity": t.opacitySector,
747
- stroke: t.borderColor,
748
- "stroke-width": t.borderWidth,
749
- onClick: i[12] || (i[12] = (a) => r.selectSector(12))
750
- }, null, 8, _t),
751
- s("rect", {
752
- x: "75%",
753
- y: "25%",
754
- width: "25%",
755
- height: "25%",
756
- fill: o.sectors[13].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
757
- "fill-opacity": t.opacitySector,
758
- stroke: t.borderColor,
759
- "stroke-width": t.borderWidth,
760
- onClick: i[13] || (i[13] = (a) => r.selectSector(13))
761
- }, null, 8, Wt),
762
- s("rect", {
763
- x: "75%",
764
- y: "50%",
765
- width: "25%",
766
- height: "25%",
767
- fill: o.sectors[14].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
768
- "fill-opacity": t.opacitySector,
769
- stroke: t.borderColor,
770
- "stroke-width": t.borderWidth,
771
- onClick: i[14] || (i[14] = (a) => r.selectSector(14))
772
- }, null, 8, zt),
773
- s("rect", {
774
- x: "75%",
775
- y: "75%",
776
- width: "25%",
777
- height: "25%",
778
- fill: o.sectors[15].active ? t.backgroundSectorActive : t.backgroundSectorDisabled,
779
- "fill-opacity": t.opacitySector,
780
- stroke: t.borderColor,
781
- "stroke-width": t.borderWidth,
782
- onClick: i[15] || (i[15] = (a) => r.selectSector(15))
783
- }, null, 8, At)
784
- ]))
785
- ]),
786
- s("div", Vt, [
787
- (l(), v(b, {
788
- "text-value": "1/4 tos",
789
- "font-size": "12px",
790
- height: "26px",
791
- width: "65px",
792
- "type-on-off": !0,
793
- "border-width": 1,
794
- "font-color": "#bfc2c5",
795
- "border-color": "#8c9399",
796
- "border-radius": "4px",
797
- "font-family": "Poppins-Medium",
798
- "active-border-width": 1,
799
- "background-color": "",
800
- "active-background-color": "#cbee6b33",
801
- ref: "btn14",
802
- onStatus: r.btn14,
803
- key: o.refreshBtn14,
804
- value: e.status14
805
- }, null, 8, ["onStatus", "value"])),
806
- (l(), v(b, {
807
- "text-value": "2/4 tos",
808
- "font-size": "12px",
809
- height: "26px",
810
- width: "65px",
811
- "type-on-off": !0,
812
- "border-width": 1,
813
- "font-color": "#bfc2c5",
814
- "border-color": "#8c9399",
815
- "border-radius": "4px",
816
- "font-family": "Poppins-Medium",
817
- "active-border-width": 1,
818
- "background-color": "",
819
- "active-background-color": "#cbee6b33",
820
- ref: "btn24",
821
- onStatus: r.btn24,
822
- key: o.refreshBtn24,
823
- value: e.status24
824
- }, null, 8, ["onStatus", "value"])),
825
- (l(), v(b, {
826
- "text-value": "3/4 tos",
827
- "font-size": "12px",
828
- height: "26px",
829
- width: "65px",
830
- "type-on-off": !0,
831
- "border-width": 1,
832
- "font-color": "#bfc2c5",
833
- "border-color": "#8c9399",
834
- "border-radius": "4px",
835
- "font-family": "Poppins-Medium",
836
- "active-border-width": 1,
837
- "background-color": "",
838
- "active-background-color": "#cbee6b33",
839
- ref: "btn34",
840
- onStatus: r.btn34,
841
- key: o.refreshBtn34,
842
- value: e.status34
843
- }, null, 8, ["onStatus", "value"])),
844
- (l(), v(b, {
845
- "text-value": "4/4 tos",
846
- "font-size": "12px",
847
- height: "26px",
848
- width: "65px",
849
- "type-on-off": !0,
850
- "border-width": 1,
851
- "font-color": "#bfc2c5",
852
- "border-color": "#8c9399",
853
- "border-radius": "4px",
854
- "font-family": "Poppins-Medium",
855
- "active-border-width": 1,
856
- "background-color": "",
857
- "active-background-color": "#cbee6b33",
858
- ref: "btn44",
859
- onStatus: r.btn44,
860
- key: o.refreshBtn44,
861
- value: e.status44
862
- }, null, 8, ["onStatus", "value"]))
863
- ])
864
- ])
865
- ]);
866
- }
867
- const Dt = /* @__PURE__ */ ot(S, [["render", Lt], ["__scopeId", "data-v-f9923331"]]), $t = { class: "filter-field" }, Pt = {
868
- __name: "FilterField",
869
- setup(e) {
870
- const i = B(Array.from({ length: 16 }, (c, o) => o + 1));
871
- function t(c) {
872
- }
873
- return (c, o) => (l(), d("div", $t, [
874
- W(z(Dt), {
875
- width: "100%",
876
- "background-color": "#2E3B46",
877
- value: i.value,
878
- "onUpdate:modelValue": t
879
- }, null, 8, ["value"])
880
- ]));
881
- }
882
- }, Nt = /* @__PURE__ */ $(Pt, [["__scopeId", "data-v-dc8a3bf4"]]);
883
- export {
884
- Nt as default
885
- };