@krosoft/react 0.0.96 → 0.0.97

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.
@@ -1,25 +1,25 @@
1
- import { jsxs as d, jsx as n } from "react/jsx-runtime";
1
+ import { jsxs as s, jsx as n } from "react/jsx-runtime";
2
2
  import * as L from "react";
3
- import { useState as P, useRef as j, useEffect as T, useMemo as z } from "react";
4
- import { cm as D, cn as C, co as k, cp as q, cq as W, H as R, bv as F, bx as X, bw as V, ce as E, _ as O, aW as _ } from "./toggle-group-iLf3T7oV.js";
3
+ import { useState as C, useRef as P, useEffect as j, useMemo as S } from "react";
4
+ import { cm as E, cn as N, co as k, cp as F, cq as W, H as A, bv as X, bx as V, bw as _, ce as J, _ as R, aW as I } from "./toggle-group-iLf3T7oV.js";
5
5
  import "./alert-sHZy6NHC.js";
6
6
  import { c as b } from "./index-gWiv5-6R.js";
7
- import { B as y, C as A } from "./tooltip-CAu4DEhc.js";
8
- import { X as J, C as I } from "./select-zzSnHs9S.js";
7
+ import { B as x, C as H } from "./tooltip-CAu4DEhc.js";
8
+ import { X as D, C as Q } from "./select-zzSnHs9S.js";
9
9
  import "next-themes";
10
- import { c as Q } from "./index-DSyPHOLE.js";
10
+ import { c as Y } from "./index-DSyPHOLE.js";
11
11
  /**
12
12
  * @license lucide-react v1.16.0 - ISC
13
13
  *
14
14
  * This source code is licensed under the ISC license.
15
15
  * See the LICENSE file in the root directory of this source tree.
16
16
  */
