@expcat/tigercat-vue 2.0.0-preview.2 → 2.0.0-preview.3

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 (262) hide show
  1. package/dist/{chunk-Z7QUWBFR.mjs → chunk-22NIOTDQ.mjs} +1 -1
  2. package/dist/{chunk-QD5ZCKPR.mjs → chunk-2XCXK3NQ.mjs} +1 -1
  3. package/dist/{chunk-KRWKO2JQ.mjs → chunk-342DH5CF.mjs} +1 -1
  4. package/dist/{chunk-JCGWN7WV.mjs → chunk-36TZA5BH.mjs} +1 -1
  5. package/dist/{chunk-NYWIBDO6.mjs → chunk-3KITFMBJ.mjs} +1 -1
  6. package/dist/{chunk-B47QLHVW.mjs → chunk-3NQUEQJT.mjs} +4 -4
  7. package/dist/{chunk-2JW3TOXM.mjs → chunk-3WQIYF4T.mjs} +4 -4
  8. package/dist/{chunk-YSKG5FSX.mjs → chunk-42P6ZQ3J.mjs} +1 -1
  9. package/dist/{chunk-V5ZEPAWV.mjs → chunk-4BO6JNA6.mjs} +1 -1
  10. package/dist/{chunk-GL63FRI4.mjs → chunk-4SLYX5GK.mjs} +1 -1
  11. package/dist/{chunk-Z4SG7REU.mjs → chunk-5E4LINDO.mjs} +5 -3
  12. package/dist/{chunk-FHJ3R57L.mjs → chunk-5KPO3EDM.mjs} +5 -2
  13. package/dist/{chunk-CF4GX6BD.mjs → chunk-5RIHHZF6.mjs} +12 -4
  14. package/dist/{chunk-6FV2OMB7.mjs → chunk-6LORRRRB.mjs} +1 -1
  15. package/dist/{chunk-CW5TEG7N.mjs → chunk-7CPMXNLK.mjs} +1 -1
  16. package/dist/{chunk-EQDCFOWR.mjs → chunk-7FWNN6PO.mjs} +75 -22
  17. package/dist/{chunk-4IZUJJUO.mjs → chunk-7JT5ZIHC.mjs} +1 -1
  18. package/dist/{chunk-6G5FEZLT.mjs → chunk-7XENCCN5.mjs} +3 -3
  19. package/dist/{chunk-2R3SOQSW.mjs → chunk-AWCXUDIL.mjs} +3 -3
  20. package/dist/{chunk-GTFAC625.mjs → chunk-BGGHSTMP.mjs} +1 -1
  21. package/dist/{chunk-DOVBKVTB.mjs → chunk-CFH5T3V2.mjs} +3 -3
  22. package/dist/{chunk-IQNZ4UEA.mjs → chunk-D4APFWWS.mjs} +1 -1
  23. package/dist/{chunk-7LCUVR63.mjs → chunk-DCMRB3HR.mjs} +15 -4
  24. package/dist/{chunk-WYJ5WOT2.mjs → chunk-DWK5GUMB.mjs} +9 -3
  25. package/dist/{chunk-EVIZXEB2.mjs → chunk-E6EZHSGY.mjs} +1 -1
  26. package/dist/{chunk-2YPPXZ4I.mjs → chunk-EGIMTTZA.mjs} +1 -1
  27. package/dist/{chunk-4ZKSTL5P.mjs → chunk-EGIQPUEL.mjs} +1 -1
  28. package/dist/{chunk-UQK22ZMC.mjs → chunk-EWUHEW6W.mjs} +75 -22
  29. package/dist/{chunk-VFUBOKGT.mjs → chunk-F2IWAV3T.mjs} +1 -1
  30. package/dist/{chunk-HIXWZVE5.mjs → chunk-FSJRNEZK.mjs} +23 -8
  31. package/dist/{chunk-MJRFB6ZA.mjs → chunk-GDK5LNP3.mjs} +7 -7
  32. package/dist/{chunk-Z4NJJ7NI.mjs → chunk-GWFVBG22.mjs} +5 -2
  33. package/dist/{chunk-GMIKUE67.mjs → chunk-H2SX7D23.mjs} +1 -1
  34. package/dist/{chunk-FAQL7HFW.mjs → chunk-HAUG3OP5.mjs} +1 -1
  35. package/dist/{chunk-ODDPVS27.mjs → chunk-IDUEWMWN.mjs} +1 -1
  36. package/dist/{chunk-GAEO66NY.mjs → chunk-IMFHJEUX.mjs} +1 -1
  37. package/dist/{chunk-GZWZP5AL.mjs → chunk-JHFM6IFO.mjs} +28 -6
  38. package/dist/{chunk-V5ANPH5R.mjs → chunk-JL3CN4UK.mjs} +1 -1
  39. package/dist/{chunk-RTZUIWCN.mjs → chunk-JQSIWPNM.mjs} +1 -1
  40. package/dist/{chunk-RAO7ZJWR.mjs → chunk-JVQPU4M2.mjs} +5 -2
  41. package/dist/{chunk-BGO2ILHM.mjs → chunk-JZCETBUV.mjs} +16 -3
  42. package/dist/{chunk-G7MOTNJO.mjs → chunk-KFJIZED5.mjs} +1 -1
  43. package/dist/{chunk-YJSWHGAR.mjs → chunk-LFENEILY.mjs} +9 -3
  44. package/dist/{chunk-GVLLO45Y.mjs → chunk-LOC5B4YM.mjs} +1 -1
  45. package/dist/{chunk-36WSYHJU.mjs → chunk-LPZBXTJ6.mjs} +1 -1
  46. package/dist/{chunk-O4F75KHL.mjs → chunk-MAKOSWR6.mjs} +1 -1
  47. package/dist/{chunk-FDKJOVXG.mjs → chunk-MNSVJBNH.mjs} +1 -1
  48. package/dist/{chunk-E7NE5HEC.mjs → chunk-NEEGXKJW.mjs} +1 -1
  49. package/dist/{chunk-JPCMI3A4.mjs → chunk-NGAA73CV.mjs} +1 -1
  50. package/dist/{chunk-AZXS4QWC.mjs → chunk-NNC75I7F.mjs} +1 -1
  51. package/dist/{chunk-6WF3336O.mjs → chunk-O6BN5R6J.mjs} +1 -1
  52. package/dist/{chunk-YZATP4VF.mjs → chunk-OHPXOLNB.mjs} +12 -3
  53. package/dist/{chunk-WBT3WSRE.mjs → chunk-OHR7IUBQ.mjs} +14 -2
  54. package/dist/chunk-P2LZ2MR5.mjs +6 -0
  55. package/dist/{chunk-7BU4TW5A.mjs → chunk-P5FDKBXG.mjs} +1 -1
  56. package/dist/{chunk-2QWGVJW6.mjs → chunk-PQBKN2NH.mjs} +24 -10
  57. package/dist/{chunk-LOX2KCML.mjs → chunk-PYRKFQ6J.mjs} +3 -3
  58. package/dist/{chunk-BJV62I73.mjs → chunk-QFG452MD.mjs} +2 -2
  59. package/dist/{chunk-E2GQSWHK.mjs → chunk-QMECRLHW.mjs} +21 -2
  60. package/dist/{chunk-UD4FNMJN.mjs → chunk-RANRYFUI.mjs} +23 -6
  61. package/dist/{chunk-FT2HWF7P.mjs → chunk-RSM6FOWX.mjs} +1 -1
  62. package/dist/{chunk-GHG2MCLM.mjs → chunk-SJ7W5I5H.mjs} +1 -1
  63. package/dist/{chunk-WLHOWOAY.mjs → chunk-SJINC5NF.mjs} +1 -1
  64. package/dist/{chunk-PLUABMUD.mjs → chunk-SWCK7TM7.mjs} +1 -1
  65. package/dist/chunk-TGXBCKOU.mjs +35 -0
  66. package/dist/{chunk-EYR27UIE.mjs → chunk-U6OGGZBY.mjs} +25 -2
  67. package/dist/{chunk-DMQLA35L.mjs → chunk-U75YXWSA.mjs} +1 -1
  68. package/dist/{chunk-R6WFL6NI.mjs → chunk-UOJOJBEU.mjs} +18 -0
  69. package/dist/{chunk-IGT4QB7O.mjs → chunk-UUWTKCMY.mjs} +1 -1
  70. package/dist/{chunk-HLPSHCXO.mjs → chunk-V443QIJM.mjs} +5 -1
  71. package/dist/{chunk-TM73IWEY.mjs → chunk-XH63C62K.mjs} +1 -1
  72. package/dist/{chunk-DZFM7H3M.mjs → chunk-XLNK3Z2P.mjs} +26 -5
  73. package/dist/{chunk-4QCJUILG.mjs → chunk-ZFJNCAZX.mjs} +5 -2
  74. package/dist/{chunk-XZYFVOOS.mjs → chunk-ZFTRR3KW.mjs} +1 -1
  75. package/dist/components/ActivityFeed.d.mts +6 -6
  76. package/dist/components/ActivityFeed.mjs +8 -7
  77. package/dist/components/Alert.d.mts +3 -3
  78. package/dist/components/Anchor.d.mts +1 -1
  79. package/dist/components/AreaChart.d.mts +24 -5
  80. package/dist/components/AreaChart.mjs +2 -2
  81. package/dist/components/AutoComplete.d.mts +5 -5
  82. package/dist/components/AutoComplete.mjs +3 -2
  83. package/dist/components/Avatar.d.mts +1 -1
  84. package/dist/components/Avatar.mjs +4 -2
  85. package/dist/components/AvatarGroup.d.mts +25 -1
  86. package/dist/components/AvatarGroup.mjs +3 -1
  87. package/dist/components/BackTop.d.mts +1 -1
  88. package/dist/components/Badge.d.mts +4 -4
  89. package/dist/components/Badge.mjs +3 -2
  90. package/dist/components/BarChart.d.mts +23 -4
  91. package/dist/components/BarChart.mjs +2 -2
  92. package/dist/components/Breadcrumb.d.mts +3 -3
  93. package/dist/components/Button.d.mts +3 -3
  94. package/dist/components/ButtonGroup.d.mts +1 -1
  95. package/dist/components/Calendar.d.mts +2 -2
  96. package/dist/components/Calendar.mjs +3 -2
  97. package/dist/components/Card.d.mts +2 -2
  98. package/dist/components/Carousel.d.mts +21 -1
  99. package/dist/components/Carousel.mjs +3 -1
  100. package/dist/components/Cascader.d.mts +3 -3
  101. package/dist/components/Cascader.mjs +3 -2
  102. package/dist/components/ChartCanvas.d.mts +1 -1
  103. package/dist/components/ChartGrid.d.mts +1 -1
  104. package/dist/components/ChartLegend.d.mts +10 -0
  105. package/dist/components/ChartLegend.mjs +1 -1
  106. package/dist/components/ChatWindow.d.mts +4 -4
  107. package/dist/components/ChatWindow.mjs +8 -6
  108. package/dist/components/CodeEditor.d.mts +3 -3
  109. package/dist/components/Collapse.d.mts +1 -1
  110. package/dist/components/CollapsePanel.d.mts +1 -1
  111. package/dist/components/ColorPicker.mjs +1 -1
  112. package/dist/components/ColorSwatch.d.mts +2 -2
  113. package/dist/components/CommentThread.d.mts +2 -2
  114. package/dist/components/CommentThread.mjs +6 -5
  115. package/dist/components/ConfigProvider.d.mts +1 -1
  116. package/dist/components/ConfigProvider.mjs +2 -1
  117. package/dist/components/Container.d.mts +1 -1
  118. package/dist/components/Countdown.d.mts +2 -2
  119. package/dist/components/CronEditor.d.mts +24 -6
  120. package/dist/components/CronEditor.mjs +3 -1
  121. package/dist/components/CropUpload.d.mts +1 -1
  122. package/dist/components/CropUpload.mjs +5 -4
  123. package/dist/components/DataTableWithToolbar.d.mts +11 -11
  124. package/dist/components/DataTableWithToolbar.mjs +8 -6
  125. package/dist/components/DatePicker.d.mts +3 -3
  126. package/dist/components/DatePicker.mjs +3 -2
  127. package/dist/components/Descriptions.d.mts +2 -2
  128. package/dist/components/DonutChart.d.mts +3 -3
  129. package/dist/components/DonutChart.mjs +3 -3
  130. package/dist/components/Drawer.d.mts +4 -4
  131. package/dist/components/Drawer.mjs +3 -2
  132. package/dist/components/Empty.d.mts +1 -1
  133. package/dist/components/Empty.mjs +3 -2
  134. package/dist/components/FileManager.d.mts +2 -2
  135. package/dist/components/FileManager.mjs +3 -2
  136. package/dist/components/FloatButton.d.mts +4 -4
  137. package/dist/components/Form.d.mts +2 -2
  138. package/dist/components/Form.mjs +3 -2
  139. package/dist/components/FormItem.mjs +5 -3
  140. package/dist/components/FormItemContext.d.mts +11 -0
  141. package/dist/components/FormItemContext.mjs +6 -0
  142. package/dist/components/FormWizard.d.mts +5 -5
  143. package/dist/components/FormWizard.mjs +3 -2
  144. package/dist/components/FunnelChart.d.mts +3 -3
  145. package/dist/components/FunnelChart.mjs +2 -2
  146. package/dist/components/Gantt.d.mts +2 -2
  147. package/dist/components/GaugeChart.d.mts +2 -2
  148. package/dist/components/HeatmapChart.d.mts +3 -3
  149. package/dist/components/Icon.d.mts +1 -1
  150. package/dist/components/Image.d.mts +2 -2
  151. package/dist/components/Image.mjs +4 -3
  152. package/dist/components/ImageAnnotation.d.mts +5 -5
  153. package/dist/components/ImageAnnotation.mjs +3 -2
  154. package/dist/components/ImageCropper.d.mts +1 -1
  155. package/dist/components/ImageCropper.mjs +3 -2
  156. package/dist/components/ImageGroup.mjs +4 -3
  157. package/dist/components/ImagePreview.mjs +3 -2
  158. package/dist/components/ImageViewer.d.mts +1 -1
  159. package/dist/components/ImageViewer.mjs +3 -2
  160. package/dist/components/InfiniteScroll.d.mts +3 -3
  161. package/dist/components/InfiniteScroll.mjs +3 -2
  162. package/dist/components/Input.d.mts +5 -5
  163. package/dist/components/Input.mjs +2 -1
  164. package/dist/components/InputGroup.d.mts +1 -1
  165. package/dist/components/InputNumber.d.mts +21 -1
  166. package/dist/components/InputNumber.mjs +1 -1
  167. package/dist/components/Kanban.d.mts +1 -1
  168. package/dist/components/Kanban.mjs +4 -3
  169. package/dist/components/LineChart.d.mts +23 -4
  170. package/dist/components/LineChart.mjs +2 -2
  171. package/dist/components/Link.d.mts +1 -1
  172. package/dist/components/List.d.mts +7 -7
  173. package/dist/components/List.mjs +3 -2
  174. package/dist/components/Loading.d.mts +6 -6
  175. package/dist/components/Loading.mjs +3 -2
  176. package/dist/components/MarkdownEditor.d.mts +24 -4
  177. package/dist/components/MarkdownEditor.mjs +3 -1
  178. package/dist/components/Mentions.d.mts +3 -3
  179. package/dist/components/Menu.d.mts +4 -4
  180. package/dist/components/Message.mjs +14 -1
  181. package/dist/components/MessageContainer.mjs +1 -1
  182. package/dist/components/MessageRoot.mjs +1 -1
  183. package/dist/components/Modal.d.mts +7 -7
  184. package/dist/components/Modal.mjs +3 -2
  185. package/dist/components/Notification.mjs +14 -1
  186. package/dist/components/NotificationCenter.d.mts +5 -5
  187. package/dist/components/NotificationCenter.mjs +6 -5
  188. package/dist/components/NotificationContainer.mjs +1 -1
  189. package/dist/components/NotificationRoot.mjs +1 -1
  190. package/dist/components/NumberKeyboard.d.mts +5 -5
  191. package/dist/components/NumberKeyboard.mjs +3 -2
  192. package/dist/components/OrgChart.d.mts +3 -3
  193. package/dist/components/Pagination.d.mts +4 -4
  194. package/dist/components/Pagination.mjs +3 -2
  195. package/dist/components/PieChart.d.mts +3 -3
  196. package/dist/components/PieChart.mjs +2 -2
  197. package/dist/components/Popconfirm.d.mts +2 -2
  198. package/dist/components/Popover.d.mts +1 -1
  199. package/dist/components/PrintLayout.mjs +1 -1
  200. package/dist/components/Progress.d.mts +3 -3
  201. package/dist/components/QRCode.d.mts +3 -3
  202. package/dist/components/QRCode.mjs +3 -2
  203. package/dist/components/RadarChart.d.mts +3 -3
  204. package/dist/components/RadarChart.mjs +2 -2
  205. package/dist/components/Rate.d.mts +19 -1
  206. package/dist/components/Rate.mjs +3 -1
  207. package/dist/components/Result.d.mts +1 -1
  208. package/dist/components/RichTextEditor.d.mts +23 -3
  209. package/dist/components/RichTextEditor.mjs +3 -1
  210. package/dist/components/Row.d.mts +1 -1
  211. package/dist/components/ScatterChart.d.mts +32 -3
  212. package/dist/components/ScatterChart.mjs +4 -2
  213. package/dist/components/ScrollSpy.d.mts +3 -3
  214. package/dist/components/Select.d.mts +4 -4
  215. package/dist/components/Select.mjs +3 -2
  216. package/dist/components/Signature.d.mts +5 -5
  217. package/dist/components/Signature.mjs +3 -2
  218. package/dist/components/Skeleton.d.mts +1 -1
  219. package/dist/components/Space.d.mts +2 -2
  220. package/dist/components/Splitter.d.mts +1 -1
  221. package/dist/components/Spotlight.d.mts +4 -4
  222. package/dist/components/Spotlight.mjs +3 -2
  223. package/dist/components/Stepper.d.mts +18 -0
  224. package/dist/components/Stepper.mjs +1 -1
  225. package/dist/components/Steps.d.mts +3 -3
  226. package/dist/components/SunburstChart.d.mts +2 -2
  227. package/dist/components/SunburstChart.mjs +2 -2
  228. package/dist/components/Table.d.mts +5 -5
  229. package/dist/components/Table.mjs +5 -4
  230. package/dist/components/Tabs.d.mts +22 -3
  231. package/dist/components/Tabs.mjs +3 -1
  232. package/dist/components/Tag.d.mts +2 -2
  233. package/dist/components/Tag.mjs +3 -2
  234. package/dist/components/TaskBoard.d.mts +2 -2
  235. package/dist/components/TaskBoard.mjs +3 -2
  236. package/dist/components/Text.d.mts +3 -3
  237. package/dist/components/Textarea.d.mts +3 -3
  238. package/dist/components/TimePicker.d.mts +4 -4
  239. package/dist/components/TimePicker.mjs +3 -2
  240. package/dist/components/Timeline.d.mts +4 -4
  241. package/dist/components/Timeline.mjs +3 -2
  242. package/dist/components/Tooltip.d.mts +1 -1
  243. package/dist/components/Tour.d.mts +2 -2
  244. package/dist/components/Tour.mjs +3 -2
  245. package/dist/components/Transfer.d.mts +18 -9
  246. package/dist/components/Transfer.mjs +3 -2
  247. package/dist/components/Tree.d.mts +4 -4
  248. package/dist/components/Tree.mjs +3 -2
  249. package/dist/components/TreeMapChart.d.mts +2 -2
  250. package/dist/components/TreeMapChart.mjs +2 -2
  251. package/dist/components/TreeSelect.d.mts +3 -3
  252. package/dist/components/TreeSelect.mjs +3 -2
  253. package/dist/components/Upload.d.mts +4 -4
  254. package/dist/components/Upload.mjs +3 -2
  255. package/dist/components/VirtualTable.d.mts +3 -3
  256. package/dist/components/VirtualTable.mjs +3 -2
  257. package/dist/components/Watermark.d.mts +1 -1
  258. package/dist/index.d.mts +1 -1
  259. package/dist/index.mjs +29 -0
  260. package/package.json +2 -2
  261. /package/dist/{chunk-4RKBXGHQ.mjs → chunk-GSB4MNEX.mjs} +0 -0
  262. /package/dist/{chunk-ESBUNMIG.mjs → chunk-Q3PELK37.mjs} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useTigerConfig
