@abdellatifui/react 3.2.181 → 3.2.184
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/nextgen.css +1 -1
- package/dist/nextgen.d.ts +5 -4
- package/dist/nextgen.js +18 -13
- package/package.json +1 -1
package/dist/nextgen.d.ts
CHANGED
|
@@ -1034,13 +1034,14 @@ declare interface PanelProps_2 {
|
|
|
1034
1034
|
export declare interface PropertiesItemProps {
|
|
1035
1035
|
label: string;
|
|
1036
1036
|
value: any;
|
|
1037
|
-
type?: 'text' | 'number' | 'boolean' | 'date' | 'array' | 'object';
|
|
1038
|
-
editable?: boolean;
|
|
1039
|
-
onChange?: (value: any) => void;
|
|
1040
1037
|
className?: string;
|
|
1038
|
+
border?: boolean;
|
|
1039
|
+
copy?: boolean;
|
|
1040
|
+
copyValue?: any;
|
|
1041
|
+
variant?: 'primary' | 'secondary';
|
|
1041
1042
|
}
|
|
1042
1043
|
|
|
1043
|
-
export declare const PropItem: (props:
|
|
1044
|
+
export declare const PropItem: (props: PropertiesItemProps) => JSX.Element;
|
|
1044
1045
|
|
|
1045
1046
|
export declare const RadioGroup: ForwardRefExoticComponent<RefAttributes<unknown>>;
|
|
1046
1047
|
|
package/dist/nextgen.js
CHANGED
|
@@ -23084,7 +23084,7 @@ const nf = cn({ name: "", onChange: () => {
|
|
|
23084
23084
|
E.off("connect", P), E.off("disconnect", v);
|
|
23085
23085
|
};
|
|
23086
23086
|
}, [t]), q(() => {
|
|
23087
|
-
if (x?.updateExternalApi("forceReloadApiMount", j), x?.updateExternalApi("forceReloadApiMountCount", C),
|
|
23087
|
+
if (x?.updateExternalApi("forceReloadApiMount", j), x?.updateExternalApi("forceReloadApiMountCount", C), console.log("1-Mounting Notification Listener notify : ", d, E?.connected), !d || !E?.connected) return;
|
|
23088
23088
|
const P = (R) => {
|
|
23089
23089
|
if (console.log("API : Coming Notification : ", R), R?._role === "alert") {
|
|
23090
23090
|
const A = R?.status === 200;
|
|
@@ -23106,9 +23106,7 @@ const nf = cn({ name: "", onChange: () => {
|
|
|
23106
23106
|
const { url: A } = R;
|
|
23107
23107
|
window.open(A, "_self");
|
|
23108
23108
|
};
|
|
23109
|
-
|
|
23110
|
-
console.log("Unmounting Notification Listener ..."), E.off("/stream/notify", P), E.off("/stream/redirect", v), E.close(), x?.updateExternalApi("apiNotificationMountRunning", !1);
|
|
23111
|
-
};
|
|
23109
|
+
E.on("/stream/notify", P), E.on("/stream/redirect", v), console.log("2-Mounting Notification Listener ...", N());
|
|
23112
23110
|
}, [d, t, S, C]);
|
|
23113
23111
|
const _ = se((P) => async (...v) => {
|
|
23114
23112
|
const R = v.find(
|
|
@@ -23431,14 +23429,14 @@ const mS = xe("relative w-fit data-[state=active]:font-medium group", {
|
|
|
23431
23429
|
}
|
|
23432
23430
|
) : null
|
|
23433
23431
|
] });
|
|
23434
|
-
}), vS = xe("h-fit p-2 rounded relative pr-6 ease-in-out transition-all duration-75", {
|
|
23432
|
+
}), vS = xe("group h-fit p-2 outline-none rounded relative pr-6 ease-in-out transition-all duration-75", {
|
|
23435
23433
|
variants: {
|
|
23436
23434
|
variant: {
|
|
23437
23435
|
primary: "bg-white hover:outline outline-blue-200 outline-[2px] [&_.css9231]:hover:visible",
|
|
23438
23436
|
secondary: "bg-accent hover:outline outline-blue-200 outline-[2px] [&_.css9231]:hover:visible"
|
|
23439
23437
|
},
|
|
23440
23438
|
border: {
|
|
23441
|
-
true: "border-
|
|
23439
|
+
true: "border-px border-blue-100"
|
|
23442
23440
|
},
|
|
23443
23441
|
copy: {
|
|
23444
23442
|
false: "[&_.css9231]:hidden"
|
|
@@ -23449,15 +23447,22 @@ const mS = xe("relative w-fit data-[state=active]:font-medium group", {
|
|
|
23449
23447
|
variant: n = "primary",
|
|
23450
23448
|
className: t,
|
|
23451
23449
|
header: r = "",
|
|
23452
|
-
|
|
23453
|
-
|
|
23450
|
+
border: o,
|
|
23451
|
+
value: s = "",
|
|
23454
23452
|
copy: i = !0,
|
|
23455
|
-
copyValue: a
|
|
23453
|
+
copyValue: a
|
|
23456
23454
|
} = e;
|
|
23457
|
-
return /* @__PURE__ */ c.jsxs("div", { className: V(vS({ variant: n, border:
|
|
23458
|
-
/* @__PURE__ */ c.jsx("div", { className: "absolute -right-[8px] z-40 -top-2
|
|
23459
|
-
|
|
23460
|
-
|
|
23455
|
+
return /* @__PURE__ */ c.jsxs("div", { className: V(vS({ variant: n, border: o, copy: i }), t), children: [
|
|
23456
|
+
/* @__PURE__ */ c.jsx("div", { className: "absolute -right-[8px] z-40 -top-2 scale-[.60]", children: /* @__PURE__ */ c.jsx("div", { className: "opacity-0 group-hover:opacity-100 transition-all duration-75 delay-75", children: /* @__PURE__ */ c.jsx(
|
|
23457
|
+
Fd,
|
|
23458
|
+
{
|
|
23459
|
+
className: "rounded-none!",
|
|
23460
|
+
value: a || s || "",
|
|
23461
|
+
outline: !1
|
|
23462
|
+
}
|
|
23463
|
+
) }) }),
|
|
23464
|
+
/* @__PURE__ */ c.jsx("div", { className: "mr-[20px]", children: /* @__PURE__ */ c.jsx("p", { className: "select-none text-gray-500 text-[12px] font-aptos", children: r }) }),
|
|
23465
|
+
/* @__PURE__ */ c.jsx("div", { children: /* @__PURE__ */ c.jsx(En, { className: "font-Roboto text-xs font-semibold", children: s }) })
|
|
23461
23466
|
] });
|
|
23462
23467
|
}, bS = xe("text-gray-600", {
|
|
23463
23468
|
variants: {
|