@expcat/tigercat-vue 1.2.47 → 1.3.0

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 (303) hide show
  1. package/dist/{chunk-6GPX4ONB.mjs → chunk-35NT2WJR.mjs} +1 -1
  2. package/dist/{chunk-ICECZVMX.js → chunk-3XCQRM3L.js} +5 -5
  3. package/dist/{chunk-BIDBJNTL.mjs → chunk-4YXQMKKW.mjs} +138 -82
  4. package/dist/{chunk-OHCC6NNC.mjs → chunk-5VVP4UNO.mjs} +53 -9
  5. package/dist/{chunk-UETVHC4K.mjs → chunk-6BFGY5W7.mjs} +2 -2
  6. package/dist/{chunk-JE7AWY34.js → chunk-6NFACBDB.js} +33 -13
  7. package/dist/{chunk-PT4Q7C2A.mjs → chunk-6OQLZCQK.mjs} +8 -3
  8. package/dist/{chunk-CKXZONMO.js → chunk-72DDCIVL.js} +9 -1
  9. package/dist/{chunk-DMNOK6OP.js → chunk-7VHDBN6U.js} +3 -3
  10. package/dist/{chunk-LFKY2QRD.mjs → chunk-7WQN5BYE.mjs} +5 -2
  11. package/dist/{chunk-BGMAWKWV.js → chunk-AEOREYSJ.js} +2 -1
  12. package/dist/{chunk-5TJI4HOT.js → chunk-AP42636I.js} +2 -2
  13. package/dist/{chunk-IGSAOYXD.mjs → chunk-BC74Z6IG.mjs} +10 -2
  14. package/dist/{chunk-G36MH6G4.mjs → chunk-BH4AJQTL.mjs} +1 -1
  15. package/dist/{chunk-2KDSHEZT.js → chunk-BPAZBRCR.js} +2 -0
  16. package/dist/{chunk-JKJ7HMFO.mjs → chunk-BWIHL7LK.mjs} +2 -2
  17. package/dist/{chunk-WQXZ3234.mjs → chunk-DBCSR4WY.mjs} +30 -5
  18. package/dist/{chunk-V6T5GRLE.js → chunk-EW2IW2JW.js} +5 -5
  19. package/dist/{chunk-VKW2O36D.mjs → chunk-FSGD24HV.mjs} +13 -4
  20. package/dist/{chunk-3G4VPV4D.mjs → chunk-G6ULKE6H.mjs} +3 -1
  21. package/dist/{chunk-SGAUVRUS.js → chunk-H6V26X2R.js} +66 -8
  22. package/dist/{chunk-4VLNT2ED.js → chunk-HA5QZ76M.js} +2 -0
  23. package/dist/{chunk-BXS7OSVF.js → chunk-HFRPZA5S.js} +3 -3
  24. package/dist/{chunk-WH4J6PHF.mjs → chunk-IORFQMZH.mjs} +1 -1
  25. package/dist/{chunk-PYT5DTQQ.mjs → chunk-IZQ7BRHC.mjs} +2 -1
  26. package/dist/{chunk-FRI62O2J.js → chunk-JJXYM6QR.js} +2 -2
  27. package/dist/{chunk-I4LQXUMW.js → chunk-JTVFVAM3.js} +9 -1
  28. package/dist/{chunk-BPRKQVIL.mjs → chunk-K4VUUEFQ.mjs} +2 -2
  29. package/dist/{chunk-RY2I56HB.js → chunk-K6DYTMBE.js} +30 -5
  30. package/dist/{chunk-SZFEDBLT.mjs → chunk-LA5YKXPH.mjs} +9 -1
  31. package/dist/{chunk-QIXG7OIN.mjs → chunk-MJP2SNLK.mjs} +3 -3
  32. package/dist/{chunk-B2RH4CMG.js → chunk-NKVEXKM5.js} +5 -2
  33. package/dist/{chunk-ROMVD7LS.mjs → chunk-NUABW6IB.mjs} +1 -1
  34. package/dist/{chunk-WIQPVVUQ.js → chunk-NYR6OQO4.js} +7 -7
  35. package/dist/{chunk-QJLFHHI2.js → chunk-Q3IZQUW7.js} +9 -1
  36. package/dist/{chunk-YS6FW775.js → chunk-Q47OK3FR.js} +2 -2
  37. package/dist/{chunk-27T3QDSF.js → chunk-RBHF7NOQ.js} +3 -1
  38. package/dist/{chunk-V2IDOR7Y.mjs → chunk-RNQOMMLM.mjs} +1 -1
  39. package/dist/{chunk-GQPSQJ5I.mjs → chunk-SL5KAVZK.mjs} +10 -2
  40. package/dist/{chunk-PXSV3J2H.js → chunk-SRFNKU2H.js} +137 -81
  41. package/dist/{chunk-6WM7E6C4.js → chunk-SZB5BZBG.js} +64 -20
  42. package/dist/{chunk-KOTSKHPQ.mjs → chunk-TC6ZPQFT.mjs} +13 -3
  43. package/dist/{chunk-L6W3XL3A.js → chunk-TZDNF5SK.js} +12 -12
  44. package/dist/{chunk-XGXGAK27.js → chunk-UG6O4F2A.js} +12 -2
  45. package/dist/{chunk-7IVLFDZI.js → chunk-UWZSTI3E.js} +14 -5
  46. package/dist/{chunk-LBGTABIU.mjs → chunk-VCBBWDOV.mjs} +3 -1
  47. package/dist/{chunk-GD2WAN62.js → chunk-VH2GDZBH.js} +5 -3
  48. package/dist/{chunk-VWEH6TGR.mjs → chunk-W6VKVYWZ.mjs} +66 -8
  49. package/dist/{chunk-NP6KUJ4X.mjs → chunk-WUHW7AIM.mjs} +33 -13
  50. package/dist/{chunk-FI2EIJIF.mjs → chunk-XMGNMKWW.mjs} +5 -3
  51. package/dist/{chunk-LUAI6VXV.js → chunk-XV6IYXAP.js} +8 -3
  52. package/dist/{chunk-PO5GVU4Q.mjs → chunk-YZBQ6IR7.mjs} +3 -1
  53. package/dist/components/ActivityFeed.d.mts +6 -6
  54. package/dist/components/ActivityFeed.d.ts +6 -6
  55. package/dist/components/ActivityFeed.js +5 -5
  56. package/dist/components/ActivityFeed.mjs +4 -4
  57. package/dist/components/Alert.d.mts +3 -3
  58. package/dist/components/Alert.d.ts +3 -3
  59. package/dist/components/Anchor.d.mts +1 -1
  60. package/dist/components/Anchor.d.ts +1 -1
  61. package/dist/components/AreaChart.d.mts +3 -3
  62. package/dist/components/AreaChart.d.ts +3 -3
  63. package/dist/components/AutoComplete.d.mts +2 -2
  64. package/dist/components/AutoComplete.d.ts +2 -2
  65. package/dist/components/Avatar.d.mts +1 -1
  66. package/dist/components/Avatar.d.ts +1 -1
  67. package/dist/components/Badge.d.mts +3 -3
  68. package/dist/components/Badge.d.ts +3 -3
  69. package/dist/components/BarChart.d.mts +2 -2
  70. package/dist/components/BarChart.d.ts +2 -2
  71. package/dist/components/Breadcrumb.d.mts +2 -2
  72. package/dist/components/Breadcrumb.d.ts +2 -2
  73. package/dist/components/Button.d.mts +3 -3
  74. package/dist/components/Button.d.ts +3 -3
  75. package/dist/components/Button.js +2 -2
  76. package/dist/components/Button.mjs +1 -1
  77. package/dist/components/ButtonGroup.d.mts +1 -1
  78. package/dist/components/ButtonGroup.d.ts +1 -1
  79. package/dist/components/Calendar.d.mts +1 -1
  80. package/dist/components/Calendar.d.ts +1 -1
  81. package/dist/components/Card.d.mts +22 -2
  82. package/dist/components/Card.d.ts +22 -2
  83. package/dist/components/Card.js +2 -2
  84. package/dist/components/Card.mjs +1 -1
  85. package/dist/components/ChartCanvas.d.mts +1 -1
  86. package/dist/components/ChartCanvas.d.ts +1 -1
  87. package/dist/components/ChartGrid.d.mts +1 -1
  88. package/dist/components/ChartGrid.d.ts +1 -1
  89. package/dist/components/ChatWindow.d.mts +3 -3
  90. package/dist/components/ChatWindow.d.ts +3 -3
  91. package/dist/components/ChatWindow.js +3 -3
  92. package/dist/components/ChatWindow.mjs +2 -2
  93. package/dist/components/CodeEditor.d.mts +2 -2
  94. package/dist/components/CodeEditor.d.ts +2 -2
  95. package/dist/components/Collapse.d.mts +1 -1
  96. package/dist/components/Collapse.d.ts +1 -1
  97. package/dist/components/CollapsePanel.d.mts +1 -1
  98. package/dist/components/CollapsePanel.d.ts +1 -1
  99. package/dist/components/ColorSwatch.d.mts +1 -1
  100. package/dist/components/ColorSwatch.d.ts +1 -1
  101. package/dist/components/CommentThread.d.mts +2 -2
  102. package/dist/components/CommentThread.d.ts +2 -2
  103. package/dist/components/CommentThread.js +4 -4
  104. package/dist/components/CommentThread.mjs +3 -3
  105. package/dist/components/ConfigProvider.d.mts +1 -1
  106. package/dist/components/ConfigProvider.d.ts +1 -1
  107. package/dist/components/Container.d.mts +1 -1
  108. package/dist/components/Container.d.ts +1 -1
  109. package/dist/components/Content.d.mts +18 -0
  110. package/dist/components/Content.d.ts +18 -0
  111. package/dist/components/Content.js +2 -2
  112. package/dist/components/Content.mjs +1 -1
  113. package/dist/components/CropUpload.js +4 -4
  114. package/dist/components/CropUpload.mjs +3 -3
  115. package/dist/components/DataTableWithToolbar.d.mts +35 -13
  116. package/dist/components/DataTableWithToolbar.d.ts +35 -13
  117. package/dist/components/DataTableWithToolbar.js +6 -6
  118. package/dist/components/DataTableWithToolbar.mjs +5 -5
  119. package/dist/components/DatePicker.d.mts +2 -2
  120. package/dist/components/DatePicker.d.ts +2 -2
  121. package/dist/components/Descriptions.d.mts +2 -2
  122. package/dist/components/Descriptions.d.ts +2 -2
  123. package/dist/components/DonutChart.d.mts +3 -3
  124. package/dist/components/DonutChart.d.ts +3 -3
  125. package/dist/components/Drawer.d.mts +25 -7
  126. package/dist/components/Drawer.d.ts +25 -7
  127. package/dist/components/Drawer.js +2 -2
  128. package/dist/components/Drawer.mjs +1 -1
  129. package/dist/components/Dropdown.d.mts +1 -1
  130. package/dist/components/Dropdown.d.ts +1 -1
  131. package/dist/components/Dropdown.js +2 -2
  132. package/dist/components/Dropdown.mjs +1 -1
  133. package/dist/components/DropdownItem.js +3 -3
  134. package/dist/components/DropdownItem.mjs +2 -2
  135. package/dist/components/DropdownMenu.js +3 -3
  136. package/dist/components/DropdownMenu.mjs +1 -1
  137. package/dist/components/FileManager.d.mts +1 -1
  138. package/dist/components/FileManager.d.ts +1 -1
  139. package/dist/components/FloatButton.d.mts +3 -3
  140. package/dist/components/FloatButton.d.ts +3 -3
  141. package/dist/components/Form.d.mts +3 -3
  142. package/dist/components/Form.d.ts +3 -3
  143. package/dist/components/Form.js +2 -2
  144. package/dist/components/Form.mjs +1 -1
  145. package/dist/components/FormItem.js +3 -3
  146. package/dist/components/FormItem.mjs +2 -2
  147. package/dist/components/FormWizard.d.mts +5 -5
  148. package/dist/components/FormWizard.d.ts +5 -5
  149. package/dist/components/FormWizard.js +3 -3
  150. package/dist/components/FormWizard.mjs +2 -2
  151. package/dist/components/FunnelChart.d.mts +2 -2
  152. package/dist/components/FunnelChart.d.ts +2 -2
  153. package/dist/components/Gantt.d.mts +2 -2
  154. package/dist/components/Gantt.d.ts +2 -2
  155. package/dist/components/GaugeChart.d.mts +2 -2
  156. package/dist/components/GaugeChart.d.ts +2 -2
  157. package/dist/components/Header.d.mts +19 -0
  158. package/dist/components/Header.d.ts +19 -0
  159. package/dist/components/Header.js +2 -2
  160. package/dist/components/Header.mjs +1 -1
  161. package/dist/components/HeatmapChart.d.mts +3 -3
  162. package/dist/components/HeatmapChart.d.ts +3 -3
  163. package/dist/components/Icon.d.mts +19 -1
  164. package/dist/components/Icon.d.ts +19 -1
  165. package/dist/components/Icon.js +2 -2
  166. package/dist/components/Icon.mjs +1 -1
  167. package/dist/components/Image.d.mts +13 -3
  168. package/dist/components/Image.d.ts +13 -3
  169. package/dist/components/Image.js +4 -2
  170. package/dist/components/Image.mjs +3 -1
  171. package/dist/components/ImageAnnotation.d.mts +4 -4
  172. package/dist/components/ImageAnnotation.d.ts +4 -4
  173. package/dist/components/ImagePreview.d.mts +1 -1
  174. package/dist/components/ImagePreview.d.ts +1 -1
  175. package/dist/components/InfiniteScroll.d.mts +2 -2
  176. package/dist/components/InfiniteScroll.d.ts +2 -2
  177. package/dist/components/Input.d.mts +4 -4
  178. package/dist/components/Input.d.ts +4 -4
  179. package/dist/components/InputGroup.d.mts +1 -1
  180. package/dist/components/InputGroup.d.ts +1 -1
  181. package/dist/components/InputNumber.d.mts +1 -1
  182. package/dist/components/InputNumber.d.ts +1 -1
  183. package/dist/components/Kanban.d.mts +1 -1
  184. package/dist/components/Kanban.d.ts +1 -1
  185. package/dist/components/LineChart.d.mts +2 -2
  186. package/dist/components/LineChart.d.ts +2 -2
  187. package/dist/components/Link.d.mts +1 -1
  188. package/dist/components/Link.d.ts +1 -1
  189. package/dist/components/List.d.mts +6 -6
  190. package/dist/components/List.d.ts +6 -6
  191. package/dist/components/Loading.d.mts +5 -5
  192. package/dist/components/Loading.d.ts +5 -5
  193. package/dist/components/MarkdownEditor.d.mts +2 -2
  194. package/dist/components/MarkdownEditor.d.ts +2 -2
  195. package/dist/components/Mentions.d.mts +2 -2
  196. package/dist/components/Mentions.d.ts +2 -2
  197. package/dist/components/Menu.d.mts +6 -6
  198. package/dist/components/Menu.d.ts +6 -6
  199. package/dist/components/Menu.js +2 -2
  200. package/dist/components/Menu.mjs +1 -1
  201. package/dist/components/MenuItem.js +3 -3
  202. package/dist/components/MenuItem.mjs +1 -1
  203. package/dist/components/MenuItemGroup.js +3 -3
  204. package/dist/components/MenuItemGroup.mjs +1 -1
  205. package/dist/components/Modal.d.mts +9 -9
  206. package/dist/components/Modal.d.ts +9 -9
  207. package/dist/components/Modal.js +3 -3
  208. package/dist/components/Modal.mjs +2 -2
  209. package/dist/components/NotificationCenter.d.mts +5 -5
  210. package/dist/components/NotificationCenter.d.ts +5 -5
  211. package/dist/components/NotificationCenter.js +4 -4
  212. package/dist/components/NotificationCenter.mjs +3 -3
  213. package/dist/components/NumberKeyboard.d.mts +2 -2
  214. package/dist/components/NumberKeyboard.d.ts +2 -2
  215. package/dist/components/OrgChart.d.mts +2 -2
  216. package/dist/components/OrgChart.d.ts +2 -2
  217. package/dist/components/Pagination.d.mts +4 -4
  218. package/dist/components/Pagination.d.ts +4 -4
  219. package/dist/components/PieChart.d.mts +3 -3
  220. package/dist/components/PieChart.d.ts +3 -3
  221. package/dist/components/Popconfirm.d.mts +3 -3
  222. package/dist/components/Popconfirm.d.ts +3 -3
  223. package/dist/components/Popconfirm.js +2 -2
  224. package/dist/components/Popconfirm.mjs +1 -1
  225. package/dist/components/Popover.d.mts +1 -1
  226. package/dist/components/Popover.d.ts +1 -1
  227. package/dist/components/Popover.js +2 -2
  228. package/dist/components/Popover.mjs +1 -1
  229. package/dist/components/Progress.d.mts +3 -3
  230. package/dist/components/Progress.d.ts +3 -3
  231. package/dist/components/QRCode.d.mts +1 -1
  232. package/dist/components/QRCode.d.ts +1 -1
  233. package/dist/components/RadarChart.d.mts +3 -3
  234. package/dist/components/RadarChart.d.ts +3 -3
  235. package/dist/components/RichTextEditor.d.mts +1 -1
  236. package/dist/components/RichTextEditor.d.ts +1 -1
  237. package/dist/components/Row.d.mts +1 -1
  238. package/dist/components/Row.d.ts +1 -1
  239. package/dist/components/ScatterChart.d.mts +2 -2
  240. package/dist/components/ScatterChart.d.ts +2 -2
  241. package/dist/components/ScrollSpy.d.mts +2 -2
  242. package/dist/components/ScrollSpy.d.ts +2 -2
  243. package/dist/components/Select.d.mts +1 -1
  244. package/dist/components/Select.d.ts +1 -1
  245. package/dist/components/Select.js +2 -2
  246. package/dist/components/Select.mjs +1 -1
  247. package/dist/components/Signature.d.mts +2 -2
  248. package/dist/components/Signature.d.ts +2 -2
  249. package/dist/components/Skeleton.d.mts +1 -1
  250. package/dist/components/Skeleton.d.ts +1 -1
  251. package/dist/components/Space.d.mts +2 -2
  252. package/dist/components/Space.d.ts +2 -2
  253. package/dist/components/Splitter.d.mts +1 -1
  254. package/dist/components/Splitter.d.ts +1 -1
  255. package/dist/components/Spotlight.d.mts +5 -5
  256. package/dist/components/Spotlight.d.ts +5 -5
  257. package/dist/components/Steps.d.mts +2 -2
  258. package/dist/components/Steps.d.ts +2 -2
  259. package/dist/components/SubMenu.js +3 -3
  260. package/dist/components/SubMenu.mjs +1 -1
  261. package/dist/components/SunburstChart.d.mts +2 -2
  262. package/dist/components/SunburstChart.d.ts +2 -2
  263. package/dist/components/Table.d.mts +36 -6
  264. package/dist/components/Table.d.ts +36 -6
  265. package/dist/components/Table.js +3 -3
  266. package/dist/components/Table.mjs +2 -2
  267. package/dist/components/Tabs.d.mts +3 -3
  268. package/dist/components/Tabs.d.ts +3 -3
  269. package/dist/components/Tag.d.mts +1 -1
  270. package/dist/components/Tag.d.ts +1 -1
  271. package/dist/components/Tag.js +2 -2
  272. package/dist/components/Tag.mjs +1 -1
  273. package/dist/components/TaskBoard.d.mts +2 -2
  274. package/dist/components/TaskBoard.d.ts +2 -2
  275. package/dist/components/Text.d.mts +3 -3
  276. package/dist/components/Text.d.ts +3 -3
  277. package/dist/components/Textarea.d.mts +1 -1
  278. package/dist/components/Textarea.d.ts +1 -1
  279. package/dist/components/TimePicker.d.mts +3 -3
  280. package/dist/components/TimePicker.d.ts +3 -3
  281. package/dist/components/Timeline.d.mts +3 -3
  282. package/dist/components/Timeline.d.ts +3 -3
  283. package/dist/components/Timeline.js +2 -2
  284. package/dist/components/Timeline.mjs +1 -1
  285. package/dist/components/Tooltip.d.mts +1 -1
  286. package/dist/components/Tooltip.d.ts +1 -1
  287. package/dist/components/Tour.d.mts +2 -2
  288. package/dist/components/Tour.d.ts +2 -2
  289. package/dist/components/Tree.d.mts +2 -2
  290. package/dist/components/Tree.d.ts +2 -2
  291. package/dist/components/TreeMapChart.d.mts +2 -2
  292. package/dist/components/TreeMapChart.d.ts +2 -2
  293. package/dist/components/Upload.d.mts +4 -4
  294. package/dist/components/Upload.d.ts +4 -4
  295. package/dist/components/VirtualTable.d.mts +2 -2
  296. package/dist/components/VirtualTable.d.ts +2 -2
  297. package/dist/components/Watermark.d.mts +1 -1
  298. package/dist/components/Watermark.d.ts +1 -1
  299. package/dist/index.d.mts +1 -1
  300. package/dist/index.d.ts +1 -1
  301. package/dist/index.js +27 -27
  302. package/dist/index.mjs +26 -26
  303. package/package.json +2 -2
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-MKBIVETW.mjs";
13
13
  import {
14
14
  Button
15
- } from "./chunk-PO5GVU4Q.mjs";
15
+ } from "./chunk-YZBQ6IR7.mjs";
16
16
  import {
17
17
  Avatar
18
18
  } from "./chunk-ZCT56WB7.mjs";
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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
2
 
