@expcat/tigercat-vue 1.2.23 → 1.2.31

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 (141) hide show
  1. package/dist/{chunk-OK7MTFAX.mjs → chunk-4GYBJBFJ.mjs} +76 -19
  2. package/dist/{chunk-YCBU3C4T.mjs → chunk-4J5EK3WY.mjs} +100 -35
  3. package/dist/{chunk-2C5TOAYI.js → chunk-663C2UX7.js} +2 -2
  4. package/dist/{chunk-P453RVKY.js → chunk-6G5IMGTC.js} +85 -14
  5. package/dist/{chunk-NMVKDWMK.mjs → chunk-7U673KY5.mjs} +77 -8
  6. package/dist/{chunk-5ZAIW5W3.mjs → chunk-AQE5RZDE.mjs} +1 -1
  7. package/dist/{chunk-DYJ4Z47L.mjs → chunk-BPRKQVIL.mjs} +143 -46
  8. package/dist/{chunk-V6YR7CPK.js → chunk-CNRBYRK6.js} +56 -21
  9. package/dist/{chunk-KOLARHCT.js → chunk-DEDRUUK4.js} +1 -0
  10. package/dist/{chunk-VPNIZPIF.js → chunk-DS7RQFEG.js} +15 -2
  11. package/dist/{chunk-BGMQIUPP.js → chunk-EU4IGIPC.js} +7 -4
  12. package/dist/{chunk-CN7HFUFN.mjs → chunk-F5S26BR3.mjs} +7 -4
  13. package/dist/{chunk-YCBLL5K3.js → chunk-FKLK6RHZ.js} +76 -19
  14. package/dist/{chunk-U5S3ZEYZ.js → chunk-H5JDEKIV.js} +100 -35
  15. package/dist/{chunk-XMGU52S5.js → chunk-L6W3XL3A.js} +143 -46
  16. package/dist/{chunk-F5JPUPWI.mjs → chunk-OF4MY6EC.mjs} +1 -0
  17. package/dist/{chunk-KLX7YHP2.mjs → chunk-OZLSZQXF.mjs} +83 -12
  18. package/dist/{chunk-ATRF7NPJ.mjs → chunk-PKMSTN65.mjs} +55 -20
  19. package/dist/{chunk-PUSTYAMS.mjs → chunk-RE7K3KNW.mjs} +16 -3
  20. package/dist/{chunk-IIEMDA36.mjs → chunk-S45NWVQS.mjs} +14 -8
  21. package/dist/{chunk-CBZIVUCJ.js → chunk-VES3OJOP.js} +14 -8
  22. package/dist/{chunk-OW5D4LU6.js → chunk-YS6YQKYU.js} +80 -11
  23. package/dist/components/ActivityFeed.d.mts +2 -2
  24. package/dist/components/ActivityFeed.d.ts +2 -2
  25. package/dist/components/ActivityFeed.js +2 -2
  26. package/dist/components/ActivityFeed.mjs +1 -1
  27. package/dist/components/Alert.d.mts +5 -5
  28. package/dist/components/Alert.d.ts +5 -5
  29. package/dist/components/Anchor.d.mts +2 -2
  30. package/dist/components/Anchor.d.ts +2 -2
  31. package/dist/components/BackTop.d.mts +1 -1
  32. package/dist/components/BackTop.d.ts +1 -1
  33. package/dist/components/ButtonGroup.d.mts +1 -1
  34. package/dist/components/ButtonGroup.d.ts +1 -1
  35. package/dist/components/Card.d.mts +1 -1
  36. package/dist/components/Card.d.ts +1 -1
  37. package/dist/components/ChatWindow.js +3 -2
  38. package/dist/components/ChatWindow.mjs +2 -1
  39. package/dist/components/CodeEditor.d.mts +1 -1
  40. package/dist/components/CodeEditor.d.ts +1 -1
  41. package/dist/components/CollapsePanel.d.mts +1 -1
  42. package/dist/components/CollapsePanel.d.ts +1 -1
  43. package/dist/components/CommentThread.d.mts +1 -1
  44. package/dist/components/CommentThread.d.ts +1 -1
  45. package/dist/components/CommentThread.js +2 -2
  46. package/dist/components/CommentThread.mjs +1 -1
  47. package/dist/components/Countdown.d.mts +1 -1
  48. package/dist/components/Countdown.d.ts +1 -1
  49. package/dist/components/CropUpload.js +2 -2
  50. package/dist/components/CropUpload.mjs +1 -1
  51. package/dist/components/DataTableWithToolbar.d.mts +3 -3
  52. package/dist/components/DataTableWithToolbar.d.ts +3 -3
  53. package/dist/components/DataTableWithToolbar.js +4 -3
  54. package/dist/components/DataTableWithToolbar.mjs +3 -2
  55. package/dist/components/DatePicker.d.mts +1 -1
  56. package/dist/components/DatePicker.d.ts +1 -1
  57. package/dist/components/Descriptions.d.mts +1 -1
  58. package/dist/components/Descriptions.d.ts +1 -1
  59. package/dist/components/Drawer.d.mts +4 -4
  60. package/dist/components/Drawer.d.ts +4 -4
  61. package/dist/components/Empty.d.mts +1 -1
  62. package/dist/components/Empty.d.ts +1 -1
  63. package/dist/components/FileManager.d.mts +1 -1
  64. package/dist/components/FileManager.d.ts +1 -1
  65. package/dist/components/FormWizard.d.mts +12 -3
  66. package/dist/components/FormWizard.d.ts +12 -3
  67. package/dist/components/FormWizard.js +3 -3
  68. package/dist/components/FormWizard.mjs +2 -2
  69. package/dist/components/HeatmapChart.d.mts +1 -1
  70. package/dist/components/HeatmapChart.d.ts +1 -1
  71. package/dist/components/InfiniteScroll.d.mts +1 -1
  72. package/dist/components/InfiniteScroll.d.ts +1 -1
  73. package/dist/components/Kanban.d.mts +1 -1
  74. package/dist/components/Kanban.d.ts +1 -1
  75. package/dist/components/Kanban.js +3 -3
  76. package/dist/components/Kanban.mjs +2 -2
  77. package/dist/components/List.d.mts +2 -2
  78. package/dist/components/List.d.ts +2 -2
  79. package/dist/components/MarkdownEditor.d.mts +1 -1
  80. package/dist/components/MarkdownEditor.d.ts +1 -1
  81. package/dist/components/Menu.d.mts +5 -5
  82. package/dist/components/Menu.d.ts +5 -5
  83. package/dist/components/Modal.d.mts +8 -8
  84. package/dist/components/Modal.d.ts +8 -8
  85. package/dist/components/NotificationCenter.d.mts +3 -3
  86. package/dist/components/NotificationCenter.d.ts +3 -3
  87. package/dist/components/NotificationCenter.js +2 -2
  88. package/dist/components/NotificationCenter.mjs +1 -1
  89. package/dist/components/NumberKeyboard.d.mts +1 -1
  90. package/dist/components/NumberKeyboard.d.ts +1 -1
  91. package/dist/components/Pagination.d.mts +2 -2
  92. package/dist/components/Pagination.d.ts +2 -2
  93. package/dist/components/Popconfirm.d.mts +5 -5
  94. package/dist/components/Popconfirm.d.ts +5 -5
  95. package/dist/components/Popover.d.mts +1 -1
  96. package/dist/components/Popover.d.ts +1 -1
  97. package/dist/components/Result.d.mts +1 -1
  98. package/dist/components/Result.d.ts +1 -1
  99. package/dist/components/ScrollSpy.d.mts +1 -1
  100. package/dist/components/ScrollSpy.d.ts +1 -1
  101. package/dist/components/Space.d.mts +1 -1
  102. package/dist/components/Space.d.ts +1 -1
  103. package/dist/components/Splitter.d.mts +1 -1
  104. package/dist/components/Splitter.d.ts +1 -1
  105. package/dist/components/Spotlight.d.mts +4 -4
  106. package/dist/components/Spotlight.d.ts +4 -4
  107. package/dist/components/Statistic.d.mts +1 -1
  108. package/dist/components/Statistic.d.ts +1 -1
  109. package/dist/components/Steps.d.mts +2 -2
  110. package/dist/components/Steps.d.ts +2 -2
  111. package/dist/components/Steps.js +2 -2
  112. package/dist/components/Steps.mjs +1 -1
  113. package/dist/components/StepsItem.js +3 -3
  114. package/dist/components/StepsItem.mjs +1 -1
  115. package/dist/components/Table.d.mts +1 -1
  116. package/dist/components/Table.d.ts +1 -1
  117. package/dist/components/Table.js +3 -2
  118. package/dist/components/Table.mjs +2 -1
  119. package/dist/components/Tabs.d.mts +2 -2
  120. package/dist/components/Tabs.d.ts +2 -2
  121. package/dist/components/Tag.d.mts +2 -2
  122. package/dist/components/Tag.d.ts +2 -2
  123. package/dist/components/TaskBoard.d.mts +1 -1
  124. package/dist/components/TaskBoard.d.ts +1 -1
  125. package/dist/components/TaskBoard.js +2 -2
  126. package/dist/components/TaskBoard.mjs +1 -1
  127. package/dist/components/TimePicker.d.mts +2 -2
  128. package/dist/components/TimePicker.d.ts +2 -2
  129. package/dist/components/Timeline.d.mts +2 -2
  130. package/dist/components/Timeline.d.ts +2 -2
  131. package/dist/components/Tour.d.mts +4 -4
  132. package/dist/components/Tour.d.ts +4 -4
  133. package/dist/components/Tree.d.mts +2 -2
  134. package/dist/components/Tree.d.ts +2 -2
  135. package/dist/components/Upload.d.mts +4 -4
  136. package/dist/components/Upload.d.ts +4 -4
  137. package/dist/components/VirtualTable.d.mts +1 -1
  138. package/dist/components/VirtualTable.d.ts +1 -1
  139. package/dist/index.js +15 -15
  140. package/dist/index.mjs +14 -14
  141. package/package.json +2 -2
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  VirtualList
3
3
  } from "./chunk-PENI3H3I.mjs";
