@gisce/react-ooui 2.112.0-alpha.10 → 2.112.0-alpha.11
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/react-ooui.es.js
CHANGED
|
@@ -2579,15 +2579,15 @@ const Qf = (t) => {
|
|
|
2579
2579
|
n((h = g.bounds) == null ? void 0 : h.height), o((y = g.bounds) == null ? void 0 : y.width);
|
|
2580
2580
|
},
|
|
2581
2581
|
children: ({ measureRef: g }) => {
|
|
2582
|
-
const
|
|
2582
|
+
const v = Math.min(m || e || 200, r || 200), b = v > 0 ? v : 200, x = b, C = m || e, w = r, T = u ? /* @__PURE__ */ s(
|
|
2583
2583
|
em,
|
|
2584
2584
|
{
|
|
2585
2585
|
value: i,
|
|
2586
2586
|
total: a,
|
|
2587
2587
|
percent: c,
|
|
2588
2588
|
measureRef: p ? void 0 : g,
|
|
2589
|
-
height: p ? x :
|
|
2590
|
-
width: p ? x :
|
|
2589
|
+
height: p ? x : C,
|
|
2590
|
+
width: p ? x : w,
|
|
2591
2591
|
color: l,
|
|
2592
2592
|
icon: d,
|
|
2593
2593
|
suffix: f
|
|
@@ -2598,13 +2598,13 @@ const Qf = (t) => {
|
|
|
2598
2598
|
value: i,
|
|
2599
2599
|
total: a,
|
|
2600
2600
|
measureRef: p ? void 0 : g,
|
|
2601
|
-
height: p ? x :
|
|
2602
|
-
width: p ? x :
|
|
2601
|
+
height: p ? x : C,
|
|
2602
|
+
width: p ? x : w,
|
|
2603
2603
|
color: l,
|
|
2604
2604
|
icon: d,
|
|
2605
2605
|
suffix: f
|
|
2606
2606
|
}
|
|
2607
|
-
),
|
|
2607
|
+
), S = p ? /* @__PURE__ */ s(
|
|
2608
2608
|
"div",
|
|
2609
2609
|
{
|
|
2610
2610
|
ref: g,
|
|
@@ -2622,12 +2622,12 @@ const Qf = (t) => {
|
|
|
2622
2622
|
percent: c || 0,
|
|
2623
2623
|
strokeColor: l,
|
|
2624
2624
|
width: b,
|
|
2625
|
-
format: () =>
|
|
2625
|
+
format: () => T
|
|
2626
2626
|
}
|
|
2627
2627
|
)
|
|
2628
2628
|
}
|
|
2629
|
-
) :
|
|
2630
|
-
return m ? /* @__PURE__ */ s("div", { style: { height: m }, children:
|
|
2629
|
+
) : T;
|
|
2630
|
+
return m ? /* @__PURE__ */ s("div", { style: { height: m }, children: S }) : S;
|
|
2631
2631
|
}
|
|
2632
2632
|
}
|
|
2633
2633
|
);
|