3
- var _chunkDMNOK6OPjs = require('./chunk-DMNOK6OP.js');
3
+ var _chunk7VHDBN6Ujs = require('./chunk-7VHDBN6U.js');
4
4
 
5
5
 
6
6
  var _chunkWUEP3PFNjs = require('./chunk-WUEP3PFN.js');
7
7
 
8
8
 
9
- var _chunk4VLNT2EDjs = require('./chunk-4VLNT2ED.js');
9
+ var _chunkHA5QZ76Mjs = require('./chunk-HA5QZ76M.js');
10
10
 
11
11
  // src/components/CropUpload.ts
12
12
  var _vue = require('vue');
@@ -171,7 +171,7 @@ var CropUpload = _vue.defineComponent.call(void 0, {
171
171
  ]
172
172
  );
173
173
  const modal = _vue.h.call(void 0,
174
- _chunkDMNOK6OPjs.Modal,
174
+ _chunk7VHDBN6Ujs.Modal,
175
175
  {
176
176
  open: modalVisible.value,
177
177
  size: "lg",
@@ -191,9 +191,9 @@ var CropUpload = _vue.defineComponent.call(void 0, {
191
191
  ...props.cropperProps
192
192
  }) : null,
193
193
  footer: ({ cancel: _cancel }) => _vue.h.call(void 0, "div", { class: _tigercatcore.modalFooterClasses }, [
194
- _vue.h.call(void 0, _chunk4VLNT2EDjs.Button, { variant: "secondary", onClick: handleCancel }, { default: () => "\u53D6\u6D88" }),
194
+ _vue.h.call(void 0, _chunkHA5QZ76Mjs.Button, { variant: "secondary", onClick: handleCancel }, { default: () => "\u53D6\u6D88" }),
195
195
  _vue.h.call(void 0,
196
- _chunk4VLNT2EDjs.Button,
196
+ _chunkHA5QZ76Mjs.Button,
197
197
  { onClick: handleConfirm, loading: cropping.value },
198
198
  { default: () => "\u786E\u8BA4\u88C1\u526A" }
199
199
  )
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Select
3
- } from "./chunk-PYT5DTQQ.mjs";
3
+ } from "./chunk-IZQ7BRHC.mjs";
4
4
  import {
5
5
  Radio
6
6
  } from "./chunk-YZP4K6KI.mjs";
@@ -34,6 +34,7 @@ import {
34
34
  getImmediateTigerLocale,
35
35
  getTableLabels,
36
36
  getTableWrapperClasses,
37
+ getTableResponsiveCardClasses,
37
38
  getTableResponsiveCardListClasses,
38
39
  getTableResponsiveTableClasses,
39
40
  getTableVirtualRecommendation,
@@ -41,7 +42,6 @@ import {
41
42
  mergeTigerLocale,
42
43
  resolveTigerLocale,
43
44
  tableBaseClasses,
44
- tableResponsiveCardClasses,
45
45
  tableResponsiveCardLabelClasses,
46
46
  tableResponsiveCardRowClasses,
47
47
  tableResponsiveCardTitleClasses,
@@ -168,6 +168,18 @@ var tableProps = {
168
168
  renderCard: {
169
169
  type: Function
170
170
  },
171
+ cardSelectionPosition: {
172
+ type: String,
173
+ default: "controls-row"
174
+ },
175
+ cardPadding: {
176
+ type: [String, Boolean],
177
+ default: void 0
178
+ },
179
+ cardFieldGap: {
180
+ type: String,
181
+ default: "gap-3"
182
+ },
171
183
  // --- v0.6.0 props ---
172
184
  virtual: { type: Boolean, default: false },
173
185
  autoVirtual: { type: Boolean, default: true },
@@ -1430,44 +1442,48 @@ var Table = defineComponent({
1430
1442
  }
1431
1443
  if (sortableColumns.length > 0) {
1432
1444
  cardChildren.push(
1433
- h6("div", {
1434
- class: "rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] px-3 py-2"
1435
- }, [
1436
- h6(Select, {
1437
- size: "sm",
1438
- modelValue: ctx.sortState.value.key && ctx.sortState.value.direction ? `${ctx.sortState.value.key}:${ctx.sortState.value.direction}` : "",
1439
- options: [
1440
- { label: tableLabels.value.clearSortText, value: "" },
1441
- ...sortableColumns.flatMap((column) => [
1442
- {
1443
- label: `${formatTableSortByText(tableLabels.value.sortByText, column.title)} \u2191`,
1444
- value: `${column.key}:asc`
1445
- },
1446
- {
1447
- label: `${formatTableSortByText(tableLabels.value.sortByText, column.title)} \u2193`,
1448
- value: `${column.key}:desc`
1445
+ h6(
1446
+ "div",
1447
+ {
1448
+ class: "rounded-[var(--tiger-radius-md,0.5rem)] border border-[var(--tiger-border,#e5e7eb)] bg-[var(--tiger-surface,#ffffff)] px-3 py-2"
1449
+ },
1450
+ [
1451
+ h6(Select, {
1452
+ size: "sm",
1453
+ modelValue: ctx.sortState.value.key && ctx.sortState.value.direction ? `${ctx.sortState.value.key}:${ctx.sortState.value.direction}` : "",
1454
+ options: [
1455
+ { label: tableLabels.value.clearSortText, value: "" },
1456
+ ...sortableColumns.flatMap((column) => [
1457
+ {
1458
+ label: `${formatTableSortByText(tableLabels.value.sortByText, column.title)} \u2191`,
1459
+ value: `${column.key}:asc`
1460
+ },
1461
+ {
1462
+ label: `${formatTableSortByText(tableLabels.value.sortByText, column.title)} \u2193`,
1463
+ value: `${column.key}:desc`
1464
+ }
1465
+ ])
1466
+ ],
1467
+ clearable: false,
1468
+ "onUpdate:modelValue": (value) => {
1469
+ const nextValue = String(value ?? "");
1470
+ if (!nextValue) {
1471
+ ctx.handleSetSort({ key: null, direction: null });
1472
+ return;
1449
1473
  }
1450
- ])
1451
- ],
1452
- clearable: false,
1453
- "onUpdate:modelValue": (value) => {
1454
- const nextValue = String(value ?? "");
1455
- if (!nextValue) {
1456
- ctx.handleSetSort({ key: null, direction: null });
1457
- return;
1474
+ const separatorIndex = nextValue.lastIndexOf(":");
1475
+ const key = nextValue.slice(0, separatorIndex);
1476
+ const direction = nextValue.slice(separatorIndex + 1);
1477
+ ctx.handleSetSort({ key, direction });
1458
1478
  }
1459
- const separatorIndex = nextValue.lastIndexOf(":");
1460
- const key = nextValue.slice(0, separatorIndex);
1461
- const direction = nextValue.slice(separatorIndex + 1);
1462
- ctx.handleSetSort({ key, direction });
1463
- }
1464
- })
1465
- ])
1479
+ })
1480
+ ]
1481
+ )
1466
1482
  );
1467
1483
  }
1468
1484
  if (ctx.paginatedData.value.length === 0) {
1469
1485
  cardChildren.push(
1470
- h6("div", { class: tableResponsiveCardClasses }, [
1486
+ h6("div", { class: getTableResponsiveCardClasses(resolvedProps.cardPadding) }, [
1471
1487
  h6(Empty, { showImage: false, description: tableLabels.value.emptyText })
1472
1488
  ])
1473
1489
  );
@@ -1489,33 +1505,56 @@ var Table = defineComponent({
1489
1505
  const rows = hasCustomCardLayout.value ? [
1490
1506
  h6(
1491
1507
  "div",
1492
- { class: "grid grid-cols-12 gap-3 mt-2" },
1508
+ {
1509
+ class: classNames3(
1510
+ "grid grid-cols-12 mt-2",
1511
+ resolvedProps.cardFieldGap ?? "gap-3"
1512
+ )
1513
+ },
1493
1514
  bodyColumns.map((column) => {
1494
1515
  const layoutItem = cardLayoutMap.value.get(column.key);
1495
1516
  const gridInfo = getCardGridInfo(column, layoutItem);
1496
1517
  if (gridInfo.hideLabel) {
1497
1518
  return h6(
1498
1519
  "div",
1499
- { key: column.key, class: gridInfo.className },
1520
+ {
1521
+ key: column.key,
1522
+ class: classNames3(
1523
+ gridInfo.className,
1524
+ gridInfo.divider && "border-t border-[var(--tiger-border,#e5e7eb)] pt-3"
1525
+ )
1526
+ },
1500
1527
  [renderCardCellContent(column)]
1501
1528
  );
1502
1529
  }
1503
1530
  if (gridInfo.labelPosition === "top") {
1504
1531
  return h6(
1505
1532
  "div",
1506
- { key: column.key, class: gridInfo.className },
1533
+ {
1534
+ key: column.key,
1535
+ class: classNames3(
1536
+ gridInfo.className,
1537
+ gridInfo.divider && "border-t border-[var(--tiger-border,#e5e7eb)] pt-3"
1538
+ )
1539
+ },
1507
1540
  [
1508
1541
  h6(
1509
1542
  "div",
1510
1543
  {
1511
- class: "text-xs font-medium uppercase tracking-wider text-[var(--tiger-text-muted,#6b7280)] mb-1"
1544
+ class: classNames3(
1545
+ "text-xs font-medium uppercase tracking-wider text-[var(--tiger-text-muted,#6b7280)] mb-1",
1546
+ gridInfo.labelClassName
1547
+ )
1512
1548
  },
1513
1549
  column.title
1514
1550
  ),
1515
1551
  h6(
1516
1552
  "div",
1517
1553
  {
1518
- class: "min-w-0 text-sm text-[var(--tiger-text,#111827)] break-words"
1554
+ class: classNames3(
1555
+ "min-w-0 text-sm text-[var(--tiger-text,#111827)] break-words",
1556
+ gridInfo.valueClassName
1557
+ )
1519
1558
  },
1520
1559
  [renderCardCellContent(column)]
1521
1560
  )
@@ -1528,21 +1567,28 @@ var Table = defineComponent({
1528
1567
  key: column.key,
1529
1568
  class: classNames3(
1530
1569
  gridInfo.className,
1531
- "grid grid-cols-[auto_1fr] gap-2 items-baseline"
1570
+ "grid grid-cols-[auto_1fr] gap-2 items-baseline",
1571
+ gridInfo.divider && "border-t border-[var(--tiger-border,#e5e7eb)] pt-3"
1532
1572
  )
1533
1573
  },
1534
1574
  [
1535
1575
  h6(
1536
1576
  "div",
1537
1577
  {
1538
- class: "text-xs font-medium uppercase tracking-wider text-[var(--tiger-text-muted,#6b7280)] shrink-0"
1578
+ class: classNames3(
1579
+ "text-xs font-medium uppercase tracking-wider text-[var(--tiger-text-muted,#6b7280)] shrink-0",
1580
+ gridInfo.labelClassName
1581
+ )
1539
1582
  },
1540
1583
  column.title
1541
1584
  ),
1542
1585
  h6(
1543
1586
  "div",
1544
1587
  {
1545
- class: "min-w-0 text-sm text-[var(--tiger-text,#111827)] break-words"
1588
+ class: classNames3(
1589
+ "min-w-0 text-sm text-[var(--tiger-text,#111827)] break-words",
1590
+ gridInfo.valueClassName
1591
+ )
1546
1592
  },
1547
1593
  [renderCardCellContent(column)]
1548
1594
  )
@@ -1551,48 +1597,40 @@ var Table = defineComponent({
1551
1597
  })
1552
1598
  )
1553
1599
  ] : bodyColumns.map(
1554
- (column) => h6(
1555
- "div",
1556
- { key: column.key, class: tableResponsiveCardRowClasses },
1557
- [
1558
- h6("div", { class: tableResponsiveCardLabelClasses }, column.title),
1559
- h6("div", { class: tableResponsiveCardValueClasses }, [
1560
- renderCardCellContent(column)
1561
- ])
1562
- ]
1563
- )
1600
+ (column) => h6("div", { key: column.key, class: tableResponsiveCardRowClasses }, [
1601
+ h6("div", { class: tableResponsiveCardLabelClasses }, column.title),
1602
+ h6("div", { class: tableResponsiveCardValueClasses }, [
1603
+ renderCardCellContent(column)
1604
+ ])
1605
+ ])
1564
1606
  );
1565
1607
  const controls = [];
1566
1608
  if (resolvedProps.rowSelection && resolvedProps.rowSelection.showCheckbox !== false) {
1567
1609
  const checkboxProps = resolvedProps.rowSelection.getCheckboxProps?.(record) || {};
1568
1610
  controls.push(
1569
- h6(
1570
- "span",
1571
- { onClick: (event) => event.stopPropagation() },
1572
- [
1573
- resolvedProps.rowSelection.type === "radio" ? h6(Radio, {
1574
- value: key,
1575
- checked: isSelected,
1576
- disabled: checkboxProps.disabled,
1577
- "aria-label": formatTableSelectRowAriaLabel(
1578
- tableLabels.value.selectRowAriaLabel,
1579
- index + 1,
1580
- tableLocale.value?.locale
1581
- ),
1582
- onChange: () => ctx.handleSelectRow(key, true)
1583
- }) : h6(Checkbox, {
1584
- size: "sm",
1585
- modelValue: isSelected,
1586
- disabled: checkboxProps.disabled,
1587
- "aria-label": formatTableSelectRowAriaLabel(
1588
- tableLabels.value.selectRowAriaLabel,
1589
- index + 1,
1590
- tableLocale.value?.locale
1591
- ),
1592
- onChange: (checked) => ctx.handleSelectRow(key, checked)
1593
- })
1594
- ]
1595
- )
1611
+ h6("span", { onClick: (event) => event.stopPropagation() }, [
1612
+ resolvedProps.rowSelection.type === "radio" ? h6(Radio, {
1613
+ value: key,
1614
+ checked: isSelected,
1615
+ disabled: checkboxProps.disabled,
1616
+ "aria-label": formatTableSelectRowAriaLabel(
1617
+ tableLabels.value.selectRowAriaLabel,
1618
+ index + 1,
1619
+ tableLocale.value?.locale
1620
+ ),
1621
+ onChange: () => ctx.handleSelectRow(key, true)
1622
+ }) : h6(Checkbox, {
1623
+ size: "sm",
1624
+ modelValue: isSelected,
1625
+ disabled: checkboxProps.disabled,
1626
+ "aria-label": formatTableSelectRowAriaLabel(
1627
+ tableLabels.value.selectRowAriaLabel,
1628
+ index + 1,
1629
+ tableLocale.value?.locale
1630
+ ),
1631
+ onChange: (checked) => ctx.handleSelectRow(key, checked)
1632
+ })
1633
+ ])
1596
1634
  );
1597
1635
  }
1598
1636
  if (resolvedProps.expandable && isRowExpandable) {
@@ -1612,6 +1650,21 @@ var Table = defineComponent({
1612
1650
  )
1613
1651
  );
1614
1652
  }
1653
+ const titleWithInlineControls = titleNode && resolvedProps.cardSelectionPosition === "title-inline" && controls.length ? h6(
1654
+ "div",
1655
+ {
1656
+ class: classNames3(
1657
+ tableResponsiveCardTitleClasses,
1658
+ "flex items-center gap-3"
1659
+ )
1660
+ },
1661
+ [
1662
+ ...controls,
1663
+ h6("span", { class: "min-w-0 flex-1" }, [
1664
+ renderCardCellContent(titleColumn)
1665
+ ])
1666
+ ]
1667
+ ) : titleNode;
1615
1668
  const expandedContent = resolvedProps.expandable && isExpanded && isRowExpandable ? slots["expanded-row"]?.({ record, index }) ?? resolvedProps.expandable.expandedRowRender?.(record, index) : null;
1616
1669
  const cardContext = {
1617
1670
  record,
@@ -1628,12 +1681,15 @@ var Table = defineComponent({
1628
1681
  "div",
1629
1682
  {
1630
1683
  key,
1631
- class: classNames3(tableResponsiveCardClasses, resolvedCardClassName),
1684
+ class: classNames3(
1685
+ getTableResponsiveCardClasses(resolvedProps.cardPadding),
1686
+ resolvedCardClassName
1687
+ ),
1632
1688
  onClick: () => ctx.handleRowClick(record, index, key)
1633
1689
  },
1634
1690
  customCard !== void 0 && customCard !== null ? [customCard] : [
1635
- controls.length ? h6("div", { class: "mb-2 flex items-center gap-3" }, controls) : null,
1636
- titleNode,
1691
+ controls.length && (!titleNode || resolvedProps.cardSelectionPosition !== "title-inline") ? h6("div", { class: "mb-2 flex items-center gap-3" }, controls) : null,
1692
+ titleWithInlineControls,
1637
1693
  ...rows,
1638
1694
  expandedContent ? h6(
1639
1695
  "div",
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Table
3
- } from "./chunk-BIDBJNTL.mjs";
3
+ } from "./chunk-4YXQMKKW.mjs";
4
4
  import {
5
5
  Select
6
- } from "./chunk-PYT5DTQQ.mjs";
6
+ } from "./chunk-IZQ7BRHC.mjs";
7
7
  import {
8
8
  Popover
9
- } from "./chunk-PT4Q7C2A.mjs";
9
+ } from "./chunk-6OQLZCQK.mjs";
10
10
  import {
11
11
  useTigerConfig
12
12
  } from "./chunk-VG6E4NX6.mjs";
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-2BNQGU7E.mjs";
19
19
  import {
20
20
  Button
21
- } from "./chunk-PO5GVU4Q.mjs";
21
+ } from "./chunk-YZBQ6IR7.mjs";
22
22
 
23
23
  // src/components/DataTableWithToolbar.ts
24
24
  import {
@@ -143,6 +143,14 @@ var DataTableWithToolbar = defineComponent({
143
143
  type: Array,
144
144
  default: void 0
145
145
  },
146
+ cardClassName: {
147
+ type: [String, Function],
148
+ default: void 0
149
+ },
150
+ renderCard: {
151
+ type: Function,
152
+ default: void 0
153
+ },
146
154
  toolbar: {
147
155
  type: Object,
148
156
  default: void 0
@@ -411,7 +419,21 @@ var DataTableWithToolbar = defineComponent({
411
419
  }
412
420
  );
413
421
  };
422
+ const toolbarRenderContext = () => ({
423
+ searchValue: searchValue.value ?? "",
424
+ setSearch: handleSearchChange,
425
+ submitSearch: handleSearchSubmit,
426
+ filters: resolvedFilters.value,
427
+ setFilter: (key, value) => setFilterValue(key, value),
428
+ selectedKeys: selectedKeys.value,
429
+ selectedCount: selectedCount.value,
430
+ hiddenColumnKeys: resolvedHiddenKeys.value,
431
+ setHiddenColumnKeys: handleHiddenColumnsChange
432
+ });
414
433
  const renderToolbar = () => {
434
+ if (slots.toolbar) {
435
+ return slots.toolbar(toolbarRenderContext());
436
+ }
415
437
  if (!hasSearch.value && !hasFilters.value && !hasFiltersExtra.value && !hasBulkActions.value && !hasColumnSettings.value)
416
438
  return null;
417
439
  const leftNodes = [];
@@ -420,7 +442,12 @@ var DataTableWithToolbar = defineComponent({
420
442
  leftNodes.push(
421
443
  h(
422
444
  "div",
423
- { class: "flex items-center gap-2 w-full sm:w-auto sm:min-w-[220px] sm:max-w-[320px]" },
445
+ {
446
+ class: classNames(
447
+ "flex items-center gap-2",
448
+ props.toolbar?.searchClassName ?? "w-full sm:w-auto sm:min-w-[220px] sm:max-w-[320px]"
449
+ )
450
+ },
424
451
  [
425
452
  h(
426
453
  Input,
@@ -489,14 +516,22 @@ var DataTableWithToolbar = defineComponent({
489
516
  leftNodes.push(
490
517
  h(
491
518
  "div",
492
- { key: filter.key, class: "w-full sm:w-auto" },
519
+ {
520
+ key: filter.key,
521
+ class: filter.itemClass ?? "w-full sm:w-auto",
522
+ style: filter.itemStyle
523
+ },
493
524
  filterNode == null ? [] : [filterNode]
494
525
  )
495
526
  );
496
527
  return;
497
528
  }
498
529
  leftNodes.push(
499
- h("div", { key: filter.key, class: "w-full sm:w-auto sm:min-w-[120px] sm:max-w-[180px]" }, [
530
+ h("div", {
531
+ key: filter.key,
532
+ class: filter.itemClass ?? "w-full sm:w-auto sm:min-w-[120px] sm:max-w-[180px]",
533
+ style: filter.itemStyle
534
+ }, [
500
535
  h(Select, {
501
536
  size: "sm",
502
537
  options: (filter.options ?? []).map((opt) => ({
@@ -565,8 +600,10 @@ var DataTableWithToolbar = defineComponent({
565
600
  {
566
601
  class: classNames(
567
602
  "tiger-data-table-toolbar flex flex-wrap items-center gap-3",
568
- props.bordered ? "bg-[var(--tiger-surface-muted,#f9fafb)] dark:bg-gray-800/10 px-4 py-3.5 border-b border-[var(--tiger-border,#e5e7eb)]" : "bg-[var(--tiger-surface-muted,#f9fafb)]/80 dark:bg-gray-800/30 px-4 py-3.5 border border-[var(--tiger-border,#e5e7eb)] rounded-[var(--tiger-radius-md,0.5rem)] shadow-sm"
603
+ props.bordered ? "bg-[var(--tiger-surface-muted,#f9fafb)] dark:bg-gray-800/10 px-4 py-3.5 border-b border-[var(--tiger-border,#e5e7eb)]" : "bg-[var(--tiger-surface-muted,#f9fafb)]/80 dark:bg-gray-800/30 px-4 py-3.5 border border-[var(--tiger-border,#e5e7eb)] rounded-[var(--tiger-radius-md,0.5rem)] shadow-sm",
604
+ props.toolbar?.className
569
605
  ),
606
+ style: props.toolbar?.style,
570
607
  role: "toolbar",
571
608
  "aria-label": tableLabels.value.toolbarAriaLabel
572
609
  },
@@ -613,10 +650,17 @@ var DataTableWithToolbar = defineComponent({
613
650
  responsiveMode: props.responsiveMode,
614
651
  cardBreakpoint: props.cardBreakpoint,
615
652
  cardLayout: props.cardLayout,
653
+ cardClassName: props.cardClassName,
654
+ renderCard: props.renderCard,
616
655
  class: props.bordered ? "border-none rounded-none shadow-none" : void 0,
617
656
  onSelectionChange: (keys) => emit("selection-change", keys),
618
657
  onPageChange: handleTablePageChange
619
658
  };
659
+ const {
660
+ toolbar: _toolbarSlot,
661
+ "filters-extra": _filtersExtraSlot,
662
+ ...tableSlots
663
+ } = slots;
620
664
  return h(
621
665
  "div",
622
666
  {
@@ -624,7 +668,7 @@ var DataTableWithToolbar = defineComponent({
624
668
  style: wrapperStyle.value,
625
669
  "data-tiger-data-table-with-toolbar": ""
626
670
  },
627
- [renderToolbar(), h(Table, tableProps)]
671
+ [renderToolbar(), h(Table, tableProps, tableSlots)]
628
672
  );
629
673
  };
630
674
  }
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-PZH2RTSS.mjs";
8
8
  import {
9
9
  Button
10
- } from "./chunk-PO5GVU4Q.mjs";
10
+ } from "./chunk-YZBQ6IR7.mjs";
11
11
  import {
12
12
  Loading
13
13
  } from "./chunk-XQRKFOXS.mjs";
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-NN6AINLG.mjs";
17
17
  import {
18
18
  Card
19
- } from "./chunk-KOTSKHPQ.mjs";
19
+ } from "./chunk-TC6ZPQFT.mjs";
20
20
 
21
21
  // src/components/NotificationCenter.ts
22
22
  import { defineComponent, computed, ref, watch, h } from "vue";
@@ -49,6 +49,7 @@ var _vue = require('vue');
49
49
 
50
50
 
51
51
 
52
+
52
53
 
53
54
 
54
55
  var _tigercatcore = require('@expcat/tigercat-core');
@@ -443,26 +444,36 @@ var MenuItem = _vue.defineComponent.call(void 0, {
443
444
  return () => {
444
445
  const children = [];
445
446
  const effectiveCollapsed = _nullishCoalesce(props.collapsed, () => ( (menuContext ? menuContext.collapsed.value : false)));
447
+ const iconClasses = effectiveCollapsed ? _tigercatcore.menuCollapsedIconClasses : _tigercatcore.menuItemIconClasses;
446
448
  if (props.icon) {
447
449
  if (typeof props.icon === "string") {
448
450
  children.push(
449
451
  _vue.h.call(void 0, "span", {
450
- class: _tigercatcore.menuItemIconClasses,
452
+ class: iconClasses,
451
453
  innerHTML: props.icon
452
454
  })
453
455
  );
454
456
  } else {
455
- children.push(_vue.h.call(void 0, "span", { class: _tigercatcore.menuItemIconClasses }, props.icon));
457
+ children.push(_vue.h.call(void 0, "span", { class: iconClasses }, props.icon));
456
458
  }
457
459
  }
458
460
  if (!effectiveCollapsed && slots.default) {
459
461
  children.push(_vue.h.call(void 0, "span", { class: "flex-1" }, slots.default()));
460
- } else if (effectiveCollapsed && !props.icon && slots.default) {
461
- const defaultSlot = slots.default();
462
- if (defaultSlot && defaultSlot.length > 0) {
463
- const text = String(defaultSlot[0].children || "");
464
- children.push(_vue.h.call(void 0, "span", { class: "flex-1 text-center" }, text.charAt(0).toUpperCase()));
462
+ } else if (effectiveCollapsed && slots.default) {
463
+ if (!props.icon) {
464
+ const defaultSlot = slots.default();
465
+ if (defaultSlot && defaultSlot.length > 0) {
466
+ const text = String(defaultSlot[0].children || "");
467
+ children.push(
468
+ _vue.h.call(void 0,
469
+ "span",
470
+ { class: "flex-1 text-center", "aria-hidden": "true" },
471
+ text.charAt(0).toUpperCase()
472
+ )
473
+ );
474
+ }
465
475
  }
476
+ children.push(_vue.h.call(void 0, "span", { class: "sr-only" }, slots.default()));
466
477
  }
467
478
  return _vue.h.call(void 0,
468
479
  "li",
@@ -872,16 +883,17 @@ var SubMenu = _vue.defineComponent.call(void 0, {
872
883
  return () => {
873
884
  if (!menuContext) return null;
874
885
  const titleChildren = [];
886
+ const submenuIconClasses = effectiveCollapsed.value ? _tigercatcore.menuCollapsedIconClasses : _tigercatcore.menuItemIconClasses;
875
887
  if (props.icon) {
876
888
  if (typeof props.icon === "string") {
877
889
  titleChildren.push(
878
890
  _vue.h.call(void 0, "span", {
879
- class: _tigercatcore.menuItemIconClasses,
891
+ class: submenuIconClasses,
880
892
  innerHTML: props.icon
881
893
  })
882
894
  );
883
895
  } else {
884
- titleChildren.push(_vue.h.call(void 0, "span", { class: _tigercatcore.menuItemIconClasses }, props.icon));
896
+ titleChildren.push(_vue.h.call(void 0, "span", { class: submenuIconClasses }, props.icon));
885
897
  }
886
898
  }
887
899
  if (!effectiveCollapsed.value) {
@@ -889,10 +901,17 @@ var SubMenu = _vue.defineComponent.call(void 0, {
889
901
  if (menuContext.mode.value !== "horizontal" && !isPopup.value) {
890
902
  titleChildren.push(ExpandIcon(isExpanded.value));
891
903
  }
892
- } else if (!props.icon) {
893
- titleChildren.push(
894
- _vue.h.call(void 0, "span", { class: "flex-1 text-center" }, props.title.charAt(0).toUpperCase())
895
- );
904
+ } else {
905
+ if (!props.icon) {
906
+ titleChildren.push(
907
+ _vue.h.call(void 0,
908
+ "span",
909
+ { class: "flex-1 text-center", "aria-hidden": "true" },
910
+ props.title.charAt(0).toUpperCase()
911
+ )
912
+ );
913
+ }
914
+ titleChildren.push(_vue.h.call(void 0, "span", { class: "sr-only" }, props.title));
896
915
  }
897
916
  const titleNode = _vue.h.call(void 0,
898
917
  "button",
@@ -908,6 +927,7 @@ var SubMenu = _vue.defineComponent.call(void 0, {
908
927
  "aria-expanded": isExpanded.value ? "true" : "false",
909
928
  "aria-haspopup": "true",
910
929
  "aria-disabled": props.disabled ? "true" : void 0,
930
+ "data-state": isExpanded.value ? "open" : "closed",
911
931
  disabled: props.disabled,
912
932
  tabindex: -1,
913
933
  ...passthroughAttrs.value
@@ -64,8 +64,8 @@ var Popover = defineComponent({
64
64
  const triggerClasses = computed(() => getPopoverTriggerClasses(props.disabled));
65
65
  const contentClasses = computed(() => getPopoverContentClasses(props.width));
66
66
  return () => {
67
- const defaultSlot = slots.default?.();
68
- if (!defaultSlot || defaultSlot.length === 0) return null;
67
+ const triggerSlotContent = slots.trigger ? slots.trigger({ open: currentVisible.value }) : slots.default?.();
68
+ if (!triggerSlotContent || triggerSlotContent.length === 0) return null;
69
69
  const {
70
70
  class: _class,
71
71
  style: _style,
@@ -90,9 +90,14 @@ var Popover = defineComponent({
90
90
  class: triggerClasses.value,
91
91
  "aria-haspopup": "dialog",
92
92
  "aria-disabled": props.disabled ? "true" : void 0,
93
+ // `data-state` is the stable styling hook. `aria-expanded` is
94
+ // intentionally omitted: the trigger is a generic wrapper without
95
+ // an interactive role, where `aria-expanded` is invalid (the
96
+ // user's own interactive element carries the real semantics).
97
+ "data-state": currentVisible.value ? "open" : "closed",
93
98
  ...triggerHandlers.value
94
99
  },
95
- defaultSlot
100
+ triggerSlotContent
96
101
  ),
97
102
  // Floating content
98
103
  currentVisible.value ? renderVueBodyTeleport(