3
- } from "./chunk-R6WFL6NI.mjs";
3
+ } from "./chunk-UOJOJBEU.mjs";
4
4
 
5
5
  // src/components/TreeSelect.ts
6
6
  import { defineComponent, h, ref, computed, watch, onBeforeUnmount } from "vue";
@@ -267,7 +267,10 @@ var TreeSelect = defineComponent({
267
267
  "span",
268
268
  {
269
269
  class: "absolute right-2 top-1/2 -translate-y-1/2 text-[var(--tiger-treeselect-clear,var(--tiger-text-muted,#9ca3af))] hover:text-[var(--tiger-treeselect-clear-hover,var(--tiger-text,#111827))]",
270
- "aria-label": "Clear selection",
270
+ "aria-label": resolveLocaleText(
271
+ "Clear selection",
272
+ mergedLocale.value?.common?.clearText
273
+ ),
271
274
  onClick: handleClear
272
275
  },
273
276
  [ClearIcon]
@@ -297,7 +300,10 @@ var TreeSelect = defineComponent({
297
300
  mergedLocale.value?.common?.searchPlaceholder
298
301
  ),
299
302
  value: searchQuery.value,
300
- "aria-label": "Search tree",
303
+ "aria-label": resolveLocaleText(
304
+ "Search tree",
305
+ mergedLocale.value?.common?.searchPlaceholder
306
+ ),
301
307
  onInput: (e) => updateSearchValue(e.target.value)
302
308
  }) : null,
303
309
  // Tree nodes
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useTigerConfig
3
- } from "./chunk-R6WFL6NI.mjs";
3
+ } from "./chunk-UOJOJBEU.mjs";
4
4
 
