@rockshin/tao-ui 0.0.59 → 0.0.60

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 (41) hide show
  1. package/dist/components/cascader/cascader.js +1 -0
  2. package/dist/components/color-picker/color-picker.css +1 -1
  3. package/dist/components/color-picker/color-picker.js +3 -2
  4. package/dist/components/context-menu/context-menu.d.ts +3 -1
  5. package/dist/components/context-menu/context-menu.js +48 -43
  6. package/dist/components/date-picker/calendar/time-panel.js +7 -3
  7. package/dist/components/date-picker/date-picker.js +3 -1
  8. package/dist/components/date-picker/range-picker.js +5 -3
  9. package/dist/components/dropdown/dropdown.d.ts +1 -0
  10. package/dist/components/dropdown/dropdown.js +18 -12
  11. package/dist/components/float-button/float-button.js +2 -1
  12. package/dist/components/form/use-form.js +2 -1
  13. package/dist/components/input-number/input-number.d.ts +2 -1
  14. package/dist/components/input-number/input-number.js +67 -52
  15. package/dist/components/mentions/mentions.js +3 -2
  16. package/dist/components/menu/menu-render.d.ts +6 -0
  17. package/dist/components/menu/menu-render.js +38 -26
  18. package/dist/components/modal/confirm-dialog.js +11 -6
  19. package/dist/components/modal/use-modal.js +1 -1
  20. package/dist/components/pagination/pagination.d.ts +3 -2
  21. package/dist/components/pagination/pagination.js +127 -117
  22. package/dist/components/popover/popover.js +125 -298
  23. package/dist/components/select/mobile-select.js +1 -1
  24. package/dist/components/select/select-model.js +1 -1
  25. package/dist/components/select/use-select-selection.js +94 -86
  26. package/dist/components/statistic/statistic.js +38 -31
  27. package/dist/components/table/table-filter.d.ts +3 -1
  28. package/dist/components/table/table-filter.js +100 -74
  29. package/dist/components/table/table.js +1 -0
  30. package/dist/components/tabs/tabs.d.ts +3 -2
  31. package/dist/components/tabs/tabs.js +122 -112
  32. package/dist/components/time-picker/time-picker.js +4 -2
  33. package/dist/components/tooltip/tooltip.d.ts +1 -1
  34. package/dist/components/tooltip/tooltip.js +168 -210
  35. package/dist/components/tree-select/tree-select.js +1 -0
  36. package/dist/number-input/use-number-input.d.ts +1 -0
  37. package/dist/number-input/use-number-input.js +6 -2
  38. package/dist/provider/tao-provider.js +18 -4
  39. package/dist/theme/control.css +5 -1
  40. package/dist/theme/theme.css +2 -2
  41. package/package.json +1 -1
@@ -227,14 +227,20 @@ function renderMenuItems(items, ctx) {
227
227
  /*#__PURE__*/ jsx(P.Portal, {
228
228
  children: /*#__PURE__*/ jsx(TaoPortalScope, {
229
229
  asChild: true,
230
+ direction: ctx.direction,
230
231
  children: /*#__PURE__*/ jsx(P.SubContent, {
231
232
  "data-tao-menu-content": "",
232
233
  "data-tao-menu-sub-content": "",
234
+ "data-tao-size": ctx.size,
233
235
  className: cx(ctx.classNames?.subContent),
234
236
  style: ctx.styles?.subContent,
235
237
  sideOffset: 2,
236
238
  alignOffset: -4,
237
- children: renderMenuItems(item.children, ctx)
239
+ children: ctx.selectable && !ctx.multiple ? /*#__PURE__*/ jsx(P.RadioGroup, {
240
+ value: ctx.selectedKeys[0],
241
+ onValueChange: ctx.onRadioChange,
242
+ children: renderMenuItems(item.children, ctx)
243
+ }) : renderMenuItems(item.children, ctx)
238
244
  })
239
245
  })
240
246
  })
@@ -316,7 +322,7 @@ function renderMenuItems(items, ctx) {
316
322
  });
