@burdenoff/microfe-bigconsole 2026.1122.1 → 2026.1122.3
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/bigconsole/asof/AsOfProvider.d.ts +7 -0
- package/dist/bigconsole/asof/AsOfProvider.js +5 -2
- package/dist/bigconsole/asof/asOfParam.d.ts +5 -0
- package/dist/bigconsole/asof/asOfParam.js +7 -4
- package/dist/bigconsole/asof/index.d.ts +2 -2
- package/dist/bigconsole/asof/index.js +6 -6
- package/dist/bigconsole/asof/liveOnlySurfaces.d.ts +43 -0
- package/dist/bigconsole/components/dashboard/DashboardCanvas.js +133 -127
- package/dist/bigconsole/components/dashboard/DashboardToolbar.js +51 -51
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.d.ts +3 -1
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/FilterChip.js +34 -34
- package/dist/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.js +154 -145
- package/dist/bigconsole/components/dashboard/ShareDialog/ShareDialog.js +302 -294
- package/dist/bigconsole/components/widgets/WidgetWrapper.js +164 -163
- package/dist/bigconsole/pages/DashboardViewPage.js +15 -10
- package/package.json +1 -1
|
@@ -1,74 +1,77 @@
|
|
|
1
1
|
import { useDashboardStore as e, useGlobalFilterValues as t } from "../../../store/dashboardStore.js";
|
|
2
2
|
import "../../../hooks/index.js";
|
|
3
3
|
import { SECTION_FOCUS_RING as n } from "../../common/sectionStyles.js";
|
|
4
|
-
import { FilterChip as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
4
|
+
import { FilterChip as ee } from "./FilterChip.js";
|
|
5
|
+
import te from "../../../hooks/useGlobalFilters.js";
|
|
6
|
+
import r from "../../../hooks/useFilterUrlSync.js";
|
|
7
|
+
import i from "../../../hooks/useFilterPresets.js";
|
|
8
8
|
import "../../../store/index.js";
|
|
9
|
+
import { useIsPastView as ne } from "../../../asof/AsOfProvider.js";
|
|
10
|
+
import "../../../asof/index.js";
|
|
9
11
|
import { FilterEditor as a } from "./FilterEditor.js";
|
|
10
|
-
import { FilterPresetSelector as
|
|
11
|
-
import { SEMANTIC_COLORS as
|
|
12
|
+
import { FilterPresetSelector as re } from "./FilterPresetSelector.js";
|
|
13
|
+
import { SEMANTIC_COLORS as o } from "../../../utils/semanticTokens.js";
|
|
12
14
|
import "../../common/index.js";
|
|
13
|
-
import { useCallback as
|
|
14
|
-
import { useI18n as
|
|
15
|
-
import { jsx as
|
|
15
|
+
import { useCallback as s, useEffect as c, useState as l } from "react";
|
|
16
|
+
import { useI18n as ie } from "@burdenoff/fe-libs/shared/providers/shell/I18nProvider";
|
|
17
|
+
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
16
18
|
// src/bigconsole/components/dashboard/GlobalFiltersBar/GlobalFiltersBar.tsx
|
|
17
|
-
var
|
|
18
|
-
function
|
|
19
|
-
let { t:
|
|
20
|
-
|
|
21
|
-
let t = e.getState().globalFilterValues, n = Object.fromEntries(
|
|
22
|
-
Object.keys(n).length &&
|
|
19
|
+
var f = `inline-flex min-h-control-sm items-center gap-icon-gap rounded-button border border-[var(--color-border-subtle)] bg-bg-surface px-3 py-1 text-sm font-medium text-text-primary motion-safe:transition-colors hover:bg-bg-accentSubtle ${n}`, p = `inline-flex min-h-control-sm items-center gap-icon-gap rounded-button px-2 py-1 text-sm font-medium text-text-secondary motion-safe:transition-colors hover:bg-bg-accentSubtle ${n}`;
|
|
20
|
+
function m({ dashboardId: n, onFilterChange: m, collapsible: h = !0, className: g = "", enableUrlSync: _ = !0, enablePresets: v = !0 }) {
|
|
21
|
+
let { t: y } = ie(), { filters: b, loading: x, error: S, fetchFilters: C, createFilter: w, updateFilter: T, deleteFilter: E } = te(), D = t(), O = e((e) => e.setGlobalFilterValue), k = e((e) => e.setGlobalFilterValues), A = e((e) => e.clearGlobalFilterValue);
|
|
22
|
+
c(() => {
|
|
23
|
+
let t = e.getState().globalFilterValues, n = Object.fromEntries(b.filter((e) => e.defaultValue !== void 0 && !(e.id in t)).map((e) => [e.id, e.defaultValue]));
|
|
24
|
+
Object.keys(n).length && k({
|
|
23
25
|
...n,
|
|
24
26
|
...t
|
|
25
27
|
});
|
|
26
28
|
}, [
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
b,
|
|
30
|
+
D,
|
|
31
|
+
k
|
|
30
32
|
]);
|
|
31
|
-
let { getShareableUrl:
|
|
32
|
-
enabled:
|
|
33
|
+
let { getShareableUrl: j, clearUrlParams: M } = r({
|
|
34
|
+
enabled: _,
|
|
33
35
|
paramPrefix: "filter_",
|
|
34
36
|
debounceMs: 300
|
|
35
|
-
}), { presets:
|
|
36
|
-
|
|
37
|
-
n && (
|
|
37
|
+
}), { presets: N, activePresetId: P, loadPresets: F, applyPreset: I, saveCurrentAsPreset: L, deletePreset: R, clearActivePreset: z } = i(n), [B, ae] = l(!1), [V, H] = l(!1), [U, W] = l(null), [G, K] = l(!1);
|
|
38
|
+
c(() => {
|
|
39
|
+
n && (C(n), v && F(n));
|
|
38
40
|
}, [
|
|
39
41
|
n,
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
]),
|
|
44
|
-
|
|
45
|
-
}, [
|
|
46
|
-
if (
|
|
47
|
-
let e =
|
|
48
|
-
e && JSON.stringify(e.values) !== JSON.stringify(
|
|
42
|
+
C,
|
|
43
|
+
F,
|
|
44
|
+
v
|
|
45
|
+
]), c(() => {
|
|
46
|
+
m && m(e.getState().globalFilterValues);
|
|
47
|
+
}, [D, m]), c(() => {
|
|
48
|
+
if (P && Object.keys(D).length > 0) {
|
|
49
|
+
let e = N.find((e) => e.id === P);
|
|
50
|
+
e && JSON.stringify(e.values) !== JSON.stringify(D) && z();
|
|
49
51
|
}
|
|
50
52
|
}, [
|
|
51
|
-
|
|
52
|
-
F,
|
|
53
|
+
D,
|
|
53
54
|
P,
|
|
54
|
-
|
|
55
|
+
N,
|
|
56
|
+
z
|
|
55
57
|
]);
|
|
56
|
-
let
|
|
57
|
-
|
|
58
|
-
}, [
|
|
59
|
-
|
|
60
|
-
}, []),
|
|
61
|
-
|
|
62
|
-
}, []), X =
|
|
63
|
-
if (
|
|
64
|
-
|
|
65
|
-
|
|
58
|
+
let q = s((e, t) => {
|
|
59
|
+
O(e, t);
|
|
60
|
+
}, [O]), J = ne(), Y = s(() => {
|
|
61
|
+
J || (W(null), H(!0));
|
|
62
|
+
}, [J]), oe = s((e) => {
|
|
63
|
+
J || (W(e), H(!0));
|
|
64
|
+
}, [J]), X = s(async (e) => {
|
|
65
|
+
if (J) throw Error("Filters cannot be changed in a past view");
|
|
66
|
+
if (U) {
|
|
67
|
+
if (!await T({
|
|
68
|
+
id: U.id,
|
|
66
69
|
name: e.name,
|
|
67
70
|
config: e.config,
|
|
68
71
|
defaultValue: e.defaultValue,
|
|
69
72
|
isRequired: e.isRequired
|
|
70
73
|
})) throw Error("Filter save failed");
|
|
71
|
-
} else if (!await
|
|
74
|
+
} else if (!await w({
|
|
72
75
|
dashboardId: n,
|
|
73
76
|
name: e.name,
|
|
74
77
|
type: e.type,
|
|
@@ -76,128 +79,133 @@ function h({ dashboardId: n, onFilterChange: h, collapsible: g = !0, className:
|
|
|
76
79
|
defaultValue: e.defaultValue,
|
|
77
80
|
isRequired: e.isRequired
|
|
78
81
|
})) throw Error("Filter save failed");
|
|
79
|
-
|
|
82
|
+
H(!1), W(null);
|
|
80
83
|
}, [
|
|
81
84
|
n,
|
|
82
|
-
|
|
85
|
+
U,
|
|
86
|
+
w,
|
|
83
87
|
T,
|
|
84
|
-
|
|
85
|
-
]),
|
|
86
|
-
await
|
|
87
|
-
}, [D, j]), ae = c(() => {
|
|
88
|
-
A(Object.fromEntries(x.filter((e) => e.defaultValue !== void 0).map((e) => [e.id, e.defaultValue]))), N(), B();
|
|
88
|
+
J
|
|
89
|
+
]), se = s(async (e) => {
|
|
90
|
+
J || await E(e) && A(e);
|
|
89
91
|
}, [
|
|
90
|
-
|
|
92
|
+
E,
|
|
91
93
|
A,
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
J
|
|
95
|
+
]), ce = s(() => {
|
|
96
|
+
k(Object.fromEntries(b.filter((e) => e.defaultValue !== void 0).map((e) => [e.id, e.defaultValue]))), M(), z();
|
|
97
|
+
}, [
|
|
98
|
+
b,
|
|
99
|
+
k,
|
|
100
|
+
M,
|
|
101
|
+
z
|
|
102
|
+
]), Z = s(async () => {
|
|
103
|
+
let e = j();
|
|
96
104
|
try {
|
|
97
|
-
await navigator.clipboard.writeText(e),
|
|
105
|
+
await navigator.clipboard.writeText(e), K(!0), setTimeout(() => K(!1), 2e3);
|
|
98
106
|
} catch {}
|
|
99
|
-
}, [
|
|
100
|
-
|
|
101
|
-
}, [
|
|
102
|
-
|
|
103
|
-
}, [
|
|
104
|
-
|
|
105
|
-
}, [
|
|
106
|
-
|
|
107
|
-
}, []), Q =
|
|
108
|
-
if (
|
|
109
|
-
className: `flex flex-wrap items-center gap-control-gap border-b border-[var(--color-border-subtle)] bg-bg-sunken px-card-padding py-control-gap ${
|
|
107
|
+
}, [j]), le = s((e) => {
|
|
108
|
+
I(e);
|
|
109
|
+
}, [I]), ue = s((e, t) => {
|
|
110
|
+
L(e, t);
|
|
111
|
+
}, [L]), de = s((e) => {
|
|
112
|
+
R(e);
|
|
113
|
+
}, [R]), fe = s(() => {
|
|
114
|
+
ae((e) => !e);
|
|
115
|
+
}, []), Q = b.filter((e) => D[e.id] !== void 0 && D[e.id] !== null && D[e.id] !== "").length;
|
|
116
|
+
if (x && b.length === 0 && !V) return /* @__PURE__ */ d("div", {
|
|
117
|
+
className: `flex flex-wrap items-center gap-control-gap border-b border-[var(--color-border-subtle)] bg-bg-sunken px-card-padding py-control-gap ${g}`,
|
|
110
118
|
role: "status",
|
|
111
119
|
"aria-live": "polite",
|
|
112
120
|
"data-testid": "global-filters-loading",
|
|
113
|
-
children: [/* @__PURE__ */
|
|
121
|
+
children: [/* @__PURE__ */ u("span", { className: "h-icon-sm w-icon-sm animate-spin rounded-full border-2 border-action-primary-bg border-t-transparent" }), /* @__PURE__ */ u("span", {
|
|
114
122
|
className: "text-sm text-text-secondary",
|
|
115
|
-
children:
|
|
123
|
+
children: y("bigconsole.filters.bar.loading", "Loading filters...")
|
|
116
124
|
})]
|
|
117
125
|
});
|
|
118
|
-
let $ =
|
|
126
|
+
let $ = S && /* @__PURE__ */ d("div", {
|
|
119
127
|
role: "alert",
|
|
120
128
|
className: "flex flex-wrap items-center gap-2 px-3 py-2 text-sm text-status-error-text",
|
|
121
|
-
children: [/* @__PURE__ */
|
|
129
|
+
children: [/* @__PURE__ */ u("span", { children: y("bigconsole.filters.bar.requestFailed", "Filters could not be loaded or saved. Try again.") }), /* @__PURE__ */ u("button", {
|
|
122
130
|
type: "button",
|
|
123
|
-
onClick: () => void
|
|
124
|
-
className:
|
|
125
|
-
children:
|
|
131
|
+
onClick: () => void C(n),
|
|
132
|
+
className: p,
|
|
133
|
+
children: y("bigconsole.filters.bar.retry", "Retry")
|
|
126
134
|
})]
|
|
127
135
|
});
|
|
128
|
-
return
|
|
129
|
-
className: `flex flex-wrap items-center justify-between gap-control-gap border-b border-[var(--color-border-subtle)] bg-bg-sunken px-card-padding py-control-gap ${
|
|
136
|
+
return b.length === 0 ? /* @__PURE__ */ d("div", {
|
|
137
|
+
className: `flex flex-wrap items-center justify-between gap-control-gap border-b border-[var(--color-border-subtle)] bg-bg-sunken px-card-padding py-control-gap ${g}`,
|
|
130
138
|
"data-testid": "global-filters-empty",
|
|
131
139
|
children: [
|
|
132
|
-
/* @__PURE__ */
|
|
140
|
+
/* @__PURE__ */ d("div", {
|
|
133
141
|
className: "flex min-w-0 flex-wrap items-center gap-icon-gap",
|
|
134
|
-
children: [/* @__PURE__ */
|
|
142
|
+
children: [/* @__PURE__ */ u("h2", {
|
|
135
143
|
className: "text-sm font-semibold text-text-primary",
|
|
136
|
-
children:
|
|
137
|
-
}), /* @__PURE__ */
|
|
144
|
+
children: y("bigconsole.filters.bar.title", "Filters")
|
|
145
|
+
}), /* @__PURE__ */ u("span", {
|
|
138
146
|
className: "text-sm text-text-muted",
|
|
139
|
-
children:
|
|
147
|
+
children: y("bigconsole.filters.bar.noFiltersConfigured", "No filters configured")
|
|
140
148
|
})]
|
|
141
149
|
}),
|
|
142
|
-
/* @__PURE__ */
|
|
150
|
+
!J && /* @__PURE__ */ u("button", {
|
|
143
151
|
type: "button",
|
|
144
152
|
onClick: Y,
|
|
145
|
-
className:
|
|
146
|
-
children:
|
|
153
|
+
className: f,
|
|
154
|
+
children: y("bigconsole.filters.bar.addFilter", "+ Add Filter")
|
|
147
155
|
}),
|
|
148
156
|
$,
|
|
149
|
-
|
|
150
|
-
filter:
|
|
157
|
+
V && /* @__PURE__ */ u(a, {
|
|
158
|
+
filter: U,
|
|
151
159
|
dashboardId: n,
|
|
152
160
|
onSave: X,
|
|
153
161
|
onClose: () => {
|
|
154
|
-
|
|
162
|
+
H(!1), W(null);
|
|
155
163
|
}
|
|
156
164
|
})
|
|
157
165
|
]
|
|
158
|
-
}) : /* @__PURE__ */
|
|
159
|
-
className: `flex min-w-0 flex-col border-b border-[var(--color-border-subtle)] bg-bg-sunken ${
|
|
166
|
+
}) : /* @__PURE__ */ d("section", {
|
|
167
|
+
className: `flex min-w-0 flex-col border-b border-[var(--color-border-subtle)] bg-bg-sunken ${g}`,
|
|
160
168
|
"aria-labelledby": "global-filters-heading",
|
|
161
169
|
"data-testid": "global-filters-bar",
|
|
162
170
|
children: [
|
|
163
171
|
$,
|
|
164
|
-
/* @__PURE__ */
|
|
165
|
-
className: `flex flex-wrap items-center justify-between gap-control-gap px-card-padding py-control-gap ${
|
|
166
|
-
children: [/* @__PURE__ */
|
|
172
|
+
/* @__PURE__ */ d("div", {
|
|
173
|
+
className: `flex flex-wrap items-center justify-between gap-control-gap px-card-padding py-control-gap ${B ? "" : "border-b border-[var(--color-border-subtle)]"}`,
|
|
174
|
+
children: [/* @__PURE__ */ d("div", {
|
|
167
175
|
className: "flex min-w-0 flex-wrap items-center gap-icon-gap",
|
|
168
176
|
children: [
|
|
169
|
-
/* @__PURE__ */
|
|
177
|
+
/* @__PURE__ */ u("h2", {
|
|
170
178
|
id: "global-filters-heading",
|
|
171
179
|
className: "text-sm font-semibold text-text-primary",
|
|
172
|
-
children:
|
|
180
|
+
children: y("bigconsole.filters.bar.title", "Filters")
|
|
173
181
|
}),
|
|
174
|
-
/* @__PURE__ */
|
|
182
|
+
/* @__PURE__ */ u("span", {
|
|
175
183
|
className: "rounded-pill bg-bg-surface px-2 py-0.5 text-xs font-medium text-text-secondary",
|
|
176
|
-
children:
|
|
184
|
+
children: b.length
|
|
177
185
|
}),
|
|
178
|
-
Q > 0 && /* @__PURE__ */
|
|
186
|
+
Q > 0 && /* @__PURE__ */ u("span", {
|
|
179
187
|
className: "rounded-pill bg-[var(--color-status-success-bgSubtle)] px-2 py-0.5 text-xs font-medium text-status-success-text",
|
|
180
|
-
children:
|
|
188
|
+
children: y("bigconsole.filters.bar.activeCount", "{{count}} active", { count: Q ?? "" })
|
|
181
189
|
})
|
|
182
190
|
]
|
|
183
|
-
}), /* @__PURE__ */
|
|
191
|
+
}), /* @__PURE__ */ d("div", {
|
|
184
192
|
className: "flex min-w-0 flex-wrap items-center justify-end gap-control-gap",
|
|
185
193
|
children: [
|
|
186
|
-
|
|
187
|
-
presets:
|
|
188
|
-
activePresetId:
|
|
189
|
-
onApplyPreset:
|
|
190
|
-
onSavePreset:
|
|
191
|
-
onDeletePreset:
|
|
194
|
+
v && /* @__PURE__ */ u(re, {
|
|
195
|
+
presets: N,
|
|
196
|
+
activePresetId: P,
|
|
197
|
+
onApplyPreset: le,
|
|
198
|
+
onSavePreset: ue,
|
|
199
|
+
onDeletePreset: de
|
|
192
200
|
}),
|
|
193
|
-
|
|
201
|
+
_ && Q > 0 && /* @__PURE__ */ d("div", {
|
|
194
202
|
style: { position: "relative" },
|
|
195
|
-
children: [/* @__PURE__ */
|
|
203
|
+
children: [/* @__PURE__ */ d("button", {
|
|
196
204
|
type: "button",
|
|
197
|
-
onClick:
|
|
198
|
-
title:
|
|
199
|
-
className:
|
|
200
|
-
children: [/* @__PURE__ */
|
|
205
|
+
onClick: Z,
|
|
206
|
+
title: y("bigconsole.filters.bar.shareUrlTitle", "Copy shareable URL with filters"),
|
|
207
|
+
className: f,
|
|
208
|
+
children: [/* @__PURE__ */ d("svg", {
|
|
201
209
|
width: "14",
|
|
202
210
|
height: "14",
|
|
203
211
|
viewBox: "0 0 24 24",
|
|
@@ -205,17 +213,17 @@ function h({ dashboardId: n, onFilterChange: h, collapsible: g = !0, className:
|
|
|
205
213
|
stroke: "currentColor",
|
|
206
214
|
strokeWidth: "2",
|
|
207
215
|
children: [
|
|
208
|
-
/* @__PURE__ */
|
|
209
|
-
/* @__PURE__ */
|
|
210
|
-
/* @__PURE__ */
|
|
216
|
+
/* @__PURE__ */ u("path", { d: "M4 12v8a2 2 0 002 2h12a2 2 0 002-2v-8" }),
|
|
217
|
+
/* @__PURE__ */ u("polyline", { points: "16,6 12,2 8,6" }),
|
|
218
|
+
/* @__PURE__ */ u("line", {
|
|
211
219
|
x1: "12",
|
|
212
220
|
y1: "2",
|
|
213
221
|
x2: "12",
|
|
214
222
|
y2: "15"
|
|
215
223
|
})
|
|
216
224
|
]
|
|
217
|
-
}),
|
|
218
|
-
}),
|
|
225
|
+
}), y("bigconsole.filters.bar.share", "Share")]
|
|
226
|
+
}), G && /* @__PURE__ */ u("div", {
|
|
219
227
|
style: {
|
|
220
228
|
position: "absolute",
|
|
221
229
|
top: "100%",
|
|
@@ -223,60 +231,61 @@ function h({ dashboardId: n, onFilterChange: h, collapsible: g = !0, className:
|
|
|
223
231
|
transform: "translateX(-50%)",
|
|
224
232
|
marginTop: "4px",
|
|
225
233
|
padding: "6px 12px",
|
|
226
|
-
backgroundColor:
|
|
227
|
-
color:
|
|
234
|
+
backgroundColor: o.textPrimary,
|
|
235
|
+
color: o.bgPrimary,
|
|
228
236
|
fontSize: "12px",
|
|
229
237
|
borderRadius: "4px",
|
|
230
238
|
whiteSpace: "nowrap",
|
|
231
239
|
zIndex: 100001
|
|
232
240
|
},
|
|
233
|
-
children:
|
|
241
|
+
children: y("bigconsole.filters.bar.urlCopied", "URL copied!")
|
|
234
242
|
})]
|
|
235
243
|
}),
|
|
236
|
-
Q > 0 && /* @__PURE__ */
|
|
244
|
+
Q > 0 && /* @__PURE__ */ u("button", {
|
|
237
245
|
type: "button",
|
|
238
|
-
onClick:
|
|
239
|
-
className: `${
|
|
240
|
-
children:
|
|
246
|
+
onClick: ce,
|
|
247
|
+
className: `${p} text-status-error-text`,
|
|
248
|
+
children: y("bigconsole.filters.bar.resetAll", "Reset all")
|
|
241
249
|
}),
|
|
242
|
-
/* @__PURE__ */
|
|
250
|
+
!J && /* @__PURE__ */ u("button", {
|
|
243
251
|
type: "button",
|
|
244
252
|
onClick: Y,
|
|
245
|
-
className:
|
|
246
|
-
children:
|
|
253
|
+
className: f,
|
|
254
|
+
children: y("bigconsole.filters.bar.addFilter", "+ Add Filter")
|
|
247
255
|
}),
|
|
248
|
-
|
|
256
|
+
h && /* @__PURE__ */ u("button", {
|
|
249
257
|
type: "button",
|
|
250
|
-
onClick:
|
|
251
|
-
"aria-expanded": !
|
|
252
|
-
"aria-controls":
|
|
253
|
-
className:
|
|
254
|
-
children:
|
|
258
|
+
onClick: fe,
|
|
259
|
+
"aria-expanded": !B,
|
|
260
|
+
"aria-controls": B ? void 0 : "global-filters-chips",
|
|
261
|
+
className: p,
|
|
262
|
+
children: B ? y("bigconsole.filters.bar.expand", "▼ Expand") : y("bigconsole.filters.bar.collapse", "▲ Collapse")
|
|
255
263
|
})
|
|
256
264
|
]
|
|
257
265
|
})]
|
|
258
266
|
}),
|
|
259
|
-
!
|
|
267
|
+
!B && /* @__PURE__ */ u("div", {
|
|
260
268
|
id: "global-filters-chips",
|
|
261
269
|
className: "relative flex flex-wrap gap-control-gap px-card-padding py-control-gap",
|
|
262
270
|
style: { overflow: "visible" },
|
|
263
|
-
children:
|
|
271
|
+
children: b.map((e) => /* @__PURE__ */ u(ee, {
|
|
264
272
|
filter: e,
|
|
265
|
-
value:
|
|
266
|
-
onChange: (t) =>
|
|
267
|
-
onEdit: () =>
|
|
268
|
-
onDelete: () =>
|
|
273
|
+
value: D[e.id],
|
|
274
|
+
onChange: (t) => q(e.id, t),
|
|
275
|
+
onEdit: () => oe(e),
|
|
276
|
+
onDelete: () => se(e.id),
|
|
277
|
+
readOnly: J
|
|
269
278
|
}, e.id))
|
|
270
279
|
}),
|
|
271
|
-
|
|
272
|
-
filter:
|
|
280
|
+
V && /* @__PURE__ */ u(a, {
|
|
281
|
+
filter: U,
|
|
273
282
|
dashboardId: n,
|
|
274
283
|
onSave: X,
|
|
275
284
|
onClose: () => {
|
|
276
|
-
|
|
285
|
+
H(!1), W(null);
|
|
277
286
|
}
|
|
278
287
|
})
|
|
279
288
|
]
|
|
280
289
|
});
|
|
281
290
|
}
|
|
282
|
-
export {
|
|
291
|
+
export { m as GlobalFiltersBar, m as default };
|