pxengine 0.1.99 → 0.1.100
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/README.md +132 -132
- package/config/tailwind-preset.js +159 -159
- package/dist/index.cjs +24 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +24 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +121 -121
- package/dist/registry.json +0 -19331
package/dist/index.mjs
CHANGED
|
@@ -38337,7 +38337,7 @@ var InsightSummaryCard = ({
|
|
|
38337
38337
|
children: [
|
|
38338
38338
|
/* @__PURE__ */ jsx134("h3", { className: "text-base font-semibold text-foreground", children: title }),
|
|
38339
38339
|
summary ? /* @__PURE__ */ jsx134("p", { className: "mt-2 text-sm text-muted-foreground leading-relaxed", children: summary }) : null,
|
|
38340
|
-
/* @__PURE__ */ jsx134("div", { className: "mt-4 space-y-2", children: insights.map((item, index) => /* @__PURE__ */ jsxs95(
|
|
38340
|
+
/* @__PURE__ */ jsx134("div", { className: "mt-4 space-y-2", children: (Array.isArray(insights) ? insights : []).map((item, index) => /* @__PURE__ */ jsxs95(
|
|
38341
38341
|
"div",
|
|
38342
38342
|
{
|
|
38343
38343
|
className: "rounded-xl border border-border/70 bg-background/50 px-3 py-2",
|
|
@@ -43310,7 +43310,7 @@ function PlatformMetricsBanner({
|
|
|
43310
43310
|
return /* @__PURE__ */ jsxs132(
|
|
43311
43311
|
"div",
|
|
43312
43312
|
{
|
|
43313
|
-
className: "\
|
|
43313
|
+
className: "\n grid grid-cols-1 gap-3 rounded-xl py-4 px-4 shadow-sm\n md:flex md:overflow-x-auto md:gap-6 md:rounded-l-xl md:py-4 md:px-4 md:items-center md:gap-0 md:px-0 md:ml-8\n ",
|
|
43314
43314
|
style: { backgroundColor: bgColor },
|
|
43315
43315
|
children: [
|
|
43316
43316
|
/* @__PURE__ */ jsxs132("div", { className: "flex flex-col items-center md:min-w-0", children: [
|
|
@@ -44724,9 +44724,28 @@ var hcLoadPromise = null;
|
|
|
44724
44724
|
function loadHighcharts() {
|
|
44725
44725
|
if (hcSingleton) return Promise.resolve(hcSingleton);
|
|
44726
44726
|
if (hcLoadPromise) return hcLoadPromise;
|
|
44727
|
-
hcLoadPromise = import("highcharts").then((m) => {
|
|
44728
|
-
|
|
44729
|
-
|
|
44727
|
+
hcLoadPromise = import("highcharts").then(async (m) => {
|
|
44728
|
+
const HC = m.default ?? m;
|
|
44729
|
+
const moduleLoaders = [
|
|
44730
|
+
() => import("highcharts/highcharts-more"),
|
|
44731
|
+
() => import("highcharts/highcharts-3d"),
|
|
44732
|
+
() => import("highcharts/modules/funnel"),
|
|
44733
|
+
() => import("highcharts/modules/sankey"),
|
|
44734
|
+
() => import("highcharts/modules/networkgraph"),
|
|
44735
|
+
() => import("highcharts/modules/heatmap"),
|
|
44736
|
+
() => import("highcharts/modules/treemap"),
|
|
44737
|
+
() => import("highcharts/modules/solid-gauge")
|
|
44738
|
+
];
|
|
44739
|
+
for (const load of moduleLoaders) {
|
|
44740
|
+
try {
|
|
44741
|
+
const mod = await load();
|
|
44742
|
+
const init = mod?.default ?? mod;
|
|
44743
|
+
if (typeof init === "function") init(HC);
|
|
44744
|
+
} catch {
|
|
44745
|
+
}
|
|
44746
|
+
}
|
|
44747
|
+
hcSingleton = HC;
|
|
44748
|
+
return HC;
|
|
44730
44749
|
});
|
|
44731
44750
|
return hcLoadPromise;
|
|
44732
44751
|
}
|