317
323
  }
318
324
  function useMenuController(menu, P, semantic) {
319
- const $ = c(37);
325
+ const $ = c(40);
320
326
  const selectable = !!menu.selectable;
321
327
  const multiple = !!menu.multiple;
322
328
  const isSelControlled = "selectedKeys" in menu;
@@ -390,58 +396,64 @@ function useMenuController(menu, P, semantic) {
390
396
  } else t5 = $[15];
391
397
  const onAction = t5;
392
398
  let t6;
393
- if ($[16] !== P || $[17] !== menu.items || $[18] !== multiple || $[19] !== onAction || $[20] !== selectable || $[21] !== selectedKeys || $[22] !== semantic.classNames || $[23] !== semantic.styles || $[24] !== toggleKey) {
399
+ if ($[16] !== P || $[17] !== menu.items || $[18] !== multiple || $[19] !== onAction || $[20] !== radioChange || $[21] !== selectable || $[22] !== selectedKeys || $[23] !== semantic.classNames || $[24] !== semantic.direction || $[25] !== semantic.size || $[26] !== semantic.styles || $[27] !== toggleKey) {
394
400
  const ctx = {
395
401
  P,
402
+ size: semantic.size,
403
+ direction: semantic.direction,
396
404
  classNames: semantic.classNames,
397
405
  styles: semantic.styles,
398
406
  onAction,
399
407
  selectedKeys,
400
408
  multiple,
401
409
  selectable,
402
- onToggle: toggleKey
410
+ onToggle: toggleKey,
411
+ onRadioChange: radioChange
403
412
  };
404
413
  t6 = renderMenuItems(menu.items, ctx);
405
414
  $[16] = P;
406
415
  $[17] = menu.items;
407
416
  $[18] = multiple;
408
417
  $[19] = onAction;
409
- $[20] = selectable;
410
- $[21] = selectedKeys;
411
- $[22] = semantic.classNames;
412
- $[23] = semantic.styles;
413
- $[24] = toggleKey;
414
- $[25] = t6;
415
- } else t6 = $[25];
418
+ $[20] = radioChange;
419
+ $[21] = selectable;
420
+ $[22] = selectedKeys;
421
+ $[23] = semantic.classNames;
422
+ $[24] = semantic.direction;
423
+ $[25] = semantic.size;
424
+ $[26] = semantic.styles;
425
+ $[27] = toggleKey;
426
+ $[28] = t6;
427
+ } else t6 = $[28];
416
428
  const body = t6;
417
429
  let t7;
418
- if ($[26] !== P || $[27] !== body || $[28] !== multiple || $[29] !== radioChange || $[30] !== selectable || $[31] !== selectedKeys) {
430
+ if ($[29] !== P || $[30] !== body || $[31] !== multiple || $[32] !== radioChange || $[33] !== selectable || $[34] !== selectedKeys) {
419
431
  t7 = selectable && !multiple ? /*#__PURE__*/ jsx(P.RadioGroup, {
420
432
  value: selectedKeys[0],
421
433
  onValueChange: radioChange,
422
434
  children: body
423
435
  }) : body;
424
- $[26] = P;
425
- $[27] = body;
426
- $[28] = multiple;
427
- $[29] = radioChange;
428
- $[30] = selectable;
429
- $[31] = selectedKeys;
430
- $[32] = t7;
431
- } else t7 = $[32];
436
+ $[29] = P;
437
+ $[30] = body;
438
+ $[31] = multiple;
439
+ $[32] = radioChange;
440
+ $[33] = selectable;
441
+ $[34] = selectedKeys;
442
+ $[35] = t7;
443
+ } else t7 = $[35];
432
444
  const content = t7;
433
445
  let t8;
434
- if ($[33] !== commitSel || $[34] !== content || $[35] !== selectedKeys) {
446
+ if ($[36] !== commitSel || $[37] !== content || $[38] !== selectedKeys) {
435
447
  t8 = {
436
448
  content,
437
449
  selectedKeys,
438
450
  commitSelection: commitSel
439
451
  };
440
- $[33] = commitSel;
441
- $[34] = content;
442
- $[35] = selectedKeys;
443
- $[36] = t8;
444
- } else t8 = $[36];
452
+ $[36] = commitSel;
453
+ $[37] = content;
454
+ $[38] = selectedKeys;
455
+ $[39] = t8;
456
+ } else t8 = $[39];
445
457
  return t8;
446
458
  }
