impact-nova 1.7.21 → 1.7.23
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/components/ui/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +143 -112
- package/dist/components/ui/nested-list/hooks/useNestedListDragDrop.js +93 -95
- package/dist/components/ui/nested-list/nested-list.js +204 -190
- package/dist/i18n/defaultMessages.d.ts +1 -0
- package/dist/i18n/defaultMessages.js +6 -5
- package/dist/i18n/locales/de.js +2 -1
- package/dist/i18n/locales/es.js +2 -1
- package/dist/i18n/locales/hi.js +2 -1
- package/dist/i18n/locales/kn.js +2 -1
- package/dist/impact-nova.css +1 -1
- package/dist/llms/rules/real-world-patterns.js +1 -1
- package/package.json +1 -1
|
@@ -1,191 +1,205 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import re, { useMemo as
|
|
1
|
+
import { jsx as v, jsxs as se } from "react/jsx-runtime";
|
|
2
|
+
import re, { useMemo as w, useCallback as A } from "react";
|
|
3
3
|
import { SortableItem as He } from "./components/SortableItem.js";
|
|
4
|
-
import { SelectionMode as
|
|
5
|
-
import { useNestedListDragDrop as
|
|
6
|
-
import { useNestedListSelectAll as
|
|
7
|
-
import { useNestedListState as
|
|
8
|
-
import { useNestedListHandlers as
|
|
4
|
+
import { SelectionMode as V } from "../types/nested-list.types.js";
|
|
5
|
+
import { useNestedListDragDrop as Je } from "./hooks/useNestedListDragDrop.js";
|
|
6
|
+
import { useNestedListSelectAll as We } from "./hooks/useNestedListSelectAll.js";
|
|
7
|
+
import { useNestedListState as je } from "./hooks/useNestedListState.js";
|
|
8
|
+
import { useNestedListHandlers as Fe } from "./hooks/useNestedListHandlers.js";
|
|
9
9
|
import { NestedListHeader as qe } from "./components/NestedListHeader.js";
|
|
10
10
|
import { NestedListCategoryFilters as Ke } from "./components/NestedListCategoryFilters.js";
|
|
11
11
|
import { NestedListContent as Qe } from "./components/NestedListContent.js";
|
|
12
12
|
import { NestedListApplyDiscardButtons as Xe } from "./components/NestedListApplyDiscardButtons.js";
|
|
13
13
|
import { cn as Ye } from "../../../lib/utils.js";
|
|
14
14
|
import { useImpactNovaI18n as Ze } from "../../../i18n/ImpactNovaI18nContext.js";
|
|
15
|
-
const ne = (d,
|
|
16
|
-
if (!
|
|
17
|
-
const
|
|
18
|
-
return d.forEach((
|
|
19
|
-
const l =
|
|
20
|
-
(l || f && f.length > 0) &&
|
|
21
|
-
...
|
|
22
|
-
children: f ||
|
|
15
|
+
const ne = (d, r) => {
|
|
16
|
+
if (!r || typeof r != "string") return d;
|
|
17
|
+
const o = r.toLowerCase(), c = [];
|
|
18
|
+
return d.forEach((n) => {
|
|
19
|
+
const l = n.label.toLowerCase().includes(o), f = n.children ? ne(n.children, r) : void 0;
|
|
20
|
+
(l || f && f.length > 0) && c.push({
|
|
21
|
+
...n,
|
|
22
|
+
children: f || n.children
|
|
23
23
|
});
|
|
24
|
-
}),
|
|
25
|
-
}, le = (d) => d.map((
|
|
26
|
-
if (
|
|
27
|
-
const
|
|
24
|
+
}), c;
|
|
25
|
+
}, le = (d) => d.map((r) => {
|
|
26
|
+
if (r.children && r.children.length > 0) {
|
|
27
|
+
const o = le(r.children), c = o.every((n) => n.checked);
|
|
28
28
|
return {
|
|
29
|
-
...
|
|
30
|
-
checked:
|
|
31
|
-
children:
|
|
29
|
+
...r,
|
|
30
|
+
checked: c,
|
|
31
|
+
children: o
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
return
|
|
35
|
-
}), $e = (d,
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
const f =
|
|
39
|
-
f &&
|
|
34
|
+
return r;
|
|
35
|
+
}), $e = (d, r) => {
|
|
36
|
+
const o = /* @__PURE__ */ new Set(), c = (n) => {
|
|
37
|
+
n.forEach((l) => {
|
|
38
|
+
const f = r ? r(l) : l.category;
|
|
39
|
+
f && o.add(f), l.children && c(l.children);
|
|
40
40
|
});
|
|
41
41
|
};
|
|
42
|
-
return
|
|
43
|
-
},
|
|
44
|
-
if (
|
|
45
|
-
const
|
|
46
|
-
return d.forEach((
|
|
47
|
-
const l =
|
|
48
|
-
(f || m && m.length > 0) &&
|
|
49
|
-
...
|
|
42
|
+
return c(d), Array.from(o).sort();
|
|
43
|
+
}, oe = (d, r, o) => {
|
|
44
|
+
if (r.size === 0) return d;
|
|
45
|
+
const c = [];
|
|
46
|
+
return d.forEach((n) => {
|
|
47
|
+
const l = o ? o(n) : n.category, f = l && r.has(l), m = n.children ? oe(n.children, r, o) : void 0;
|
|
48
|
+
(f || m && m.length > 0) && c.push({
|
|
49
|
+
...n,
|
|
50
50
|
children: m
|
|
51
51
|
});
|
|
52
|
-
}),
|
|
53
|
-
},
|
|
54
|
-
const
|
|
52
|
+
}), c;
|
|
53
|
+
}, ce = (d, r, o, c = 0) => {
|
|
54
|
+
const n = [];
|
|
55
55
|
return d.forEach((l) => {
|
|
56
|
-
|
|
57
|
-
...
|
|
56
|
+
n.push({ item: l, level: c }), !r[l.id] && l.children && l.children.length > 0 && l.id !== o && n.push(
|
|
57
|
+
...ce(l.children, r, o, c + 1)
|
|
58
58
|
);
|
|
59
|
-
}),
|
|
59
|
+
}), n;
|
|
60
60
|
}, ut = ({
|
|
61
61
|
items: d,
|
|
62
|
-
onChange:
|
|
63
|
-
onSubmit:
|
|
64
|
-
onCancel:
|
|
65
|
-
onItemToggle:
|
|
62
|
+
onChange: r,
|
|
63
|
+
onSubmit: o,
|
|
64
|
+
onCancel: c,
|
|
65
|
+
onItemToggle: n,
|
|
66
66
|
onDragEnd: l,
|
|
67
67
|
enableSearch: f = !0,
|
|
68
68
|
enableDragDrop: m = !0,
|
|
69
69
|
enableSelectAll: de = !0,
|
|
70
70
|
enableGroupBy: L = !1,
|
|
71
|
-
getCategory:
|
|
71
|
+
getCategory: S,
|
|
72
72
|
searchPlaceholder: ie,
|
|
73
73
|
className: ae = "",
|
|
74
74
|
groupLabel: he,
|
|
75
75
|
enableApplyDiscard: p = !1,
|
|
76
|
-
enableCollapse:
|
|
76
|
+
enableCollapse: j = !0,
|
|
77
77
|
enableGlobalCollapse: ue = !0,
|
|
78
78
|
submitButtonLabel: fe,
|
|
79
79
|
cancelButtonLabel: pe,
|
|
80
|
-
selectionMode:
|
|
80
|
+
selectionMode: C = V.CASCADE_DOWN
|
|
81
81
|
}) => {
|
|
82
|
-
const { t:
|
|
83
|
-
items:
|
|
82
|
+
const { t: D } = Ze(), me = ie ?? D("nestedList.searchPlaceholder"), Ne = fe ?? D("nestedList.apply"), Se = pe ?? D("nestedList.reset"), {
|
|
83
|
+
items: i,
|
|
84
84
|
setItems: I,
|
|
85
|
-
savedItems:
|
|
86
|
-
setSavedItems:
|
|
85
|
+
savedItems: T,
|
|
86
|
+
setSavedItems: F,
|
|
87
87
|
isUserChangeRef: P,
|
|
88
88
|
searchText: x,
|
|
89
|
-
setSearchText:
|
|
90
|
-
collapsedItems:
|
|
89
|
+
setSearchText: Ce,
|
|
90
|
+
collapsedItems: O,
|
|
91
91
|
setCollapsedItems: Ie,
|
|
92
|
-
isListCollapsed:
|
|
93
|
-
setIsListCollapsed:
|
|
94
|
-
activeId:
|
|
95
|
-
setActiveId:
|
|
96
|
-
setOverId:
|
|
97
|
-
selectedCategories:
|
|
98
|
-
setSelectedCategories:
|
|
92
|
+
isListCollapsed: b,
|
|
93
|
+
setIsListCollapsed: ge,
|
|
94
|
+
activeId: g,
|
|
95
|
+
setActiveId: y,
|
|
96
|
+
setOverId: U,
|
|
97
|
+
selectedCategories: z,
|
|
98
|
+
setSelectedCategories: ve,
|
|
99
99
|
itemsToBlink: q,
|
|
100
|
-
setItemsToBlink:
|
|
100
|
+
setItemsToBlink: _,
|
|
101
101
|
// Normalized state helpers (for optimized operations)
|
|
102
102
|
isNormalized: Le,
|
|
103
103
|
normalizedState: ke,
|
|
104
104
|
batchUpdateItems: Ee
|
|
105
|
-
} =
|
|
105
|
+
} = je({
|
|
106
106
|
initialItems: d,
|
|
107
107
|
enableApplyDiscard: p,
|
|
108
108
|
// Enable normalized state for large datasets (can be made configurable via props)
|
|
109
109
|
enableNormalizedState: d.length > 1e3
|
|
110
|
-
})
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
});
|
|
111
|
+
if (typeof window < "u") {
|
|
112
|
+
const e = i.map((t) => ({
|
|
113
|
+
id: t.id,
|
|
114
|
+
childIds: t.children?.map((s) => ({
|
|
115
|
+
id: s.id,
|
|
116
|
+
childIds: s.children?.map((a) => a.id)
|
|
117
|
+
}))
|
|
118
|
+
}));
|
|
119
|
+
console.log(
|
|
120
|
+
"[NL-internal] items state (post-render-time-block)",
|
|
121
|
+
JSON.stringify(e)
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
const [B, K] = re.useState(0), [R, we] = re.useState(0), {
|
|
125
|
+
sensors: Ae,
|
|
126
|
+
handleDragEnd: De,
|
|
113
127
|
isValidDrop: Q
|
|
114
|
-
} =
|
|
115
|
-
items:
|
|
128
|
+
} = Je({
|
|
129
|
+
items: i,
|
|
116
130
|
onDragEnd: l
|
|
117
|
-
}),
|
|
118
|
-
() => L ? $e(
|
|
119
|
-
[
|
|
120
|
-
),
|
|
121
|
-
let e =
|
|
122
|
-
return L &&
|
|
123
|
-
}, [
|
|
124
|
-
() =>
|
|
125
|
-
[
|
|
126
|
-
), { allChecked: k, someChecked: xe } =
|
|
127
|
-
let e = !0,
|
|
128
|
-
const
|
|
129
|
-
for (const
|
|
130
|
-
if (
|
|
131
|
+
}), Te = w(
|
|
132
|
+
() => L ? $e(i, S) : [],
|
|
133
|
+
[i, L, S]
|
|
134
|
+
), N = w(() => {
|
|
135
|
+
let e = i;
|
|
136
|
+
return L && z.size > 0 && (e = oe(e, z, S)), x && (e = ne(e, x)), e;
|
|
137
|
+
}, [i, x, L, z, S]), Pe = w(
|
|
138
|
+
() => ce(N, O, g),
|
|
139
|
+
[N, O, g]
|
|
140
|
+
), { allChecked: k, someChecked: xe } = w(() => {
|
|
141
|
+
let e = !0, t = !1;
|
|
142
|
+
const s = (a) => {
|
|
143
|
+
for (const u of a)
|
|
144
|
+
if (u.children && u.children.length > 0 ? s(u.children) : u.checked ? t = !0 : e = !1, t && !e) return;
|
|
131
145
|
};
|
|
132
|
-
return
|
|
133
|
-
}, [
|
|
134
|
-
for (const
|
|
135
|
-
if (
|
|
136
|
-
if (
|
|
137
|
-
const
|
|
138
|
-
if (
|
|
146
|
+
return s(N), { allChecked: e && t, someChecked: t };
|
|
147
|
+
}, [N]), Oe = xe && !k, H = (e, t) => {
|
|
148
|
+
for (const s of e) {
|
|
149
|
+
if (s.id === t) return s;
|
|
150
|
+
if (s.children) {
|
|
151
|
+
const a = H(s.children, t);
|
|
152
|
+
if (a) return a;
|
|
139
153
|
}
|
|
140
154
|
}
|
|
141
155
|
return null;
|
|
142
|
-
},
|
|
143
|
-
(e,
|
|
144
|
-
if (
|
|
156
|
+
}, be = A(
|
|
157
|
+
(e, t) => {
|
|
158
|
+
if (C === V.INDEPENDENT)
|
|
145
159
|
return e;
|
|
146
|
-
const
|
|
147
|
-
(E) =>
|
|
148
|
-
) : !1,
|
|
149
|
-
if (
|
|
150
|
-
return
|
|
151
|
-
if (
|
|
152
|
-
const E =
|
|
153
|
-
let
|
|
154
|
-
return
|
|
155
|
-
...
|
|
156
|
-
checked:
|
|
160
|
+
const s = (u, h) => u.id === h ? !0 : u.children ? u.children.some(
|
|
161
|
+
(E) => s(E, h)
|
|
162
|
+
) : !1, a = (u) => u.map((h) => {
|
|
163
|
+
if (h.id === t)
|
|
164
|
+
return h;
|
|
165
|
+
if (h.children && s(h, t)) {
|
|
166
|
+
const E = a(h.children);
|
|
167
|
+
let J;
|
|
168
|
+
return C === V.CASCADE_UP_DOWN ? J = E.some((W) => W.checked) : J = E.every((W) => W.checked), {
|
|
169
|
+
...h,
|
|
170
|
+
checked: J,
|
|
157
171
|
children: E
|
|
158
172
|
};
|
|
159
173
|
}
|
|
160
|
-
return
|
|
174
|
+
return h;
|
|
161
175
|
});
|
|
162
|
-
return
|
|
176
|
+
return a(e);
|
|
163
177
|
},
|
|
164
|
-
[
|
|
178
|
+
[C]
|
|
165
179
|
), X = (e) => {
|
|
166
|
-
const
|
|
167
|
-
return e.forEach((
|
|
168
|
-
|
|
169
|
-
}),
|
|
180
|
+
const t = [];
|
|
181
|
+
return e.forEach((s) => {
|
|
182
|
+
s.children && s.children.length > 0 && (t.push(s.id), t.push(...X(s.children)));
|
|
183
|
+
}), t;
|
|
170
184
|
}, {
|
|
171
185
|
handleToggle: Y,
|
|
172
186
|
handleToggleCollapse: Z,
|
|
173
|
-
handleCollapseAll:
|
|
174
|
-
handleToggleCategory:
|
|
175
|
-
} =
|
|
187
|
+
handleCollapseAll: ze,
|
|
188
|
+
handleToggleCategory: Be
|
|
189
|
+
} = Fe({
|
|
176
190
|
setItems: I,
|
|
177
191
|
findItemById: H,
|
|
178
|
-
updateParentsUpward:
|
|
192
|
+
updateParentsUpward: be,
|
|
179
193
|
onChange: (e) => {
|
|
180
|
-
K((
|
|
194
|
+
K((t) => t + 1), r(e);
|
|
181
195
|
},
|
|
182
|
-
onItemToggle:
|
|
183
|
-
getCategory:
|
|
196
|
+
onItemToggle: n,
|
|
197
|
+
getCategory: S,
|
|
184
198
|
setCollapsedItems: Ie,
|
|
185
|
-
setIsListCollapsed:
|
|
186
|
-
setSelectedCategories:
|
|
199
|
+
setIsListCollapsed: ge,
|
|
200
|
+
setSelectedCategories: ve,
|
|
187
201
|
isUserChangeRef: P,
|
|
188
|
-
selectionMode:
|
|
202
|
+
selectionMode: C,
|
|
189
203
|
// Pass normalized state helpers for optimized operations
|
|
190
204
|
isNormalized: Le,
|
|
191
205
|
normalizedState: ke,
|
|
@@ -195,158 +209,158 @@ const ne = (d, t) => {
|
|
|
195
209
|
findItemsNotSelected: M,
|
|
196
210
|
collectVisibleItemsForCallback: G,
|
|
197
211
|
updateVisibleItems: ee
|
|
198
|
-
} =
|
|
212
|
+
} = We({
|
|
199
213
|
findItemById: H,
|
|
200
|
-
getCategory:
|
|
201
|
-
}),
|
|
214
|
+
getCategory: S
|
|
215
|
+
}), Re = A(() => {
|
|
202
216
|
P.current = !0, I((e) => {
|
|
203
|
-
const
|
|
204
|
-
|
|
217
|
+
const t = $(N), s = M(
|
|
218
|
+
N,
|
|
205
219
|
e,
|
|
206
|
-
|
|
220
|
+
t
|
|
207
221
|
);
|
|
208
|
-
if (
|
|
209
|
-
const
|
|
210
|
-
|
|
222
|
+
if (s.size > 0) {
|
|
223
|
+
const h = new Set(s);
|
|
224
|
+
_(h), setTimeout(() => _(/* @__PURE__ */ new Set()), 600);
|
|
211
225
|
}
|
|
212
|
-
const
|
|
226
|
+
const a = ee(
|
|
213
227
|
e,
|
|
214
|
-
|
|
228
|
+
t,
|
|
215
229
|
!k
|
|
216
|
-
),
|
|
217
|
-
if (
|
|
218
|
-
const
|
|
230
|
+
), u = C === V.INDEPENDENT ? a : le(a);
|
|
231
|
+
if (r(u), n) {
|
|
232
|
+
const h = G(
|
|
219
233
|
e,
|
|
220
|
-
|
|
234
|
+
t,
|
|
221
235
|
!k
|
|
222
236
|
);
|
|
223
|
-
|
|
237
|
+
n(h);
|
|
224
238
|
}
|
|
225
|
-
return
|
|
239
|
+
return u;
|
|
226
240
|
});
|
|
227
241
|
}, [
|
|
228
242
|
k,
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
243
|
+
r,
|
|
244
|
+
n,
|
|
245
|
+
N,
|
|
232
246
|
$,
|
|
233
247
|
M,
|
|
234
248
|
G,
|
|
235
249
|
ee,
|
|
236
250
|
P,
|
|
237
251
|
I,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
]),
|
|
241
|
-
(e,
|
|
242
|
-
const
|
|
243
|
-
return /* @__PURE__ */
|
|
252
|
+
_,
|
|
253
|
+
C
|
|
254
|
+
]), Ve = A(
|
|
255
|
+
(e, t) => {
|
|
256
|
+
const s = g ? Q(g, e.id) : !1, a = q.has(e.id);
|
|
257
|
+
return /* @__PURE__ */ v(
|
|
244
258
|
He,
|
|
245
259
|
{
|
|
246
260
|
item: e,
|
|
247
|
-
level:
|
|
248
|
-
isCollapsed:
|
|
261
|
+
level: t,
|
|
262
|
+
isCollapsed: O[e.id] || !1,
|
|
249
263
|
onToggle: Y,
|
|
250
264
|
onToggleCollapse: Z,
|
|
251
|
-
isAnyDragging:
|
|
252
|
-
isValidDrop:
|
|
265
|
+
isAnyDragging: g !== null,
|
|
266
|
+
isValidDrop: s,
|
|
253
267
|
enableDragDrop: m,
|
|
254
|
-
enableCollapse:
|
|
255
|
-
shouldBlink:
|
|
268
|
+
enableCollapse: j,
|
|
269
|
+
shouldBlink: a
|
|
256
270
|
},
|
|
257
271
|
e.id
|
|
258
272
|
);
|
|
259
273
|
},
|
|
260
274
|
[
|
|
261
|
-
|
|
275
|
+
O,
|
|
262
276
|
Y,
|
|
263
277
|
Z,
|
|
264
|
-
|
|
278
|
+
g,
|
|
265
279
|
Q,
|
|
266
280
|
m,
|
|
267
281
|
q,
|
|
268
|
-
|
|
282
|
+
j
|
|
269
283
|
]
|
|
270
|
-
),
|
|
271
|
-
p && (
|
|
272
|
-
}, [p,
|
|
273
|
-
p && (I(
|
|
274
|
-
}, [p,
|
|
284
|
+
), ye = X(i).length > 0, te = w(() => p ? i.length > 1e3 ? B !== R : JSON.stringify(i) !== JSON.stringify(T) : !1, [p, i, T, B, R]), Ue = A(() => {
|
|
285
|
+
p && (F(i), we(B), o?.(i));
|
|
286
|
+
}, [p, i, o, F, B]), _e = A(() => {
|
|
287
|
+
p && (I(T), K(R), c?.());
|
|
288
|
+
}, [p, T, c, I, R]);
|
|
275
289
|
return /* @__PURE__ */ se(
|
|
276
290
|
"div",
|
|
277
291
|
{
|
|
278
292
|
className: Ye("flex flex-col", ae),
|
|
279
293
|
"data-component": "nested-list",
|
|
280
294
|
"data-has-changes": te ? "" : void 0,
|
|
281
|
-
"data-list-collapsed":
|
|
295
|
+
"data-list-collapsed": b ? "" : void 0,
|
|
282
296
|
children: [
|
|
283
297
|
/* @__PURE__ */ se("div", { className: "flex-shrink-0", children: [
|
|
284
|
-
/* @__PURE__ */
|
|
298
|
+
/* @__PURE__ */ v(
|
|
285
299
|
qe,
|
|
286
300
|
{
|
|
287
|
-
hasItemsWithChildren:
|
|
288
|
-
isListCollapsed:
|
|
289
|
-
onCollapseAll:
|
|
301
|
+
hasItemsWithChildren: ye,
|
|
302
|
+
isListCollapsed: b,
|
|
303
|
+
onCollapseAll: ze,
|
|
290
304
|
enableSearch: f,
|
|
291
305
|
enableSelectAll: de,
|
|
292
306
|
groupLabel: he,
|
|
293
307
|
allChecked: k,
|
|
294
|
-
isIndeterminate:
|
|
295
|
-
onSelectAll:
|
|
308
|
+
isIndeterminate: Oe,
|
|
309
|
+
onSelectAll: Re,
|
|
296
310
|
searchText: x,
|
|
297
311
|
onSearchChange: (e) => {
|
|
298
|
-
|
|
312
|
+
Ce(e.target.value);
|
|
299
313
|
},
|
|
300
314
|
searchPlaceholder: me,
|
|
301
|
-
selectAllLabel:
|
|
315
|
+
selectAllLabel: D("nestedList.selectAll"),
|
|
302
316
|
enableCollapse: ue
|
|
303
317
|
}
|
|
304
318
|
),
|
|
305
|
-
/* @__PURE__ */
|
|
319
|
+
/* @__PURE__ */ v(
|
|
306
320
|
Ke,
|
|
307
321
|
{
|
|
308
|
-
isListCollapsed:
|
|
322
|
+
isListCollapsed: b,
|
|
309
323
|
enableGroupBy: L,
|
|
310
|
-
categories:
|
|
311
|
-
selectedCategories:
|
|
312
|
-
onToggleCategory:
|
|
324
|
+
categories: Te,
|
|
325
|
+
selectedCategories: z,
|
|
326
|
+
onToggleCategory: Be
|
|
313
327
|
}
|
|
314
328
|
)
|
|
315
329
|
] }),
|
|
316
|
-
/* @__PURE__ */
|
|
330
|
+
/* @__PURE__ */ v("div", { className: "flex-1 min-h-0 overflow-hidden", children: /* @__PURE__ */ v(
|
|
317
331
|
Qe,
|
|
318
332
|
{
|
|
319
|
-
isListCollapsed:
|
|
333
|
+
isListCollapsed: b,
|
|
320
334
|
enableDragDrop: m,
|
|
321
|
-
sensors:
|
|
335
|
+
sensors: Ae,
|
|
322
336
|
items: Pe,
|
|
323
|
-
renderItem:
|
|
337
|
+
renderItem: Ve,
|
|
324
338
|
onDragStart: (e) => {
|
|
325
|
-
|
|
339
|
+
y(e.active.id);
|
|
326
340
|
},
|
|
327
341
|
onDragOver: (e) => {
|
|
328
|
-
|
|
342
|
+
U(e.over?.id);
|
|
329
343
|
},
|
|
330
344
|
onDragEnd: (e) => {
|
|
331
|
-
|
|
332
|
-
const
|
|
333
|
-
I(
|
|
345
|
+
y(null), U(null), P.current = !0, De(e, (t) => {
|
|
346
|
+
const s = t(i);
|
|
347
|
+
I(s), r(s);
|
|
334
348
|
});
|
|
335
349
|
},
|
|
336
350
|
onDragCancel: () => {
|
|
337
|
-
|
|
351
|
+
y(null), U(null);
|
|
338
352
|
}
|
|
339
353
|
}
|
|
340
354
|
) }),
|
|
341
|
-
/* @__PURE__ */
|
|
355
|
+
/* @__PURE__ */ v(
|
|
342
356
|
Xe,
|
|
343
357
|
{
|
|
344
358
|
enableApplyDiscard: p,
|
|
345
359
|
hasChanges: te,
|
|
346
|
-
onDiscard:
|
|
347
|
-
onApply:
|
|
348
|
-
cancelButtonLabel:
|
|
349
|
-
submitButtonLabel:
|
|
360
|
+
onDiscard: _e,
|
|
361
|
+
onApply: Ue,
|
|
362
|
+
cancelButtonLabel: Se,
|
|
363
|
+
submitButtonLabel: Ne
|
|
350
364
|
}
|
|
351
365
|
)
|
|
352
366
|
]
|
|
@@ -77,7 +77,7 @@ const e = {
|
|
|
77
77
|
collapseAll: "Collapse All",
|
|
78
78
|
expand: "Expand",
|
|
79
79
|
collapse: "Collapse"
|
|
80
|
-
},
|
|
80
|
+
}, i = {
|
|
81
81
|
frozenColumns: "Frozen Columns",
|
|
82
82
|
scrollableColumns: "Scrollable Columns",
|
|
83
83
|
searchColumnsPlaceholder: "Search columns...",
|
|
@@ -120,7 +120,7 @@ const e = {
|
|
|
120
120
|
savedViewsDeleteConfirmTitle: "Delete saved view?",
|
|
121
121
|
savedViewsDeleteConfirmDescription: 'This will permanently delete "{{viewName}}". You cannot undo this action.',
|
|
122
122
|
savedViewsDeleteConfirmButton: "Delete"
|
|
123
|
-
},
|
|
123
|
+
}, n = {
|
|
124
124
|
close: "Close",
|
|
125
125
|
breadcrumb: "breadcrumb",
|
|
126
126
|
remove: "Remove",
|
|
@@ -170,7 +170,8 @@ const e = {
|
|
|
170
170
|
}, p = {
|
|
171
171
|
title: "Advanced Filter",
|
|
172
172
|
currentColumn: "Current Column",
|
|
173
|
-
allFilters: "
|
|
173
|
+
allFilters: "Active Filters",
|
|
174
|
+
allFiltersDisabledTooltip: "Filter more than one column to view all active filters",
|
|
174
175
|
noFiltersApplied: "No filters applied. Open a column to add filters.",
|
|
175
176
|
clearAll: "Clear all",
|
|
176
177
|
discard: "Discard",
|
|
@@ -217,8 +218,8 @@ const e = {
|
|
|
217
218
|
filter: a,
|
|
218
219
|
select: o,
|
|
219
220
|
nestedList: s,
|
|
220
|
-
dataTable:
|
|
221
|
-
aria:
|
|
221
|
+
dataTable: i,
|
|
222
|
+
aria: n,
|
|
222
223
|
prompt: r,
|
|
223
224
|
filterStrip: c,
|
|
224
225
|
filterPanel: d,
|
package/dist/i18n/locales/de.js
CHANGED
|
@@ -169,7 +169,8 @@ const e = {
|
|
|
169
169
|
advancedFilter: {
|
|
170
170
|
title: "Erweiterter Filter",
|
|
171
171
|
currentColumn: "Aktuelle Spalte",
|
|
172
|
-
allFilters: "
|
|
172
|
+
allFilters: "Aktive Filter",
|
|
173
|
+
allFiltersDisabledTooltip: "Filtern Sie mehr als eine Spalte, um alle aktiven Filter anzuzeigen",
|
|
173
174
|
noFiltersApplied: "Keine Filter angewendet. Öffnen Sie eine Spalte, um Filter hinzuzufügen.",
|
|
174
175
|
clearAll: "Alle löschen",
|
|
175
176
|
discard: "Verwerfen",
|
package/dist/i18n/locales/es.js
CHANGED
|
@@ -169,7 +169,8 @@ const e = {
|
|
|
169
169
|
advancedFilter: {
|
|
170
170
|
title: "Filtro avanzado",
|
|
171
171
|
currentColumn: "Columna actual",
|
|
172
|
-
allFilters: "
|
|
172
|
+
allFilters: "Filtros activos",
|
|
173
|
+
allFiltersDisabledTooltip: "Filtra más de una columna para ver todos los filtros activos",
|
|
173
174
|
noFiltersApplied: "No hay filtros aplicados. Abra una columna para añadir filtros.",
|
|
174
175
|
clearAll: "Borrar todo",
|
|
175
176
|
discard: "Descartar",
|
package/dist/i18n/locales/hi.js
CHANGED
|
@@ -169,7 +169,8 @@ const e = {
|
|
|
169
169
|
advancedFilter: {
|
|
170
170
|
title: "उन्नत फ़िल्टर",
|
|
171
171
|
currentColumn: "वर्तमान कॉलम",
|
|
172
|
-
allFilters: "
|
|
172
|
+
allFilters: "सक्रिय फ़िल्टर",
|
|
173
|
+
allFiltersDisabledTooltip: "सभी सक्रिय फ़िल्टर देखने के लिए एक से अधिक कॉलम फ़िल्टर करें",
|
|
173
174
|
noFiltersApplied: "कोई फ़िल्टर लागू नहीं। फ़िल्टर जोड़ने के लिए एक कॉलम खोलें।",
|
|
174
175
|
clearAll: "सभी साफ़ करें",
|
|
175
176
|
discard: "खारिज करें",
|
package/dist/i18n/locales/kn.js
CHANGED
|
@@ -169,7 +169,8 @@ const e = {
|
|
|
169
169
|
advancedFilter: {
|
|
170
170
|
title: "ಸುಧಾರಿತ ಫಿಲ್ಟರ್",
|
|
171
171
|
currentColumn: "ಪ್ರಸ್ತುತ ಕಾಲಮ್",
|
|
172
|
-
allFilters: "
|
|
172
|
+
allFilters: "ಸಕ್ರಿಯ ಫಿಲ್ಟರ್ಗಳು",
|
|
173
|
+
allFiltersDisabledTooltip: "ಎಲ್ಲಾ ಸಕ್ರಿಯ ಫಿಲ್ಟರ್ಗಳನ್ನು ವೀಕ್ಷಿಸಲು ಒಂದಕ್ಕಿಂತ ಹೆಚ್ಚು ಕಾಲಮ್ ಫಿಲ್ಟರ್ ಮಾಡಿ",
|
|
173
174
|
noFiltersApplied: "ಯಾವುದೇ ಫಿಲ್ಟರ್ಗಳು ಅನ್ವಯಿಸಲಾಗಿಲ್ಲ. ಫಿಲ್ಟರ್ಗಳನ್ನು ಸೇರಿಸಲು ಕಾಲಮ್ ತೆರೆಯಿರಿ.",
|
|
174
175
|
clearAll: "ಎಲ್ಲಾ ಅಳಿಸಿ",
|
|
175
176
|
discard: "ತ್ಯಜಿಸಿ",
|