morya-ui 0.2.9 → 0.3.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 (457) hide show
  1. package/CHANGELOG.md +76 -0
  2. package/dist/{Button-DO5oukfg.js → Button-smoDleh0.js} +2 -2
  3. package/dist/{Card-BQfmv5Iw.js → Card-Dsmnzong.js} +1 -1
  4. package/dist/{Checkbox-CL05RRUD.js → Checkbox-BzbAUfyZ.js} +2 -2
  5. package/dist/FlyoutSubmenu-BrUPmJa1.js +45 -0
  6. package/dist/Icon-od9Ob-Ay.js +393 -0
  7. package/dist/Loading-BSsRs6v9.js +420 -0
  8. package/dist/{Pagination-CUwCtWhz.js → Pagination-DrXmzcEy.js} +3 -3
  9. package/dist/Popover-BQ07q4VV.js +179 -0
  10. package/dist/{Radio-DsaKvbhk.js → Radio-rF6zdR5Y.js} +2 -2
  11. package/dist/{ScrollBody-D2IHKP6U.js → ScrollBody-5hUnHj_M.js} +1 -1
  12. package/dist/{Scrollbar-BYnCO8fv.js → Scrollbar-DTeJ8P5b.js} +2 -2
  13. package/dist/Tooltip-D5DO0B3z.js +105 -0
  14. package/dist/VirtualScroller-CHoFCmpP.js +75 -0
  15. package/dist/accordion/index.js +42 -39
  16. package/dist/accordion/style.css +271 -17
  17. package/dist/auto-complete/index.js +185 -124
  18. package/dist/auto-complete/style.css +445 -56
  19. package/dist/auto-complete/style.js +2 -0
  20. package/dist/avatar/index.js +2 -2
  21. package/dist/avatar/style.css +233 -22
  22. package/dist/badge/index.js +25 -20
  23. package/dist/badge/style.css +253 -24
  24. package/dist/block-ui/index.js +26 -13
  25. package/dist/block-ui/style.css +228 -17
  26. package/dist/breadcrumb/index.js +2 -2
  27. package/dist/breadcrumb/style.css +228 -17
  28. package/dist/button/index.js +2 -2
  29. package/dist/button/style.css +229 -18
  30. package/dist/card/index.js +1 -1
  31. package/dist/card/style.css +228 -17
  32. package/dist/carousel/index.js +74 -66
  33. package/dist/carousel/style.css +256 -28
  34. package/dist/cascade-select/index.js +172 -143
  35. package/dist/cascade-select/style.css +460 -61
  36. package/dist/cascade-select/style.js +1 -0
  37. package/dist/checkbox/index.js +2 -2
  38. package/dist/checkbox/style.css +228 -17
  39. package/dist/chip/index.js +2 -2
  40. package/dist/chip/style.css +236 -19
  41. package/dist/command-menu/index.js +58 -45
  42. package/dist/command-menu/style.css +234 -21
  43. package/dist/components/Accordion/Accordion.vue.d.ts +2 -2
  44. package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
  45. package/dist/components/Accordion/styles.css +43 -0
  46. package/dist/components/AutoComplete/AutoComplete.vue.d.ts +11 -4
  47. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  48. package/dist/components/AutoComplete/styles.css +9 -35
  49. package/dist/components/AutoComplete/types.d.ts +8 -0
  50. package/dist/components/AutoComplete/types.d.ts.map +1 -1
  51. package/dist/components/Avatar/styles.css +4 -4
  52. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  53. package/dist/components/Badge/styles.css +25 -7
  54. package/dist/components/BlockUI/BlockUI.vue.d.ts +2 -0
  55. package/dist/components/BlockUI/BlockUI.vue.d.ts.map +1 -1
  56. package/dist/components/BlockUI/types.d.ts +3 -0
  57. package/dist/components/BlockUI/types.d.ts.map +1 -1
  58. package/dist/components/Button/index.d.ts.map +1 -1
  59. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  60. package/dist/components/Carousel/styles.css +27 -10
  61. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts +2 -0
  62. package/dist/components/CascadeSelect/CascadeSelect.vue.d.ts.map +1 -1
  63. package/dist/components/CascadeSelect/styles.css +39 -38
  64. package/dist/components/CascadeSelect/types.d.ts +3 -0
  65. package/dist/components/CascadeSelect/types.d.ts.map +1 -1
  66. package/dist/components/Chip/styles.css +7 -1
  67. package/dist/components/CommandMenu/CommandMenu.vue.d.ts +2 -0
  68. package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
  69. package/dist/components/CommandMenu/styles.css +2 -0
  70. package/dist/components/CommandMenu/types.d.ts +3 -0
  71. package/dist/components/CommandMenu/types.d.ts.map +1 -1
  72. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +2 -0
  73. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
  74. package/dist/components/ConfigProvider/types.d.ts +1 -1
  75. package/dist/components/ConfigProvider/types.d.ts.map +1 -1
  76. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +2 -1
  77. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
  78. package/dist/components/ConfirmDialog/types.d.ts +3 -0
  79. package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
  80. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts +2 -0
  81. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
  82. package/dist/components/ConfirmPopup/types.d.ts +3 -0
  83. package/dist/components/ConfirmPopup/types.d.ts.map +1 -1
  84. package/dist/components/ContextMenu/ContextMenu.vue.d.ts +2 -0
  85. package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
  86. package/dist/components/ContextMenu/styles.css +2 -0
  87. package/dist/components/ContextMenu/types.d.ts +3 -0
  88. package/dist/components/ContextMenu/types.d.ts.map +1 -1
  89. package/dist/components/DataView/DataView.vue.d.ts +7 -7
  90. package/dist/components/DataView/DataView.vue.d.ts.map +1 -1
  91. package/dist/components/DataView/styles.css +0 -20
  92. package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -0
  93. package/dist/components/DatePicker/DatePicker.vue.d.ts.map +1 -1
  94. package/dist/components/DatePicker/types.d.ts +3 -0
  95. package/dist/components/DatePicker/types.d.ts.map +1 -1
  96. package/dist/components/Dialog/Dialog.vue.d.ts +2 -0
  97. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  98. package/dist/components/Dialog/index.d.ts.map +1 -1
  99. package/dist/components/Dialog/styles.css +190 -4
  100. package/dist/components/Dialog/types.d.ts +3 -0
  101. package/dist/components/Dialog/types.d.ts.map +1 -1
  102. package/dist/components/Drawer/Drawer.vue.d.ts +2 -0
  103. package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
  104. package/dist/components/Drawer/styles.css +189 -4
  105. package/dist/components/Drawer/types.d.ts +3 -0
  106. package/dist/components/Drawer/types.d.ts.map +1 -1
  107. package/dist/components/Dropdown/Dropdown.vue.d.ts +4 -2
  108. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  109. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +8 -9
  110. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  111. package/dist/components/Dropdown/styles.css +27 -4
  112. package/dist/components/Dropdown/types.d.ts +3 -0
  113. package/dist/components/Dropdown/types.d.ts.map +1 -1
  114. package/dist/components/Empty/index.d.ts.map +1 -1
  115. package/dist/components/Empty/styles.css +6 -6
  116. package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
  117. package/dist/components/Fieldset/styles.css +17 -6
  118. package/dist/components/FileUpload/FileUpload.vue.d.ts +1 -1
  119. package/dist/components/FloatLabel/styles.css +19 -7
  120. package/dist/components/Form/styles.css +21 -0
  121. package/dist/components/Icon/Icon.vue.d.ts.map +1 -1
  122. package/dist/components/Icon/icon-categories.d.ts.map +1 -1
  123. package/dist/components/Icon/icons-types.d.ts +4 -2
  124. package/dist/components/Icon/icons-types.d.ts.map +1 -1
  125. package/dist/components/Icon/icons.d.ts +250 -561
  126. package/dist/components/Icon/icons.d.ts.map +1 -1
  127. package/dist/components/Icon/index.d.ts +2 -2
  128. package/dist/components/Icon/index.d.ts.map +1 -1
  129. package/dist/components/Icon/styles.css +1 -1
  130. package/dist/components/Input/index.d.ts.map +1 -1
  131. package/dist/components/Input/styles.css +19 -2
  132. package/dist/components/InputTags/styles.css +3 -1
  133. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  134. package/dist/components/Layout/styles.css +29 -16
  135. package/dist/components/Layout/types.d.ts +4 -2
  136. package/dist/components/Layout/types.d.ts.map +1 -1
  137. package/dist/components/Listbox/Listbox.vue.d.ts +7 -2
  138. package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
  139. package/dist/components/Listbox/styles.css +10 -0
  140. package/dist/components/Listbox/types.d.ts +5 -0
  141. package/dist/components/Listbox/types.d.ts.map +1 -1
  142. package/dist/components/Loading/Loading.vue.d.ts +2 -0
  143. package/dist/components/Loading/Loading.vue.d.ts.map +1 -1
  144. package/dist/components/Loading/LoadingIndicator.vue.d.ts.map +1 -1
  145. package/dist/components/Loading/loading.d.ts.map +1 -1
  146. package/dist/components/Loading/styles.css +25 -17
  147. package/dist/components/Loading/types.d.ts +3 -0
  148. package/dist/components/Loading/types.d.ts.map +1 -1
  149. package/dist/components/MegaMenu/MegaMenu.vue.d.ts +2 -0
  150. package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
  151. package/dist/components/MegaMenu/styles.css +1 -0
  152. package/dist/components/MegaMenu/types.d.ts +3 -0
  153. package/dist/components/MegaMenu/types.d.ts.map +1 -1
  154. package/dist/components/Menu/Menu.vue.d.ts +3 -1
  155. package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
  156. package/dist/components/Menu/styles.css +16 -9
  157. package/dist/components/Menu/types.d.ts +3 -0
  158. package/dist/components/Menu/types.d.ts.map +1 -1
  159. package/dist/components/Menubar/Menubar.vue.d.ts +2 -0
  160. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  161. package/dist/components/Menubar/styles.css +8 -0
  162. package/dist/components/Menubar/types.d.ts +3 -0
  163. package/dist/components/Menubar/types.d.ts.map +1 -1
  164. package/dist/components/Message/Message.vue.d.ts +2 -0
  165. package/dist/components/Message/Message.vue.d.ts.map +1 -1
  166. package/dist/components/Message/types.d.ts +3 -0
  167. package/dist/components/Message/types.d.ts.map +1 -1
  168. package/dist/components/MeterGroup/styles.css +2 -2
  169. package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
  170. package/dist/components/Panel/styles.css +21 -6
  171. package/dist/components/Popover/Popover.vue.d.ts +2 -0
  172. package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
  173. package/dist/components/Popover/types.d.ts +3 -0
  174. package/dist/components/Popover/types.d.ts.map +1 -1
  175. package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
  176. package/dist/components/ProgressBar/styles.css +30 -8
  177. package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
  178. package/dist/components/ProgressSpinner/styles.css +3 -3
  179. package/dist/components/Result/index.d.ts.map +1 -1
  180. package/dist/components/Result/styles.css +17 -17
  181. package/dist/components/ScrollTop/ScrollTop.vue.d.ts +1 -1
  182. package/dist/components/Scrollbar/Scrollbar.vue.d.ts +1 -1
  183. package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
  184. package/dist/components/Scrollbar/styles.css +3 -3
  185. package/dist/components/Select/Select.vue.d.ts +15 -4
  186. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  187. package/dist/components/Select/index.d.ts.map +1 -1
  188. package/dist/components/Select/styles.css +42 -91
  189. package/dist/components/Select/types.d.ts +19 -1
  190. package/dist/components/Select/types.d.ts.map +1 -1
  191. package/dist/components/Sidebar/styles.css +8 -10
  192. package/dist/components/Skeleton/Skeleton.vue.d.ts +1 -1
  193. package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
  194. package/dist/components/Slider/Slider.vue.d.ts +1 -1
  195. package/dist/components/Slider/styles.css +9 -0
  196. package/dist/components/SpeedDial/SpeedDial.vue.d.ts +2 -0
  197. package/dist/components/SpeedDial/SpeedDial.vue.d.ts.map +1 -1
  198. package/dist/components/SpeedDial/types.d.ts +3 -0
  199. package/dist/components/SpeedDial/types.d.ts.map +1 -1
  200. package/dist/components/SplitButton/SplitButton.vue.d.ts +2 -0
  201. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  202. package/dist/components/SplitButton/styles.css +5 -0
  203. package/dist/components/SplitButton/types.d.ts +3 -0
  204. package/dist/components/SplitButton/types.d.ts.map +1 -1
  205. package/dist/components/Splitter/Splitter.vue.d.ts +5 -3
  206. package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
  207. package/dist/components/Splitter/index.d.ts +1 -1
  208. package/dist/components/Splitter/index.d.ts.map +1 -1
  209. package/dist/components/Splitter/styles.css +12 -0
  210. package/dist/components/Splitter/types.d.ts +9 -3
  211. package/dist/components/Splitter/types.d.ts.map +1 -1
  212. package/dist/components/Status/Status.vue.d.ts.map +1 -1
  213. package/dist/components/Status/index.d.ts.map +1 -1
  214. package/dist/components/Status/styles.css +18 -16
  215. package/dist/components/Switch/Switch.vue.d.ts +1 -1
  216. package/dist/components/Table/Table.vue.d.ts +26 -26
  217. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  218. package/dist/components/Table/TableLoadingLine.vue.d.ts.map +1 -1
  219. package/dist/components/Table/hooks/useTotalItems.d.ts.map +1 -1
  220. package/dist/components/Table/styles.css +60 -40
  221. package/dist/components/Tag/styles.css +4 -2
  222. package/dist/components/TieredMenu/TieredMenu.vue.d.ts +3 -1
  223. package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
  224. package/dist/components/TieredMenu/styles.css +2 -0
  225. package/dist/components/TieredMenu/types.d.ts +3 -0
  226. package/dist/components/TieredMenu/types.d.ts.map +1 -1
  227. package/dist/components/Toast/Toast.vue.d.ts +2 -0
  228. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  229. package/dist/components/Toast/types.d.ts +3 -0
  230. package/dist/components/Toast/types.d.ts.map +1 -1
  231. package/dist/components/Toolbar/styles.css +1 -0
  232. package/dist/components/Tooltip/Tooltip.vue.d.ts +2 -0
  233. package/dist/components/Tooltip/Tooltip.vue.d.ts.map +1 -1
  234. package/dist/components/Tooltip/types.d.ts +3 -0
  235. package/dist/components/Tooltip/types.d.ts.map +1 -1
  236. package/dist/components/Tree/styles.css +1 -1
  237. package/dist/components/TreeSelect/TreeSelect.vue.d.ts +2 -0
  238. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  239. package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts +2 -0
  240. package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
  241. package/dist/components/TreeSelect/styles.css +5 -57
  242. package/dist/components/TreeSelect/types.d.ts +3 -0
  243. package/dist/components/TreeSelect/types.d.ts.map +1 -1
  244. package/dist/components/TreeTable/styles.css +1 -1
  245. package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts +7 -3
  246. package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts.map +1 -1
  247. package/dist/components/VirtualScroller/index.d.ts +1 -1
  248. package/dist/components/VirtualScroller/index.d.ts.map +1 -1
  249. package/dist/components/VirtualScroller/types.d.ts +5 -0
  250. package/dist/components/VirtualScroller/types.d.ts.map +1 -1
  251. package/dist/{config-BdK5ccNT.js → config-CapALqt3.js} +10 -2
  252. package/dist/config-provider/index.js +5 -3
  253. package/dist/config-provider/style.css +247 -19
  254. package/dist/confirm-dialog/index.js +87 -74
  255. package/dist/confirm-dialog/style.css +419 -22
  256. package/dist/confirm-popup/index.js +82 -68
  257. package/dist/confirm-popup/style.css +229 -18
  258. package/dist/context-menu/index.js +112 -99
  259. package/dist/context-menu/style.css +234 -21
  260. package/dist/data-view/index.js +49 -49
  261. package/dist/data-view/style.css +623 -123
  262. package/dist/data-view/style.js +1 -1
  263. package/dist/date-picker/index.js +166 -152
  264. package/dist/date-picker/style.css +229 -18
  265. package/dist/dialog/index.js +76 -63
  266. package/dist/dialog/style.css +419 -22
  267. package/dist/divider/style.css +228 -17
  268. package/dist/dock/index.js +3 -3
  269. package/dist/dock/style.css +229 -18
  270. package/dist/drawer/index.js +72 -61
  271. package/dist/drawer/style.css +418 -22
  272. package/dist/dropdown/index.js +157 -124
  273. package/dist/dropdown/style.css +259 -25
  274. package/dist/empty/index.js +3 -3
  275. package/dist/empty/style.css +235 -24
  276. package/dist/fieldset/index.js +19 -19
  277. package/dist/fieldset/style.css +246 -24
  278. package/dist/file-upload/index.js +3 -3
  279. package/dist/file-upload/style.css +229 -18
  280. package/dist/flex/index.js +2 -2
  281. package/dist/flex/style.css +228 -17
  282. package/dist/float-label/index.js +1 -1
  283. package/dist/float-label/style.css +247 -24
  284. package/dist/fluid/index.js +1 -1
  285. package/dist/fluid/style.css +228 -17
  286. package/dist/form/index.js +2 -2
  287. package/dist/form/style.css +249 -17
  288. package/dist/gallery/index.js +4 -4
  289. package/dist/gallery/style.css +232 -21
  290. package/dist/grid/index.js +1 -1
  291. package/dist/grid/style.css +228 -17
  292. package/dist/icon/index.js +93 -39
  293. package/dist/icon/style.css +229 -18
  294. package/dist/icon-COrt_N8A.js +18 -0
  295. package/dist/icon-field/index.js +2 -2
  296. package/dist/icon-field/style.css +247 -19
  297. package/dist/index.d.ts +5 -5
  298. package/dist/index.d.ts.map +1 -1
  299. package/dist/index.js +5964 -5327
  300. package/dist/inplace/index.js +1 -1
  301. package/dist/inplace/style.css +228 -17
  302. package/dist/input/index.js +4 -4
  303. package/dist/input/style.css +248 -20
  304. package/dist/input-color/index.js +3 -3
  305. package/dist/input-color/style.css +228 -17
  306. package/dist/input-group/index.js +1 -1
  307. package/dist/input-group/style.css +228 -17
  308. package/dist/input-number/index.js +4 -4
  309. package/dist/input-number/style.css +229 -18
  310. package/dist/input-otp/index.js +3 -3
  311. package/dist/input-otp/style.css +228 -17
  312. package/dist/input-password/index.js +4 -4
  313. package/dist/input-password/style.css +229 -18
  314. package/dist/input-tags/index.js +4 -4
  315. package/dist/input-tags/style.css +232 -19
  316. package/dist/knob/index.js +1 -1
  317. package/dist/knob/style.css +228 -17
  318. package/dist/label/index.js +1 -1
  319. package/dist/label/style.css +228 -17
  320. package/dist/layout/index.js +7 -7
  321. package/dist/layout/style.css +261 -37
  322. package/dist/listbox/index.js +142 -87
  323. package/dist/listbox/style.css +269 -20
  324. package/dist/listbox/style.js +1 -0
  325. package/dist/loading/index.js +32 -407
  326. package/dist/loading/style.css +253 -34
  327. package/dist/{locale-B36KH7c3.js → locale-Bzm2nbEp.js} +1 -1
  328. package/dist/mega-menu/index.js +131 -119
  329. package/dist/mega-menu/style.css +230 -18
  330. package/dist/menu/index.js +278 -261
  331. package/dist/menu/style.css +248 -30
  332. package/dist/menubar/index.js +148 -133
  333. package/dist/menubar/style.css +240 -21
  334. package/dist/message/index.js +120 -107
  335. package/dist/message/style.css +229 -18
  336. package/dist/meter-group/index.js +1 -1
  337. package/dist/meter-group/style.css +230 -19
  338. package/dist/order-list/index.js +4 -4
  339. package/dist/order-list/style.css +229 -18
  340. package/dist/page/index.js +3 -3
  341. package/dist/page/style.css +229 -18
  342. package/dist/pagination/index.js +1 -1
  343. package/dist/pagination/style.css +229 -18
  344. package/dist/panel/index.js +31 -31
  345. package/dist/panel/style.css +250 -24
  346. package/dist/pick-list/index.js +4 -4
  347. package/dist/pick-list/style.css +229 -18
  348. package/dist/popover/index.js +1 -1
  349. package/dist/popover/style.css +228 -17
  350. package/dist/progress-bar/index.js +5 -2
  351. package/dist/progress-bar/style.css +258 -25
  352. package/dist/progress-spinner/index.js +105 -2
  353. package/dist/progress-spinner/style.css +231 -20
  354. package/dist/radio/index.js +2 -2
  355. package/dist/radio/style.css +228 -17
  356. package/dist/rating/index.js +4 -4
  357. package/dist/rating/style.css +229 -18
  358. package/dist/result/index.js +3 -3
  359. package/dist/result/style.css +246 -35
  360. package/dist/scroll-top/index.js +4 -4
  361. package/dist/scroll-top/style.css +232 -21
  362. package/dist/scrollbar/index.js +1 -1
  363. package/dist/scrollbar/style.css +231 -20
  364. package/dist/select/index.js +343 -181
  365. package/dist/select/style.css +491 -114
  366. package/dist/select/style.js +2 -0
  367. package/dist/select-button/index.js +2 -2
  368. package/dist/select-button/style.css +228 -17
  369. package/dist/shared/FlyoutSubmenu.vue.d.ts.map +1 -1
  370. package/dist/shared/componentDefaults.d.ts +62 -0
  371. package/dist/shared/componentDefaults.d.ts.map +1 -1
  372. package/dist/shared/config.d.ts +13 -2
  373. package/dist/shared/config.d.ts.map +1 -1
  374. package/dist/shared/menu/icon.d.ts.map +1 -1
  375. package/dist/shared/styles/control-suffix.css +13 -2
  376. package/dist/shared/styles/select-overlay.css +175 -0
  377. package/dist/shared/useFloatingViewportSync.d.ts +10 -0
  378. package/dist/shared/useFloatingViewportSync.d.ts.map +1 -0
  379. package/dist/shared/usePauseOffscreen.d.ts +14 -0
  380. package/dist/shared/usePauseOffscreen.d.ts.map +1 -0
  381. package/dist/sidebar/index.js +4 -4
  382. package/dist/sidebar/style.css +237 -28
  383. package/dist/skeleton/index.js +34 -19
  384. package/dist/skeleton/style.css +228 -17
  385. package/dist/slider/index.js +3 -3
  386. package/dist/slider/style.css +237 -17
  387. package/dist/space/index.js +2 -2
  388. package/dist/space/style.css +228 -17
  389. package/dist/speed-dial/index.js +112 -98
  390. package/dist/speed-dial/style.css +229 -18
  391. package/dist/split-button/index.js +106 -92
  392. package/dist/split-button/style.css +234 -18
  393. package/dist/splitter/index.js +94 -80
  394. package/dist/splitter/style.css +240 -17
  395. package/dist/status/index.js +30 -26
  396. package/dist/status/style.css +247 -34
  397. package/dist/stepper/index.js +2 -2
  398. package/dist/stepper/style.css +229 -18
  399. package/dist/styles/base.css +132 -5
  400. package/dist/styles.css +1 -1
  401. package/dist/switch/index.js +2 -2
  402. package/dist/switch/style.css +228 -17
  403. package/dist/table/index.js +351 -349
  404. package/dist/table/style.css +687 -147
  405. package/dist/table/style.js +1 -1
  406. package/dist/tabs/index.js +4 -4
  407. package/dist/tabs/style.css +232 -21
  408. package/dist/tag/index.js +3 -3
  409. package/dist/tag/style.css +233 -20
  410. package/dist/terminal/index.js +3 -3
  411. package/dist/terminal/style.css +228 -17
  412. package/dist/textarea/index.js +4 -4
  413. package/dist/textarea/style.css +229 -18
  414. package/dist/theme/index.d.ts +4 -0
  415. package/dist/theme/index.d.ts.map +1 -1
  416. package/dist/theme/motionPresets.d.ts +30 -0
  417. package/dist/theme/motionPresets.d.ts.map +1 -0
  418. package/dist/theme/styles.css +96 -12
  419. package/dist/theme/tokens.d.ts +17 -0
  420. package/dist/theme/tokens.d.ts.map +1 -1
  421. package/dist/theme/useMotion.d.ts.map +1 -1
  422. package/dist/theme/useMotionTransition.d.ts +19 -0
  423. package/dist/theme/useMotionTransition.d.ts.map +1 -0
  424. package/dist/tiered-menu/index.js +81 -67
  425. package/dist/tiered-menu/style.css +234 -21
  426. package/dist/timeline/index.js +3 -3
  427. package/dist/timeline/style.css +232 -21
  428. package/dist/toast/index.js +49 -36
  429. package/dist/toast/style.css +229 -18
  430. package/dist/toggle-button/index.js +3 -3
  431. package/dist/toggle-button/style.css +229 -18
  432. package/dist/toolbar/index.js +1 -1
  433. package/dist/toolbar/style.css +229 -17
  434. package/dist/tooltip/index.js +1 -1
  435. package/dist/tooltip/style.css +228 -17
  436. package/dist/tree/index.js +5 -8
  437. package/dist/tree/style.css +230 -19
  438. package/dist/tree-select/index.js +228 -203
  439. package/dist/tree-select/style.css +427 -81
  440. package/dist/tree-select/style.js +1 -0
  441. package/dist/tree-table/index.js +4 -4
  442. package/dist/tree-table/style.css +230 -19
  443. package/dist/{useComponentAttrs-BTYEe61P.js → useComponentAttrs-e-5QAjdw.js} +1 -1
  444. package/dist/useFloatingViewportSync-DZdJ7W8n.js +19 -0
  445. package/dist/useMotionTransition-Bxnnb_9u.js +49 -0
  446. package/dist/usePauseOffscreen-BIikV_gj.js +25 -0
  447. package/dist/virtual-scroller/index.js +2 -56
  448. package/dist/virtual-scroller/style.css +231 -20
  449. package/package.json +2 -1
  450. package/dist/FlyoutSubmenu-B_bkgKag.js +0 -49
  451. package/dist/Icon-B6IBrJ5S.js +0 -606
  452. package/dist/Popover-Dq_p0vib.js +0 -166
  453. package/dist/ProgressSpinner-DuBpPkna.js +0 -90
  454. package/dist/Tooltip-CU1xFt_N.js +0 -93
  455. package/dist/components/Icon/icons-tabler.d.ts +0 -77
  456. package/dist/components/Icon/icons-tabler.d.ts.map +0 -1
  457. package/dist/icon-iOBeyIRp.js +0 -27
