morya-ui 0.4.0 → 0.4.2

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 (326) hide show
  1. package/CHANGELOG.md +70 -2
  2. package/dist/Button-BaYLh91a.js +326 -0
  3. package/dist/{Checkbox-BKt8hdhV.js → Checkbox-LxCFF19I.js} +1 -1
  4. package/dist/{DatePicker-CSoMFEvh.js → DatePicker-DGPNukEW.js} +3 -3
  5. package/dist/{Empty-iNcc0G-q.js → Empty-2_f_FgyK.js} +1 -1
  6. package/dist/{FlyoutSubmenu-C1RfFRzH.js → FlyoutSubmenu-Da6AcoM4.js} +1 -1
  7. package/dist/{Input-DQHYqvNk.js → Input-NspPDc2R.js} +2 -2
  8. package/dist/{Loading-BPpR-jGa.js → Loading-BK4dQPCS.js} +10 -10
  9. package/dist/{Pagination-BkPBWEQq.js → Pagination-tdrlaZ3u.js} +2 -2
  10. package/dist/{Popover-B_2c9NWs.js → Popover-BumMfUpV.js} +2 -2
  11. package/dist/{ProgressSpinner-B_OJG_0l.js → ProgressSpinner-BQ1tLioO.js} +1 -1
  12. package/dist/{Radio-Bxd806ys.js → Radio-BCn2OVCF.js} +1 -1
  13. package/dist/{Segmented-BRMSmXCl.js → Segmented-ppmDmku5.js} +1 -1
  14. package/dist/{Select-DzfyO0FE.js → Select-CN1tM76U.js} +8 -6
  15. package/dist/{Textarea-BBvpgIQL.js → Textarea-Ch1KCXEv.js} +2 -2
  16. package/dist/{Tooltip-BJp-ZMqQ.js → Tooltip-DKsXxU_B.js} +2 -2
  17. package/dist/accordion/style.css +39 -20
  18. package/dist/affix/style.css +39 -20
  19. package/dist/alert/index.js +2 -2
  20. package/dist/alert/style.css +39 -20
  21. package/dist/anchor/style.css +39 -20
  22. package/dist/auto-complete/index.js +3 -3
  23. package/dist/auto-complete/style.css +42 -21
  24. package/dist/avatar/style.css +39 -20
  25. package/dist/badge/index.js +29 -28
  26. package/dist/badge/style.css +39 -20
  27. package/dist/block-ui/index.js +1 -1
  28. package/dist/block-ui/style.css +39 -20
  29. package/dist/breadcrumb/index.js +1 -1
  30. package/dist/breadcrumb/style.css +39 -20
  31. package/dist/button/index.js +9 -9
  32. package/dist/button/style.css +503 -795
  33. package/dist/button/style.js +1 -0
  34. package/dist/calendar/index.js +3 -3
  35. package/dist/calendar/style.css +49 -24
  36. package/dist/card/style.css +40 -21
  37. package/dist/carousel/index.js +311 -119
  38. package/dist/carousel/style.css +987 -117
  39. package/dist/carousel/style.js +1 -1
  40. package/dist/cascade-select/index.js +4 -4
  41. package/dist/cascade-select/style.css +54 -22
  42. package/dist/checkbox/index.js +1 -1
  43. package/dist/checkbox/style.css +41 -21
  44. package/dist/chip/index.js +39 -36
  45. package/dist/chip/style.css +39 -20
  46. package/dist/command-menu/index.js +3 -3
  47. package/dist/command-menu/style.css +39 -20
  48. package/dist/component-registry.d.ts.map +1 -1
  49. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  50. package/dist/components/Badge/types.d.ts +3 -0
  51. package/dist/components/Badge/types.d.ts.map +1 -1
  52. package/dist/components/Button/Button.vue.d.ts +15 -22
  53. package/dist/components/Button/Button.vue.d.ts.map +1 -1
  54. package/dist/components/Button/ButtonGroup.vue.d.ts +1 -1
  55. package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -1
  56. package/dist/components/Button/buttonHelpers.d.ts +25 -0
  57. package/dist/components/Button/buttonHelpers.d.ts.map +1 -0
  58. package/dist/components/Button/index.d.ts +2 -1
  59. package/dist/components/Button/index.d.ts.map +1 -1
  60. package/dist/components/Button/styles.css +463 -781
  61. package/dist/components/Button/types.d.ts +67 -61
  62. package/dist/components/Button/types.d.ts.map +1 -1
  63. package/dist/components/Card/styles.css +1 -1
  64. package/dist/components/Carousel/Carousel.vue.d.ts +41 -11
  65. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  66. package/dist/components/Carousel/CarouselItem.vue.d.ts +16 -0
  67. package/dist/components/Carousel/CarouselItem.vue.d.ts.map +1 -0
  68. package/dist/components/Carousel/context.d.ts +10 -0
  69. package/dist/components/Carousel/context.d.ts.map +1 -0
  70. package/dist/components/Carousel/index.d.ts +2 -1
  71. package/dist/components/Carousel/index.d.ts.map +1 -1
  72. package/dist/components/Carousel/styles.css +250 -49
  73. package/dist/components/Carousel/types.d.ts +64 -9
  74. package/dist/components/Carousel/types.d.ts.map +1 -1
  75. package/dist/components/CascadeSelect/styles.css +12 -1
  76. package/dist/components/Checkbox/styles.css +2 -1
  77. package/dist/components/Chip/Chip.vue.d.ts.map +1 -1
  78. package/dist/components/Chip/types.d.ts +3 -0
  79. package/dist/components/Chip/types.d.ts.map +1 -1
  80. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +2 -2
  81. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
  82. package/dist/components/ConfirmDialog/types.d.ts +2 -2
  83. package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
  84. package/dist/components/ConfirmDialog/useConfirm.d.ts +1 -1
  85. package/dist/components/ConfirmDialog/useConfirm.d.ts.map +1 -1
  86. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
  87. package/dist/components/ConfirmPopup/types.d.ts +3 -3
  88. package/dist/components/ConfirmPopup/types.d.ts.map +1 -1
  89. package/dist/components/DatePicker/styles.css +2 -1
  90. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  91. package/dist/components/Dialog/types.d.ts +3 -3
  92. package/dist/components/Dialog/types.d.ts.map +1 -1
  93. package/dist/components/Dialog/useModal.d.ts +2 -2
  94. package/dist/components/Dialog/useModal.d.ts.map +1 -1
  95. package/dist/components/Divider/Divider.vue.d.ts +1 -1
  96. package/dist/components/Divider/Divider.vue.d.ts.map +1 -1
  97. package/dist/components/Divider/types.d.ts +3 -0
  98. package/dist/components/Divider/types.d.ts.map +1 -1
  99. package/dist/components/IconField/styles.css +1 -1
  100. package/dist/components/Input/styles.css +20 -8
  101. package/dist/components/InputColor/styles.css +10 -0
  102. package/dist/components/InputNumber/styles.css +2 -1
  103. package/dist/components/InputOtp/styles.css +8 -0
  104. package/dist/components/InputPassword/styles.css +1 -1
  105. package/dist/components/InputTags/styles.css +9 -0
  106. package/dist/components/Layout/styles.css +1 -1
  107. package/dist/components/Listbox/styles.css +3 -0
  108. package/dist/components/Mentions/Mentions.vue.d.ts +1 -1
  109. package/dist/components/Mentions/styles.css +13 -4
  110. package/dist/components/Message/styles.css +4 -2
  111. package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
  112. package/dist/components/Pagination/styles.css +3 -2
  113. package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
  114. package/dist/components/ProgressBar/types.d.ts +3 -0
  115. package/dist/components/ProgressBar/types.d.ts.map +1 -1
  116. package/dist/components/QRCode/QRCode.vue.d.ts.map +1 -1
  117. package/dist/components/Radio/styles.css +2 -1
  118. package/dist/components/Result/styles.css +1 -1
  119. package/dist/components/Select/Select.vue.d.ts +1 -1
  120. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  121. package/dist/components/Select/styles.css +8 -3
  122. package/dist/components/SelectButton/styles.css +2 -0
  123. package/dist/components/SplitButton/SplitButton.vue.d.ts +0 -1
  124. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  125. package/dist/components/SplitButton/types.d.ts +3 -3
  126. package/dist/components/SplitButton/types.d.ts.map +1 -1
  127. package/dist/components/Table/Table.vue.d.ts +4 -4
  128. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  129. package/dist/components/Table/render/TableThead.vue.d.ts +2 -0
  130. package/dist/components/Table/render/TableThead.vue.d.ts.map +1 -1
  131. package/dist/components/Table/state/internal.d.ts +1 -0
  132. package/dist/components/Table/state/internal.d.ts.map +1 -1
  133. package/dist/components/Table/styles.css +9 -0
  134. package/dist/components/Tag/Tag.vue.d.ts +1 -1
  135. package/dist/components/Tag/Tag.vue.d.ts.map +1 -1
  136. package/dist/components/Tag/styles.css +10 -8
  137. package/dist/components/Tag/types.d.ts +3 -0
  138. package/dist/components/Tag/types.d.ts.map +1 -1
  139. package/dist/components/Terminal/styles.css +1 -0
  140. package/dist/components/Textarea/styles.css +18 -7
  141. package/dist/components/ToggleButton/styles.css +2 -1
  142. package/dist/components/Tour/Tour.vue.d.ts.map +1 -1
  143. package/dist/components/Tree/Tree.vue.d.ts +1 -1
  144. package/dist/components/TreeSelect/styles.css +12 -1
  145. package/dist/{config-COgrsSV2.js → config-CB_TiIvg.js} +11 -4
  146. package/dist/config-provider/index.js +141 -120
  147. package/dist/config-provider/style.css +514 -801
  148. package/dist/confirm-dialog/index.js +45 -39
  149. package/dist/confirm-dialog/style.css +496 -795
  150. package/dist/confirm-popup/index.js +17 -14
  151. package/dist/confirm-popup/style.css +496 -795
  152. package/dist/context-menu/index.js +3 -3
  153. package/dist/context-menu/style.css +39 -20
  154. package/dist/data-view/index.js +3 -3
  155. package/dist/data-view/style.css +42 -22
  156. package/dist/date-picker/index.js +1 -1
  157. package/dist/date-picker/style.css +41 -21
  158. package/dist/descriptions/index.js +1 -1
  159. package/dist/descriptions/style.css +39 -20
  160. package/dist/dialog/index.js +68 -55
  161. package/dist/dialog/style.css +496 -795
  162. package/dist/divider/index.js +25 -22
  163. package/dist/divider/style.css +39 -20
  164. package/dist/dock/style.css +39 -20
  165. package/dist/drawer/index.js +3 -3
  166. package/dist/drawer/style.css +39 -20
  167. package/dist/dropdown/index.js +4 -4
  168. package/dist/dropdown/style.css +39 -20
  169. package/dist/empty/index.js +1 -1
  170. package/dist/empty/style.css +39 -20
  171. package/dist/fieldset/style.css +39 -20
  172. package/dist/file-upload/index.js +1 -1
  173. package/dist/file-upload/style.css +39 -20
  174. package/dist/flex/index.js +8 -8
  175. package/dist/flex/style.css +39 -20
  176. package/dist/float-label/style.css +39 -20
  177. package/dist/fluid/style.css +39 -20
  178. package/dist/form/index.js +1 -1
  179. package/dist/form/style.css +39 -20
  180. package/dist/gallery/index.js +1 -1
  181. package/dist/gallery/style.css +39 -20
  182. package/dist/grid/index.js +5 -5
  183. package/dist/grid/style.css +39 -20
  184. package/dist/icon/style.css +39 -20
  185. package/dist/icon-field/style.css +60 -29
  186. package/dist/image/index.js +1 -1
  187. package/dist/image/style.css +39 -20
  188. package/dist/index.d.ts +3 -2
  189. package/dist/index.d.ts.map +1 -1
  190. package/dist/index.js +6500 -6163
  191. package/dist/inplace/style.css +39 -20
  192. package/dist/input/index.js +1 -1
  193. package/dist/input/style.css +59 -28
  194. package/dist/input-color/index.js +2 -2
  195. package/dist/input-color/style.css +49 -20
  196. package/dist/input-group/style.css +39 -20
  197. package/dist/input-number/index.js +2 -2
  198. package/dist/input-number/style.css +41 -21
  199. package/dist/input-otp/index.js +2 -2
  200. package/dist/input-otp/style.css +47 -20
  201. package/dist/input-password/index.js +2 -2
  202. package/dist/input-password/style.css +40 -21
  203. package/dist/input-tags/index.js +2 -2
  204. package/dist/input-tags/style.css +48 -20
  205. package/dist/knob/style.css +39 -20
  206. package/dist/label/style.css +39 -20
  207. package/dist/layout/index.js +1 -1
  208. package/dist/layout/style.css +40 -21
  209. package/dist/list/index.js +4 -4
  210. package/dist/list/style.css +42 -22
  211. package/dist/listbox/index.js +2 -2
  212. package/dist/listbox/style.css +42 -20
  213. package/dist/loading/index.js +1 -1
  214. package/dist/loading/style.css +39 -20
  215. package/dist/locale-CR2PIaxt.js +21 -0
  216. package/dist/mega-menu/index.js +3 -3
  217. package/dist/mega-menu/style.css +39 -20
  218. package/dist/mentions/index.js +3 -3
  219. package/dist/mentions/style.css +52 -24
  220. package/dist/menu/index.js +4 -4
  221. package/dist/menu/style.css +39 -20
  222. package/dist/menubar/index.js +3 -3
  223. package/dist/menubar/style.css +39 -20
  224. package/dist/message/index.js +3 -3
  225. package/dist/message/style.css +43 -22
  226. package/dist/meter-group/style.css +39 -20
  227. package/dist/order-list/index.js +1 -1
  228. package/dist/order-list/style.css +39 -20
  229. package/dist/page/index.js +4 -7
  230. package/dist/page/style.css +497 -796
  231. package/dist/pagination/index.js +1 -1
  232. package/dist/pagination/style.css +50 -25
  233. package/dist/panel/index.js +1 -1
  234. package/dist/panel/style.css +39 -20
  235. package/dist/pick-list/index.js +1 -1
  236. package/dist/pick-list/style.css +39 -20
  237. package/dist/popover/index.js +1 -1
  238. package/dist/popover/style.css +39 -20
  239. package/dist/progress-bar/index.js +38 -35
  240. package/dist/progress-bar/style.css +39 -20
  241. package/dist/progress-spinner/index.js +1 -1
  242. package/dist/progress-spinner/style.css +39 -20
  243. package/dist/qr-code/index.js +3 -3
  244. package/dist/qr-code/style.css +496 -795
  245. package/dist/radio/index.js +1 -1
  246. package/dist/radio/style.css +41 -21
  247. package/dist/rating/index.js +2 -2
  248. package/dist/rating/style.css +39 -20
  249. package/dist/resolver-map.d.ts.map +1 -1
  250. package/dist/resolver.js +1 -0
  251. package/dist/result/index.js +1 -1
  252. package/dist/result/style.css +40 -21
  253. package/dist/scroll-top/index.js +2 -2
  254. package/dist/scroll-top/style.css +39 -20
  255. package/dist/scrollbar/style.css +39 -20
  256. package/dist/segmented/index.js +1 -1
  257. package/dist/segmented/style.css +39 -20
  258. package/dist/select/index.js +1 -1
  259. package/dist/select/style.css +50 -24
  260. package/dist/select-button/index.js +1 -1
  261. package/dist/select-button/style.css +41 -20
  262. package/dist/shared/componentDefaults.d.ts +6 -0
  263. package/dist/shared/componentDefaults.d.ts.map +1 -1
  264. package/dist/shared/styles/select-overlay.css +3 -1
  265. package/dist/sidebar/index.js +1 -1
  266. package/dist/sidebar/style.css +39 -20
  267. package/dist/skeleton/style.css +39 -20
  268. package/dist/slider/index.js +2 -2
  269. package/dist/slider/style.css +39 -20
  270. package/dist/space/index.js +8 -8
  271. package/dist/space/style.css +39 -20
  272. package/dist/speed-dial/index.js +3 -3
  273. package/dist/speed-dial/style.css +39 -20
  274. package/dist/split-button/index.js +7 -10
  275. package/dist/split-button/style.css +502 -801
  276. package/dist/splitter/index.js +1 -1
  277. package/dist/splitter/style.css +39 -20
  278. package/dist/statistic/style.css +39 -20
  279. package/dist/status/index.js +1 -1
  280. package/dist/status/style.css +39 -20
  281. package/dist/stepper/style.css +39 -20
  282. package/dist/styles/base.css +19 -7
  283. package/dist/styles.css +1 -1
  284. package/dist/switch/index.js +1 -1
  285. package/dist/switch/style.css +39 -20
  286. package/dist/table/index.js +1628 -1622
  287. package/dist/table/style.css +51 -22
  288. package/dist/tabs/index.js +1 -1
  289. package/dist/tabs/style.css +39 -20
  290. package/dist/tag/index.js +57 -54
  291. package/dist/tag/style.css +49 -28
  292. package/dist/terminal/index.js +1 -1
  293. package/dist/terminal/style.css +40 -20
  294. package/dist/textarea/index.js +1 -1
  295. package/dist/textarea/style.css +57 -27
  296. package/dist/theme/color.d.ts +5 -0
  297. package/dist/theme/color.d.ts.map +1 -1
  298. package/dist/theme/derive.d.ts.map +1 -1
  299. package/dist/theme/seed.d.ts +2 -2
  300. package/dist/theme/styles.css +20 -13
  301. package/dist/tiered-menu/index.js +3 -3
  302. package/dist/tiered-menu/style.css +39 -20
  303. package/dist/time-picker/index.js +1 -1
  304. package/dist/time-picker/style.css +41 -21
  305. package/dist/timeline/style.css +39 -20
  306. package/dist/toast/index.js +3 -3
  307. package/dist/toast/style.css +496 -795
  308. package/dist/toggle-button/index.js +1 -1
  309. package/dist/toggle-button/style.css +41 -21
  310. package/dist/toolbar/style.css +39 -20
  311. package/dist/tooltip/index.js +1 -1
  312. package/dist/tooltip/style.css +39 -20
  313. package/dist/tour/index.js +7 -8
  314. package/dist/tour/style.css +496 -795
  315. package/dist/tree/index.js +2 -2
  316. package/dist/tree/style.css +41 -21
  317. package/dist/tree-select/index.js +4 -4
  318. package/dist/tree-select/style.css +56 -23
  319. package/dist/typography/index.js +2 -2
  320. package/dist/typography/style.css +57 -27
  321. package/dist/{useMotionTransition-S2rlviyZ.js → useMotionTransition-D8JOR3ih.js} +1 -1
  322. package/dist/virtual-scroller/style.css +39 -20
  323. package/dist/watermark/style.css +39 -20
  324. package/package.json +1 -1
  325. package/dist/Button-TaJ0LKtP.js +0 -234
  326. package/dist/locale-Dnk0UIie.js +0 -21
