@its/core 2.6.0-beta.3 → 2.6.0-beta.5
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/core.es.js +41 -27
- package/package.json +1 -1
package/dist/core.es.js
CHANGED
|
@@ -5634,15 +5634,17 @@ function Lke({
|
|
|
5634
5634
|
actionLabel: s,
|
|
5635
5635
|
actionClickCallback: u,
|
|
5636
5636
|
actionPosition: c = pl.Before,
|
|
5637
|
-
|
|
5637
|
+
disableActionClick: l = !1,
|
|
5638
|
+
noWrap: d
|
|
5638
5639
|
}) {
|
|
5639
|
-
const { t:
|
|
5640
|
+
const { t: h } = jt(), p = (y) => !u || !s || c !== y ? null : typeof s == "string" ? /* @__PURE__ */ A(
|
|
5640
5641
|
Bo,
|
|
5641
5642
|
{
|
|
5642
5643
|
id: `${e}-action`,
|
|
5643
5644
|
onClick: u,
|
|
5644
5645
|
sx: { marginLeft: "auto", padding: "6px 26px" },
|
|
5645
|
-
|
|
5646
|
+
disabled: l,
|
|
5647
|
+
children: h(s)
|
|
5646
5648
|
}
|
|
5647
5649
|
) : /* @__PURE__ */ A(
|
|
5648
5650
|
yn,
|
|
@@ -5653,7 +5655,7 @@ function Lke({
|
|
|
5653
5655
|
children: s
|
|
5654
5656
|
}
|
|
5655
5657
|
);
|
|
5656
|
-
return /* @__PURE__ */ A($r, { id: e, sx: { padding: i, width: n, height: r, overflow: "hidden", minHeight: "64px" }, children: /* @__PURE__ */ Ae(go, { flexDirection: a, flexWrap:
|
|
5658
|
+
return /* @__PURE__ */ A($r, { id: e, sx: { padding: i, width: n, height: r, overflow: "hidden", minHeight: "64px" }, children: /* @__PURE__ */ Ae(go, { flexDirection: a, flexWrap: d ? void 0 : "wrap", children: [
|
|
5657
5659
|
(t || c === pl.Before) && /* @__PURE__ */ Ae(yn, { alignItems: "center", children: [
|
|
5658
5660
|
t && /* @__PURE__ */ A(
|
|
5659
5661
|
er,
|
|
@@ -5662,13 +5664,13 @@ function Lke({
|
|
|
5662
5664
|
sx: { textTransform: "uppercase", fontWeight: 600, mb: "8px" },
|
|
5663
5665
|
color: "primary",
|
|
5664
5666
|
noWrap: !0,
|
|
5665
|
-
children:
|
|
5667
|
+
children: h(t)
|
|
5666
5668
|
}
|
|
5667
5669
|
),
|
|
5668
|
-
|
|
5670
|
+
p(pl.Before)
|
|
5669
5671
|
] }),
|
|
5670
5672
|
o,
|
|
5671
|
-
c === pl.After && /* @__PURE__ */ A(yn, { alignItems: "center", children:
|
|
5673
|
+
c === pl.After && /* @__PURE__ */ A(yn, { alignItems: "center", children: p(pl.After) })
|
|
5672
5674
|
] }) });
|
|
5673
5675
|
}
|
|
5674
5676
|
function nk(e) {
|
|
@@ -48465,7 +48467,13 @@ function i5e(e, t) {
|
|
|
48465
48467
|
});
|
|
48466
48468
|
}), r;
|
|
48467
48469
|
}
|
|
48468
|
-
function ORe({
|
|
48470
|
+
function ORe({
|
|
48471
|
+
blob: e,
|
|
48472
|
+
ruleSet: t,
|
|
48473
|
+
dataSource: n,
|
|
48474
|
+
callBacksSet: r = {},
|
|
48475
|
+
extraInterpolateCallBacksSet: i = null
|
|
48476
|
+
}) {
|
|
48469
48477
|
const o = Hh(), [a, s] = Ye(null), [u, c] = Ye();
|
|
48470
48478
|
Xe(() => () => {
|
|
48471
48479
|
a && URL.revokeObjectURL(a), s(null);
|
|
@@ -48479,19 +48487,25 @@ function ORe({ blob: e, ruleSet: t, dataSource: n, callBacksSet: r = {}, extraIn
|
|
|
48479
48487
|
);
|
|
48480
48488
|
return Xe(() => {
|
|
48481
48489
|
if (!e) {
|
|
48482
|
-
|
|
48490
|
+
s(null);
|
|
48483
48491
|
return;
|
|
48484
48492
|
}
|
|
48485
|
-
const d = new Uint8Array(e), h = new Blob([d], {
|
|
48486
|
-
|
|
48487
|
-
|
|
48488
|
-
|
|
48493
|
+
const d = new Uint8Array(e), h = new Blob([d], { type: "image/svg+xml" }), p = new FileReader();
|
|
48494
|
+
p.onload = () => {
|
|
48495
|
+
const y = p.result;
|
|
48496
|
+
s(y);
|
|
48497
|
+
}, p.onerror = () => {
|
|
48498
|
+
console.error("Failed to read SVG blob");
|
|
48499
|
+
}, p.readAsDataURL(h);
|
|
48489
48500
|
}, [e]), /* @__PURE__ */ A(qr, { children: a && u && /* @__PURE__ */ A(
|
|
48490
48501
|
R3,
|
|
48491
48502
|
{
|
|
48492
48503
|
width: 100,
|
|
48493
48504
|
src: a,
|
|
48494
48505
|
evalScripts: "always",
|
|
48506
|
+
onError: (d) => {
|
|
48507
|
+
console.error("ReactSVG Error:", d);
|
|
48508
|
+
},
|
|
48495
48509
|
beforeInjection: (d) => {
|
|
48496
48510
|
l(d), i && i(d);
|
|
48497
48511
|
}
|
|
@@ -57911,36 +57925,36 @@ class wM {
|
|
|
57911
57925
|
return this._exporter.shutdown();
|
|
57912
57926
|
}
|
|
57913
57927
|
}
|
|
57914
|
-
function vDe(e) {
|
|
57915
|
-
const
|
|
57916
|
-
[ZF]:
|
|
57917
|
-
}),
|
|
57928
|
+
function vDe(e, t = "MES-FE") {
|
|
57929
|
+
const n = uW({
|
|
57930
|
+
[ZF]: t
|
|
57931
|
+
}), r = new Z7e({
|
|
57918
57932
|
url: `${e}/v1/traces`
|
|
57919
57933
|
// URL del collector OpenTelemetry
|
|
57920
|
-
}),
|
|
57921
|
-
resource:
|
|
57934
|
+
}), i = new XCe({
|
|
57935
|
+
resource: n,
|
|
57922
57936
|
spanProcessors: [
|
|
57923
57937
|
new eM(new GCe()),
|
|
57924
57938
|
// Debug in console
|
|
57925
|
-
new eM(
|
|
57939
|
+
new eM(r)
|
|
57926
57940
|
// Invio al collector
|
|
57927
57941
|
]
|
|
57928
57942
|
});
|
|
57929
|
-
|
|
57943
|
+
i.register({
|
|
57930
57944
|
// Changing default contextManager to use ZoneContextManager - supports asynchronous operations - optional
|
|
57931
57945
|
contextManager: new X8e()
|
|
57932
|
-
}),
|
|
57933
|
-
const
|
|
57946
|
+
}), i.register();
|
|
57947
|
+
const o = new YIe({
|
|
57934
57948
|
url: `${e}/v1/logs`
|
|
57935
57949
|
// URL del collector OpenTelemetry per i log});
|
|
57936
|
-
}),
|
|
57937
|
-
resource:
|
|
57950
|
+
}), a = new uMe({
|
|
57951
|
+
resource: n,
|
|
57938
57952
|
processors: [
|
|
57939
57953
|
new wM(new cMe()),
|
|
57940
|
-
new wM(
|
|
57954
|
+
new wM(o)
|
|
57941
57955
|
]
|
|
57942
57956
|
});
|
|
57943
|
-
LW.setGlobalLoggerProvider(
|
|
57957
|
+
LW.setGlobalLoggerProvider(a), a8e({
|
|
57944
57958
|
instrumentations: [
|
|
57945
57959
|
new K8e()
|
|
57946
57960
|
// new XMLHttpRequestInstrumentation(),
|