@@ -0,0 +1,420 @@
1
+ import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
+ import { i as t } from "./types-DGuu4Eg4.js";
3
+ import { t as n } from "./usePauseOffscreen-BIikV_gj.js";
4
+ import { n as r, t as i } from "./useMotionTransition-Bxnnb_9u.js";
5
+ import { n as a } from "./overlay-oR-5MDuE.js";
6
+ import { i as o } from "./content-h8POj44-.js";
7
+ import { t as s } from "./overlayHost-78CGtMgR.js";
8
+ import { c, i as l, l as u, t as d } from "./config-CapALqt3.js";
9
+ import { n as f } from "./locale-Bzm2nbEp.js";
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 E, normalizeStyle as D, onBeforeUnmount as O, openBlock as k, reactive as A, ref as j, render as M, renderList as N, renderSlot as P, toDisplayString as F, toValue as I, unref as L, useAttrs as ee, useSlots as te, watch as R, withCtx as z } from "vue";
11
+ //#region src/components/Loading/types.ts
12
+ var B = [
13
+ "circular",
14
+ "aurora",
15
+ "bounce",
16
+ "wave",
17
+ "pulse",
18
+ "stardust"
19
+ ], V = new Set(B);
20
+ function H(e) {
21
+ return typeof e == "string" && V.has(e);
22
+ }
23
+ function U(e) {
24
+ return H(e) ? e : "circular";
25
+ }
26
+ //#endregion
27
+ //#region src/components/Loading/LoadingIndicator.vue?vue&type=script&setup=true&lang.ts
28
+ var W = ["aria-label"], G = {
29
+ class: "m-loading-indicator__graphic",
30
+ "aria-hidden": "true"
31
+ }, ne = {
32
+ key: 0,
33
+ class: "m-loading-aurora"
34
+ }, re = {
35
+ key: 1,
36
+ class: "m-loading-bounce"
37
+ }, ie = {
38
+ key: 2,
39
+ class: "m-loading-wave"
40
+ }, ae = {
41
+ key: 3,
42
+ class: "m-loading-pulse"
43
+ }, oe = {
44
+ key: 4,
45
+ class: "m-loading-stardust"
46
+ }, se = {
47
+ key: 5,
48
+ class: "m-loading-circular"
49
+ }, ce = {
50
+ key: 0,
51
+ class: "m-loading-indicator__tip"
52
+ }, K = /* @__PURE__ */ C({
53
+ name: "MLoadingIndicator",
54
+ __name: "LoadingIndicator",
55
+ props: {
56
+ effect: {},
57
+ text: {},
58
+ ariaLabel: {},
59
+ size: {}
60
+ },
61
+ setup(e) {
62
+ let r = e, i = f(), a = j(null), { pauseAttrs: o } = n(a, !0), s = l("Loading"), c = g(() => U(r.effect ?? s.value.effect)), u = g(() => r.size ?? s.value.size), d = g(() => {
63
+ let e = t(u.value);
64
+ return {
65
+ "m-loading-indicator--small": e === "small",
66
+ "m-loading-indicator--large": e === "large"
67
+ };
68
+ }), m = g(() => r.ariaLabel ?? (r.text ? void 0 : i.value.loading));
69
+ return (t, n) => (k(), y("div", T({
70
+ ref_key: "rootRef",
71
+ ref: a
72
+ }, L(o), {
73
+ class: ["m-loading-indicator", d.value],
74
+ role: "status",
75
+ "aria-live": "polite",
76
+ "aria-label": m.value
77
+ }), [b("div", G, [c.value === "aurora" ? (k(), y("div", ne, [...n[0] ||= [b("div", { class: "m-loading-aurora__ring" }, null, -1), b("div", { class: "m-loading-aurora__glow" }, null, -1)]])) : c.value === "bounce" ? (k(), y("div", re, [...n[1] ||= [
78
+ b("span", { class: "m-loading-bounce__ball" }, null, -1),
79
+ b("span", { class: "m-loading-bounce__ball" }, null, -1),
80
+ b("span", { class: "m-loading-bounce__ball" }, null, -1)
81
+ ]])) : c.value === "wave" ? (k(), y("div", ie, [...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" ? (k(), y("div", ae, [...n[3] ||= [
82
+ b("span", { class: "m-loading-pulse__ring" }, null, -1),
83
+ b("span", { class: "m-loading-pulse__ring" }, null, -1),
84
+ b("span", { class: "m-loading-pulse__ring" }, null, -1),
85
+ b("span", { class: "m-loading-pulse__ring" }, null, -1)
86
+ ]])) : c.value === "stardust" ? (k(), y("div", oe, [(k(), y(p, null, N(8, (e) => b("span", {
87
+ key: e,
88
+ class: "m-loading-stardust__dot",
89
+ style: D({ "--i": String(e - 1) })
90
+ }, null, 4)), 64))])) : (k(), y("div", se, [...n[4] ||= [b("svg", {
91
+ class: "m-loading-circular__svg",
92
+ viewBox: "0 0 50 50"
93
+ }, [b("circle", {
94
+ class: "m-loading-circular__path",
95
+ cx: "25",
96
+ cy: "25",
97
+ r: "20",
98
+ fill: "none"
99
+ })], -1)]]))]), e.text ? (k(), y("p", ce, F(e.text), 1)) : v("", !0)], 16, W));
100
+ }
101
+ });
102
+ //#endregion
103
+ //#region src/components/Loading/loading.ts
104
+ function le(e) {
105
+ let t = e ?? s();
106
+ if (!t) return;
107
+ let n = t.provides?.[d];
108
+ return n == null ? t.config.globalProperties.$m : I(n);
109
+ }
110
+ function ue(e) {
111
+ let t = le(e);
112
+ return r({
113
+ rolePreset: t?.motion?.transitions?.overlay,
114
+ componentDefault: u(t?.componentDefaults, "Loading", "transition"),
115
+ fallback: "loading"
116
+ });
117
+ }
118
+ var q = /* @__PURE__ */ new Set(), J = null, Y = 0, X = "";
119
+ function Z() {
120
+ typeof document > "u" || (Y === 0 && (X = document.body.style.overflow), Y += 1, document.body.style.overflow = "hidden");
121
+ }
122
+ function Q() {
123
+ typeof document > "u" || (Y = Math.max(0, Y - 1), Y === 0 && (document.body.style.overflow = X));
124
+ }
125
+ function de(e) {
126
+ if (typeof document > "u") throw Error("[MLoading] service is only available in the browser");
127
+ if (!e || e === document.body) return document.body;
128
+ if (typeof e == "string") {
129
+ let t = document.querySelector(e);
130
+ if (!(t instanceof HTMLElement)) throw TypeError(`[MLoading] target not found: ${e}`);
131
+ return t;
132
+ }
133
+ return e;
134
+ }
135
+ function fe(e) {
136
+ let t = 0;
137
+ return () => {
138
+ t ||= requestAnimationFrame(() => {
139
+ t = 0, e();
140
+ });
141
+ };
142
+ }
143
+ function $(e) {
144
+ let t = A({
145
+ visible: !e.delay,
146
+ text: e.text ?? "",
147
+ effect: e.effect,
148
+ background: e.background,
149
+ customClass: e.customClass,
150
+ size: e.size,
151
+ fullscreen: !!e.fullscreen,
152
+ body: !!e.body && !e.fullscreen,
153
+ spinner: e.spinner,
154
+ top: 0,
155
+ left: 0,
156
+ width: 0,
157
+ height: 0
158
+ });
159
+ t.fullscreen && J && J.destroy();
160
+ let n = document.createElement("div");
161
+ (t.fullscreen || t.body ? document.body : e.target).appendChild(n);
162
+ let r = !1;
163
+ if (!t.fullscreen && !t.body) {
164
+ let t = getComputedStyle(e.target).position;
165
+ (!t || t === "static") && (e.target.classList.add("m-loading-parent--relative"), r = !0);
166
+ }
167
+ e.target.setAttribute("aria-busy", "true");
168
+ let i = !1;
169
+ function a(e) {
170
+ if (e && !i) {
171
+ Z(), i = !0;
172
+ return;
173
+ }
174
+ !e && i && (Q(), i = !1);
175
+ }
176
+ t.visible && a(!!e.lock);
177
+ function c() {
178
+ if (!t.body) return;
179
+ let n = e.target.getBoundingClientRect();
180
+ t.top = n.top, t.left = n.left, t.width = n.width, t.height = n.height;
181
+ }
182
+ let l = fe(c), u = null;
183
+ t.body && (c(), window.addEventListener("scroll", l, !0), window.addEventListener("resize", l), typeof ResizeObserver < "u" && (u = new ResizeObserver(l), u.observe(e.target)));
184
+ let d = null;
185
+ e.delay && e.delay > 0 && (d = setTimeout(() => {
186
+ d = null, t.visible = !0, a(!!e.lock);
187
+ }, e.delay));
188
+ let f = null, p = !1, m = !1, g = null;
189
+ function _() {
190
+ m || (m = !0, p = !0, d !== null && (clearTimeout(d), d = null), f !== null && (clearTimeout(f), f = null), a(!1), t.body && (window.removeEventListener("scroll", l, !0), window.removeEventListener("resize", l), u?.disconnect(), u = null), r && e.target.classList.remove("m-loading-parent--relative"), e.target.getAttribute("aria-busy") === "true" && e.target.removeAttribute("aria-busy"), M(null, n), n.remove(), g && (q.delete(g), J === g && (J = null)));
191
+ }
192
+ let v = C({
193
+ name: "MLoadingMask",
194
+ setup() {
195
+ let n = ue(e.appContext);
196
+ return () => w(h, {
197
+ name: n,
198
+ css: n !== void 0,
199
+ appear: !0,
200
+ duration: {
201
+ enter: 180,
202
+ leave: 130
203
+ },
204
+ onAfterLeave: () => _()
205
+ }, { default: () => {
206
+ if (!t.visible) return null;
207
+ let e = [
208
+ "m-loading-mask",
209
+ t.fullscreen ? "m-loading-mask--fullscreen" : void 0,
210
+ t.body ? "m-loading-mask--body" : void 0,
211
+ t.customClass || void 0
212
+ ].filter((e) => !!e), n = {};
213
+ t.background && (n.background = t.background), t.body && (n.top = `${t.top}px`, n.left = `${t.left}px`, n.width = `${t.width}px`, n.height = `${t.height}px`);
214
+ let r = t.spinner ? o(t.spinner) : w(K, {
215
+ effect: t.effect,
216
+ size: t.size,
217
+ text: t.text || void 0
218
+ });
219
+ return w("div", {
220
+ class: e,
221
+ style: n
222
+ }, [r]);
223
+ } });
224
+ }
225
+ });
226
+ g = {
227
+ fullscreen: t.fullscreen,
228
+ destroy: _,
229
+ close() {
230
+ if (!p) {
231
+ if (p = !0, d !== null) {
232
+ clearTimeout(d), d = null, _();
233
+ return;
234
+ }
235
+ if (!t.visible) {
236
+ _();
237
+ return;
238
+ }
239
+ t.visible = !1, f = setTimeout(_, 200);
240
+ }
241
+ }
242
+ }, q.add(g), t.fullscreen && (J = g);
243
+ let y = w(v);
244
+ return y.appContext = e.appContext ?? s(), M(y, n), {
245
+ close: () => g.close(),
246
+ destroy: () => _(),
247
+ setText(e) {
248
+ m || (t.text = e);
249
+ },
250
+ update(e) {
251
+ m || (e.text !== void 0 && (t.text = e.text), e.effect !== void 0 && (t.effect = e.effect), e.background !== void 0 && (t.background = e.background), e.customClass !== void 0 && (t.customClass = e.customClass), e.size !== void 0 && (t.size = e.size), e.spinner !== void 0 && (t.spinner = e.spinner), e.lock !== void 0 && t.visible && a(e.lock));
252
+ }
253
+ };
254
+ }
255
+ function pe() {
256
+ return {
257
+ close() {},
258
+ setText() {},
259
+ destroy() {}
260
+ };
261
+ }
262
+ function me(e = {}) {
263
+ if (typeof document > "u") return pe();
264
+ let t = e.fullscreen ?? (e.target == null && !e.body), n = $({
265
+ target: t ? document.body : de(e.target ?? document.body),
266
+ fullscreen: t,
267
+ body: !!e.body && !t,
268
+ lock: e.lock,
269
+ text: e.text,
270
+ effect: e.effect,
271
+ background: e.background,
272
+ customClass: e.customClass,
273
+ size: e.size,
274
+ delay: e.delay,
275
+ spinner: e.spinner
276
+ });
277
+ return {
278
+ close: () => n.close(),
279
+ setText: (e) => n.setText(e),
280
+ destroy: () => n.destroy()
281
+ };
282
+ }
283
+ var he = { service: me }, ge = ["aria-busy"], _e = ["inert"], ve = /* @__PURE__ */ C({
284
+ name: "MLoading",
285
+ inheritAttrs: !1,
286
+ __name: "Loading",
287
+ props: {
288
+ pt: {},
289
+ loading: {
290
+ type: Boolean,
291
+ default: !0
292
+ },
293
+ effect: {},
294
+ text: {},
295
+ ariaLabel: {},
296
+ size: {},
297
+ background: {},
298
+ customClass: {},
299
+ fullscreen: {
300
+ type: Boolean,
301
+ default: !1
302
+ },
303
+ lock: {
304
+ type: Boolean,
305
+ default: !1
306
+ },
307
+ delay: { default: 0 },
308
+ transition: {
309
+ type: [String, Boolean],
310
+ default: void 0
311
+ }
312
+ },
313
+ setup(t) {
314
+ let n = t, r = ee(), o = te(), { rootAttrs: s } = e(r, () => n.pt), u = l("Loading"), d = c(), { transitionName: f, transitionCss: x } = i({
315
+ role: "overlay",
316
+ local: () => n.transition,
317
+ componentName: "Loading",
318
+ fallback: "loading"
319
+ }), C = g(() => !!o.default), w = g(() => C.value || n.fullscreen), A = g(() => U(n.effect ?? u.value.effect)), M = g(() => n.size ?? u.value.size), N = g(() => n.delay ?? u.value.delay ?? 0), F = g(() => n.background ? { background: n.background } : void 0), I = g(() => a(n.fullscreen ? {
320
+ teleport: !0,
321
+ appendTo: "body"
322
+ } : { teleport: !1 }, d.value.appendTo)), B = j(n.loading && N.value <= 0), V = null;
323
+ function H() {
324
+ V !== null && (clearTimeout(V), V = null);
325
+ }
326
+ R(() => [
327
+ n.loading,
328
+ N.value,
329
+ w.value
330
+ ], ([e, t]) => {
331
+ if (H(), !e || !w.value) {
332
+ B.value = !1;
333
+ return;
334
+ }
335
+ if (!t) {
336
+ B.value = !0;
337
+ return;
338
+ }
339
+ B.value = !1, V = setTimeout(() => {
340
+ B.value = !0, V = null;
341
+ }, t);
342
+ }, { immediate: !0 });
343
+ let W = g(() => n.lock && B.value && w.value), G = !1;
344
+ return R(W, (e) => {
345
+ if (e && !G) {
346
+ Z(), G = !0;
347
+ return;
348
+ }
349
+ !e && G && (Q(), G = !1);
350
+ }, { immediate: !0 }), O(() => {
351
+ H(), G &&= (Q(), !1);
352
+ }), (e, n) => w.value ? (k(), y(p, { key: 0 }, [C.value ? (k(), y("div", T({ key: 0 }, L(s), {
353
+ class: ["m-loading", { "m-loading--active": B.value }],
354
+ "aria-busy": B.value || void 0
355
+ }), [b("div", {
356
+ class: "m-loading__content",
357
+ inert: B.value || void 0
358
+ }, [P(e.$slots, "default")], 8, _e), (k(), _(m, {
359
+ to: I.value.to,
360
+ disabled: I.value.disabled
361
+ }, [S(h, {
362
+ name: L(f),
363
+ css: L(x)
364
+ }, {
365
+ default: z(() => [B.value ? (k(), y("div", {
366
+ key: 0,
367
+ class: E(["m-loading-mask", [{ "m-loading-mask--fullscreen": t.fullscreen }, t.customClass]]),
368
+ style: D(F.value)
369
+ }, [P(e.$slots, "indicator", {}, () => [S(K, {
370
+ effect: A.value,
371
+ size: M.value,
372
+ text: t.text,
373
+ "aria-label": t.ariaLabel
374
+ }, null, 8, [
375
+ "effect",
376
+ "size",
377
+ "text",
378
+ "aria-label"
379
+ ])])], 6)) : v("", !0)]),
380
+ _: 3
381
+ }, 8, ["name", "css"])], 8, ["to", "disabled"]))], 16, ge)) : (k(), _(m, {
382
+ key: 1,
383
+ to: I.value.to,
384
+ disabled: I.value.disabled
385
+ }, [S(h, {
386
+ name: L(f),
387
+ css: L(x)
388
+ }, {
389
+ default: z(() => [B.value ? (k(), y("div", T({ key: 0 }, L(s), {
390
+ class: ["m-loading-mask m-loading-mask--fullscreen", t.customClass],
391
+ style: F.value,
392
+ role: "presentation",
393
+ "aria-busy": "true"
394
+ }), [P(e.$slots, "indicator", {}, () => [S(K, {
395
+ effect: A.value,
396
+ size: M.value,
397
+ text: t.text,
398
+ "aria-label": t.ariaLabel
399
+ }, null, 8, [
400
+ "effect",
401
+ "size",
402
+ "text",
403
+ "aria-label"
404
+ ])])], 16)) : v("", !0)]),
405
+ _: 3
406
+ }, 8, ["name", "css"])], 8, ["to", "disabled"]))], 64)) : (k(), _(K, T({ key: 1 }, L(s), {
407
+ effect: A.value,
408
+ size: M.value,
409
+ text: t.text,
410
+ "aria-label": t.ariaLabel
411
+ }), null, 16, [
412
+ "effect",
413
+ "size",
414
+ "text",
415
+ "aria-label"
416
+ ]));
417
+ }
418
+ });
419
+ //#endregion
420
+ export { H as a, B as i, he as n, U as o, $ as r, ve as t };
@@ -1,6 +1,6 @@
1
- import { r as e } from "./useComponentAttrs-BTYEe61P.js";
2
- import { t } from "./Icon-B6IBrJ5S.js";
3
- import { n, t as r } from "./locale-B36KH7c3.js";
1
+ import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
+ import { t } from "./Icon-od9Ob-Ay.js";
3
+ import { n, t as r } from "./locale-Bzm2nbEp.js";
4
4
  import { Fragment as i, computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, mergeProps as d, normalizeClass as f, openBlock as p, ref as m, renderList as h, toDisplayString as g, unref as _, useAttrs as v, withKeys as y, withModifiers as b } from "vue";