4
+ import {
5
+ Empty
6
+ } from "./chunk-WFISP42H.mjs";
4
7
  import {
5
8
  Input
6
9
  } from "./chunk-2WJADO6O.mjs";
@@ -150,7 +153,7 @@ var ChatWindow = defineComponent({
150
153
  );
151
154
  const wrapperClasses = computed(
152
155
  () => classNames(
153
- "tiger-chat-window flex flex-col w-full rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)]",
156
+ "tiger-chat-window flex flex-col w-full rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] shadow-sm overflow-hidden transition-all duration-300",
154
157
  props.className,
155
158
  coerceClassValue(attrs.class)
156
159
  )
@@ -248,8 +251,8 @@ var ChatWindow = defineComponent({
248
251
  "div",
249
252
  {
250
253
  class: classNames(
251
- "rounded-[var(--tiger-radius-md,0.5rem)] px-3 py-2 text-sm break-words",
252
- isSelf ? "bg-[var(--tiger-primary,#2563eb)] text-white rounded-tr-none" : "bg-[var(--tiger-surface-muted,#f3f4f6)] text-[var(--tiger-text,#111827)] rounded-tl-none"
254
+ "rounded-[var(--tiger-radius-lg,0.75rem)] px-4 py-2.5 text-sm break-words shadow-sm transition-all",
255
+ isSelf ? "bg-[var(--tiger-primary,#2563eb)] text-white rounded-tr-[var(--tiger-radius-sm,0.375rem)]" : "bg-[var(--tiger-surface,#ffffff)] border border-[var(--tiger-border,#e5e7eb)] text-[var(--tiger-text,#111827)] rounded-tl-[var(--tiger-radius-sm,0.375rem)]"
253
256
  ),
254
257
  "data-tiger-chat-bubble": ""
255
258
  },
@@ -294,6 +297,7 @@ var ChatWindow = defineComponent({
294
297
  "div",
295
298
  {
296
299
  ref: virtualWrapperRef,
300
+ class: "flex-1 overflow-auto bg-[var(--tiger-surface-muted,#f9fafb)]",
297
301
  role: "log",
298
302
  "aria-live": "polite",
299
303
  "aria-relevant": "additions text",
@@ -316,7 +320,7 @@ var ChatWindow = defineComponent({
316
320
  "div",
317
321
  {
318
322
  ref: messageListRef,
319
- class: "flex-1 overflow-auto p-4 space-y-3",
323
+ class: "flex-1 overflow-auto p-5 space-y-4 bg-[var(--tiger-surface-muted,#f9fafb)]",
320
324
  role: "log",
321
325
  "aria-live": "polite",
322
326
  "aria-relevant": "additions text",
@@ -326,23 +330,25 @@ var ChatWindow = defineComponent({
326
330
  h(
327
331
  "div",
328
332
  {
329
- class: "h-full flex items-center justify-center text-[var(--tiger-text-muted,#6b7280)]"
333
+ class: "h-full flex items-center justify-center py-8"
330
334
  },
331
- props.emptyText
335
+ [
336
+ h(Empty, { description: props.emptyText })
337
+ ]
332
338
  )
333
339
  ] : props.messages.map((message, index) => renderMessageItem(message, index))
334
340
  ),
335
341
  props.statusText ? h(
336
342
  "div",
337
343
  {
338
- class: "px-4 py-1.5 border-t border-[var(--tiger-border,#e5e7eb)] text-xs italic text-[var(--tiger-text-muted,#6b7280)]"
344
+ class: "px-5 py-2 border-t border-[var(--tiger-border,#e5e7eb)] text-xs italic text-[var(--tiger-text-muted,#6b7280)] bg-[var(--tiger-surface-muted,#f9fafb)]"
339
345
  },
340
346
  props.statusText
341
347
  ) : null,
342
348
  h(
343
349
  "div",
344
350
  {
345
- class: "flex items-end gap-3 px-4 py-3 border-t border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] rounded-b-lg"
351
+ class: "flex items-end gap-3 px-5 py-4 border-t border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] rounded-b-lg"
346
352
  },
347
353
  [
348
354
  h("div", { class: "flex-1" }, [renderInput()]),
@@ -3,6 +3,9 @@
3
3
  var _chunk5F6P5Y4Kjs = require('./chunk-5F6P5Y4K.js');
4
4
 
5
5
 
6
+ var _chunkNOZ65AMOjs = require('./chunk-NOZ65AMO.js');
7
+
8
+
6
9
  var _chunkBYNMOQBBjs = require('./chunk-BYNMOQBB.js');
7
10
 
8
11
 
@@ -150,7 +153,7 @@ var ChatWindow = _vue.defineComponent.call(void 0, {
150
153
  );
151
154
  const wrapperClasses = _vue.computed.call(void 0,
152
155
  () => _tigercatcore.classNames.call(void 0,
153
- "tiger-chat-window flex flex-col w-full rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)]",
156
+ "tiger-chat-window flex flex-col w-full rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] shadow-sm overflow-hidden transition-all duration-300",
154
157
  props.className,
155
158
  _tigercatcore.coerceClassValue.call(void 0, attrs.class)
156
159
  )
@@ -248,8 +251,8 @@ var ChatWindow = _vue.defineComponent.call(void 0, {
248
251
  "div",
249
252
  {
250
253
  class: _tigercatcore.classNames.call(void 0,
251
- "rounded-[var(--tiger-radius-md,0.5rem)] px-3 py-2 text-sm break-words",
252
- isSelf ? "bg-[var(--tiger-primary,#2563eb)] text-white rounded-tr-none" : "bg-[var(--tiger-surface-muted,#f3f4f6)] text-[var(--tiger-text,#111827)] rounded-tl-none"
254
+ "rounded-[var(--tiger-radius-lg,0.75rem)] px-4 py-2.5 text-sm break-words shadow-sm transition-all",
255
+ isSelf ? "bg-[var(--tiger-primary,#2563eb)] text-white rounded-tr-[var(--tiger-radius-sm,0.375rem)]" : "bg-[var(--tiger-surface,#ffffff)] border border-[var(--tiger-border,#e5e7eb)] text-[var(--tiger-text,#111827)] rounded-tl-[var(--tiger-radius-sm,0.375rem)]"
253
256
  ),
254
257
  "data-tiger-chat-bubble": ""
255
258
  },
@@ -294,6 +297,7 @@ var ChatWindow = _vue.defineComponent.call(void 0, {
294
297
  "div",
295
298
  {
296
299
  ref: virtualWrapperRef,
300
+ class: "flex-1 overflow-auto bg-[var(--tiger-surface-muted,#f9fafb)]",
297
301
  role: "log",
298
302
  "aria-live": "polite",
299
303
  "aria-relevant": "additions text",
@@ -316,7 +320,7 @@ var ChatWindow = _vue.defineComponent.call(void 0, {
316
320
  "div",
317
321
  {
318
322
  ref: messageListRef,
319
- class: "flex-1 overflow-auto p-4 space-y-3",
323
+ class: "flex-1 overflow-auto p-5 space-y-4 bg-[var(--tiger-surface-muted,#f9fafb)]",
320
324
  role: "log",
321
325
  "aria-live": "polite",
322
326
  "aria-relevant": "additions text",
@@ -326,23 +330,25 @@ var ChatWindow = _vue.defineComponent.call(void 0, {
326
330
  _vue.h.call(void 0,
327
331
  "div",
328
332
  {
329
- class: "h-full flex items-center justify-center text-[var(--tiger-text-muted,#6b7280)]"
333
+ class: "h-full flex items-center justify-center py-8"
330
334
  },
331
- props.emptyText
335
+ [
336
+ _vue.h.call(void 0, _chunkNOZ65AMOjs.Empty, { description: props.emptyText })
337
+ ]
332
338
  )
333
339
  ] : props.messages.map((message, index) => renderMessageItem(message, index))
334
340
  ),
335
341
  props.statusText ? _vue.h.call(void 0,
336
342
  "div",
337
343
  {
338
- class: "px-4 py-1.5 border-t border-[var(--tiger-border,#e5e7eb)] text-xs italic text-[var(--tiger-text-muted,#6b7280)]"
344
+ class: "px-5 py-2 border-t border-[var(--tiger-border,#e5e7eb)] text-xs italic text-[var(--tiger-text-muted,#6b7280)] bg-[var(--tiger-surface-muted,#f9fafb)]"
339
345
  },
340
346
  props.statusText
341
347
  ) : null,
342
348
  _vue.h.call(void 0,
343
349
  "div",
344
350
  {
345
- class: "flex items-end gap-3 px-4 py-3 border-t border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] rounded-b-lg"
351
+ class: "flex items-end gap-3 px-5 py-4 border-t border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] rounded-b-lg"
346
352
  },
347
353
  [
348
354
  _vue.h.call(void 0, "div", { class: "flex-1" }, [renderInput()]),
@@ -1,4 +1,16 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }// src/components/Table.ts
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
+
3
+ var _chunk25EYT2CBjs = require('./chunk-25EYT2CB.js');
4
+
5
+ // src/components/Table.ts
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
2
14
  var _vue = require('vue');
3
15
 
4
16
 
@@ -13,6 +25,10 @@ var _vue = require('vue');
13
25
 
14
26
 
15
27
 
28
+
29
+
30
+
31
+
16
32
  var _tigercatcore = require('@expcat/tigercat-core');
17
33
 
18
34
 
@@ -1076,18 +1092,35 @@ function renderSummaryRow(ctx, props) {
1076
1092
 
1077
1093
 
1078
1094
 
1079
- function renderPagination(ctx, props) {
1095
+
1096
+
1097
+
1098
+
1099
+ function renderPagination(ctx, props, view) {
1080
1100
  if (props.pagination === false || !ctx.paginationInfo.value) {
1081
1101
  return null;
1082
1102
  }
1083
1103
  const { totalPages, startIndex, endIndex, hasNext, hasPrev } = ctx.paginationInfo.value;
1084
1104
  const paginationConfig = props.pagination;
1085
1105
  const total = paginationConfig.total !== void 0 && paginationConfig.total > 0 ? paginationConfig.total : ctx.processedData.value.length;
1106
+ const locale = _optionalChain([view, 'optionalAccess', _81 => _81.disableI18n]) ? void 0 : _optionalChain([view, 'optionalAccess', _82 => _82.locale]);
1107
+ const labels = locale ? _tigercatcore.getPaginationLabels.call(void 0, locale) : void 0;
1108
+ const localeCode = _optionalChain([locale, 'optionalAccess', _83 => _83.locale]);
1109
+ const isZh = !!_optionalChain([localeCode, 'optionalAccess', _84 => _84.startsWith, 'call', _85 => _85("zh")]) || _optionalChain([locale, 'optionalAccess', _86 => _86.formWizard, 'optionalAccess', _87 => _87.prevText]) === "\u4E0A\u4E00\u6B65" || _optionalChain([locale, 'optionalAccess', _88 => _88.upload, 'optionalAccess', _89 => _89.clickToUploadText]) === "\u70B9\u51FB\u4E0A\u4F20";
1110
+ const defaultTotalText = (t, range) => isZh ? `\u5171 ${t} \u6761` : `Showing ${range[0]} to ${range[1]} of ${t} results`;
1111
+ const defaultPrevText = isZh ? "\u4E0A\u4E00\u9875" : "Previous";
1112
+ const defaultNextText = isZh ? "\u4E0B\u4E00\u9875" : "Next";
1113
+ const defaultPageIndicatorText = (current, total2) => isZh ? `\u7B2C ${current} \u9875 / \u5171 ${total2} \u9875` : `Page ${current} of ${total2}`;
1114
+ const defaultPageSizeText = (size) => isZh ? `${size} \u6761/\u9875` : `${size} / page`;
1115
+ const finalTotalText = paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : labels ? _tigercatcore.formatPaginationTotal.call(void 0, labels.totalText, total, [startIndex, endIndex], localeCode) : defaultTotalText(total, [startIndex, endIndex]);
1116
+ const finalPrevText = paginationConfig.prevText || _optionalChain([labels, 'optionalAccess', _90 => _90.prevPageAriaLabel]) || defaultPrevText;
1117
+ const finalNextText = paginationConfig.nextText || _optionalChain([labels, 'optionalAccess', _91 => _91.nextPageAriaLabel]) || defaultNextText;
1118
+ const finalPageIndicatorText = paginationConfig.pageIndicatorText ? paginationConfig.pageIndicatorText(ctx.currentPage.value, totalPages) : labels ? `${_tigercatcore.formatPageAriaLabel.call(void 0, labels.pageAriaLabel, ctx.currentPage.value, localeCode)} / ${_tigercatcore.formatIntlNumber.call(void 0, totalPages, localeCode)} ${labels.pageText}` : defaultPageIndicatorText(ctx.currentPage.value, totalPages);
1086
1119
  return _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationContainerClasses.call(void 0, ) }, [
1087
1120
  paginationConfig.showTotal !== false && _vue.h.call(void 0,
1088
1121
  "div",
1089
1122
  { class: _tigercatcore.getSimplePaginationTotalClasses.call(void 0, ) },
1090
- paginationConfig.totalText ? paginationConfig.totalText(total, [startIndex, endIndex]) : `Showing ${startIndex} to ${endIndex} of ${total} results`
1123
+ finalTotalText
1091
1124
  ),
1092
1125
  _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationControlsClasses.call(void 0, ) }, [
1093
1126
  paginationConfig.showSizeChanger !== false && _vue.h.call(void 0,
@@ -1098,7 +1131,7 @@ function renderPagination(ctx, props) {
1098
1131
  onChange: (e) => ctx.handlePageSizeChange(Number(e.target.value))
1099
1132
  },
1100
1133
  (paginationConfig.pageSizeOptions || [10, 20, 50, 100]).map(
1101
- (size) => _vue.h.call(void 0, "option", { value: size }, `${size} / page`)
1134
+ (size) => _vue.h.call(void 0, "option", { value: size }, paginationConfig.pageSizeText ? paginationConfig.pageSizeText(size) : labels ? `${_tigercatcore.formatIntlNumber.call(void 0, size, localeCode)} ${labels.itemsPerPageText}` : defaultPageSizeText(size))
1102
1135
  )
1103
1136
  ),
1104
1137
  _vue.h.call(void 0, "div", { class: _tigercatcore.getSimplePaginationButtonsWrapperClasses.call(void 0, ) }, [
@@ -1109,12 +1142,12 @@ function renderPagination(ctx, props) {
1109
1142
  disabled: !hasPrev,
1110
1143
  onClick: () => ctx.handlePageChange(ctx.currentPage.value - 1)
1111
1144
  },
1112
- "Previous"
1145
+ finalPrevText
1113
1146
  ),
1114
1147
  _vue.h.call(void 0,
1115
1148
  "span",
1116
1149
  { class: _tigercatcore.getSimplePaginationPageIndicatorClasses.call(void 0, ) },
1117
- `Page ${ctx.currentPage.value} of ${totalPages}`
1150
+ finalPageIndicatorText
1118
1151
  ),
1119
1152
  _vue.h.call(void 0,
1120
1153
  "button",
@@ -1123,7 +1156,7 @@ function renderPagination(ctx, props) {
1123
1156
  disabled: !hasNext,
1124
1157
  onClick: () => ctx.handlePageChange(ctx.currentPage.value + 1)
1125
1158
  },
1126
- "Next"
1159
+ finalNextText
1127
1160
  )
1128
1161
  ])
1129
1162
  ])
@@ -1136,11 +1169,44 @@ var Table = _vue.defineComponent.call(void 0, {
1136
1169
  props: tableProps,
1137
1170
  emits: tableEmits,
1138
1171
  setup(props, { emit, slots }) {
1172
+ const config = _chunk25EYT2CBjs.useTigerConfig.call(void 0, );
1139
1173
  const wrapperRef = _vue.ref.call(void 0, null);
1140
1174
  const tableRef = _vue.ref.call(void 0, null);
1141
1175
  const measuredColumnWidths = _vue.ref.call(void 0, {});
1142
1176
  const measuredRowHeights = _vue.ref.call(void 0, []);
1143
1177
  const ctx = useTableState(props, emit, measuredColumnWidths);
1178
+ const resolvedPaginationLocale = _vue.ref.call(void 0, );
1179
+ let paginationLocaleResolveId = 0;
1180
+ const paginationLocaleInput = _vue.computed.call(void 0,
1181
+ () => props.pagination !== false && typeof props.pagination === "object" ? props.pagination.locale : void 0
1182
+ );
1183
+ const isPaginationI18nDisabled = _vue.computed.call(void 0, () => paginationLocaleInput.value === false);
1184
+ _vue.watch.call(void 0,
1185
+ paginationLocaleInput,
1186
+ (locale) => {
1187
+ const resolveId = ++paginationLocaleResolveId;
1188
+ if (!locale) {
1189
+ resolvedPaginationLocale.value = void 0;
1190
+ return;
1191
+ }
1192
+ const immediateLocale = _tigercatcore.getImmediateTigerLocale.call(void 0, locale);
1193
+ resolvedPaginationLocale.value = immediateLocale;
1194
+ if (!_tigercatcore.isLazyTigerLocale.call(void 0, locale)) return;
1195
+ _tigercatcore.resolveTigerLocale.call(void 0, locale).then((nextLocale) => {
1196
+ if (resolveId === paginationLocaleResolveId) {
1197
+ resolvedPaginationLocale.value = nextLocale;
1198
+ }
1199
+ }).catch(() => {
1200
+ if (resolveId === paginationLocaleResolveId) {
1201
+ resolvedPaginationLocale.value = immediateLocale;
1202
+ }
1203
+ });
1204
+ },
1205
+ { immediate: true }
1206
+ );
1207
+ const paginationLocale = _vue.computed.call(void 0,
1208
+ () => isPaginationI18nDisabled.value ? void 0 : _tigercatcore.mergeTigerLocale.call(void 0, config.value.locale, resolvedPaginationLocale.value)
1209
+ );
1144
1210
  const resizeController = _tigercatcore.createTableResizeObserverController.call(void 0, {
1145
1211
  onResize: (snapshot) => {
1146
1212
  if (!areNumberRecordsEqual(measuredColumnWidths.value, snapshot.columnWidths)) {
@@ -1208,7 +1274,7 @@ var Table = _vue.defineComponent.call(void 0, {
1208
1274
  const rows = ctx.displayColumns.value.map((column) => {
1209
1275
  const dataKey = column.dataKey || column.key;
1210
1276
  const cellValue = record[dataKey];
1211
- const cellContent = _nullishCoalesce(_optionalChain([slots, 'access', _81 => _81[`cell-${column.key}`], 'optionalCall', _82 => _82({ record, index })]), () => ( (column.render ? column.render(record, index) : cellValue)));
1277
+ const cellContent = _nullishCoalesce(_optionalChain([slots, 'access', _92 => _92[`cell-${column.key}`], 'optionalCall', _93 => _93({ record, index })]), () => ( (column.render ? column.render(record, index) : cellValue)));
1212
1278
  return _vue.h.call(void 0, "div", { key: column.key, class: _tigercatcore.tableResponsiveCardRowClasses }, [
1213
1279
  _vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardLabelClasses }, column.title),
1214
1280
  _vue.h.call(void 0, "div", { class: _tigercatcore.tableResponsiveCardValueClasses }, [cellContent])
@@ -1216,7 +1282,7 @@ var Table = _vue.defineComponent.call(void 0, {
1216
1282
  });
1217
1283
  const controls = [];
1218
1284
  if (resolvedProps.rowSelection && resolvedProps.rowSelection.showCheckbox !== false) {
1219
- const checkboxProps = _optionalChain([resolvedProps, 'access', _83 => _83.rowSelection, 'access', _84 => _84.getCheckboxProps, 'optionalCall', _85 => _85(record)]) || {};
1285
+ const checkboxProps = _optionalChain([resolvedProps, 'access', _94 => _94.rowSelection, 'access', _95 => _95.getCheckboxProps, 'optionalCall', _96 => _96(record)]) || {};
1220
1286
  controls.push(
1221
1287
  _vue.h.call(void 0, "input", {
1222
1288
  type: resolvedProps.rowSelection.type === "radio" ? "radio" : "checkbox",
@@ -1244,7 +1310,7 @@ var Table = _vue.defineComponent.call(void 0, {
1244
1310
  )
1245
1311
  );
1246
1312
  }
1247
- const expandedContent = resolvedProps.expandable && isExpanded && isRowExpandable ? _nullishCoalesce(_optionalChain([slots, 'access', _86 => _86["expanded-row"], 'optionalCall', _87 => _87({ record, index })]), () => ( _optionalChain([resolvedProps, 'access', _88 => _88.expandable, 'access', _89 => _89.expandedRowRender, 'optionalCall', _90 => _90(record, index)]))) : null;
1313
+ const expandedContent = resolvedProps.expandable && isExpanded && isRowExpandable ? _nullishCoalesce(_optionalChain([slots, 'access', _97 => _97["expanded-row"], 'optionalCall', _98 => _98({ record, index })]), () => ( _optionalChain([resolvedProps, 'access', _99 => _99.expandable, 'access', _100 => _100.expandedRowRender, 'optionalCall', _101 => _101(record, index)]))) : null;
1248
1314
  return _vue.h.call(void 0,
1249
1315
  "div",
1250
1316
  {
@@ -1302,7 +1368,10 @@ var Table = _vue.defineComponent.call(void 0, {
1302
1368
  },
1303
1369
  [LoadingSpinner(), _vue.h.call(void 0, "span", { class: "sr-only" }, "Loading")]
1304
1370
  ),
1305
- renderPagination(ctx, resolvedProps)
1371
+ renderPagination(ctx, resolvedProps, {
1372
+ locale: paginationLocale.value,
1373
+ disableI18n: isPaginationI18nDisabled.value
1374
+ })
1306
1375
  ]
1307
1376
  );
1308
1377
  };
@@ -107,10 +107,10 @@ declare const ActivityFeed: vue.DefineComponent<vue.ExtractPropTypes<{
107
107
  default: undefined;
108
108
  };
109
109
  }>> & Readonly<{}>, {
110
- loadingText: string;
111
- emptyText: string;
112
110
  className: string;
113
111
  style: Record<string, string | number>;
112
+ loadingText: string;
113
+ emptyText: string;
114
114
  loading: boolean;
115
115
  groupBy: (item: ActivityItem) => string;
116
116
  items: ActivityItem[];
@@ -107,10 +107,10 @@ declare const ActivityFeed: vue.DefineComponent<vue.ExtractPropTypes<{
107
107
  default: undefined;
108
108
  };
109
109
  }>> & Readonly<{}>, {
110
- loadingText: string;
111
- emptyText: string;
112
110
  className: string;
113
111
  style: Record<string, string | number>;
112
+ loadingText: string;
113
+ emptyText: string;
114
114
  loading: boolean;
115
115
  groupBy: (item: ActivityItem) => string;
116
116
  items: ActivityItem[];
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkYCBLL5K3js = require('../chunk-YCBLL5K3.js');
4
+ var _chunkFKLK6RHZjs = require('../chunk-FKLK6RHZ.js');
5
5
  require('../chunk-27T3QDSF.js');
6
6
  require('../chunk-2LNNB55E.js');
7
7
  require('../chunk-2DC3BMED.js');
@@ -14,4 +14,4 @@ require('../chunk-ODQOYMUQ.js');
14
14
 
15
15
 
16
16
 
17
- exports.ActivityFeed = _chunkYCBLL5K3js.ActivityFeed; exports.default = _chunkYCBLL5K3js.ActivityFeed_default;
17
+ exports.ActivityFeed = _chunkFKLK6RHZjs.ActivityFeed; exports.default = _chunkFKLK6RHZjs.ActivityFeed_default;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ActivityFeed,
3
3
  ActivityFeed_default
4
- } from "../chunk-OK7MTFAX.mjs";
4
+ } from "../chunk-4GYBJBFJ.mjs";
5
5
  import "../chunk-LBGTABIU.mjs";
6
6
  import "../chunk-PCUUTKQZ.mjs";
7
7
  import "../chunk-3MO7A4GU.mjs";
@@ -205,15 +205,15 @@ declare const Alert: vue.DefineComponent<vue.ExtractPropTypes<{
205
205
  onClose?: ((...args: any[]) => any) | undefined;
206
206
  }>, {
207
207
  type: AlertType;
208
- closeAriaLabel: string;
209
208
  size: AlertSize;
210
- className: string;
211
- style: Record<string, string | number>;
212
209
  title: string;
213
- closable: boolean;
214
- showIcon: boolean;
215
210
  description: string;
211
+ showIcon: boolean;
212
+ closable: boolean;
213
+ closeAriaLabel: string;
216
214
  duration: number;
215
+ className: string;
216
+ style: Record<string, string | number>;
217
217
  banner: boolean;
218
218
  showCountdown: boolean;
219
219
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -205,15 +205,15 @@ declare const Alert: vue.DefineComponent<vue.ExtractPropTypes<{
205
205
  onClose?: ((...args: any[]) => any) | undefined;
206
206
  }>, {
207
207
  type: AlertType;
208
- closeAriaLabel: string;
209
208
  size: AlertSize;
210
- className: string;
211
- style: Record<string, string | number>;
212
209
  title: string;
213
- closable: boolean;
214
- showIcon: boolean;
215
210
  description: string;
211
+ showIcon: boolean;
212
+ closable: boolean;
213
+ closeAriaLabel: string;
216
214
  duration: number;
215
+ className: string;
216
+ style: Record<string, string | number>;
217
217
  banner: boolean;
218
218
  showCountdown: boolean;
219
219
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -84,8 +84,8 @@ declare const AnchorLink: vue.DefineComponent<vue.ExtractPropTypes<{
84
84
  default: undefined;
85
85
  };
86
86
  }>> & Readonly<{}>, {
87
- className: string;
88
87
  title: string;
88
+ className: string;
89
89
  target: string;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
91
91
  declare const Anchor: vue.DefineComponent<vue.ExtractPropTypes<{
@@ -236,9 +236,9 @@ declare const Anchor: vue.DefineComponent<vue.ExtractPropTypes<{
236
236
  onChange?: ((...args: any[]) => any) | undefined;
237
237
  onClick?: ((...args: any[]) => any) | undefined;
238
238
  }>, {
239
- direction: AnchorDirection;
240
239
  className: string;
241
240
  style: Record<string, unknown>;
241
+ direction: AnchorDirection;
242
242
  offsetTop: number;
243
243
  targetOffset: number;
244
244
  bounds: number;
@@ -84,8 +84,8 @@ declare const AnchorLink: vue.DefineComponent<vue.ExtractPropTypes<{
84
84
  default: undefined;
85
85
  };
86
86
  }>> & Readonly<{}>, {
87
- className: string;
88
87
  title: string;
88
+ className: string;
89
89
  target: string;
90
90
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
91
91
  declare const Anchor: vue.DefineComponent<vue.ExtractPropTypes<{
@@ -236,9 +236,9 @@ declare const Anchor: vue.DefineComponent<vue.ExtractPropTypes<{
236
236
  onChange?: ((...args: any[]) => any) | undefined;
237
237
  onClick?: ((...args: any[]) => any) | undefined;
238
238
  }>, {
239
- direction: AnchorDirection;
240
239
  className: string;
241
240
  style: Record<string, unknown>;
241
+ direction: AnchorDirection;
242
242
  offsetTop: number;
243
243
  targetOffset: number;
244
244
  bounds: number;
@@ -78,10 +78,10 @@ declare const BackTop: vue.DefineComponent<vue.ExtractPropTypes<{
78
78
  }>> & Readonly<{
79
79
  onClick?: ((...args: any[]) => any) | undefined;
80
80
  }>, {
81
+ duration: number;
81
82
  className: string;
82
83
  style: Record<string, unknown>;
83
84
  target: () => HTMLElement | Window | null;
84
- duration: number;
85
85
  visibilityHeight: number;
86
86
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
87
87
 
@@ -78,10 +78,10 @@ declare const BackTop: vue.DefineComponent<vue.ExtractPropTypes<{
78
78
  }>> & Readonly<{
79
79
  onClick?: ((...args: any[]) => any) | undefined;
80
80
  }>, {
81
+ duration: number;
81
82
  className: string;
82
83
  style: Record<string, unknown>;
83
84
  target: () => HTMLElement | Window | null;
84
- duration: number;
85
85
  visibilityHeight: number;
86
86
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
87
87
 
@@ -34,9 +34,9 @@ declare const ButtonGroup: vue.DefineComponent<vue.ExtractPropTypes<{
34
34
  default: undefined;
35
35
  };
36
36
  }>> & Readonly<{}>, {
37
- vertical: boolean;
38
37
  size: ButtonSize;
39
38
  className: string;
39
+ vertical: boolean;
40
40
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
41
41
 
42
42
  export { BUTTON_GROUP_INJECTION_KEY, ButtonGroup, type ButtonGroupContext, type VueButtonGroupProps, ButtonGroup as default };
@@ -34,9 +34,9 @@ declare const ButtonGroup: vue.DefineComponent<vue.ExtractPropTypes<{
34
34
  default: undefined;
35
35
  };
36
36
  }>> & Readonly<{}>, {
37
- vertical: boolean;
38
37
  size: ButtonSize;
39
38
  className: string;
39
+ vertical: boolean;
40
40
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
41
41
 
42
42
  export { BUTTON_GROUP_INJECTION_KEY, ButtonGroup, type ButtonGroupContext, type VueButtonGroupProps, ButtonGroup as default };
@@ -137,10 +137,10 @@ declare const Card: vue.DefineComponent<vue.ExtractPropTypes<{
137
137
  default: undefined;
138
138
  };
139
139
  }>> & Readonly<{}>, {
140
- direction: CardDirection;
141
140
  size: CardSize;
142
141
  className: string;
143
142
  style: Record<string, string | number>;
143
+ direction: CardDirection;
144
144
  variant: CardVariant;
145
145
  cover: string;
146
146
  hoverable: boolean;
@@ -137,10 +137,10 @@ declare const Card: vue.DefineComponent<vue.ExtractPropTypes<{
137
137
  default: undefined;
138
138
  };
139
139
  }>> & Readonly<{}>, {
140
- direction: CardDirection;
141
140
  size: CardSize;
142
141
  className: string;
143
142
  style: Record<string, string | number>;
143
+ direction: CardDirection;
144
144
  variant: CardVariant;
145
145
  cover: string;
146
146
  hoverable: boolean;
@@ -1,8 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkCBZIVUCJjs = require('../chunk-CBZIVUCJ.js');
4
+ var _chunkVES3OJOPjs = require('../chunk-VES3OJOP.js');
5
5
  require('../chunk-5F6P5Y4K.js');
6
+ require('../chunk-NOZ65AMO.js');
6
7
  require('../chunk-BYNMOQBB.js');
7
8
  require('../chunk-6FXYRDYH.js');
8
9
  require('../chunk-4VLNT2ED.js');
@@ -12,4 +13,4 @@ require('../chunk-ODQOYMUQ.js');
12
13
 
13
14
 
14
15
 
15
- exports.ChatWindow = _chunkCBZIVUCJjs.ChatWindow; exports.default = _chunkCBZIVUCJjs.ChatWindow_default;
16
+ exports.ChatWindow = _chunkVES3OJOPjs.ChatWindow; exports.default = _chunkVES3OJOPjs.ChatWindow_default;
@@ -1,8 +1,9 @@
1
1
  import {
2
2
  ChatWindow,
3
3
  ChatWindow_default
4
- } from "../chunk-IIEMDA36.mjs";
4
+ } from "../chunk-S45NWVQS.mjs";
5
5
  import "../chunk-PENI3H3I.mjs";
6
+ import "../chunk-WFISP42H.mjs";
6
7
  import "../chunk-2WJADO6O.mjs";
7
8
  import "../chunk-MKBIVETW.mjs";
8
9
  import "../chunk-PO5GVU4Q.mjs";
@@ -162,9 +162,9 @@ declare const CodeEditor: vue.DefineComponent<vue.ExtractPropTypes<{
162
162
  onChange?: ((...args: any[]) => any) | undefined;
163
163
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
164
164
  }>, {
165
- theme: CodeEditorTheme;
166
165
  className: string;
167
166
  style: Record<string, string | number>;
167
+ theme: CodeEditorTheme;
168
168
  disabled: boolean;
169
169
  value: string;
170
170
  defaultValue: string;
@@ -162,9 +162,9 @@ declare const CodeEditor: vue.DefineComponent<vue.ExtractPropTypes<{
162
162
  onChange?: ((...args: any[]) => any) | undefined;
163
163
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
164
164
  }>, {
165
- theme: CodeEditorTheme;
166
165
  className: string;
167
166
  style: Record<string, string | number>;
167
+ theme: CodeEditorTheme;
168
168
  disabled: boolean;
169
169
  value: string;
170
170
  defaultValue: string;
@@ -103,8 +103,8 @@ declare const CollapsePanel: vue.DefineComponent<vue.ExtractPropTypes<{
103
103
  };
104
104
  }>> & Readonly<{}>, {
105
105
  className: string;
106
- header: string;
107
106
  style: Record<string, string | number>;
107
+ header: string;
108
108
  disabled: boolean;
109
109
  showArrow: boolean;
110
110
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -103,8 +103,8 @@ declare const CollapsePanel: vue.DefineComponent<vue.ExtractPropTypes<{
103
103
  };
104
104
  }>> & Readonly<{}>, {
105
105
  className: string;
106
- header: string;
107
106
  style: Record<string, string | number>;
107
+ header: string;
108
108
  disabled: boolean;
109
109
  showArrow: boolean;
110
110
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -194,9 +194,9 @@ declare const CommentThread: vue.DefineComponent<vue.ExtractPropTypes<{
194
194
  onAction?: ((...args: any[]) => any) | undefined;
195
195
  "onLoad-more"?: ((...args: any[]) => any) | undefined;
196
196
  }>, {
197
- emptyText: string;
198
197
  className: string;
199
198
  style: Record<string, string | number>;
199
+ emptyText: string;
200
200
  items: CommentNode[];
201
201
  defaultExpandedKeys: (string | number)[];
202
202
  expandedKeys: (string | number)[];