@konstructio/ui 0.1.2-alpha.2 → 0.1.2-alpha.20

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.
Files changed (110) hide show
  1. package/dist/{Modal-V67Uz78z.js → Modal-B8jrP02v.js} +20 -20
  2. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  3. package/dist/{chevron-down-BLZPftpV.js → chevron-down-J5nS1Tu0.js} +2 -2
  4. package/dist/chevron-right-DeMVrnIg.js +19 -0
  5. package/dist/components/Alert/Alert.js +2 -2
  6. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  7. package/dist/components/AlertDialog/components/AlertDialogTrigger.js +1 -1
  8. package/dist/components/AlertDialog/components/index.js +1 -1
  9. package/dist/components/Badge/Badge.js +31 -28
  10. package/dist/components/Badge/Badge.variants.js +7 -5
  11. package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
  12. package/dist/components/Breadcrumb/components/Item/Item.js +24 -23
  13. package/dist/components/Button/Button.variants.js +1 -1
  14. package/dist/components/Checkbox/Checkbox.js +5 -4
  15. package/dist/components/Checkbox/Checkbox.variants.js +5 -4
  16. package/dist/components/Command/Command.js +2 -2
  17. package/dist/components/Command/components/Command.js +1 -1
  18. package/dist/components/Command/components/CommandEmpty.js +1 -1
  19. package/dist/components/Command/components/CommandGroup.js +1 -1
  20. package/dist/components/Command/components/CommandInput.js +2 -2
  21. package/dist/components/Command/components/CommandItem.js +1 -1
  22. package/dist/components/Command/components/CommandList.js +1 -1
  23. package/dist/components/Command/components/CommandSeparator.js +1 -1
  24. package/dist/components/Command/components/DialogContent.js +2 -2
  25. package/dist/components/Command/components/DialogOverlay.js +1 -1
  26. package/dist/components/Datepicker/DatePicker.js +545 -543
  27. package/dist/components/Dropdown/Dropdown.js +36 -24
  28. package/dist/components/Dropdown/Dropdown.variants.js +32 -9
  29. package/dist/components/Dropdown/components/List/List.js +64 -45
  30. package/dist/components/Dropdown/components/List/List.variants.js +9 -7
  31. package/dist/components/Dropdown/components/ListItem/ListItem.js +70 -24
  32. package/dist/components/Dropdown/components/ListItem/ListItem.variants.js +9 -7
  33. package/dist/components/Dropdown/components/Wrapper.js +154 -108
  34. package/dist/components/Dropdown/contexts/dropdown.context.js +9 -8
  35. package/dist/components/Dropdown/contexts/dropdown.provider.js +20 -19
  36. package/dist/components/Dropdown/hooks/useDropdown.js +30 -27
  37. package/dist/components/Dropdown/hooks/useNavigationList.js +32 -28
  38. package/dist/components/DropdownButton/DropdownButton.js +1 -1
  39. package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +1 -1
  40. package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +1 -1
  41. package/dist/components/Input/Input.js +1 -1
  42. package/dist/components/Loading/Loading.js +2 -2
  43. package/dist/components/Modal/Modal.js +2 -2
  44. package/dist/components/Modal/components/Wrapper/Wrapper.js +3 -3
  45. package/dist/components/Modal/components/index.js +1 -1
  46. package/dist/components/NumberInput/NumberInput.js +2 -2
  47. package/dist/components/PieChart/PieChart.js +649 -648
  48. package/dist/components/Range/Range.js +1 -1
  49. package/dist/components/Sidebar/components/Wrapper/Wrapper.js +29 -28
  50. package/dist/components/Skeleton/Skeleton.js +42 -0
  51. package/dist/components/Slider/Slider.js +1 -1
  52. package/dist/components/Switch/Switch.js +6 -5
  53. package/dist/components/Tabs/Tabs.js +1 -1
  54. package/dist/components/Tabs/Tabs.variants.js +45 -24
  55. package/dist/components/Tabs/components/Content.js +1 -1
  56. package/dist/components/Tabs/components/List.js +1 -1
  57. package/dist/components/Tabs/components/Trigger.js +9 -8
  58. package/dist/components/TagSelect/components/Wrapper/Wrapper.js +98 -49
  59. package/dist/components/TimePicker/components/Wrapper/Wrapper.js +1 -1
  60. package/dist/components/Toast/Toast.js +57 -55
  61. package/dist/components/VirtualizedTable/VirtualizedTable.js +121 -0
  62. package/dist/components/VirtualizedTable/VirtualizedTable.variants.js +5 -0
  63. package/dist/components/VirtualizedTable/assets/chevron-down.js +25 -0
  64. package/dist/components/VirtualizedTable/assets/chevron-up.js +25 -0
  65. package/dist/components/VirtualizedTable/assets/index.js +6 -0
  66. package/dist/components/VirtualizedTable/components/Actions/Actions.js +40 -0
  67. package/dist/components/VirtualizedTable/components/Body/Body.js +26 -0
  68. package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +165 -0
  69. package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +34 -0
  70. package/dist/components/VirtualizedTable/components/Filter/Filter.js +88 -0
  71. package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +48 -0
  72. package/dist/components/VirtualizedTable/components/Header/Header.js +82 -0
  73. package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +45 -0
  74. package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +1871 -0
  75. package/dist/components/VirtualizedTable/components/index.js +14 -0
  76. package/dist/components/VirtualizedTable/constants/index.js +5 -0
  77. package/dist/components/VirtualizedTable/constants/pagination.js +5 -0
  78. package/dist/components/VirtualizedTable/contexts/index.js +8 -0
  79. package/dist/components/VirtualizedTable/contexts/table.context.js +31 -0
  80. package/dist/components/VirtualizedTable/contexts/table.hook.js +11 -0
  81. package/dist/components/VirtualizedTable/contexts/table.provider.js +84 -0
  82. package/dist/components/index.js +44 -40
  83. package/dist/{createLucideIcon-DbC6TvM5.js → createLucideIcon-DGhJ8Z4k.js} +4 -4
  84. package/dist/debounce-BFejQm9P.js +200 -0
  85. package/dist/ellipsis-vertical-DpnVYRxI.js +15 -0
  86. package/dist/{index-D3xzCzcO.js → index-0XtjXVpJ.js} +2 -2
  87. package/dist/index-BAEWsOG1.js +27 -0
  88. package/dist/index-BVRIAMfe.js +36 -0
  89. package/dist/index-BZPx6jYI.js +8 -0
  90. package/dist/{index-Oq5GlCHP.js → index-Bn4c-gww.js} +1 -1
  91. package/dist/index-CffpTFMi.js +137 -0
  92. package/dist/{index-BAraV3ai.js → index-DQJhMz8c.js} +1 -1
  93. package/dist/index-DdXGVVBv.js +15 -0
  94. package/dist/index-Dx2grAuN.js +1742 -0
  95. package/dist/{index-h-Ul0anl.js → index-N2OStZoU.js} +1 -1
  96. package/dist/{index-BXuxPoz7.js → index-amYX3uxF.js} +18 -17
  97. package/dist/{index-DB2XhXHn.js → index-l3NwplN0.js} +11 -10
  98. package/dist/{index-iXyXtdgP.js → index-sp5ZfG6g.js} +1 -1
  99. package/dist/index.d.ts +121 -10
  100. package/dist/index.js +41 -37
  101. package/dist/package.json +33 -25
  102. package/dist/styles.css +1 -1
  103. package/dist/ui/civo-theme.css +191 -167
  104. package/dist/{x-BPcqkRZd.js → x-4F_5p77m.js} +1 -1
  105. package/package.json +33 -25
  106. package/dist/_commonjsHelpers-C6fGbg64.js +0 -6
  107. package/dist/chevron-up-RLP4nX7V.js +0 -54
  108. package/dist/index-C9T9HQaa.js +0 -423
  109. package/dist/index-CZnD2QxM.js +0 -32
  110. package/dist/index-CrBonFvu.js +0 -144