5
5
  //#region src/components/Pagination/Pagination.vue?vue&type=script&setup=true&lang.ts
6
6
  var x = ["aria-label"], S = ["disabled", "aria-label"], C = {
@@ -0,0 +1,179 @@
1
+ import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
+ import { t } from "./useMotionTransition-Bxnnb_9u.js";
3
+ import { n, t as r } from "./overlay-oR-5MDuE.js";
4
+ import { t as i } from "./overlayPlacement-Cd20JTD_.js";
5
+ import { t as a } from "./useMId-BXFYayPP.js";
6
+ import { c as o } from "./config-CapALqt3.js";
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
+ //#region src/components/Popover/Popover.vue?vue&type=script&setup=true&lang.ts
9
+ var ie = ["aria-expanded", "aria-controls"], ae = ["id"], w = /* @__PURE__ */ h({
10
+ inheritAttrs: !1,
11
+ __name: "Popover",
12
+ props: {
13
+ pt: {},
14
+ modelValue: {
15
+ type: Boolean,
16
+ default: !1
17
+ },
18
+ disabled: {
19
+ type: Boolean,
20
+ default: !1
21
+ },
22
+ placement: { default: "bottom" },
23
+ trigger: { default: "manual" },
24
+ showDelay: { default: 0 },
25
+ hideDelay: { default: 200 },
26
+ teleport: {
27
+ type: Boolean,
28
+ default: !0
29
+ },
30
+ appendTo: {},
31
+ transition: {
32
+ type: [String, Boolean],
33
+ default: void 0
34
+ }
35
+ },
36
+ emits: [
37
+ "update:modelValue",
38
+ "show",
39
+ "hide"
40
+ ],
41
+ setup(h, { expose: w, emit: T }) {
42
+ let E = h, D = T, O = te(), { rootAttrs: k } = e(O, () => E.pt), A = o(), { transitionName: j, transitionCss: M } = t({
43
+ role: "popup",
44
+ local: () => E.transition,
45
+ componentName: "Popover",
46
+ fallback: "popover"
47
+ }), N = a(), P = x(null), F = x(null), I = x(null), L = x({}), R = l(() => n(E, A.value.appendTo)), z = l(() => r(E, A.value.appendTo)), B, V;
48
+ function H(e) {
49
+ e && E.disabled || D("update:modelValue", e);
50
+ }
51
+ function U() {
52
+ H(!0);
53
+ }
54
+ function W() {
55
+ H(!1);
56
+ }
57
+ function G() {
58
+ H(!E.modelValue);
59
+ }
60
+ function K() {
61
+ H(!1);
62
+ }
63
+ w({
64
+ show: U,
65
+ hide: W,
66
+ toggle: G
67
+ });
68
+ function q() {
69
+ B && clearTimeout(B), V && clearTimeout(V), B = void 0, V = void 0;
70
+ }
71
+ function J() {
72
+ E.disabled || E.trigger !== "click" || H(!E.modelValue);
73
+ }
74
+ function oe() {
75
+ if (!(E.disabled || E.trigger !== "hover")) {
76
+ if (q(), E.showDelay > 0) {
77
+ B = setTimeout(H, E.showDelay, !0);
78
+ return;
79
+ }
80
+ H(!0);
81
+ }
82
+ }
83
+ function se() {
84
+ if (E.trigger === "hover") {
85
+ if (q(), E.hideDelay > 0) {
86
+ V = setTimeout(H, E.hideDelay, !1);
87
+ return;
88
+ }
89
+ H(!1);
90
+ }
91
+ }
92
+ function ce() {
93
+ E.trigger === "hover" && q();
94
+ }
95
+ function le() {
96
+ if (E.trigger === "hover") {
97
+ if (q(), E.hideDelay > 0) {
98
+ V = setTimeout(H, E.hideDelay, !1);
99
+ return;
100
+ }
101
+ H(!1);
102
+ }
103
+ }
104
+ function ue() {
105
+ if (!(E.disabled || E.trigger !== "focus")) {
106
+ if (q(), E.showDelay > 0) {
107
+ B = setTimeout(H, E.showDelay, !0);
108
+ return;
109
+ }
110
+ H(!0);
111
+ }
112
+ }
113
+ function Y() {
114
+ if (E.trigger === "focus") {
115
+ if (q(), E.hideDelay > 0) {
116
+ V = setTimeout(H, E.hideDelay, !1);
117
+ return;
118
+ }
119
+ H(!1);
120
+ }
121
+ }
122
+ function X() {
123
+ !z.value || !F.value || (L.value = i(F.value.getBoundingClientRect(), E.placement));
124
+ }
125
+ function Z(e) {
126
+ let t = e.target;
127
+ P.value?.contains(t) || I.value?.contains(t) || K();
128
+ }
129
+ function Q(e) {
130
+ e.key === "Escape" && K();
131
+ }
132
+ function $() {
133
+ E.modelValue && X();
134
+ }
135
+ return ne(() => E.modelValue, async (e, t) => {
136
+ e ? (document.addEventListener("click", Z), document.addEventListener("keydown", Q), z.value && (window.addEventListener("resize", $), window.addEventListener("scroll", $, !0)), D("show"), await _(), X()) : (document.removeEventListener("click", Z), document.removeEventListener("keydown", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0), t && D("hide"));
137
+ }, { immediate: !0 }), ee(() => {
138
+ q(), document.removeEventListener("click", Z), document.removeEventListener("keydown", Q), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0);
139
+ }), (e, t) => (b(), f("span", g({
140
+ ref_key: "root",
141
+ ref: P
142
+ }, C(k), {
143
+ class: "m-popover",
144
+ onMouseenter: oe,
145
+ onMouseleave: se
146
+ }), [p("span", {
147
+ ref_key: "trigger",
148
+ ref: F,
149
+ class: "m-popover__trigger",
150
+ "aria-haspopup": "dialog",
151
+ "aria-expanded": h.modelValue,
152
+ "aria-controls": C(N),
153
+ onClick: J,
154
+ onFocusin: ue,
155
+ onFocusout: Y
156
+ }, [S(e.$slots, "default")], 40, ie), (b(), u(s, {
157
+ to: R.value.to,
158
+ disabled: R.value.disabled
159
+ }, [m(c, {
160
+ name: C(j),
161
+ css: C(M)
162
+ }, {
163
+ default: re(() => [h.modelValue ? (b(), f("div", {
164
+ key: 0,
165
+ id: C(N),
166
+ ref_key: "panel",
167
+ ref: I,
168
+ class: v(["m-popover__content", [`m-popover__content--${h.placement}`, { "m-popover__content--teleported": z.value }]]),
169
+ style: y(z.value ? L.value : void 0),
170
+ role: "dialog",
171
+ onMouseenter: ce,
172
+ onMouseleave: le
173
+ }, [S(e.$slots, "content")], 46, ae)) : d("", !0)]),
174
+ _: 3
175
+ }, 8, ["name", "css"])], 8, ["to", "disabled"]))], 16));
176
+ }
177
+ });
178
+ //#endregion
179
+ export { w as t };
@@ -1,6 +1,6 @@
1
- import { t as e } from "./useComponentAttrs-BTYEe61P.js";
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-BdK5ccNT.js";
3
+ import { o as n } from "./config-CapALqt3.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 = [
@@ -1,4 +1,4 @@
1
- import { t as e } from "./Scrollbar-BYnCO8fv.js";
1
+ import { t as e } from "./Scrollbar-DTeJ8P5b.js";
2
2
  import { createBlock as t, defineComponent as n, normalizeClass as r, openBlock as i, ref as a, renderSlot as o, withCtx as s } from "vue";
3
3
  //#endregion
4
4
  //#region src/shared/ScrollBody.vue
@@ -1,4 +1,4 @@
1
- import { r as e } from "./useComponentAttrs-BTYEe61P.js";
1
+ import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
2
2
  import { t } from "./useMId-BXFYayPP.js";
3
3
  import { Fragment as n, Transition as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, inject as ee, mergeProps as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onActivated as h, onBeforeUnmount as te, onMounted as g, onUpdated as _, openBlock as v, provide as y, reactive as b, ref as x, renderSlot as S, resolveDynamicComponent as C, unref as w, useAttrs as ne, vShow as T, watch as E, withCtx as re, withDirectives as D } from "vue";
4
4
  //#region src/components/Scrollbar/constants.ts
@@ -337,7 +337,7 @@ var M = ["aria-orientation", "aria-controls"], N = /* @__PURE__ */ u({
337
337
  Z(), we();
338
338
  });
339
339
  }), _(() => {
340
- T.native || Q();
340
+ T.native || (T.noresize || typeof ResizeObserver > "u") && Q();
341
341
  }), h(() => {
342
342
  F.value && (F.value.scrollTop = W, F.value.scrollLeft = G);
343
343
  }), te(() => {