@cagatayfdn/flora-components 0.0.164 → 0.0.166

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,7 +1,7 @@
1
1
  import "../../jsx-runtime-BcAkpsdy.js";
2
2
  import "react";
3
3
  import "../../index-BHf7G3IG.js";
4
- import { E as K } from "../../ErrorLogModal-CQFdcFKP.js";
4
+ import { E as K } from "../../ErrorLogModal-DJd2j2Qz.js";
5
5
  import "../../hooks/useAauth.js";
6
6
  import "../../hooks/useNiceModal.js";
7
7
  import "../Drawer/Provider.js";
@@ -1,8 +1,9 @@
1
1
  import "../../jsx-runtime-BcAkpsdy.js";
2
2
  import "react";
3
- import { R as I } from "../../ErrorLogModal-CQFdcFKP.js";
3
+ import "../../index-Bkqwn3Ht.js";
4
4
  import "../../helper-1SQ9SI45.js";
5
5
  import "../../index-BHf7G3IG.js";
6
+ import { R as J } from "../../ErrorLogModal-DJd2j2Qz.js";
6
7
  import "../../utils/date.js";
7
8
  import "../../utils/fetcher.js";
8
9
  import "../../locales/i18n.js";
@@ -33,5 +34,5 @@ import "../Textarea/Textarea.js";
33
34
  import "../../react-toastify.esm-BUWNP7Nm.js";
34
35
  import '../../ReactToastify.css';/* empty css */
35
36
  export {
36
- I as default
37
+ J as default
37
38
  };