17
- const Y = [
17
+ const $ = [
18
18
  ["path", { d: "M8 2v4", key: "1cmpym" }],
19
19
  ["path", { d: "M16 2v4", key: "4m81vk" }],
20
20
  ["rect", { width: "18", height: "18", x: "3", y: "4", rx: "2", key: "1hopcy" }],
21
21
  ["path", { d: "M3 10h18", key: "8toen8" }]
22
- ], H = Q("calendar", Y), $ = {
22
+ ], q = Y("calendar", $), B = {
23
23
  lessThanXSeconds: {
24
24
  one: "moins d’une seconde",
25
25
  other: "moins de {{count}} secondes"
@@ -81,54 +81,54 @@ const Y = [
81
81
  one: "presqu’un an",
82
82
  other: "presque {{count}} ans"
83
83
  }
84
- }, B = (e, t, s) => {
84
+ }, K = (e, t, l) => {
85
85
  let r;
86
- const i = $[e];
87
- return typeof i == "string" ? r = i : t === 1 ? r = i.one : r = i.other.replace("{{count}}", String(t)), s != null && s.addSuffix ? s.comparison && s.comparison > 0 ? "dans " + r : "il y a " + r : r;
88
- }, K = {
86
+ const i = B[e];
87
+ return typeof i == "string" ? r = i : t === 1 ? r = i.one : r = i.other.replace("{{count}}", String(t)), l != null && l.addSuffix ? l.comparison && l.comparison > 0 ? "dans " + r : "il y a " + r : r;
88
+ }, G = {
89
89
  full: "EEEE d MMMM y",
90
90
  long: "d MMMM y",
91
91
  medium: "d MMM y",
92
92
  short: "dd/MM/y"
93
- }, G = {
93
+ }, U = {
94
94
  full: "HH:mm:ss zzzz",
95
95
  long: "HH:mm:ss z",
96
96
  medium: "HH:mm:ss",
97
97
  short: "HH:mm"
98
- }, U = {
98
+ }, Z = {
99
99
  full: "{{date}} 'à' {{time}}",
100
100
  long: "{{date}} 'à' {{time}}",
101
101
  medium: "{{date}}, {{time}}",
102
102
  short: "{{date}}, {{time}}"
103
- }, Z = {
104
- date: D({
105
- formats: K,
106
- defaultWidth: "full"
107
- }),
108
- time: D({
103
+ }, ee = {
104
+ date: E({
109
105
  formats: G,
110
106
  defaultWidth: "full"
111
107
  }),
112
- dateTime: D({
108
+ time: E({
113
109
  formats: U,
114
110
  defaultWidth: "full"
111
+ }),
112
+ dateTime: E({
113
+ formats: Z,
114
+ defaultWidth: "full"
115
115
  })
116
- }, ee = {
116
+ }, te = {
117
117
  lastWeek: "eeee 'dernier à' p",
118
118
  yesterday: "'hier à' p",
119
119
  today: "'aujourd’hui à' p",
120
120
  tomorrow: "'demain à' p'",
121
121
  nextWeek: "eeee 'prochain à' p",
122
122
  other: "P"
123
- }, te = (e, t, s, r) => ee[e], ne = {
123
+ }, ne = (e, t, l, r) => te[e], re = {
124
124
  narrow: ["av. J.-C", "ap. J.-C"],
125
125
  abbreviated: ["av. J.-C", "ap. J.-C"],
126
126
  wide: ["avant Jésus-Christ", "après Jésus-Christ"]
127
- }, re = {
127
+ }, ae = {
128
128
  narrow: ["T1", "T2", "T3", "T4"],
129
129
  abbreviated: ["1er trim.", "2ème trim.", "3ème trim.", "4ème trim."],
130
130
  wide: ["1er trimestre", "2ème trimestre", "3ème trimestre", "4ème trimestre"]
131
- }, ae = {
131
+ }, oe = {
132
132
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
133
133
  abbreviated: [
134
134
  "janv.",
@@ -158,7 +158,7 @@ const Y = [
158
158
  "novembre",
159
159
  "décembre"
160
160
  ]
161
- }, oe = {
161
+ }, ie = {
162
162
  narrow: ["D", "L", "M", "M", "J", "V", "S"],
163
163
  short: ["di", "lu", "ma", "me", "je", "ve", "sa"],
164
164
  abbreviated: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."],
@@ -171,7 +171,7 @@ const Y = [
171
171
  "vendredi",
172
172
  "samedi"
173
173
  ]
174
- }, ie = {
174
+ }, se = {
175
175
  narrow: {
176
176
  am: "AM",
177
177
  pm: "PM",
@@ -202,57 +202,57 @@ const Y = [
202
202
  evening: "du soir",
203
203
  night: "du matin"
204
204
  }
205
- }, se = (e, t) => {
206
- const s = Number(e), r = t == null ? void 0 : t.unit;
207
- if (s === 0) return "0";
205
+ }, le = (e, t) => {
206
+ const l = Number(e), r = t == null ? void 0 : t.unit;
207
+ if (l === 0) return "0";
208
208
  const i = ["year", "week", "hour", "minute", "second"];
209
- let l;
210
- return s === 1 ? l = r && i.includes(r) ? "ère" : "er" : l = "ème", s + l;
211
- }, le = ["MMM", "MMMM"], de = {
209
+ let u;
210
+ return l === 1 ? u = r && i.includes(r) ? "ère" : "er" : u = "ème", l + u;
211
+ }, de = ["MMM", "MMMM"], ce = {
212
212
  preprocessor: (e, t) => e.getDate() === 1 || !t.some(
213
- (r) => r.isToken && le.includes(r.value)
213
+ (r) => r.isToken && de.includes(r.value)
214
214
  ) ? t : t.map(
215
215
  (r) => r.isToken && r.value === "do" ? { isToken: !0, value: "d" } : r
216
216
  ),
217
- ordinalNumber: se,
218
- era: C({
219
- values: ne,
217
+ ordinalNumber: le,
218
+ era: N({
219
+ values: re,
220
220
  defaultWidth: "wide"
221
221
  }),
222
- quarter: C({
223
- values: re,
222
+ quarter: N({
223
+ values: ae,
224
224
  defaultWidth: "wide",
225
225
  argumentCallback: (e) => e - 1
226
226
  }),
227
- month: C({
228
- values: ae,
229
- defaultWidth: "wide"
230
- }),
231
- day: C({
227
+ month: N({
232
228
  values: oe,
233
229
  defaultWidth: "wide"
234
230
  }),
235
- dayPeriod: C({
231
+ day: N({
236
232
  values: ie,
237
233
  defaultWidth: "wide"
234
+ }),
235
+ dayPeriod: N({
236
+ values: se,
237
+ defaultWidth: "wide"
238
238
  })
239
- }, ce = /^(\d+)(ième|ère|ème|er|e)?/i, ue = /\d+/i, me = {
239
+ }, ue = /^(\d+)(ième|ère|ème|er|e)?/i, me = /\d+/i, fe = {
240
240
  narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,
241
241
  abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,
242
242
  wide: /^(avant Jésus-Christ|après Jésus-Christ)/i
243
- }, fe = {
244
- any: [/^av/i, /^ap/i]
245
243
  }, he = {
244
+ any: [/^av/i, /^ap/i]
245
+ }, pe = {
246
246
  narrow: /^T?[1234]/i,
247
247
  abbreviated: /^[1234](er|ème|e)? trim\.?/i,
248
248
  wide: /^[1234](er|ème|e)? trimestre/i
249
- }, pe = {
249
+ }, ge = {
250
250
  any: [/1/i, /2/i, /3/i, /4/i]
251
251
  }, ve = {
252
252
  narrow: /^[jfmasond]/i,
253
253
  abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,
254
254
  wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i
255
- }, ge = {
255
+ }, be = {
256
256
  narrow: [
257
257
  /^j/i,
258
258
  /^f/i,
@@ -281,18 +281,18 @@ const Y = [
281
281
  /^n/i,
282
282
  /^d/i
283
283
  ]
284
- }, be = {
284
+ }, ye = {
285
285
  narrow: /^[lmjvsd]/i,
286
286
  short: /^(di|lu|ma|me|je|ve|sa)/i,
287
287
  abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,
288
288
  wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i
289
- }, ye = {
289
+ }, we = {
290
290
  narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
291
291
  any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i]
292
- }, we = {
292
+ }, xe = {
293
293
  narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,
294
294
  any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i
295
- }, xe = {
295
+ }, Me = {
296
296
  any: {
297
297
  am: /^a/i,
298
298
  pm: /^p/i,
@@ -303,73 +303,73 @@ const Y = [
303
303
  evening: /soir/i,
304
304
  night: /nuit/i
305
305
  }
306
- }, Me = {
307
- ordinalNumber: q({
308
- matchPattern: ce,
309
- parsePattern: ue,
306
+ }, Ne = {
307
+ ordinalNumber: F({
308
+ matchPattern: ue,
309
+ parsePattern: me,
310
310
  valueCallback: (e) => parseInt(e)
311
311
  }),
312
312
  era: k({
313
- matchPatterns: me,
313
+ matchPatterns: fe,
314
314
  defaultMatchWidth: "wide",
315
- parsePatterns: fe,
315
+ parsePatterns: he,
316
316
  defaultParseWidth: "any"
317
317
  }),
318
318
  quarter: k({
319
- matchPatterns: he,
319
+ matchPatterns: pe,
320
320
  defaultMatchWidth: "wide",
321
- parsePatterns: pe,
321
+ parsePatterns: ge,
322
322
  defaultParseWidth: "any",
323
323
  valueCallback: (e) => e + 1
324
324
  }),
325
325
  month: k({
326
326
  matchPatterns: ve,
327
327
  defaultMatchWidth: "wide",
328
- parsePatterns: ge,
328
+ parsePatterns: be,
329
329
  defaultParseWidth: "any"
330
330
  }),
331
331
  day: k({
332
- matchPatterns: be,
332
+ matchPatterns: ye,
333
333
  defaultMatchWidth: "wide",
334
- parsePatterns: ye,
334
+ parsePatterns: we,
335
335
  defaultParseWidth: "any"
336
336
  }),
337
337
  dayPeriod: k({
338
- matchPatterns: we,
338
+ matchPatterns: xe,
339
339
  defaultMatchWidth: "any",
340
- parsePatterns: xe,
340
+ parsePatterns: Me,
341
341
  defaultParseWidth: "any"
342
342
  })
343
- }, S = {
343
+ }, z = {
344
344
  code: "fr",
345
- formatDistance: B,
346
- formatLong: Z,
347
- formatRelative: te,
348
- localize: de,
349
- match: Me,
345
+ formatDistance: K,
346
+ formatLong: ee,
347
+ formatRelative: ne,
348
+ localize: ce,
349
+ match: Ne,
350
350
  options: {
351
351
  weekStartsOn: 1,
352
352
  firstWeekContainsDate: 4
353
353
  }
354
- }, De = ({ date: e, onDateChange: t, placeholder: s }) => {
355
- const [r, i] = P(!1), l = j(null);
356
- T(() => {
354
+ }, Le = ({ date: e, onDateChange: t, placeholder: l }) => {
355
+ const [r, i] = C(!1), u = P(null);
356
+ j(() => {
357
357
  if (!r) return;
358
- const u = (f) => {
359
- l.current !== null && !l.current.contains(f.target) && i(!1);
358
+ const d = (c) => {
359
+ u.current !== null && !u.current.contains(c.target) && i(!1);
360
360
  };
361
- return document.addEventListener("mousedown", u), () => {
362
- document.removeEventListener("mousedown", u);
361
+ return document.addEventListener("mousedown", d), () => {
362
+ document.removeEventListener("mousedown", d);
363
363
  };
364
364
  }, [r]);
365
365
  const m = () => {
366
- i((u) => !u);
367
- }, c = (u) => {
368
- t(u), i(!1);
366
+ i((d) => !d);
367
+ }, h = (d) => {
368
+ t(d), i(!1);
369
369
  };
370
- return /* @__PURE__ */ d("div", { ref: l, className: "relative w-full", children: [
371
- /* @__PURE__ */ d(
372
- y,
370
+ return /* @__PURE__ */ s("div", { ref: u, className: "relative w-full", children: [
371
+ /* @__PURE__ */ s(
372
+ x,
373
373
  {
374
374
  variant: "outline",
375
375
  type: "button",
@@ -380,62 +380,62 @@ const Y = [
380
380
  e === void 0 && "text-muted-foreground"
381
381
  ),
382
382
  children: [
383
- /* @__PURE__ */ n(H, { className: "mr-2 h-4 w-4 shrink-0" }),
384
- e !== void 0 ? W(e, "dd/MM/yyyy", { locale: S }) : /* @__PURE__ */ n("span", { children: s })
383
+ /* @__PURE__ */ n(q, { className: "mr-2 h-4 w-4 shrink-0" }),
384
+ e !== void 0 ? W(e, "dd/MM/yyyy", { locale: z }) : /* @__PURE__ */ n("span", { children: l })
385
385
  ]
386
386
  }
387
387
  ),
388
- r ? /* @__PURE__ */ n("div", { className: "absolute left-0 top-[calc(100%+4px)] z-[100] rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2", children: /* @__PURE__ */ n(R, { mode: "single", selected: e, onSelect: c }) }) : null
388
+ r ? /* @__PURE__ */ n("div", { className: "absolute left-0 top-[calc(100%+4px)] z-[100] rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2", children: /* @__PURE__ */ n(A, { mode: "single", selected: e, onSelect: h }) }) : null
389
389
  ] });
390
- }, Ee = ({ value: e, onChange: t, placeholder: s = "Selectionner une periode", className: r }) => {
391
- const [i, l] = L.useState(!1), [m, c] = L.useState(e);
390
+ }, Ee = ({ value: e, onChange: t, placeholder: l = "Selectionner une periode", className: r }) => {
391
+ const [i, u] = L.useState(!1), [m, h] = L.useState(e);
392
392
  L.useEffect(() => {
393
- i && c(e);
393
+ i && h(e);
394
394
  }, [i, e]);
395
- const u = (h) => {
396
- h.stopPropagation(), t(void 0), l(!1);
397
- }, f = () => {
398
- t(m), l(!1);
395
+ const d = (f) => {
396
+ f.stopPropagation(), t(void 0), u(!1);
397
+ }, c = () => {
398
+ t(m), u(!1);
399
399
  }, p = () => {
400
- c(e), l(!1);
401
- }, w = () => {
402
- c(void 0);
403
- }, x = (h) => h != null && h.from ? !h.to || h.from.getTime() === h.to.getTime() ? W(h.from, "dd MMM yyyy", { locale: S }) : `${W(h.from, "dd MMM yyyy", { locale: S })} - ${W(h.to, "dd MMM yyyy", { locale: S })}` : s;
404
- return /* @__PURE__ */ n("div", { className: b("grid gap-2", r), children: /* @__PURE__ */ d(F, { open: i, onOpenChange: l, children: [
405
- /* @__PURE__ */ n(X, { asChild: !0, children: /* @__PURE__ */ d(y, { id: "date", variant: "outline", className: b("w-[300px] justify-start text-left font-normal", !(e != null && e.from) && "text-muted-foreground"), children: [
406
- /* @__PURE__ */ n(H, { className: "mr-2 size-4" }),
407
- x(e),
400
+ h(e), u(!1);
401
+ }, y = () => {
402
+ h(void 0);
403
+ }, w = (f) => f != null && f.from ? !f.to || f.from.getTime() === f.to.getTime() ? W(f.from, "dd MMM yyyy", { locale: z }) : `${W(f.from, "dd MMM yyyy", { locale: z })} - ${W(f.to, "dd MMM yyyy", { locale: z })}` : l;
404
+ return /* @__PURE__ */ n("div", { className: b("grid gap-2", r), children: /* @__PURE__ */ s(X, { open: i, onOpenChange: u, children: [
405
+ /* @__PURE__ */ n(V, { asChild: !0, children: /* @__PURE__ */ s(x, { id: "date", variant: "outline", className: b("w-[300px] justify-start text-left font-normal", !(e != null && e.from) && "text-muted-foreground"), children: [
406
+ /* @__PURE__ */ n(q, { className: "mr-2 size-4" }),
407
+ w(e),
408
408
  (e == null ? void 0 : e.from) && /* @__PURE__ */ n(
409
- y,
409
+ x,
410
410
  {
411
411
  type: "button",
412
412
  variant: "ghost",
413
413
  size: "icon",
414
414
  "aria-label": "Effacer la periode selectionnee",
415
415
  className: "ml-auto h-5 w-5 opacity-50 hover:opacity-100",
416
- onClick: u,
417
- children: /* @__PURE__ */ n(J, { className: "size-4" })
416
+ onClick: d,
417
+ children: /* @__PURE__ */ n(D, { className: "size-4" })
418
418
  }
419
419
  )
420
420
  ] }) }),
421
- /* @__PURE__ */ d(V, { className: "w-auto p-0", align: "start", side: "bottom", sideOffset: 4, children: [
421
+ /* @__PURE__ */ s(_, { className: "w-auto p-0", align: "start", side: "bottom", sideOffset: 4, children: [
422
422
  /* @__PURE__ */ n(
423
- R,
423
+ A,
424
424
  {
425
425
  mode: "range",
426
426
  defaultMonth: m == null ? void 0 : m.from,
427
427
  selected: m,
428
- onSelect: c,
428
+ onSelect: h,
429
429
  numberOfMonths: 2,
430
430
  weekStartsOn: 1,
431
431
  className: "pointer-events-auto p-3"
432
432
  }
433
433
  ),
434
- /* @__PURE__ */ d("div", { className: "flex items-center justify-between border-t border-border px-3 py-2", children: [
435
- /* @__PURE__ */ n(y, { variant: "ghost", size: "sm", onClick: w, children: "Effacer" }),
436
- /* @__PURE__ */ d("div", { className: "flex gap-2", children: [
437
- /* @__PURE__ */ n(y, { variant: "ghost", size: "sm", onClick: p, children: "Annuler" }),
438
- /* @__PURE__ */ n(y, { size: "sm", onClick: f, children: "Appliquer" })
434
+ /* @__PURE__ */ s("div", { className: "flex items-center justify-between border-t border-border px-3 py-2", children: [
435
+ /* @__PURE__ */ n(x, { variant: "ghost", size: "sm", onClick: y, children: "Effacer" }),
436
+ /* @__PURE__ */ s("div", { className: "flex gap-2", children: [
437
+ /* @__PURE__ */ n(x, { variant: "ghost", size: "sm", onClick: p, children: "Annuler" }),
438
+ /* @__PURE__ */ n(x, { size: "sm", onClick: c, children: "Appliquer" })
439
439
  ] })
440
440
  ] })
441
441
  ] })
@@ -443,49 +443,49 @@ const Y = [
443
443
  }, Je = ({
444
444
  options: e,
445
445
  selected: t,
446
- onToggle: s,
446
+ onToggle: l,
447
447
  onClear: r,
448
448
  onSelectAll: i,
449
- placeholder: l = "Sélectionner...",
449
+ placeholder: u = "Sélectionner...",
450
450
  searchable: m = !1,
451
- searchPlaceholder: c = "Rechercher..."
451
+ searchPlaceholder: h = "Rechercher..."
452
452
  }) => {
453
- const [u, f] = P(""), [p, w] = P(!1), x = j(null), h = j(null), g = z(() => u === "" ? e : e.filter((a) => a.label.toLowerCase().includes(u.toLowerCase())), [e, u]), o = z(() => g.length === 0 ? !1 : g.every((a) => t.includes(a.value)), [g, t]);
454
- T(() => {
453
+ const [d, c] = C(""), [p, y] = C(!1), w = P(null), f = P(null), v = S(() => d === "" ? e : e.filter((a) => a.label.toLowerCase().includes(d.toLowerCase())), [e, d]), T = S(() => v.length === 0 ? !1 : v.every((a) => t.includes(a.value)), [v, t]);
454
+ j(() => {
455
455
  p && m && requestAnimationFrame(() => {
456
456
  var a;
457
- (a = h.current) == null || a.focus();
457
+ (a = f.current) == null || a.focus();
458
458
  });
459
- }, [p, m]), T(() => {
459
+ }, [p, m]), j(() => {
460
460
  if (!p) return;
461
- const a = (v) => {
462
- x.current !== null && !x.current.contains(v.target) && (w(!1), f(""));
461
+ const a = (g) => {
462
+ w.current !== null && !w.current.contains(g.target) && (y(!1), c(""));
463
463
  };
464
464
  return document.addEventListener("mousedown", a), () => {
465
465
  document.removeEventListener("mousedown", a);
466
466
  };
467
467
  }, [p]);
468
- const M = () => {
469
- if (o) {
470
- const a = g.map((N) => N.value), v = t.filter((N) => !a.includes(N));
471
- i !== void 0 ? i(v) : r();
468
+ const O = () => {
469
+ if (T) {
470
+ const a = v.map((M) => M.value), g = t.filter((M) => !a.includes(M));
471
+ i !== void 0 ? i(g) : r();
472
472
  } else {
473
473
  const a = [...t];
474
- g.forEach((v) => {
475
- a.includes(v.value) || a.push(v.value);
476
- }), i !== void 0 ? i(a) : g.forEach((v) => {
477
- t.includes(v.value) || s(v.value);
474
+ v.forEach((g) => {
475
+ a.includes(g.value) || a.push(g.value);
476
+ }), i !== void 0 ? i(a) : v.forEach((g) => {
477
+ t.includes(g.value) || l(g.value);
478
478
  });
479
479
  }
480
480
  };
481
- return /* @__PURE__ */ d("div", { ref: x, className: "relative w-full", children: [
482
- /* @__PURE__ */ d(
483
- y,
481
+ return /* @__PURE__ */ s("div", { ref: w, className: "relative w-full", children: [
482
+ /* @__PURE__ */ s(
483
+ x,
484
484
  {
485
485
  variant: "outline",
486
486
  type: "button",
487
487
  onClick: () => {
488
- w((a) => (a && f(""), !a));
488
+ y((a) => (a && c(""), !a));
489
489
  },
490
490
  className: b(
491
491
  "w-full justify-between text-left font-normal focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
@@ -493,11 +493,11 @@ const Y = [
493
493
  t.length === 0 && "text-muted-foreground"
494
494
  ),
495
495
  children: [
496
- /* @__PURE__ */ n("span", { className: "truncate", children: t.length === 0 ? l : t.map((a) => {
497
- var v;
498
- return ((v = e.find((N) => N.value === a)) == null ? void 0 : v.label) ?? a;
496
+ /* @__PURE__ */ n("span", { className: "truncate", children: t.length === 0 ? u : t.map((a) => {
497
+ var g;
498
+ return ((g = e.find((M) => M.value === a)) == null ? void 0 : g.label) ?? a;
499
499
  }).join(", ") }),
500
- /* @__PURE__ */ d("div", { className: "flex shrink-0 items-center gap-1", children: [
500
+ /* @__PURE__ */ s("div", { className: "flex shrink-0 items-center gap-1", children: [
501
501
  t.length > 0 && /* @__PURE__ */ n(
502
502
  "span",
503
503
  {
@@ -506,43 +506,43 @@ const Y = [
506
506
  a.stopPropagation(), r();
507
507
  },
508
508
  className: "rounded-full p-0.5 opacity-50 transition-opacity hover:opacity-100",
509
- children: /* @__PURE__ */ n(J, { className: "h-3.5 w-3.5" })
509
+ children: /* @__PURE__ */ n(D, { className: "h-3.5 w-3.5" })
510
510
  }
511
511
  ),
512
- /* @__PURE__ */ n(A, { className: b("h-4 w-4 opacity-50 transition-transform", p && "rotate-180") })
512
+ /* @__PURE__ */ n(H, { className: b("h-4 w-4 opacity-50 transition-transform", p && "rotate-180") })
513
513
  ] })
514
514
  ]
515
515
  }
516
516
  ),
517
- p ? /* @__PURE__ */ d("div", { className: "absolute left-0 right-0 top-[calc(100%+4px)] z-[100] rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2", children: [
518
- m ? /* @__PURE__ */ n("div", { className: "border-b border-border p-2", children: /* @__PURE__ */ d("div", { className: "relative", children: [
519
- /* @__PURE__ */ n(E, { className: "absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" }),
517
+ p ? /* @__PURE__ */ s("div", { className: "absolute left-0 right-0 top-[calc(100%+4px)] z-[100] rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2", children: [
518
+ m ? /* @__PURE__ */ n("div", { className: "border-b border-border p-2", children: /* @__PURE__ */ s("div", { className: "relative", children: [
519
+ /* @__PURE__ */ n(J, { className: "absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" }),
520
520
  /* @__PURE__ */ n(
521
521
  "input",
522
522
  {
523
- ref: h,
523
+ ref: f,
524
524
  className: "w-full rounded-md bg-muted/50 py-1.5 pl-7 pr-2 text-sm text-foreground placeholder:text-muted-foreground outline-none focus:ring-1 focus:ring-ring",
525
- placeholder: c,
526
- value: u,
525
+ placeholder: h,
526
+ value: d,
527
527
  onChange: (a) => {
528
- f(a.target.value);
528
+ c(a.target.value);
529
529
  }
530
530
  }
531
531
  )
532
532
  ] }) }) : null,
533
- /* @__PURE__ */ d("div", { className: "flex flex-col gap-0.5 max-h-56 overflow-y-auto p-1.5", children: [
534
- g.length > 0 && /* @__PURE__ */ d("label", { className: "flex items-center gap-2.5 rounded-md px-2 py-2 text-sm hover:bg-muted cursor-pointer transition-colors", children: [
535
- /* @__PURE__ */ n(O, { checked: o, onCheckedChange: M }),
533
+ /* @__PURE__ */ s("div", { className: "flex flex-col gap-0.5 max-h-56 overflow-y-auto p-1.5", children: [
534
+ v.length > 0 && /* @__PURE__ */ s("label", { className: "flex items-center gap-2.5 rounded-md px-2 py-2 text-sm hover:bg-muted cursor-pointer transition-colors", children: [
535
+ /* @__PURE__ */ n(R, { checked: T, onCheckedChange: O }),
536
536
  "Tout sélectionner"
537
537
  ] }),
538
- g.length === 0 && /* @__PURE__ */ n("p", { className: "px-2 py-3 text-center text-xs text-muted-foreground", children: "Aucun résultat" }),
539
- g.map((a) => /* @__PURE__ */ d("label", { className: "flex items-center gap-2.5 rounded-md px-2 py-2 text-sm hover:bg-muted cursor-pointer transition-colors", children: [
538
+ v.length === 0 && /* @__PURE__ */ n("p", { className: "px-2 py-3 text-center text-xs text-muted-foreground", children: "Aucun résultat" }),
539
+ v.map((a) => /* @__PURE__ */ s("label", { className: "flex items-center gap-2.5 rounded-md px-2 py-2 text-sm hover:bg-muted cursor-pointer transition-colors", children: [
540
540
  /* @__PURE__ */ n(
541
- O,
541
+ R,
542
542
  {
543
543
  checked: t.includes(a.value),
544
544
  onCheckedChange: () => {
545
- s(a.value);
545
+ l(a.value);
546
546
  }
547
547
  }
548
548
  ),
@@ -563,83 +563,99 @@ const Y = [
563
563
  }, Oe = ({
564
564
  options: e,
565
565
  value: t,
566
- onChange: s,
567
- placeholder: r = "Sélectionner...",
568
- searchPlaceholder: i = "Rechercher..."
566
+ onChange: l,
567
+ onClear: r,
568
+ placeholder: i = "Sélectionner...",
569
+ searchPlaceholder: u = "Rechercher...",
570
+ disabled: m = !1
569
571
  }) => {
570
- const [l, m] = P(""), [c, u] = P(!1), f = j(null), p = j(null), w = z(() => l === "" ? e : e.filter((o) => o.label.toLowerCase().includes(l.toLowerCase())), [e, l]), x = z(() => {
572
+ const [h, d] = C(""), [c, p] = C(!1), y = P(null), w = P(null), f = S(() => h === "" ? e : e.filter((o) => o.label.toLowerCase().includes(h.toLowerCase())), [e, h]), v = S(() => {
571
573
  var o;
572
574
  if (!(t === void 0 || t === ""))
573
- return ((o = e.find((M) => M.value === t)) == null ? void 0 : o.label) ?? t;
575
+ return ((o = e.find((a) => a.value === t)) == null ? void 0 : o.label) ?? t;
574
576
  }, [e, t]);
575
- T(() => {
577
+ j(() => {
576
578
  c && requestAnimationFrame(() => {
577
579
  var o;
578
- (o = p.current) == null || o.focus();
580
+ (o = w.current) == null || o.focus();
579
581
  });
580
- }, [c]), T(() => {
582
+ }, [c]), j(() => {
581
583
  if (!c) return;
582
- const o = (M) => {
583
- f.current !== null && !f.current.contains(M.target) && (u(!1), m(""));
584
+ const o = (a) => {
585
+ y.current !== null && !y.current.contains(a.target) && (p(!1), d(""));
584
586
  };
585
587
  return document.addEventListener("mousedown", o), () => {
586
588
  document.removeEventListener("mousedown", o);
587
589
  };
588
590
  }, [c]);
589
- const h = (o) => {
590
- s(o), u(!1), m("");
591
+ const T = (o) => {
592
+ l(o), p(!1), d("");
591
593
  };
592
- return /* @__PURE__ */ d("div", { ref: f, className: "relative w-full", children: [
593
- /* @__PURE__ */ d(
594
- y,
594
+ return /* @__PURE__ */ s("div", { ref: y, className: "relative w-full", children: [
595
+ /* @__PURE__ */ s(
596
+ "button",
595
597
  {
596
- variant: "outline",
597
598
  type: "button",
598
599
  onClick: () => {
599
- u((o) => (o && m(""), !o));
600
+ m || p((o) => (o && d(""), !o));
600
601
  },
602
+ disabled: m,
601
603
  className: b(
602
- "w-full justify-between text-left font-normal focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
604
+ "flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",
603
605
  c && "ring-2 ring-ring ring-offset-2",
604
606
  (t === void 0 || t === "") && "text-muted-foreground"
605
607
  ),
606
608
  children: [
607
- /* @__PURE__ */ n("span", { className: "truncate", children: x ?? r }),
608
- /* @__PURE__ */ n(A, { className: b("h-4 w-4 opacity-50 shrink-0 transition-transform", c && "rotate-180") })
609
+ /* @__PURE__ */ n("span", { className: "truncate", children: v ?? i }),
610
+ /* @__PURE__ */ s("div", { className: "flex items-center gap-1", children: [
611
+ r && t !== void 0 && t !== "" && !m && /* @__PURE__ */ n(
612
+ "span",
613
+ {
614
+ role: "button",
615
+ tabIndex: -1,
616
+ onPointerDown: (o) => {
617
+ o.preventDefault(), o.stopPropagation(), r();
618
+ },
619
+ className: "text-muted-foreground hover:text-foreground",
620
+ children: /* @__PURE__ */ n(D, { className: "size-4" })
621
+ }
622
+ ),
623
+ /* @__PURE__ */ n(H, { className: b("h-4 w-4 opacity-50 shrink-0 transition-transform", c && "rotate-180") })
624
+ ] })
609
625
  ]
610
626
  }
611
627
  ),
612
- c ? /* @__PURE__ */ d("div", { className: "absolute left-0 right-0 top-[calc(100%+4px)] z-[100] rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2", children: [
613
- /* @__PURE__ */ n("div", { className: "border-b border-border p-2", children: /* @__PURE__ */ d("div", { className: "relative", children: [
614
- /* @__PURE__ */ n(E, { className: "absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" }),
628
+ c ? /* @__PURE__ */ s("div", { className: "absolute left-0 right-0 top-[calc(100%+4px)] z-[100] rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2", children: [
629
+ /* @__PURE__ */ n("div", { className: "border-b border-border p-2", children: /* @__PURE__ */ s("div", { className: "relative", children: [
630
+ /* @__PURE__ */ n(J, { className: "absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" }),
615
631
  /* @__PURE__ */ n(
616
632
  "input",
617
633
  {
618
- ref: p,
634
+ ref: w,
619
635
  className: "w-full rounded-md bg-muted/50 py-1.5 pl-7 pr-2 text-sm text-foreground placeholder:text-muted-foreground outline-none focus:ring-1 focus:ring-ring",
620
- placeholder: i,
621
- value: l,
636
+ placeholder: u,
637
+ value: h,
622
638
  onChange: (o) => {
623
- m(o.target.value);
639
+ d(o.target.value);
624
640
  }
625
641
  }
626
642
  )
627
643
  ] }) }),
628
- /* @__PURE__ */ d("div", { className: "flex flex-col gap-0.5 max-h-56 overflow-y-auto p-1.5", children: [
629
- w.length === 0 && /* @__PURE__ */ n("p", { className: "px-2 py-3 text-center text-xs text-muted-foreground", children: "Aucun résultat" }),
630
- w.map((o) => /* @__PURE__ */ d(
644
+ /* @__PURE__ */ s("div", { className: "flex flex-col gap-0.5 max-h-56 overflow-y-auto p-1.5 scrollbar-thin scrollbar-thumb-rounded scrollbar-thumb-muted-foreground/20 scrollbar-track-transparent [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-muted-foreground/20 [&::-webkit-scrollbar-track]:bg-transparent", children: [
645
+ f.length === 0 && /* @__PURE__ */ n("p", { className: "px-2 py-3 text-center text-xs text-muted-foreground", children: "Aucun résultat" }),
646
+ f.map((o) => /* @__PURE__ */ s(
631
647
  "button",
632
648
  {
633
649
  type: "button",
634
650
  onClick: () => {
635
- h(o.value);
651
+ T(o.value);
636
652
  },
637
653
  className: b(
638
654
  "flex items-center gap-2.5 rounded-md px-2 py-2 text-sm hover:bg-muted cursor-pointer transition-colors text-left w-full",
639
655
  t === o.value && "bg-muted font-medium"
640
656
  ),
641
657
  children: [
642
- /* @__PURE__ */ n(I, { className: b("size-3.5 shrink-0", t === o.value ? "opacity-100" : "opacity-0") }),
658
+ /* @__PURE__ */ n(Q, { className: b("size-3.5 shrink-0", t === o.value ? "opacity-100" : "opacity-0") }),
643
659
  o.label
644
660
  ]
645
661
  },
@@ -651,36 +667,36 @@ const Y = [
651
667
  }, Re = ({
652
668
  searchQuery: e,
653
669
  search: t,
654
- placeholder: s = "Rechercher...",
670
+ placeholder: l = "Rechercher...",
655
671
  onSearch: r,
656
672
  onSubmit: i,
657
- onClear: l,
673
+ onClear: u,
658
674
  className: m
659
675
  }) => {
660
- const c = e ?? t ?? "", u = () => {
661
- r(""), l !== void 0 && l();
676
+ const h = e ?? t ?? "", d = () => {
677
+ r(""), u !== void 0 && u();
662
678
  };
663
- return /* @__PURE__ */ d("div", { className: b("relative h-fit w-full md:w-64", m), children: [
664
- /* @__PURE__ */ n(E, { className: "absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4" }),
679
+ return /* @__PURE__ */ s("div", { className: b("relative h-fit w-full md:w-64", m), children: [
680
+ /* @__PURE__ */ n(J, { className: "absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4" }),
665
681
  /* @__PURE__ */ n(
666
- _,
682
+ I,
667
683
  {
668
- placeholder: s,
669
- value: c,
670
- onChange: (f) => {
671
- r(f.target.value);
684
+ placeholder: l,
685
+ value: h,
686
+ onChange: (c) => {
687
+ r(c.target.value);
672
688
  },
673
689
  className: "pl-8",
674
- onKeyDown: (f) => {
675
- f.key === "Enter" && i !== void 0 && (f.preventDefault(), i());
690
+ onKeyDown: (c) => {
691
+ c.key === "Enter" && i !== void 0 && (c.preventDefault(), i());
676
692
  }
677
693
  }
678
694
  ),
679
- c !== "" ? /* @__PURE__ */ n("button", { onClick: u, className: "absolute right-3 top-1/2 -translate-y-1/2 text-gray-500 hover:text-gray-700", type: "button", children: /* @__PURE__ */ n(J, { className: "size-4" }) }) : null
695
+ h !== "" ? /* @__PURE__ */ n("button", { onClick: d, className: "absolute right-3 top-1/2 -translate-y-1/2 text-gray-500 hover:text-gray-700", type: "button", children: /* @__PURE__ */ n(D, { className: "size-4" }) }) : null
680
696
  ] });
681
697
  };
682
698
  export {
683
- De as D,
699
+ Le as D,
684
700
  Je as M,
685
701
  Re as S,
686
702
  Ee as a,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as m, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as k, useEffect as M, useMemo as A } from "react";
3
- import { M as $, a as O, D as _, b as I, S as j } from "./SearchInput-CvBCMaFl.js";
3
+ import { M as $, a as O, D as _, b as I, S as j } from "./SearchInput-CKG1_3iS.js";
4
4
  import { aW as C, bD as z, bM as R, bF as B, bI as Q, bL as V, a$ as H, bH as W, bv as X, bx as G, bw as J, ce as K, _ as P } from "./toggle-group-iLf3T7oV.js";
5
5
  import "./alert-sHZy6NHC.js";
6
6
  import { B as w, C as U } from "./tooltip-CAu4DEhc.js";
@@ -1,4 +1,4 @@
1
- import { A as l, a as i, F as r, S as s, T as t } from "../../../TableFilter-TsVYIJlw.js";
1
+ import { A as l, a as i, F as r, S as s, T as t } from "../../../TableFilter-oBrNz-v_.js";
2
2
  export {
3
3
  l as ActiveFilters,
4
4
  i as AdvancedFilters,
@@ -1,8 +1,8 @@
1
1
  import { C as r, a as s, D as o, K as t, b as i, M as l } from "../../MetricCard-BjTGW3b2.js";
2
2
  import { A as b, C as D, a as g, F as T } from "../../ConfirmationDialog-Bv-O4ui4.js";
3
3
  import { D as c, a as d, b as A, c as m, d as S, e as f, f as x, g as C, h as F, i as P, P as h } from "../../toggle-group-iLf3T7oV.js";
4
- import { A as u, a as v, F as E, S as M, T as H } from "../../TableFilter-TsVYIJlw.js";
5
- import { D as y, a as B, M as I, S as L, b as N } from "../../SearchInput-CvBCMaFl.js";
4
+ import { A as u, a as v, F as E, S as M, T as H } from "../../TableFilter-oBrNz-v_.js";
5
+ import { D as y, a as B, M as I, S as L, b as N } from "../../SearchInput-CKG1_3iS.js";
6
6
  import { A as R, a as V } from "../../AppTitle-QlMMlpbQ.js";
7
7
  import { A as q } from "../../AppSubTitle-Bc8utqt7.js";
8
8
  import { S as z, a as G, T as J } from "../../Topbar-QKCJiWdO.js";
@@ -6,9 +6,11 @@ interface SearchableSelectProps {
6
6
  }[];
7
7
  value: string | undefined;
8
8
  onChange: (value: string) => void;
9
+ onClear?: () => void;
9
10
  placeholder?: string;
10
11
  searchPlaceholder?: string;
12
+ disabled?: boolean;
11
13
  }
12
- export declare const SearchableSelect: ({ options, value, onChange, placeholder, searchPlaceholder, }: SearchableSelectProps) => React.ReactElement;
14
+ export declare const SearchableSelect: ({ options, value, onChange, onClear, placeholder, searchPlaceholder, disabled, }: SearchableSelectProps) => React.ReactElement;
13
15
  export {};
14
16
  //# sourceMappingURL=SearchableSelect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchableSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/SearchableSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAKpE,UAAU,qBAAqB;IAC7B,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,gBAAgB,GAAI,+DAM9B,qBAAqB,KAAG,KAAK,CAAC,YA6GhC,CAAC"}
1
+ {"version":3,"file":"SearchableSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/SearchableSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAIpE,UAAU,qBAAqB;IAC7B,OAAO,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC5C,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,gBAAgB,GAAI,kFAQ9B,qBAAqB,KAAG,KAAK,CAAC,YA8HhC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { D as t, a as c, M as r, S as s, b as S } from "../../../SearchInput-CvBCMaFl.js";
1
+ import { D as t, a as c, M as r, S as s, b as S } from "../../../SearchInput-CKG1_3iS.js";
2
2
  export {
3
3
  t as DatePicker,
4
4
  c as DateRangePicker,
@@ -1,8 +1,8 @@
1
1
  import { C as s, a as o, D as r, K as t, b as n, M as i } from "../MetricCard-BjTGW3b2.js";
2
2
  import { A as b, C as p, a as u, F as g } from "../ConfirmationDialog-Bv-O4ui4.js";
3
3
  import { A as d, j as c, k as m, l as T, m as S, n as D, o as M, p as A, q as x, r as P, s as h, t as w, u as I, v, w as F, x as f, B, y as L, z as R, C as k, E as G, F as H, G as N, H as y, I as E, J as O, K as V, L as z, M as K, N as U, O as j, Q as q, R as J, S as Q, T as W, U as X, V as Y, W as Z, X as _, Y as $, Z as aa, _ as ea, $ as sa, a0 as oa, a1 as ra, a2 as ta, a3 as na, a4 as ia, a5 as la, a6 as ba, a7 as pa, a8 as ua, a9 as ga, aa as Ca, ab as da, ac as ca, ad as ma, ae as Ta, af as Sa, ag as Da, ah as Ma, ai as Aa, aj as xa, ak as Pa, al as ha, am as wa, D as Ia, a as va, b as Fa, c as fa, d as Ba, e as La, f as Ra, g as ka, h as Ga, i as Ha, an as Na, ao as ya, ap as Ea, aq as Oa, ar as Va, as as za, at as Ka, au as Ua, av as ja, aw as qa, ax as Ja, ay as Qa, az as Wa, aA as Xa, aB as Ya, aC as Za, aD as _a, aE as $a, aF as ae, aG as ee, aH as se, aI as oe, aJ as re, aK as te, aL as ne, aM as ie, aN as le, aO as be, aP as pe, aQ as ue, aR as ge, aS as Ce, aT as de, aU as ce, aV as me, aW as Te, aX as Se, aY as De, aZ as Me, a_ as Ae, a$ as xe, b0 as Pe, b1 as he, b2 as we, b3 as Ie, b4 as ve, b5 as Fe, b6 as fe, b7 as Be, b8 as Le, b9 as Re, ba as ke, bb as Ge, bc as He, bd as Ne, be as ye, bf as Ee, bg as Oe, bh as Ve, bi as ze, bj as Ke, bk as Ue, bl as je, bm as qe, bn as Je, bo as Qe, bp as We, bq as Xe, br as Ye, bs as Ze, bt as _e, bu as $e, bv as as, bw as es, bx as ss, P as os, by as rs, bz as ts, bA as ns, bB as is, bC as ls, bD as bs, bE as ps, bF as us, bG as gs, bH as Cs, bI as ds, bJ as cs, bK as ms, bL as Ts, bM as Ss, bN as Ds, bO as Ms, bP as As, bQ as xs, bR as Ps, bS as hs, bT as ws, bU as Is, bV as vs, bW as Fs, bX as fs, bY as Bs, bZ as Ls, b_ as Rs, b$ as ks, c0 as Gs, c1 as Hs, c2 as Ns, c3 as ys, c4 as Es, c5 as Os, c6 as Vs, c7 as zs, c8 as Ks, c9 as Us, ca as js, cb as qs, cc as Js, cd as Qs } from "../toggle-group-iLf3T7oV.js";
4
- import { A as Xs, a as Ys, F as Zs, S as _s, T as $s } from "../TableFilter-TsVYIJlw.js";
5
- import { D as eo, a as so, M as oo, S as ro, b as to } from "../SearchInput-CvBCMaFl.js";
4
+ import { A as Xs, a as Ys, F as Zs, S as _s, T as $s } from "../TableFilter-oBrNz-v_.js";
5
+ import { D as eo, a as so, M as oo, S as ro, b as to } from "../SearchInput-CKG1_3iS.js";
6
6
  import { A as io, a as lo } from "../AppTitle-QlMMlpbQ.js";
7
7
  import { A as po } from "../AppSubTitle-Bc8utqt7.js";
8
8
  import { S as go, a as Co, T as co } from "../Topbar-QKCJiWdO.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.96",
3
+ "version": "0.0.97",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "scripts": {