5
5
  // src/components/Select.ts
6
6
  import { defineComponent, computed, ref, h, watch, nextTick, onBeforeUnmount } from "vue";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useTigerConfig
3
- } from "./chunk-R6WFL6NI.mjs";
3
+ } from "./chunk-UOJOJBEU.mjs";
4
4
 
5
5
  // src/components/ImagePreview.ts
6
6
  import {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-W5RZPTFD.mjs";
10
10
  import {
11
11
  ChartLegend
12
- } from "./chunk-HLPSHCXO.mjs";
12
+ } from "./chunk-V443QIJM.mjs";
13
13
  import {
14
14
  ChartSeries
15
15
  } from "./chunk-2ZUEXCVJ.mjs";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-BDTPFPSB.mjs";
7
7
  import {
8
8
  useTigerConfig
9
- } from "./chunk-R6WFL6NI.mjs";
9
+ } from "./chunk-UOJOJBEU.mjs";
10
10
 
11
11
  // src/components/Drawer.ts
12
12
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useTigerConfig
3
- } from "./chunk-R6WFL6NI.mjs";
3
+ } from "./chunk-UOJOJBEU.mjs";
4
4
 
5
5
  // src/components/FileManager.ts
6
6
  import { defineComponent, h, ref, computed, nextTick } from "vue";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-W5RZPTFD.mjs";
