@tmf_ciclica/ciclicastorybook 1.2.124 → 1.2.125
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 +22 -22
- package/dist/index.es.js +57 -39
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1031,7 +1031,7 @@ At.propTypes = {
|
|
|
1031
1031
|
showBottomBar: i.bool,
|
|
1032
1032
|
titleFontStyles: i.object
|
|
1033
1033
|
};
|
|
1034
|
-
const
|
|
1034
|
+
const Np = () => /* @__PURE__ */ u("div", { children: "EditAmbit" }), Ba = "data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%201L13.9996%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20d='M14%201L1.00044%2013.9996'%20stroke='%23FDFDFD'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", Fa = "_AppliedFiltersContainer_cokx9_2", za = "_AppliedFilterContent_cokx9_11", Co = {
|
|
1035
1035
|
AppliedFiltersContainer: Fa,
|
|
1036
1036
|
AppliedFilterContent: za
|
|
1037
1037
|
}, ve = Ni((e) => ({
|
|
@@ -4202,7 +4202,7 @@ const t0 = js({
|
|
|
4202
4202
|
e.activeIndicatorUnit = t.payload;
|
|
4203
4203
|
}
|
|
4204
4204
|
}
|
|
4205
|
-
}), { setShowTexts:
|
|
4205
|
+
}), { setShowTexts: Ep, setYear: Op, setActiveIndicatorKey: Ap, setActiveIndicatorType: Lp, setActiveIndicatorUnit: Mp } = t0.actions, n0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3cpath%20d='M15.2722%2012.6627C15.2722%2011.8929%2016.1055%2011.4118%2016.7722%2011.7967L31.5641%2020.3368C32.2308%2020.7217%2032.2308%2021.684%2031.5641%2022.0689L16.7722%2030.609C16.1055%2030.9939%2015.2722%2030.5128%2015.2722%2029.743L15.2722%2012.6627Z'%20fill='%23605B56'/%3e%3c/svg%3e", r0 = "data:image/svg+xml,%3csvg%20width='42'%20height='42'%20viewBox='0%200%2042%2042'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='21'%20cy='21'%20r='20.25'%20fill='%23FDFDFD'%20stroke='%23605B56'%20stroke-width='1.5'/%3e%3crect%20x='15'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3crect%20x='23'%20y='12'%20width='4'%20height='19'%20rx='1'%20fill='%23605B56'/%3e%3c/svg%3e";
|
|
4206
4206
|
function Xi(e) {
|
|
4207
4207
|
var t, n, r = "";
|
|
4208
4208
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
@@ -10232,7 +10232,7 @@ const Od = "_textDescriptionContainer_163pc_2", Ad = "_textDescriptionText_163pc
|
|
|
10232
10232
|
})
|
|
10233
10233
|
}
|
|
10234
10234
|
);
|
|
10235
|
-
},
|
|
10235
|
+
}, Rp = ({
|
|
10236
10236
|
reactHookFormInstance: e,
|
|
10237
10237
|
formObject: t,
|
|
10238
10238
|
CategoryComponent: n,
|
|
@@ -11729,22 +11729,23 @@ const Ti = [
|
|
|
11729
11729
|
"#5dd4b8",
|
|
11730
11730
|
"#7ed4c2",
|
|
11731
11731
|
"#2aa88a"
|
|
11732
|
-
],
|
|
11732
|
+
], Jf = ({
|
|
11733
11733
|
data: e = [],
|
|
11734
11734
|
title: t,
|
|
11735
11735
|
backgroundColor: n = "#0d3d4a",
|
|
11736
11736
|
fontColor: r = "#ffffff",
|
|
11737
11737
|
barHeight: o = 52,
|
|
11738
11738
|
animated: s = !0,
|
|
11739
|
-
borderRadius: a
|
|
11739
|
+
borderRadius: a,
|
|
11740
|
+
containerStyles: l = {}
|
|
11740
11741
|
}) => {
|
|
11741
|
-
const [
|
|
11742
|
+
const [c, d] = de(s ? 0 : 1);
|
|
11742
11743
|
te(() => {
|
|
11743
11744
|
if (!s) return;
|
|
11744
|
-
const
|
|
11745
|
-
return () => cancelAnimationFrame(
|
|
11745
|
+
const g = requestAnimationFrame(() => d(1));
|
|
11746
|
+
return () => cancelAnimationFrame(g);
|
|
11746
11747
|
}, [s]);
|
|
11747
|
-
const
|
|
11748
|
+
const h = Math.max(...e.map((g) => g.value), 1);
|
|
11748
11749
|
return /* @__PURE__ */ T(
|
|
11749
11750
|
"div",
|
|
11750
11751
|
{
|
|
@@ -11752,11 +11753,11 @@ const Ti = [
|
|
|
11752
11753
|
display: "inline-flex",
|
|
11753
11754
|
flexDirection: "column",
|
|
11754
11755
|
gap: "0px",
|
|
11755
|
-
padding: "28px 32px",
|
|
11756
11756
|
background: n,
|
|
11757
11757
|
borderRadius: "16px",
|
|
11758
11758
|
fontFamily: "'Segoe UI', sans-serif",
|
|
11759
|
-
minWidth: "420px"
|
|
11759
|
+
minWidth: "420px",
|
|
11760
|
+
...l
|
|
11760
11761
|
},
|
|
11761
11762
|
children: [
|
|
11762
11763
|
t && /* @__PURE__ */ u(
|
|
@@ -11772,8 +11773,8 @@ const Ti = [
|
|
|
11772
11773
|
children: t
|
|
11773
11774
|
}
|
|
11774
11775
|
),
|
|
11775
|
-
/* @__PURE__ */ u("div", { style: { display: "flex", flexDirection: "column", gap: "18px" }, children: e.map((
|
|
11776
|
-
const
|
|
11776
|
+
/* @__PURE__ */ u("div", { style: { display: "flex", flexDirection: "column", gap: "18px" }, children: e.map((g, y) => {
|
|
11777
|
+
const m = g.color || Ti[y % Ti.length], v = g.value / h * 100 * c;
|
|
11777
11778
|
return /* @__PURE__ */ T(
|
|
11778
11779
|
"div",
|
|
11779
11780
|
{
|
|
@@ -11788,7 +11789,7 @@ const Ti = [
|
|
|
11788
11789
|
fontWeight: "400",
|
|
11789
11790
|
opacity: 0.9
|
|
11790
11791
|
},
|
|
11791
|
-
children:
|
|
11792
|
+
children: g.title
|
|
11792
11793
|
}
|
|
11793
11794
|
),
|
|
11794
11795
|
/* @__PURE__ */ T(
|
|
@@ -11810,8 +11811,8 @@ const Ti = [
|
|
|
11810
11811
|
left: 0,
|
|
11811
11812
|
top: 0,
|
|
11812
11813
|
height: "100%",
|
|
11813
|
-
width: `${
|
|
11814
|
-
background:
|
|
11814
|
+
width: `${v}%`,
|
|
11815
|
+
background: m,
|
|
11815
11816
|
borderRadius: a ?? "6px",
|
|
11816
11817
|
transition: s ? "width 0.8s cubic-bezier(0.16, 1, 0.3, 1)" : "none"
|
|
11817
11818
|
}
|
|
@@ -11831,7 +11832,7 @@ const Ti = [
|
|
|
11831
11832
|
pointerEvents: "none",
|
|
11832
11833
|
letterSpacing: "-0.3px"
|
|
11833
11834
|
},
|
|
11834
|
-
children:
|
|
11835
|
+
children: g.value
|
|
11835
11836
|
}
|
|
11836
11837
|
)
|
|
11837
11838
|
]
|
|
@@ -11839,19 +11840,36 @@ const Ti = [
|
|
|
11839
11840
|
)
|
|
11840
11841
|
]
|
|
11841
11842
|
},
|
|
11842
|
-
|
|
11843
|
+
y
|
|
11843
11844
|
);
|
|
11844
11845
|
}) })
|
|
11845
11846
|
]
|
|
11846
11847
|
}
|
|
11847
11848
|
);
|
|
11848
|
-
}
|
|
11849
|
-
|
|
11850
|
-
|
|
11851
|
-
|
|
11852
|
-
|
|
11853
|
-
|
|
11854
|
-
|
|
11849
|
+
};
|
|
11850
|
+
Jf.propTypes = {
|
|
11851
|
+
data: i.arrayOf(
|
|
11852
|
+
i.shape({
|
|
11853
|
+
title: i.string.isRequired,
|
|
11854
|
+
value: i.number.isRequired,
|
|
11855
|
+
color: i.string
|
|
11856
|
+
})
|
|
11857
|
+
),
|
|
11858
|
+
title: i.string,
|
|
11859
|
+
backgroundColor: i.string,
|
|
11860
|
+
fontColor: i.string,
|
|
11861
|
+
barHeight: i.number,
|
|
11862
|
+
animated: i.bool,
|
|
11863
|
+
borderRadius: i.oneOfType([i.string, i.number]),
|
|
11864
|
+
containerStyles: i.object
|
|
11865
|
+
};
|
|
11866
|
+
const ep = "_header_13kbt_2", tp = "_leftComponents_13kbt_13", np = "_centerComponents_13kbt_14", rp = "_rightComponents_13kbt_15", op = "_componentsContainer_13kbt_32", kt = {
|
|
11867
|
+
header: ep,
|
|
11868
|
+
leftComponents: tp,
|
|
11869
|
+
centerComponents: np,
|
|
11870
|
+
rightComponents: rp,
|
|
11871
|
+
componentsContainer: op
|
|
11872
|
+
}, ip = ({
|
|
11855
11873
|
cssProps: e,
|
|
11856
11874
|
leftComponents: t = [],
|
|
11857
11875
|
centerComponents: n = [],
|
|
@@ -11880,7 +11898,7 @@ const Ti = [
|
|
|
11880
11898
|
]
|
|
11881
11899
|
}
|
|
11882
11900
|
);
|
|
11883
|
-
|
|
11901
|
+
ip.propTypes = {
|
|
11884
11902
|
leftComponents: i.arrayOf(i.node),
|
|
11885
11903
|
centerComponents: i.arrayOf(i.node),
|
|
11886
11904
|
rightComponents: i.arrayOf(i.node),
|
|
@@ -11890,12 +11908,12 @@ op.propTypes = {
|
|
|
11890
11908
|
backgroundColor: i.string,
|
|
11891
11909
|
isFooter: i.bool
|
|
11892
11910
|
};
|
|
11893
|
-
const
|
|
11894
|
-
sidebar:
|
|
11895
|
-
open:
|
|
11896
|
-
content:
|
|
11897
|
-
closeButton:
|
|
11898
|
-
},
|
|
11911
|
+
const sp = "_sidebar_1kaqu_2", ap = "_open_1kaqu_16", lp = "_content_1kaqu_20", cp = "_closeButton_1kaqu_25", Pn = {
|
|
11912
|
+
sidebar: sp,
|
|
11913
|
+
open: ap,
|
|
11914
|
+
content: lp,
|
|
11915
|
+
closeButton: cp
|
|
11916
|
+
}, up = "data:image/svg+xml,%3csvg%20width='19'%20height='19'%20viewBox='0%200%2019%2019'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group%203699'%3e%3cpath%20id='Vector%20223'%20d='M1%201L18.1566%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3cpath%20id='Vector%20224'%20d='M18.1575%201L1.00083%2018.1566'%20stroke='%23605B56'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e", dp = ({
|
|
11899
11917
|
width: e = "300px",
|
|
11900
11918
|
children: t,
|
|
11901
11919
|
showRightBar: n,
|
|
@@ -11910,13 +11928,13 @@ const ip = "_sidebar_1kaqu_2", sp = "_open_1kaqu_16", ap = "_content_1kaqu_20",
|
|
|
11910
11928
|
className: `${Pn.sidebar} ${n ? Pn.open : ""}`,
|
|
11911
11929
|
style: { width: n ? e : 0 },
|
|
11912
11930
|
children: n && /* @__PURE__ */ T("div", { className: Pn.content, children: [
|
|
11913
|
-
/* @__PURE__ */ u("button", { className: Pn.closeButton, onClick: o, children: /* @__PURE__ */ u("img", { src:
|
|
11931
|
+
/* @__PURE__ */ u("button", { className: Pn.closeButton, onClick: o, children: /* @__PURE__ */ u("img", { src: up, alt: "Close Sidebar" }) }),
|
|
11914
11932
|
t
|
|
11915
11933
|
] })
|
|
11916
11934
|
}
|
|
11917
11935
|
);
|
|
11918
11936
|
};
|
|
11919
|
-
|
|
11937
|
+
dp.propTypes = {
|
|
11920
11938
|
width: i.string,
|
|
11921
11939
|
children: i.node,
|
|
11922
11940
|
showRightBar: i.bool,
|
|
@@ -11930,16 +11948,16 @@ export {
|
|
|
11930
11948
|
Da as ButtonsList,
|
|
11931
11949
|
xi as CategorySelector,
|
|
11932
11950
|
At as DropdownList,
|
|
11933
|
-
|
|
11951
|
+
Np as EditAmbit,
|
|
11934
11952
|
bn as ErrorMessage,
|
|
11935
11953
|
dl as FiltersAmbit,
|
|
11936
|
-
|
|
11954
|
+
Rp as Form,
|
|
11937
11955
|
Yn as GeneralButton,
|
|
11938
11956
|
hl as Graphic,
|
|
11939
11957
|
Kf as GraphicLegend,
|
|
11940
11958
|
Ef as Groupedbarchart,
|
|
11941
|
-
|
|
11942
|
-
|
|
11959
|
+
ip as HeaderSection,
|
|
11960
|
+
Jf as HorizontalBarChart,
|
|
11943
11961
|
Dl as IndicatorsList,
|
|
11944
11962
|
zl as LangSelector,
|
|
11945
11963
|
rc as Legend,
|
|
@@ -11953,7 +11971,7 @@ export {
|
|
|
11953
11971
|
Ls as PieChart,
|
|
11954
11972
|
_d as RadioButtonInput,
|
|
11955
11973
|
Ns as RankingSlider,
|
|
11956
|
-
|
|
11974
|
+
dp as RightSidebar,
|
|
11957
11975
|
e0 as SectionBar,
|
|
11958
11976
|
md as SelectInput,
|
|
11959
11977
|
Yf as SpeedGraphic,
|