@aveonline/ui-react 2.19.4 → 2.19.6
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.
|
@@ -3,7 +3,8 @@ interface PieData {
|
|
|
3
3
|
name: string;
|
|
4
4
|
value: number;
|
|
5
5
|
}
|
|
6
|
-
export default function Pie<T extends PieData>({ data, width, height, innerRadius, outerRadius, cx, cy, paddingAngle, cornerRadius, dataKey, isLoading, minValue }: IPropsPie<T> & {
|
|
6
|
+
export default function Pie<T extends PieData>({ data, width, height, innerRadius, outerRadius, cx, cy, paddingAngle, cornerRadius, dataKey, isLoading, minValue, colors, decimals }: IPropsPie<T> & {
|
|
7
7
|
minValue?: number;
|
|
8
|
+
colors?: string[];
|
|
8
9
|
}): JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
1
|
import type { IPropsModal } from './IModal';
|
|
2
|
-
|
|
3
|
-
* Molecule: Modal
|
|
4
|
-
* Modals are overlays that require merchants to take an action before they can continue interacting with the rest of Shopify. They can be disruptive and should be used thoughtfully and sparingly.
|
|
5
|
-
*/
|
|
6
|
-
declare function Modal({ title, iconTitle, subtitle, footer, isOpen, hasBorder, showClose, onClose, className, children }: IPropsModal): JSX.Element;
|
|
2
|
+
declare function Modal({ title, iconTitle, subtitle, footer, isOpen, hasBorder, showClose, onClose, className, disableOverlayClick, children }: IPropsModal): JSX.Element;
|
|
7
3
|
export default Modal;
|
package/dist/ui-react.mjs
CHANGED
|
@@ -1041,7 +1041,7 @@ const za = Ye((e, t) => {
|
|
|
1041
1041
|
const { attributes: n, getClass: r } = J9(e), { children: i, as: a = "p" } = e;
|
|
1042
1042
|
return /* @__PURE__ */ m.jsx(a, { className: r, ...n, ref: t, children: i });
|
|
1043
1043
|
});
|
|
1044
|
-
function
|
|
1044
|
+
function mue({
|
|
1045
1045
|
kind: e = "default",
|
|
1046
1046
|
variant: t,
|
|
1047
1047
|
className: n,
|
|
@@ -2622,7 +2622,7 @@ let _I = "div", Ev = si.RenderStrategy, Iv = Qt(function(e, t) {
|
|
|
2622
2622
|
let n = qt(kf) !== null, r = Qu() !== null;
|
|
2623
2623
|
return k.createElement(k.Fragment, null, !n && r ? k.createElement(x0, { ref: t, ...e }) : k.createElement(Iv, { ref: t, ...e }));
|
|
2624
2624
|
}), Zu = Object.assign(x0, { Child: JI, Root: x0 });
|
|
2625
|
-
function
|
|
2625
|
+
function Aue({
|
|
2626
2626
|
onChange: e,
|
|
2627
2627
|
isSelected: t = !1,
|
|
2628
2628
|
isDisabled: n,
|
|
@@ -3327,8 +3327,8 @@ function lt({
|
|
|
3327
3327
|
"path",
|
|
3328
3328
|
{
|
|
3329
3329
|
className: i,
|
|
3330
|
-
|
|
3331
|
-
|
|
3330
|
+
fillRule: "evenodd",
|
|
3331
|
+
clipRule: "evenodd",
|
|
3332
3332
|
d: "M6.5 11C8.98528 11 11 8.98528 11 6.5C11 4.01472 8.98528 2 6.5 2C4.01472 2 2 4.01472 2 6.5C2 8.98528 4.01472 11 6.5 11ZM5.63913 4.05435C5.61957 3.91739 5.73696 3.8 5.87391 3.8H7.10652C7.24348 3.8 7.36087 3.91739 7.3413 4.05435L7.20435 6.71522C7.18478 6.85217 7.08696 6.93044 6.96956 6.93044H6.01087C5.89348 6.93044 5.79565 6.85217 5.77609 6.71522L5.63913 4.05435ZM6.5 7.28261C6.98913 7.28261 7.4 7.69348 7.4 8.18261C7.4 8.6913 6.98913 9.08261 6.5 9.08261C5.9913 9.08261 5.6 8.6913 5.6 8.18261C5.6 7.69348 5.9913 7.28261 6.5 7.28261Z",
|
|
3333
3333
|
fill: "none"
|
|
3334
3334
|
}
|
|
@@ -5875,7 +5875,7 @@ const NS = Ye((e, t) => {
|
|
|
5875
5875
|
] })
|
|
5876
5876
|
] }) });
|
|
5877
5877
|
});
|
|
5878
|
-
function
|
|
5878
|
+
function yue({
|
|
5879
5879
|
track: e,
|
|
5880
5880
|
isDisabled: t = !1,
|
|
5881
5881
|
isSelected: n = !1,
|
|
@@ -10403,7 +10403,7 @@ const Uu = (e) => /* @__PURE__ */ m.jsx(fi.DropdownIndicator, { ...e, children:
|
|
|
10403
10403
|
) })
|
|
10404
10404
|
] });
|
|
10405
10405
|
};
|
|
10406
|
-
function
|
|
10406
|
+
function bue({
|
|
10407
10407
|
options: e,
|
|
10408
10408
|
placeholder: t = "",
|
|
10409
10409
|
defaultValue: n,
|
|
@@ -10527,7 +10527,7 @@ var AR = /* @__PURE__ */ Ye(function(e, t) {
|
|
|
10527
10527
|
}, r));
|
|
10528
10528
|
});
|
|
10529
10529
|
const yR = AR;
|
|
10530
|
-
function
|
|
10530
|
+
function Cue({
|
|
10531
10531
|
placeholder: e = "",
|
|
10532
10532
|
id: t = "default-async",
|
|
10533
10533
|
name: n = "default-async",
|
|
@@ -10640,7 +10640,7 @@ const bR = ({
|
|
|
10640
10640
|
}
|
|
10641
10641
|
) });
|
|
10642
10642
|
};
|
|
10643
|
-
function
|
|
10643
|
+
function xue({
|
|
10644
10644
|
options: e,
|
|
10645
10645
|
placeholder: t = "",
|
|
10646
10646
|
defaultValue: n,
|
|
@@ -10798,7 +10798,7 @@ const $m = ({ isDisabled: e }) => /* @__PURE__ */ m.jsx(
|
|
|
10798
10798
|
}
|
|
10799
10799
|
)
|
|
10800
10800
|
] }) });
|
|
10801
|
-
function
|
|
10801
|
+
function Eue({
|
|
10802
10802
|
id: e = "default-country",
|
|
10803
10803
|
name: t = "default-country",
|
|
10804
10804
|
placeholder: n = "",
|
|
@@ -10927,7 +10927,7 @@ var BR = /* @__PURE__ */ Ye(function(e, t) {
|
|
|
10927
10927
|
}, i));
|
|
10928
10928
|
});
|
|
10929
10929
|
const RR = BR;
|
|
10930
|
-
function
|
|
10930
|
+
function Iue({
|
|
10931
10931
|
placeholder: e = "",
|
|
10932
10932
|
id: t = "default-async-creatable",
|
|
10933
10933
|
name: n = "default-async-creatable",
|
|
@@ -11024,7 +11024,7 @@ function wue({
|
|
|
11024
11024
|
}
|
|
11025
11025
|
);
|
|
11026
11026
|
}
|
|
11027
|
-
function
|
|
11027
|
+
function wue({
|
|
11028
11028
|
tabs: e,
|
|
11029
11029
|
variant: t = "default",
|
|
11030
11030
|
defaultIndex: n,
|
|
@@ -11195,7 +11195,7 @@ function b4({
|
|
|
11195
11195
|
)
|
|
11196
11196
|
] });
|
|
11197
11197
|
}
|
|
11198
|
-
function
|
|
11198
|
+
function Sue({
|
|
11199
11199
|
title: e,
|
|
11200
11200
|
iconTitle: t,
|
|
11201
11201
|
subtitle: n,
|
|
@@ -11205,9 +11205,10 @@ function Oue({
|
|
|
11205
11205
|
showClose: o = !0,
|
|
11206
11206
|
onClose: s,
|
|
11207
11207
|
className: l,
|
|
11208
|
-
|
|
11208
|
+
disableOverlayClick: u = !1,
|
|
11209
|
+
children: c
|
|
11209
11210
|
}) {
|
|
11210
|
-
const
|
|
11211
|
+
const f = () => /* @__PURE__ */ m.jsxs("header", { className: "mb-xl flex items-center justify-between", children: [
|
|
11211
11212
|
/* @__PURE__ */ m.jsxs("div", { className: "flex items-center gap-x-2", children: [
|
|
11212
11213
|
t && t,
|
|
11213
11214
|
/* @__PURE__ */ m.jsx(_r, { variant: "heading", color: "default", children: e })
|
|
@@ -11221,19 +11222,28 @@ function Oue({
|
|
|
11221
11222
|
onClick: () => s == null ? void 0 : s(!i)
|
|
11222
11223
|
}
|
|
11223
11224
|
)
|
|
11224
|
-
] }),
|
|
11225
|
+
] }), d = () => /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
11225
11226
|
a.includes("top") && /* @__PURE__ */ m.jsx("div", { className: "mb-xs border-b border-border-disabled" }),
|
|
11226
|
-
|
|
11227
|
+
c,
|
|
11227
11228
|
a.includes("bottom") && /* @__PURE__ */ m.jsx("div", { className: "mt-xs border-t border-border-disabled" })
|
|
11228
|
-
] })
|
|
11229
|
+
] }), p = () => {
|
|
11230
|
+
u || s == null || s(!1);
|
|
11231
|
+
};
|
|
11229
11232
|
return /* @__PURE__ */ m.jsxs(
|
|
11230
11233
|
l1,
|
|
11231
11234
|
{
|
|
11232
11235
|
open: i,
|
|
11233
|
-
onClose: (
|
|
11236
|
+
onClose: u ? () => null : (v) => s == null ? void 0 : s(v),
|
|
11234
11237
|
className: ee("relative z-50", l),
|
|
11235
11238
|
children: [
|
|
11236
|
-
/* @__PURE__ */ m.jsx(
|
|
11239
|
+
/* @__PURE__ */ m.jsx(
|
|
11240
|
+
"div",
|
|
11241
|
+
{
|
|
11242
|
+
className: "fixed inset-0 bg-background-modal",
|
|
11243
|
+
"aria-hidden": "true",
|
|
11244
|
+
onClick: p
|
|
11245
|
+
}
|
|
11246
|
+
),
|
|
11237
11247
|
/* @__PURE__ */ m.jsx("div", { className: "fixed inset-0 overflow-y-auto", children: /* @__PURE__ */ m.jsx("div", { className: "flex min-h-full items-center justify-center", children: /* @__PURE__ */ m.jsxs(
|
|
11238
11248
|
l1.Panel,
|
|
11239
11249
|
{
|
|
@@ -11242,9 +11252,9 @@ function Oue({
|
|
|
11242
11252
|
l
|
|
11243
11253
|
),
|
|
11244
11254
|
children: [
|
|
11245
|
-
|
|
11255
|
+
f(),
|
|
11246
11256
|
n && /* @__PURE__ */ m.jsx(Ie, { variant: "caption", color: "subdued", className: "mb-sm", children: n }),
|
|
11247
|
-
/* @__PURE__ */ m.jsx("main", { className: "mb-xl", children:
|
|
11257
|
+
/* @__PURE__ */ m.jsx("main", { className: "mb-xl", children: d() }),
|
|
11248
11258
|
/* @__PURE__ */ m.jsx("footer", { className: "flex w-full items-center justify-end gap-x-2", children: r && r })
|
|
11249
11259
|
]
|
|
11250
11260
|
}
|
|
@@ -11488,7 +11498,7 @@ function kR(e, { locales: t = "es-CO", currency: n = "COP", fractionDigits: r =
|
|
|
11488
11498
|
minimumFractionDigits: r
|
|
11489
11499
|
}).format(e ?? 0);
|
|
11490
11500
|
}
|
|
11491
|
-
function
|
|
11501
|
+
function Oue({
|
|
11492
11502
|
icon: e,
|
|
11493
11503
|
isSelected: t = !1,
|
|
11494
11504
|
title: n,
|
|
@@ -11574,7 +11584,7 @@ function Pue({
|
|
|
11574
11584
|
}
|
|
11575
11585
|
);
|
|
11576
11586
|
}
|
|
11577
|
-
function
|
|
11587
|
+
function Pue({
|
|
11578
11588
|
hasLogo: e = !1,
|
|
11579
11589
|
className: t = "",
|
|
11580
11590
|
menuMovil: n,
|
|
@@ -11633,7 +11643,7 @@ function Bue({
|
|
|
11633
11643
|
}
|
|
11634
11644
|
);
|
|
11635
11645
|
}
|
|
11636
|
-
function
|
|
11646
|
+
function Bue({
|
|
11637
11647
|
children: e,
|
|
11638
11648
|
onClose: t,
|
|
11639
11649
|
isOpen: n,
|
|
@@ -13446,7 +13456,7 @@ Ml.Delete = function(t) {
|
|
|
13446
13456
|
const { children: n, inputValue: r } = t;
|
|
13447
13457
|
return (typeof r == "number" ? r > 0 : r) ? /* @__PURE__ */ m.jsx("span", { children: n }) : /* @__PURE__ */ m.jsx(m.Fragment, {});
|
|
13448
13458
|
};
|
|
13449
|
-
const
|
|
13459
|
+
const Rue = Ye((e, t) => {
|
|
13450
13460
|
const {
|
|
13451
13461
|
id: n,
|
|
13452
13462
|
name: r,
|
|
@@ -13646,7 +13656,7 @@ const Mue = Ye((e, t) => {
|
|
|
13646
13656
|
)
|
|
13647
13657
|
] });
|
|
13648
13658
|
});
|
|
13649
|
-
function
|
|
13659
|
+
function Mue({
|
|
13650
13660
|
kind: e = "default",
|
|
13651
13661
|
icon: t,
|
|
13652
13662
|
description: n,
|
|
@@ -15681,7 +15691,7 @@ function fM({
|
|
|
15681
15691
|
}
|
|
15682
15692
|
);
|
|
15683
15693
|
}
|
|
15684
|
-
function
|
|
15694
|
+
function jue({
|
|
15685
15695
|
type: e,
|
|
15686
15696
|
valueInput: t,
|
|
15687
15697
|
textInsideInput: n,
|
|
@@ -15805,7 +15815,7 @@ function kue({
|
|
|
15805
15815
|
)
|
|
15806
15816
|
] });
|
|
15807
15817
|
}
|
|
15808
|
-
function
|
|
15818
|
+
function kue({
|
|
15809
15819
|
children: e,
|
|
15810
15820
|
isSmall: t = !1,
|
|
15811
15821
|
onClick: n,
|
|
@@ -15863,7 +15873,7 @@ function dM({ helpText: e, error: t, showErrorText: n }) {
|
|
|
15863
15873
|
(t || n) && !e && /* @__PURE__ */ m.jsx(b4, { icon: "error", children: t })
|
|
15864
15874
|
] }) : /* @__PURE__ */ m.jsx(m.Fragment, {});
|
|
15865
15875
|
}
|
|
15866
|
-
const
|
|
15876
|
+
const Tue = Ye(
|
|
15867
15877
|
(e, t) => {
|
|
15868
15878
|
const {
|
|
15869
15879
|
error: n,
|
|
@@ -33987,7 +33997,7 @@ var oC = function(t, n, r, i) {
|
|
|
33987
33997
|
}],
|
|
33988
33998
|
formatAxisMap: wd
|
|
33989
33999
|
});
|
|
33990
|
-
function
|
|
34000
|
+
function Nue({
|
|
33991
34001
|
variant: e,
|
|
33992
34002
|
width: t = 600,
|
|
33993
34003
|
height: n = 600,
|
|
@@ -34062,7 +34072,7 @@ const X2 = {
|
|
|
34062
34072
|
violet: "#9D2FAE",
|
|
34063
34073
|
pink: "#F56270"
|
|
34064
34074
|
}, Hc = (e) => Object.keys(X2).includes(e) ? X2[e] : X2.cyan;
|
|
34065
|
-
function
|
|
34075
|
+
function Due({
|
|
34066
34076
|
className: e,
|
|
34067
34077
|
data: t,
|
|
34068
34078
|
cells: n,
|
|
@@ -34283,7 +34293,7 @@ function aae({ positionY: e, daysFormat: t, data: n }) {
|
|
|
34283
34293
|
function oae(e) {
|
|
34284
34294
|
return e != null && e.cy ? /* @__PURE__ */ m.jsx("g", { transform: `translate(${e.x + 27},${e.y})`, children: /* @__PURE__ */ m.jsx("circle", { r: 6, fill: "#5F24F1" }) }) : null;
|
|
34285
34295
|
}
|
|
34286
|
-
function
|
|
34296
|
+
function Lue({
|
|
34287
34297
|
isLoading: e = !1,
|
|
34288
34298
|
data: t,
|
|
34289
34299
|
paddingTickY: n,
|
|
@@ -34382,7 +34392,7 @@ function Fue({
|
|
|
34382
34392
|
}
|
|
34383
34393
|
) });
|
|
34384
34394
|
}
|
|
34385
|
-
function
|
|
34395
|
+
function Fue({
|
|
34386
34396
|
title: e,
|
|
34387
34397
|
subtitle: t,
|
|
34388
34398
|
defaultOpen: n = !1,
|
|
@@ -34444,7 +34454,7 @@ function Vue({
|
|
|
34444
34454
|
)
|
|
34445
34455
|
] }) });
|
|
34446
34456
|
}
|
|
34447
|
-
function
|
|
34457
|
+
function Vue({
|
|
34448
34458
|
name: e,
|
|
34449
34459
|
email: t,
|
|
34450
34460
|
items: n,
|
|
@@ -34509,7 +34519,7 @@ function Que({
|
|
|
34509
34519
|
)
|
|
34510
34520
|
] }) });
|
|
34511
34521
|
}
|
|
34512
|
-
function
|
|
34522
|
+
function Que({
|
|
34513
34523
|
icon: e,
|
|
34514
34524
|
options: t,
|
|
34515
34525
|
onSelected: n,
|
|
@@ -35248,7 +35258,7 @@ const fC = "Popper", [dC, pC] = lC(fC), [Nae, gC] = dC(fC), Dae = (e) => {
|
|
|
35248
35258
|
}), r ? null : /* @__PURE__ */ We(Ys.div, ye({}, i, {
|
|
35249
35259
|
ref: s
|
|
35250
35260
|
}));
|
|
35251
|
-
}), hC = "PopperContent", [Vae,
|
|
35261
|
+
}), hC = "PopperContent", [Vae, Hue] = dC(hC), Qae = /* @__PURE__ */ Ye((e, t) => {
|
|
35252
35262
|
var n, r, i, a, o, s, l, u;
|
|
35253
35263
|
const { __scopePopper: c, side: f = "bottom", sideOffset: d = 0, align: p = "center", alignOffset: v = 0, arrowPadding: g = 0, collisionBoundary: h = [], collisionPadding: A = 0, sticky: b = "partial", hideWhenDetached: E = !1, avoidCollisions: x = !0, onPlaced: y, ...C } = e, I = gC(hC, c), [w, O] = he(null), B = fo(
|
|
35254
35264
|
t,
|
|
@@ -35941,7 +35951,7 @@ var OC = S.forwardRef(function(e, t) {
|
|
|
35941
35951
|
return S.createElement(Pd, Zn({}, e, { ref: t, sideCar: woe }));
|
|
35942
35952
|
});
|
|
35943
35953
|
OC.classNames = Pd.classNames;
|
|
35944
|
-
const Soe = OC, PC = "Popover", [BC,
|
|
35954
|
+
const Soe = OC, PC = "Popover", [BC, Gue] = lC(PC, [
|
|
35945
35955
|
pC
|
|
35946
35956
|
]), O8 = pC(), [Ooe, Us] = BC(PC), Poe = (e) => {
|
|
35947
35957
|
const { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = O8(t), l = pe(null), [u, c] = he(!1), [f = !1, d] = Uae({
|
|
@@ -36936,7 +36946,7 @@ var HC = S.forwardRef(function(e, t) {
|
|
|
36936
36946
|
return S.createElement(Md, Zn({}, e, { ref: t, sideCar: Pse }));
|
|
36937
36947
|
});
|
|
36938
36948
|
HC.classNames = Md.classNames;
|
|
36939
|
-
const Bse = HC, GC = "Dialog", [ZC,
|
|
36949
|
+
const Bse = HC, GC = "Dialog", [ZC, Zue] = Zoe(GC), [Rse, po] = ZC(GC), Mse = (e) => {
|
|
36940
36950
|
const { __scopeDialog: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !0 } = e, s = pe(null), l = pe(null), [u = !1, c] = $oe({
|
|
36941
36951
|
prop: r,
|
|
36942
36952
|
defaultProp: i,
|
|
@@ -37452,7 +37462,7 @@ const A3 = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m.jsx(
|
|
|
37452
37462
|
}
|
|
37453
37463
|
));
|
|
37454
37464
|
A3.displayName = vr.Item.displayName;
|
|
37455
|
-
function
|
|
37465
|
+
function zue({
|
|
37456
37466
|
title: e = "",
|
|
37457
37467
|
titleNotFound: t = "No hay coincidencias",
|
|
37458
37468
|
placeholderSearch: n = "Buscar",
|
|
@@ -40653,7 +40663,7 @@ function uue({
|
|
|
40653
40663
|
] }) })
|
|
40654
40664
|
] });
|
|
40655
40665
|
}
|
|
40656
|
-
function
|
|
40666
|
+
function Wue({
|
|
40657
40667
|
columns: e = [],
|
|
40658
40668
|
data: t = [],
|
|
40659
40669
|
searchFilter: n = !1,
|
|
@@ -41188,7 +41198,7 @@ const pue = P3(
|
|
|
41188
41198
|
);
|
|
41189
41199
|
}
|
|
41190
41200
|
);
|
|
41191
|
-
function
|
|
41201
|
+
function Xue({
|
|
41192
41202
|
columns: e = [],
|
|
41193
41203
|
data: t = [],
|
|
41194
41204
|
stickyHeader: n,
|
|
@@ -41423,7 +41433,7 @@ function $ue({
|
|
|
41423
41433
|
)
|
|
41424
41434
|
] });
|
|
41425
41435
|
}
|
|
41426
|
-
function
|
|
41436
|
+
function $ue({ items: e = [], checkedItem: t, onChange: n }) {
|
|
41427
41437
|
const r = qa("(max-width: 520px)"), i = (s, l) => l != null && l.error ? "border-action-critical-default" : l != null && l.isDisabled || l != null && l.isLoading ? "border-border-disabled" : s ? "shadow-[0px_0px_0px_1px_#3EADFE]" : "border-border-default hover:border-border-hovered", a = (s, l) => {
|
|
41428
41438
|
var u, c;
|
|
41429
41439
|
return ((u = s == null ? void 0 : s.id) == null ? void 0 : u.toLowerCase()) === ((c = l == null ? void 0 : l.id) == null ? void 0 : c.toLowerCase());
|
|
@@ -41568,7 +41578,7 @@ function Yue({ items: e = [], checkedItem: t, onChange: n }) {
|
|
|
41568
41578
|
}
|
|
41569
41579
|
) : /* @__PURE__ */ m.jsx(m.Fragment, {});
|
|
41570
41580
|
}
|
|
41571
|
-
function
|
|
41581
|
+
function Yue({
|
|
41572
41582
|
description: e = "",
|
|
41573
41583
|
date: t = "",
|
|
41574
41584
|
hour: n = "",
|
|
@@ -41636,7 +41646,7 @@ function Uue({
|
|
|
41636
41646
|
}
|
|
41637
41647
|
);
|
|
41638
41648
|
}
|
|
41639
|
-
function
|
|
41649
|
+
function Uue({ infoItems: e, onItemClick: t }) {
|
|
41640
41650
|
const n = pe(null), r = () => {
|
|
41641
41651
|
var a;
|
|
41642
41652
|
(a = n.current) == null || a.scrollBy({ left: -n.current.offsetWidth });
|
|
@@ -41655,7 +41665,7 @@ function _ue({ infoItems: e, onItemClick: t }) {
|
|
|
41655
41665
|
children: /* @__PURE__ */ m.jsx(lt, { size: "sm", kind: "page-back" })
|
|
41656
41666
|
}
|
|
41657
41667
|
),
|
|
41658
|
-
/* @__PURE__ */ m.jsx("div", { ref: n, className: "flex gap-1 overflow-hidden", children: e.map((a) => /* @__PURE__ */ m.jsx(
|
|
41668
|
+
/* @__PURE__ */ m.jsx("div", { ref: n, className: "flex gap-1 overflow-hidden", children: e.map((a, o) => /* @__PURE__ */ m.jsx(
|
|
41659
41669
|
"div",
|
|
41660
41670
|
{
|
|
41661
41671
|
className: "slider-item border border-surface-active rounded-sm",
|
|
@@ -41673,12 +41683,12 @@ function _ue({ infoItems: e, onItemClick: t }) {
|
|
|
41673
41683
|
/* @__PURE__ */ m.jsx(Ie, { className: "text-center mt-2", children: a.value })
|
|
41674
41684
|
] }) })
|
|
41675
41685
|
},
|
|
41676
|
-
|
|
41686
|
+
o
|
|
41677
41687
|
)) }),
|
|
41678
41688
|
/* @__PURE__ */ m.jsx(Ur, { size: "sm", variant: "plain-monochrome", onClick: i, children: /* @__PURE__ */ m.jsx(lt, { size: "sm", kind: "page-front" }) })
|
|
41679
41689
|
] });
|
|
41680
41690
|
}
|
|
41681
|
-
function
|
|
41691
|
+
function _ue({ steps: e }) {
|
|
41682
41692
|
const [t, n] = he(0), r = () => {
|
|
41683
41693
|
n(t + 1);
|
|
41684
41694
|
}, i = () => {
|
|
@@ -41800,8 +41810,8 @@ const Ur = Ye((e, t) => {
|
|
|
41800
41810
|
);
|
|
41801
41811
|
r >= 0 ? t[r].value += n.value : t.push({ ...n });
|
|
41802
41812
|
}), t;
|
|
41803
|
-
}
|
|
41804
|
-
function
|
|
41813
|
+
};
|
|
41814
|
+
function Jue({
|
|
41805
41815
|
data: e,
|
|
41806
41816
|
width: t,
|
|
41807
41817
|
height: n,
|
|
@@ -41813,26 +41823,28 @@ function Kue({
|
|
|
41813
41823
|
cornerRadius: l = 2,
|
|
41814
41824
|
dataKey: u = "value",
|
|
41815
41825
|
isLoading: c = !1,
|
|
41816
|
-
minValue: f = 2
|
|
41826
|
+
minValue: f = 2,
|
|
41827
|
+
colors: d,
|
|
41828
|
+
decimals: p = 3
|
|
41817
41829
|
}) {
|
|
41818
|
-
const
|
|
41830
|
+
const g = e.filter((E) => E.value >= f), h = gue(g), A = d && d.length >= h.length ? d : Array.from({ length: h.length }, (E, x) => `hsl(${x * 360 / h.length}, 70%, 50%)`), b = i || Math.min(t, n) / (h.length > 5 ? 2.5 : 2);
|
|
41819
41831
|
return c ? /* @__PURE__ */ m.jsx("div", { className: "flex flex-col items-center gap-y-3 justify-center text-center rounded-b-sm border-border-subdued", children: /* @__PURE__ */ m.jsx("div", { className: "py-8", children: /* @__PURE__ */ m.jsx(ya, { size: "lg" }) }) }) : /* @__PURE__ */ m.jsx(_ie, { width: t, height: n, children: /* @__PURE__ */ m.jsx(
|
|
41820
41832
|
Zi,
|
|
41821
41833
|
{
|
|
41822
|
-
data:
|
|
41834
|
+
data: h,
|
|
41823
41835
|
innerRadius: r,
|
|
41824
|
-
outerRadius:
|
|
41836
|
+
outerRadius: b,
|
|
41825
41837
|
cx: a,
|
|
41826
41838
|
cy: o,
|
|
41827
41839
|
paddingAngle: s,
|
|
41828
41840
|
dataKey: u,
|
|
41829
41841
|
cornerRadius: l,
|
|
41830
|
-
label: ({ value:
|
|
41831
|
-
children:
|
|
41842
|
+
label: ({ value: E, name: x }) => x ? `${x} - ${parseFloat(E).toFixed(p)}%` : `${parseFloat(E).toFixed(p)}%`,
|
|
41843
|
+
children: h.map((E, x) => /* @__PURE__ */ m.jsx(Gs, { fill: A[x] }, `cell-${x}`))
|
|
41832
41844
|
}
|
|
41833
41845
|
) });
|
|
41834
41846
|
}
|
|
41835
|
-
function
|
|
41847
|
+
function Kue({
|
|
41836
41848
|
data: e,
|
|
41837
41849
|
width: t,
|
|
41838
41850
|
height: n,
|
|
@@ -41859,55 +41871,55 @@ function que({
|
|
|
41859
41871
|
] });
|
|
41860
41872
|
}
|
|
41861
41873
|
export {
|
|
41862
|
-
|
|
41863
|
-
|
|
41864
|
-
|
|
41874
|
+
Iue as AsyncCreatableSelect,
|
|
41875
|
+
Cue as AsyncSelect,
|
|
41876
|
+
Wue as AsyncTable,
|
|
41865
41877
|
F8 as Avatar,
|
|
41866
41878
|
K9 as Badge,
|
|
41867
|
-
|
|
41879
|
+
Due as Bar,
|
|
41868
41880
|
Ur as Button,
|
|
41869
|
-
|
|
41870
|
-
|
|
41871
|
-
|
|
41881
|
+
Yue as CardHistory,
|
|
41882
|
+
$ue as CardSelect,
|
|
41883
|
+
Uue as Carousel,
|
|
41872
41884
|
pue as CheckBoxTable,
|
|
41873
41885
|
em as Checkbox,
|
|
41874
|
-
|
|
41886
|
+
jue as DateInputPicker,
|
|
41875
41887
|
lae as DropdownButton,
|
|
41876
|
-
|
|
41877
|
-
|
|
41878
|
-
|
|
41879
|
-
|
|
41888
|
+
zue as DropdownFilter,
|
|
41889
|
+
Que as DropdownFilterMultiple,
|
|
41890
|
+
Fue as DropdownSummary,
|
|
41891
|
+
Vue as DropdownUser,
|
|
41880
41892
|
Ym as EmptyState,
|
|
41881
|
-
|
|
41882
|
-
|
|
41883
|
-
|
|
41884
|
-
|
|
41893
|
+
Rue as Field,
|
|
41894
|
+
Mue as Flag,
|
|
41895
|
+
Nue as Graphic,
|
|
41896
|
+
Pue as Header,
|
|
41885
41897
|
_r as Heading,
|
|
41886
41898
|
lt as Icon,
|
|
41887
41899
|
b4 as InlineError,
|
|
41888
41900
|
T8 as LayoutMain,
|
|
41889
|
-
|
|
41890
|
-
|
|
41901
|
+
Kue as Line,
|
|
41902
|
+
mue as Link,
|
|
41891
41903
|
Rs as Logo,
|
|
41892
|
-
|
|
41893
|
-
|
|
41894
|
-
|
|
41895
|
-
|
|
41904
|
+
Sue as Modal,
|
|
41905
|
+
kue as Navigation,
|
|
41906
|
+
Bue as NavigationMovil,
|
|
41907
|
+
Jue as Pie,
|
|
41896
41908
|
NS as Radio,
|
|
41897
|
-
|
|
41898
|
-
|
|
41899
|
-
|
|
41909
|
+
bue as Select,
|
|
41910
|
+
xue as SelectButton,
|
|
41911
|
+
Eue as SelectCountry,
|
|
41900
41912
|
ya as Spinner,
|
|
41901
|
-
|
|
41913
|
+
_ue as Stepper,
|
|
41902
41914
|
C4 as Summary,
|
|
41903
|
-
|
|
41904
|
-
|
|
41905
|
-
|
|
41906
|
-
|
|
41915
|
+
Aue as Switch,
|
|
41916
|
+
wue as Tab,
|
|
41917
|
+
Oue as TabNav,
|
|
41918
|
+
Xue as Table,
|
|
41907
41919
|
Ie as Text,
|
|
41908
|
-
|
|
41920
|
+
Tue as TextArea,
|
|
41909
41921
|
za as TextRef,
|
|
41910
|
-
|
|
41922
|
+
Lue as TimeLine,
|
|
41911
41923
|
Yl as Tooltip,
|
|
41912
|
-
|
|
41924
|
+
yue as Tracker
|
|
41913
41925
|
};
|