package/CHANGELOG.md CHANGED
@@ -1,10 +1,78 @@
1
1
  # morya-ui
2
2
 
3
- ## 0.4.0
3
+ ## 0.4.2
4
+
5
+ ### 新功能
6
+
7
+ - add MTable component and support column align props and scroll height settings
8
+
9
+ ### 修复
10
+
11
+ - align loading, defaults, and outlined active styles
12
+ - MMessage component icon align center
13
+
14
+ ### 文档
15
+
16
+ - clarify ButtonGroup as visual-only grouping
17
+ - tighten public docs and reorder demos
18
+ - sync demos and MCP after dual-axis API
19
+
20
+ ### 变更
21
+
22
+ - remove built-in badge API
23
+ - tokenize styles against theme tokens
24
+ - update button props and remove severity prop
25
+
26
+ ## Unreleased
4
27
 
5
28
  ### 破坏性变更
6
29
 
7
- - align with the antd API and add advanced options
30
+ - **Button**:改为 `type` / `color` × `variant` 双轴 API
31
+ - 新增 `type` 语法糖(`default` / `primary` / `dashed` / `link` / `text`)与 `color` × `variant`
32
+ - 删除 `severity`;危险色改用 `danger` / `color="danger"`
33
+ - `fluid` → `block`;`nativeType` → `htmlType`;`iconPos` → `iconPlacement`
34
+ - 删除内置 `badge` / `badgeColor`;角标请用 `MBadge` 包裹按钮
35
+ - 支持 `href` / `ghost` / `loading` 对象形态与 `pt`
36
+
37
+ ### 修复
38
+
39
+ - **Button**:loading 时不再误加原生 `disabled`(避免灰掉主色)
40
+ - **Button**:`shape` / `ripple` / `press` 正确继承 `componentDefaults`,本地可覆盖
41
+ - **Button**:`:active` 同步边框与文字色;默认 outlined / dashed 按下保持表面色背景
42
+
43
+ ### 文档
44
+
45
+ - 补齐 Button 文档 demo:ColorVariant / Icon / Size / Ghost / Danger / Block / RipplePress
46
+ - 同步 MCP catalog、setup / design-kit 约定,以及 `morya-ui-pages` skill 中的 Button API
47
+
48
+ ## 0.4.1
49
+
50
+ ### 破坏性变更
51
+
52
+ - rewrite public component API
53
+
54
+ ### 新功能
55
+
56
+ - ability to add transparent root node attributes to multiple components
57
+
58
+ ### 修复
59
+
60
+ - components name change
61
+ - ensure single root vnode for Transition classes and update design tokens
62
+
63
+ ### 文档
64
+
65
+ - add components pt attr
66
+ - refresh demos for effects, multi-view, and vertical
67
+
68
+ ### 变更
69
+
70
+ - update component library
71
+ - unify focus and hover states across components
72
+ - sync MCP catalog and design tokens for Carousel
73
+ - standardize import statements across components and update styles
74
+
75
+ ## 0.4.0
8
76
 
