@krosoft/react 0.0.291 → 0.0.293
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/{GenericForm-B57ip3Zn.js → GenericForm-BdKwapAz.js} +1 -1
- package/dist/{MultiSelect-inNRlftX.js → MultiSelect-O4JP5fRO.js} +37 -42
- package/dist/components/core/dialogs/index.js +1 -1
- package/dist/components/core/filters/SearchableFilterPill.d.ts +2 -1
- package/dist/components/core/filters/SearchableFilterPill.d.ts.map +1 -1
- package/dist/components/core/filters/index.js +65 -68
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +4 -4
- package/dist/components/core/inputs/MultiSelect.d.ts.map +1 -1
- package/dist/components/core/inputs/index.js +2 -2
- package/dist/components/index.js +4 -4
- package/dist/{dialogs-qiw8m0uw.js → dialogs-BxyPBIc6.js} +1 -1
- package/dist/{inputs-8zGFhNHq.js → inputs-CUNf48Vk.js} +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import { i as h, l as g, n as _, t as v, u as y } from "./select-DmLScQKX.js";
|
|
|
8
8
|
import { n as b } from "./useToast-UeDRLovh.js";
|
|
9
9
|
import { t as x } from "./ImageInput-BPNEywyf.js";
|
|
10
10
|
import { t as S } from "./AppSubTitle-BOVTZlUB.js";
|
|
11
|
-
import { t as C } from "./MultiSelect-
|
|
11
|
+
import { t as C } from "./MultiSelect-O4JP5fRO.js";
|
|
12
12
|
import { useState as w } from "react";
|
|
13
13
|
import { jsx as T, jsxs as E } from "react/jsx-runtime";
|
|
14
14
|
import { useForm as D } from "react-hook-form";
|
|
@@ -75,55 +75,50 @@ var p = ({ options: p, selected: m, onToggle: h, onClear: g, onSelectAll: _, pla
|
|
|
75
75
|
}) : null,
|
|
76
76
|
/* @__PURE__ */ l("div", {
|
|
77
77
|
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",
|
|
78
|
-
children: [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
78
|
+
children: [A.length === 0 && /* @__PURE__ */ c("p", {
|
|
79
|
+
className: "px-2 py-3 text-center text-xs text-muted-foreground",
|
|
80
|
+
children: C("states.noResult")
|
|
81
|
+
}), A.map((e) => /* @__PURE__ */ l("label", {
|
|
82
|
+
className: "flex items-center gap-2.5 rounded-md px-2 py-2 text-sm hover:bg-muted cursor-pointer transition-colors",
|
|
83
|
+
children: [
|
|
84
|
+
/* @__PURE__ */ c(n, {
|
|
85
|
+
checked: m.includes(e.value),
|
|
83
86
|
onCheckedChange: () => {
|
|
84
|
-
|
|
85
|
-
let e = A.map((e) => e.value), t = m.filter((t) => !e.includes(t));
|
|
86
|
-
_ === void 0 ? g() : _(t);
|
|
87
|
-
} else {
|
|
88
|
-
let e = [...m];
|
|
89
|
-
A.forEach((t) => {
|
|
90
|
-
e.includes(t.value) || e.push(t.value);
|
|
91
|
-
}), _ === void 0 ? A.forEach((e) => {
|
|
92
|
-
m.includes(e.value) || h(e.value);
|
|
93
|
-
}) : _(e);
|
|
94
|
-
}
|
|
87
|
+
h(e.value);
|
|
95
88
|
}
|
|
96
|
-
}),
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
children: [
|
|
105
|
-
/* @__PURE__ */ c(n, {
|
|
106
|
-
checked: m.includes(e.value),
|
|
107
|
-
onCheckedChange: () => {
|
|
108
|
-
h(e.value);
|
|
109
|
-
}
|
|
110
|
-
}),
|
|
111
|
-
e.color && /* @__PURE__ */ c("span", {
|
|
112
|
-
className: "size-2.5 shrink-0 rounded-full",
|
|
113
|
-
style: { backgroundColor: e.color }
|
|
114
|
-
}),
|
|
115
|
-
e.label
|
|
116
|
-
]
|
|
117
|
-
}, e.value))
|
|
118
|
-
]
|
|
89
|
+
}),
|
|
90
|
+
e.color && /* @__PURE__ */ c("span", {
|
|
91
|
+
className: "size-2.5 shrink-0 rounded-full",
|
|
92
|
+
style: { backgroundColor: e.color }
|
|
93
|
+
}),
|
|
94
|
+
e.label
|
|
95
|
+
]
|
|
96
|
+
}, e.value))]
|
|
119
97
|
}),
|
|
120
|
-
|
|
98
|
+
A.length > 0 && /* @__PURE__ */ c("div", {
|
|
121
99
|
className: "border-t border-border p-1.5",
|
|
122
|
-
children: /* @__PURE__ */ c("button", {
|
|
100
|
+
children: j ? /* @__PURE__ */ c("button", {
|
|
123
101
|
type: "button",
|
|
124
102
|
onClick: g,
|
|
125
103
|
className: "w-full rounded-md px-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted transition-colors text-center",
|
|
126
|
-
children: "
|
|
104
|
+
children: C("filters.deselectAll")
|
|
105
|
+
}) : /* @__PURE__ */ c("button", {
|
|
106
|
+
type: "button",
|
|
107
|
+
onClick: () => {
|
|
108
|
+
if (j) {
|
|
109
|
+
let e = A.map((e) => e.value), t = m.filter((t) => !e.includes(t));
|
|
110
|
+
_ === void 0 ? g() : _(t);
|
|
111
|
+
} else {
|
|
112
|
+
let e = [...m];
|
|
113
|
+
A.forEach((t) => {
|
|
114
|
+
e.includes(t.value) || e.push(t.value);
|
|
115
|
+
}), _ === void 0 ? A.forEach((e) => {
|
|
116
|
+
m.includes(e.value) || h(e.value);
|
|
117
|
+
}) : _(e);
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
className: "w-full rounded-md px-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted transition-colors text-center",
|
|
121
|
+
children: C("filters.selectAll")
|
|
127
122
|
})
|
|
128
123
|
})
|
|
129
124
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { I as e } from "../../../ui-D8Pg34YW.js";
|
|
2
2
|
import { A as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, j as l, k as u } from "../../../sheet-DQTOen4V.js";
|
|
3
|
-
import { n as d, r as f, t as p } from "../../../dialogs-
|
|
3
|
+
import { n as d, r as f, t as p } from "../../../dialogs-BxyPBIc6.js";
|
|
4
4
|
export { f as AppDialog, p as ConfirmationDialog, r as Dialog, n as DialogClose, s as DialogContent, u as DialogDescription, t as DialogFooter, l as DialogHeader, a as DialogOverlay, o as DialogPortal, c as DialogTitle, i as DialogTrigger, d as FormDialog, e as Progress };
|
|
@@ -3,7 +3,7 @@ export interface FilterOption {
|
|
|
3
3
|
label: string;
|
|
4
4
|
color?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function SearchableFilterPill<T extends string>({ labelKey, options, selected, onToggle, onClear, onSelectAll, searchable, searchPlaceholder, }: {
|
|
6
|
+
export declare function SearchableFilterPill<T extends string>({ labelKey, options, selected, onToggle, onClear, onSelectAll, searchable, searchPlaceholder, className, }: {
|
|
7
7
|
labelKey: string;
|
|
8
8
|
options: FilterOption[];
|
|
9
9
|
selected: T[];
|
|
@@ -12,5 +12,6 @@ export declare function SearchableFilterPill<T extends string>({ labelKey, optio
|
|
|
12
12
|
onSelectAll?: (values: T[]) => void;
|
|
13
13
|
searchable?: boolean;
|
|
14
14
|
searchPlaceholder?: string;
|
|
15
|
+
className?: string;
|
|
15
16
|
}): React.ReactElement;
|
|
16
17
|
//# sourceMappingURL=SearchableFilterPill.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SearchableFilterPill.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/SearchableFilterPill.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EAAE,EACrD,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,WAAW,EACX,UAAkB,EAClB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"SearchableFilterPill.d.ts","sourceRoot":"","sources":["../../../../src/components/core/filters/SearchableFilterPill.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,MAAM,EAAE,EACrD,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,WAAW,EACX,UAAkB,EAClB,iBAAiB,EACjB,SAAiC,GAClC,EAAE;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,EAAE,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,KAAK,CAAC,YAAY,CA4IrB"}
|
|
@@ -4,7 +4,7 @@ import { At as n, Pn as r, bn as i } from "../../../ui-D8Pg34YW.js";
|
|
|
4
4
|
import { a, s as o } from "../../../tooltip-BmZ9Bfou.js";
|
|
5
5
|
import { a as s, g as c, h as l, l as u, m as d, o as f, p, r as m, t as h, u as g } from "../../../sheet-DQTOen4V.js";
|
|
6
6
|
import { i as _, l as v, n as y, t as b, u as x } from "../../../select-DmLScQKX.js";
|
|
7
|
-
import { t as S } from "../../../MultiSelect-
|
|
7
|
+
import { t as S } from "../../../MultiSelect-O4JP5fRO.js";
|
|
8
8
|
import { i as C, n as w, r as T, t as E } from "../../../SearchInput-BSIjKB_9.js";
|
|
9
9
|
import { useEffect as D, useMemo as O, useState as k } from "react";
|
|
10
10
|
import { jsx as A, jsxs as j } from "react/jsx-runtime";
|
|
@@ -275,24 +275,26 @@ function G({ options: e, value: t, onChange: n, variant: r = "solid" }) {
|
|
|
275
275
|
}
|
|
276
276
|
//#endregion
|
|
277
277
|
//#region src/components/core/filters/SearchableFilterPill.tsx
|
|
278
|
-
function K({ labelKey: n, options: r, selected: o, onToggle: s, onClear: c, onSelectAll: u, searchable: f = !1, searchPlaceholder: m }) {
|
|
279
|
-
let { t:
|
|
278
|
+
function K({ labelKey: n, options: r, selected: o, onToggle: s, onClear: c, onSelectAll: u, searchable: f = !1, searchPlaceholder: m, className: h = "w-full md:w-[180px]" }) {
|
|
279
|
+
let { t: g } = t(), [_, v] = k(""), y = o.length > 0, b = O(() => _ === "" ? r : r.filter((e) => e.label.toLowerCase().includes(_.toLowerCase())), [r, _]), x = O(() => b.length !== 0 && b.every((e) => o.includes(e.value)), [b, o]);
|
|
280
280
|
return /* @__PURE__ */ j(p, {
|
|
281
281
|
onOpenChange: () => {
|
|
282
|
-
|
|
282
|
+
v("");
|
|
283
283
|
},
|
|
284
284
|
children: [/* @__PURE__ */ A(l, {
|
|
285
285
|
asChild: !0,
|
|
286
286
|
children: /* @__PURE__ */ j("button", {
|
|
287
|
-
className: e(a, "inline-flex items-center gap-1.5 whitespace-nowrap transition-colors",
|
|
288
|
-
children: [
|
|
289
|
-
|
|
290
|
-
|
|
287
|
+
className: e(a, "inline-flex items-center justify-between gap-1.5 whitespace-nowrap transition-colors", y ? "border-primary bg-primary/10 text-primary font-medium" : "hover:bg-muted", h),
|
|
288
|
+
children: [/* @__PURE__ */ A("span", {
|
|
289
|
+
className: "truncate",
|
|
290
|
+
children: g(n)
|
|
291
|
+
}), /* @__PURE__ */ j("div", {
|
|
292
|
+
className: "flex shrink-0 items-center gap-1.5",
|
|
293
|
+
children: [o.length > 0 && /* @__PURE__ */ A("span", {
|
|
291
294
|
className: "flex h-4 min-w-[16px] items-center justify-center rounded-full bg-primary px-1 text-[10px] font-bold text-primary-foreground",
|
|
292
295
|
children: o.length
|
|
293
|
-
}),
|
|
294
|
-
|
|
295
|
-
]
|
|
296
|
+
}), /* @__PURE__ */ A(N, { className: "size-3.5 opacity-60" })]
|
|
297
|
+
})]
|
|
296
298
|
})
|
|
297
299
|
}), /* @__PURE__ */ j(d, {
|
|
298
300
|
className: "w-72 max-w-[var(--radix-popover-content-available-width)] p-0",
|
|
@@ -304,10 +306,10 @@ function K({ labelKey: n, options: r, selected: o, onToggle: s, onClear: c, onSe
|
|
|
304
306
|
className: "relative",
|
|
305
307
|
children: [/* @__PURE__ */ A(F, { className: "absolute left-2 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" }), /* @__PURE__ */ A("input", {
|
|
306
308
|
className: "w-full rounded-control 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",
|
|
307
|
-
placeholder: m ??
|
|
308
|
-
value:
|
|
309
|
+
placeholder: m ?? g("search.placeholder"),
|
|
310
|
+
value: _,
|
|
309
311
|
onChange: (e) => {
|
|
310
|
-
|
|
312
|
+
v(e.target.value);
|
|
311
313
|
},
|
|
312
314
|
autoFocus: !0
|
|
313
315
|
})]
|
|
@@ -315,69 +317,64 @@ function K({ labelKey: n, options: r, selected: o, onToggle: s, onClear: c, onSe
|
|
|
315
317
|
}) : null,
|
|
316
318
|
/* @__PURE__ */ j("div", {
|
|
317
319
|
className: "flex flex-col gap-0.5 max-h-56 overflow-y-auto overflow-x-hidden p-1.5",
|
|
318
|
-
children: [
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
} else if (u !== void 0) {
|
|
332
|
-
let e = [...o];
|
|
333
|
-
y.forEach((t) => {
|
|
334
|
-
e.includes(t.value) || e.push(t.value);
|
|
335
|
-
}), u(e);
|
|
336
|
-
} else y.forEach((e) => {
|
|
337
|
-
o.includes(e.value) || s(e.value);
|
|
338
|
-
});
|
|
339
|
-
}
|
|
340
|
-
}), h("filters.selectAll")]
|
|
341
|
-
}),
|
|
342
|
-
y.length === 0 && /* @__PURE__ */ A("p", {
|
|
343
|
-
className: "px-2 py-3 text-center text-xs text-muted-foreground",
|
|
344
|
-
children: h("states.noResult")
|
|
345
|
-
}),
|
|
346
|
-
y.map((e) => /* @__PURE__ */ j("label", {
|
|
347
|
-
className: "flex min-w-0 items-center gap-2.5 rounded-md px-2 py-2 text-sm hover:bg-muted cursor-pointer transition-colors",
|
|
348
|
-
children: [
|
|
349
|
-
/* @__PURE__ */ A("span", {
|
|
350
|
-
className: "shrink-0",
|
|
351
|
-
children: /* @__PURE__ */ A(i, {
|
|
352
|
-
checked: o.includes(e.value),
|
|
353
|
-
onCheckedChange: () => {
|
|
354
|
-
s(e.value);
|
|
355
|
-
}
|
|
356
|
-
})
|
|
357
|
-
}),
|
|
358
|
-
e.color && /* @__PURE__ */ A("span", {
|
|
359
|
-
className: "size-2.5 shrink-0 rounded-full",
|
|
360
|
-
style: { backgroundColor: e.color }
|
|
361
|
-
}),
|
|
362
|
-
/* @__PURE__ */ A("span", {
|
|
363
|
-
className: "min-w-0 flex-1 truncate",
|
|
364
|
-
title: e.label,
|
|
365
|
-
children: e.label
|
|
320
|
+
children: [b.length === 0 && /* @__PURE__ */ A("p", {
|
|
321
|
+
className: "px-2 py-3 text-center text-xs text-muted-foreground",
|
|
322
|
+
children: g("states.noResult")
|
|
323
|
+
}), b.map((e) => /* @__PURE__ */ j("label", {
|
|
324
|
+
className: "flex min-w-0 items-center gap-2.5 rounded-md px-2 py-2 text-sm hover:bg-muted cursor-pointer transition-colors",
|
|
325
|
+
children: [
|
|
326
|
+
/* @__PURE__ */ A("span", {
|
|
327
|
+
className: "shrink-0",
|
|
328
|
+
children: /* @__PURE__ */ A(i, {
|
|
329
|
+
checked: o.includes(e.value),
|
|
330
|
+
onCheckedChange: () => {
|
|
331
|
+
s(e.value);
|
|
332
|
+
}
|
|
366
333
|
})
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
334
|
+
}),
|
|
335
|
+
e.color && /* @__PURE__ */ A("span", {
|
|
336
|
+
className: "size-2.5 shrink-0 rounded-full",
|
|
337
|
+
style: { backgroundColor: e.color }
|
|
338
|
+
}),
|
|
339
|
+
/* @__PURE__ */ A("span", {
|
|
340
|
+
className: "min-w-0 flex-1 truncate",
|
|
341
|
+
title: e.label,
|
|
342
|
+
children: e.label
|
|
343
|
+
})
|
|
344
|
+
]
|
|
345
|
+
}, e.value))]
|
|
370
346
|
}),
|
|
371
|
-
|
|
347
|
+
b.length > 0 && /* @__PURE__ */ A("div", {
|
|
372
348
|
className: "border-t border-border p-1.5",
|
|
373
|
-
children: /* @__PURE__ */ A("button", {
|
|
349
|
+
children: x ? /* @__PURE__ */ A("button", {
|
|
374
350
|
onClick: () => {
|
|
375
351
|
c === void 0 ? o.forEach((e) => {
|
|
376
352
|
s(e);
|
|
377
353
|
}) : c();
|
|
378
354
|
},
|
|
379
355
|
className: "w-full rounded-md px-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted transition-colors text-center",
|
|
380
|
-
children:
|
|
356
|
+
children: g("filters.deselectAll")
|
|
357
|
+
}) : /* @__PURE__ */ A("button", {
|
|
358
|
+
type: "button",
|
|
359
|
+
onClick: () => {
|
|
360
|
+
if (x) {
|
|
361
|
+
if (u !== void 0) {
|
|
362
|
+
let e = b.map((e) => e.value);
|
|
363
|
+
u(o.filter((t) => !e.includes(t)));
|
|
364
|
+
} else c === void 0 ? o.forEach((e) => {
|
|
365
|
+
s(e);
|
|
366
|
+
}) : c();
|
|
367
|
+
} else if (u !== void 0) {
|
|
368
|
+
let e = [...o];
|
|
369
|
+
b.forEach((t) => {
|
|
370
|
+
e.includes(t.value) || e.push(t.value);
|
|
371
|
+
}), u(e);
|
|
372
|
+
} else b.forEach((e) => {
|
|
373
|
+
o.includes(e.value) || s(e.value);
|
|
374
|
+
});
|
|
375
|
+
},
|
|
376
|
+
className: "w-full rounded-md px-2 py-1.5 text-xs text-muted-foreground hover:text-foreground hover:bg-muted transition-colors text-center",
|
|
377
|
+
children: g("filters.selectAll")
|
|
381
378
|
})
|
|
382
379
|
})
|
|
383
380
|
]
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../../GenericForm-
|
|
1
|
+
import { t as e } from "../../../GenericForm-BdKwapAz.js";
|
|
2
2
|
export { e as GenericForm };
|
|
@@ -2,17 +2,17 @@ import { a as e, i as t, n, o as r, r as i, t as a } from "../../cards-BBgGXmYa.
|
|
|
2
2
|
import { I as o } from "../../ui-D8Pg34YW.js";
|
|
3
3
|
import { A as s, D as c, E as l, F as u, M as d, N as f, O as p, P as m, j as h, k as g } from "../../sheet-DQTOen4V.js";
|
|
4
4
|
import { a as _, c as v, i as y, n as b, o as x, r as S, s as C, t as w } from "../../charts-C7MWuqi9.js";
|
|
5
|
-
import { n as T, r as E, t as D } from "../../dialogs-
|
|
5
|
+
import { n as T, r as E, t as D } from "../../dialogs-BxyPBIc6.js";
|
|
6
6
|
import { t as O } from "../../ImageInput-BPNEywyf.js";
|
|
7
7
|
import { t as k } from "../../AppActions-CpbkO_3O.js";
|
|
8
8
|
import { t as A } from "../../AppSubTitle-BOVTZlUB.js";
|
|
9
|
-
import { t as j } from "../../MultiSelect-
|
|
10
|
-
import { t as M } from "../../GenericForm-
|
|
9
|
+
import { t as j } from "../../MultiSelect-O4JP5fRO.js";
|
|
10
|
+
import { t as M } from "../../GenericForm-BdKwapAz.js";
|
|
11
11
|
import { t as N } from "../../ErrorAlert-L2s8Dd1_.js";
|
|
12
12
|
import { i as P, n as F, r as I, t as L } from "../../SearchInput-BSIjKB_9.js";
|
|
13
13
|
import { ActiveFilters as R, AdvancedFilters as z, FilterField as B, FilterPills as V, FilterPillsGroup as H, SearchableFilterPill as U, TableFilter as W } from "./filters/index.js";
|
|
14
14
|
import "./forms/index.js";
|
|
15
|
-
import { t as G } from "../../inputs-
|
|
15
|
+
import { t as G } from "../../inputs-CUNf48Vk.js";
|
|
16
16
|
import { t as K } from "../../language-DOGOdjzx.js";
|
|
17
17
|
import { t as q } from "../../AppTitle-BZ5jQWbs.js";
|
|
18
18
|
import { n as J, t as Y } from "../../states-BQK9jqS4.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/MultiSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAIpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,GAAI,wHAWzB,gBAAgB,KAAG,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/MultiSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAIpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,UAAU,gBAAgB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,GAAI,wHAWzB,gBAAgB,KAAG,KAAK,CAAC,YA8K3B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "../../../ImageInput-BPNEywyf.js";
|
|
2
|
-
import { t } from "../../../MultiSelect-
|
|
2
|
+
import { t } from "../../../MultiSelect-O4JP5fRO.js";
|
|
3
3
|
import { i as n, n as r, r as i, t as a } from "../../../SearchInput-BSIjKB_9.js";
|
|
4
|
-
import { t as o } from "../../../inputs-
|
|
4
|
+
import { t as o } from "../../../inputs-CUNf48Vk.js";
|
|
5
5
|
export { n as DatePicker, i as DateRangePicker, e as ImageInput, t as MultiSelect, o as RatingInput, a as SearchInput, r as SearchableSelect };
|
package/dist/components/index.js
CHANGED
|
@@ -7,16 +7,16 @@ import { A as On, C as kn, D as An, E as jn, F as Mn, M as Nn, N as Pn, O as Fn,
|
|
|
7
7
|
import { a as lr, c as ur, i as dr, l as fr, n as pr, o as mr, r as hr, s as gr, t as _r, u as vr } from "../select-DmLScQKX.js";
|
|
8
8
|
import { t as yr } from "../skeleton-D6Ga4BLw.js";
|
|
9
9
|
import { a as br, c as xr, i as Sr, n as Cr, o as wr, r as Tr, s as Er, t as Dr } from "../charts-C7MWuqi9.js";
|
|
10
|
-
import { n as Or, r as kr, t as Ar } from "../dialogs-
|
|
10
|
+
import { n as Or, r as kr, t as Ar } from "../dialogs-BxyPBIc6.js";
|
|
11
11
|
import { t as jr } from "../ImageInput-BPNEywyf.js";
|
|
12
12
|
import { t as Mr } from "../AppActions-CpbkO_3O.js";
|
|
13
13
|
import { t as Nr } from "../AppSubTitle-BOVTZlUB.js";
|
|
14
|
-
import { t as Pr } from "../MultiSelect-
|
|
15
|
-
import { t as Fr } from "../GenericForm-
|
|
14
|
+
import { t as Pr } from "../MultiSelect-O4JP5fRO.js";
|
|
15
|
+
import { t as Fr } from "../GenericForm-BdKwapAz.js";
|
|
16
16
|
import { t as Ir } from "../ErrorAlert-L2s8Dd1_.js";
|
|
17
17
|
import { i as Lr, n as Rr, r as zr, t as Br } from "../SearchInput-BSIjKB_9.js";
|
|
18
18
|
import { ActiveFilters as Vr, AdvancedFilters as Hr, FilterField as Ur, FilterPills as Wr, FilterPillsGroup as Gr, SearchableFilterPill as Kr, TableFilter as qr } from "./core/filters/index.js";
|
|
19
|
-
import { t as Jr } from "../inputs-
|
|
19
|
+
import { t as Jr } from "../inputs-CUNf48Vk.js";
|
|
20
20
|
import { t as Yr } from "../language-DOGOdjzx.js";
|
|
21
21
|
import { t as Xr } from "../AppTitle-BZ5jQWbs.js";
|
|
22
22
|
import { n as Zr, t as Qr } from "../states-BQK9jqS4.js";
|
|
@@ -3,7 +3,7 @@ import { Bn as t, Gn as n, Hn as r, I as i, Kn as a, Un as o, Wn as s, qn as c }
|
|
|
3
3
|
import { n as l, t as u } from "./alert-REQGK9bR.js";
|
|
4
4
|
import { s as d } from "./tooltip-BmZ9Bfou.js";
|
|
5
5
|
import { E as f, O as p, P as m, j as h, k as g } from "./sheet-DQTOen4V.js";
|
|
6
|
-
import { t as _ } from "./GenericForm-
|
|
6
|
+
import { t as _ } from "./GenericForm-BdKwapAz.js";
|
|
7
7
|
import { t as v } from "./ErrorAlert-L2s8Dd1_.js";
|
|
8
8
|
import { useEffect as y, useState as b } from "react";
|
|
9
9
|
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
2
|
import "./ImageInput-BPNEywyf.js";
|
|
3
|
-
import "./MultiSelect-
|
|
3
|
+
import "./MultiSelect-O4JP5fRO.js";
|
|
4
4
|
import "./SearchInput-BSIjKB_9.js";
|
|
5
5
|
import { jsx as t } from "react/jsx-runtime";
|
|
6
6
|
import { Heart as n, Star as r } from "lucide-react";
|