10
10
  import {
11
11
  ChartLegend
12
- } from "./chunk-HLPSHCXO.mjs";
12
+ } from "./chunk-V443QIJM.mjs";
13
13
  import {
14
14
  ChartSeries
15
15
  } from "./chunk-2ZUEXCVJ.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-W5RZPTFD.mjs";
10
10
  import {
11
11
  ChartLegend
12
- } from "./chunk-HLPSHCXO.mjs";
12
+ } from "./chunk-V443QIJM.mjs";
13
13
  import {
14
14
  ChartSeries
15
15
  } from "./chunk-2ZUEXCVJ.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-BDTPFPSB.mjs";
5
5
  import {
6
6
  useTigerConfig
7
- } from "./chunk-R6WFL6NI.mjs";
7
+ } from "./chunk-UOJOJBEU.mjs";
8
8
 
9
9
  // src/components/Loading.ts
10
10
  import { defineComponent, computed, h, ref, watch, onUnmounted } from "vue";
@@ -1,11 +1,15 @@
1
1
  import {
2
2
  FormContextKey
3
- } from "./chunk-FAQL7HFW.mjs";
3
+ } from "./chunk-HAUG3OP5.mjs";
4
+ import {
5
+ FORM_ITEM_CONTROL_INJECTION_KEY
6
+ } from "./chunk-P2LZ2MR5.mjs";
4
7
 