@@ -1,264 +1,327 @@
1
- import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
2
- import se, { useState as F, useEffect as O } from "react";
3
- import ne from "../NoResult/NoResult.js";
4
- import { c as C } from "../../index-BHf7G3IG.js";
5
- import { s as x } from "../../Table.module-rFa4-NE2.js";
6
- import { ThemeAppearance as z, AppearanceSpinner as D } from "../../enums/appearance.js";
7
- import G from "../Checkbox/Checkbox.js";
8
- import oe from "../Loading/Loading.js";
9
- import le from "../ScrollContainer/ScrollContainer.js";
10
- import V from "./TableHeader.js";
11
- import de from "./TableSort.js";
12
- import ie from "../Icon/index.js";
13
- import { FloraIcons as ce } from "../../assets/icons/flora-icons.js";
14
- import { i as u } from "../../includes-8YTFrx85.js";
15
- import { _ as W, k as pe } from "../../keys-B0bo5Q7o.js";
16
- import { _ as U, a as he, b as fe } from "../../_reduce-DsUCMz4O.js";
17
- import { _ as xe } from "../../Select-nhp2PiJK.js";
18
- function ue(l, t) {
19
- for (var o = 0, i = t.length, p = []; o < i; )
20
- l(t[o]) && (p[p.length] = t[o]), o += 1;
21
- return p;
1
+ import { j as a } from "../../jsx-runtime-BcAkpsdy.js";
2
+ import y, { useState as P, useEffect as Q } from "react";
3
+ import { Z as be } from "../../index-Bkqwn3Ht.js";
4
+ import Y from "../NoResult/NoResult.js";
5
+ import { c as b } from "../../index-BHf7G3IG.js";
6
+ import { s as o } from "../../Table.module-rFa4-NE2.js";
7
+ import { ThemeAppearance as I, AppearanceSpinner as ee } from "../../enums/appearance.js";
8
+ import te from "../Checkbox/Checkbox.js";
9
+ import je from "../Loading/Loading.js";
10
+ import ge from "../ScrollContainer/ScrollContainer.js";
11
+ import ae from "./TableHeader.js";
12
+ import me from "./TableSort.js";
13
+ import we from "../Icon/index.js";
14
+ import { FloraIcons as Ce } from "../../assets/icons/flora-icons.js";
15
+ import { i } from "../../includes-8YTFrx85.js";
16
+ import { _ as se, k as Ne } from "../../keys-B0bo5Q7o.js";
17
+ import { _ as re, a as ke, b as ye } from "../../_reduce-DsUCMz4O.js";
18
+ import { _ as Ee } from "../../Select-nhp2PiJK.js";
19
+ function Re(l, n) {
20
+ for (var d = 0, c = n.length, f = []; d < c; )
21
+ l(n[d]) && (f[f.length] = n[d]), d += 1;
22
+ return f;
22
23
  }
23
- var ge = /* @__PURE__ */ function() {
24
- function l(t, o) {
25
- this.xf = o, this.f = t;
24
+ var Se = /* @__PURE__ */ function() {
25
+ function l(n, d) {
26
+ this.xf = d, this.f = n;
26
27
  }
27
- return l.prototype["@@transducer/init"] = U.init, l.prototype["@@transducer/result"] = U.result, l.prototype["@@transducer/step"] = function(t, o) {
28
- return this.f(o) ? this.xf["@@transducer/step"](t, o) : t;
28
+ return l.prototype["@@transducer/init"] = re.init, l.prototype["@@transducer/result"] = re.result, l.prototype["@@transducer/step"] = function(n, d) {
29
+ return this.f(d) ? this.xf["@@transducer/step"](n, d) : n;
29
30
  }, l;
30
- }(), je = /* @__PURE__ */ W(function(t, o) {
31
- return new ge(t, o);
31
+ }(), _e = /* @__PURE__ */ se(function(n, d) {
32
+ return new Se(n, d);
32
33
  });
33
- const be = je;
34
- var k = /* @__PURE__ */ W(
35
- /* @__PURE__ */ he(["filter"], be, function(l, t) {
36
- return xe(t) ? fe(function(o, i) {
37
- return l(t[i]) && (o[i] = t[i]), o;
38
- }, {}, pe(t)) : (
34
+ const ve = _e;
35
+ var v = /* @__PURE__ */ se(
36
+ /* @__PURE__ */ ke(["filter"], ve, function(l, n) {
37
+ return Ee(n) ? ye(function(d, c) {
38
+ return l(n[c]) && (d[c] = n[c]), d;
39
+ }, {}, Ne(n)) : (
39
40
  // else
40
- ue(l, t)
41
+ Re(l, n)
41
42
  );
42
43
  })
43
44
  );
44
- const Oe = (l) => {
45
+ const Je = (l) => {
45
46
  const {
46
- columns: t = [],
47
- dataSource: o = [],
48
- totalCount: i,
49
- currentPage: p,
50
- className: X,
51
- wrapperClass: B,
52
- title: K,
53
- rowSelection: b = !1,
54
- actionOnChange: S,
55
- rowSelectionChange: c,
56
- pagerVisible: _,
57
- pagerOnChange: E,
58
- columnRenderer: y,
59
- pageSizeOnChange: R,
60
- pageSize: v,
61
- headerVisible: P = !0,
62
- headerLeftItem: q,
63
- customFooterItem: J,
64
- isLoading: M = !1,
65
- footerAction: Q = !0,
66
- pageSizeVisible: Y = !0,
67
- appearance: w = z.LIGHT,
68
- fixedHeader: Z,
69
- showItemsText: L,
70
- customHeader: H,
71
- selectedItems: T = [],
72
- scrollClass: I,
73
- disabledItems: g = [],
74
- expandable: n
75
- } = l, [h, m] = F(T), [$, j] = F([]), ee = (e) => {
76
- c && (e.target.checked ? (m(
77
- o.filter((s) => !u(s, g))
78
- ), c(
79
- o.filter((s) => !u(s, g))
80
- )) : (m([]), c([])));
81
- }, re = (e, s) => {
82
- c && (e.target.checked ? (m([...h, s]), c([...h, s])) : (m(
83
- k((a) => a.pk !== s.pk, h)
84
- ), c(
85
- k((a) => a.pk !== s.pk, h)
47
+ columns: n = [],
48
+ dataSource: d = [],
49
+ totalCount: c,
50
+ currentPage: f,
51
+ className: H,
52
+ wrapperClass: ne,
53
+ title: de,
54
+ rowSelection: E = !1,
55
+ actionOnChange: T,
56
+ rowSelectionChange: p,
57
+ pagerVisible: L,
58
+ pagerOnChange: $,
59
+ columnRenderer: m,
60
+ rowRenderer: F,
61
+ pageSizeOnChange: A,
62
+ pageSize: V,
63
+ headerVisible: le = !0,
64
+ headerLeftItem: oe,
65
+ customFooterItem: ie,
66
+ isLoading: ce = !1,
67
+ footerAction: pe = !0,
68
+ pageSizeVisible: he = !0,
69
+ appearance: w = I.LIGHT,
70
+ fixedHeader: z,
71
+ showItemsText: B,
72
+ customHeader: O,
73
+ selectedItems: D = [],
74
+ scrollClass: G,
75
+ disabledItems: j = [],
76
+ expandable: s,
77
+ virtualized: R
78
+ } = l, S = typeof R == "object" ? R : {}, [x, C] = P(D), [N, g] = P([]), fe = (e) => {
79
+ p && (e.target.checked ? (C(
80
+ d.filter((t) => !i(t, j))
81
+ ), p(
82
+ d.filter((t) => !i(t, j))
83
+ )) : (C([]), p([])));
84
+ }, xe = (e, t) => {
85
+ p && (e.target.checked ? (C([...x, t]), p([...x, t])) : (C(
86
+ v((r) => r.pk !== t.pk, x)
87
+ ), p(
88
+ v((r) => r.pk !== t.pk, x)
86
89
  )));
87
- }, ae = (e, s) => {
88
- var d;
89
- const a = u(e, $);
90
- (n == null ? void 0 : n.expandStrategy) === "single" ? j(a ? [] : [e]) : j(a ? (f) => k((N) => N !== e, f) : (f) => [...f, e]), (d = n == null ? void 0 : n.onExpand) == null || d.call(n, !a, s);
91
- }, te = (e, s) => e == null ? void 0 : e.map((a, d) => /* @__PURE__ */ r.jsx(
90
+ }, W = (e, t) => {
91
+ var h;
92
+ const r = i(e, N);
93
+ (s == null ? void 0 : s.expandStrategy) === "single" ? g(r ? [] : [e]) : g(r ? (u) => v((_) => _ !== e, u) : (u) => [...u, e]), (h = s == null ? void 0 : s.onExpand) == null || h.call(s, !r, t);
94
+ }, U = (e, t) => e == null ? void 0 : e.map((r, h) => /* @__PURE__ */ a.jsx(
92
95
  "td",
93
96
  {
94
- width: a.width,
95
- onClick: (f) => {
96
- a != null && a.onClick && (a == null || a.onClick(f, s, a, d));
97
+ width: r.width,
98
+ onClick: (u) => {
99
+ r != null && r.onClick && (r == null || r.onClick(u, t, r, h));
97
100
  },
98
- className: C(a.className, a.tdClassName),
99
- children: a.render ? a.render(s[a.dataIndex], s) : s[a.dataIndex]
101
+ className: b(r.className, r.tdClassName),
102
+ children: r.render ? r.render(t[r.dataIndex], t) : t[r.dataIndex]
100
103
  },
101
- `col-${d}`
102
- ));
103
- return O(() => {
104
- c && c(T.filter((e) => !u(e, g)));
105
- }, [h, g]), O(() => {
106
- j([]);
107
- }, [p]), /* @__PURE__ */ r.jsxs(
104
+ `col-${h}`
105
+ )), k = n.length + (E ? 1 : 0) + (s ? 1 : 0), X = () => s ? /* @__PURE__ */ a.jsx("th", { className: "w-[48px]" }) : null, Z = () => E ? /* @__PURE__ */ a.jsx("th", { className: "w-[26px]", children: /* @__PURE__ */ a.jsx(
106
+ te,
107
+ {
108
+ name: "selectAll",
109
+ isDisabled: d.length === 0,
110
+ checked: d.length > 0 && d.length === x.length,
111
+ onChange: fe
112
+ }
113
+ ) }) : null, K = () => n == null ? void 0 : n.map((e, t) => {
114
+ var r, h;
115
+ return e.sortable ? /* @__PURE__ */ a.jsx(
116
+ "th",
117
+ {
118
+ "data-testid": "table-head-item",
119
+ style: { width: e.width },
120
+ className: e.className,
121
+ children: /* @__PURE__ */ a.jsx(
122
+ me,
123
+ {
124
+ title: (r = e.title) == null ? void 0 : r.toString().toLocaleUpperCase(),
125
+ onClick: (u, _) => {
126
+ var M;
127
+ return (M = e == null ? void 0 : e.onSort) == null ? void 0 : M.call(e, u, _);
128
+ }
129
+ }
130
+ )
131
+ },
132
+ `table-header-${t}`
133
+ ) : /* @__PURE__ */ a.jsx(
134
+ "th",
135
+ {
136
+ "data-testid": "table-head-item",
137
+ style: { width: e.width },
138
+ className: e.className,
139
+ children: typeof e.title == "string" || e.title instanceof String ? (h = e.title) == null ? void 0 : h.toString().toLocaleUpperCase() : e.title
140
+ },
141
+ `table-header-${t}`
142
+ );
143
+ }), q = (e, t) => s ? /* @__PURE__ */ a.jsx("td", { children: /* @__PURE__ */ a.jsx(
144
+ "span",
145
+ {
146
+ className: "inline-block transition-transform duration-200",
147
+ style: {
148
+ transform: t ? "rotate(90deg)" : "rotate(0deg)"
149
+ },
150
+ children: s.rowExpandable && s.rowExpandable(e) ? /* @__PURE__ */ a.jsx(we, { name: Ce.ChevronRight }) : null
151
+ }
152
+ ) }) : null, J = (e, t) => E ? /* @__PURE__ */ a.jsx("td", { children: /* @__PURE__ */ a.jsx(
153
+ te,
154
+ {
155
+ checked: i(e, x),
156
+ name: `select-${t}`,
157
+ onChange: (r) => xe(r, e),
158
+ isDisabled: i(e, j)
159
+ }
160
+ ) }) : null, ue = () => {
161
+ const e = [];
162
+ return d.forEach((t, r) => {
163
+ e.push({ kind: "data", item: t, index: r }), s && i(r, N) && e.push({ kind: "expanded", item: t, index: r });
164
+ }), e;
165
+ };
166
+ return Q(() => {
167
+ p && p(D.filter((e) => !i(e, j)));
168
+ }, [x, j]), Q(() => {
169
+ g([]);
170
+ }, [f]), /* @__PURE__ */ a.jsxs(
108
171
  "div",
109
172
  {
110
173
  "data-testid": "table-container",
111
- className: C(x.wrapper, B, {
112
- [x[`${w}`]]: w
174
+ className: b(o.wrapper, ne, {
175
+ [o[`${w}`]]: w
113
176
  }),
114
177
  children: [
115
- P && /* @__PURE__ */ r.jsx(
116
- V,
178
+ le && /* @__PURE__ */ a.jsx(
179
+ ae,
117
180
  {
118
- title: K,
119
- showItemsText: L,
120
- actionOnChange: S,
121
- pageSize: v,
122
- pageSizeOnChange: R,
123
- pagerOnChange: E,
124
- pagerVisible: _,
125
- totalCount: i,
126
- currentPage: p
181
+ title: de,
182
+ showItemsText: B,
183
+ actionOnChange: T,
184
+ pageSize: V,
185
+ pageSizeOnChange: A,
186
+ pagerOnChange: $,
187
+ pagerVisible: L,
188
+ totalCount: c,
189
+ currentPage: f
127
190
  }
128
191
  ),
129
- /* @__PURE__ */ r.jsxs("div", { className: x.tableWrap, children: [
130
- M && /* @__PURE__ */ r.jsx(
131
- oe,
192
+ /* @__PURE__ */ a.jsxs("div", { className: o.tableWrap, children: [
193
+ ce && /* @__PURE__ */ a.jsx(
194
+ je,
132
195
  {
133
- wrapperClass: x.tableLoading,
134
- appearance: w === z.LIGHT ? D.LIGHT : D.DARK
196
+ wrapperClass: o.tableLoading,
197
+ appearance: w === I.LIGHT ? ee.LIGHT : ee.DARK
135
198
  }
136
199
  ),
137
- H && H,
138
- /* @__PURE__ */ r.jsx(le, { className: I || x.scrollWrap, children: /* @__PURE__ */ r.jsxs(
200
+ O && O,
201
+ R ? /* @__PURE__ */ a.jsx(
202
+ be,
203
+ {
204
+ style: { height: S.height ?? 400 },
205
+ data: ue(),
206
+ overscan: S.overscan,
207
+ increaseViewportBy: S.increaseViewportBy,
208
+ className: G || o.scrollWrap,
209
+ components: {
210
+ Table: (e) => /* @__PURE__ */ a.jsx(
211
+ "table",
212
+ {
213
+ ...e,
214
+ "data-testid": "table-content",
215
+ className: b(o.table, H, {
216
+ [o.fixed]: z
217
+ })
218
+ }
219
+ ),
220
+ TableHead: y.forwardRef(
221
+ (e, t) => /* @__PURE__ */ a.jsx("thead", { ...e, ref: t, "data-testid": "table-head" })
222
+ ),
223
+ TableBody: y.forwardRef(
224
+ (e, t) => /* @__PURE__ */ a.jsx("tbody", { ...e, ref: t, "data-testid": "table-body" })
225
+ ),
226
+ TableRow: ({ item: e, ...t }) => {
227
+ if (e.kind === "expanded")
228
+ return /* @__PURE__ */ a.jsx("tr", { ...t });
229
+ const r = s && s.rowExpandable ? s.rowExpandable(e.item) : !!s;
230
+ return /* @__PURE__ */ a.jsx(
231
+ "tr",
232
+ {
233
+ ...t,
234
+ "data-testid": "table-row",
235
+ onClick: () => {
236
+ s && s.rowExpandable && s.rowExpandable(e.item) && W(e.index, e.item);
237
+ },
238
+ className: b(t.className, {
239
+ "cursor-pointer": r
240
+ })
241
+ }
242
+ );
243
+ },
244
+ EmptyPlaceholder: () => /* @__PURE__ */ a.jsx("tbody", { "data-testid": "table-body", children: /* @__PURE__ */ a.jsx("tr", { children: /* @__PURE__ */ a.jsx("td", { colSpan: k, children: /* @__PURE__ */ a.jsx(Y, {}) }) }) })
245
+ },
246
+ fixedHeaderContent: () => /* @__PURE__ */ a.jsxs("tr", { "data-testid": "table-row", children: [
247
+ X(),
248
+ Z(),
249
+ K()
250
+ ] }),
251
+ itemContent: (e, t) => {
252
+ if (t.kind === "expanded")
253
+ return /* @__PURE__ */ a.jsx("td", { colSpan: k, className: "p-0 border-0", children: s == null ? void 0 : s.expandedRowRender(t.item) });
254
+ const r = i(t.index, N);
255
+ return /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
256
+ q(t.item, r),
257
+ J(t.item, t.index),
258
+ m ? m(n, t.item) : U(n, t.item)
259
+ ] });
260
+ }
261
+ }
262
+ ) : /* @__PURE__ */ a.jsx(ge, { className: G || o.scrollWrap, children: /* @__PURE__ */ a.jsxs(
139
263
  "table",
140
264
  {
141
265
  "data-testid": "table-content",
142
- className: C(x.table, X, {
143
- [x.fixed]: Z
266
+ className: b(o.table, H, {
267
+ [o.fixed]: z
144
268
  }),
145
269
  children: [
146
- /* @__PURE__ */ r.jsx("thead", { "data-testid": "table-head", children: /* @__PURE__ */ r.jsxs("tr", { "data-testid": "table-row", children: [
147
- n && /* @__PURE__ */ r.jsx("th", { className: "w-[48px]" }),
148
- b && /* @__PURE__ */ r.jsx("th", { className: "w-[26px]", children: /* @__PURE__ */ r.jsx(
149
- G,
150
- {
151
- name: "selectAll",
152
- isDisabled: o.length === 0,
153
- checked: o.length > 0 && o.length === h.length,
154
- onChange: ee
155
- }
156
- ) }),
157
- t == null ? void 0 : t.map((e, s) => {
158
- var a, d;
159
- return e.sortable ? /* @__PURE__ */ r.jsx(
160
- "th",
161
- {
162
- "data-testid": "table-head-item",
163
- style: { width: e.width },
164
- className: e.className,
165
- children: /* @__PURE__ */ r.jsx(
166
- de,
167
- {
168
- title: (a = e.title) == null ? void 0 : a.toString().toLocaleUpperCase(),
169
- onClick: (f, N) => {
170
- var A;
171
- return (A = e == null ? void 0 : e.onSort) == null ? void 0 : A.call(e, f, N);
172
- }
173
- }
174
- )
175
- },
176
- `table-header-${s}`
177
- ) : /* @__PURE__ */ r.jsx(
178
- "th",
179
- {
180
- "data-testid": "table-head-item",
181
- style: { width: e.width },
182
- className: e.className,
183
- children: typeof e.title == "string" || e.title instanceof String ? (d = e.title) == null ? void 0 : d.toString().toLocaleUpperCase() : e.title
184
- },
185
- `table-header-${s}`
186
- );
187
- })
270
+ /* @__PURE__ */ a.jsx("thead", { "data-testid": "table-head", children: /* @__PURE__ */ a.jsxs("tr", { "data-testid": "table-row", children: [
271
+ X(),
272
+ Z(),
273
+ K()
188
274
  ] }) }),
189
- /* @__PURE__ */ r.jsx("tbody", { "data-testid": "table-body", children: o.length > 0 ? o.map((e, s) => {
190
- const a = u(s, $);
191
- return /* @__PURE__ */ r.jsxs(se.Fragment, { children: [
192
- /* @__PURE__ */ r.jsxs(
275
+ /* @__PURE__ */ a.jsx("tbody", { "data-testid": "table-body", children: d.length > 0 ? d.map((e, t) => {
276
+ const r = i(t, N);
277
+ return F ? /* @__PURE__ */ a.jsx(y.Fragment, { children: F(e, t) }, `row-${t}`) : /* @__PURE__ */ a.jsxs(y.Fragment, { children: [
278
+ /* @__PURE__ */ a.jsxs(
193
279
  "tr",
194
280
  {
195
281
  "data-testid": "table-row",
196
282
  onClick: () => {
197
- n && n.rowExpandable && n.rowExpandable(e) && ae(s, e);
283
+ s && s.rowExpandable && s.rowExpandable(e) && W(t, e);
198
284
  },
199
- className: C({
200
- "cursor-pointer": n && n.rowExpandable ? n.rowExpandable(e) : n
285
+ className: b({
286
+ "cursor-pointer": s && s.rowExpandable ? s.rowExpandable(e) : s
201
287
  }),
202
288
  children: [
203
- n && /* @__PURE__ */ r.jsx("td", { children: /* @__PURE__ */ r.jsx(
204
- "span",
205
- {
206
- className: "inline-block transition-transform duration-200",
207
- style: {
208
- transform: a ? "rotate(90deg)" : "rotate(0deg)"
209
- },
210
- children: n.rowExpandable && n.rowExpandable(e) ? /* @__PURE__ */ r.jsx(ie, { name: ce.ChevronRight }) : null
211
- }
212
- ) }),
213
- b && /* @__PURE__ */ r.jsx("td", { children: /* @__PURE__ */ r.jsx(
214
- G,
215
- {
216
- checked: u(e, h),
217
- name: `select-${s}`,
218
- onChange: (d) => re(d, e),
219
- isDisabled: u(e, g)
220
- }
221
- ) }),
222
- y ? y(t, e) : te(t, e)
289
+ q(e, r),
290
+ J(e, t),
291
+ m ? m(n, e) : U(n, e)
223
292
  ]
224
293
  },
225
- `table-row-${s}`
294
+ `table-row-${t}`
226
295
  ),
227
- n && a && /* @__PURE__ */ r.jsx("tr", { children: /* @__PURE__ */ r.jsx(
296
+ s && r && /* @__PURE__ */ a.jsx("tr", { children: /* @__PURE__ */ a.jsx(
228
297
  "td",
229
298
  {
230
- colSpan: t.length + (b ? 1 : 0) + (n ? 1 : 0),
299
+ colSpan: k,
231
300
  className: "p-0 border-0",
232
- children: n.expandedRowRender(e)
301
+ children: s.expandedRowRender(e)
233
302
  }
234
303
  ) })
235
- ] }, `row-${s}`);
236
- }) : /* @__PURE__ */ r.jsx("tr", { children: /* @__PURE__ */ r.jsx(
237
- "td",
238
- {
239
- colSpan: t.length + (b ? 1 : 0) + (n ? 1 : 0),
240
- children: /* @__PURE__ */ r.jsx(ne, {})
241
- }
242
- ) }) })
304
+ ] }, `row-${t}`);
305
+ }) : /* @__PURE__ */ a.jsx("tr", { children: /* @__PURE__ */ a.jsx("td", { colSpan: k, children: /* @__PURE__ */ a.jsx(Y, {}) }) }) })
243
306
  ]
244
307
  }
245
308
  ) })
246
309
  ] }),
247
- Q && /* @__PURE__ */ r.jsx(
248
- V,
310
+ pe && /* @__PURE__ */ a.jsx(
311
+ ae,
249
312
  {
250
313
  className: "mt-0",
251
- showItemsText: L,
252
- actionOnChange: S,
253
- pageSize: v,
254
- pageSizeOnChange: R,
255
- pagerOnChange: E,
256
- pagerVisible: _,
257
- pageSizeVisible: Y,
258
- totalCount: i,
259
- customItem: J,
260
- headerLeftItem: q,
261
- currentPage: p,
314
+ showItemsText: B,
315
+ actionOnChange: T,
316
+ pageSize: V,
317
+ pageSizeOnChange: A,
318
+ pagerOnChange: $,
319
+ pagerVisible: L,
320
+ pageSizeVisible: he,
321
+ totalCount: c,
322
+ customItem: ie,
323
+ headerLeftItem: oe,
324
+ currentPage: f,
262
325
  appearance: w
263
326
  }
264
327
  )
@@ -267,5 +330,5 @@ const Oe = (l) => {
267
330
  );
268
331
  };
269
332
  export {
270
- Oe as default
333
+ Je as default
271
334
  };
@@ -19,7 +19,7 @@ import { default as H } from "./Datepicker/Datepicker.js";
19
19
  import { default as W } from "./Divider/Divider.js";
20
20
  import { default as q } from "./Drawer/index.js";
21
21
  import { default as G } from "./Dropdown/DropdownList.js";
22
- import { E as K, R as O } from "../ErrorLogModal-CQFdcFKP.js";
22
+ import { E as K, R as O } from "../ErrorLogModal-DJd2j2Qz.js";
23
23
  import { default as X } from "./FileUpload/FileUpload.js";
24
24
  import { default as Z } from "./FileUpload/ImagePreview.js";
25
25
  import { default as $ } from "./FileUpload/LengthCard.js";