@tmf_ciclica/ciclicastorybook 1.2.7 → 1.2.9
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/index.cjs.js +4 -4
- package/dist/index.es.js +271 -266
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -44,14 +44,14 @@ const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateCon
|
|
|
44
44
|
fontColor: a,
|
|
45
45
|
moreInfo: c
|
|
46
46
|
}) => {
|
|
47
|
-
const { name: u, created_at:
|
|
47
|
+
const { name: u, created_at: g, id: C, isBeingProcessed: b } = i;
|
|
48
48
|
return /* @__PURE__ */ p(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
51
|
className: ge.ambitItem,
|
|
52
52
|
style: { borderBottom: `1px solid ${a}` },
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */ p("div", { className: ge.ambitNameDate, onClick: () => t(
|
|
54
|
+
/* @__PURE__ */ p("div", { className: ge.ambitNameDate, onClick: () => t(C), children: [
|
|
55
55
|
/* @__PURE__ */ p("div", { className: ge.ambitName, children: [
|
|
56
56
|
/* @__PURE__ */ n(
|
|
57
57
|
"img",
|
|
@@ -62,13 +62,13 @@ const r2 = "_ambitSelector_mcunf_2", a2 = "_header_mcunf_13", l2 = "_nameDateCon
|
|
|
62
62
|
),
|
|
63
63
|
/* @__PURE__ */ n("span", { style: { color: r ? l : a }, children: u })
|
|
64
64
|
] }),
|
|
65
|
-
/* @__PURE__ */ n("div", { className: ge.ambitDate, children:
|
|
65
|
+
/* @__PURE__ */ n("div", { className: ge.ambitDate, children: g ? new Date(g).toLocaleDateString() : "" })
|
|
66
66
|
] }),
|
|
67
67
|
/* @__PURE__ */ p("div", { className: ge.ambitButtons, children: [
|
|
68
68
|
b && /* @__PURE__ */ n("img", { src: w2 }),
|
|
69
|
-
/* @__PURE__ */ n("button", { onClick: () => o(
|
|
70
|
-
/* @__PURE__ */ n("button", { onClick: () => d(
|
|
71
|
-
/* @__PURE__ */ n("button", { onClick: () => s(
|
|
69
|
+
/* @__PURE__ */ n("button", { onClick: () => o(C), disabled: i.is_default, children: /* @__PURE__ */ n("img", { src: v2 }) }),
|
|
70
|
+
/* @__PURE__ */ n("button", { onClick: () => d(C), children: /* @__PURE__ */ n("img", { src: _2 }) }),
|
|
71
|
+
/* @__PURE__ */ n("button", { onClick: () => s(C), disabled: i.is_default, children: /* @__PURE__ */ n("img", { src: y2 }) })
|
|
72
72
|
] })
|
|
73
73
|
]
|
|
74
74
|
}
|
|
@@ -129,10 +129,10 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
129
129
|
buttonContainerStyles: a = {},
|
|
130
130
|
containerStyles: c = {},
|
|
131
131
|
onCLickNewAmbit: u = () => console.log("New ambit clicked"),
|
|
132
|
-
onClickCopy:
|
|
133
|
-
onCLickDelete:
|
|
132
|
+
onClickCopy: g = (v) => console.log(`Copy ambit: ${v}`),
|
|
133
|
+
onCLickDelete: C = (v) => console.log(`Delete ambit: ${v}`),
|
|
134
134
|
onClickFilters: b = (v) => console.log(`Filters clicked: ${v}`),
|
|
135
|
-
onClickAmbit:
|
|
135
|
+
onClickAmbit: h = (v) => console.log(`OnCLickAmbit: ${v}`)
|
|
136
136
|
}) => {
|
|
137
137
|
const { t: v } = L(), [y, _] = D(i);
|
|
138
138
|
F(() => {
|
|
@@ -177,10 +177,10 @@ const Je = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
177
177
|
ambit: f,
|
|
178
178
|
fontColor: s,
|
|
179
179
|
activeColor: o,
|
|
180
|
-
onClickCopy:
|
|
181
|
-
onClickDelete:
|
|
180
|
+
onClickCopy: g,
|
|
181
|
+
onClickDelete: C,
|
|
182
182
|
onClickFilters: b,
|
|
183
|
-
onClickAmbit:
|
|
183
|
+
onClickAmbit: h
|
|
184
184
|
},
|
|
185
185
|
`ambitKey${f.id}`
|
|
186
186
|
)) }),
|
|
@@ -257,23 +257,23 @@ const q2 = ({
|
|
|
257
257
|
children: i.map((a, c) => {
|
|
258
258
|
const {
|
|
259
259
|
icon: u,
|
|
260
|
-
activeIcon:
|
|
261
|
-
isActive:
|
|
260
|
+
activeIcon: g,
|
|
261
|
+
isActive: C,
|
|
262
262
|
name: b,
|
|
263
|
-
onClick:
|
|
263
|
+
onClick: h,
|
|
264
264
|
disabled: v
|
|
265
265
|
} = a, y = /* @__PURE__ */ p(Ee, { children: [
|
|
266
266
|
s && o === "left" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(b) }),
|
|
267
|
-
/* @__PURE__ */ n("img", { src:
|
|
267
|
+
/* @__PURE__ */ n("img", { src: C ? g : u, alt: l(b) }),
|
|
268
268
|
s && o === "right" && /* @__PURE__ */ n("span", { className: ee.buttonName, children: l(b) })
|
|
269
269
|
] });
|
|
270
270
|
return /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
271
271
|
/* @__PURE__ */ n(
|
|
272
272
|
"button",
|
|
273
273
|
{
|
|
274
|
-
onClick:
|
|
274
|
+
onClick: h,
|
|
275
275
|
className: `${ee.button}
|
|
276
|
-
${
|
|
276
|
+
${C && ee.active}`,
|
|
277
277
|
disabled: v,
|
|
278
278
|
children: y
|
|
279
279
|
}
|
|
@@ -319,9 +319,9 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
319
319
|
titleFontStyles: a,
|
|
320
320
|
showBottomBar: c = !0,
|
|
321
321
|
titleMarginChildren: u = 15,
|
|
322
|
-
mainTitle:
|
|
322
|
+
mainTitle: g = !1
|
|
323
323
|
}) => {
|
|
324
|
-
const { t:
|
|
324
|
+
const { t: C } = L();
|
|
325
325
|
return /* @__PURE__ */ p(
|
|
326
326
|
Ge.div,
|
|
327
327
|
{
|
|
@@ -332,7 +332,7 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
332
332
|
style: {
|
|
333
333
|
backgroundColor: "white",
|
|
334
334
|
borderBottom: i && c ? `1px solid ${t}` : "0px",
|
|
335
|
-
minHeight:
|
|
335
|
+
minHeight: g ? "70px" : "50px"
|
|
336
336
|
},
|
|
337
337
|
children: [
|
|
338
338
|
/* @__PURE__ */ p(
|
|
@@ -342,15 +342,15 @@ const P2 = "_indicatorsCategory_11gdl_2", E2 = "_title_11gdl_6", j2 = "_mainTitl
|
|
|
342
342
|
...a
|
|
343
343
|
//marginBottom: titleMarginChildren ? titleMarginChildren : "auto",
|
|
344
344
|
},
|
|
345
|
-
className: `${ke.title} ${
|
|
345
|
+
className: `${ke.title} ${g && ke.mainTitle}`,
|
|
346
346
|
onClick: d,
|
|
347
347
|
children: [
|
|
348
348
|
/* @__PURE__ */ n("span", { style: { color: i ? t : o }, children: i ? "-" : "+" }),
|
|
349
|
-
/* @__PURE__ */ n("span", { style: { color: i ? t : o }, children:
|
|
349
|
+
/* @__PURE__ */ n("span", { style: { color: i ? t : o }, children: C(r) })
|
|
350
350
|
]
|
|
351
351
|
}
|
|
352
352
|
),
|
|
353
|
-
/* @__PURE__ */ n("div", { className: ke.content, style: { padding:
|
|
353
|
+
/* @__PURE__ */ n("div", { className: ke.content, style: { padding: g ? "20px 0px" : "0px" }, children: s })
|
|
354
354
|
]
|
|
355
355
|
}
|
|
356
356
|
);
|
|
@@ -379,9 +379,9 @@ const Ss = () => /* @__PURE__ */ n("div", { children: "EditAmbit" }), Z2 = "data
|
|
|
379
379
|
activeFiltersType: null,
|
|
380
380
|
geoLayers: []
|
|
381
381
|
})), yt = ({ title: i, onClick: d, isOpen: s = !0, textColor: o = "#ffffff", backgroundColor: t = "#605B5680", activeColor: r, fontColor: l = "#605B56" }) => {
|
|
382
|
-
const { t: a } = L(), { tematicalFiltersSelected: c, activeFiltersType: u } = M((b) => b),
|
|
383
|
-
M.setState((
|
|
384
|
-
tematicalFiltersSelected:
|
|
382
|
+
const { t: a } = L(), { tematicalFiltersSelected: c, activeFiltersType: u } = M((b) => b), g = (b) => {
|
|
383
|
+
M.setState((h) => ({
|
|
384
|
+
tematicalFiltersSelected: h.tematicalFiltersSelected.filter(
|
|
385
385
|
(v) => v.code !== b
|
|
386
386
|
)
|
|
387
387
|
}));
|
|
@@ -397,10 +397,10 @@ const Ss = () => /* @__PURE__ */ n("div", { children: "EditAmbit" }), Z2 = "data
|
|
|
397
397
|
activeColor: r,
|
|
398
398
|
mainTitle: !0,
|
|
399
399
|
color: l,
|
|
400
|
-
children: /* @__PURE__ */ n("div", { className: et.AppliedFiltersContainer, children: c == null ? void 0 : c.map((b,
|
|
400
|
+
children: /* @__PURE__ */ n("div", { className: et.AppliedFiltersContainer, children: c == null ? void 0 : c.map((b, h) => /* @__PURE__ */ p("div", { className: et.AppliedFilterContent, style: { color: o, background: t }, children: [
|
|
401
401
|
a(b.name),
|
|
402
|
-
/* @__PURE__ */ n("img", { src: Z2, alt: "CloseIcon", onClick: () =>
|
|
403
|
-
] },
|
|
402
|
+
/* @__PURE__ */ n("img", { src: Z2, alt: "CloseIcon", onClick: () => g(b.code), style: { cursor: "pointer" } })
|
|
403
|
+
] }, h)) })
|
|
404
404
|
}
|
|
405
405
|
);
|
|
406
406
|
};
|
|
@@ -429,13 +429,13 @@ const K2 = "_layersList_cn837_25", U2 = "_layerName_cn837_34", tt = {
|
|
|
429
429
|
activeColor: t,
|
|
430
430
|
onGeoLayersChange: r
|
|
431
431
|
}) => {
|
|
432
|
-
const { t: l } = L(), { activeFiltersType: a, geoLayers: c } = M((
|
|
432
|
+
const { t: l } = L(), { activeFiltersType: a, geoLayers: c } = M((C) => C), u = () => {
|
|
433
433
|
a == "geographical" ? M.setState(() => ({ activeFiltersType: null })) : M.setState(() => ({ activeFiltersType: "geographical" }));
|
|
434
|
-
},
|
|
434
|
+
}, g = (C) => {
|
|
435
435
|
M.setState((b) => ({
|
|
436
|
-
geoLayers: b.geoLayers.map((
|
|
437
|
-
...
|
|
438
|
-
active:
|
|
436
|
+
geoLayers: b.geoLayers.map((h) => ({
|
|
437
|
+
...h,
|
|
438
|
+
active: h.name === C.name
|
|
439
439
|
}))
|
|
440
440
|
})), r(c);
|
|
441
441
|
};
|
|
@@ -450,15 +450,15 @@ const K2 = "_layersList_cn837_25", U2 = "_layerName_cn837_34", tt = {
|
|
|
450
450
|
activeColor: t,
|
|
451
451
|
color: s,
|
|
452
452
|
mainTitle: !0,
|
|
453
|
-
children: /* @__PURE__ */ n("div", { className: `${tt.layersList}`, children: c.map((
|
|
453
|
+
children: /* @__PURE__ */ n("div", { className: `${tt.layersList}`, children: c.map((C) => /* @__PURE__ */ p(
|
|
454
454
|
"div",
|
|
455
455
|
{
|
|
456
456
|
className: `${tt.layerName}`,
|
|
457
|
-
style: { color:
|
|
458
|
-
onClick: () =>
|
|
457
|
+
style: { color: C.active ? t : s, fontWeight: C.active ? "bold" : "normal" },
|
|
458
|
+
onClick: () => g(C),
|
|
459
459
|
children: [
|
|
460
|
-
l(
|
|
461
|
-
|
|
460
|
+
l(C.name),
|
|
461
|
+
C.active
|
|
462
462
|
]
|
|
463
463
|
}
|
|
464
464
|
)) })
|
|
@@ -566,19 +566,19 @@ let ze = function(i) {
|
|
|
566
566
|
t.setState({ index: -1 }, t.onEnd(t.getKeyDownEventMap()));
|
|
567
567
|
}, t.onMouseMove = (a) => {
|
|
568
568
|
t.setState({ pending: !0 });
|
|
569
|
-
const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]),
|
|
570
|
-
t.move(
|
|
569
|
+
const c = t.getMousePosition(a), u = t.getDiffPosition(c[0]), g = t.getValueFromPosition(u);
|
|
570
|
+
t.move(g);
|
|
571
571
|
}, t.onTouchMove = (a) => {
|
|
572
572
|
if (a.touches.length > 1) return;
|
|
573
573
|
t.setState({ pending: !0 });
|
|
574
574
|
const c = t.getTouchPosition(a);
|
|
575
575
|
if (t.isScrolling === void 0) {
|
|
576
|
-
const
|
|
577
|
-
t.isScrolling = Math.abs(b) > Math.abs(
|
|
576
|
+
const C = c[0] - t.startPosition[0], b = c[1] - t.startPosition[1];
|
|
577
|
+
t.isScrolling = Math.abs(b) > Math.abs(C);
|
|
578
578
|
}
|
|
579
579
|
if (t.isScrolling) return void t.setState({ index: -1 });
|
|
580
|
-
const u = t.getDiffPosition(c[0]),
|
|
581
|
-
t.move(
|
|
580
|
+
const u = t.getDiffPosition(c[0]), g = t.getValueFromPosition(u);
|
|
581
|
+
t.move(g);
|
|
582
582
|
}, t.onKeyDown = (a) => {
|
|
583
583
|
if (!(a.ctrlKey || a.shiftKey || a.altKey || a.metaKey)) switch (t.setState({ pending: !0 }), a.key) {
|
|
584
584
|
case "ArrowLeft":
|
|
@@ -631,8 +631,8 @@ let ze = function(i) {
|
|
|
631
631
|
if (t.props.disabled || c.touches.length > 1) return;
|
|
632
632
|
t.setState({ pending: !0 });
|
|
633
633
|
const u = t.getTouchPosition(c);
|
|
634
|
-
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), $e(t.getTouchEventMap()), function(
|
|
635
|
-
|
|
634
|
+
t.startPosition = u, t.isScrolling = void 0, t.start(a, u[0]), $e(t.getTouchEventMap()), function(g) {
|
|
635
|
+
g.stopPropagation && g.stopPropagation();
|
|
636
636
|
}(c);
|
|
637
637
|
}, t.handleResize = () => {
|
|
638
638
|
const a = window.setTimeout(() => {
|
|
@@ -640,13 +640,13 @@ let ze = function(i) {
|
|
|
640
640
|
}, 0);
|
|
641
641
|
t.pendingResizeTimeouts.push(a);
|
|
642
642
|
}, t.renderThumb = (a, c) => {
|
|
643
|
-
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""),
|
|
643
|
+
const u = t.props.thumbClassName + " " + t.props.thumbClassName + "-" + c + " " + (t.state.index === c ? t.props.thumbActiveClassName : ""), g = { ref: (b) => {
|
|
644
644
|
t["thumb" + c] = b;
|
|
645
|
-
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled },
|
|
646
|
-
return t.props.ariaValuetext && (
|
|
645
|
+
}, key: t.props.thumbClassName + "-" + c, className: u, style: a, onMouseDown: t.createOnMouseDown(c), onTouchStart: t.createOnTouchStart(c), onFocus: t.createOnKeyDown(c), tabIndex: 0, role: "slider", "aria-orientation": t.props.orientation, "aria-valuenow": t.state.value[c], "aria-valuemin": t.props.min, "aria-valuemax": t.props.max, "aria-label": Array.isArray(t.props.ariaLabel) ? t.props.ariaLabel[c] : t.props.ariaLabel, "aria-labelledby": Array.isArray(t.props.ariaLabelledby) ? t.props.ariaLabelledby[c] : t.props.ariaLabelledby, "aria-disabled": t.props.disabled }, C = { index: c, value: Se(t.state.value), valueNow: t.state.value[c] };
|
|
646
|
+
return t.props.ariaValuetext && (g["aria-valuetext"] = typeof t.props.ariaValuetext == "string" ? t.props.ariaValuetext : t.props.ariaValuetext(C)), t.props.renderThumb(g, C);
|
|
647
647
|
}, t.renderTrack = (a, c, u) => {
|
|
648
|
-
const
|
|
649
|
-
return t.props.renderTrack(
|
|
648
|
+
const g = { key: t.props.trackClassName + "-" + a, className: t.props.trackClassName + " " + t.props.trackClassName + "-" + a, style: t.buildTrackStyle(c, t.state.upperBound - u) }, C = { index: a, value: Se(t.state.value) };
|
|
649
|
+
return t.props.renderTrack(g, C);
|
|
650
650
|
};
|
|
651
651
|
let r = Re(o.value);
|
|
652
652
|
r.length || (r = Re(o.defaultValue)), t.pendingResizeTimeouts = [];
|
|
@@ -677,8 +677,8 @@ let ze = function(i) {
|
|
|
677
677
|
let t = Number.MAX_VALUE, r = -1;
|
|
678
678
|
const { value: l } = this.state, a = l.length;
|
|
679
679
|
for (let c = 0; c < a; c += 1) {
|
|
680
|
-
const u = this.calcOffset(l[c]),
|
|
681
|
-
|
|
680
|
+
const u = this.calcOffset(l[c]), g = Math.abs(o - u);
|
|
681
|
+
g < t && (t = g, r = c);
|
|
682
682
|
}
|
|
683
683
|
return r;
|
|
684
684
|
}, s.getMousePosition = function(o) {
|
|
@@ -701,8 +701,8 @@ let ze = function(i) {
|
|
|
701
701
|
}, s.resize = function() {
|
|
702
702
|
const { slider: o, thumb0: t } = this;
|
|
703
703
|
if (!o || !t) return;
|
|
704
|
-
const r = this.sizeKey(), l = o.getBoundingClientRect(), a = o[r], c = l[this.posMaxKey()], u = l[this.posMinKey()],
|
|
705
|
-
this.state.upperBound ===
|
|
704
|
+
const r = this.sizeKey(), l = o.getBoundingClientRect(), a = o[r], c = l[this.posMaxKey()], u = l[this.posMinKey()], g = t.getBoundingClientRect()[r.replace("client", "").toLowerCase()], C = a - g, b = Math.abs(c - u);
|
|
705
|
+
this.state.upperBound === C && this.state.sliderLength === b && this.state.thumbSize === g || this.setState({ upperBound: C, sliderLength: b, thumbSize: g });
|
|
706
706
|
}, s.calcOffset = function(o) {
|
|
707
707
|
const t = this.props.max - this.props.min;
|
|
708
708
|
return t === 0 ? 0 : (o - this.props.min) / t * this.state.upperBound;
|
|
@@ -741,28 +741,28 @@ let ze = function(i) {
|
|
|
741
741
|
const t = this.state.value.slice(), { index: r } = this.state, { length: l } = t, a = t[r];
|
|
742
742
|
if (o === a) return;
|
|
743
743
|
this.hasMoved || this.fireChangeEvent("onBeforeChange"), this.hasMoved = !0;
|
|
744
|
-
const { pearling: c, max: u, min:
|
|
744
|
+
const { pearling: c, max: u, min: g, minDistance: C } = this.props;
|
|
745
745
|
if (!c) {
|
|
746
746
|
if (r > 0) {
|
|
747
747
|
const b = t[r - 1];
|
|
748
|
-
o < b +
|
|
748
|
+
o < b + C && (o = b + C);
|
|
749
749
|
}
|
|
750
750
|
if (r < l - 1) {
|
|
751
751
|
const b = t[r + 1];
|
|
752
|
-
o > b -
|
|
752
|
+
o > b - C && (o = b - C);
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
|
-
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t,
|
|
755
|
+
t[r] = o, c && l > 1 && (o > a ? (this.pushSucceeding(t, C, r), function(b, h, v, y) {
|
|
756
756
|
for (let _ = 0; _ < b; _ += 1) {
|
|
757
757
|
const m = y - _ * v;
|
|
758
|
-
|
|
758
|
+
h[b - 1 - _] > m && (h[b - 1 - _] = m);
|
|
759
759
|
}
|
|
760
|
-
}(l, t,
|
|
760
|
+
}(l, t, C, u)) : o < a && (this.pushPreceding(t, C, r), function(b, h, v, y) {
|
|
761
761
|
for (let _ = 0; _ < b; _ += 1) {
|
|
762
762
|
const m = y + _ * v;
|
|
763
|
-
|
|
763
|
+
h[_] < m && (h[_] = m);
|
|
764
764
|
}
|
|
765
|
-
}(l, t,
|
|
765
|
+
}(l, t, C, g))), this.setState({ value: t }, this.fireChangeEvent.bind(this, "onChange"));
|
|
766
766
|
}, s.pushSucceeding = function(o, t, r) {
|
|
767
767
|
let l, a;
|
|
768
768
|
for (l = r, a = o[l] + t; o[l + 1] !== null && a > o[l + 1]; l += 1, a = o[l] + t) o[l + 1] = Ze(a, this.props);
|
|
@@ -836,11 +836,11 @@ const X2 = "_container_4u41i_2", Q2 = "_unitLabel_4u41i_8", J2 = "_slider_4u41i_
|
|
|
836
836
|
defaultValue: a,
|
|
837
837
|
isDate: c
|
|
838
838
|
}) => {
|
|
839
|
-
const { t: u } = L(),
|
|
840
|
-
|
|
839
|
+
const { t: u } = L(), g = c ? new Date(i).getTime() : null, C = c ? new Date(d).getTime() : null, [b, h] = D(c ? [g, C] : [i, d]), v = (y) => {
|
|
840
|
+
h(y), o == null || o({ min: y[0], max: y[1] });
|
|
841
841
|
};
|
|
842
842
|
return F(() => {
|
|
843
|
-
a ||
|
|
843
|
+
a || h(c ? [g, C] : [i, d]);
|
|
844
844
|
}, [a, c]), /* @__PURE__ */ p(
|
|
845
845
|
"div",
|
|
846
846
|
{
|
|
@@ -854,9 +854,9 @@ const X2 = "_container_4u41i_2", Q2 = "_unitLabel_4u41i_8", J2 = "_slider_4u41i_
|
|
|
854
854
|
className: ce.slider,
|
|
855
855
|
thumbClassName: ce.thumb,
|
|
856
856
|
trackClassName: ce.track,
|
|
857
|
-
min: c ?
|
|
858
|
-
max: c ?
|
|
859
|
-
step: c ? (
|
|
857
|
+
min: c ? g : i,
|
|
858
|
+
max: c ? C : d,
|
|
859
|
+
step: c ? (C - g) / 30 : s,
|
|
860
860
|
value: b,
|
|
861
861
|
onAfterChange: v,
|
|
862
862
|
withTracks: !0,
|
|
@@ -909,10 +909,10 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
909
909
|
minValue: a,
|
|
910
910
|
maxValue: c,
|
|
911
911
|
unit: u,
|
|
912
|
-
step:
|
|
913
|
-
disabled:
|
|
912
|
+
step: g,
|
|
913
|
+
disabled: C,
|
|
914
914
|
isDate: b
|
|
915
|
-
} = i || {},
|
|
915
|
+
} = i || {}, h = he(
|
|
916
916
|
() => t == "cat" || s == "cat",
|
|
917
917
|
[s, t]
|
|
918
918
|
), v = he(
|
|
@@ -925,7 +925,7 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
925
925
|
inputsColor: f
|
|
926
926
|
} = M((N) => N), x = (N) => {
|
|
927
927
|
if (N) {
|
|
928
|
-
const { min: S, max: $, valueClicked: k, allValues: B } = N || {}, { code: A, type: H, source: T } = i || {}, j = v ? "abs" :
|
|
928
|
+
const { min: S, max: $, valueClicked: k, allValues: B } = N || {}, { code: A, type: H, source: T } = i || {}, j = v ? "abs" : h ? "cat" : "both";
|
|
929
929
|
let Z = A[0];
|
|
930
930
|
H == "both" && (Z = j == "cat" ? A[1] : A[0]), j == "cat" ? M.setState((J) => {
|
|
931
931
|
let G = J.tematicalFiltersSelected.find(
|
|
@@ -1006,12 +1006,12 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1006
1006
|
titleFontStyles: {
|
|
1007
1007
|
fontSize: 16,
|
|
1008
1008
|
fontWeight: 400,
|
|
1009
|
-
opacity:
|
|
1009
|
+
opacity: C ? 0.5 : 1
|
|
1010
1010
|
},
|
|
1011
1011
|
title: r,
|
|
1012
1012
|
isOpen: _ == `id${r}`,
|
|
1013
1013
|
onClick: () => {
|
|
1014
|
-
|
|
1014
|
+
C || M.setState(() => ({
|
|
1015
1015
|
selectedIndicator: _ == `id${r}` ? "" : `id${r}`
|
|
1016
1016
|
}));
|
|
1017
1017
|
},
|
|
@@ -1069,7 +1069,7 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1069
1069
|
]
|
|
1070
1070
|
}
|
|
1071
1071
|
),
|
|
1072
|
-
|
|
1072
|
+
h && /* @__PURE__ */ n("div", { className: Be.checkboxContainer, children: l.map((N, S) => {
|
|
1073
1073
|
var $;
|
|
1074
1074
|
return /* @__PURE__ */ n(
|
|
1075
1075
|
vt,
|
|
@@ -1090,7 +1090,7 @@ const i0 = "_tematicalFiltersInputContainer_1vm1r_2", s0 = "_inputTypeContainer_
|
|
|
1090
1090
|
unit: u,
|
|
1091
1091
|
defaultValue: w[i.code[0]] ? w[i.code[0]] : "",
|
|
1092
1092
|
isDate: b,
|
|
1093
|
-
step:
|
|
1093
|
+
step: g
|
|
1094
1094
|
}
|
|
1095
1095
|
) })
|
|
1096
1096
|
]
|
|
@@ -1218,7 +1218,7 @@ const kt = ({
|
|
|
1218
1218
|
inputsColor: t = "#605B56",
|
|
1219
1219
|
activeColor: r
|
|
1220
1220
|
}) => {
|
|
1221
|
-
const { tematicalFiltersSelected: l, activeFiltersType: a } = M((
|
|
1221
|
+
const { tematicalFiltersSelected: l, activeFiltersType: a } = M((g) => g), { t: c } = L();
|
|
1222
1222
|
F(() => {
|
|
1223
1223
|
}, [l]), F(() => {
|
|
1224
1224
|
o && M.setState(() => ({ fontColor: o }));
|
|
@@ -1237,14 +1237,14 @@ const kt = ({
|
|
|
1237
1237
|
activeColor: r,
|
|
1238
1238
|
onClick: u,
|
|
1239
1239
|
mainTitle: !0,
|
|
1240
|
-
children: i == null ? void 0 : i.map((
|
|
1240
|
+
children: i == null ? void 0 : i.map((g, C) => /* @__PURE__ */ n(
|
|
1241
1241
|
Nt,
|
|
1242
1242
|
{
|
|
1243
|
-
category:
|
|
1243
|
+
category: g,
|
|
1244
1244
|
fontColor: o,
|
|
1245
1245
|
activeColor: r
|
|
1246
1246
|
},
|
|
1247
|
-
`category-${
|
|
1247
|
+
`category-${C}`
|
|
1248
1248
|
))
|
|
1249
1249
|
}
|
|
1250
1250
|
);
|
|
@@ -1277,10 +1277,10 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1277
1277
|
onChangeAppliedFilters: a,
|
|
1278
1278
|
saveAmbit: c,
|
|
1279
1279
|
namePlaceholder: u,
|
|
1280
|
-
descPlaceholder:
|
|
1281
|
-
filtersTypes:
|
|
1280
|
+
descPlaceholder: g,
|
|
1281
|
+
filtersTypes: C = ["geographical", "tematical"],
|
|
1282
1282
|
nameRequiredText: b,
|
|
1283
|
-
geoFilterLayers:
|
|
1283
|
+
geoFilterLayers: h = [],
|
|
1284
1284
|
onGeoLayersChange: v,
|
|
1285
1285
|
onlyFilters: y = !1,
|
|
1286
1286
|
//usamos esta opción para ocultar el nombre, la descripción y el botón de guardar ámbito
|
|
@@ -1293,15 +1293,15 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1293
1293
|
tematicalFiltersSelected: s
|
|
1294
1294
|
}));
|
|
1295
1295
|
}, [s]), F(() => {
|
|
1296
|
-
|
|
1297
|
-
}, [
|
|
1296
|
+
C.includes("geographical") && w != h && M.setState({ geoLayers: h });
|
|
1297
|
+
}, [h]), F(() => {
|
|
1298
1298
|
a(f);
|
|
1299
1299
|
}, [f]);
|
|
1300
1300
|
const H = () => {
|
|
1301
1301
|
_ ? N && $ ? c({ name: N, description: $ }) : A(!0) : N ? c({ name: N, description: $ }) : A(!0);
|
|
1302
1302
|
};
|
|
1303
1303
|
return F(() => {
|
|
1304
|
-
|
|
1304
|
+
C.includes("geographical") && x != "geographical" && w.length > 0 && M.setState((T) => ({
|
|
1305
1305
|
geoLayers: T.geoLayers.map((j) => ({
|
|
1306
1306
|
...j,
|
|
1307
1307
|
active: !1
|
|
@@ -1328,7 +1328,7 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1328
1328
|
onChange: (T) => {
|
|
1329
1329
|
_ && A(!1), k(T.target.value);
|
|
1330
1330
|
},
|
|
1331
|
-
placeholder: m(
|
|
1331
|
+
placeholder: m(g)
|
|
1332
1332
|
}
|
|
1333
1333
|
) }) })
|
|
1334
1334
|
] }),
|
|
@@ -1342,7 +1342,7 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1342
1342
|
activeColor: t
|
|
1343
1343
|
}
|
|
1344
1344
|
),
|
|
1345
|
-
|
|
1345
|
+
C.includes("geographical") && /* @__PURE__ */ n(
|
|
1346
1346
|
_t,
|
|
1347
1347
|
{
|
|
1348
1348
|
title: "geo_filters",
|
|
@@ -1350,7 +1350,7 @@ const a0 = "_FiltersAmbitContainer_bp6cj_2", l0 = "_FiltersAmbitHeader_bp6cj_15"
|
|
|
1350
1350
|
onGeoLayersChange: v
|
|
1351
1351
|
}
|
|
1352
1352
|
),
|
|
1353
|
-
|
|
1353
|
+
C.includes("tematical") && /* @__PURE__ */ n(
|
|
1354
1354
|
kt,
|
|
1355
1355
|
{
|
|
1356
1356
|
indicators: o,
|
|
@@ -1396,13 +1396,13 @@ const St = ({
|
|
|
1396
1396
|
orientation: c = "horizontal",
|
|
1397
1397
|
// "horizontal" or "vertical"
|
|
1398
1398
|
horizontalPadding: u = c == "vertical" ? 50 : 20,
|
|
1399
|
-
verticalPadding:
|
|
1399
|
+
verticalPadding: g = 10
|
|
1400
1400
|
}) => {
|
|
1401
|
-
const { xScale: b, yScale:
|
|
1401
|
+
const { xScale: b, yScale: h, ticks: v, height: y, chartWidth: _ } = he(() => {
|
|
1402
1402
|
if (i && i.length > 0) {
|
|
1403
1403
|
const m = Ae.max(i, (x) => x.value) || 1, f = a || m;
|
|
1404
1404
|
if (c === "vertical") {
|
|
1405
|
-
const x = i.length * (s + o) + u * 2, w = d, S = Ae.scaleLinear().domain([0, f]).range([w - 100,
|
|
1405
|
+
const x = i.length * (s + o) + u * 2, w = d, S = Ae.scaleLinear().domain([0, f]).range([w - 100, g]), $ = Array.from(
|
|
1406
1406
|
{ length: l + 1 },
|
|
1407
1407
|
(k, B) => f / l * B
|
|
1408
1408
|
);
|
|
@@ -1413,7 +1413,7 @@ const St = ({
|
|
|
1413
1413
|
chartWidth: x
|
|
1414
1414
|
};
|
|
1415
1415
|
} else {
|
|
1416
|
-
const x = i.length * (s + o) +
|
|
1416
|
+
const x = i.length * (s + o) + g * 2 + 50, w = Ae.scaleLinear().domain([0, f]).range([0, d - r]), N = Array.from(
|
|
1417
1417
|
{ length: l + 1 },
|
|
1418
1418
|
(S, $) => f / l * $
|
|
1419
1419
|
);
|
|
@@ -1439,13 +1439,13 @@ const St = ({
|
|
|
1439
1439
|
s,
|
|
1440
1440
|
o,
|
|
1441
1441
|
u,
|
|
1442
|
-
|
|
1442
|
+
g,
|
|
1443
1443
|
a,
|
|
1444
1444
|
c
|
|
1445
1445
|
]);
|
|
1446
1446
|
return c === "vertical" ? /* @__PURE__ */ n("div", { style: { overflow: "auto" }, children: /* @__PURE__ */ n("svg", { width: _, height: y, children: /* @__PURE__ */ p("g", { transform: `translate(${u}, 0)`, children: [
|
|
1447
1447
|
/* @__PURE__ */ n("g", { children: v.map((m, f) => {
|
|
1448
|
-
const x =
|
|
1448
|
+
const x = h(m);
|
|
1449
1449
|
return /* @__PURE__ */ p("g", { children: [
|
|
1450
1450
|
/* @__PURE__ */ n(
|
|
1451
1451
|
"line",
|
|
@@ -1471,7 +1471,7 @@ const St = ({
|
|
|
1471
1471
|
] }, f);
|
|
1472
1472
|
}) }),
|
|
1473
1473
|
i && i.length > 0 && i.map((m, f) => {
|
|
1474
|
-
const x =
|
|
1474
|
+
const x = h(0) - h(m.value), w = f * (s + o), N = h(m.value);
|
|
1475
1475
|
return /* @__PURE__ */ p("g", { children: [
|
|
1476
1476
|
/* @__PURE__ */ n(
|
|
1477
1477
|
"rect",
|
|
@@ -1589,7 +1589,7 @@ const g0 = "_graphicContainer_c9zrg_2", C0 = "_titleContainer_c9zrg_14", nt = {
|
|
|
1589
1589
|
leftPadding: c = -200,
|
|
1590
1590
|
orientation: u = "horizontal"
|
|
1591
1591
|
}) => {
|
|
1592
|
-
const { t:
|
|
1592
|
+
const { t: g } = L();
|
|
1593
1593
|
return /* @__PURE__ */ p(
|
|
1594
1594
|
"div",
|
|
1595
1595
|
{
|
|
@@ -1600,7 +1600,7 @@ const g0 = "_graphicContainer_c9zrg_2", C0 = "_titleContainer_c9zrg_14", nt = {
|
|
|
1600
1600
|
paddingBottom: 40
|
|
1601
1601
|
},
|
|
1602
1602
|
children: [
|
|
1603
|
-
/* @__PURE__ */ n("div", { className: nt.titleContainer, children: /* @__PURE__ */ n("h2", { children:
|
|
1603
|
+
/* @__PURE__ */ n("div", { className: nt.titleContainer, children: /* @__PURE__ */ n("h2", { children: g(t) }) }),
|
|
1604
1604
|
/* @__PURE__ */ n(
|
|
1605
1605
|
St,
|
|
1606
1606
|
{
|
|
@@ -1660,14 +1660,14 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1660
1660
|
multiple: a = !1,
|
|
1661
1661
|
onChangeType: c
|
|
1662
1662
|
}) => {
|
|
1663
|
-
const { t: u } = L(), { name:
|
|
1663
|
+
const { t: u } = L(), { name: g, type: C, disabled: b } = i;
|
|
1664
1664
|
console.log(it);
|
|
1665
|
-
const [
|
|
1665
|
+
const [h, v] = D(!1);
|
|
1666
1666
|
F(() => {
|
|
1667
1667
|
t && v(
|
|
1668
1668
|
a ? t.some(
|
|
1669
|
-
(m) => m.name == String(
|
|
1670
|
-
) : t.name ==
|
|
1669
|
+
(m) => m.name == String(g)
|
|
1670
|
+
) : t.name == g
|
|
1671
1671
|
);
|
|
1672
1672
|
}, [t]);
|
|
1673
1673
|
const y = () => /* @__PURE__ */ n("div", { className: R.switchExternalContainer, children: /* @__PURE__ */ n("div", { className: R.switchType, children: /* @__PURE__ */ p("div", { className: R.switchTypeOptions, children: [
|
|
@@ -1756,12 +1756,12 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1756
1756
|
"div",
|
|
1757
1757
|
{
|
|
1758
1758
|
style: {
|
|
1759
|
-
border:
|
|
1759
|
+
border: h ? `1px solid ${s}` : `1px solid ${o}`,
|
|
1760
1760
|
opacity: b ? 0.5 : 1,
|
|
1761
|
-
backgroundColor:
|
|
1761
|
+
backgroundColor: h ? s : "transparent"
|
|
1762
1762
|
},
|
|
1763
1763
|
className: R.dot,
|
|
1764
|
-
children: a && /* @__PURE__ */ n("img", { src:
|
|
1764
|
+
children: a && /* @__PURE__ */ n("img", { src: h ? v0 : it, alt: "" })
|
|
1765
1765
|
}
|
|
1766
1766
|
),
|
|
1767
1767
|
/* @__PURE__ */ n(
|
|
@@ -1769,13 +1769,13 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1769
1769
|
{
|
|
1770
1770
|
className: R.indicatorName,
|
|
1771
1771
|
style: {
|
|
1772
|
-
color:
|
|
1772
|
+
color: h ? s : o,
|
|
1773
1773
|
opacity: b ? 0.5 : 1
|
|
1774
1774
|
},
|
|
1775
1775
|
children: /* @__PURE__ */ n(
|
|
1776
1776
|
We,
|
|
1777
1777
|
{
|
|
1778
|
-
i18nKey:
|
|
1778
|
+
i18nKey: g,
|
|
1779
1779
|
components: { sup: /* @__PURE__ */ n("sup", {}) },
|
|
1780
1780
|
shouldUnescape: !0
|
|
1781
1781
|
}
|
|
@@ -1785,8 +1785,8 @@ const b0 = "_indicatorsCategory_arwy3_2", y0 = "_title_arwy3_5", _0 = "_list_arw
|
|
|
1785
1785
|
]
|
|
1786
1786
|
}
|
|
1787
1787
|
),
|
|
1788
|
-
(t == null ? void 0 : t.name) ===
|
|
1789
|
-
(t == null ? void 0 : t.name) ===
|
|
1788
|
+
(t == null ? void 0 : t.name) === g && C === "both" && /* @__PURE__ */ n("div", { children: y() }),
|
|
1789
|
+
(t == null ? void 0 : t.name) === g && C === "twoUnits" && /* @__PURE__ */ n("div", { children: _() })
|
|
1790
1790
|
] });
|
|
1791
1791
|
};
|
|
1792
1792
|
Xe.propTypes = {
|
|
@@ -1815,10 +1815,10 @@ const V0 = "_indicatorsSubCategory_1nuug_2", D0 = "_list_1nuug_11", st = {
|
|
|
1815
1815
|
activeIndicator: a,
|
|
1816
1816
|
onClickIndicator: c,
|
|
1817
1817
|
multiple: u,
|
|
1818
|
-
activeIndicatorType:
|
|
1819
|
-
onChangeType:
|
|
1818
|
+
activeIndicatorType: g,
|
|
1819
|
+
onChangeType: C
|
|
1820
1820
|
}) => {
|
|
1821
|
-
const { t: b } = L(), [
|
|
1821
|
+
const { t: b } = L(), [h, v] = D(!1);
|
|
1822
1822
|
return F(() => {
|
|
1823
1823
|
v(t == l);
|
|
1824
1824
|
}, [t, l]), /* @__PURE__ */ p(
|
|
@@ -1826,15 +1826,15 @@ const V0 = "_indicatorsSubCategory_1nuug_2", D0 = "_list_1nuug_11", st = {
|
|
|
1826
1826
|
{
|
|
1827
1827
|
className: st.indicatorsSubCategory,
|
|
1828
1828
|
initial: { height: "43px" },
|
|
1829
|
-
animate: { height:
|
|
1829
|
+
animate: { height: h ? "auto" : "43px" },
|
|
1830
1830
|
transition: { duration: 0.4 },
|
|
1831
1831
|
children: [
|
|
1832
|
-
/* @__PURE__ */ n("button", { onClick: () => r(l), children: /* @__PURE__ */ p("h3", { style: { color:
|
|
1833
|
-
/* @__PURE__ */ n("span", { style: { color:
|
|
1832
|
+
/* @__PURE__ */ n("button", { onClick: () => r(l), children: /* @__PURE__ */ p("h3", { style: { color: h ? o : s }, children: [
|
|
1833
|
+
/* @__PURE__ */ n("span", { style: { color: h ? o : s }, children: h ? "-" : "+" }),
|
|
1834
1834
|
/* @__PURE__ */ n(
|
|
1835
1835
|
"span",
|
|
1836
1836
|
{
|
|
1837
|
-
style: { color:
|
|
1837
|
+
style: { color: h ? o : s },
|
|
1838
1838
|
children: b(i)
|
|
1839
1839
|
}
|
|
1840
1840
|
)
|
|
@@ -1848,8 +1848,8 @@ const V0 = "_indicatorsSubCategory_1nuug_2", D0 = "_list_1nuug_11", st = {
|
|
|
1848
1848
|
activeIndicator: a,
|
|
1849
1849
|
onClickIndicator: c,
|
|
1850
1850
|
multiple: u,
|
|
1851
|
-
activeIndicatorType:
|
|
1852
|
-
onChangeType:
|
|
1851
|
+
activeIndicatorType: g,
|
|
1852
|
+
onChangeType: C
|
|
1853
1853
|
},
|
|
1854
1854
|
"indicator" + _
|
|
1855
1855
|
)) })
|
|
@@ -1880,12 +1880,12 @@ const Bt = ({
|
|
|
1880
1880
|
onClickSubCategory: a,
|
|
1881
1881
|
activeIndicator: c,
|
|
1882
1882
|
onClickIndicator: u,
|
|
1883
|
-
multiple:
|
|
1884
|
-
activeIndicatorType:
|
|
1883
|
+
multiple: g,
|
|
1884
|
+
activeIndicatorType: C,
|
|
1885
1885
|
onChangeType: b
|
|
1886
1886
|
}) => {
|
|
1887
1887
|
var _;
|
|
1888
|
-
const { t:
|
|
1888
|
+
const { t: h } = L(), [v, y] = D(!1);
|
|
1889
1889
|
return F(() => {
|
|
1890
1890
|
y(r === d);
|
|
1891
1891
|
}, [r, d]), /* @__PURE__ */ p(
|
|
@@ -1907,7 +1907,7 @@ const Bt = ({
|
|
|
1907
1907
|
"span",
|
|
1908
1908
|
{
|
|
1909
1909
|
style: { color: v ? s : o },
|
|
1910
|
-
children:
|
|
1910
|
+
children: h(i.name)
|
|
1911
1911
|
}
|
|
1912
1912
|
)
|
|
1913
1913
|
] }),
|
|
@@ -1921,11 +1921,11 @@ const Bt = ({
|
|
|
1921
1921
|
onClickSubCategory: a,
|
|
1922
1922
|
activeIndicator: c,
|
|
1923
1923
|
onClickIndicator: u,
|
|
1924
|
-
multiple:
|
|
1924
|
+
multiple: g,
|
|
1925
1925
|
activeColor: s,
|
|
1926
1926
|
defaultColor: o,
|
|
1927
1927
|
indicators: x,
|
|
1928
|
-
activeIndicatorType:
|
|
1928
|
+
activeIndicatorType: C,
|
|
1929
1929
|
onChangeType: b
|
|
1930
1930
|
},
|
|
1931
1931
|
`subcKey ${w}`
|
|
@@ -1939,8 +1939,8 @@ const Bt = ({
|
|
|
1939
1939
|
defaultColor: o,
|
|
1940
1940
|
activeIndicator: c,
|
|
1941
1941
|
onClickIndicator: u,
|
|
1942
|
-
multiple:
|
|
1943
|
-
activeIndicatorType:
|
|
1942
|
+
multiple: g,
|
|
1943
|
+
activeIndicatorType: C,
|
|
1944
1944
|
onChangeType: b
|
|
1945
1945
|
},
|
|
1946
1946
|
`indicator${f}`
|
|
@@ -1980,19 +1980,19 @@ const F0 = "_indicatorsList_13b3m_2", A0 = "_title_13b3m_6", ot = {
|
|
|
1980
1980
|
changeIndType: l,
|
|
1981
1981
|
activeIndicatorType: a
|
|
1982
1982
|
}) => {
|
|
1983
|
-
const { t: c } = L(), [u,
|
|
1984
|
-
|
|
1983
|
+
const { t: c } = L(), [u, g] = D(), [C, b] = D(), [h, v] = D(), y = (w) => {
|
|
1984
|
+
g(u == w ? null : w);
|
|
1985
1985
|
}, _ = (w) => {
|
|
1986
|
-
b(
|
|
1986
|
+
b(C == w ? null : w);
|
|
1987
1987
|
}, m = ({ indicator: w }) => {
|
|
1988
1988
|
f(w);
|
|
1989
1989
|
}, f = (w) => {
|
|
1990
1990
|
if (!t)
|
|
1991
1991
|
v(
|
|
1992
|
-
(
|
|
1992
|
+
(h == null ? void 0 : h.name) == w.name ? null : w
|
|
1993
1993
|
);
|
|
1994
1994
|
else {
|
|
1995
|
-
let N =
|
|
1995
|
+
let N = h && h.length > 0 ? [...h] : [];
|
|
1996
1996
|
v(
|
|
1997
1997
|
N != null && N.some(
|
|
1998
1998
|
(S) => S.name == w.name
|
|
@@ -2003,11 +2003,11 @@ const F0 = "_indicatorsList_13b3m_2", A0 = "_title_13b3m_6", ot = {
|
|
|
2003
2003
|
}
|
|
2004
2004
|
};
|
|
2005
2005
|
F(() => {
|
|
2006
|
-
o && typeof o == "function" &&
|
|
2007
|
-
}, [
|
|
2008
|
-
if (r && !
|
|
2006
|
+
o && typeof o == "function" && h && o({ activeIndicator: h });
|
|
2007
|
+
}, [h]), Et(() => {
|
|
2008
|
+
if (r && !h)
|
|
2009
2009
|
if (t && r && Array.isArray(r)) {
|
|
2010
|
-
let w =
|
|
2010
|
+
let w = h && h.length > 0 ? [...h] : [];
|
|
2011
2011
|
v([...w, ...r]), x(r[0].name);
|
|
2012
2012
|
} else
|
|
2013
2013
|
f(r), x(r.name);
|
|
@@ -2023,7 +2023,7 @@ const F0 = "_indicatorsList_13b3m_2", A0 = "_title_13b3m_6", ot = {
|
|
|
2023
2023
|
} else
|
|
2024
2024
|
return S.indicators.some(($) => $.name == w);
|
|
2025
2025
|
});
|
|
2026
|
-
N &&
|
|
2026
|
+
N && g(N.category);
|
|
2027
2027
|
};
|
|
2028
2028
|
return /* @__PURE__ */ p("div", { className: ot.indicatorsList, children: [
|
|
2029
2029
|
/* @__PURE__ */ n("h2", { className: ot.title, style: { color: s }, children: c("indicators.indicators") }),
|
|
@@ -2035,9 +2035,9 @@ const F0 = "_indicatorsList_13b3m_2", A0 = "_title_13b3m_6", ot = {
|
|
|
2035
2035
|
onClickCategory: y,
|
|
2036
2036
|
activeCategory: u,
|
|
2037
2037
|
onClickSubCategory: _,
|
|
2038
|
-
activeSubCategory:
|
|
2038
|
+
activeSubCategory: C,
|
|
2039
2039
|
onClickIndicator: m,
|
|
2040
|
-
activeIndicator:
|
|
2040
|
+
activeIndicator: h,
|
|
2041
2041
|
activeColor: d,
|
|
2042
2042
|
defaultColor: s,
|
|
2043
2043
|
multiple: t,
|
|
@@ -2158,11 +2158,11 @@ const Z0 = "_legendContainer_qs4x9_3", z0 = "_closeButton_qs4x9_31", H0 = "_titl
|
|
|
2158
2158
|
children: [
|
|
2159
2159
|
/* @__PURE__ */ n("button", { className: O.closeButton, onClick: c }),
|
|
2160
2160
|
d && /* @__PURE__ */ n("div", { className: O.titleContainer, style: { marginBottom: (!s || s.length == 0) && "15px" }, children: /* @__PURE__ */ n("h2", { children: d }) }),
|
|
2161
|
-
s && s.length > 0 && /* @__PURE__ */ n("div", { className: O.infoContainer, children: /* @__PURE__ */ n("ul", { children: s.map(({ title:
|
|
2162
|
-
/* @__PURE__ */ n("h3", { className: O.title, children: `${
|
|
2161
|
+
s && s.length > 0 && /* @__PURE__ */ n("div", { className: O.infoContainer, children: /* @__PURE__ */ n("ul", { children: s.map(({ title: g, value: C }) => /* @__PURE__ */ p("li", { children: [
|
|
2162
|
+
/* @__PURE__ */ n("h3", { className: O.title, children: `${g}:` }),
|
|
2163
2163
|
/* @__PURE__ */ p("span", { className: O.value, children: [
|
|
2164
2164
|
" ",
|
|
2165
|
-
|
|
2165
|
+
C
|
|
2166
2166
|
] })
|
|
2167
2167
|
] }, d)) }) }),
|
|
2168
2168
|
/* @__PURE__ */ n("h3", { className: O.titleLegendList, style: { marginTop: s && s.length > 0 && "30px" }, children: t && /* @__PURE__ */ n(We, { i18nKey: t, components: { sup: /* @__PURE__ */ n("sup", {}) }, shouldUnescape: !0 }) }),
|
|
@@ -2195,16 +2195,16 @@ const Z0 = "_legendContainer_qs4x9_3", z0 = "_closeButton_qs4x9_31", H0 = "_titl
|
|
|
2195
2195
|
] })
|
|
2196
2196
|
] })
|
|
2197
2197
|
] }) : o && o.length > 0 && /* @__PURE__ */ n("div", { className: O.gridContainer, children: o.map(
|
|
2198
|
-
({ title:
|
|
2198
|
+
({ title: g, color: C }) => /* @__PURE__ */ p("div", { className: O.elementLegendContainer, children: [
|
|
2199
2199
|
/* @__PURE__ */ n(
|
|
2200
2200
|
"div",
|
|
2201
2201
|
{
|
|
2202
2202
|
className: O.colorDot,
|
|
2203
|
-
style: { backgroundColor:
|
|
2203
|
+
style: { backgroundColor: C }
|
|
2204
2204
|
}
|
|
2205
2205
|
),
|
|
2206
2206
|
/* @__PURE__ */ p("div", { className: O.titleLegendElement, children: [
|
|
2207
|
-
u(
|
|
2207
|
+
u(g),
|
|
2208
2208
|
" "
|
|
2209
2209
|
] })
|
|
2210
2210
|
] }, d)
|
|
@@ -2281,12 +2281,12 @@ const dn = ({
|
|
|
2281
2281
|
interactiveLayers: a = [],
|
|
2282
2282
|
popUp: c = !1,
|
|
2283
2283
|
sources: u = [],
|
|
2284
|
-
layers:
|
|
2284
|
+
layers: g = []
|
|
2285
2285
|
}) => {
|
|
2286
|
-
const
|
|
2286
|
+
const C = ae(), [b, h] = D(null), v = Zt((y) => y.mapState.showTexts);
|
|
2287
2287
|
return F(() => {
|
|
2288
|
-
if (
|
|
2289
|
-
const y =
|
|
2288
|
+
if (C.current) {
|
|
2289
|
+
const y = C.current.getMap();
|
|
2290
2290
|
y.getStyle().layers.map((m) => {
|
|
2291
2291
|
m.type == "symbol" && m.id != "professionals" && (v ? y.setLayoutProperty(m.id, "visibility", "visible") : y.setLayoutProperty(m.id, "visibility", "none"));
|
|
2292
2292
|
});
|
|
@@ -2295,7 +2295,7 @@ const dn = ({
|
|
|
2295
2295
|
zt,
|
|
2296
2296
|
{
|
|
2297
2297
|
initialViewState: i,
|
|
2298
|
-
ref:
|
|
2298
|
+
ref: C,
|
|
2299
2299
|
hash: !1,
|
|
2300
2300
|
maxZoom: d,
|
|
2301
2301
|
minZoom: s,
|
|
@@ -2307,7 +2307,7 @@ const dn = ({
|
|
|
2307
2307
|
Ht,
|
|
2308
2308
|
{
|
|
2309
2309
|
...y,
|
|
2310
|
-
children:
|
|
2310
|
+
children: g.length && g.map((m, f) => {
|
|
2311
2311
|
if (m.sourceId == y.id) return /* @__PURE__ */ n(
|
|
2312
2312
|
Kt,
|
|
2313
2313
|
{
|
|
@@ -2327,7 +2327,7 @@ const dn = ({
|
|
|
2327
2327
|
longitude: c.longitude,
|
|
2328
2328
|
latitude: c.latitude,
|
|
2329
2329
|
anchor: c.anchor,
|
|
2330
|
-
onClose: () =>
|
|
2330
|
+
onClose: () => h(null),
|
|
2331
2331
|
children: c.content
|
|
2332
2332
|
}
|
|
2333
2333
|
)
|
|
@@ -2409,10 +2409,10 @@ const un = "_mapContainer_b0pyr_3", pn = {
|
|
|
2409
2409
|
interactiveLayers: a = [],
|
|
2410
2410
|
sources: c = [],
|
|
2411
2411
|
layers: u = [],
|
|
2412
|
-
popUpParams:
|
|
2413
|
-
onClosePopUp:
|
|
2412
|
+
popUpParams: g,
|
|
2413
|
+
onClosePopUp: C,
|
|
2414
2414
|
showTexts: b,
|
|
2415
|
-
hash:
|
|
2415
|
+
hash: h = !1
|
|
2416
2416
|
}) => {
|
|
2417
2417
|
const v = ae();
|
|
2418
2418
|
return F(() => {
|
|
@@ -2433,7 +2433,7 @@ const un = "_mapContainer_b0pyr_3", pn = {
|
|
|
2433
2433
|
mapLib: Ie,
|
|
2434
2434
|
initialViewState: i,
|
|
2435
2435
|
ref: v,
|
|
2436
|
-
hash:
|
|
2436
|
+
hash: h,
|
|
2437
2437
|
maxZoom: d,
|
|
2438
2438
|
minZoom: s,
|
|
2439
2439
|
mapStyle: o,
|
|
@@ -2462,13 +2462,13 @@ const un = "_mapContainer_b0pyr_3", pn = {
|
|
|
2462
2462
|
_
|
|
2463
2463
|
)),
|
|
2464
2464
|
/* @__PURE__ */ n(Jt, { position: "bottom-right", visualizePitch: !0 }),
|
|
2465
|
-
|
|
2465
|
+
g && /* @__PURE__ */ n(
|
|
2466
2466
|
e2,
|
|
2467
2467
|
{
|
|
2468
|
-
longitude:
|
|
2469
|
-
latitude:
|
|
2470
|
-
onClose:
|
|
2471
|
-
children: /* @__PURE__ */ n(gn, { props:
|
|
2468
|
+
longitude: g.lng,
|
|
2469
|
+
latitude: g.lat,
|
|
2470
|
+
onClose: C,
|
|
2471
|
+
children: /* @__PURE__ */ n(gn, { props: g.props })
|
|
2472
2472
|
}
|
|
2473
2473
|
)
|
|
2474
2474
|
]
|
|
@@ -2606,10 +2606,10 @@ const Nn = t2({
|
|
|
2606
2606
|
}) => {
|
|
2607
2607
|
const [a, c] = D(d), u = (m, f) => {
|
|
2608
2608
|
c(f), l(f);
|
|
2609
|
-
}, [
|
|
2610
|
-
|
|
2611
|
-
},
|
|
2612
|
-
|
|
2609
|
+
}, [g, C] = D(!1), b = () => {
|
|
2610
|
+
C(!0);
|
|
2611
|
+
}, h = () => {
|
|
2612
|
+
C(!1);
|
|
2613
2613
|
};
|
|
2614
2614
|
((m, f) => {
|
|
2615
2615
|
const x = ae();
|
|
@@ -2625,7 +2625,7 @@ const Nn = t2({
|
|
|
2625
2625
|
}
|
|
2626
2626
|
}, [f]);
|
|
2627
2627
|
})(() => {
|
|
2628
|
-
|
|
2628
|
+
g && (a != 2050 ? (c(a + 1), l(a + 1)) : (c(2025), l(2025)));
|
|
2629
2629
|
}, 1e3);
|
|
2630
2630
|
const y = i2({
|
|
2631
2631
|
palette: {
|
|
@@ -2679,8 +2679,8 @@ const Nn = t2({
|
|
|
2679
2679
|
}
|
|
2680
2680
|
),
|
|
2681
2681
|
o,
|
|
2682
|
-
!
|
|
2683
|
-
|
|
2682
|
+
!g && /* @__PURE__ */ n("button", { className: Ce.playButton, onClick: b, children: /* @__PURE__ */ n("img", { src: kn, alt: "Play" }) }),
|
|
2683
|
+
g && /* @__PURE__ */ n("button", { className: Ce.playButton, onClick: h, children: /* @__PURE__ */ n("img", { src: Sn, alt: "Pause" }) })
|
|
2684
2684
|
]
|
|
2685
2685
|
}
|
|
2686
2686
|
) });
|
|
@@ -2823,17 +2823,17 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2823
2823
|
elementButtons: a,
|
|
2824
2824
|
processTooltip: c,
|
|
2825
2825
|
defaultTooltip: u,
|
|
2826
|
-
showEye:
|
|
2826
|
+
showEye: g = !0
|
|
2827
2827
|
}) => {
|
|
2828
|
-
const { name:
|
|
2828
|
+
const { name: C, created_at: b, id: h, isBeingProcessed: v } = i, [y, _] = D(!1), { t: m } = L();
|
|
2829
2829
|
return /* @__PURE__ */ p(
|
|
2830
2830
|
"div",
|
|
2831
2831
|
{
|
|
2832
2832
|
className: K.listElement,
|
|
2833
2833
|
style: { borderBottom: `1px solid ${t}` },
|
|
2834
2834
|
children: [
|
|
2835
|
-
/* @__PURE__ */ n("div", { className: K.elementNameDate, onClick: () => d(
|
|
2836
|
-
|
|
2835
|
+
/* @__PURE__ */ n("div", { className: K.elementNameDate, onClick: () => d(h), children: Object.keys(l).map((f) => f === "name" ? /* @__PURE__ */ n("div", { className: K.elementNameContainer, children: /* @__PURE__ */ p("div", { className: K.elementName, children: [
|
|
2836
|
+
g && (s ? /* @__PURE__ */ n(ri, { style: { color: o, marginRight: 9 } }) : /* @__PURE__ */ n(
|
|
2837
2837
|
"img",
|
|
2838
2838
|
{
|
|
2839
2839
|
style: { marginRight: 9 },
|
|
@@ -2841,7 +2841,7 @@ const ai = "data:image/svg+xml,%3csvg%20width='26'%20height='18'%20viewBox='0%20
|
|
|
2841
2841
|
alt: "eye"
|
|
2842
2842
|
}
|
|
2843
2843
|
)),
|
|
2844
|
-
/* @__PURE__ */ n("span", { style: { color: s ? o : t }, children:
|
|
2844
|
+
/* @__PURE__ */ n("span", { style: { color: s ? o : t }, children: C })
|
|
2845
2845
|
] }) }) : f == "data" ? /* @__PURE__ */ n("div", { className: K.elementDate, children: b ? new Date(b).toLocaleDateString() : "" }) : /* @__PURE__ */ n("div", { className: K.elementDate, children: i[f] })) }),
|
|
2846
2846
|
/* @__PURE__ */ p("div", { className: K.elementButtons, children: [
|
|
2847
2847
|
i.processing && /* @__PURE__ */ p("div", { className: "tooltip-parent", children: [
|
|
@@ -2927,13 +2927,13 @@ const ct = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2927
2927
|
// {'name': nomLabel/null, 'data':dataLabel/null, 'ambit':ambitLabel/null, 'escenari':escenariLabel/null}
|
|
2928
2928
|
elementButtons: u,
|
|
2929
2929
|
//{'copy': {onClick:onClickCopy, tooltipText:'text'}/null, 'filter': {onClick:onClickFilter, tooltipText:'text'}/null, 'trash':{onClick:onClickTrash, tooltipText:'text'}/null}
|
|
2930
|
-
moreInfo:
|
|
2930
|
+
moreInfo: g = !1,
|
|
2931
2931
|
//{label: 'x'}
|
|
2932
|
-
processTooltip:
|
|
2932
|
+
processTooltip: C,
|
|
2933
2933
|
//texto para el tooltip del simbolo "En proceso"
|
|
2934
2934
|
defaultTooltip: b,
|
|
2935
2935
|
//texto para el tooltip del símbolo de candado para los elementos default
|
|
2936
|
-
showEye:
|
|
2936
|
+
showEye: h = !0
|
|
2937
2937
|
}) => {
|
|
2938
2938
|
const { t: v } = L(), [y, _] = D(i);
|
|
2939
2939
|
F(() => {
|
|
@@ -2978,10 +2978,10 @@ const ct = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%20
|
|
|
2978
2978
|
onClickElement: a,
|
|
2979
2979
|
columns: c,
|
|
2980
2980
|
elementButtons: u,
|
|
2981
|
-
moreInfo:
|
|
2982
|
-
processTooltip:
|
|
2981
|
+
moreInfo: g,
|
|
2982
|
+
processTooltip: C,
|
|
2983
2983
|
defaultTooltip: b,
|
|
2984
|
-
showEye:
|
|
2984
|
+
showEye: h
|
|
2985
2985
|
},
|
|
2986
2986
|
`elementKey${f.id}`
|
|
2987
2987
|
)) }),
|
|
@@ -3154,7 +3154,7 @@ function Si(i) {
|
|
|
3154
3154
|
values: !0
|
|
3155
3155
|
},
|
|
3156
3156
|
exact: l,
|
|
3157
|
-
callback: (
|
|
3157
|
+
callback: (g) => !r && u(ki(o, s._names, g.values || s._formValues, !1, a.current))
|
|
3158
3158
|
}), [o, s, r, l]), V.useEffect(() => s._removeUnmounted()), c;
|
|
3159
3159
|
}
|
|
3160
3160
|
function $i(i) {
|
|
@@ -3167,11 +3167,11 @@ function $i(i) {
|
|
|
3167
3167
|
control: t,
|
|
3168
3168
|
name: s,
|
|
3169
3169
|
exact: !0
|
|
3170
|
-
}), u = V.useRef(i),
|
|
3170
|
+
}), u = V.useRef(i), g = V.useRef(t.register(s, {
|
|
3171
3171
|
...i.rules,
|
|
3172
3172
|
value: a,
|
|
3173
3173
|
...Pe(i.disabled) ? { disabled: i.disabled } : {}
|
|
3174
|
-
})),
|
|
3174
|
+
})), C = V.useMemo(() => Object.defineProperties({}, {
|
|
3175
3175
|
invalid: {
|
|
3176
3176
|
enumerable: !0,
|
|
3177
3177
|
get: () => !!P(c.errors, s)
|
|
@@ -3192,13 +3192,13 @@ function $i(i) {
|
|
|
3192
3192
|
enumerable: !0,
|
|
3193
3193
|
get: () => P(c.errors, s)
|
|
3194
3194
|
}
|
|
3195
|
-
}), [c, s]), b = V.useCallback((_) =>
|
|
3195
|
+
}), [c, s]), b = V.useCallback((_) => g.current.onChange({
|
|
3196
3196
|
target: {
|
|
3197
3197
|
value: Ci(_),
|
|
3198
3198
|
name: s
|
|
3199
3199
|
},
|
|
3200
3200
|
type: ut.CHANGE
|
|
3201
|
-
}), [s]),
|
|
3201
|
+
}), [s]), h = V.useCallback(() => g.current.onBlur({
|
|
3202
3202
|
target: {
|
|
3203
3203
|
value: P(t._formValues, s),
|
|
3204
3204
|
name: s
|
|
@@ -3217,9 +3217,9 @@ function $i(i) {
|
|
|
3217
3217
|
value: a,
|
|
3218
3218
|
...Pe(o) || c.disabled ? { disabled: c.disabled || o } : {},
|
|
3219
3219
|
onChange: b,
|
|
3220
|
-
onBlur:
|
|
3220
|
+
onBlur: h,
|
|
3221
3221
|
ref: v
|
|
3222
|
-
}), [s, o, c.disabled, b,
|
|
3222
|
+
}), [s, o, c.disabled, b, h, v, a]);
|
|
3223
3223
|
return V.useEffect(() => {
|
|
3224
3224
|
const _ = t._options.shouldUnregister || r;
|
|
3225
3225
|
t.register(s, {
|
|
@@ -3245,8 +3245,8 @@ function $i(i) {
|
|
|
3245
3245
|
}, [o, s, t]), V.useMemo(() => ({
|
|
3246
3246
|
field: y,
|
|
3247
3247
|
formState: c,
|
|
3248
|
-
fieldState:
|
|
3249
|
-
}), [y, c,
|
|
3248
|
+
fieldState: C
|
|
3249
|
+
}), [y, c, C]);
|
|
3250
3250
|
}
|
|
3251
3251
|
const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_labelContainer_1o3iy_5", Ti = "_inputContainer_1o3iy_8", Mi = "_showPasswordButton_1o3iy_14", Vi = "_forgotPassButton_1o3iy_26", ye = {
|
|
3252
3252
|
textInputContainer: Bi,
|
|
@@ -3282,12 +3282,12 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3282
3282
|
validateFunction: a,
|
|
3283
3283
|
placeholder: c,
|
|
3284
3284
|
errorColor: u = "red",
|
|
3285
|
-
width:
|
|
3286
|
-
onClickForgotPass:
|
|
3285
|
+
width: g = 325,
|
|
3286
|
+
onClickForgotPass: C = () => {
|
|
3287
3287
|
console.log("Click on forgot password");
|
|
3288
3288
|
},
|
|
3289
3289
|
forgotPassLabel: b = "forgot-password"
|
|
3290
|
-
} = i, { t:
|
|
3290
|
+
} = i, { t: h } = L(), { control: v, trigger: y, clearErrors: _ } = d, { errorColor: m } = Ne((N) => N), [f, x] = D(!1);
|
|
3291
3291
|
ae(l);
|
|
3292
3292
|
const w = () => o ? o === "password" && f ? "text" : o : "text";
|
|
3293
3293
|
return /* @__PURE__ */ n(
|
|
@@ -3296,7 +3296,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3296
3296
|
name: s,
|
|
3297
3297
|
control: v,
|
|
3298
3298
|
rules: {
|
|
3299
|
-
required: l ? `${
|
|
3299
|
+
required: l ? `${h(t)} ${h("errorMessages.required")}` : !1,
|
|
3300
3300
|
maxLength: r || void 0,
|
|
3301
3301
|
validate: a || void 0
|
|
3302
3302
|
},
|
|
@@ -3304,14 +3304,14 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3304
3304
|
var $;
|
|
3305
3305
|
return /* @__PURE__ */ p("div", { className: ye.textInputContainer, children: [
|
|
3306
3306
|
/* @__PURE__ */ p("h3", { className: ye.labelContainer, children: [
|
|
3307
|
-
|
|
3307
|
+
h(t),
|
|
3308
3308
|
" ",
|
|
3309
3309
|
l && /* @__PURE__ */ n("label", { style: { color: S.error ? u : "" }, children: "*" })
|
|
3310
3310
|
] }),
|
|
3311
3311
|
/* @__PURE__ */ p(
|
|
3312
3312
|
"div",
|
|
3313
3313
|
{
|
|
3314
|
-
style: { position: "relative", width:
|
|
3314
|
+
style: { position: "relative", width: g },
|
|
3315
3315
|
className: ye.inputContainer,
|
|
3316
3316
|
children: [
|
|
3317
3317
|
/* @__PURE__ */ n(
|
|
@@ -3319,7 +3319,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3319
3319
|
{
|
|
3320
3320
|
type: w(),
|
|
3321
3321
|
...N,
|
|
3322
|
-
placeholder: c ?
|
|
3322
|
+
placeholder: c ? h(c) : "",
|
|
3323
3323
|
maxLength: r || void 0
|
|
3324
3324
|
}
|
|
3325
3325
|
),
|
|
@@ -3333,7 +3333,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3333
3333
|
"img",
|
|
3334
3334
|
{
|
|
3335
3335
|
src: f ? Ii : Ai,
|
|
3336
|
-
alt:
|
|
3336
|
+
alt: h("show-password")
|
|
3337
3337
|
}
|
|
3338
3338
|
)
|
|
3339
3339
|
}
|
|
@@ -3341,7 +3341,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3341
3341
|
]
|
|
3342
3342
|
}
|
|
3343
3343
|
),
|
|
3344
|
-
o == "password" && /* @__PURE__ */ n("div", { className: ye.forgotPassButton, children: /* @__PURE__ */ n("button", { onClick:
|
|
3344
|
+
o == "password" && /* @__PURE__ */ n("div", { className: ye.forgotPassButton, children: /* @__PURE__ */ n("button", { onClick: C, children: h(b) }) }),
|
|
3345
3345
|
/* @__PURE__ */ n(
|
|
3346
3346
|
xe,
|
|
3347
3347
|
{
|
|
@@ -3371,11 +3371,11 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3371
3371
|
required: a,
|
|
3372
3372
|
validateFunction: c,
|
|
3373
3373
|
placeholder: u,
|
|
3374
|
-
errorColor:
|
|
3375
|
-
width:
|
|
3374
|
+
errorColor: g = "red",
|
|
3375
|
+
width: C = 325,
|
|
3376
3376
|
options: b = []
|
|
3377
3377
|
//Used if we dont use react hook form
|
|
3378
|
-
} = i, { t:
|
|
3378
|
+
} = i, { t: h } = L(), { control: v, trigger: y, clearErrors: _ } = d || {}, { errorColor: m } = Ne((w) => w);
|
|
3379
3379
|
ae(a);
|
|
3380
3380
|
const [f, x] = D(null);
|
|
3381
3381
|
return F(() => {
|
|
@@ -3386,7 +3386,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3386
3386
|
name: o,
|
|
3387
3387
|
control: v,
|
|
3388
3388
|
rules: {
|
|
3389
|
-
required: a ? `${
|
|
3389
|
+
required: a ? `${h(r)} ${h("errorMessages.required")}` : !1,
|
|
3390
3390
|
validate: c ? (w) => {
|
|
3391
3391
|
let N = d.getValues();
|
|
3392
3392
|
return c(w, N);
|
|
@@ -3396,11 +3396,11 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3396
3396
|
var S;
|
|
3397
3397
|
return /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3398
3398
|
r && /* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3399
|
-
|
|
3399
|
+
h(r),
|
|
3400
3400
|
" ",
|
|
3401
|
-
a && /* @__PURE__ */ n("label", { style: { color: N.error ?
|
|
3401
|
+
a && /* @__PURE__ */ n("label", { style: { color: N.error ? g : "" }, children: "*" })
|
|
3402
3402
|
] }),
|
|
3403
|
-
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width:
|
|
3403
|
+
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width: C }, children: [
|
|
3404
3404
|
/* @__PURE__ */ p(
|
|
3405
3405
|
"select",
|
|
3406
3406
|
{
|
|
@@ -3411,13 +3411,13 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3411
3411
|
},
|
|
3412
3412
|
className: z.selectInput,
|
|
3413
3413
|
children: [
|
|
3414
|
-
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3414
|
+
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children: h(u || "selectOption") }),
|
|
3415
3415
|
b.map(($, k) => /* @__PURE__ */ n(
|
|
3416
3416
|
"option",
|
|
3417
3417
|
{
|
|
3418
3418
|
value: $.value,
|
|
3419
3419
|
className: z.option,
|
|
3420
|
-
children:
|
|
3420
|
+
children: h($.label)
|
|
3421
3421
|
},
|
|
3422
3422
|
k
|
|
3423
3423
|
))
|
|
@@ -3437,7 +3437,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3437
3437
|
xe,
|
|
3438
3438
|
{
|
|
3439
3439
|
errorMessage: (S = N.error) == null ? void 0 : S.message,
|
|
3440
|
-
errorColor: m ||
|
|
3440
|
+
errorColor: m || g
|
|
3441
3441
|
}
|
|
3442
3442
|
)
|
|
3443
3443
|
] });
|
|
@@ -3445,11 +3445,11 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3445
3445
|
}
|
|
3446
3446
|
) : /* @__PURE__ */ p("div", { className: z.selectInputContainer, children: [
|
|
3447
3447
|
r && /* @__PURE__ */ p("h3", { className: z.labelContainer, children: [
|
|
3448
|
-
|
|
3448
|
+
h(r),
|
|
3449
3449
|
" ",
|
|
3450
3450
|
a && /* @__PURE__ */ n("label", { children: "*" })
|
|
3451
3451
|
] }),
|
|
3452
|
-
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width:
|
|
3452
|
+
/* @__PURE__ */ p("div", { className: z.inputContainer, style: { width: C }, children: [
|
|
3453
3453
|
/* @__PURE__ */ p(
|
|
3454
3454
|
"select",
|
|
3455
3455
|
{
|
|
@@ -3460,13 +3460,13 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3460
3460
|
},
|
|
3461
3461
|
className: z.selectInput,
|
|
3462
3462
|
children: [
|
|
3463
|
-
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children:
|
|
3463
|
+
/* @__PURE__ */ n("option", { value: "", disabled: !0, hidden: !0, children: h(u || "selectOption") }),
|
|
3464
3464
|
b.map((w, N) => /* @__PURE__ */ n(
|
|
3465
3465
|
"option",
|
|
3466
3466
|
{
|
|
3467
3467
|
value: w.value,
|
|
3468
3468
|
className: z.option,
|
|
3469
|
-
children:
|
|
3469
|
+
children: h(w.label)
|
|
3470
3470
|
},
|
|
3471
3471
|
N
|
|
3472
3472
|
))
|
|
@@ -3492,7 +3492,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3492
3492
|
errorColor: l = "red",
|
|
3493
3493
|
options: a = [],
|
|
3494
3494
|
multi: c = !1
|
|
3495
|
-
} = i, { t: u } = L(), { control:
|
|
3495
|
+
} = i, { t: u } = L(), { control: g, trigger: C, clearErrors: b } = d, { errorColor: h } = Ne((_) => _), v = ({ options: _, onChange: m, actualValue: f }) => {
|
|
3496
3496
|
if (c && f && f.length > 0) {
|
|
3497
3497
|
let x = f.filter((w) => w !== _);
|
|
3498
3498
|
m(x);
|
|
@@ -3503,7 +3503,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3503
3503
|
return ae(t), /* @__PURE__ */ n(
|
|
3504
3504
|
we,
|
|
3505
3505
|
{
|
|
3506
|
-
control:
|
|
3506
|
+
control: g,
|
|
3507
3507
|
name: s,
|
|
3508
3508
|
rules: {
|
|
3509
3509
|
validate: (_) => t && (_ == null || _ === "") ? `${u(o)} ${u("errorMessages.required")}` : null
|
|
@@ -3571,7 +3571,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3571
3571
|
xe,
|
|
3572
3572
|
{
|
|
3573
3573
|
errorMessage: (S = N.error) == null ? void 0 : S.message,
|
|
3574
|
-
errorColor:
|
|
3574
|
+
errorColor: h || l
|
|
3575
3575
|
}
|
|
3576
3576
|
)
|
|
3577
3577
|
] })
|
|
@@ -3598,10 +3598,10 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3598
3598
|
thumbColor: c = "#B32F5D",
|
|
3599
3599
|
//trackColors = ["#B32F5D", "#EFEFEF"],
|
|
3600
3600
|
required: u,
|
|
3601
|
-
errorColor:
|
|
3602
|
-
labelWidth:
|
|
3601
|
+
errorColor: g = "red",
|
|
3602
|
+
labelWidth: C = "300px",
|
|
3603
3603
|
sliderWidth: b = "300px",
|
|
3604
|
-
minText:
|
|
3604
|
+
minText: h,
|
|
3605
3605
|
maxText: v,
|
|
3606
3606
|
disabled: y = !1,
|
|
3607
3607
|
marks: _ = Array.from(
|
|
@@ -3628,12 +3628,12 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3628
3628
|
{
|
|
3629
3629
|
className: I.rankingSliderContainer,
|
|
3630
3630
|
style: {
|
|
3631
|
-
gridTemplateColumns: `${t &&
|
|
3631
|
+
gridTemplateColumns: `${t && C} ${b}`
|
|
3632
3632
|
},
|
|
3633
3633
|
children: [
|
|
3634
3634
|
t && /* @__PURE__ */ n("p", { className: I.labelContainer, children: f(t) }),
|
|
3635
3635
|
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3636
|
-
|
|
3636
|
+
h && /* @__PURE__ */ n("div", { className: I.minLabel, children: f(h) }),
|
|
3637
3637
|
/* @__PURE__ */ p("div", { children: [
|
|
3638
3638
|
/* @__PURE__ */ n(
|
|
3639
3639
|
He,
|
|
@@ -3666,7 +3666,7 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3666
3666
|
xe,
|
|
3667
3667
|
{
|
|
3668
3668
|
errorMessage: (H = A.error) == null ? void 0 : H.message,
|
|
3669
|
-
errorColor: S ||
|
|
3669
|
+
errorColor: S || g
|
|
3670
3670
|
}
|
|
3671
3671
|
)
|
|
3672
3672
|
]
|
|
@@ -3678,11 +3678,11 @@ const we = (i) => i.render($i(i)), Bi = "_textInputContainer_1o3iy_2", Li = "_la
|
|
|
3678
3678
|
"div",
|
|
3679
3679
|
{
|
|
3680
3680
|
className: I.rankingSliderContainer,
|
|
3681
|
-
style: { gridTemplateColumns: `${t &&
|
|
3681
|
+
style: { gridTemplateColumns: `${t && C} ${b}` },
|
|
3682
3682
|
children: [
|
|
3683
3683
|
t && /* @__PURE__ */ n("p", { className: I.labelContainer, children: f(t) }),
|
|
3684
3684
|
/* @__PURE__ */ p("div", { className: I.inputContainer, children: [
|
|
3685
|
-
|
|
3685
|
+
h && /* @__PURE__ */ n("div", { className: I.minLabel, children: f(h) }),
|
|
3686
3686
|
/* @__PURE__ */ p("div", { children: [
|
|
3687
3687
|
/* @__PURE__ */ n(
|
|
3688
3688
|
He,
|
|
@@ -3855,20 +3855,20 @@ const _e = ({
|
|
|
3855
3855
|
className: Te.categorySelector,
|
|
3856
3856
|
style: t ? { ...t } : {},
|
|
3857
3857
|
children: i.map((a, c) => {
|
|
3858
|
-
const { id: u, label:
|
|
3858
|
+
const { id: u, label: g } = a, C = s == u;
|
|
3859
3859
|
return /* @__PURE__ */ n(
|
|
3860
3860
|
"button",
|
|
3861
3861
|
{
|
|
3862
|
-
className: `${Te.sectionItem} ${
|
|
3862
|
+
className: `${Te.sectionItem} ${C ? Te.sectionItemActive : ""}`,
|
|
3863
3863
|
type: "button",
|
|
3864
|
-
style: { backgroundColor:
|
|
3864
|
+
style: { backgroundColor: C ? o : "inherit" },
|
|
3865
3865
|
onClick: () => l(u),
|
|
3866
3866
|
children: /* @__PURE__ */ n(
|
|
3867
3867
|
"span",
|
|
3868
3868
|
{
|
|
3869
|
-
style: { color:
|
|
3869
|
+
style: { color: C ? "white" : "inherit" },
|
|
3870
3870
|
className: Te.sectionLabel,
|
|
3871
|
-
children: r(
|
|
3871
|
+
children: r(g)
|
|
3872
3872
|
}
|
|
3873
3873
|
)
|
|
3874
3874
|
},
|
|
@@ -3888,10 +3888,10 @@ const _e = ({
|
|
|
3888
3888
|
submitButtonStyles: a = { width: 325 },
|
|
3889
3889
|
showCategorySelector: c = !0,
|
|
3890
3890
|
defaultCategory: u = null,
|
|
3891
|
-
categoryLabel:
|
|
3892
|
-
activeCategory:
|
|
3891
|
+
categoryLabel: g = "Select Category",
|
|
3892
|
+
activeCategory: C = null,
|
|
3893
3893
|
activeCategoryColor: b = "#b32f5d",
|
|
3894
|
-
onSubmit:
|
|
3894
|
+
onSubmit: h = (v) => console.log("Form submitted with: ", v)
|
|
3895
3895
|
}) => {
|
|
3896
3896
|
const { t: v } = L(), { handleSubmit: y, control: _ } = i;
|
|
3897
3897
|
F(() => {
|
|
@@ -3908,7 +3908,7 @@ const _e = ({
|
|
|
3908
3908
|
const B = d == null ? void 0 : d.find((A) => A.categoryId === k);
|
|
3909
3909
|
return (B == null ? void 0 : B.subcategories) || [];
|
|
3910
3910
|
}, [x, w] = D(
|
|
3911
|
-
|
|
3911
|
+
C || u || null
|
|
3912
3912
|
), [N, S] = D(null);
|
|
3913
3913
|
F(() => {
|
|
3914
3914
|
!x && m.length > 0 && w(m[0].id);
|
|
@@ -4007,7 +4007,7 @@ const _e = ({
|
|
|
4007
4007
|
)
|
|
4008
4008
|
] }, k.categoryId);
|
|
4009
4009
|
};
|
|
4010
|
-
return /* @__PURE__ */ p("form", { className: fe.formContainer, onSubmit: y(
|
|
4010
|
+
return /* @__PURE__ */ p("form", { className: fe.formContainer, onSubmit: y(h), children: [
|
|
4011
4011
|
c && m.length > 0 && /* @__PURE__ */ n("div", { className: fe.categorySelectorContainer, children: /* @__PURE__ */ n(
|
|
4012
4012
|
gt,
|
|
4013
4013
|
{
|
|
@@ -4205,16 +4205,16 @@ const D1 = "_switchContainer_194wl_2", F1 = "_labelRight_194wl_9", A1 = "_labelL
|
|
|
4205
4205
|
defValue: a = !1,
|
|
4206
4206
|
colorOn: c = "#5A514D",
|
|
4207
4207
|
disabled: u = !1,
|
|
4208
|
-
width:
|
|
4209
|
-
} = i, { t:
|
|
4208
|
+
width: g = 240
|
|
4209
|
+
} = i, { t: C } = L(), { control: b } = d || {}, [h, v] = D(a), y = (m) => {
|
|
4210
4210
|
v(m), s && s(m);
|
|
4211
|
-
}, _ = (m, f) => /* @__PURE__ */ p("div", { className: pe.switchContainer, style: { width: `${
|
|
4211
|
+
}, _ = (m, f) => /* @__PURE__ */ p("div", { className: pe.switchContainer, style: { width: `${g}px` }, children: [
|
|
4212
4212
|
r && /* @__PURE__ */ n(
|
|
4213
4213
|
"span",
|
|
4214
4214
|
{
|
|
4215
4215
|
className: pe.labelLeft,
|
|
4216
|
-
style: { width: `${(
|
|
4217
|
-
children:
|
|
4216
|
+
style: { width: `${(g - 74) / 2}px` },
|
|
4217
|
+
children: C(r)
|
|
4218
4218
|
}
|
|
4219
4219
|
),
|
|
4220
4220
|
/* @__PURE__ */ p("label", { className: `${pe.switch} ${u ? pe.disabled : ""}`, children: [
|
|
@@ -4237,7 +4237,7 @@ const D1 = "_switchContainer_194wl_2", F1 = "_labelRight_194wl_9", A1 = "_labelL
|
|
|
4237
4237
|
}
|
|
4238
4238
|
)
|
|
4239
4239
|
] }),
|
|
4240
|
-
l && /* @__PURE__ */ n("span", { className: pe.labelRight, style: { width: `${(
|
|
4240
|
+
l && /* @__PURE__ */ n("span", { className: pe.labelRight, style: { width: `${(g - 74) / 2}px` }, children: C(l) })
|
|
4241
4241
|
] });
|
|
4242
4242
|
return d ? /* @__PURE__ */ n(
|
|
4243
4243
|
we,
|
|
@@ -4247,7 +4247,7 @@ const D1 = "_switchContainer_194wl_2", F1 = "_labelRight_194wl_9", A1 = "_labelL
|
|
|
4247
4247
|
defaultValue: a,
|
|
4248
4248
|
render: ({ field: m }) => _(m.value, m.onChange)
|
|
4249
4249
|
}
|
|
4250
|
-
) : _(
|
|
4250
|
+
) : _(h, y);
|
|
4251
4251
|
};
|
|
4252
4252
|
R1.propTypes = {
|
|
4253
4253
|
input: e.shape({
|
|
@@ -4290,7 +4290,7 @@ const z1 = "_container_gnwec_2", H1 = "_burger_gnwec_6", K1 = "_menu_gnwec_41",
|
|
|
4290
4290
|
button: G1,
|
|
4291
4291
|
active: Y1
|
|
4292
4292
|
}, qt = ({ options: i, backgroundColor: d, textColor: s, iconColor: o }) => {
|
|
4293
|
-
const [t, r] = D(!1), l = () => r(!t), a = () => r(!1), c = 7, u = t ? 11 : 0,
|
|
4293
|
+
const [t, r] = D(!1), l = () => r(!t), a = () => r(!1), c = 7, u = t ? 11 : 0, g = t ? 13 : 0, C = t ? -11.51666 : 0, b = t ? -13 : 0;
|
|
4294
4294
|
return /* @__PURE__ */ p("div", { className: Q.container, children: [
|
|
4295
4295
|
/* @__PURE__ */ n("button", { onClick: l, className: Q.burger, children: /* @__PURE__ */ p("svg", { width: "40", height: "40", viewBox: "0 0 40 40", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true", children: [
|
|
4296
4296
|
/* @__PURE__ */ n(
|
|
@@ -4309,7 +4309,7 @@ const z1 = "_container_gnwec_2", H1 = "_burger_gnwec_6", K1 = "_menu_gnwec_41",
|
|
|
4309
4309
|
"g",
|
|
4310
4310
|
{
|
|
4311
4311
|
style: {
|
|
4312
|
-
transform: `translate(${
|
|
4312
|
+
transform: `translate(${g}px,${C}px)`,
|
|
4313
4313
|
transition: "transform 0.8s cubic-bezier(0.42, 0, 0.58, 1)",
|
|
4314
4314
|
transformBox: "fill-box",
|
|
4315
4315
|
transformOrigin: "0 0"
|
|
@@ -4321,7 +4321,7 @@ const z1 = "_container_gnwec_2", H1 = "_burger_gnwec_6", K1 = "_menu_gnwec_41",
|
|
|
4321
4321
|
"g",
|
|
4322
4322
|
{
|
|
4323
4323
|
style: {
|
|
4324
|
-
transform: `translate(${b}px,${
|
|
4324
|
+
transform: `translate(${b}px,${C}px)`,
|
|
4325
4325
|
transition: "transform 0.8s cubic-bezier(0.42, 0, 0.58, 1)",
|
|
4326
4326
|
transformBox: "fill-box",
|
|
4327
4327
|
transformOrigin: "0 0"
|
|
@@ -4343,7 +4343,7 @@ const z1 = "_container_gnwec_2", H1 = "_burger_gnwec_6", K1 = "_menu_gnwec_41",
|
|
|
4343
4343
|
opacity: "1"
|
|
4344
4344
|
}
|
|
4345
4345
|
) }),
|
|
4346
|
-
/* @__PURE__ */ p("g", { stroke:
|
|
4346
|
+
/* @__PURE__ */ p("g", { stroke: d, "stroke-width": "2", "stroke-linecap": "round", style: {
|
|
4347
4347
|
opacity: t ? 1 : 0,
|
|
4348
4348
|
// visible si open = true, invisible si open = false
|
|
4349
4349
|
transition: "opacity 0.8s cubic-bezier(0.42, 0, 0.58, 1)"
|
|
@@ -4357,25 +4357,29 @@ const z1 = "_container_gnwec_2", H1 = "_burger_gnwec_6", K1 = "_menu_gnwec_41",
|
|
|
4357
4357
|
{
|
|
4358
4358
|
className: Q.menu,
|
|
4359
4359
|
style: { backgroundColor: d, color: s },
|
|
4360
|
-
children: /* @__PURE__ */ n("ul", { className: Q.list, children: i.map((
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4360
|
+
children: /* @__PURE__ */ n("ul", { className: Q.list, children: i.map((h, v) => /* @__PURE__ */ p("li", { className: Q.item, children: [
|
|
4361
|
+
h.url && /* @__PURE__ */ n(
|
|
4362
|
+
ft,
|
|
4363
|
+
{
|
|
4364
|
+
to: h.url,
|
|
4365
|
+
className: ({ isActive: y }) => `${Q.link} ${y ? Q.active : ""}`,
|
|
4366
|
+
onClick: a,
|
|
4367
|
+
style: { color: s },
|
|
4368
|
+
children: h.name
|
|
4369
|
+
}
|
|
4370
|
+
),
|
|
4371
|
+
h.onclick && /* @__PURE__ */ n(
|
|
4372
|
+
"button",
|
|
4373
|
+
{
|
|
4374
|
+
className: Q.button,
|
|
4375
|
+
onClick: () => {
|
|
4376
|
+
h.onclick && h.onclick(), a();
|
|
4377
|
+
},
|
|
4378
|
+
children: h.name
|
|
4379
|
+
}
|
|
4380
|
+
),
|
|
4381
|
+
h.component && h.component
|
|
4382
|
+
] }, v)) })
|
|
4379
4383
|
}
|
|
4380
4384
|
)
|
|
4381
4385
|
] });
|
|
@@ -4383,9 +4387,10 @@ const z1 = "_container_gnwec_2", H1 = "_burger_gnwec_6", K1 = "_menu_gnwec_41",
|
|
|
4383
4387
|
qt.propTypes = {
|
|
4384
4388
|
options: e.arrayOf(
|
|
4385
4389
|
e.shape({
|
|
4386
|
-
name: e.string
|
|
4390
|
+
name: e.string,
|
|
4387
4391
|
url: e.string,
|
|
4388
|
-
onclick: e.func
|
|
4392
|
+
onclick: e.func,
|
|
4393
|
+
component: e.any
|
|
4389
4394
|
})
|
|
4390
4395
|
).isRequired,
|
|
4391
4396
|
backgroundColor: e.string,
|