5
8
  // src/components/FormItem.ts
6
9
  import {
7
10
  defineComponent,
8
11
  inject,
12
+ provide,
9
13
  computed,
10
14
  ref,
11
15
  watch,
@@ -222,6 +226,13 @@ var FormItem = defineComponent({
222
226
  const hasError = computed(() => {
223
227
  return !!errorMessage.value;
224
228
  });
229
+ provide(FORM_ITEM_CONTROL_INJECTION_KEY, {
230
+ status: computed(() => hasError.value ? "error" : void 0),
231
+ errorMessage: computed(
232
+ () => hasError.value && !props.showMessage ? errorMessage.value : void 0
233
+ ),
234
+ shakeTrigger: computed(() => hasError.value ? shakeTrigger.value : void 0)
235
+ });
225
236
  const describedById = computed(() => {
226
237
  return props.showMessage && hasError.value ? errorId : void 0;
227
238
  });
@@ -279,8 +290,6 @@ var FormItem = defineComponent({
279
290
  {
280
291
  id: effectiveFieldId,
281
292
  status: !isNativeElement && hasError.value ? "error" : existingProps.status,
282
- errorMessage: !isNativeElement && hasError.value && !props.showMessage ? errorMessage.value : existingProps.errorMessage,
283
- _shakeTrigger: !isNativeElement && hasError.value ? shakeTrigger.value : void 0,
284
293
  "aria-invalid": hasError.value ? "true" : existingProps["aria-invalid"],
285
294
  "aria-required": isRequired.value ? "true" : existingProps["aria-required"],
286
295
  disabled: conditionState.value.disabled || formContext.value?.disabled ? true : existingProps.disabled,
@@ -1,3 +1,7 @@
1
+ import {
2
+ useTigerConfig
3
+ } from "./chunk-UOJOJBEU.mjs";
4
+
1
5
  // src/components/RichTextEditor.ts
2
6
  import { defineComponent, h, ref, computed, watch, onMounted, onBeforeUnmount } from "vue";
3
7
  import {
@@ -15,7 +19,9 @@ import {
15
19
  isContentEmpty,
16
20
  parseHeight,
17
21
  builtinRichTextEngine,
18
- isToolbarSeparator
22
+ isToolbarSeparator,
23
+ mergeTigerLocale,
24
+ getRichTextEditorLabels
19
25
  } from "@expcat/tigercat-core";
20
26
  var RichTextEditor = defineComponent({
21
27
  name: "TigerRichTextEditor",
@@ -37,6 +43,8 @@ var RichTextEditor = defineComponent({
37
43
  },
38
44
  readOnly: { type: Boolean, default: false },
39
45
  disabled: { type: Boolean, default: false },
46
+ locale: { type: Object, default: void 0 },
47
+ labels: { type: Object, default: void 0 },
40
48
  className: { type: String, default: void 0 },
41
49
  engine: {
42
50
  type: Object,
@@ -45,6 +53,7 @@ var RichTextEditor = defineComponent({
45
53
  },
46
54
  emits: ["update:value", "change"],
47
55
  setup(props, { emit, attrs }) {
56
+ const config = useTigerConfig();
48
57
  const editorRef = ref(null);
49
58
  const internalValue = ref(props.defaultValue || "");
50
59
  const activeFormats = ref(/* @__PURE__ */ new Set());
@@ -55,6 +64,8 @@ var RichTextEditor = defineComponent({
55
64
  );
56
65
  const toolbarItems = computed(() => props.toolbar ?? defaultToolbar);
57
66
  const isEmpty = computed(() => isContentEmpty(currentContent.value));
67
+ const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
68
+ const labels = computed(() => getRichTextEditorLabels(mergedLocale.value, props.labels));
58
69
  watch(
59
70
  () => props.value,
60
71
  (newVal) => {
@@ -123,7 +134,7 @@ var RichTextEditor = defineComponent({
123
134
  {
124
135
  class: richTextToolbarClasses,
125
136
  role: "toolbar",
126
- "aria-label": "Text formatting"
137
+ "aria-label": labels.value.formattingToolbarAriaLabel
127
138
  },
128
139
  toolbarItems.value.map((item, idx) => {
129
140
  if (isToolbarSeparator(item)) {
@@ -158,6 +169,7 @@ var RichTextEditor = defineComponent({
158
169
  ref: editorRef,
159
170
  class: editorAreaClasses.value,
160
171
  role: "textbox",
172
+ "aria-label": labels.value.editorAriaLabel,
161
173
  "aria-multiline": true,
162
174
  "aria-readonly": props.readOnly || void 0,
163
175
  "aria-disabled": props.disabled || void 0,
@@ -0,0 +1,6 @@
1
+ // src/components/FormItemContext.ts
2
+ var FORM_ITEM_CONTROL_INJECTION_KEY = /* @__PURE__ */ Symbol("TigerFormItemControl");
3
+
4
+ export {
5
+ FORM_ITEM_CONTROL_INJECTION_KEY
6
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useTigerConfig
3
- } from "./chunk-R6WFL6NI.mjs";
3
+ } from "./chunk-UOJOJBEU.mjs";
4
4
 
5
5
  // src/components/Signature.ts
6
6
  import { computed, defineComponent, h, onMounted, ref, watch } from "vue";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useTigerConfig
3
- } from "./chunk-R6WFL6NI.mjs";
3
+ } from "./chunk-UOJOJBEU.mjs";
4
4
 
5
5
  // src/components/Transfer.ts
6
6
  import { defineComponent, h, ref, computed } from "vue";
@@ -26,7 +26,8 @@ import {
26
26
  chevronLeftSolidIcon20PathD,
27
27
  chevronRightSolidIcon20PathD,
28
28
  resolveLocaleText,
29
- mergeTigerLocale
29
+ mergeTigerLocale,
30
+ getTransferLabels
30
31
  } from "@expcat/tigercat-core";
31
32
  function ArrowIcon(pathD) {
32
33
  return h(
@@ -87,11 +88,11 @@ var Transfer = defineComponent({
87
88
  },
88
89
  sourceTitle: {
89
90
  type: String,
90
- default: "Source"
91
+ default: void 0
91
92
  },
92
93
  targetTitle: {
93
94
  type: String,
94
- default: "Target"
95
+ default: void 0
95
96
  },
96
97
  emptyText: {
97
98
  type: String,
@@ -107,12 +108,23 @@ var Transfer = defineComponent({
107
108
  locale: {
108
109
  type: Object,
109
110
  default: void 0
111
+ },
112
+ labels: {
113
+ type: Object,
114
+ default: void 0
110
115
  }
111
116
  },
112
117
  emits: ["update:modelValue", "update:searchValue", "change", "search-change"],
113
118
  setup(props, { emit, attrs }) {
114
119
  const config = useTigerConfig();
115
120
  const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
121
+ const labels = computed(
122
+ () => getTransferLabels(mergedLocale.value, {
123
+ ...props.labels,
124
+ sourceTitle: props.sourceTitle,
125
+ targetTitle: props.targetTitle
126
+ })
127
+ );
116
128
  const sourceSelectedKeys = ref(/* @__PURE__ */ new Set());
117
129
  const targetSelectedKeys = ref(/* @__PURE__ */ new Set());
118
130
  const uncontrolledSearchValue = ref({ ...props.defaultSearchValue });
@@ -214,7 +226,7 @@ var Transfer = defineComponent({
214
226
  mergedLocale.value?.common?.searchPlaceholder
215
227
  ),
216
228
  value: searchValue,
217
- "aria-label": `Search ${title}`,
229
+ "aria-label": labels.value.searchAriaLabel.replace("{title}", title),
218
230
  onInput: (e) => onSearchInput(e.target.value)
219
231
  }) : null,
220
232
  // Body
@@ -222,7 +234,9 @@ var Transfer = defineComponent({
222
234
  "div",
223
235
  {
224
236
  class: transferPanelBodyClasses,
225
- ...getPickerListboxAria({ label: `${title} items` })
237
+ ...getPickerListboxAria({
238
+ label: labels.value.itemsAriaLabel.replace("{title}", title)
239
+ })
226
240
  },
227
241
  items.length > 0 ? items.map((item) => {
228
242
  const isSelected = selectedKeys.has(item.key);
@@ -266,7 +280,7 @@ var Transfer = defineComponent({
266
280
  return h("div", { class: containerClasses }, [
267
281
  // Source panel
268
282
  renderPanel(
269
- props.sourceTitle,
283
+ labels.value.sourceTitle,
270
284
  filteredSourceItems.value,
271
285
  sourceSelectedKeys.value,
272
286
  toggleSourceItem,
@@ -281,7 +295,7 @@ var Transfer = defineComponent({
281
295
  type: "button",
282
296
  class: getTransferButtonClasses(!canMoveRight.value),
283
297
  disabled: !canMoveRight.value,
284
- "aria-label": "Move selected to target",
298
+ "aria-label": labels.value.moveToTargetAriaLabel,
285
299
  onClick: moveRight
286
300
  },
287
301
  [ArrowIcon(chevronRightSolidIcon20PathD)]
@@ -292,7 +306,7 @@ var Transfer = defineComponent({
292
306
  type: "button",
293
307
  class: getTransferButtonClasses(!canMoveLeft.value),
294
308
  disabled: !canMoveLeft.value,
295
- "aria-label": "Move selected to source",
309
+ "aria-label": labels.value.moveToSourceAriaLabel,
296
310
  onClick: moveLeft
297
311
  },
298
312
  [ArrowIcon(chevronLeftSolidIcon20PathD)]
@@ -300,7 +314,7 @@ var Transfer = defineComponent({
300
314
  ]),
301
315
  // Target panel
302
316
  renderPanel(
303
- props.targetTitle,
317
+ labels.value.targetTitle,
304
318
  filteredTargetItems.value,
305
319
  targetSelectedKeys.value,
306
320
  toggleTargetItem,
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-HS4YQGZQ.mjs";
4
4
  import {
5
5
  Input
6
- } from "./chunk-DZFM7H3M.mjs";
6
+ } from "./chunk-XLNK3Z2P.mjs";
7
7
  import {
8
8
  Empty
9
- } from "./chunk-WLHOWOAY.mjs";
9
+ } from "./chunk-SJINC5NF.mjs";
10
10
  import {
11
11
  Textarea
12
12
  } from "./chunk-2OI6GWOT.mjs";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-YZBQ6IR7.mjs";
16
16
  import {
17
17
  Avatar
18
- } from "./chunk-XZYFVOOS.mjs";
18
+ } from "./chunk-ZFTRR3KW.mjs";
19
19
 
20
20
  // src/components/ChatWindow.ts
21
21
  import { defineComponent, h, computed, ref, watch, onMounted, onUpdated } from "vue";
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk-YZBQ6IR7.mjs";
7
7
  import {
8
8
  Tag
9
- } from "./chunk-KRWKO2JQ.mjs";
9
+ } from "./chunk-342DH5CF.mjs";
10
10
  import {
11
11
  Text
12
12
  } from "./chunk-NN6AINLG.mjs";
13
13
  import {
14
14
  Avatar
15
- } from "./chunk-XZYFVOOS.mjs";
15
+ } from "./chunk-ZFTRR3KW.mjs";
16
16
 
17
17
  // src/components/CommentThread.ts
18
18
  import { defineComponent, computed, h, ref } from "vue";
@@ -1,5 +1,11 @@
1
1
  // src/components/PrintLayout.ts
2
- import { defineComponent, h, computed } from "vue";
2
+ import {
3
+ defineComponent,
4
+ h,
5
+ computed,
6
+ provide,
7
+ inject
8
+ } from "vue";
3
9
  import {
4
10
  classNames,
5
11
  coerceClassValue,
@@ -8,6 +14,9 @@ import {
8
14
  printLayoutFooterClasses,
9
15
  printLayoutPageBreakClasses
10
16
  } from "@expcat/tigercat-core";
17
+ var PrintLayoutShowPageBreaksKey = /* @__PURE__ */ Symbol(
18
+ "tigerPrintShowPageBreaks"
19
+ );
11
20
  var PrintLayout = defineComponent({
12
21
  name: "TigerPrintLayout",
13
22
  inheritAttrs: false,
@@ -46,6 +55,10 @@ var PrintLayout = defineComponent({
46
55
  }
47
56
  },
48
57
  setup(props, { slots, attrs }) {
58
+ provide(
59
+ PrintLayoutShowPageBreaksKey,
60
+ computed(() => props.showPageBreaks)
61
+ );
49
62
  const classes = computed(
50
63
  () => classNames(
51
64
  getPrintLayoutClasses(props.pageSize, props.orientation, props.className),
@@ -87,9 +100,15 @@ var PrintLayout = defineComponent({
87
100
  var PrintPageBreak = defineComponent({
88
101
  name: "TigerPrintPageBreak",
89
102
  setup(_, { attrs }) {
103
+ const showPageBreaks = inject(PrintLayoutShowPageBreaksKey, null);
90
104
  return () => h("div", {
91
105
  ...attrs,
92
- class: classNames(printLayoutPageBreakClasses, "print:break-before-page"),
106
+ // Always force the print page break; only show the on-screen dashed indicator
107
+ // when the enclosing PrintLayout has `showPageBreaks` enabled.
108
+ class: classNames(
109
+ (showPageBreaks?.value ?? true) && printLayoutPageBreakClasses,
110
+ "print:break-before-page"
111
+ ),
93
112
  "aria-hidden": "true"
94
113
  });
95
114
  }
@@ -1,3 +1,7 @@
1
+ import {
2
+ useTigerConfig
3
+ } from "./chunk-UOJOJBEU.mjs";
4
+
1
5
  // src/components/Carousel.ts
2
6
  import {
3
7
  defineComponent,
@@ -30,7 +34,9 @@ import {
30
34
  resolveCarouselSwipeDirection,
31
35
  createCarouselAutoplayController,
32
36
  carouselPrevArrowPath,
33
- carouselNextArrowPath
37
+ carouselNextArrowPath,
38
+ mergeTigerLocale,
39
+ getCarouselLabels
34
40
  } from "@expcat/tigercat-core";
35
41
  var Carousel = defineComponent({
36
42
  name: "TigerCarousel",
@@ -143,10 +149,19 @@ var Carousel = defineComponent({
143
149
  style: {
144
150
  type: Object,
145
151
  default: void 0
152
+ },
153
+ locale: {
154
+ type: Object,
155
+ default: void 0
156
+ },
157
+ labels: {
158
+ type: Object,
159
+ default: void 0
146
160
  }
147
161
  },
148
162
  emits: ["change", "before-change", "update:currentIndex"],
149
163
  setup(props, { slots, emit, attrs, expose }) {
164
+ const config = useTigerConfig();
150
165
  const internalCurrentIndex = ref(props.defaultCurrentIndex);
151
166
  const isPaused = ref(false);
152
167
  const slideCount = ref(0);
@@ -161,6 +176,8 @@ var Carousel = defineComponent({
161
176
  slideCount.value
162
177
  )
163
178
  );
179
+ const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
180
+ const labels = computed(() => getCarouselLabels(mergedLocale.value, props.labels));
164
181
  const containerClasses = computed(() => {
165
182
  return classNames(getCarouselContainerClasses(props.className), coerceClassValue(attrs.class));
166
183
  });
@@ -337,7 +354,7 @@ var Carousel = defineComponent({
337
354
  class: getCarouselArrowClasses(type, disabled),
338
355
  onClick,
339
356
  disabled,
340
- "aria-label": type === "prev" ? "Previous slide" : "Next slide"
357
+ "aria-label": type === "prev" ? labels.value.previousSlideAriaLabel : labels.value.nextSlideAriaLabel
341
358
  },
342
359
  h(
343
360
  "svg",
@@ -369,7 +386,7 @@ var Carousel = defineComponent({
369
386
  key: index,
370
387
  class: getCarouselDotClasses(index === currentIndex.value),
371
388
  onClick: () => goTo(index),
372
- "aria-label": `Go to slide ${index + 1}`,
389
+ "aria-label": labels.value.goToSlideAriaLabel.replace("{index}", String(index + 1)),
373
390
  "aria-current": index === currentIndex.value ? "true" : "false"
374
391
  })
375
392
  );
@@ -378,7 +395,7 @@ var Carousel = defineComponent({
378
395
  {
379
396
  class: dotsClasses.value,
380
397
  role: "tablist",
381
- "aria-label": "Carousel navigation"
398
+ "aria-label": labels.value.navigationAriaLabel
382
399
  },
383
400
  dots
384
401
  );
@@ -393,7 +410,7 @@ var Carousel = defineComponent({
393
410
  style: props.effect === "fade" ? slideStyle.value : void 0,
394
411
  role: "group",
395
412
  "aria-roledescription": "slide",
396
- "aria-label": `Slide ${index + 1} of ${slides.length}`,
413
+ "aria-label": labels.value.slideAriaLabel.replace("{index}", String(index + 1)).replace("{total}", String(slides.length)),
397
414
  "aria-hidden": index !== currentIndex.value
398
415
  },
399
416
  slide
@@ -425,7 +442,7 @@ var Carousel = defineComponent({
425
442
  style: props.style,
426
443
  role: "region",
427
444
  "aria-roledescription": "carousel",
428
- "aria-label": "Image carousel",
445
+ "aria-label": labels.value.ariaLabel,
429
446
  onMouseenter: handleMouseEnter,
430
447
  onMouseleave: handleMouseLeave,
431
448
  onFocusin: handleFocus,
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-YZBQ6IR7.mjs";
8
8
  import {
9
9
  useTigerConfig
10
- } from "./chunk-R6WFL6NI.mjs";
10
+ } from "./chunk-UOJOJBEU.mjs";
11
11
 
12
12
  // src/components/FormWizard.ts
13
13
  import { defineComponent, computed, ref, watch, h } from "vue";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-BDTPFPSB.mjs";
7
7
  import {
8
8
  useTigerConfig
9
- } from "./chunk-R6WFL6NI.mjs";
9
+ } from "./chunk-UOJOJBEU.mjs";
10
10
 
11
11
  // src/components/Spotlight.ts
12
12
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useTigerConfig
3
- } from "./chunk-R6WFL6NI.mjs";
3
+ } from "./chunk-UOJOJBEU.mjs";
4
4
 
5
5
  // src/components/Empty.ts
6
6
  import { defineComponent, computed, h } from "vue";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useTigerConfig
3
- } from "./chunk-R6WFL6NI.mjs";
3
+ } from "./chunk-UOJOJBEU.mjs";
4
4
 
5
5
  // src/components/Badge.ts
6
6
  import { defineComponent, computed, h } from "vue";
@@ -0,0 +1,35 @@
1
+ // src/utils/global-locale.ts
2
+ var nextGlobalTigerLocaleId = 0;
3
+ var globalTigerLocaleStack = [];
4
+ function createGlobalTigerLocaleHandle(locale) {
5
+ const entry = {
6
+ id: ++nextGlobalTigerLocaleId,
7
+ locale
8
+ };
9
+ globalTigerLocaleStack.push(entry);
10
+ return {
11
+ update(nextLocale) {
12
+ entry.locale = nextLocale;
13
+ },
14
+ dispose() {
15
+ const index = globalTigerLocaleStack.findIndex((item) => item.id === entry.id);
16
+ if (index !== -1) {
17
+ globalTigerLocaleStack.splice(index, 1);
18
+ }
19
+ }
20
+ };
21
+ }
22
+ function getGlobalTigerLocale() {
23
+ for (let index = globalTigerLocaleStack.length - 1; index >= 0; index -= 1) {
24
+ const locale = globalTigerLocaleStack[index]?.locale;
25
+ if (locale) {
26
+ return locale;
27
+ }
28
+ }
29
+ return void 0;
30
+ }
31
+
32
+ export {
33
+ createGlobalTigerLocaleHandle,
34
+ getGlobalTigerLocale
35
+ };
@@ -1,3 +1,7 @@
1
+ import {
2
+ useTigerConfig
3
+ } from "./chunk-UOJOJBEU.mjs";
4
+
1
5
  // src/components/Tabs.ts
2
6
  import {
3
7
  defineComponent,
@@ -26,6 +30,8 @@ import {
26
30
  resolveSwipeGesture,
27
31
  isKeyActive,
28
32
  getNextActiveKey,
33
+ mergeTigerLocale,
34
+ getTabsLabels,
29
35
  tabAddButtonClasses,
30
36
  tabCloseButtonClasses,
31
37
  tabContentBaseClasses
@@ -216,7 +222,10 @@ var TabPane = defineComponent({
216
222
  {
217
223
  type: "button",
218
224
  class: tabCloseButtonClasses,
219
- "aria-label": `Close ${String(props.label)}`,
225
+ "aria-label": tabsContext.labels.closeTabAriaLabel.replace(
226
+ "{label}",
227
+ String(props.label)
228
+ ),
220
229
  tabindex: -1,
221
230
  onClick: handleClose
222
231
  },
@@ -353,12 +362,23 @@ var Tabs = defineComponent({
353
362
  style: {
354
363
  type: Object,
355
364
  default: void 0
365
+ },
366
+ locale: {
367
+ type: Object,
368
+ default: void 0
369
+ },
370
+ labels: {
371
+ type: Object,
372
+ default: void 0
356
373
  }
357
374
  },
358
375
  emits: ["update:activeKey", "change", "edit", "tab-click"],
359
376
  setup(props, { slots, emit }) {
377
+ const config = useTigerConfig();
360
378
  const instance = getCurrentInstance();
361
379
  const idBase = `tiger-tabs-${instance?.uid ?? "0"}`;
380
+ const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
381
+ const labels = computed(() => getTabsLabels(mergedLocale.value, props.labels));
362
382
  const internalActiveKey = ref(props.defaultActiveKey);
363
383
  const swipeStart = ref(null);
364
384
  let lastTabKeys = [];
@@ -439,6 +459,9 @@ var Tabs = defineComponent({
439
459
  return props.swipeable;
440
460
  },
441
461
  idBase,
462
+ get labels() {
463
+ return labels.value;
464
+ },
442
465
  handleTabClick,
443
466
  handleTabClose
444
467
  });
@@ -533,7 +556,7 @@ var Tabs = defineComponent({
533
556
  type: "button",
534
557
  class: tabAddButtonClasses,
535
558
  onClick: () => emit("edit", { targetKey: void 0, action: "add" }),
536
- "aria-label": "Add tab"
559
+ "aria-label": labels.value.addTabAriaLabel
537
560
  },
538
561
  "+"
539
562
  ) : null
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  TaskBoard
3
- } from "./chunk-2YPPXZ4I.mjs";
3
+ } from "./chunk-EGIMTTZA.mjs";
4
4
 
5
5
  // src/components/Kanban.ts
6
6
  import { defineComponent, h } from "vue";