@expcat/tigercat-vue 2.1.0 → 2.1.1

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 (250) hide show
  1. package/dist/{chunk-7W3NALIL.mjs → chunk-3FPS7XVB.mjs} +26 -27
  2. package/dist/{chunk-2OI6GWOT.mjs → chunk-3KAHJF7D.mjs} +12 -11
  3. package/dist/{chunk-IEAEB4TX.mjs → chunk-3OCHBGPF.mjs} +242 -51
  4. package/dist/{chunk-4HUYX5WW.mjs → chunk-4PQZMDBK.mjs} +29 -8
  5. package/dist/{chunk-DI6RRAGQ.mjs → chunk-562Z32GR.mjs} +3 -3
  6. package/dist/{chunk-OQVGB7X6.mjs → chunk-626VUZ2Q.mjs} +1 -1
  7. package/dist/{chunk-66OS5A4D.mjs → chunk-67VS6QHJ.mjs} +26 -12
  8. package/dist/{chunk-EHGFW5GX.mjs → chunk-6JAAXPBW.mjs} +4 -3
  9. package/dist/{chunk-JHMT5Q6P.mjs → chunk-6NYC7EY2.mjs} +29 -15
  10. package/dist/{chunk-6BDDX2R4.mjs → chunk-73Z7N7VG.mjs} +1 -4
  11. package/dist/{chunk-F3ZVVVYD.mjs → chunk-7C7SG3SS.mjs} +15 -3
  12. package/dist/{chunk-CHEXI7MO.mjs → chunk-7TJE7OYH.mjs} +4 -3
  13. package/dist/{chunk-AU6IC6K7.mjs → chunk-ABNS4B5V.mjs} +35 -15
  14. package/dist/{chunk-EGIMTTZA.mjs → chunk-BOHE5URZ.mjs} +18 -3
  15. package/dist/{chunk-5RIHHZF6.mjs → chunk-BQK7LH2L.mjs} +4 -1
  16. package/dist/{chunk-E6EZHSGY.mjs → chunk-BSOLH6R5.mjs} +0 -1
  17. package/dist/{chunk-RSM6FOWX.mjs → chunk-CCC3S6LK.mjs} +6 -3
  18. package/dist/{chunk-U75YXWSA.mjs → chunk-CLTRADS7.mjs} +17 -5
  19. package/dist/{chunk-BEIPGX74.mjs → chunk-DRLQCY7R.mjs} +162 -7
  20. package/dist/{chunk-KBJANUZZ.mjs → chunk-E523VGZP.mjs} +1 -1
  21. package/dist/{chunk-D3U2NJ32.mjs → chunk-FEQ7PZXI.mjs} +8 -2
  22. package/dist/{chunk-PE5OA4YG.mjs → chunk-FHUGOSEY.mjs} +8 -2
  23. package/dist/{chunk-OAPIT53X.mjs → chunk-FIEECAJV.mjs} +7 -10
  24. package/dist/{chunk-7SFB77JR.mjs → chunk-GBPMQJJJ.mjs} +8 -1
  25. package/dist/{chunk-6AMWX5K4.mjs → chunk-GQOPDD44.mjs} +1 -1
  26. package/dist/{chunk-5RXYJWNA.mjs → chunk-H4DEIGEG.mjs} +77 -25
  27. package/dist/{chunk-EZYOCPMM.mjs → chunk-IK2WHKDA.mjs} +29 -15
  28. package/dist/{chunk-HGXD57QM.mjs → chunk-JBS3AESR.mjs} +65 -23
  29. package/dist/{chunk-PYRKFQ6J.mjs → chunk-JIU5UEOU.mjs} +70 -26
  30. package/dist/{chunk-JALHMWKW.mjs → chunk-K5MHUMKR.mjs} +2 -2
  31. package/dist/{chunk-5E4LINDO.mjs → chunk-LH2V2JMZ.mjs} +26 -10
  32. package/dist/{chunk-PQBKN2NH.mjs → chunk-LRFKHJDU.mjs} +14 -5
  33. package/dist/{chunk-W5XFWVNV.mjs → chunk-M4FWWEMX.mjs} +15 -6
  34. package/dist/{chunk-VLW3UBIR.mjs → chunk-N2XV37BL.mjs} +37 -41
  35. package/dist/{chunk-2LIIMWBR.mjs → chunk-OYU47A57.mjs} +1 -2
  36. package/dist/{chunk-KU2Q5V3L.mjs → chunk-P62TYR3M.mjs} +18 -2
  37. package/dist/{chunk-P5FDKBXG.mjs → chunk-P7X46BAW.mjs} +70 -3
  38. package/dist/{chunk-KROVW4AW.mjs → chunk-PJQTRDIG.mjs} +13 -3
  39. package/dist/{chunk-26OI3TEA.mjs → chunk-PMQSXEMT.mjs} +42 -6
  40. package/dist/{chunk-XLNK3Z2P.mjs → chunk-POWDTOMF.mjs} +88 -79
  41. package/dist/{chunk-AXDBME5A.mjs → chunk-PSGVG4TN.mjs} +38 -21
  42. package/dist/{chunk-7DWWNFRP.mjs → chunk-PWWWACHC.mjs} +1 -1
  43. package/dist/{chunk-UUWTKCMY.mjs → chunk-QWLD5FMJ.mjs} +1 -1
  44. package/dist/{chunk-ALIUAGJO.mjs → chunk-QZLOF36M.mjs} +7 -13
  45. package/dist/{chunk-WLYQHKLZ.mjs → chunk-QZRSFGZZ.mjs} +50 -11
  46. package/dist/{chunk-37W7XTA6.mjs → chunk-RHQWQJ4I.mjs} +4 -3
  47. package/dist/{chunk-32X54QKW.mjs → chunk-RRLE7QRH.mjs} +43 -22
  48. package/dist/{chunk-RID7A5V7.mjs → chunk-RRNQL6MJ.mjs} +23 -6
  49. package/dist/{chunk-VJ6YM2EW.mjs → chunk-S4BKVFQ7.mjs} +1 -1
  50. package/dist/{chunk-LPZBXTJ6.mjs → chunk-SAC4PAG3.mjs} +4 -4
  51. package/dist/{chunk-W5RZPTFD.mjs → chunk-SNNT64HK.mjs} +13 -2
  52. package/dist/{chunk-N3C6YI7I.mjs → chunk-SWMYIORV.mjs} +22 -7
  53. package/dist/{chunk-U4B5QT72.mjs → chunk-SX3NAN4M.mjs} +1 -1
  54. package/dist/{chunk-JL3CN4UK.mjs → chunk-TDBMAKTJ.mjs} +10 -3
  55. package/dist/chunk-UEGNXN5B.mjs +28 -0
  56. package/dist/{chunk-NEEGXKJW.mjs → chunk-UGHLEKEZ.mjs} +22 -3
  57. package/dist/{chunk-HKYRRQS7.mjs → chunk-UNQO7EVG.mjs} +1 -1
  58. package/dist/{chunk-VN2TWPRC.mjs → chunk-UR5F74ZB.mjs} +112 -18
  59. package/dist/{chunk-VCCK4CDT.mjs → chunk-URPXBKK4.mjs} +23 -5
  60. package/dist/{chunk-7KCOF5US.mjs → chunk-VY6FVIOZ.mjs} +10 -8
  61. package/dist/{chunk-KICZSLOX.mjs → chunk-W2ICYZVU.mjs} +1 -1
  62. package/dist/{chunk-FIVVKBBF.mjs → chunk-W3QOMJKQ.mjs} +8 -6
  63. package/dist/{chunk-DCMRB3HR.mjs → chunk-WV25G4M3.mjs} +4 -3
  64. package/dist/{chunk-ZOYHZF4N.mjs → chunk-X5LJT76O.mjs} +49 -32
  65. package/dist/{chunk-BNYA5IUB.mjs → chunk-YNXP34KO.mjs} +39 -38
  66. package/dist/{chunk-2T2NEZRZ.mjs → chunk-YVDTXHQ6.mjs} +1 -1
  67. package/dist/{chunk-AUMTHL6N.mjs → chunk-ZOP7PEKY.mjs} +2 -1
  68. package/dist/components/ActivityFeed.d.mts +29 -11
  69. package/dist/components/ActivityFeed.mjs +2 -2
  70. package/dist/components/Affix.mjs +1 -1
  71. package/dist/components/Alert.d.mts +2 -2
  72. package/dist/components/Anchor.d.mts +1 -1
  73. package/dist/components/Anchor.mjs +1 -1
  74. package/dist/components/AreaChart.d.mts +3 -3
  75. package/dist/components/AreaChart.mjs +4 -3
  76. package/dist/components/AutoComplete.d.mts +5 -5
  77. package/dist/components/AutoComplete.mjs +1 -1
  78. package/dist/components/Avatar.d.mts +1 -1
  79. package/dist/components/AvatarGroup.d.mts +1 -1
  80. package/dist/components/BackTop.d.mts +2 -2
  81. package/dist/components/Badge.d.mts +4 -4
  82. package/dist/components/BarChart.d.mts +2 -2
  83. package/dist/components/BarChart.mjs +4 -3
  84. package/dist/components/Breadcrumb.d.mts +3 -3
  85. package/dist/components/Button.d.mts +3 -3
  86. package/dist/components/ButtonGroup.d.mts +1 -1
  87. package/dist/components/Calendar.d.mts +1 -1
  88. package/dist/components/Calendar.mjs +1 -1
  89. package/dist/components/Card.d.mts +2 -2
  90. package/dist/components/Cascader.d.mts +3 -3
  91. package/dist/components/Cascader.mjs +1 -1
  92. package/dist/components/ChartCanvas.d.mts +8 -4
  93. package/dist/components/ChartCanvas.mjs +1 -1
  94. package/dist/components/ChartGrid.d.mts +1 -1
  95. package/dist/components/ChartLegend.d.mts +1 -1
  96. package/dist/components/ChatWindow.d.mts +30 -12
  97. package/dist/components/ChatWindow.mjs +3 -3
  98. package/dist/components/Checkbox.d.mts +1 -1
  99. package/dist/components/Code.d.mts +33 -6
  100. package/dist/components/Code.mjs +3 -1
  101. package/dist/components/CodeEditor.d.mts +3 -3
  102. package/dist/components/Collapse.d.mts +1 -1
  103. package/dist/components/CollapsePanel.d.mts +1 -1
  104. package/dist/components/CollapsePanel.mjs +1 -1
  105. package/dist/components/ColorPicker.mjs +1 -1
  106. package/dist/components/ColorSwatch.d.mts +8 -2
  107. package/dist/components/ColorSwatch.mjs +1 -1
  108. package/dist/components/CommentThread.d.mts +62 -26
  109. package/dist/components/CommentThread.mjs +2 -2
  110. package/dist/components/Container.d.mts +1 -1
  111. package/dist/components/ContextMenu.d.mts +1 -1
  112. package/dist/components/Countdown.d.mts +2 -2
  113. package/dist/components/CronEditor.d.mts +3 -3
  114. package/dist/components/DataExport.mjs +2 -2
  115. package/dist/components/DataTableWithToolbar.d.mts +9 -9
  116. package/dist/components/DataTableWithToolbar.mjs +7 -7
  117. package/dist/components/DatePicker.d.mts +4 -4
  118. package/dist/components/Descriptions.d.mts +2 -2
  119. package/dist/components/DonutChart.d.mts +3 -3
  120. package/dist/components/DonutChart.mjs +4 -4
  121. package/dist/components/Drawer.d.mts +3 -3
  122. package/dist/components/Dropdown.d.mts +20 -1
  123. package/dist/components/Dropdown.mjs +1 -1
  124. package/dist/components/FileManager.d.mts +9 -3
  125. package/dist/components/FileManager.mjs +1 -1
  126. package/dist/components/FloatButton.d.mts +34 -4
  127. package/dist/components/FloatButton.mjs +1 -1
  128. package/dist/components/Form.d.mts +2 -2
  129. package/dist/components/FormWizard.d.mts +5 -5
  130. package/dist/components/FormWizard.mjs +1 -1
  131. package/dist/components/FunnelChart.d.mts +3 -3
  132. package/dist/components/FunnelChart.mjs +3 -3
  133. package/dist/components/Gantt.d.mts +5 -3
  134. package/dist/components/Gantt.mjs +2 -2
  135. package/dist/components/GaugeChart.d.mts +2 -2
  136. package/dist/components/GaugeChart.mjs +2 -2
  137. package/dist/components/HeatmapChart.d.mts +3 -3
  138. package/dist/components/HeatmapChart.mjs +3 -3
  139. package/dist/components/Icon.d.mts +2 -2
  140. package/dist/components/Image.d.mts +2 -2
  141. package/dist/components/Image.mjs +3 -3
  142. package/dist/components/ImageAnnotation.d.mts +5 -5
  143. package/dist/components/ImageCompare.d.mts +2 -2
  144. package/dist/components/ImageGroup.mjs +2 -2
  145. package/dist/components/ImagePreview.mjs +1 -1
  146. package/dist/components/InfiniteScroll.d.mts +3 -3
  147. package/dist/components/Input.d.mts +3 -3
  148. package/dist/components/Input.mjs +1 -1
  149. package/dist/components/InputGroup.d.mts +1 -1
  150. package/dist/components/InputNumber.d.mts +1 -1
  151. package/dist/components/InputNumber.mjs +1 -1
  152. package/dist/components/InputOTP.d.mts +5 -5
  153. package/dist/components/Kanban.mjs +2 -2
  154. package/dist/components/Kbd.d.mts +1 -1
  155. package/dist/components/LineChart.d.mts +2 -2
  156. package/dist/components/LineChart.mjs +4 -3
  157. package/dist/components/Link.d.mts +1 -1
  158. package/dist/components/List.d.mts +6 -6
  159. package/dist/components/List.mjs +2 -2
  160. package/dist/components/Loading.d.mts +6 -6
  161. package/dist/components/Loading.mjs +1 -1
  162. package/dist/components/LoadingBarContainer.d.mts +3 -3
  163. package/dist/components/MarkdownEditor.d.mts +3 -3
  164. package/dist/components/Marquee.d.mts +2 -2
  165. package/dist/components/MaskInput.d.mts +11 -5
  166. package/dist/components/MaskInput.mjs +1 -1
  167. package/dist/components/Mentions.d.mts +3 -3
  168. package/dist/components/Menu.d.mts +4 -4
  169. package/dist/components/Modal.d.mts +6 -6
  170. package/dist/components/NavigationMenu.d.mts +5 -5
  171. package/dist/components/NotificationCenter.d.mts +46 -28
  172. package/dist/components/NotificationCenter.mjs +4 -4
  173. package/dist/components/NumberKeyboard.d.mts +6 -6
  174. package/dist/components/OrgChart.d.mts +3 -3
  175. package/dist/components/OrgChart.mjs +2 -2
  176. package/dist/components/Pagination.d.mts +4 -4
  177. package/dist/components/Pagination.mjs +1 -1
  178. package/dist/components/PieChart.d.mts +3 -3
  179. package/dist/components/PieChart.mjs +3 -3
  180. package/dist/components/Popconfirm.d.mts +2 -2
  181. package/dist/components/Popconfirm.mjs +2 -2
  182. package/dist/components/Popover.d.mts +1 -1
  183. package/dist/components/Popover.mjs +2 -2
  184. package/dist/components/Progress.d.mts +3 -3
  185. package/dist/components/QRCode.d.mts +4 -13
  186. package/dist/components/QRCode.mjs +1 -1
  187. package/dist/components/RadarChart.d.mts +3 -3
  188. package/dist/components/RadarChart.mjs +3 -3
  189. package/dist/components/Radio.d.mts +1 -1
  190. package/dist/components/Radio.mjs +1 -1
  191. package/dist/components/Rate.d.mts +1 -1
  192. package/dist/components/Rate.mjs +1 -1
  193. package/dist/components/Result.d.mts +1 -1
  194. package/dist/components/RichTextEditor.d.mts +2 -2
  195. package/dist/components/Row.d.mts +1 -1
  196. package/dist/components/ScatterChart.d.mts +2 -2
  197. package/dist/components/ScatterChart.mjs +4 -3
  198. package/dist/components/ScrollArea.d.mts +2 -2
  199. package/dist/components/ScrollSpy.d.mts +3 -3
  200. package/dist/components/ScrollSpy.mjs +1 -1
  201. package/dist/components/Select.d.mts +3 -3
  202. package/dist/components/Signature.d.mts +4 -4
  203. package/dist/components/Signature.mjs +1 -1
  204. package/dist/components/Skeleton.d.mts +1 -1
  205. package/dist/components/Slider.d.mts +18 -0
  206. package/dist/components/Slider.mjs +1 -1
  207. package/dist/components/Space.d.mts +2 -2
  208. package/dist/components/SplitButton.d.mts +5 -5
  209. package/dist/components/SplitButton.mjs +2 -2
  210. package/dist/components/Splitter.d.mts +5 -5
  211. package/dist/components/Splitter.mjs +1 -1
  212. package/dist/components/Spotlight.d.mts +4 -4
  213. package/dist/components/Stepper.d.mts +7 -1
  214. package/dist/components/Stepper.mjs +1 -1
  215. package/dist/components/Steps.d.mts +3 -3
  216. package/dist/components/SunburstChart.d.mts +2 -2
  217. package/dist/components/SunburstChart.mjs +3 -3
  218. package/dist/components/Switch.d.mts +22 -6
  219. package/dist/components/Switch.mjs +1 -1
  220. package/dist/components/Table.d.mts +9 -9
  221. package/dist/components/Table.mjs +3 -3
  222. package/dist/components/Tabs.d.mts +3 -3
  223. package/dist/components/Tag.d.mts +2 -2
  224. package/dist/components/TagsInput.d.mts +5 -5
  225. package/dist/components/TaskBoard.mjs +1 -1
  226. package/dist/components/Text.d.mts +3 -3
  227. package/dist/components/Textarea.d.mts +3 -3
  228. package/dist/components/Textarea.mjs +1 -1
  229. package/dist/components/TimePicker.d.mts +4 -4
  230. package/dist/components/Timeline.d.mts +3 -3
  231. package/dist/components/Tooltip.d.mts +1 -1
  232. package/dist/components/Tooltip.mjs +2 -2
  233. package/dist/components/Tour.d.mts +2 -2
  234. package/dist/components/Tour.mjs +1 -1
  235. package/dist/components/Transfer.d.mts +5 -4
  236. package/dist/components/Transfer.mjs +1 -1
  237. package/dist/components/Tree.d.mts +4 -4
  238. package/dist/components/TreeMapChart.d.mts +2 -2
  239. package/dist/components/TreeMapChart.mjs +3 -3
  240. package/dist/components/TreeSelect.d.mts +3 -3
  241. package/dist/components/TreeSelect.mjs +1 -1
  242. package/dist/components/Upload.d.mts +2 -2
  243. package/dist/components/Upload.mjs +1 -1
  244. package/dist/components/VirtualTable.d.mts +3 -3
  245. package/dist/components/Watermark.d.mts +1 -1
  246. package/dist/composables/useChartInteraction.d.mts +5 -0
  247. package/dist/composables/useChartInteraction.mjs +1 -1
  248. package/dist/index.d.mts +1 -1
  249. package/dist/index.mjs +51 -0
  250. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useChartInteraction
