@hexclave/dashboard-ui-components 1.0.130 → 1.0.131
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.
|
@@ -2,7 +2,7 @@ import * as React$1 from "react";
|
|
|
2
2
|
import * as RechartsPrimitive from "recharts";
|
|
3
3
|
|
|
4
4
|
//#region src/components/chart-legend.d.ts
|
|
5
|
-
declare const DesignChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "
|
|
5
|
+
declare const DesignChartLegendContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
|
|
6
6
|
hideIcon?: boolean;
|
|
7
7
|
nameKey?: string;
|
|
8
8
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -9766,18 +9766,18 @@ attempted value: ${formattedValue}
|
|
|
9766
9766
|
return this._getTracer().startSpan(name, options, context);
|
|
9767
9767
|
};
|
|
9768
9768
|
ProxyTracer2.prototype.startActiveSpan = function(_name, _options, _context, _fn) {
|
|
9769
|
-
var
|
|
9770
|
-
return Reflect.apply(
|
|
9769
|
+
var tracer = this._getTracer();
|
|
9770
|
+
return Reflect.apply(tracer.startActiveSpan, tracer, arguments);
|
|
9771
9771
|
};
|
|
9772
9772
|
ProxyTracer2.prototype._getTracer = function() {
|
|
9773
9773
|
if (this._delegate) {
|
|
9774
9774
|
return this._delegate;
|
|
9775
9775
|
}
|
|
9776
|
-
var
|
|
9777
|
-
if (!
|
|
9776
|
+
var tracer = this._provider.getDelegateTracer(this.name, this.version, this.options);
|
|
9777
|
+
if (!tracer) {
|
|
9778
9778
|
return NOOP_TRACER;
|
|
9779
9779
|
}
|
|
9780
|
-
this._delegate =
|
|
9780
|
+
this._delegate = tracer;
|
|
9781
9781
|
return this._delegate;
|
|
9782
9782
|
};
|
|
9783
9783
|
return ProxyTracer2;
|
|
@@ -9870,10 +9870,12 @@ attempted value: ${formattedValue}
|
|
|
9870
9870
|
var trace = TraceAPI.getInstance();
|
|
9871
9871
|
|
|
9872
9872
|
// ../shared/dist/esm/utils/telemetry.js
|
|
9873
|
-
|
|
9873
|
+
function getTracer() {
|
|
9874
|
+
return trace.getTracer("stack-tracer");
|
|
9875
|
+
}
|
|
9874
9876
|
async function traceSpan(optionsOrDescription, fn) {
|
|
9875
9877
|
let options = typeof optionsOrDescription === "string" ? { description: optionsOrDescription } : optionsOrDescription;
|
|
9876
|
-
return await
|
|
9878
|
+
return await getTracer().startActiveSpan(`STACK: ${options.description}`, async (span) => {
|
|
9877
9879
|
if (options.attributes) for (const [key, value] of Object.entries(options.attributes)) span.setAttribute(key, value);
|
|
9878
9880
|
try {
|
|
9879
9881
|
return await fn(span);
|