9
77
  ### 新功能
10
78
 
@@ -0,0 +1,326 @@
1
+ import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
+ import { r as t } from "./types-DGuu4Eg4.js";
3
+ import { t as n } from "./Icon-od9Ob-Ay.js";
4
+ import { c as r, l as i, o as a, u as o } from "./config-CB_TiIvg.js";
5
+ import { Comment as s, Fragment as c, Text as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createTextVNode as ee, defineComponent as m, mergeProps as h, nextTick as te, onBeforeUnmount as ne, onMounted as re, openBlock as g, ref as _, renderSlot as v, resolveDynamicComponent as y, toDisplayString as ie, unref as b, useAttrs as ae, useSlots as oe, watch as x, withCtx as se } from "vue";
6
+ //#region src/components/Button/buttonHelpers.ts
7
+ var S = /^[\u4E00-\u9FA5]{2}$/, C = S.test.bind(S);
8
+ function w(e) {
9
+ return e === "text" || e === "link";
10
+ }
11
+ var T = {
12
+ default: ["default", "outlined"],
13
+ primary: ["primary", "solid"],
14
+ dashed: ["default", "dashed"],
15
+ link: ["link", "link"],
16
+ text: ["default", "text"]
17
+ };
18
+ function E(e) {
19
+ let { color: t, variant: n, type: r, danger: i = !1, contextColor: a, contextVariant: o } = e;
20
+ if (t && n) return [t, n];
21
+ let s = r || "default";
22
+ if (r || i) {
23
+ let e = T[s] ?? T.default;
24
+ return i ? ["danger", e[1]] : e;
25
+ }
26
+ return n === "solid" ? ["primary", n] : a && o ? [a, o] : o === "solid" ? ["primary", o] : t ? [t, n ?? "outlined"] : n ? ["default", n] : ["default", "outlined"];
27
+ }
28
+ function D(e) {
29
+ let [t, n] = E(e), r = !!e.ghost && !w(n);
30
+ return r && n === "solid" ? {
31
+ color: t,
32
+ variant: "outlined",
33
+ ghost: !0
34
+ } : {
35
+ color: t,
36
+ variant: n,
37
+ ghost: r
38
+ };
39
+ }
40
+ function O(e) {
41
+ if (e && typeof e == "object") {
42
+ let t = typeof e.delay == "number" && e.delay > 0 ? e.delay : 0;
43
+ return {
44
+ loading: t <= 0,
45
+ delay: t,
46
+ icon: e.icon
47
+ };
48
+ }
49
+ return {
50
+ loading: !!e,
51
+ delay: 0
52
+ };
53
+ }
54
+ function k(e, t) {
55
+ let n = e.trim();
56
+ return !t || !C(n) ? e : `${n[0]} ${n[1]}`;
57
+ }
58
+ //#endregion
59
+ //#region src/components/Button/Button.vue?vue&type=script&setup=true&lang.ts
60
+ var ce = {
61
+ key: 2,
62
+ class: "m-button__spinner"
63
+ }, le = 560, ue = /* @__PURE__ */ m({
64
+ inheritAttrs: !1,
65
+ __name: "Button",
66
+ props: {
67
+ type: { default: void 0 },
68
+ color: { default: void 0 },
69
+ variant: { default: void 0 },
70
+ danger: {
71
+ type: Boolean,
72
+ default: !1
73
+ },
74
+ ghost: {
75
+ type: Boolean,
76
+ default: !1
77
+ },
78
+ shape: { default: void 0 },
79
+ size: {},
80
+ block: {
81
+ type: Boolean,
82
+ default: !1
83
+ },
84
+ loading: {
85
+ type: [Boolean, Object],
86
+ default: !1
87
+ },
88
+ disabled: {
89
+ type: Boolean,
90
+ default: void 0
91
+ },
92
+ htmlType: { default: "button" },
93
+ href: {},
94
+ target: {},
95
+ label: {},
96
+ icon: {},
97
+ iconPlacement: { default: "start" },
98
+ iconOnly: {
99
+ type: Boolean,
100
+ default: !1
101
+ },
102
+ autoInsertSpace: {
103
+ type: Boolean,
104
+ default: void 0
105
+ },
106
+ autofocus: {
107
+ type: Boolean,
108
+ default: !1
109
+ },
110
+ ariaLabel: {},
111
+ ripple: {
112
+ type: Boolean,
113
+ default: void 0
114
+ },
115
+ press: {
116
+ type: Boolean,
117
+ default: void 0
118
+ },
119
+ pt: {}
120
+ },
121
+ emits: ["click"],
122
+ setup(m, { expose: S, emit: T }) {
123
+ let E = m, ue = T, A = oe(), de = ae(), { rootAttrs: fe } = e(de, () => E.pt), j = _(null), M = _(null), N = /* @__PURE__ */ new Set(), P = _(!1), F = _(!1), I, L = i(), R = r(() => E.disabled), z = a("Button", () => E.size), B = u(() => t(z.value)), pe = u(() => o(L.value.componentDefaults, "Button", "color")), me = u(() => o(L.value.componentDefaults, "Button", "variant")), he = u(() => o(L.value.componentDefaults, "Button", "shape") ?? "default"), ge = u(() => o(L.value.componentDefaults, "Button", "autoInsertSpace")), _e = u(() => o(L.value.componentDefaults, "Button", "ripple")), ve = u(() => o(L.value.componentDefaults, "Button", "press")), ye = u(() => E.shape ?? he.value ?? "default"), V = u(() => E.autoInsertSpace ?? ge.value ?? !0), H = u(() => E.ripple ?? _e.value ?? !1), be = u(() => E.press ?? ve.value ?? !1), U = u(() => D({
124
+ color: E.color,
125
+ variant: E.variant,
126
+ type: E.type,
127
+ danger: E.danger,
128
+ ghost: E.ghost,
129
+ contextColor: pe.value,
130
+ contextVariant: me.value
131
+ })), W = u(() => O(E.loading));
132
+ x(W, (e) => {
133
+ if (I !== void 0 && (clearTimeout(I), I = void 0), e.delay > 0 && (E.loading === !0 || E.loading && typeof E.loading == "object")) {
134
+ F.value = !1, I = setTimeout(() => {
135
+ F.value = !0, I = void 0;
136
+ }, e.delay);
137
+ return;
138
+ }
139
+ F.value = e.loading;
140
+ }, { immediate: !0 });
141
+ let G = u(() => !!A.default?.().some((e) => Q(e))), K = u(() => G.value || !!E.label?.trim()), q = u(() => E.iconOnly || !K.value && !!(E.icon || A.icon || F.value)), J = u(() => typeof E.icon == "string" ? E.icon : void 0), Y = u(() => typeof E.icon == "string" || !E.icon ? void 0 : E.icon), X = u(() => {
142
+ let e = W.value.icon;
143
+ return typeof e == "string" ? e : void 0;
144
+ }), xe = u(() => {
145
+ let e = W.value.icon;
146
+ return typeof e == "string" || !e ? void 0 : e;
147
+ }), Se = u(() => E.label ? k(E.label, V.value && !F.value) : ""), Z = u(() => E.href !== void 0), Ce = u(() => [
148
+ "m-button",
149
+ `m-button--color-${U.value.color === "danger" ? "danger" : U.value.color}`,
150
+ `m-button--variant-${U.value.variant}`,
151
+ `m-button--${z.value}`,
152
+ `m-button--shape-${ye.value}`,
153
+ {
154
+ "m-button--ghost": U.value.ghost,
155
+ "m-button--block": E.block,
156
+ "m-button--loading": F.value,
157
+ "m-button--icon-only": q.value,
158
+ "m-button--icon-end": E.iconPlacement === "end",
159
+ "m-button--two-chinese-chars": P.value && V.value && !F.value,
160
+ "m-button--ripple": H.value,
161
+ "m-button--press": be.value,
162
+ "m-button--disabled": R.value && Z.value
163
+ }
164
+ ]), we = u(() => E.icon || A.icon || q.value || w(U.value.variant) ? !1 : E.label && !G.value ? !0 : (A.default?.() ?? []).filter((e) => Q(e)).length === 1);
165
+ function Q(e) {
166
+ if (e == null || typeof e == "boolean") return !1;
167
+ if (typeof e == "string" || typeof e == "number") return String(e).trim().length > 0;
168
+ if (Array.isArray(e)) return e.some((e) => Q(e));
169
+ if (typeof e == "object" && "type" in e) {
170
+ let t = e;
171
+ return t.type === s ? !1 : t.type === l ? String(t.children ?? "").trim().length > 0 : t.type !== c || Q(t.children);
172
+ }
173
+ return !1;
174
+ }
175
+ function Te() {
176
+ if (!j.value || !V.value || !we.value) {
177
+ P.value = !1;
178
+ return;
179
+ }
180
+ let e = (j.value.textContent || "").replace(/\s/g, "");
181
+ P.value = C(e);
182
+ }
183
+ x(() => [
184
+ E.label,
185
+ G.value,
186
+ V.value,
187
+ we.value,
188
+ F.value
189
+ ], async () => {
190
+ await te(), Te();
191
+ }), re(() => {
192
+ Te(), E.autofocus && j.value?.focus();
193
+ });
194
+ function Ee() {
195
+ return !H.value || typeof document > "u" || w(U.value.variant) ? !0 : document.documentElement.dataset.mMotion === "none";
196
+ }
197
+ function De() {
198
+ let e = j.value;
199
+ if (e && typeof getComputedStyle == "function") {
200
+ let t = getComputedStyle(e).getPropertyValue("--m-button-ripple-duration").trim(), n = Number.parseFloat(t);
201
+ if (Number.isFinite(n)) return n;
202
+ }
203
+ return le;
204
+ }
205
+ function $(e, t, n = !1) {
206
+ if (Ee()) return;
207
+ let r = j.value, i = M.value;
208
+ if (!r || !i) return;
209
+ let a = r.getBoundingClientRect(), o = Math.ceil(Math.hypot(a.width, a.height) * 2), s = n ? a.width / 2 : e - a.left, c = n ? a.height / 2 : t - a.top, l = document.createElement("span");
210
+ l.className = "m-button__ripple-wave", l.style.width = `${o}px`, l.style.height = `${o}px`, l.style.left = `${s - o / 2}px`, l.style.top = `${c - o / 2}px`, i.appendChild(l);
211
+ let u = De(), d = () => {
212
+ l.remove();
213
+ };
214
+ if (typeof l.animate == "function") {
215
+ let e = l.animate([
216
+ {
217
+ transform: "scale(0)",
218
+ opacity: .42
219
+ },
220
+ {
221
+ transform: "scale(0.55)",
222
+ opacity: .22,
223
+ offset: .55
224
+ },
225
+ {
226
+ transform: "scale(1)",
227
+ opacity: 0
228
+ }
229
+ ], {
230
+ duration: u,
231
+ easing: "cubic-bezier(0.2, 0, 0, 1)",
232
+ fill: "forwards"
233
+ });
234
+ N.add(e), e.finished.then(() => {
235
+ N.delete(e), d();
236
+ }).catch(d);
237
+ return;
238
+ }
239
+ l.classList.add("m-button__ripple-wave--fallback"), window.setTimeout(d, u);
240
+ }
241
+ function Oe(e) {
242
+ R.value || F.value || e.button === 0 && $(e.clientX, e.clientY);
243
+ }
244
+ function ke(e) {
245
+ if (R.value || F.value) {
246
+ e.preventDefault();
247
+ return;
248
+ }
249
+ e.detail === 0 && $(0, 0, !0), ue("click", e);
250
+ }
251
+ function Ae() {
252
+ j.value?.focus();
253
+ }
254
+ return ne(() => {
255
+ I !== void 0 && clearTimeout(I);
256
+ for (let e of N) e.cancel();
257
+ N.clear();
258
+ }), S({
259
+ focus: Ae,
260
+ ref: j
261
+ }), (e, t) => (g(), d(y(Z.value ? "a" : "button"), h({
262
+ ref_key: "buttonElement",
263
+ ref: j
264
+ }, b(fe), {
265
+ class: Ce.value,
266
+ type: Z.value ? void 0 : m.htmlType,
267
+ href: Z.value ? b(R) ? void 0 : m.href : void 0,
268
+ target: Z.value ? m.target : void 0,
269
+ disabled: Z.value ? void 0 : b(R),
270
+ tabindex: Z.value && b(R) ? -1 : void 0,
271
+ "aria-disabled": Z.value && b(R) ? !0 : void 0,
272
+ "aria-busy": F.value || void 0,
273
+ "aria-label": m.ariaLabel || (q.value ? m.label : void 0),
274
+ autofocus: !Z.value && m.autofocus ? !0 : void 0,
275
+ onPointerdown: Oe,
276
+ onClick: ke
277
+ }), {
278
+ default: se(() => [
279
+ H.value ? (g(), p("span", {
280
+ key: 0,
281
+ ref_key: "rippleLayer",
282
+ ref: M,
283
+ class: "m-button__ripple",
284
+ "aria-hidden": "true"
285
+ }, null, 512)) : f("", !0),
286
+ F.value || m.icon || e.$slots.icon || e.$slots.loadingicon ? (g(), p("span", h({
287
+ key: 1,
288
+ class: ["m-button__icon", { "m-button__icon--loading": F.value }],
289
+ "aria-hidden": "true"
290
+ }, m.pt?.icon), [F.value ? v(e.$slots, "loadingicon", {}, () => [X.value ? (g(), d(n, {
291
+ key: 0,
292
+ name: X.value,
293
+ size: B.value
294
+ }, null, 8, ["name", "size"])) : xe.value ? (g(), d(y(xe.value), {
295
+ key: 1,
296
+ class: "m-button__icon-graphic"
297
+ })) : (g(), p("span", ce))], void 0, 0) : v(e.$slots, "icon", {}, () => [J.value ? (g(), d(n, {
298
+ key: 0,
299
+ name: J.value,
300
+ size: B.value
301
+ }, null, 8, ["name", "size"])) : Y.value ? (g(), d(y(Y.value), {
302
+ key: 1,
303
+ class: "m-button__icon-graphic"
304
+ })) : f("", !0)], void 0, 1)], 16)) : f("", !0),
305
+ K.value && !m.iconOnly ? (g(), p("span", h({
306
+ key: 2,
307
+ class: "m-button__label"
308
+ }, m.pt?.content), [v(e.$slots, "default", {}, () => [ee(ie(Se.value), 1)])], 16)) : f("", !0)
309
+ ]),
310
+ _: 3
311
+ }, 16, [
312
+ "class",
313
+ "type",
314
+ "href",
315
+ "target",
316
+ "disabled",
317
+ "tabindex",
318
+ "aria-disabled",
319
+ "aria-busy",
320
+ "aria-label",
321
+ "autofocus"
322
+ ]));
323
+ }
324
+ });
325
+ //#endregion
326
+ export { C as a, E as c, O as i, T as n, w as o, k as r, D as s, ue as t };
@@ -1,6 +1,6 @@
1
1
  import { r as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "./useMId-BXFYayPP.js";
3
- import { o as n } from "./config-COgrsSV2.js";
3
+ import { o as n } from "./config-CB_TiIvg.js";
4
4
  import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, inject as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useAttrs as h } from "vue";