3
- } from "./chunk-PE5OA4YG.mjs";
3
+ } from "./chunk-FHUGOSEY.mjs";
4
4
  import {
5
5
  ChartSeries
6
6
  } from "./chunk-2ZUEXCVJ.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-SPFL55TF.mjs";
10
10
  import {
11
11
  ChartCanvas
12
- } from "./chunk-W5RZPTFD.mjs";
12
+ } from "./chunk-SNNT64HK.mjs";
13
13
  import {
14
14
  ChartLegend
15
15
  } from "./chunk-V443QIJM.mjs";
@@ -19,6 +19,7 @@ import { defineComponent, computed, h, useId } from "vue";
19
19
  import {
20
20
  classNames,
21
21
  computeSunburstArcs,
22
+ getSunburstLabelPoint,
22
23
  getChartElementOpacity,
23
24
  getChartInnerRect,
24
25
  getStableChartGradientPrefix,
@@ -75,6 +76,7 @@ var SunburstChart = defineComponent({
75
76
  wrapperClasses
76
77
  } = useChartInteraction({
77
78
  hoverable: computed(() => props.hoverable),
79
+ showTooltip: computed(() => props.showTooltip),
78
80
  hoveredIndexProp: () => props.hoveredIndex,
79
81
  selectable: computed(() => props.selectable),
80
82
  selectedIndexProp: () => props.selectedIndex,
@@ -166,45 +168,60 @@ var SunburstChart = defineComponent({
166
168
  )
167
169
  )
168
170
  ) : null;
171
+ const paths = arcs.value.map((arc) => {
172
+ const opacity = getChartElementOpacity(arc.index, activeIndex.value, {
173
+ activeOpacity: props.activeOpacity,
174
+ inactiveOpacity: props.inactiveOpacity
175
+ });
176
+ return h("path", {
177
+ key: `arc-${arc.index}`,
178
+ d: arc.path,
179
+ fill: props.gradient ? `url(#${gradientPrefix}-${arc.index})` : arc.color,
180
+ opacity,
181
+ stroke: "var(--tiger-surface,#ffffff)",
182
+ "stroke-width": 1,
183
+ class: classNames(interactive && "cursor-pointer"),
184
+ style: {
185
+ transition: "opacity var(--tiger-motion-duration-base,0.2s) var(--tiger-motion-ease-decelerate,ease-out), filter var(--tiger-motion-duration-base,0.2s) var(--tiger-motion-ease-decelerate,ease-out)",
186
+ filter: activeIndex.value === arc.index ? "var(--tiger-chart-block-active-filter, none)" : "none"
187
+ },
188
+ tabindex: props.selectable ? 0 : void 0,
189
+ role: props.selectable ? "button" : "img",
190
+ "aria-label": arc.label,
191
+ onMouseenter: (e) => handleMouseEnter(arc.index, e),
192
+ onMousemove: handleMouseMove,
193
+ onMouseleave: handleMouseLeave,
194
+ onClick: () => handleClick(arc.index)
195
+ });
196
+ });
197
+ const labels = props.showLabels ? arcs.value.map((arc) => {
198
+ const { x, y } = getSunburstLabelPoint(arc, cx.value, cy.value);
199
+ return h(
200
+ "text",
201
+ {
202
+ key: `label-${arc.index}`,
203
+ x,
204
+ y,
205
+ "text-anchor": "middle",
206
+ "dominant-baseline": "middle",
207
+ class: "fill-white text-xs",
208
+ style: { pointerEvents: "none" },
209
+ "aria-hidden": "true"
210
+ },
211
+ arc.label
212
+ );
213
+ }) : [];
169
214
  return h(
170
215
  ChartSeries,
171
216
  { data: arcs.value, type: "sunburst" },
172
217
  {
173
- default: () => [
174
- gradientDefs,
175
- ...arcs.value.map((arc) => {
176
- const opacity = getChartElementOpacity(arc.index, activeIndex.value, {
177
- activeOpacity: props.activeOpacity,
178
- inactiveOpacity: props.inactiveOpacity
179
- });
180
- return h("path", {
181
- key: `arc-${arc.index}`,
182
- d: arc.path,
183
- fill: props.gradient ? `url(#${gradientPrefix}-${arc.index})` : arc.color,
184
- opacity,
185
- stroke: "var(--tiger-surface,#ffffff)",
186
- "stroke-width": 1,
187
- class: classNames(interactive && "cursor-pointer"),
188
- style: {
189
- transition: "opacity var(--tiger-motion-duration-base,0.2s) var(--tiger-motion-ease-decelerate,ease-out), filter var(--tiger-motion-duration-base,0.2s) var(--tiger-motion-ease-decelerate,ease-out)",
190
- filter: activeIndex.value === arc.index ? "var(--tiger-chart-block-active-filter, none)" : "none"
191
- },
192
- tabindex: props.selectable ? 0 : void 0,
193
- role: props.selectable ? "button" : "img",
194
- "aria-label": arc.label,
195
- onMouseenter: (e) => handleMouseEnter(arc.index, e),
196
- onMousemove: handleMouseMove,
197
- onMouseleave: handleMouseLeave,
198
- onClick: () => handleClick(arc.index)
199
- });
200
- })
201
- ]
218
+ default: () => [gradientDefs, ...paths, ...labels]
202
219
  }
203
220
  );
204
221
  }
205
222
  }
206
223
  );
