@cjlapao/ui-kit 0.2.30 → 0.2.31
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/index.cjs +108 -50
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +12 -0
- package/dist/index.d.cts +17 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.js +107 -50
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -102,6 +102,7 @@ __export(src_exports, {
|
|
|
102
102
|
ConnectionFlowNodeBody: () => ConnectionFlowNodeBody_default,
|
|
103
103
|
ConnectionFlowSkeleton: () => ConnectionFlowSkeleton_default,
|
|
104
104
|
ConnectionFlowSvg: () => ConnectionFlowSvg_default,
|
|
105
|
+
ContentActions: () => ContentActions_default,
|
|
105
106
|
CustomIcon: () => CustomIcon_default,
|
|
106
107
|
DATEPICKER_APPEND_TO: () => DATEPICKER_APPEND_TO,
|
|
107
108
|
DATEPICKER_SELECTION_MODES: () => DATEPICKER_SELECTION_MODES,
|
|
@@ -78695,11 +78696,67 @@ function KnowledgeExplorer({
|
|
|
78695
78696
|
] });
|
|
78696
78697
|
}
|
|
78697
78698
|
|
|
78699
|
+
// src/components/ContentActions.tsx
|
|
78700
|
+
var import_classnames148 = __toESM(require("classnames"), 1);
|
|
78701
|
+
|
|
78702
|
+
// ../common/components/contentActions.ts
|
|
78703
|
+
var CONTENT_ACTIONS_GAPS = {
|
|
78704
|
+
xs: "gap-1",
|
|
78705
|
+
sm: "gap-2",
|
|
78706
|
+
md: "gap-3",
|
|
78707
|
+
lg: "gap-4",
|
|
78708
|
+
xl: "gap-6"
|
|
78709
|
+
};
|
|
78710
|
+
var CONTENT_ACTIONS_ALIGN = {
|
|
78711
|
+
start: "items-start",
|
|
78712
|
+
center: "items-center",
|
|
78713
|
+
end: "items-end"
|
|
78714
|
+
};
|
|
78715
|
+
|
|
78716
|
+
// src/components/ContentActions.tsx
|
|
78717
|
+
var import_jsx_runtime357 = require("react/jsx-runtime");
|
|
78718
|
+
function ContentActions({
|
|
78719
|
+
children,
|
|
78720
|
+
actions,
|
|
78721
|
+
gap = "md",
|
|
78722
|
+
align = "start",
|
|
78723
|
+
contentClassName,
|
|
78724
|
+
actionsClassName,
|
|
78725
|
+
className,
|
|
78726
|
+
...rest
|
|
78727
|
+
}) {
|
|
78728
|
+
const hasActions = actions != null && typeof actions !== "boolean";
|
|
78729
|
+
return /* @__PURE__ */ (0, import_jsx_runtime357.jsxs)(
|
|
78730
|
+
"div",
|
|
78731
|
+
{
|
|
78732
|
+
...rest,
|
|
78733
|
+
"data-slot": "content-actions",
|
|
78734
|
+
className: (0, import_classnames148.default)("flex min-w-0 flex-nowrap", CONTENT_ACTIONS_ALIGN[align], CONTENT_ACTIONS_GAPS[gap], className),
|
|
78735
|
+
children: [
|
|
78736
|
+
/* @__PURE__ */ (0, import_jsx_runtime357.jsx)("div", { "data-slot": "content-actions-content", className: (0, import_classnames148.default)("min-w-0 flex-1", contentClassName), children }),
|
|
78737
|
+
hasActions && /* @__PURE__ */ (0, import_jsx_runtime357.jsx)(
|
|
78738
|
+
"div",
|
|
78739
|
+
{
|
|
78740
|
+
"data-slot": "content-actions-actions",
|
|
78741
|
+
className: (0, import_classnames148.default)(
|
|
78742
|
+
"flex min-w-0 flex-initial flex-nowrap items-center overflow-x-auto [&>*]:shrink-0",
|
|
78743
|
+
CONTENT_ACTIONS_GAPS[gap],
|
|
78744
|
+
actionsClassName
|
|
78745
|
+
),
|
|
78746
|
+
children: actions
|
|
78747
|
+
}
|
|
78748
|
+
)
|
|
78749
|
+
]
|
|
78750
|
+
}
|
|
78751
|
+
);
|
|
78752
|
+
}
|
|
78753
|
+
var ContentActions_default = ContentActions;
|
|
78754
|
+
|
|
78698
78755
|
// src/contexts/BottomSheetContext.tsx
|
|
78699
78756
|
var import_react330 = require("react");
|
|
78700
78757
|
var import_react_dom21 = require("react-dom");
|
|
78701
|
-
var
|
|
78702
|
-
var
|
|
78758
|
+
var import_classnames149 = __toESM(require("classnames"), 1);
|
|
78759
|
+
var import_jsx_runtime358 = require("react/jsx-runtime");
|
|
78703
78760
|
var BottomSheetContext = (0, import_react330.createContext)(null);
|
|
78704
78761
|
var TRANSITION_MS2 = 260;
|
|
78705
78762
|
var renderSlot = (slot, controls) => {
|
|
@@ -78769,11 +78826,11 @@ var BottomSheetProvider = ({
|
|
|
78769
78826
|
[presentSheet, dismissSheet, sheet, isVisible]
|
|
78770
78827
|
);
|
|
78771
78828
|
const overlayNode = typeof document !== "undefined" && sheet ? (0, import_react_dom21.createPortal)(
|
|
78772
|
-
/* @__PURE__ */ (0,
|
|
78773
|
-
/* @__PURE__ */ (0,
|
|
78829
|
+
/* @__PURE__ */ (0, import_jsx_runtime358.jsxs)("div", { className: "pointer-events-none fixed inset-0 z-[70] flex items-end justify-center", children: [
|
|
78830
|
+
/* @__PURE__ */ (0, import_jsx_runtime358.jsx)(
|
|
78774
78831
|
"div",
|
|
78775
78832
|
{
|
|
78776
|
-
className: (0,
|
|
78833
|
+
className: (0, import_classnames149.default)(
|
|
78777
78834
|
"absolute inset-0 bg-neutral-900/40 transition-opacity duration-300",
|
|
78778
78835
|
isVisible ? "opacity-100 pointer-events-auto" : "opacity-0"
|
|
78779
78836
|
),
|
|
@@ -78783,24 +78840,24 @@ var BottomSheetProvider = ({
|
|
|
78783
78840
|
}
|
|
78784
78841
|
}
|
|
78785
78842
|
),
|
|
78786
|
-
/* @__PURE__ */ (0,
|
|
78843
|
+
/* @__PURE__ */ (0, import_jsx_runtime358.jsx)("div", { className: "relative w-full max-w-4xl px-4 pb-4 sm:px-8", children: /* @__PURE__ */ (0, import_jsx_runtime358.jsxs)(
|
|
78787
78844
|
"section",
|
|
78788
78845
|
{
|
|
78789
78846
|
role: "dialog",
|
|
78790
78847
|
"aria-modal": "true",
|
|
78791
|
-
className: (0,
|
|
78848
|
+
className: (0, import_classnames149.default)(
|
|
78792
78849
|
"pointer-events-auto ml-auto flex w-full flex-col rounded-t-3xl border border-slate-200 bg-white shadow-2xl transition-transform duration-300 dark:border-slate-700 dark:bg-slate-900",
|
|
78793
78850
|
sheet.className,
|
|
78794
78851
|
isVisible ? "translate-y-0" : "translate-y-full"
|
|
78795
78852
|
),
|
|
78796
78853
|
style: { minHeight: "25vh", maxHeight: "85vh" },
|
|
78797
78854
|
children: [
|
|
78798
|
-
/* @__PURE__ */ (0,
|
|
78799
|
-
/* @__PURE__ */ (0,
|
|
78800
|
-
sheet.title && /* @__PURE__ */ (0,
|
|
78801
|
-
sheet.description && /* @__PURE__ */ (0,
|
|
78855
|
+
/* @__PURE__ */ (0, import_jsx_runtime358.jsxs)("header", { className: "flex items-start justify-between gap-3 border-b border-slate-200 px-6 py-4 dark:border-slate-800", children: [
|
|
78856
|
+
/* @__PURE__ */ (0, import_jsx_runtime358.jsxs)("div", { className: "space-y-1", children: [
|
|
78857
|
+
sheet.title && /* @__PURE__ */ (0, import_jsx_runtime358.jsx)("div", { className: "text-base font-semibold text-slate-900 dark:text-slate-100", children: sheet.title }),
|
|
78858
|
+
sheet.description && /* @__PURE__ */ (0, import_jsx_runtime358.jsx)("p", { className: "text-sm text-slate-500 dark:text-slate-300", children: sheet.description })
|
|
78802
78859
|
] }),
|
|
78803
|
-
(sheet.showCloseButton ?? true) && /* @__PURE__ */ (0,
|
|
78860
|
+
(sheet.showCloseButton ?? true) && /* @__PURE__ */ (0, import_jsx_runtime358.jsx)(
|
|
78804
78861
|
IconButton_default,
|
|
78805
78862
|
{
|
|
78806
78863
|
icon: "Close",
|
|
@@ -78812,15 +78869,15 @@ var BottomSheetProvider = ({
|
|
|
78812
78869
|
}
|
|
78813
78870
|
)
|
|
78814
78871
|
] }),
|
|
78815
|
-
/* @__PURE__ */ (0,
|
|
78816
|
-
sheet.actions && /* @__PURE__ */ (0,
|
|
78872
|
+
/* @__PURE__ */ (0, import_jsx_runtime358.jsx)("div", { className: "flex-1 overflow-y-auto px-6 py-4", children: renderSlot(sheet.content, controls) ?? /* @__PURE__ */ (0, import_jsx_runtime358.jsx)("p", { className: "text-sm text-slate-500", children: "No content provided." }) }),
|
|
78873
|
+
sheet.actions && /* @__PURE__ */ (0, import_jsx_runtime358.jsx)("div", { className: "flex flex-wrap items-center justify-end gap-3 border-t border-slate-200 px-6 py-4 dark:border-slate-800", children: renderSlot(sheet.actions, controls) })
|
|
78817
78874
|
]
|
|
78818
78875
|
}
|
|
78819
78876
|
) })
|
|
78820
78877
|
] }),
|
|
78821
78878
|
document.body
|
|
78822
78879
|
) : null;
|
|
78823
|
-
return /* @__PURE__ */ (0,
|
|
78880
|
+
return /* @__PURE__ */ (0, import_jsx_runtime358.jsxs)(BottomSheetContext.Provider, { value: contextValue, children: [
|
|
78824
78881
|
children,
|
|
78825
78882
|
overlayNode
|
|
78826
78883
|
] });
|
|
@@ -79460,8 +79517,8 @@ var SYSTEM_VARIABLES = [
|
|
|
79460
79517
|
];
|
|
79461
79518
|
|
|
79462
79519
|
// src/components/MetricBar.tsx
|
|
79463
|
-
var
|
|
79464
|
-
var
|
|
79520
|
+
var import_classnames150 = __toESM(require("classnames"), 1);
|
|
79521
|
+
var import_jsx_runtime359 = require("react/jsx-runtime");
|
|
79465
79522
|
var MetricBar = ({
|
|
79466
79523
|
label,
|
|
79467
79524
|
value,
|
|
@@ -79471,7 +79528,7 @@ var MetricBar = ({
|
|
|
79471
79528
|
size = "sm",
|
|
79472
79529
|
className,
|
|
79473
79530
|
...rest
|
|
79474
|
-
}) => /* @__PURE__ */ (0,
|
|
79531
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime359.jsx)(
|
|
79475
79532
|
Progress_default,
|
|
79476
79533
|
{
|
|
79477
79534
|
...rest,
|
|
@@ -79481,7 +79538,7 @@ var MetricBar = ({
|
|
|
79481
79538
|
formatValue: value !== void 0 ? () => String(value) : void 0,
|
|
79482
79539
|
size,
|
|
79483
79540
|
color: tone ?? color2 ?? "blue",
|
|
79484
|
-
className: (0,
|
|
79541
|
+
className: (0, import_classnames150.default)("w-full", className)
|
|
79485
79542
|
}
|
|
79486
79543
|
);
|
|
79487
79544
|
MetricBar.displayName = "MetricBar";
|
|
@@ -79841,7 +79898,7 @@ function useNetworkCanvas(options) {
|
|
|
79841
79898
|
}
|
|
79842
79899
|
|
|
79843
79900
|
// src/components/NetworkGraph/NetworkGraph.tsx
|
|
79844
|
-
var
|
|
79901
|
+
var import_jsx_runtime360 = require("react/jsx-runtime");
|
|
79845
79902
|
var NO_COMMUNITIES = [];
|
|
79846
79903
|
var NO_HIGHLIGHTS = [];
|
|
79847
79904
|
function NetworkGraph({
|
|
@@ -80007,7 +80064,7 @@ function NetworkGraph({
|
|
|
80007
80064
|
}, [visibleNodes, query]);
|
|
80008
80065
|
const graphHeight = Number.isFinite(height) ? Math.max(160, height) : 480;
|
|
80009
80066
|
const resolvedLegendTone = legendTone === "auto" ? tone : legendTone;
|
|
80010
|
-
const legendContent = /* @__PURE__ */ (0,
|
|
80067
|
+
const legendContent = /* @__PURE__ */ (0, import_jsx_runtime360.jsxs)(
|
|
80011
80068
|
"fieldset",
|
|
80012
80069
|
{
|
|
80013
80070
|
disabled: locked,
|
|
@@ -80016,8 +80073,8 @@ function NetworkGraph({
|
|
|
80016
80073
|
maxHeight: legendPanel ? Math.max(96, graphHeight - 64) : graphHeight
|
|
80017
80074
|
},
|
|
80018
80075
|
children: [
|
|
80019
|
-
/* @__PURE__ */ (0,
|
|
80020
|
-
/* @__PURE__ */ (0,
|
|
80076
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)("legend", { className: "mb-3 text-xs font-semibold uppercase tracking-widest", children: t("kit.networkGraph.communities") }),
|
|
80077
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80021
80078
|
Checkbox_default,
|
|
80022
80079
|
{
|
|
80023
80080
|
size: "sm",
|
|
@@ -80028,8 +80085,8 @@ function NetworkGraph({
|
|
|
80028
80085
|
onChange: (event) => filter(event.target.checked ? model.groups.map((g) => g.id) : [])
|
|
80029
80086
|
}
|
|
80030
80087
|
),
|
|
80031
|
-
model.groups.map((group) => /* @__PURE__ */ (0,
|
|
80032
|
-
/* @__PURE__ */ (0,
|
|
80088
|
+
model.groups.map((group) => /* @__PURE__ */ (0, import_jsx_runtime360.jsxs)("div", { className: "flex items-center justify-between gap-2", children: [
|
|
80089
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80033
80090
|
Checkbox_default,
|
|
80034
80091
|
{
|
|
80035
80092
|
size: "sm",
|
|
@@ -80041,12 +80098,12 @@ function NetworkGraph({
|
|
|
80041
80098
|
)
|
|
80042
80099
|
}
|
|
80043
80100
|
),
|
|
80044
|
-
/* @__PURE__ */ (0,
|
|
80101
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)("span", { className: "text-xs tabular-nums opacity-60", children: counts.get(group.id) ?? 0 })
|
|
80045
80102
|
] }, group.id))
|
|
80046
80103
|
]
|
|
80047
80104
|
}
|
|
80048
80105
|
);
|
|
80049
|
-
return /* @__PURE__ */ (0,
|
|
80106
|
+
return /* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80050
80107
|
Panel_default,
|
|
80051
80108
|
{
|
|
80052
80109
|
...panelProps,
|
|
@@ -80057,7 +80114,7 @@ function NetworkGraph({
|
|
|
80057
80114
|
loading,
|
|
80058
80115
|
clickable: false,
|
|
80059
80116
|
scrollable: false,
|
|
80060
|
-
children: /* @__PURE__ */ (0,
|
|
80117
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime360.jsxs)(
|
|
80061
80118
|
"div",
|
|
80062
80119
|
{
|
|
80063
80120
|
className: "flex min-w-0 flex-col gap-3",
|
|
@@ -80065,7 +80122,7 @@ function NetworkGraph({
|
|
|
80065
80122
|
"aria-label": ariaLabel ?? t("kit.networkGraph.name"),
|
|
80066
80123
|
"aria-disabled": locked || void 0,
|
|
80067
80124
|
children: [
|
|
80068
|
-
showControls && /* @__PURE__ */ (0,
|
|
80125
|
+
showControls && /* @__PURE__ */ (0, import_jsx_runtime360.jsx)("div", { className: "flex flex-wrap items-center gap-2", children: /* @__PURE__ */ (0, import_jsx_runtime360.jsx)("div", { className: "min-w-40 flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80069
80126
|
Combobox_default,
|
|
80070
80127
|
{
|
|
80071
80128
|
size: "sm",
|
|
@@ -80087,7 +80144,7 @@ function NetworkGraph({
|
|
|
80087
80144
|
}
|
|
80088
80145
|
}
|
|
80089
80146
|
) }) }),
|
|
80090
|
-
/* @__PURE__ */ (0,
|
|
80147
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsxs)(
|
|
80091
80148
|
"div",
|
|
80092
80149
|
{
|
|
80093
80150
|
ref: layoutRef,
|
|
@@ -80095,13 +80152,13 @@ function NetworkGraph({
|
|
|
80095
80152
|
style: { flexDirection: legendOnRight ? "row" : "column" },
|
|
80096
80153
|
"data-legend-position": legendOnRight ? "right" : "bottom",
|
|
80097
80154
|
children: [
|
|
80098
|
-
/* @__PURE__ */ (0,
|
|
80155
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsxs)(
|
|
80099
80156
|
"div",
|
|
80100
80157
|
{
|
|
80101
80158
|
className: "relative min-w-0 flex-1",
|
|
80102
80159
|
style: { height: graphHeight, minHeight: graphHeight },
|
|
80103
80160
|
children: [
|
|
80104
|
-
/* @__PURE__ */ (0,
|
|
80161
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80105
80162
|
"canvas",
|
|
80106
80163
|
{
|
|
80107
80164
|
ref: canvas.canvasRef,
|
|
@@ -80170,11 +80227,11 @@ function NetworkGraph({
|
|
|
80170
80227
|
}
|
|
80171
80228
|
}
|
|
80172
80229
|
),
|
|
80173
|
-
showControls && /* @__PURE__ */ (0,
|
|
80174
|
-
/* @__PURE__ */ (0,
|
|
80230
|
+
showControls && /* @__PURE__ */ (0, import_jsx_runtime360.jsxs)("div", { className: "absolute bottom-3 right-3 z-10 flex items-center gap-0.5 rounded-lg border border-neutral-200 bg-white/90 p-1 shadow-sm backdrop-blur dark:border-neutral-700 dark:bg-neutral-900/90", children: [
|
|
80231
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80175
80232
|
IconButton_default,
|
|
80176
80233
|
{
|
|
80177
|
-
icon: /* @__PURE__ */ (0,
|
|
80234
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime360.jsxs)(
|
|
80178
80235
|
"svg",
|
|
80179
80236
|
{
|
|
80180
80237
|
viewBox: "0 0 24 24",
|
|
@@ -80185,10 +80242,10 @@ function NetworkGraph({
|
|
|
80185
80242
|
strokeLinejoin: "round",
|
|
80186
80243
|
"aria-hidden": "true",
|
|
80187
80244
|
children: [
|
|
80188
|
-
/* @__PURE__ */ (0,
|
|
80189
|
-
/* @__PURE__ */ (0,
|
|
80190
|
-
/* @__PURE__ */ (0,
|
|
80191
|
-
/* @__PURE__ */ (0,
|
|
80245
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)("path", { d: "M4 9V5a1 1 0 0 1 1-1h4" }),
|
|
80246
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)("path", { d: "M15 4h4a1 1 0 0 1 1 1v4" }),
|
|
80247
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)("path", { d: "M20 15v4a1 1 0 0 1-1 1h-4" }),
|
|
80248
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)("path", { d: "M9 20H5a1 1 0 0 1-1-1v-4" })
|
|
80192
80249
|
]
|
|
80193
80250
|
}
|
|
80194
80251
|
),
|
|
@@ -80201,10 +80258,10 @@ function NetworkGraph({
|
|
|
80201
80258
|
onClick: canvas.fit
|
|
80202
80259
|
}
|
|
80203
80260
|
),
|
|
80204
|
-
/* @__PURE__ */ (0,
|
|
80261
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80205
80262
|
IconButton_default,
|
|
80206
80263
|
{
|
|
80207
|
-
icon: /* @__PURE__ */ (0,
|
|
80264
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80208
80265
|
"svg",
|
|
80209
80266
|
{
|
|
80210
80267
|
viewBox: "0 0 24 24",
|
|
@@ -80213,7 +80270,7 @@ function NetworkGraph({
|
|
|
80213
80270
|
strokeWidth: 2,
|
|
80214
80271
|
strokeLinecap: "round",
|
|
80215
80272
|
"aria-hidden": "true",
|
|
80216
|
-
children: /* @__PURE__ */ (0,
|
|
80273
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime360.jsx)("path", { d: "M6 12h12" })
|
|
80217
80274
|
}
|
|
80218
80275
|
),
|
|
80219
80276
|
size: "xs",
|
|
@@ -80225,7 +80282,7 @@ function NetworkGraph({
|
|
|
80225
80282
|
onClick: () => canvas.zoomBy(0.8)
|
|
80226
80283
|
}
|
|
80227
80284
|
),
|
|
80228
|
-
/* @__PURE__ */ (0,
|
|
80285
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsxs)(
|
|
80229
80286
|
"span",
|
|
80230
80287
|
{
|
|
80231
80288
|
className: "min-w-[3.5ch] px-1 text-center text-[11px] tabular-nums text-neutral-500 dark:text-neutral-400",
|
|
@@ -80236,7 +80293,7 @@ function NetworkGraph({
|
|
|
80236
80293
|
]
|
|
80237
80294
|
}
|
|
80238
80295
|
),
|
|
80239
|
-
/* @__PURE__ */ (0,
|
|
80296
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80240
80297
|
IconButton_default,
|
|
80241
80298
|
{
|
|
80242
80299
|
icon: "Add",
|
|
@@ -80249,7 +80306,7 @@ function NetworkGraph({
|
|
|
80249
80306
|
onClick: () => canvas.zoomBy(1.25)
|
|
80250
80307
|
}
|
|
80251
80308
|
),
|
|
80252
|
-
/* @__PURE__ */ (0,
|
|
80309
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80253
80310
|
IconButton_default,
|
|
80254
80311
|
{
|
|
80255
80312
|
icon: "Reset",
|
|
@@ -80267,18 +80324,18 @@ function NetworkGraph({
|
|
|
80267
80324
|
}
|
|
80268
80325
|
)
|
|
80269
80326
|
] }),
|
|
80270
|
-
!visibleNodes.length && /* @__PURE__ */ (0,
|
|
80327
|
+
!visibleNodes.length && /* @__PURE__ */ (0, import_jsx_runtime360.jsx)("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center text-sm", children: emptyMessage ?? t("kit.networkGraph.empty") })
|
|
80271
80328
|
]
|
|
80272
80329
|
}
|
|
80273
80330
|
),
|
|
80274
|
-
showCommunities && model.groups.length > 0 && /* @__PURE__ */ (0,
|
|
80331
|
+
showCommunities && model.groups.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80275
80332
|
"div",
|
|
80276
80333
|
{
|
|
80277
80334
|
className: "min-w-0 shrink-0",
|
|
80278
80335
|
style: {
|
|
80279
80336
|
width: legendOnRight ? legendPanel ? 224 : 192 : "100%"
|
|
80280
80337
|
},
|
|
80281
|
-
children: legendPanel ? /* @__PURE__ */ (0,
|
|
80338
|
+
children: legendPanel ? /* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80282
80339
|
Panel_default,
|
|
80283
80340
|
{
|
|
80284
80341
|
variant: legendVariant === "auto" ? variant : legendVariant,
|
|
@@ -80297,8 +80354,8 @@ function NetworkGraph({
|
|
|
80297
80354
|
]
|
|
80298
80355
|
}
|
|
80299
80356
|
),
|
|
80300
|
-
/* @__PURE__ */ (0,
|
|
80301
|
-
/* @__PURE__ */ (0,
|
|
80357
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)("p", { id: helpId, className: "text-xs opacity-70", children: t("kit.networkGraph.instructions") }),
|
|
80358
|
+
/* @__PURE__ */ (0, import_jsx_runtime360.jsx)(
|
|
80302
80359
|
"p",
|
|
80303
80360
|
{
|
|
80304
80361
|
role: "status",
|
|
@@ -80394,6 +80451,7 @@ function NetworkGraph({
|
|
|
80394
80451
|
ConnectionFlowNodeBody,
|
|
80395
80452
|
ConnectionFlowSkeleton,
|
|
80396
80453
|
ConnectionFlowSvg,
|
|
80454
|
+
ContentActions,
|
|
80397
80455
|
CustomIcon,
|
|
80398
80456
|
DATEPICKER_APPEND_TO,
|
|
80399
80457
|
DATEPICKER_SELECTION_MODES,
|