5
5
  //#region src/components/Checkbox/types.ts
6
6
  var g = Symbol("muCheckboxGroup"), _ = ["for"], v = [
@@ -3,11 +3,11 @@ import { n as t, t as n } from "./overlay-oR-5MDuE.js";
3
3
  import { t as r } from "./overlayPlacement-qwEJPVS4.js";
4
4
  import { t as i } from "./useFloatingViewportSync-wLLKIGUA.js";
5
5
  import { t as a } from "./useMId-BXFYayPP.js";
6
- import { t as o } from "./useMotionTransition-S2rlviyZ.js";
6
+ import { t as o } from "./useMotionTransition-D8JOR3ih.js";
7
7
  import { t as s } from "./Icon-od9Ob-Ay.js";
8
8
  import { a as c, c as l, i as u, l as d, n as ee, o as f, r as p, s as m, t as h } from "./dateUtils-D8qKPhos.js";
9
- import { c as te, o as ne } from "./config-COgrsSV2.js";
10
- import { n as re, t as ie } from "./locale-Dnk0UIie.js";
9
+ import { l as te, o as ne } from "./config-CB_TiIvg.js";
10
+ import { n as re, t as ie } from "./locale-CR2PIaxt.js";
11
11
  import { Fragment as g, Teleport as ae, Transition as oe, computed as _, createBlock as se, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createVNode as x, defineComponent as S, mergeProps as ce, nextTick as C, normalizeClass as w, normalizeStyle as le, onBeforeUnmount as ue, openBlock as T, ref as E, renderList as D, renderSlot as de, toDisplayString as O, unref as k, useAttrs as fe, watch as pe, withCtx as me, withKeys as he, withModifiers as A } from "vue";
12
12
  //#region src/components/DatePicker/DatePicker.vue?vue&type=script&setup=true&lang.ts
13
13
  var ge = ["for"], _e = [
@@ -1,7 +1,7 @@
1
1
  import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "./useMId-BXFYayPP.js";
3
3
  import { t as n } from "./Icon-od9Ob-Ay.js";
4
- import { n as r } from "./locale-Dnk0UIie.js";
4
+ import { n as r } from "./locale-CR2PIaxt.js";
5
5
  import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, defineComponent as l, mergeProps as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, useAttrs as g, useSlots as _, watch as v } from "vue";
6
6
  //#region src/components/Empty/illustrations/loaders.ts
7
7
  var y = {
@@ -1,7 +1,7 @@
1
1
  import { n as e } from "./overlay-oR-5MDuE.js";
2
2
  import { t } from "./overlayPlacement-qwEJPVS4.js";
3
3
  import { t as n } from "./useFloatingViewportSync-wLLKIGUA.js";
4
- import { c as r } from "./config-COgrsSV2.js";
4
+ import { l as r } from "./config-CB_TiIvg.js";
5
5
  import { Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, defineComponent as l, nextTick as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderSlot as h, watch as g } from "vue";
6
6
  //#endregion
7
7
  //#region src/shared/FlyoutSubmenu.vue
@@ -2,8 +2,8 @@ import { i as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "./useMId-BXFYayPP.js";
3
3
  import { t as n } from "./Icon-od9Ob-Ay.js";
4
4
  import { n as r } from "./context-CIx8fy-I.js";
5
- import { i, o as ee, s as a } from "./config-COgrsSV2.js";
6
- import { n as o } from "./locale-Dnk0UIie.js";
5
+ import { i, o as ee, s as a } from "./config-CB_TiIvg.js";
6
+ import { n as o } from "./locale-CR2PIaxt.js";
7
7
  import { computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, inject as p, mergeProps as m, normalizeClass as h, openBlock as g, ref as _, renderSlot as v, toDisplayString as y, unref as b, useAttrs as x, useSlots as S } from "vue";
8
8
  //#region src/components/Input/Input.vue?vue&type=script&setup=true&lang.ts
9
9
  var te = ["for"], ne = {
@@ -1,12 +1,12 @@
1
1
  import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { n as t } from "./overlay-oR-5MDuE.js";
3
- import { n, t as r } from "./useMotionTransition-S2rlviyZ.js";
3
+ import { n, t as r } from "./useMotionTransition-D8JOR3ih.js";
4
4
  import { i } from "./types-DGuu4Eg4.js";
5
5
  import { t as a } from "./usePauseOffscreen-BIikV_gj.js";
6
6
  import { i as o } from "./content-h8POj44-.js";
7
7
  import { t as s } from "./overlayHost-78CGtMgR.js";
8
- import { c, i as l, l as u, t as d } from "./config-COgrsSV2.js";
9
- import { n as f } from "./locale-Dnk0UIie.js";
8
+ import { i as c, l, t as u, u as d } from "./config-CB_TiIvg.js";
9
+ import { n as f } from "./locale-CR2PIaxt.js";
10
10
  import { Fragment as p, Teleport as m, Transition as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createStaticVNode as x, createVNode as S, defineComponent as C, h as w, mergeProps as T, normalizeClass as ee, normalizeStyle as E, onBeforeUnmount as te, openBlock as D, reactive as O, ref as k, render as A, renderList as j, renderSlot as M, toDisplayString as N, toValue as P, unref as F, useAttrs as ne, useSlots as re, watch as I, withCtx as L } from "vue";
11
11
  //#region src/components/Loading/types.ts
12
12
  var R = [
@@ -59,7 +59,7 @@ var H = ["aria-label"], U = {
59
59
  size: {}
60
60
  },
61
61
  setup(e) {
62
- let t = e, n = f(), r = k(null), { pauseAttrs: o } = a(r, !0), s = l("Loading"), c = g(() => V(t.effect ?? s.value.effect)), u = g(() => t.size ?? s.value.size), d = g(() => {
62
+ let t = e, n = f(), r = k(null), { pauseAttrs: o } = a(r, !0), s = c("Loading"), l = g(() => V(t.effect ?? s.value.effect)), u = g(() => t.size ?? s.value.size), d = g(() => {
63
63
  let e = i(u.value);
64
64
  return {
65
65
  "m-loading-indicator--small": e === "small",
@@ -74,16 +74,16 @@ var H = ["aria-label"], U = {
74
74
  role: "status",
75
75
  "aria-live": "polite",
76
76
  "aria-label": m.value
77
- }), [b("div", U, [c.value === "aurora" ? (D(), y("div", W, [...n[0] ||= [b("div", { class: "m-loading-aurora__ring" }, null, -1), b("div", { class: "m-loading-aurora__glow" }, null, -1)]])) : c.value === "bounce" ? (D(), y("div", ie, [...n[1] ||= [
77
+ }), [b("div", U, [l.value === "aurora" ? (D(), y("div", W, [...n[0] ||= [b("div", { class: "m-loading-aurora__ring" }, null, -1), b("div", { class: "m-loading-aurora__glow" }, null, -1)]])) : l.value === "bounce" ? (D(), y("div", ie, [...n[1] ||= [
78
78
  b("span", { class: "m-loading-bounce__ball" }, null, -1),
79
79
  b("span", { class: "m-loading-bounce__ball" }, null, -1),
80
80
  b("span", { class: "m-loading-bounce__ball" }, null, -1)
81
- ]])) : c.value === "wave" ? (D(), y("div", ae, [...n[2] ||= [x("<span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span>", 5)]])) : c.value === "pulse" ? (D(), y("div", oe, [...n[3] ||= [
81
+ ]])) : l.value === "wave" ? (D(), y("div", ae, [...n[2] ||= [x("<span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span>", 5)]])) : l.value === "pulse" ? (D(), y("div", oe, [...n[3] ||= [
82
82
  b("span", { class: "m-loading-pulse__ring" }, null, -1),
83
83
  b("span", { class: "m-loading-pulse__ring" }, null, -1),
84
84
  b("span", { class: "m-loading-pulse__ring" }, null, -1),
85
85
  b("span", { class: "m-loading-pulse__ring" }, null, -1)
86
- ]])) : c.value === "stardust" ? (D(), y("div", se, [(D(), y(p, null, j(8, (e) => b("span", {
86
+ ]])) : l.value === "stardust" ? (D(), y("div", se, [(D(), y(p, null, j(8, (e) => b("span", {
87
87
  key: e,
88
88
  class: "m-loading-stardust__dot",
89
89
  style: E({ "--i": String(e - 1) })
@@ -104,14 +104,14 @@ var H = ["aria-label"], U = {
104
104
  function ue(e) {
105
105
  let t = e ?? s();
106
106
  if (!t) return;
107
- let n = t.provides?.[d];
107
+ let n = t.provides?.[u];
108
108
  return n == null ? t.config.globalProperties.$m : P(n);
109
109
  }
110
110
  function de(e) {
111
111
  let t = ue(e);
112
112
  return n({
113
113
  rolePreset: t?.motion?.transitions?.overlay,
114
- componentDefault: u(t?.componentDefaults, "Loading", "transition"),
114
+ componentDefault: d(t?.componentDefaults, "Loading", "transition"),
115
115
  fallback: "loading"
116
116
  });
117
117
  }
@@ -312,7 +312,7 @@ var he = { service: me }, ge = ["aria-busy"], _e = ["inert"], ve = /* @__PURE__
312
312
  }
313
313
  },
314
314
  setup(n) {
315
- let i = n, a = ne(), o = re(), { rootAttrs: s } = e(a, () => i.pt), u = l("Loading"), d = c(), { transitionName: f, transitionCss: x } = r({
315
+ let i = n, a = ne(), o = re(), { rootAttrs: s } = e(a, () => i.pt), u = c("Loading"), d = l(), { transitionName: f, transitionCss: x } = r({
316
316
  role: "overlay",
317
317
  local: () => i.transition,
318
318
  componentName: "Loading",
@@ -1,7 +1,7 @@
1
1
  import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "./Icon-od9Ob-Ay.js";
3
- import { t as n } from "./Select-DzfyO0FE.js";
4
- import { n as r, t as i } from "./locale-Dnk0UIie.js";
3
+ import { t as n } from "./Select-CN1tM76U.js";
4
+ import { n as r, t as i } from "./locale-CR2PIaxt.js";
5
5
  import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, renderList as h, toDisplayString as g, unref as _, useAttrs as v } from "vue";
6
6
  //#region src/components/Pagination/Pagination.vue?vue&type=script&setup=true&lang.ts
7
7
  var y = ["aria-label"], b = ["disabled", "aria-label"], x = {
@@ -2,8 +2,8 @@ import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { n as t, t as n } from "./overlay-oR-5MDuE.js";
3
3
  import { t as r } from "./overlayPlacement-qwEJPVS4.js";
4
4
  import { t as i } from "./useMId-BXFYayPP.js";
5
- import { t as a } from "./useMotionTransition-S2rlviyZ.js";
6
- import { c as o } from "./config-COgrsSV2.js";
5
+ import { t as a } from "./useMotionTransition-D8JOR3ih.js";
6
+ import { l as o } from "./config-CB_TiIvg.js";
7
7
  import { Teleport as s, Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as ee, openBlock as b, ref as x, renderSlot as S, unref as C, useAttrs as te, watch as ne, withCtx as re } from "vue";
8
8
  //#region src/components/Popover/Popover.vue?vue&type=script&setup=true&lang.ts
9
9
  var ie = ["aria-expanded", "aria-controls"], ae = ["id"], w = /* @__PURE__ */ h({
@@ -1,7 +1,7 @@
1
1
  import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { i as t } from "./types-DGuu4Eg4.js";
3
3
  import { t as n } from "./usePauseOffscreen-BIikV_gj.js";
4
- import { n as r } from "./locale-Dnk0UIie.js";
4
+ import { n as r } from "./locale-CR2PIaxt.js";
5
5
  import { computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, mergeProps as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, openBlock as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, useAttrs as v, useSlots as y, watch as b } from "vue";
6
6
  //#region src/components/ProgressSpinner/ProgressSpinner.vue?vue&type=script&setup=true&lang.ts
7
7
  var x = ["aria-busy"], S = ["inert"], C = {
@@ -1,6 +1,6 @@
1
1
  import { r as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "./useMId-BXFYayPP.js";
3
- import { o as n } from "./config-COgrsSV2.js";
3
+ import { o as n } from "./config-CB_TiIvg.js";
4
4
  import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, inject as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useAttrs as h } from "vue";
5
5
  //#region src/components/Radio/types.ts
6
6
  var g = Symbol("muRadioGroup"), _ = ["for"], v = [
@@ -2,7 +2,7 @@ import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "./useMId-BXFYayPP.js";
3
3
  import { t as n } from "./Icon-od9Ob-Ay.js";
4
4
  import { t as r } from "./useMenuKeyboard-BedmYE4W.js";
5
- import { o as i } from "./config-COgrsSV2.js";
5
+ import { o as i } from "./config-CB_TiIvg.js";
6
6
  import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, useAttrs as y, watch as b } from "vue";
7
7
  //#region src/components/Segmented/Segmented.vue?vue&type=script&setup=true&lang.ts
8
8
  var x = ["aria-label"], S = [
@@ -3,14 +3,14 @@ import { n as t, t as n } from "./overlay-oR-5MDuE.js";
3
3
  import { t as r } from "./overlayPlacement-qwEJPVS4.js";
4
4
  import { t as i } from "./useFloatingViewportSync-wLLKIGUA.js";
5
5
  import { t as a } from "./useMId-BXFYayPP.js";
6
- import { t as o } from "./useMotionTransition-S2rlviyZ.js";
6
+ import { t as o } from "./useMotionTransition-D8JOR3ih.js";
7
7
  import { t as s } from "./Icon-od9Ob-Ay.js";
8
8
  import { t as c } from "./Scrollbar-DTeJ8P5b.js";
9
9
  import { t as l } from "./VirtualScroller-CHoFCmpP.js";
10
10
  import { t as u } from "./Renderable-DHU4Jcfw.js";
11
11
  import { n as ee } from "./context-CIx8fy-I.js";
12
- import { c as te, i as ne, o as re, s as ie } from "./config-COgrsSV2.js";
13
- import { n as ae, t as oe } from "./locale-Dnk0UIie.js";
12
+ import { i as te, l as ne, o as re, s as ie } from "./config-CB_TiIvg.js";
13
+ import { n as ae, t as oe } from "./locale-CR2PIaxt.js";
14
14
  import { Fragment as d, Teleport as se, Transition as ce, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as le, createVNode as _, defineComponent as ue, inject as de, mergeProps as fe, nextTick as pe, normalizeClass as v, normalizeStyle as me, onBeforeUnmount as he, openBlock as y, ref as b, renderList as ge, renderSlot as x, toDisplayString as S, unref as C, useAttrs as _e, useSlots as ve, vModelText as ye, watch as be, withCtx as w, withDirectives as xe, withModifiers as Se } from "vue";
15
15
  //#region src/components/Select/selectOptions.ts
16
16
  function T(e) {
@@ -310,11 +310,13 @@ var Me = ["for"], Ne = [
310
310
  } },
311
311
  setup(e, t) {
312
312
  return () => {
313
- let n = t.slots.default?.();
314
- return e.render ? e.render(n) : n;
313
+ let n = t.slots.default?.() ?? [], r = n.length === 1 ? n[0] : n;
314
+ if (!e.render) return r;
315
+ let i = e.render(r);
316
+ return Array.isArray(i) && i.length === 1 ? i[0] : i;
315
317
  };
316
318
  }
317
- }), it = ve(), at = _e(), { rootAttrs: ot, controlAttrs: st } = e(at, () => E.pt, { controlKey: "control" }), O = ne("Select"), ct = de(ee, null), lt = te(), { transitionName: ut, transitionCss: dt } = o({
319
+ }), it = ve(), at = _e(), { rootAttrs: ot, controlAttrs: st } = e(at, () => E.pt, { controlKey: "control" }), O = te("Select"), ct = de(ee, null), lt = ne(), { transitionName: ut, transitionCss: dt } = o({
318
320
  role: "popup",
319
321
  local: () => E.transition,
320
322
  componentName: "Select",
@@ -2,8 +2,8 @@ import { i as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "./useMId-BXFYayPP.js";
3
3
  import { t as n } from "./Icon-od9Ob-Ay.js";
4
4
  import { n as r } from "./context-CIx8fy-I.js";
5
- import { i, o as a, s as o } from "./config-COgrsSV2.js";
6
- import { n as s } from "./locale-Dnk0UIie.js";
5
+ import { i, o as a, s as o } from "./config-CB_TiIvg.js";
6
+ import { n as s } from "./locale-CR2PIaxt.js";
7
7
  import { computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as ee, defineComponent as f, inject as te, mergeProps as p, nextTick as m, normalizeClass as h, onMounted as g, openBlock as _, ref as ne, toDisplayString as v, unref as y, useAttrs as b, watch as x } from "vue";
8
8
  //#region src/components/Textarea/Textarea.vue?vue&type=script&setup=true&lang.ts
9
9
  var S = ["for"], C = [
@@ -2,8 +2,8 @@ import { n as e, t } from "./overlay-oR-5MDuE.js";
2
2
  import { n, t as r } from "./overlayPlacement-qwEJPVS4.js";
3
3
  import { t as i } from "./useFloatingViewportSync-wLLKIGUA.js";
4
4
  import { t as a } from "./useMId-BXFYayPP.js";
5
- import { t as o } from "./useMotionTransition-S2rlviyZ.js";
6
- import { c as s } from "./config-COgrsSV2.js";
5
+ import { t as o } from "./useMotionTransition-D8JOR3ih.js";
6
+ import { l as s } from "./config-CB_TiIvg.js";
7
7
  import { Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createVNode as m, defineComponent as h, nextTick as g, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, unref as w, withCtx as T } from "vue";
8
8
  //#region src/components/Tooltip/Tooltip.vue?vue&type=script&setup=true&lang.ts
9
9
  var E = ["aria-describedby"], D = ["id"], O = /* @__PURE__ */ h({