207
- const tooltip = props.showTooltip && props.hoverable ? h(ChartTooltip, {
224
+ const tooltip = props.showTooltip ? h(ChartTooltip, {
208
225
  content: tooltipContent.value,
209
226
  open: resolvedHoveredIndex.value !== null && tooltipContent.value !== "",
210
227
  x: tooltipPosition.value.x,
@@ -411,6 +411,44 @@ var Upload = defineComponent({
411
411
  };
412
412
  const renderUploadButton = () => {
413
413
  if (props.drag) {
414
+ const dragInner = slots.default ? slots.default() : [
415
+ h(
416
+ "svg",
417
+ {
418
+ class: "w-12 h-12 mb-3 text-gray-400",
419
+ fill: "none",
420
+ stroke: "currentColor",
421
+ viewBox: "0 0 24 24",
422
+ "aria-hidden": "true"
423
+ },
424
+ [
425
+ h("path", {
426
+ "stroke-linecap": "round",
427
+ "stroke-linejoin": "round",
428
+ "stroke-width": "2",
429
+ d: "M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"
430
+ })
431
+ ]
432
+ ),
433
+ h("p", { class: "mb-2 text-sm" }, [
434
+ h("span", { class: "font-semibold" }, labels.value.clickToUploadText),
435
+ ` ${labels.value.dragAndDropText}`
436
+ ]),
437
+ props.accept && h(
438
+ "p",
439
+ { class: "text-xs text-gray-500" },
440
+ interpolateUploadLabel(labels.value.acceptInfoText, {
441
+ accept: props.accept
442
+ })
443
+ ),
444
+ props.maxSize && h(
445
+ "p",
446
+ { class: "text-xs text-gray-500" },
447
+ interpolateUploadLabel(labels.value.maxSizeInfoText, {
448
+ maxSize: formatFileSize(props.maxSize)
449
+ })
450
+ )
451
+ ];
414
452
  return h(
415
453
  "div",
416
454
  {
@@ -425,44 +463,7 @@ var Upload = defineComponent({
425
463
  "aria-disabled": props.disabled,
426
464
  "aria-label": labels.value.dragAreaAriaLabel
427
465
  },
428
- [
429
- h(
430
- "svg",
431
- {
432
- class: "w-12 h-12 mb-3 text-gray-400",
433
- fill: "none",
434
- stroke: "currentColor",
435
- viewBox: "0 0 24 24",
436
- "aria-hidden": "true"
437
- },
438
- [
439
- h("path", {
440
- "stroke-linecap": "round",
441
- "stroke-linejoin": "round",
442
- "stroke-width": "2",
443
- d: "M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"
444
- })
445
- ]
446
- ),
447
- h("p", { class: "mb-2 text-sm" }, [
448
- h("span", { class: "font-semibold" }, labels.value.clickToUploadText),
449
- ` ${labels.value.dragAndDropText}`
450
- ]),
451
- props.accept && h(
452
- "p",
453
- { class: "text-xs text-gray-500" },
454
- interpolateUploadLabel(labels.value.acceptInfoText, {
455
- accept: props.accept
456
- })
457
- ),
458
- props.maxSize && h(
459
- "p",
460
- { class: "text-xs text-gray-500" },
461
- interpolateUploadLabel(labels.value.maxSizeInfoText, {
462
- maxSize: formatFileSize(props.maxSize)
463
- })
464
- )
465
- ]
466
+ dragInner
466
467
  );
467
468
  }
468
469
  return h(
@@ -2,7 +2,7 @@ import {
2
2
  Dropdown,
3
3
  DropdownItem,
4
4
  DropdownMenu
5
- } from "./chunk-KROVW4AW.mjs";
5
+ } from "./chunk-PJQTRDIG.mjs";
6
6
  import {
7
7
  useTigerConfig
8
8
  } from "./chunk-UOJOJBEU.mjs";
@@ -18,6 +18,7 @@ import {
18
18
  getLoadingDotsWrapperClasses,
19
19
  getLoadingTextClasses,
20
20
  getSpinnerSVG,
21
+ DEFAULT_LOADING_BACKGROUND,
21
22
  loadingContainerBaseClasses,
22
23
  loadingFullscreenBaseClasses,
23
24
  loadingColorClasses,
@@ -57,7 +58,7 @@ var Loading = defineComponent({
57
58
  },
58
59
  background: {
59
60
  type: String,
60
- default: "rgba(255, 255, 255, 0.9)"
61
+ default: DEFAULT_LOADING_BACKGROUND
61
62
  },
62
63
  customColor: {
63
64
  type: String,
@@ -1,6 +1,6 @@
1
1
  import * as vue from 'vue';
2
2
  import { PropType } from 'vue';
3
- import { ActivityItem, ActivityGroup, ActivityFeedProps } from '@expcat/tigercat-core';
3
+ import { ActivityItem, ActivityGroup, TigerLocale, TigerLocaleActivityFeed, ActivityFeedProps } from '@expcat/tigercat-core';
4
4
 
5
5
  interface VueActivityFeedProps extends Omit<ActivityFeedProps, 'renderItem' | 'renderGroupHeader'> {
6
6
  className?: string;
@@ -29,11 +29,19 @@ declare const ActivityFeed: vue.DefineComponent<vue.ExtractPropTypes<{
29
29
  };
30
30
  loadingText: {
31
31
  type: StringConstructor;
32
- default: string;
32
+ default: undefined;
33
33
  };
34
34
  emptyText: {
35
35
  type: StringConstructor;
36
- default: string;
36
+ default: undefined;
37
+ };
38
+ locale: {
39
+ type: PropType<Partial<TigerLocale>>;
40
+ default: undefined;
41
+ };
42
+ labels: {
43
+ type: PropType<Partial<TigerLocaleActivityFeed>>;
44
+ default: undefined;
37
45
  };
38
46
  showAvatar: {
39
47
  type: BooleanConstructor;
@@ -80,11 +88,19 @@ declare const ActivityFeed: vue.DefineComponent<vue.ExtractPropTypes<{
80
88
  };
81
89
  loadingText: {
82
90
  type: StringConstructor;
83
- default: string;
91
+ default: undefined;
84
92
  };
85
93
  emptyText: {
86
94
  type: StringConstructor;
87
- default: string;
95
+ default: undefined;
96
+ };
97
+ locale: {
98
+ type: PropType<Partial<TigerLocale>>;
99
+ default: undefined;
100
+ };
101
+ labels: {
102
+ type: PropType<Partial<TigerLocaleActivityFeed>>;
103
+ default: undefined;
88
104
  };
89
105
  showAvatar: {
90
106
  type: BooleanConstructor;
@@ -107,18 +123,20 @@ declare const ActivityFeed: vue.DefineComponent<vue.ExtractPropTypes<{
107
123
  default: undefined;
108
124
  };
109
125
  }>> & Readonly<{}>, {
110
- loadingText: string;
111
- emptyText: string;
112
- className: string;
113
- style: Record<string, string | number>;
114
- loading: boolean;
126
+ items: ActivityItem[];
115
127
  groups: ActivityGroup[];
116
128
  groupBy: (item: ActivityItem) => string;
117
- items: ActivityItem[];
118
129
  groupOrder: string[];
130
+ loading: boolean;
131
+ loadingText: string;
132
+ emptyText: string;
133
+ locale: Partial<TigerLocale>;
134
+ labels: Partial<TigerLocaleActivityFeed>;
119
135
  showAvatar: boolean;
120
136
  showTime: boolean;
121
137
  showGroupTitle: boolean;
138
+ className: string;
139
+ style: Record<string, string | number>;
122
140
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
123
141
 
124
142
  export { ActivityFeed, type VueActivityFeedProps, ActivityFeed as default };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  ActivityFeed,
3
3
  ActivityFeed_default
4
- } from "../chunk-RID7A5V7.mjs";
4
+ } from "../chunk-RRNQL6MJ.mjs";
5
5
  import "../chunk-JQSIWPNM.mjs";
6
6
  import "../chunk-3MO7A4GU.mjs";
7
- import "../chunk-AUMTHL6N.mjs";
7
+ import "../chunk-ZOP7PEKY.mjs";
8
8
  import "../chunk-342DH5CF.mjs";
9
9
  import "../chunk-NN6AINLG.mjs";
10
10
  import "../chunk-TC6ZPQFT.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Affix,
3
3
  Affix_default
4
- } from "../chunk-7W3NALIL.mjs";
4
+ } from "../chunk-3FPS7XVB.mjs";
5
5
  export {
6
6
  Affix,
7
7
  Affix_default as default
@@ -204,13 +204,13 @@ declare const Alert: vue.DefineComponent<vue.ExtractPropTypes<{
204
204
  }>> & Readonly<{
205
205
  onClose?: ((...args: any[]) => any) | undefined;
206
206
  }>, {
207
- type: AlertType;
208
- closeAriaLabel: string;
209
207
  size: AlertSize;
210
208
  className: string;
211
209
  style: Record<string, string | number>;
210
+ type: AlertType;
212
211
  title: string;
213
212
  closable: boolean;
213
+ closeAriaLabel: string;
214
214
  duration: number;
215
215
  description: string;
216
216
  showIcon: boolean;
@@ -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;
@@ -3,7 +3,7 @@ import {
3
3
  AnchorContextKey,
4
4
  AnchorLink,
5
5
  Anchor_default
6
- } from "../chunk-ALIUAGJO.mjs";
6
+ } from "../chunk-QZLOF36M.mjs";
7
7
  export {
8
8
  Anchor,
9
9
  AnchorContextKey,
@@ -421,12 +421,12 @@ declare const AreaChart: vue.DefineComponent<vue.ExtractPropTypes<{
421
421
  "onSeries-click"?: ((...args: any[]) => any) | undefined;
422
422
  "onSeries-hover"?: ((...args: any[]) => any) | undefined;
423
423
  }>, {
424
- width: number;
425
- height: number;
426
424
  padding: ChartPadding;
427
- gradient: boolean;
428
425
  hoverable: boolean;
429
426
  strokeWidth: number;
427
+ width: number;
428
+ height: number;
429
+ gradient: boolean;
430
430
  fillOpacity: number;
431
431
  selectable: boolean;
432
432
  responsive: boolean;
@@ -1,12 +1,13 @@
1
1
  import {
2
2
  AreaChart,
3
3
  AreaChart_default
4
- } from "../chunk-EZYOCPMM.mjs";
5
- import "../chunk-PE5OA4YG.mjs";
4
+ } from "../chunk-IK2WHKDA.mjs";
5
+ import "../chunk-UEGNXN5B.mjs";
6
+ import "../chunk-FHUGOSEY.mjs";
6
7
  import "../chunk-2ZUEXCVJ.mjs";
7
8
  import "../chunk-SPFL55TF.mjs";
8
9
  import "../chunk-ZWVA7HT3.mjs";
9
- import "../chunk-W5RZPTFD.mjs";
10
+ import "../chunk-SNNT64HK.mjs";
10
11
  import "../chunk-MI6TL3CQ.mjs";
11
12
  import "../chunk-V443QIJM.mjs";
12
13
  export {
@@ -58,7 +58,7 @@ declare const AutoComplete: vue.DefineComponent<vue.ExtractPropTypes<{
58
58
  };
59
59
  }>, () => vue.VNode<vue.RendererNode, vue.RendererElement, {
60
60
  [key: string]: any;
61
- }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("select" | "change" | "update:modelValue" | "update:searchValue" | "search-change")[], "select" | "change" | "update:modelValue" | "update:searchValue" | "search-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
61
+ }>, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, ("change" | "select" | "update:modelValue" | "update:searchValue" | "search-change")[], "change" | "select" | "update:modelValue" | "update:searchValue" | "search-change", vue.PublicProps, Readonly<vue.ExtractPropTypes<{
62
62
  modelValue: {
63
63
  type: PropType<string | number>;
64
64
  default: string;
@@ -112,17 +112,17 @@ declare const AutoComplete: vue.DefineComponent<vue.ExtractPropTypes<{
112
112
  default: undefined;
113
113
  };
114
114
  }>> & Readonly<{
115
- onSelect?: ((...args: any[]) => any) | undefined;
116
115
  onChange?: ((...args: any[]) => any) | undefined;
116
+ onSelect?: ((...args: any[]) => any) | undefined;
117
117
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
118
118
  "onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
119
119
  "onSearch-change"?: ((...args: any[]) => any) | undefined;
120
120
  }>, {
121
- locale: Partial<TigerLocale>;
122
- emptyText: string;
123
- placeholder: string;
124
121
  size: ComponentSize;
122
+ emptyText: string;
123
+ locale: Partial<TigerLocale>;
125
124
  disabled: boolean;
125
+ placeholder: string;
126
126
  modelValue: string | number;
127
127
  options: AutoCompleteOption[];
128
128
  searchValue: string;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AutoComplete,
3
3
  AutoComplete_default
4
- } from "../chunk-7KCOF5US.mjs";
4
+ } from "../chunk-VY6FVIOZ.mjs";
5
5
  import "../chunk-Q7Y22OFX.mjs";
6
6
  import "../chunk-UOJOJBEU.mjs";
7
7
  import "../chunk-TGXBCKOU.mjs";
@@ -151,9 +151,9 @@ declare const Avatar: vue.DefineComponent<vue.ExtractPropTypes<{
151
151
  size: AvatarSize;
152
152
  className: string;
153
153
  style: Record<string, string | number>;
154
- text: string;
155
154
  src: string;
156
155
  alt: string;
156
+ text: string;
157
157
  shape: AvatarShape;
158
158
  bgColor: string;
159
159
  textColor: string;
@@ -63,9 +63,9 @@ declare const AvatarGroup: vue.DefineComponent<vue.ExtractPropTypes<{
63
63
  default: undefined;
64
64
  };
65
65
  }>> & Readonly<{}>, {
66
+ size: AvatarSize;
66
67
  locale: Partial<TigerLocale>;
67
68
  labels: Partial<TigerLocaleAvatarGroup>;
68
- size: AvatarSize;
69
69
  className: string;
70
70
  max: number;
71
71
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -104,10 +104,10 @@ declare const BackTop: vue.DefineComponent<vue.ExtractPropTypes<{
104
104
  }>, {
105
105
  className: string;
106
106
  style: Record<string, unknown>;
107
+ position: BackTopPosition;
108
+ target: () => HTMLElement | Window | null;
107
109
  placement: ViewportPlacement;
108
110
  offset: ViewportOffset;
109
- target: () => HTMLElement | Window | null;
110
- position: BackTopPosition;
111
111
  duration: number;
112
112
  visibilityHeight: number;
113
113
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -100,15 +100,15 @@ declare const Badge: vue.DefineComponent<vue.ExtractPropTypes<{
100
100
  default: undefined;
101
101
  };
102
102
  }>> & Readonly<{}>, {
103
- locale: Partial<TigerLocale>;
104
- type: BadgeType;
105
103
  size: BadgeSize;
104
+ locale: Partial<TigerLocale>;
106
105
  className: string;
107
106
  style: Record<string, string | number>;
107
+ type: BadgeType;
108
108
  variant: BadgeVariant;
109
- max: number;
110
- content: string | number;
111
109
  position: BadgePosition;
110
+ content: string | number;
111
+ max: number;
112
112
  showZero: boolean;
113
113
  standalone: boolean;
114
114
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -382,11 +382,11 @@ declare const BarChart: vue.DefineComponent<vue.ExtractPropTypes<{
382
382
  "onBar-click"?: ((...args: any[]) => any) | undefined;
383
383
  "onBar-hover"?: ((...args: any[]) => any) | undefined;
384
384
  }>, {
385
+ padding: ChartPadding;
386
+ hoverable: boolean;
385
387
  width: number;
386
388
  height: number;
387
- padding: ChartPadding;
388
389
  gradient: boolean;
389
- hoverable: boolean;
390
390
  selectable: boolean;
391
391
  responsive: boolean;
392
392
  xTicks: number;
@@ -1,12 +1,13 @@
1
1
  import {
2
2
  BarChart,
3
3
  BarChart_default
4
- } from "../chunk-W5XFWVNV.mjs";
5
- import "../chunk-PE5OA4YG.mjs";
4
+ } from "../chunk-M4FWWEMX.mjs";
5
+ import "../chunk-UEGNXN5B.mjs";
6
+ import "../chunk-FHUGOSEY.mjs";
6
7
  import "../chunk-2ZUEXCVJ.mjs";
7
8
  import "../chunk-SPFL55TF.mjs";
8
9
  import "../chunk-ZWVA7HT3.mjs";
9
- import "../chunk-W5RZPTFD.mjs";
10
+ import "../chunk-SNNT64HK.mjs";
10
11
  import "../chunk-MI6TL3CQ.mjs";
11
12
  import "../chunk-V443QIJM.mjs";
12
13
  export {
@@ -136,12 +136,12 @@ declare const BreadcrumbItem: vue.DefineComponent<vue.ExtractPropTypes<{
136
136
  }>, {
137
137
  className: string;
138
138
  style: Record<string, unknown>;
139
+ href: string;
140
+ target: "_blank" | "_self" | "_parent" | "_top";
139
141
  icon: string | VNode<vue.RendererNode, vue.RendererElement, {
140
142
  [key: string]: any;
141
143
  }>;
142
144
  separator: string;
143
- target: "_blank" | "_self" | "_parent" | "_top";
144
- href: string;
145
145
  current: boolean;
146
146
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
147
147
  declare const Breadcrumb: vue.DefineComponent<vue.ExtractPropTypes<{
@@ -225,9 +225,9 @@ declare const Breadcrumb: vue.DefineComponent<vue.ExtractPropTypes<{
225
225
  default: undefined;
226
226
  };
227
227
  }>> & Readonly<{}>, {
228
- maxItems: number;
229
228
  className: string;
230
229
  style: Record<string, unknown>;
230
+ maxItems: number;
231
231
  separator: string;
232
232
  extra: VNodeChild | VNodeChild[];
233
233
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -132,13 +132,13 @@ declare const Button: vue.DefineComponent<vue.ExtractPropTypes<{
132
132
  onClick?: ((...args: any[]) => any) | undefined;
133
133
  }>, {
134
134
  size: ButtonSize;
135
+ loading: boolean;
135
136
  className: string;
136
137
  style: Record<string, unknown>;
138
+ variant: ButtonVariant;
139
+ danger: boolean;
137
140
  disabled: boolean;
138
- loading: boolean;
139
141
  block: boolean;
140
- danger: boolean;
141
- variant: ButtonVariant;
142
142
  iconPosition: ButtonIconPosition;
143
143
  htmlType: ButtonHtmlType;
144
144
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
@@ -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 };
@@ -70,8 +70,8 @@ declare const Calendar: vue.DefineComponent<vue.ExtractPropTypes<{
70
70
  locale: Partial<TigerLocale>;
71
71
  className: string;
72
72
  mode: CalendarMode;
73
- modelValue: Date;
74
73
  fullscreen: boolean;
74
+ modelValue: Date;
75
75
  disabledDate: (date: Date) => boolean;
76
76
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
77
77
 
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Calendar,
3
3
  Calendar_default
4
- } from "../chunk-JL3CN4UK.mjs";
4
+ } from "../chunk-TDBMAKTJ.mjs";
5
5
  import "../chunk-UOJOJBEU.mjs";
6
6
  import "../chunk-TGXBCKOU.mjs";
7
7
  export {
@@ -156,14 +156,14 @@ declare const Card: vue.DefineComponent<vue.ExtractPropTypes<{
156
156
  default: undefined;
157
157
  };
158
158
  }>> & Readonly<{}>, {
159
- direction: "vertical" | "horizontal" | undefined;
160
159
  size: CardSize;
161
160
  className: string;
162
161
  style: Record<string, string | number>;
162
+ direction: "horizontal" | "vertical" | undefined;
163
163
  variant: CardVariant;
164
- cover: string;
165
164
  padding: string | boolean;
166
165
  hoverable: boolean;
166
+ cover: string;
167
167
  coverAlt: string;
168
168
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
169
169
 
@@ -178,11 +178,11 @@ declare const Cascader: vue.DefineComponent<vue.ExtractPropTypes<{
178
178
  "onUpdate:searchValue"?: ((...args: any[]) => any) | undefined;
179
179
  "onSearch-change"?: ((...args: any[]) => any) | undefined;
180
180
  }>, {
181
- locale: Partial<TigerLocale>;
182
- emptyText: string;
183
- placeholder: string;
184
181
  size: ComponentSize;
182
+ emptyText: string;
183
+ locale: Partial<TigerLocale>;
185
184
  disabled: boolean;
185
+ placeholder: string;
186
186
  modelValue: CascaderValue;
187
187
  searchable: boolean | CascaderSearchConfig;
188
188
  virtual: boolean;