@@ -0,0 +1,165 @@
1
+ import { jsx as i, jsxs as m } from "react/jsx-runtime";
2
+ import { memo as u } from "react";
3
+ import { cn as p } from "../../../../utils/index.js";
4
+ import { C as g, a as d } from "../../../../chevron-right-DeMVrnIg.js";
5
+ import { useTableContext as f } from "../../contexts/table.hook.js";
6
+ const r = u(
7
+ ({
8
+ index: e,
9
+ currentPage: t,
10
+ handlePage: l
11
+ }) => /* @__PURE__ */ i("li", { children: /* @__PURE__ */ i(
12
+ "button",
13
+ {
14
+ type: "button",
15
+ onClick: () => l(e),
16
+ className: p("px-2.5 py-1 rounded-lg text-blue-600 cursor-pointer", {
17
+ "bg-blue-600 text-white": e === t
18
+ }),
19
+ children: e + 1
20
+ }
21
+ ) }, e)
22
+ );
23
+ r.displayName = "PageButton";
24
+ const o = u(({ keyValue: e }) => /* @__PURE__ */ i("li", { className: "px-2", children: /* @__PURE__ */ i("span", { className: "text-blue-600 select-none", children: "..." }) }, e));
25
+ o.displayName = "Ellipsis";
26
+ const a = u(
27
+ ({
28
+ direction: e,
29
+ onClick: t,
30
+ disabled: l
31
+ }) => /* @__PURE__ */ i("li", { className: "flex items-center justify-center", children: /* @__PURE__ */ i("button", { onClick: t, disabled: l, children: /* @__PURE__ */ i(
32
+ e === "left" ? g : d,
33
+ {
34
+ className: p("h-6 w-6 cursor-pointer", {
35
+ "text-blue-600": !l,
36
+ "text-slate-400 cursor-not-allowed": l
37
+ })
38
+ }
39
+ ) }) })
40
+ );
41
+ a.displayName = "NavigationButton";
42
+ const k = () => {
43
+ const { totalPages: e, page: t, handlePage: l } = f();
44
+ return /* @__PURE__ */ m("ul", { className: "flex items-center gap-2", children: [
45
+ /* @__PURE__ */ i(
46
+ a,
47
+ {
48
+ direction: "left",
49
+ onClick: () => l(t - 1),
50
+ disabled: t === 0
51
+ }
52
+ ),
53
+ (() => {
54
+ if (e <= 5)
55
+ return Array.from({ length: e }, (s, c) => /* @__PURE__ */ i(
56
+ r,
57
+ {
58
+ index: c,
59
+ currentPage: t,
60
+ handlePage: l
61
+ },
62
+ c
63
+ ));
64
+ const n = [];
65
+ if (t < 3) {
66
+ for (let s = 0; s < 3; s++)
67
+ n.push(
68
+ /* @__PURE__ */ i(
69
+ r,
70
+ {
71
+ index: s,
72
+ currentPage: t,
73
+ handlePage: l
74
+ },
75
+ s
76
+ )
77
+ );
78
+ n.push(/* @__PURE__ */ i(o, { keyValue: "ellipsis" }, "ellipsis"));
79
+ for (let s = e - 2; s < e; s++)
80
+ n.push(
81
+ /* @__PURE__ */ i(
82
+ r,
83
+ {
84
+ index: s,
85
+ currentPage: t,
86
+ handlePage: l
87
+ },
88
+ s
89
+ )
90
+ );
91
+ } else if (t >= e - 5) {
92
+ n.push(
93
+ /* @__PURE__ */ i(
94
+ r,
95
+ {
96
+ index: 0,
97
+ currentPage: t,
98
+ handlePage: l
99
+ },
100
+ 0
101
+ )
102
+ ), e > 6 && n.push(/* @__PURE__ */ i(o, { keyValue: "ellipsis" }, "ellipsis"));
103
+ for (let s = Math.max(1, e - 5); s < e; s++)
104
+ n.push(
105
+ /* @__PURE__ */ i(
106
+ r,
107
+ {
108
+ index: s,
109
+ currentPage: t,
110
+ handlePage: l
111
+ },
112
+ s
113
+ )
114
+ );
115
+ } else {
116
+ n.push(
117
+ /* @__PURE__ */ i(
118
+ r,
119
+ {
120
+ index: 0,
121
+ currentPage: t,
122
+ handlePage: l
123
+ },
124
+ 0
125
+ )
126
+ ), t > 3 && n.push(/* @__PURE__ */ i(o, { keyValue: "ellipsis1" }, "ellipsis1"));
127
+ for (let s = t - 1; s <= t + 1; s++)
128
+ s > 0 && s < e - 1 && n.push(
129
+ /* @__PURE__ */ i(
130
+ r,
131
+ {
132
+ index: s,
133
+ currentPage: t,
134
+ handlePage: l
135
+ },
136
+ s
137
+ )
138
+ );
139
+ t < e - 4 && n.push(/* @__PURE__ */ i(o, { keyValue: "ellipsis2" }, "ellipsis2")), n.push(
140
+ /* @__PURE__ */ i(
141
+ r,
142
+ {
143
+ index: e - 1,
144
+ currentPage: t,
145
+ handlePage: l
146
+ },
147
+ e - 1
148
+ )
149
+ );
150
+ }
151
+ return n;
152
+ })(),
153
+ /* @__PURE__ */ i(
154
+ a,
155
+ {
156
+ direction: "right",
157
+ onClick: () => l(t + 1),
158
+ disabled: t >= e - 1
159
+ }
160
+ )
161
+ ] });
162
+ };
163
+ export {
164
+ k as DotPaginate
165
+ };
@@ -0,0 +1,34 @@
1
+ import { jsxs as i, jsx as a } from "react/jsx-runtime";
2
+ import { useMemo as p, useCallback as l } from "react";
3
+ import { Dropdown as c } from "../../../Dropdown/Dropdown.js";
4
+ import { DEFAULT_PAGE_SIZES as g } from "../../constants/pagination.js";
5
+ import { useTableContext as x } from "../../contexts/table.hook.js";
6
+ const b = ({
7
+ pageSizes: n = g
8
+ }) => {
9
+ const { pageSize: s, onPageSize: o, handlePage: t } = x(), r = p(
10
+ () => n.map(String).map((e) => ({ label: e, value: e })),
11
+ []
12
+ ), m = l(
13
+ (e) => {
14
+ o(Number(e)), t(0);
15
+ },
16
+ [t, o]
17
+ );
18
+ return /* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
19
+ /* @__PURE__ */ a("span", { children: "Show" }),
20
+ /* @__PURE__ */ a(
21
+ c,
22
+ {
23
+ className: "w-[88px] [&>div>p]:text-xs bg-white",
24
+ listItemClassName: "[&>p]:text-xs",
25
+ options: r,
26
+ value: s.toString(),
27
+ onChange: ({ target: e }) => m(e.value)
28
+ }
29
+ )
30
+ ] });
31
+ };
32
+ export {
33
+ b as DropdownPaginate
34
+ };
@@ -0,0 +1,88 @@
1
+ import { jsxs as m, jsx as l } from "react/jsx-runtime";
2
+ import { d as v } from "../../../../debounce-BFejQm9P.js";
3
+ import { useRef as O, useCallback as u, useMemo as p } from "react";
4
+ import { Filter as n } from "../../../Filter/Filter.js";
5
+ import { Input as R } from "../../../Input/Input.js";
6
+ import { Button as y } from "../../../Button/Button.js";
7
+ import { useTableContext as B } from "../../contexts/table.hook.js";
8
+ const $ = ({
9
+ actions: d,
10
+ multiSelectFilter: f,
11
+ placeholder: h,
12
+ showFilterInput: g = !0,
13
+ showResetButton: x = !0
14
+ }) => {
15
+ const s = O(null), {
16
+ termOfSearch: o,
17
+ multiselectSelected: c,
18
+ onChangeTermOfSearch: a,
19
+ onSelectMultiselect: i
20
+ } = B(), C = u(
21
+ (e, t) => i(
22
+ e,
23
+ t.map((r) => r.id)
24
+ ),
25
+ [i]
26
+ ), S = u(() => {
27
+ a(""), s.current && (s.current.value = "");
28
+ }, [a]), b = p(
29
+ () => v((e) => {
30
+ a(e.target.value);
31
+ }, 500),
32
+ [a]
33
+ ), F = p(
34
+ () => !!o || Object.entries(c ?? {}).map(([, e]) => e).flat().length > 0,
35
+ [o, c]
36
+ );
37
+ return /* @__PURE__ */ m("div", { className: "w-full flex items-center justify-end pb-6", children: [
38
+ g && /* @__PURE__ */ l(
39
+ R,
40
+ {
41
+ ref: s,
42
+ placeholder: h,
43
+ isSearch: !0,
44
+ autoComplete: "false",
45
+ className: "w-72",
46
+ inputMode: "search",
47
+ onChange: b
48
+ }
49
+ ),
50
+ /* @__PURE__ */ m(n, { children: [
51
+ f?.map(
52
+ ({ key: e, label: t, position: r = "right", options: M }) => /* @__PURE__ */ l(
53
+ n.BadgeMultiSelect,
54
+ {
55
+ label: t,
56
+ position: r,
57
+ options: M,
58
+ onApply: (j) => {
59
+ C(e, j);
60
+ }
61
+ },
62
+ t
63
+ )
64
+ ),
65
+ d?.map(({ label: e, onClick: t, variant: r = "secondary" }) => /* @__PURE__ */ l(
66
+ y,
67
+ {
68
+ variant: r,
69
+ appearance: "compact",
70
+ onClick: t,
71
+ children: e
72
+ },
73
+ e
74
+ )),
75
+ x && /* @__PURE__ */ l(
76
+ n.ResetButton,
77
+ {
78
+ className: "text-slate-700 hover:text-slate-700 disabled:text-slate-700/45 select-none",
79
+ disabled: !F,
80
+ onClick: S
81
+ }
82
+ )
83
+ ] })
84
+ ] });
85
+ };
86
+ export {
87
+ $ as Filter
88
+ };
@@ -0,0 +1,48 @@
1
+ import { jsxs as i, jsx as t } from "react/jsx-runtime";
2
+ import { useRef as l, useCallback as p } from "react";
3
+ import { Input as c } from "../../../Input/Input.js";
4
+ import { useTableContext as f } from "../../contexts/table.hook.js";
5
+ const h = () => {
6
+ const r = l(null), { totalPages: e, handlePage: o } = f(), m = p(
7
+ (n) => {
8
+ n.preventDefault();
9
+ const s = new FormData(n.currentTarget), a = Number(s.get("jump-to")), u = (a < e ? a : e) || 1;
10
+ o(u - 1), r.current?.reset();
11
+ },
12
+ [o, e]
13
+ );
14
+ return /* @__PURE__ */ i(
15
+ "form",
16
+ {
17
+ "aria-label": "footer-pagination",
18
+ ref: r,
19
+ onSubmit: m,
20
+ className: "flex items-center gap-2",
21
+ children: [
22
+ /* @__PURE__ */ t("span", { className: "min-w-fit", children: "Jump to" }),
23
+ /* @__PURE__ */ t(
24
+ c,
25
+ {
26
+ type: "number",
27
+ className: "w-[72px] text-xs no-spinner",
28
+ name: "jump-to",
29
+ min: 1,
30
+ max: e,
31
+ required: !0
32
+ }
33
+ ),
34
+ /* @__PURE__ */ t(
35
+ "button",
36
+ {
37
+ type: "submit",
38
+ className: "text-xs text-blue-600 p-2 cursor-pointer",
39
+ children: "Go"
40
+ }
41
+ )
42
+ ]
43
+ }
44
+ );
45
+ };
46
+ export {
47
+ h as FormPaginate
48
+ };
@@ -0,0 +1,82 @@
1
+ import { jsx as s, jsxs as a } from "react/jsx-runtime";
2
+ import { f as u } from "../../../../index-Dx2grAuN.js";
3
+ import { useCallback as i } from "react";
4
+ import { cn as o } from "../../../../utils/index.js";
5
+ import b from "../../assets/chevron-up.js";
6
+ import g from "../../assets/chevron-down.js";
7
+ import { useTableContext as S } from "../../contexts/table.hook.js";
8
+ const y = ({
9
+ className: p,
10
+ classNameArrows: n,
11
+ classNameActiveArrows: l
12
+ }) => {
13
+ const { table: c, onSorting: r } = S(), d = i(
14
+ (t) => r([{ id: t.id, desc: !1 }]),
15
+ [r]
16
+ ), x = i(
17
+ (t) => r([{ id: t.id, desc: !0 }]),
18
+ [r]
19
+ );
20
+ return /* @__PURE__ */ s(
21
+ "thead",
22
+ {
23
+ className: o(
24
+ "font-semibold uppercase text-slate-500 text-xs not-italic bg-slate-100 w-full relative block overflow-hidden [clip-path:inset(-1px_-1px_0px_-1px_round_8px_8px_0px_0px)]",
25
+ p
26
+ ),
27
+ children: c.getHeaderGroups().map(({ id: t, headers: f }) => /* @__PURE__ */ s("tr", { className: "table w-full table-fixed", children: f.map(({ id: m, column: e, getContext: h }) => /* @__PURE__ */ s(
28
+ "th",
29
+ {
30
+ scope: "col",
31
+ className: "px-4 py-3 text-left text-xs",
32
+ style: { width: e.columnDef.size },
33
+ children: /* @__PURE__ */ a("span", { className: "flex items-center gap-2 w-full", children: [
34
+ u(e.columnDef.header, h()),
35
+ e.getCanSort() && /* @__PURE__ */ a(
36
+ "div",
37
+ {
38
+ className: o(
39
+ "flex flex-col text-slate-400 justify-center items-center gap-1",
40
+ n
41
+ ),
42
+ role: "presentation",
43
+ children: [
44
+ /* @__PURE__ */ s(
45
+ b,
46
+ {
47
+ className: o(
48
+ "w-2 h-2 cursor-pointer",
49
+ {
50
+ "text-blue-600": e.getIsSorted() === "asc"
51
+ },
52
+ l
53
+ ),
54
+ onClick: () => d(e)
55
+ }
56
+ ),
57
+ /* @__PURE__ */ s(
58
+ g,
59
+ {
60
+ className: o(
61
+ "w-2 h-2 cursor-pointer",
62
+ {
63
+ "text-blue-600": e.getIsSorted() === "desc"
64
+ },
65
+ l
66
+ ),
67
+ onClick: () => x(e)
68
+ }
69
+ )
70
+ ]
71
+ }
72
+ )
73
+ ] })
74
+ },
75
+ m
76
+ )) }, t))
77
+ }
78
+ );
79
+ };
80
+ export {
81
+ y as Header
82
+ };
@@ -0,0 +1,45 @@
1
+ import { jsxs as t, Fragment as c, jsx as e } from "react/jsx-runtime";
2
+ import { DotPaginate as d } from "../DotPaginate/DotPaginate.js";
3
+ import { DropdownPaginate as p } from "../DropdownPaginate/DropdownPaginate.js";
4
+ import { FormPaginate as f } from "../FormPaginate/FormPaginate.js";
5
+ import { cn as x } from "../../../../utils/index.js";
6
+ import { useTableContext as u } from "../../contexts/table.hook.js";
7
+ import { DEFAULT_PAGE_SIZE as g } from "../../constants/pagination.js";
8
+ const F = ({
9
+ showTotalItems: a = !0,
10
+ showDropdownPagination: i = !0,
11
+ showDotPagination: n = !0,
12
+ showFormPagination: s = !0,
13
+ pageSizes: l,
14
+ classNamePagination: o
15
+ }) => {
16
+ const { totalItems: r = -1 / 0, tableFetching: m } = u();
17
+ return r <= g || m ? null : /* @__PURE__ */ t(c, { children: [
18
+ /* @__PURE__ */ e(
19
+ "div",
20
+ {
21
+ className: x(
22
+ "bg-slate-50 border border-y-transparent border-x-slate-100 text-slate-500 text-xs not-italic py-2 px-6 rounded-b-lg shadow",
23
+ o
24
+ ),
25
+ children: /* @__PURE__ */ t("div", { className: "flex items-center justify-between", children: [
26
+ /* @__PURE__ */ t("div", { className: "flex items-center gap-6", children: [
27
+ r && a ? /* @__PURE__ */ t("span", { className: "text-slate-800", children: [
28
+ r,
29
+ " Results"
30
+ ] }) : null,
31
+ i && /* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: /* @__PURE__ */ e(p, { pageSizes: l }) })
32
+ ] }),
33
+ /* @__PURE__ */ t("div", { className: "flex items-center gap-8", children: [
34
+ n && /* @__PURE__ */ e(d, {}),
35
+ s && /* @__PURE__ */ e(f, {})
36
+ ] })
37
+ ] })
38
+ }
39
+ ),
40
+ /* @__PURE__ */ e("div", { className: "w-full min-h-[150px]" })
41
+ ] });
42
+ };
43
+ export {
44
+ F as Pagination
45
+ };