447
459
  export { menuItemAsChild, renderMenuItems, useMenuController };
@@ -1,11 +1,11 @@
1
1
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
2
  import { c } from "react-compiler-runtime";
3
3
  import { useId, useLayoutEffect, useRef, useState } from "react";
4
+ import { useTaoConfig } from "../../provider/tao-provider.js";
4
5
  import { cx } from "../../utils/semantic.js";
5
6
  import { Button } from "../button/button.js";
6
7
  import { StatusIcon } from "../status-icon/status-icon.js";
7
8
  import { Modal } from "./modal.js";
8
- import { useTaoConfig } from "../../provider/tao-provider.js";
9
9
  function isPromise(v) {
10
10
  return !!v && 'function' == typeof v.then;
11
11
  }
@@ -15,6 +15,7 @@ function ConfirmDialog({ onMount, open, close, type = 'confirm', icon, title, co
15
15
  const contentId = useId();
16
16
  const [loading, setLoading] = useState(false);
17
17
  const [cancelLoading, setCancelLoading] = useState(false);
18
+ const okPending = useRef(false);
18
19
  const cancelPending = useRef(false);
19
20
  useLayoutEffect(()=>onMount?.(), [
20
21
  onMount
@@ -23,19 +24,23 @@ function ConfirmDialog({ onMount, open, close, type = 'confirm', icon, title, co
23
24
  const runAndClose = async (handler, withLoading)=>{
24
25
  const result = handler?.();
25
26
  if (isPromise(result)) {
26
- if (withLoading) setLoading(true);
27
- else setCancelLoading(true);
27
+ if (withLoading) {
28
+ okPending.current = true;
29
+ setLoading(true);
30
+ } else setCancelLoading(true);
28
31
  try {
29
32
  await result;
30
33
  close();
31
34
  } catch {} finally{
32
- if (withLoading) setLoading(false);
33
- else setCancelLoading(false);
35
+ if (withLoading) {
36
+ okPending.current = false;
37
+ setLoading(false);
38
+ } else setCancelLoading(false);
34
39
  }
35
40
  } else close();
36
41
  };
37
42
  const handleOk = ()=>{
38
- if (cancelPending.current) return;
43
+ if (cancelPending.current || okPending.current) return;
39
44
  return runAndClose(onOk, true);
40
45
  };
41
46
  const handleCancel = async ()=>{
@@ -81,7 +81,7 @@ function useModal() {
81
81
  children: dialogs.map((d_2)=>/*#__PURE__*/ createElement(ConfirmDialog, {
82
82
  ...d_2.config,
83
83
  key: d_2.key,
84
- type: d_2.type,
84
+ type: d_2.config.type ?? d_2.type,
85
85
  open: d_2.open,
86
86
  onMount: d_2.onMount,
87
87
  close: d_2.close,
@@ -1,4 +1,4 @@
1
- import { type ReactNode } from 'react';
1
+ import { type CSSProperties, type ReactNode } from 'react';
2
2
  import { type TaoSize } from '../../provider/tao-provider.js';
3
3
  import { type SemanticClassNames, type SemanticStyles } from '../../utils/semantic.js';
4
4
  import './pagination.css';
@@ -19,7 +19,8 @@ export interface PaginationProps {
19
19
  size?: TaoSize;
20
20
  disabled?: boolean;
21
21
  className?: string;
22
+ style?: CSSProperties;
22
23
  classNames?: SemanticClassNames<PaginationSemanticPart>;
23
24
  styles?: SemanticStyles<PaginationSemanticPart>;
24
25
  }
25
- export declare function Pagination({ current: currentProp, defaultCurrent, pageSize: pageSizeProp, defaultPageSize, total, onChange, showSizeChanger, pageSizeOptions, showTotal, size, disabled, className, classNames, styles, }: PaginationProps): import("react").JSX.Element;
26
+ export declare function Pagination({ current: currentProp, defaultCurrent, pageSize: pageSizeProp, defaultPageSize, total, onChange, showSizeChanger, pageSizeOptions, showTotal, size, disabled, className, style, classNames, styles, }: PaginationProps): import("react").JSX.Element;
@@ -68,8 +68,8 @@ function ChevronRight() {
68
68
  return t0;
69
69
  }
70
70
  function Pagination(t0) {
71
- const $ = c(71);
72
- const { current: currentProp, defaultCurrent: t1, pageSize: pageSizeProp, defaultPageSize: t2, total, onChange, showSizeChanger: t3, pageSizeOptions: t4, showTotal, size, disabled, className, classNames, styles } = t0;
71
+ const $ = c(74);
72
+ const { current: currentProp, defaultCurrent: t1, pageSize: pageSizeProp, defaultPageSize: t2, total, onChange, showSizeChanger: t3, pageSizeOptions: t4, showTotal, size, disabled, className, style, classNames, styles } = t0;
73
73
  const defaultCurrent = void 0 === t1 ? 1 : t1;
74
74
  const defaultPageSize = void 0 === t2 ? 10 : t2;
75
75
  const showSizeChanger = void 0 === t3 ? false : t3;
@@ -143,8 +143,18 @@ function Pagination(t0) {
143
143
  } else t11 = $[14];
144
144
  const t12 = styles?.root;
145
145
  let t13;
146
- if ($[15] !== classNames?.total || $[16] !== current || $[17] !== rangeEnd || $[18] !== rangeStart || $[19] !== showTotal || $[20] !== styles?.total || $[21] !== total) {
147
- t13 = showTotal && /*#__PURE__*/ jsx("span", {
146
+ if ($[15] !== style || $[16] !== t12) {
147
+ t13 = {
148
+ ...t12,
149
+ ...style
150
+ };
151
+ $[15] = style;
152
+ $[16] = t12;
153
+ $[17] = t13;
154
+ } else t13 = $[17];
155
+ let t14;
156
+ if ($[18] !== classNames?.total || $[19] !== current || $[20] !== rangeEnd || $[21] !== rangeStart || $[22] !== showTotal || $[23] !== styles?.total || $[24] !== total) {
157
+ t14 = showTotal && /*#__PURE__*/ jsx("span", {
148
158
  "data-tao-pagination-total": "",
149
159
  className: classNames?.total,
150
160
  style: styles?.total,
@@ -156,52 +166,52 @@ function Pagination(t0) {
156
166
  0
157
167
  ])
158
168
  });
159
- $[15] = classNames?.total;
160
- $[16] = current;
161
- $[17] = rangeEnd;
162
- $[18] = rangeStart;
163
- $[19] = showTotal;
164
- $[20] = styles?.total;
165
- $[21] = total;
166
- $[22] = t13;
167
- } else t13 = $[22];
168
- const t14 = resolvedDisabled || current <= 1;
169
- let t15;
170
- if ($[23] !== current || $[24] !== goTo) {
171
- t15 = ()=>goTo(current - 1);
172
- $[23] = current;
173
- $[24] = goTo;
174
- $[25] = t15;
175
- } else t15 = $[25];
176
- const t16 = classNames?.item;
177
- const t17 = styles?.item;
178
- let t18;
179
- if ($[26] === Symbol.for("react.memo_cache_sentinel")) {
180
- t18 = /*#__PURE__*/ jsx(ChevronLeft, {});
181
- $[26] = t18;
182
- } else t18 = $[26];
169
+ $[18] = classNames?.total;
170
+ $[19] = current;
171
+ $[20] = rangeEnd;
172
+ $[21] = rangeStart;
173
+ $[22] = showTotal;
174
+ $[23] = styles?.total;
175
+ $[24] = total;
176
+ $[25] = t14;
177
+ } else t14 = $[25];
178
+ const t15 = resolvedDisabled || current <= 1;
179
+ let t16;
180
+ if ($[26] !== current || $[27] !== goTo) {
181
+ t16 = ()=>goTo(current - 1);
182
+ $[26] = current;
183
+ $[27] = goTo;
184
+ $[28] = t16;
185
+ } else t16 = $[28];
186
+ const t17 = classNames?.item;
187
+ const t18 = styles?.item;
183
188
  let t19;
184
- if ($[27] !== ctx.locale.messages.previousPage || $[28] !== t14 || $[29] !== t15 || $[30] !== t16 || $[31] !== t17) {
185
- t19 = /*#__PURE__*/ jsx("button", {
189
+ if ($[29] === Symbol.for("react.memo_cache_sentinel")) {
190
+ t19 = /*#__PURE__*/ jsx(ChevronLeft, {});
191
+ $[29] = t19;
192
+ } else t19 = $[29];
193
+ let t20;
194
+ if ($[30] !== ctx.locale.messages.previousPage || $[31] !== t15 || $[32] !== t16 || $[33] !== t17 || $[34] !== t18) {
195
+ t20 = /*#__PURE__*/ jsx("button", {
186
196
  type: "button",
187
197
  "data-tao-pagination-btn": "",
188
- disabled: t14,
198
+ disabled: t15,
189
199
  "aria-label": ctx.locale.messages.previousPage,
190
- onClick: t15,
191
- className: t16,
192
- style: t17,
193
- children: t18
200
+ onClick: t16,
201
+ className: t17,
202
+ style: t18,
203
+ children: t19
194
204
  });
195
- $[27] = ctx.locale.messages.previousPage;
196
- $[28] = t14;
197
- $[29] = t15;
198
- $[30] = t16;
199
- $[31] = t17;
200
- $[32] = t19;
201
- } else t19 = $[32];
202
- let t20;
203
- if ($[33] !== classNames?.item || $[34] !== ctx.locale.messages || $[35] !== current || $[36] !== goTo || $[37] !== pages || $[38] !== resolvedDisabled || $[39] !== styles?.item) {
204
- t20 = pages.map((item, i)=>"ellipsis" === item ? /*#__PURE__*/ jsx("span", {
205
+ $[30] = ctx.locale.messages.previousPage;
206
+ $[31] = t15;
207
+ $[32] = t16;
208
+ $[33] = t17;
209
+ $[34] = t18;
210
+ $[35] = t20;
211
+ } else t20 = $[35];
212
+ let t21;
213
+ if ($[36] !== classNames?.item || $[37] !== ctx.locale.messages || $[38] !== current || $[39] !== goTo || $[40] !== pages || $[41] !== resolvedDisabled || $[42] !== styles?.item) {
214
+ t21 = pages.map((item, i)=>"ellipsis" === item ? /*#__PURE__*/ jsx("span", {
205
215
  "data-tao-pagination-ellipsis": "",
206
216
  children: "\xb7\xb7\xb7"
207
217
  }, `ellipsis-${pages[i - 1]}-${pages[i + 1]}`) : /*#__PURE__*/ jsx("button", {
@@ -216,52 +226,52 @@ function Pagination(t0) {
216
226
  style: styles?.item,
217
227
  children: item
218
228
  }, item));
219
- $[33] = classNames?.item;
220
- $[34] = ctx.locale.messages;
221
- $[35] = current;
222
- $[36] = goTo;
223
- $[37] = pages;
224
- $[38] = resolvedDisabled;
225
- $[39] = styles?.item;
226
- $[40] = t20;
227
- } else t20 = $[40];
228
- const t21 = resolvedDisabled || current >= totalPages;
229
- let t22;
230
- if ($[41] !== current || $[42] !== goTo) {
231
- t22 = ()=>goTo(current + 1);
232
- $[41] = current;
233
- $[42] = goTo;
234
- $[43] = t22;
235
- } else t22 = $[43];
236
- const t23 = classNames?.item;
237
- const t24 = styles?.item;
238
- let t25;
239
- if ($[44] === Symbol.for("react.memo_cache_sentinel")) {
240
- t25 = /*#__PURE__*/ jsx(ChevronRight, {});
241
- $[44] = t25;
242
- } else t25 = $[44];
229
+ $[36] = classNames?.item;
230
+ $[37] = ctx.locale.messages;
231
+ $[38] = current;
232
+ $[39] = goTo;
233
+ $[40] = pages;
234
+ $[41] = resolvedDisabled;
235
+ $[42] = styles?.item;
236
+ $[43] = t21;
237
+ } else t21 = $[43];
238
+ const t22 = resolvedDisabled || current >= totalPages;
239
+ let t23;
240
+ if ($[44] !== current || $[45] !== goTo) {
241
+ t23 = ()=>goTo(current + 1);
242
+ $[44] = current;
243
+ $[45] = goTo;
244
+ $[46] = t23;
245
+ } else t23 = $[46];
246
+ const t24 = classNames?.item;
247
+ const t25 = styles?.item;
243
248
  let t26;
244
- if ($[45] !== ctx.locale.messages.nextPage || $[46] !== t21 || $[47] !== t22 || $[48] !== t23 || $[49] !== t24) {
245
- t26 = /*#__PURE__*/ jsx("button", {
249
+ if ($[47] === Symbol.for("react.memo_cache_sentinel")) {
250
+ t26 = /*#__PURE__*/ jsx(ChevronRight, {});
251
+ $[47] = t26;
252
+ } else t26 = $[47];
253
+ let t27;
254
+ if ($[48] !== ctx.locale.messages.nextPage || $[49] !== t22 || $[50] !== t23 || $[51] !== t24 || $[52] !== t25) {
255
+ t27 = /*#__PURE__*/ jsx("button", {
246
256
  type: "button",
247
257
  "data-tao-pagination-btn": "",
248
- disabled: t21,
258
+ disabled: t22,
249
259
  "aria-label": ctx.locale.messages.nextPage,
250
- onClick: t22,
251
- className: t23,
252
- style: t24,
253
- children: t25
260
+ onClick: t23,
261
+ className: t24,
262
+ style: t25,
263
+ children: t26
254
264
  });
255
- $[45] = ctx.locale.messages.nextPage;
256
- $[46] = t21;
257
- $[47] = t22;
258
- $[48] = t23;
259
- $[49] = t24;
260
- $[50] = t26;
261
- } else t26 = $[50];
262
- let t27;
263
- if ($[51] !== ctx.locale.messages.itemsPerPage || $[52] !== ctx.locale.messages.pageSize || $[53] !== goTo || $[54] !== pageSize || $[55] !== pageSizeOptions || $[56] !== resolvedDisabled || $[57] !== resolvedSize || $[58] !== showSizeChanger) {
264
- t27 = showSizeChanger && /*#__PURE__*/ jsx(Select, {
265
+ $[48] = ctx.locale.messages.nextPage;
266
+ $[49] = t22;
267
+ $[50] = t23;
268
+ $[51] = t24;
269
+ $[52] = t25;
270
+ $[53] = t27;
271
+ } else t27 = $[53];
272
+ let t28;
273
+ if ($[54] !== ctx.locale.messages.itemsPerPage || $[55] !== ctx.locale.messages.pageSize || $[56] !== goTo || $[57] !== pageSize || $[58] !== pageSizeOptions || $[59] !== resolvedDisabled || $[60] !== resolvedSize || $[61] !== showSizeChanger) {
274
+ t28 = showSizeChanger && /*#__PURE__*/ jsx(Select, {
265
275
  "aria-label": ctx.locale.messages.pageSize,
266
276
  style: {
267
277
  width: "auto"
@@ -281,45 +291,45 @@ function Pagination(t0) {
281
291
  disabled: resolvedDisabled,
282
292
  size: "large" === resolvedSize ? "medium" : resolvedSize
283
293
  });
284
- $[51] = ctx.locale.messages.itemsPerPage;
285
- $[52] = ctx.locale.messages.pageSize;
286
- $[53] = goTo;
287
- $[54] = pageSize;
288
- $[55] = pageSizeOptions;
289
- $[56] = resolvedDisabled;
290
- $[57] = resolvedSize;
291
- $[58] = showSizeChanger;
292
- $[59] = t27;
293
- } else t27 = $[59];
294
- let t28;
295
- if ($[60] !== ctx.locale.messages.pagination || $[61] !== resolvedSize || $[62] !== t11 || $[63] !== t12 || $[64] !== t13 || $[65] !== t19 || $[66] !== t20 || $[67] !== t26 || $[68] !== t27 || $[69] !== t8) {
296
- t28 = /*#__PURE__*/ jsxs("nav", {
294
+ $[54] = ctx.locale.messages.itemsPerPage;
295
+ $[55] = ctx.locale.messages.pageSize;
296
+ $[56] = goTo;
297
+ $[57] = pageSize;
298
+ $[58] = pageSizeOptions;
299
+ $[59] = resolvedDisabled;
300
+ $[60] = resolvedSize;
301
+ $[61] = showSizeChanger;
302
+ $[62] = t28;
303
+ } else t28 = $[62];
304
+ let t29;
305
+ if ($[63] !== ctx.locale.messages.pagination || $[64] !== resolvedSize || $[65] !== t11 || $[66] !== t13 || $[67] !== t14 || $[68] !== t20 || $[69] !== t21 || $[70] !== t27 || $[71] !== t28 || $[72] !== t8) {
306
+ t29 = /*#__PURE__*/ jsxs("nav", {
297
307
  "data-tao-pagination": "",
298
308
  "data-tao-size": resolvedSize,
299
309
  "data-tao-disabled": t8,
300
310
  "aria-label": t9,
301
311
  className: t11,
302
- style: t12,
312
+ style: t13,
303
313
  children: [
304
- t13,
305
- t19,
314
+ t14,
306
315
  t20,
307
- t26,
308
- t27
316
+ t21,
317
+ t27,
318
+ t28
309
319
  ]
310
320
  });
311
- $[60] = ctx.locale.messages.pagination;
312
- $[61] = resolvedSize;
313
- $[62] = t11;
314
- $[63] = t12;
315
- $[64] = t13;
316
- $[65] = t19;
317
- $[66] = t20;
318
- $[67] = t26;
319
- $[68] = t27;
320
- $[69] = t8;
321
- $[70] = t28;
322
- } else t28 = $[70];
323
- return t28;
321
+ $[63] = ctx.locale.messages.pagination;
322
+ $[64] = resolvedSize;
323
+ $[65] = t11;
324
+ $[66] = t13;
325
+ $[67] = t14;
326
+ $[68] = t20;
327
+ $[69] = t21;
328
+ $[70] = t27;
329
+ $[71] = t28;
330
+ $[72] = t8;
331
+ $[73] = t29;
332
+ } else t29 = $[73];
333
+ return t29;
324
334
  }
325
335
  export { Pagination };