morya-ui 0.2.3 → 0.2.5

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 (492) hide show
  1. package/CHANGELOG.md +189 -0
  2. package/dist/{Button-DnE_ns8s.js → Button-lNErA-7h.js} +1 -1
  3. package/dist/{Checkbox-BjtAYUUD.js → Checkbox-B758a_iB.js} +1 -1
  4. package/dist/FlyoutSubmenu-kymVjXLs.js +49 -0
  5. package/dist/{Pagination-DNjDBPfR.js → Pagination-Dm2-MBnC.js} +6 -6
  6. package/dist/{Popover-6eE5yIT7.js → Popover-flzjtjqD.js} +10 -10
  7. package/dist/{ProgressSpinner-CT7IP3Yr.js → ProgressSpinner-BXHLx4Lg.js} +1 -1
  8. package/dist/{Radio-DcotfGnv.js → Radio-Bb21-Vk4.js} +1 -1
  9. package/dist/ScrollBody-D2IHKP6U.js +64 -0
  10. package/dist/{Scrollbar-DoNZvgX2.js → Scrollbar-BYnCO8fv.js} +23 -23
  11. package/dist/{Tooltip-CrKm9FMD.js → Tooltip-CeGxjP-L.js} +7 -7
  12. package/dist/accordion/index.js +3 -3
  13. package/dist/accordion/style.css +736 -601
  14. package/dist/auto-complete/index.js +8 -8
  15. package/dist/auto-complete/style.css +820 -609
  16. package/dist/avatar/style.css +752 -601
  17. package/dist/badge/style.css +746 -600
  18. package/dist/block-ui/style.css +751 -602
  19. package/dist/breadcrumb/index.js +1 -1
  20. package/dist/breadcrumb/style.css +740 -603
  21. package/dist/button/index.js +1 -1
  22. package/dist/button/style.css +779 -607
  23. package/dist/card/style.css +768 -625
  24. package/dist/carousel/index.js +4 -4
  25. package/dist/carousel/style.css +762 -600
  26. package/dist/cascade-select/index.js +10 -10
  27. package/dist/cascade-select/style.css +788 -606
  28. package/dist/checkbox/index.js +5 -5
  29. package/dist/checkbox/style.css +744 -600
  30. package/dist/chip/index.js +1 -1
  31. package/dist/chip/style.css +753 -600
  32. package/dist/command-menu/index.js +6 -6
  33. package/dist/command-menu/style.css +793 -606
  34. package/dist/component-registry.d.ts.map +1 -1
  35. package/dist/components/Accordion/Accordion.vue.d.ts.map +1 -1
  36. package/dist/components/Accordion/styles.css +1 -1
  37. package/dist/components/AutoComplete/AutoComplete.vue.d.ts.map +1 -1
  38. package/dist/components/AutoComplete/styles.css +48 -5
  39. package/dist/components/AutoComplete/types.d.ts +1 -1
  40. package/dist/components/AutoComplete/types.d.ts.map +1 -1
  41. package/dist/components/Avatar/AvatarGroup.vue.d.ts.map +1 -1
  42. package/dist/components/Avatar/styles.css +1 -1
  43. package/dist/components/Badge/styles.css +11 -0
  44. package/dist/components/BlockUI/BlockUI.vue.d.ts.map +1 -1
  45. package/dist/components/BlockUI/styles.css +16 -2
  46. package/dist/components/Breadcrumb/Breadcrumb.vue.d.ts.map +1 -1
  47. package/dist/components/Breadcrumb/styles.css +5 -3
  48. package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -1
  49. package/dist/components/Button/styles.css +28 -7
  50. package/dist/components/Button/types.d.ts +1 -1
  51. package/dist/components/Button/types.d.ts.map +1 -1
  52. package/dist/components/Card/Card.vue.d.ts.map +1 -1
  53. package/dist/components/Card/styles.css +33 -25
  54. package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
  55. package/dist/components/Carousel/styles.css +11 -0
  56. package/dist/components/CascadeSelect/styles.css +16 -2
  57. package/dist/components/CascadeSelect/types.d.ts +1 -1
  58. package/dist/components/CascadeSelect/types.d.ts.map +1 -1
  59. package/dist/components/Checkbox/CheckboxGroup.vue.d.ts.map +1 -1
  60. package/dist/components/Checkbox/styles.css +9 -0
  61. package/dist/components/Chip/styles.css +2 -0
  62. package/dist/components/CommandMenu/CommandMenu.vue.d.ts.map +1 -1
  63. package/dist/components/CommandMenu/styles.css +21 -2
  64. package/dist/components/CommandMenu/types.d.ts +2 -2
  65. package/dist/components/CommandMenu/types.d.ts.map +1 -1
  66. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts +1 -1
  67. package/dist/components/ConfigProvider/ConfigProvider.vue.d.ts.map +1 -1
  68. package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
  69. package/dist/components/ConfirmDialog/styles.css +2 -2
  70. package/dist/components/ConfirmDialog/types.d.ts +1 -1
  71. package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
  72. package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
  73. package/dist/components/ConfirmPopup/styles.css +3 -3
  74. package/dist/components/ConfirmPopup/types.d.ts +1 -1
  75. package/dist/components/ConfirmPopup/types.d.ts.map +1 -1
  76. package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
  77. package/dist/components/ContextMenu/ContextMenuNodes.vue.d.ts.map +1 -1
  78. package/dist/components/ContextMenu/styles.css +42 -10
  79. package/dist/components/ContextMenu/types.d.ts +2 -2
  80. package/dist/components/ContextMenu/types.d.ts.map +1 -1
  81. package/dist/components/DatePicker/styles.css +34 -4
  82. package/dist/components/DatePicker/types.d.ts +1 -1
  83. package/dist/components/DatePicker/types.d.ts.map +1 -1
  84. package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
  85. package/dist/components/Dialog/styles.css +50 -2
  86. package/dist/components/Dialog/types.d.ts +1 -1
  87. package/dist/components/Dialog/types.d.ts.map +1 -1
  88. package/dist/components/Divider/styles.css +35 -32
  89. package/dist/components/Dock/Dock.vue.d.ts.map +1 -1
  90. package/dist/components/Dock/styles.css +30 -4
  91. package/dist/components/Dock/types.d.ts +1 -1
  92. package/dist/components/Dock/types.d.ts.map +1 -1
  93. package/dist/components/Drawer/Drawer.vue.d.ts.map +1 -1
  94. package/dist/components/Drawer/styles.css +69 -4
  95. package/dist/components/Drawer/types.d.ts +1 -1
  96. package/dist/components/Drawer/types.d.ts.map +1 -1
  97. package/dist/components/Dropdown/Dropdown.vue.d.ts +2 -2
  98. package/dist/components/Dropdown/Dropdown.vue.d.ts.map +1 -1
  99. package/dist/components/Dropdown/DropdownNodes.vue.d.ts +2 -2
  100. package/dist/components/Dropdown/DropdownNodes.vue.d.ts.map +1 -1
  101. package/dist/components/Dropdown/styles.css +31 -3
  102. package/dist/components/Dropdown/types.d.ts +1 -1
  103. package/dist/components/Dropdown/types.d.ts.map +1 -1
  104. package/dist/components/Empty/Empty.vue.d.ts +29 -0
  105. package/dist/components/Empty/Empty.vue.d.ts.map +1 -0
  106. package/dist/components/Empty/index.d.ts +3 -0
  107. package/dist/components/Empty/index.d.ts.map +1 -0
  108. package/dist/components/Empty/styles.css +72 -0
  109. package/dist/components/Empty/types.d.ts +14 -0
  110. package/dist/components/Empty/types.d.ts.map +1 -0
  111. package/dist/components/Fieldset/Fieldset.vue.d.ts.map +1 -1
  112. package/dist/components/Fieldset/styles.css +16 -1
  113. package/dist/components/FileUpload/FileUpload.vue.d.ts.map +1 -1
  114. package/dist/components/FileUpload/styles.css +28 -4
  115. package/dist/components/Flex/Flex.vue.d.ts.map +1 -1
  116. package/dist/components/Flex/styles.css +1 -2
  117. package/dist/components/Flex/types.d.ts +1 -1
  118. package/dist/components/Flex/types.d.ts.map +1 -1
  119. package/dist/components/FloatLabel/styles.css +8 -7
  120. package/dist/components/Fluid/Fluid.vue.d.ts.map +1 -1
  121. package/dist/components/Fluid/styles.css +4 -1
  122. package/dist/components/Form/styles.css +5 -2
  123. package/dist/components/Gallery/Gallery.vue.d.ts +2 -2
  124. package/dist/components/Gallery/Gallery.vue.d.ts.map +1 -1
  125. package/dist/components/Gallery/styles.css +24 -3
  126. package/dist/components/Grid/styles.css +5 -4
  127. package/dist/components/Icon/styles.css +16 -0
  128. package/dist/components/Inplace/Inplace.vue.d.ts.map +1 -1
  129. package/dist/components/Inplace/styles.css +10 -9
  130. package/dist/components/Input/styles.css +8 -1
  131. package/dist/components/InputColor/styles.css +26 -1
  132. package/dist/components/InputGroup/styles.css +5 -4
  133. package/dist/components/InputNumber/styles.css +25 -2
  134. package/dist/components/InputOtp/styles.css +15 -7
  135. package/dist/components/InputPassword/InputPassword.vue.d.ts +1 -1
  136. package/dist/components/InputPassword/index.d.ts +1 -1
  137. package/dist/components/InputPassword/index.d.ts.map +1 -1
  138. package/dist/components/InputPassword/styles.css +12 -2
  139. package/dist/components/InputTags/styles.css +24 -0
  140. package/dist/components/Knob/styles.css +27 -13
  141. package/dist/components/Label/styles.css +2 -2
  142. package/dist/components/Layout/Layout.vue.d.ts +3 -3
  143. package/dist/components/Layout/Layout.vue.d.ts.map +1 -1
  144. package/dist/components/Layout/LayoutContent.vue.d.ts +2 -2
  145. package/dist/components/Layout/LayoutContent.vue.d.ts.map +1 -1
  146. package/dist/components/Layout/LayoutScrollContext.vue.d.ts +20 -0
  147. package/dist/components/Layout/LayoutScrollContext.vue.d.ts.map +1 -0
  148. package/dist/components/Layout/LayoutScrollRegion.vue.d.ts +34 -0
  149. package/dist/components/Layout/LayoutScrollRegion.vue.d.ts.map +1 -0
  150. package/dist/components/Layout/LayoutSider.vue.d.ts +2 -2
  151. package/dist/components/Layout/LayoutSider.vue.d.ts.map +1 -1
  152. package/dist/components/Layout/composables/useLayoutScroll.d.ts +4 -1
  153. package/dist/components/Layout/composables/useLayoutScroll.d.ts.map +1 -1
  154. package/dist/components/Layout/styles.css +97 -23
  155. package/dist/components/Layout/types.d.ts +1 -1
  156. package/dist/components/Layout/types.d.ts.map +1 -1
  157. package/dist/components/Listbox/Listbox.vue.d.ts.map +1 -1
  158. package/dist/components/Listbox/styles.css +18 -1
  159. package/dist/components/Listbox/types.d.ts.map +1 -1
  160. package/dist/components/MegaMenu/MegaMenu.vue.d.ts.map +1 -1
  161. package/dist/components/MegaMenu/styles.css +10 -3
  162. package/dist/components/MegaMenu/types.d.ts +2 -2
  163. package/dist/components/MegaMenu/types.d.ts.map +1 -1
  164. package/dist/components/Menu/Menu.vue.d.ts.map +1 -1
  165. package/dist/components/Menu/MenuNodes.vue.d.ts.map +1 -1
  166. package/dist/components/Menu/styles.css +25 -1
  167. package/dist/components/Menu/types.d.ts +2 -2
  168. package/dist/components/Menu/types.d.ts.map +1 -1
  169. package/dist/components/Menubar/Menubar.vue.d.ts +2 -2
  170. package/dist/components/Menubar/Menubar.vue.d.ts.map +1 -1
  171. package/dist/components/Menubar/styles.css +28 -6
  172. package/dist/components/Menubar/types.d.ts +2 -2
  173. package/dist/components/Menubar/types.d.ts.map +1 -1
  174. package/dist/components/Message/Message.vue.d.ts.map +1 -1
  175. package/dist/components/Message/messageState.d.ts +26 -0
  176. package/dist/components/Message/messageState.d.ts.map +1 -0
  177. package/dist/components/Message/styles.css +43 -1
  178. package/dist/components/Message/types.d.ts +1 -1
  179. package/dist/components/Message/types.d.ts.map +1 -1
  180. package/dist/components/MeterGroup/MeterGroup.vue.d.ts.map +1 -1
  181. package/dist/components/OrderList/OrderList.vue.d.ts +4 -4
  182. package/dist/components/OrderList/OrderList.vue.d.ts.map +1 -1
  183. package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
  184. package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
  185. package/dist/components/Page/PageHeader.vue.d.ts.map +1 -1
  186. package/dist/components/Page/PagePlaceholder.vue.d.ts.map +1 -1
  187. package/dist/components/Page/PageSection.vue.d.ts.map +1 -1
  188. package/dist/components/Page/PageStat.vue.d.ts.map +1 -1
  189. package/dist/components/Page/PageToolbar.vue.d.ts.map +1 -1
  190. package/dist/components/Page/styles.css +7 -1
  191. package/dist/components/Page/types.d.ts +1 -1
  192. package/dist/components/Page/types.d.ts.map +1 -1
  193. package/dist/components/Pagination/Pagination.vue.d.ts.map +1 -1
  194. package/dist/components/Pagination/styles.css +23 -1
  195. package/dist/components/Panel/Panel.vue.d.ts.map +1 -1
  196. package/dist/components/Panel/styles.css +20 -1
  197. package/dist/components/PickList/PickList.vue.d.ts +7 -7
  198. package/dist/components/PickList/PickList.vue.d.ts.map +1 -1
  199. package/dist/components/Popover/Popover.vue.d.ts.map +1 -1
  200. package/dist/components/Popover/styles.css +35 -3
  201. package/dist/components/Popover/types.d.ts +1 -1
  202. package/dist/components/Popover/types.d.ts.map +1 -1
  203. package/dist/components/ProgressBar/styles.css +20 -0
  204. package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts.map +1 -1
  205. package/dist/components/ProgressSpinner/styles.css +19 -0
  206. package/dist/components/Radio/RadioGroup.vue.d.ts.map +1 -1
  207. package/dist/components/Radio/styles.css +9 -0
  208. package/dist/components/Rating/styles.css +14 -1
  209. package/dist/components/Result/Result.vue.d.ts +26 -0
  210. package/dist/components/Result/Result.vue.d.ts.map +1 -0
  211. package/dist/components/Result/index.d.ts +3 -0
  212. package/dist/components/Result/index.d.ts.map +1 -0
  213. package/dist/components/Result/styles.css +80 -0
  214. package/dist/components/Result/types.d.ts +16 -0
  215. package/dist/components/Result/types.d.ts.map +1 -0
  216. package/dist/components/ScrollTop/ScrollTop.vue.d.ts.map +1 -1
  217. package/dist/components/ScrollTop/styles.css +14 -1
  218. package/dist/components/ScrollTop/types.d.ts +1 -1
  219. package/dist/components/ScrollTop/types.d.ts.map +1 -1
  220. package/dist/components/Scrollbar/Scrollbar.vue.d.ts.map +1 -1
  221. package/dist/components/Scrollbar/styles.css +21 -4
  222. package/dist/components/Scrollbar/types.d.ts +1 -1
  223. package/dist/components/Scrollbar/types.d.ts.map +1 -1
  224. package/dist/components/Select/Select.vue.d.ts.map +1 -1
  225. package/dist/components/Select/styles.css +14 -11
  226. package/dist/components/Select/types.d.ts +1 -1
  227. package/dist/components/Select/types.d.ts.map +1 -1
  228. package/dist/components/SelectButton/SelectButton.vue.d.ts.map +1 -1
  229. package/dist/components/SelectButton/styles.css +18 -2
  230. package/dist/components/Sidebar/Sidebar.vue.d.ts.map +1 -1
  231. package/dist/components/Sidebar/styles.css +20 -3
  232. package/dist/components/Sidebar/types.d.ts +1 -1
  233. package/dist/components/Sidebar/types.d.ts.map +1 -1
  234. package/dist/components/Skeleton/Skeleton.vue.d.ts.map +1 -1
  235. package/dist/components/Skeleton/styles.css +11 -0
  236. package/dist/components/Slider/styles.css +19 -5
  237. package/dist/components/Space/Space.vue.d.ts.map +1 -1
  238. package/dist/components/Space/styles.css +2 -1
  239. package/dist/components/Space/types.d.ts +1 -1
  240. package/dist/components/Space/types.d.ts.map +1 -1
  241. package/dist/components/SpeedDial/styles.css +20 -4
  242. package/dist/components/SpeedDial/types.d.ts +2 -2
  243. package/dist/components/SpeedDial/types.d.ts.map +1 -1
  244. package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
  245. package/dist/components/SplitButton/styles.css +32 -5
  246. package/dist/components/SplitButton/types.d.ts +1 -1
  247. package/dist/components/SplitButton/types.d.ts.map +1 -1
  248. package/dist/components/Splitter/Splitter.vue.d.ts.map +1 -1
  249. package/dist/components/Splitter/styles.css +6 -2
  250. package/dist/components/Splitter/types.d.ts +1 -1
  251. package/dist/components/Splitter/types.d.ts.map +1 -1
  252. package/dist/components/Status/Status.vue.d.ts +19 -0
  253. package/dist/components/Status/Status.vue.d.ts.map +1 -0
  254. package/dist/components/Status/index.d.ts +3 -0
  255. package/dist/components/Status/index.d.ts.map +1 -0
  256. package/dist/components/Status/styles.css +106 -0
  257. package/dist/components/Status/types.d.ts +19 -0
  258. package/dist/components/Status/types.d.ts.map +1 -0
  259. package/dist/components/Stepper/Stepper.vue.d.ts.map +1 -1
  260. package/dist/components/Stepper/styles.css +19 -5
  261. package/dist/components/Switch/styles.css +34 -5
  262. package/dist/components/Table/Table.vue.d.ts +1 -1
  263. package/dist/components/Table/Table.vue.d.ts.map +1 -1
  264. package/dist/components/Table/hooks/index.d.ts +1 -1
  265. package/dist/components/Table/hooks/index.d.ts.map +1 -1
  266. package/dist/components/Table/hooks/internal.d.ts +6 -6
  267. package/dist/components/Table/hooks/internal.d.ts.map +1 -1
  268. package/dist/components/Table/styles.css +29 -15
  269. package/dist/components/Table/types.d.ts +1 -1
  270. package/dist/components/Table/types.d.ts.map +1 -1
  271. package/dist/components/Tabs/Tabs.vue.d.ts +3 -3
  272. package/dist/components/Tabs/Tabs.vue.d.ts.map +1 -1
  273. package/dist/components/Tabs/styles.css +98 -75
  274. package/dist/components/Tag/styles.css +13 -21
  275. package/dist/components/Terminal/Terminal.vue.d.ts.map +1 -1
  276. package/dist/components/Terminal/styles.css +13 -3
  277. package/dist/components/Textarea/index.d.ts +1 -1
  278. package/dist/components/Textarea/index.d.ts.map +1 -1
  279. package/dist/components/Textarea/styles.css +16 -0
  280. package/dist/components/TieredMenu/TieredMenu.vue.d.ts.map +1 -1
  281. package/dist/components/TieredMenu/styles.css +43 -10
  282. package/dist/components/TieredMenu/types.d.ts +1 -1
  283. package/dist/components/TieredMenu/types.d.ts.map +1 -1
  284. package/dist/components/Timeline/Timeline.vue.d.ts +35 -10
  285. package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
  286. package/dist/components/Timeline/styles.css +159 -156
  287. package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
  288. package/dist/components/Toast/index.d.ts +1 -1
  289. package/dist/components/Toast/index.d.ts.map +1 -1
  290. package/dist/components/Toast/styles.css +17 -1
  291. package/dist/components/Toast/toastState.d.ts +26 -0
  292. package/dist/components/Toast/toastState.d.ts.map +1 -0
  293. package/dist/components/Toast/types.d.ts +1 -1
  294. package/dist/components/Toast/types.d.ts.map +1 -1
  295. package/dist/components/ToggleButton/styles.css +19 -1
  296. package/dist/components/Toolbar/Toolbar.vue.d.ts.map +1 -1
  297. package/dist/components/Toolbar/styles.css +9 -8
  298. package/dist/components/Tooltip/styles.css +1 -0
  299. package/dist/components/Tree/Tree.vue.d.ts.map +1 -1
  300. package/dist/components/Tree/styles.css +4 -2
  301. package/dist/components/TreeSelect/TreeSelect.vue.d.ts.map +1 -1
  302. package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts +1 -1
  303. package/dist/components/TreeSelect/TreeSelectNodeItem.vue.d.ts.map +1 -1
  304. package/dist/components/TreeSelect/styles.css +53 -2
  305. package/dist/components/TreeSelect/types.d.ts +1 -1
  306. package/dist/components/TreeSelect/types.d.ts.map +1 -1
  307. package/dist/components/TreeTable/TreeTable.vue.d.ts +2 -2
  308. package/dist/components/TreeTable/TreeTable.vue.d.ts.map +1 -1
  309. package/dist/components/TreeTable/TreeTableRow.vue.d.ts +1 -1
  310. package/dist/components/TreeTable/TreeTableRow.vue.d.ts.map +1 -1
  311. package/dist/components/TreeTable/styles.css +97 -61
  312. package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts +2 -2
  313. package/dist/components/VirtualScroller/VirtualScroller.vue.d.ts.map +1 -1
  314. package/dist/components/VirtualScroller/styles.css +20 -17
  315. package/dist/{config-CI8_WBbE.js → config-Dln2-u_v.js} +7 -0
  316. package/dist/config-provider/index.js +1 -1
  317. package/dist/config-provider/style.css +773 -609
  318. package/dist/confirm-dialog/index.js +13 -13
  319. package/dist/confirm-dialog/style.css +831 -611
  320. package/dist/confirm-popup/index.js +8 -8
  321. package/dist/confirm-popup/style.css +782 -610
  322. package/dist/context-menu/index.js +131 -89
  323. package/dist/context-menu/style.css +933 -610
  324. package/dist/context-menu/style.js +1 -0
  325. package/dist/data-view/index.js +6 -6
  326. package/dist/data-view/style.css +777 -601
  327. package/dist/date-picker/index.js +8 -8
  328. package/dist/date-picker/style.css +785 -604
  329. package/dist/dialog/index.js +9 -9
  330. package/dist/dialog/style.css +829 -609
  331. package/dist/divider/style.css +770 -632
  332. package/dist/dock/style.css +781 -604
  333. package/dist/drawer/index.js +8 -8
  334. package/dist/drawer/style.css +820 -604
  335. package/dist/dropdown/index.js +162 -122
  336. package/dist/dropdown/style.css +922 -603
  337. package/dist/dropdown/style.js +1 -0
  338. package/dist/empty/index.js +54 -0
  339. package/dist/empty/style.css +1118 -0
  340. package/dist/empty/style.js +4 -0
  341. package/dist/fieldset/index.js +3 -3
  342. package/dist/fieldset/style.css +767 -601
  343. package/dist/file-upload/index.js +104 -105
  344. package/dist/file-upload/style.css +779 -604
  345. package/dist/flex/index.js +1 -1
  346. package/dist/flex/style.css +736 -602
  347. package/dist/float-label/style.css +743 -607
  348. package/dist/fluid/style.css +738 -600
  349. package/dist/form/index.js +1 -1
  350. package/dist/form/style.css +740 -602
  351. package/dist/gallery/index.js +76 -67
  352. package/dist/gallery/style.css +915 -603
  353. package/dist/gallery/style.js +1 -0
  354. package/dist/grid/style.css +739 -603
  355. package/dist/icon/style.css +751 -600
  356. package/dist/icon-field/style.css +735 -600
  357. package/dist/index.d.ts +10 -4
  358. package/dist/index.d.ts.map +1 -1
  359. package/dist/index.js +2904 -2288
  360. package/dist/inplace/index.js +5 -5
  361. package/dist/inplace/style.css +745 -609
  362. package/dist/input/index.js +2 -2
  363. package/dist/input/style.css +759 -601
  364. package/dist/input-color/index.js +2 -2
  365. package/dist/input-color/style.css +761 -601
  366. package/dist/input-group/style.css +740 -604
  367. package/dist/input-number/index.js +2 -2
  368. package/dist/input-number/style.css +776 -602
  369. package/dist/input-otp/index.js +2 -2
  370. package/dist/input-otp/style.css +750 -607
  371. package/dist/input-password/index.js +2 -2
  372. package/dist/input-password/style.css +763 -602
  373. package/dist/input-tags/index.js +2 -2
  374. package/dist/input-tags/style.css +775 -600
  375. package/dist/knob/style.css +762 -613
  376. package/dist/label/style.css +737 -602
  377. package/dist/layout/index.js +244 -138
  378. package/dist/layout/style.css +988 -623
  379. package/dist/layout/style.js +1 -0
  380. package/dist/listbox/index.js +3 -3
  381. package/dist/listbox/style.css +774 -605
  382. package/dist/locale/en-US.d.ts.map +1 -1
  383. package/dist/locale/types.d.ts +7 -0
  384. package/dist/locale/types.d.ts.map +1 -1
  385. package/dist/locale/zh-CN.d.ts.map +1 -1
  386. package/dist/{locale-DYGhxekd.js → locale-DNYpTg5K.js} +1 -1
  387. package/dist/mega-menu/index.js +98 -98
  388. package/dist/mega-menu/style.css +761 -603
  389. package/dist/menu/index.js +254 -237
  390. package/dist/menu/style.css +952 -604
  391. package/dist/menu/style.js +1 -0
  392. package/dist/menubar/index.js +77 -68
  393. package/dist/menubar/style.css +919 -606
  394. package/dist/menubar/style.js +1 -0
  395. package/dist/message/index.js +2 -2
  396. package/dist/message/style.css +794 -601
  397. package/dist/meter-group/style.css +735 -600
  398. package/dist/order-list/index.js +67 -59
  399. package/dist/order-list/style.css +751 -600
  400. package/dist/page/style.css +791 -626
  401. package/dist/pagination/index.js +1 -1
  402. package/dist/pagination/style.css +774 -601
  403. package/dist/panel/index.js +4 -4
  404. package/dist/panel/style.css +771 -601
  405. package/dist/pick-list/index.js +97 -84
  406. package/dist/pick-list/style.css +751 -600
  407. package/dist/popover/index.js +1 -1
  408. package/dist/popover/style.css +770 -603
  409. package/dist/progress-bar/style.css +755 -600
  410. package/dist/progress-spinner/index.js +1 -1
  411. package/dist/progress-spinner/style.css +754 -600
  412. package/dist/radio/index.js +4 -4
  413. package/dist/radio/style.css +744 -600
  414. package/dist/rating/index.js +4 -4
  415. package/dist/rating/style.css +765 -601
  416. package/dist/resolver-map.d.ts.map +1 -1
  417. package/dist/resolver.js +3 -0
  418. package/dist/result/index.js +74 -0
  419. package/dist/result/style.css +1126 -0
  420. package/dist/result/style.js +4 -0
  421. package/dist/scroll-top/index.js +25 -15
  422. package/dist/scroll-top/style.css +905 -601
  423. package/dist/scroll-top/style.js +1 -0
  424. package/dist/scrollbar/index.js +1 -1
  425. package/dist/scrollbar/style.css +756 -604
  426. package/dist/select/index.js +8 -8
  427. package/dist/select/style.css +786 -615
  428. package/dist/select-button/index.js +5 -5
  429. package/dist/select-button/style.css +753 -602
  430. package/dist/shared/FlyoutSubmenu.vue.d.ts +32 -0
  431. package/dist/shared/FlyoutSubmenu.vue.d.ts.map +1 -0
  432. package/dist/shared/ScrollBody.vue.d.ts +39 -0
  433. package/dist/shared/ScrollBody.vue.d.ts.map +1 -0
  434. package/dist/shared/useControllable.d.ts.map +1 -1
  435. package/dist/sidebar/index.js +1 -1
  436. package/dist/sidebar/style.css +771 -603
  437. package/dist/skeleton/style.css +746 -600
  438. package/dist/slider/index.js +2 -2
  439. package/dist/slider/style.css +755 -606
  440. package/dist/space/index.js +1 -1
  441. package/dist/space/style.css +737 -601
  442. package/dist/speed-dial/index.js +14 -14
  443. package/dist/speed-dial/style.css +771 -604
  444. package/dist/split-button/index.js +12 -12
  445. package/dist/split-button/style.css +811 -612
  446. package/dist/splitter/index.js +37 -37
  447. package/dist/splitter/style.css +741 -602
  448. package/dist/status/index.js +39 -0
  449. package/dist/status/style.css +1097 -0
  450. package/dist/status/style.js +3 -0
  451. package/dist/stepper/index.js +3 -3
  452. package/dist/stepper/style.css +770 -605
  453. package/dist/styles/base.css +709 -583
  454. package/dist/styles.css +1 -1
  455. package/dist/switch/index.js +1 -1
  456. package/dist/switch/style.css +769 -605
  457. package/dist/table/index.js +272 -275
  458. package/dist/table/style.css +862 -620
  459. package/dist/tabs/index.js +92 -81
  460. package/dist/tabs/style.css +989 -675
  461. package/dist/tabs/style.js +1 -0
  462. package/dist/tag/index.js +2 -2
  463. package/dist/tag/style.css +764 -621
  464. package/dist/terminal/index.js +47 -40
  465. package/dist/terminal/style.css +749 -604
  466. package/dist/textarea/index.js +2 -2
  467. package/dist/textarea/style.css +767 -600
  468. package/dist/theme/styles.css +26 -17
  469. package/dist/tiered-menu/index.js +132 -86
  470. package/dist/tiered-menu/style.css +934 -610
  471. package/dist/tiered-menu/style.js +1 -0
  472. package/dist/timeline/index.js +82 -37
  473. package/dist/timeline/style.css +1047 -753
  474. package/dist/timeline/style.js +1 -0
  475. package/dist/toast/index.js +5 -5
  476. package/dist/toast/style.css +768 -601
  477. package/dist/toggle-button/index.js +1 -1
  478. package/dist/toggle-button/style.css +770 -601
  479. package/dist/toolbar/style.css +744 -608
  480. package/dist/tooltip/index.js +1 -1
  481. package/dist/tooltip/style.css +736 -600
  482. package/dist/tree/index.js +12 -12
  483. package/dist/tree/style.css +764 -602
  484. package/dist/tree-select/index.js +217 -208
  485. package/dist/tree-select/style.css +957 -604
  486. package/dist/tree-select/style.js +1 -0
  487. package/dist/tree-table/index.js +57 -50
  488. package/dist/tree-table/style.css +845 -658
  489. package/dist/virtual-scroller/index.js +38 -34
  490. package/dist/virtual-scroller/style.css +902 -624
  491. package/dist/virtual-scroller/style.js +1 -0
  492. package/package.json +27 -1
@@ -1,29 +1,18 @@
1
1
  import { r as e } from "../useComponentAttrs-BTYEe61P.js";
2
2
  import { t } from "../useControllable-elmWaz23.js";
3
3
  import { t as n } from "../Icon-DfpIfo2L.js";
4
- import { t as r } from "../Scrollbar-DoNZvgX2.js";
5
- import { t as i } from "../Checkbox-BjtAYUUD.js";
6
- import { t as a } from "../Pagination-DNjDBPfR.js";
7
- import { t as o } from "../ProgressSpinner-CT7IP3Yr.js";
8
- import { t as s } from "../Tooltip-CrKm9FMD.js";
9
- import { t as c } from "../Radio-DcotfGnv.js";
10
- import { o as l } from "../config-CI8_WBbE.js";
11
- import { n as u } from "../locale-DYGhxekd.js";
4
+ import { t as r } from "../Scrollbar-BYnCO8fv.js";
5
+ import { t as i } from "../Checkbox-B758a_iB.js";
6
+ import { t as a } from "../Pagination-Dm2-MBnC.js";
7
+ import { t as o } from "../ProgressSpinner-BXHLx4Lg.js";
8
+ import { t as s } from "../Tooltip-CeGxjP-L.js";
9
+ import { t as c } from "../Radio-Bb21-Vk4.js";
10
+ import { o as l } from "../config-Dln2-u_v.js";
11
+ import { n as u } from "../locale-DNYpTg5K.js";
12
12
  import "./style.js";
13
- import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, guardReactiveProps as y, mergeProps as b, normalizeClass as x, normalizeProps as S, normalizeStyle as ee, openBlock as C, provide as te, ref as w, renderList as T, renderSlot as E, toDisplayString as D, toRefs as ne, unref as O, useAttrs as re, useSlots as ie, watch as k, withCtx as ae, withModifiers as A } from "vue";
14
- //#region \0plugin-vue:export-helper
15
- var oe = (e, t) => {
16
- let n = e.__vccOpts || e;
17
- for (let [e, r] of t) n[e] = r;
18
- return n;
19
- }, se = {}, j = { class: "loader-line" };
20
- function ce(e, t) {
21
- return C(), h("div", j);
22
- }
23
- var le = /*#__PURE__*/ oe(se, [["render", ce]]);
24
- //#endregion
13
+ import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, guardReactiveProps as y, mergeProps as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, openBlock as w, provide as ee, ref as T, renderList as E, renderSlot as D, toDisplayString as O, toRefs as te, unref as k, useAttrs as ne, useSlots as re, watch as A, withCtx as ie, withModifiers as j } from "vue";
25
14
  //#region src/components/Table/hooks/useClickRow.ts
26
- function ue(e, t, n, r) {
15
+ function ae(e, t, n, r) {
27
16
  return { clickRow: (i, a, o, s) => {
28
17
  if (e.value !== o) return;
29
18
  let c = { ...i };
@@ -44,11 +33,11 @@ function M(e, t) {
44
33
  }
45
34
  return t[e] ?? "";
46
35
  }
47
- function de(e, t) {
36
+ function oe(e, t) {
48
37
  let n = M(e, t);
49
38
  return Array.isArray(n) ? n.join(",") : String(n ?? "");
50
39
  }
51
- function fe(e, t, n = "id") {
40
+ function se(e, t, n = "id") {
52
41
  let r = e[n];
53
42
  return typeof r == "string" || typeof r == "number" ? r : t;
54
43
  }
@@ -58,8 +47,8 @@ function N(e, t, n = "id") {
58
47
  }
59
48
  //#endregion
60
49
  //#region src/components/Table/hooks/useExpandableRow.ts
61
- function pe(e, t, n, r) {
62
- let i = w([]), a = f(() => e.value ?? i.value), o = (e, r) => fe(e, n.value + r, t.value);
50
+ function ce(e, t, n, r) {
51
+ let i = T([]), a = f(() => e.value ?? i.value), o = (e, r) => se(e, n.value + r, t.value);
63
52
  return {
64
53
  expandedKeys: a,
65
54
  isRowExpanded: (e, t) => a.value.includes(o(e, t)),
@@ -75,9 +64,9 @@ function pe(e, t, n, r) {
75
64
  }
76
65
  //#endregion
77
66
  //#region src/components/Table/hooks/useFixedColumn.ts
78
- var me = (e) => e.fixed === "right", P = (e) => !!e.fixed;
79
- function he(e) {
80
- let t = f(() => e.value.filter(P)), n = f(() => e.value.filter((e) => P(e) && !me(e))), r = f(() => e.value.filter(me));
67
+ var le = (e) => e.fixed === "right", ue = (e) => !!e.fixed;
68
+ function de(e) {
69
+ let t = f(() => e.value.filter(ue)), n = f(() => e.value.filter((e) => ue(e) && !le(e))), r = f(() => e.value.filter(le));
81
70
  return {
82
71
  fixedHeaders: t,
83
72
  lastFixedColumn: f(() => n.value.length ? n.value[n.value.length - 1].value : ""),
@@ -99,23 +88,23 @@ function he(e) {
99
88
  })
100
89
  };
101
90
  }
102
- function ge(e, t, n, r, i, a, o, s, c, l, u, d, p, m, h, g, _, v, y, b) {
103
- let x = f(() => o.value.some((e) => e.fixed)), S = f(() => x.value ? o.value.filter((e) => e.fixed && e.fixed !== "right") : []), ee = f(() => x.value ? o.value.filter((e) => e.fixed === "right") : []), C = f(() => o.value.filter((e) => !e.fixed)), te = (e, t) => Array.isArray(e) && Array.isArray(t) ? {
91
+ function fe(e, t, n, r, i, a, o, s, c, l, u, d, p, m, h, g, _, v, y, b) {
92
+ let x = f(() => o.value.some((e) => e.fixed)), S = f(() => x.value ? o.value.filter((e) => e.fixed && e.fixed !== "right") : []), C = f(() => x.value ? o.value.filter((e) => e.fixed === "right") : []), w = f(() => o.value.filter((e) => !e.fixed)), ee = (e, t) => Array.isArray(e) && Array.isArray(t) ? {
104
93
  sortBy: e,
105
94
  sortDesc: t.map((e) => e === "desc")
106
95
  } : e === "" ? null : {
107
96
  sortBy: h.value,
108
97
  sortDesc: g.value === "desc"
109
- }, T = w(te(h.value, g.value)), E = f({
110
- get: () => v.value === "emit" ? te(h.value, g.value) : T.value,
98
+ }, E = T(ee(h.value, g.value)), D = f({
99
+ get: () => v.value === "emit" ? ee(h.value, g.value) : E.value,
111
100
  set: (e) => {
112
- T.value = e;
101
+ E.value = e;
113
102
  }
114
- }), D = f(() => {
103
+ }), O = f(() => {
115
104
  let o = [
116
105
  ...S.value,
117
- ...C.value,
118
- ...ee.value
106
+ ...w.value,
107
+ ...C.value
119
108
  ].map((e) => {
120
109
  let t = { ...e };
121
110
  if (t.sortable && (t.sortType = "none"), p.value) {
@@ -124,10 +113,10 @@ function ge(e, t, n, r, i, a, o, s, c, l, u, d, p, m, h, g, _, v, y, b) {
124
113
  t.sortType = p.value.sortType[e];
125
114
  } else t.value === p.value.sortBy && p.value.sortType && (t.sortType = p.value.sortType);
126
115
  }
127
- if (E.value && Array.isArray(E.value.sortBy) && Array.isArray(E.value.sortDesc) && E.value.sortBy.includes(t.value)) {
128
- let e = E.value.sortBy.indexOf(t.value);
129
- t.sortType = E.value.sortDesc[e] ? "desc" : "asc";
130
- } else E.value && t.value === E.value.sortBy && (t.sortType = E.value.sortDesc ? "desc" : "asc");
116
+ if (D.value && Array.isArray(D.value.sortBy) && Array.isArray(D.value.sortDesc) && D.value.sortBy.includes(t.value)) {
117
+ let e = D.value.sortBy.indexOf(t.value);
118
+ t.sortType = D.value.sortDesc[e] ? "desc" : "asc";
119
+ } else D.value && t.value === D.value.sortBy && (t.sortType = D.value.sortDesc ? "desc" : "asc");
131
120
  return t;
132
121
  }), u = s.value ? [{
133
122
  text: "",
@@ -153,16 +142,16 @@ function ge(e, t, n, r, i, a, o, s, c, l, u, d, p, m, h, g, _, v, y, b) {
153
142
  return f.length ? [...f, ...d] : d;
154
143
  });
155
144
  return {
156
- clientSortOptions: E,
157
- headerColumns: f(() => D.value.map((e) => e.value)),
158
- headersForRender: D,
145
+ clientSortOptions: D,
146
+ headerColumns: f(() => O.value.map((e) => e.value)),
147
+ headersForRender: O,
159
148
  updateSortField: (e, t) => {
160
149
  let n = null;
161
150
  if (n = t === "none" ? "asc" : t === "asc" ? "desc" : d.value ? "asc" : null, u.value && y(e, n), v.value !== "emit") {
162
- if (T.value && Array.isArray(T.value.sortBy) && Array.isArray(T.value.sortDesc)) {
163
- let t = T.value.sortBy.indexOf(e);
164
- t === -1 ? n !== null && (T.value.sortBy.push(e), T.value.sortDesc.push(n === "desc")) : n === null ? (T.value.sortDesc.splice(t, 1), T.value.sortBy.splice(t, 1)) : T.value.sortDesc[t] = n === "desc";
165
- } else n === null ? T.value = null : T.value = {
151
+ if (E.value && Array.isArray(E.value.sortBy) && Array.isArray(E.value.sortDesc)) {
152
+ let t = E.value.sortBy.indexOf(e);
153
+ t === -1 ? n !== null && (E.value.sortBy.push(e), E.value.sortDesc.push(n === "desc")) : n === null ? (E.value.sortDesc.splice(t, 1), E.value.sortBy.splice(t, 1)) : E.value.sortDesc[t] = n === "desc";
154
+ } else n === null ? E.value = null : E.value = {
166
155
  sortBy: e,
167
156
  sortDesc: n === "desc"
168
157
  };
@@ -172,13 +161,13 @@ function ge(e, t, n, r, i, a, o, s, c, l, u, d, p, m, h, g, _, v, y, b) {
172
161
  sortOrder: n
173
162
  });
174
163
  },
175
- isMultiSorting: (e) => p.value && Array.isArray(p.value.sortBy) ? p.value.sortBy.includes(e) : E.value && Array.isArray(E.value.sortBy) ? E.value.sortBy.includes(e) : !1,
176
- getMultiSortNumber: (e) => p.value && Array.isArray(p.value.sortBy) ? p.value.sortBy.indexOf(e) + 1 : E.value && Array.isArray(E.value.sortBy) ? E.value.sortBy.indexOf(e) + 1 : !1
164
+ isMultiSorting: (e) => p.value && Array.isArray(p.value.sortBy) ? p.value.sortBy.includes(e) : D.value && Array.isArray(D.value.sortBy) ? D.value.sortBy.includes(e) : !1,
165
+ getMultiSortNumber: (e) => p.value && Array.isArray(p.value.sortBy) ? p.value.sortBy.indexOf(e) + 1 : D.value && Array.isArray(D.value.sortBy) ? D.value.sortBy.indexOf(e) + 1 : !1
177
166
  };
178
167
  }
179
168
  //#endregion
180
169
  //#region src/components/Table/hooks/usePageItems.ts
181
- function _e(e, t, n, r, i, a, o, s, c, l) {
170
+ function pe(e, t, n, r, i, a, o, s, c, l) {
182
171
  let u = f(() => (e.value - 1) * i.value + 1), d = f(() => n.value ? Math.min(c.value, e.value * i.value) : Math.min(s.value.length, e.value * i.value)), p = f(() => n.value ? r.value : s.value.slice(u.value - 1, d.value)), m = f(() => o.value ? p.value.map((e, t) => ({
183
172
  index: u.value + t,
184
173
  ...e
@@ -204,8 +193,8 @@ function _e(e, t, n, r, i, a, o, s, c, l) {
204
193
  }
205
194
  //#endregion
206
195
  //#region src/components/Table/hooks/usePagination.ts
207
- function ve(e, t, n, r, i, a, o) {
208
- let s = w(a.value ? a.value.page : e.value), c = f(() => Math.ceil(r.value / i.value)), l = f(() => c.value === 0 || s.value === c.value), u = f(() => s.value === 1);
196
+ function me(e, t, n, r, i, a, o) {
197
+ let s = T(a.value ? a.value.page : e.value), c = f(() => Math.ceil(r.value / i.value)), l = f(() => c.value === 0 || s.value === c.value), u = f(() => s.value === 1);
209
198
  return {
210
199
  currentPaginationNumber: s,
211
200
  maxPaginationNumber: c,
@@ -227,8 +216,8 @@ function ve(e, t, n, r, i, a, o) {
227
216
  }
228
217
  //#endregion
229
218
  //#region src/components/Table/hooks/useRows.ts
230
- function ye(e, t, n, r) {
231
- let i = f(() => !e.value && !t.value.includes(r.value) ? [r.value, ...t.value] : t.value), a = w(n.value ? n.value.rowsPerPage : r.value);
219
+ function he(e, t, n, r) {
220
+ let i = f(() => !e.value && !t.value.includes(r.value) ? [r.value, ...t.value] : t.value), a = T(n.value ? n.value.rowsPerPage : r.value);
232
221
  return {
233
222
  rowsItemsComputed: i,
234
223
  rowsPerPageRef: a,
@@ -239,7 +228,7 @@ function ye(e, t, n, r) {
239
228
  }
240
229
  //#endregion
241
230
  //#region src/components/Table/hooks/useServerOptions.ts
242
- function be(e, t, n) {
231
+ function ge(e, t, n) {
243
232
  let r = f({
244
233
  get: () => {
245
234
  if (!e.value) return null;
@@ -286,15 +275,15 @@ function be(e, t, n) {
286
275
  }
287
276
  //#endregion
288
277
  //#region src/components/Table/hooks/useTotalItems.ts
289
- function F(e, t, n) {
278
+ function P(e, t, n) {
290
279
  if (typeof e == "number" && typeof t == "number") return e < t ? n ? 1 : -1 : e > t ? n ? -1 : 1 : 0;
291
280
  let r = String(e ?? ""), i = String(t ?? "");
292
281
  return r < i ? n ? 1 : -1 : r > i ? n ? -1 : 1 : 0;
293
282
  }
294
- function xe(e, t) {
283
+ function F(e, t) {
295
284
  return typeof t == "function" ? t(e) : Array.isArray(t) ? t.includes(e) : e === t || String(e ?? "") === String(t);
296
285
  }
297
- function Se(e, t, n, r, i, a, o, s, c, l, u, d) {
286
+ function _e(e, t, n, r, i, a, o, s, c, l, u, d) {
298
287
  let p = (e) => typeof o.value == "string" && o.value !== "" ? String(M(o.value, e)) : Array.isArray(o.value) ? o.value.map((t) => String(M(t, e))).join("") : Object.values(e).join(" "), m = f(() => {
299
288
  if (!r.value && s.value !== "") {
300
289
  let e = s.value.toLowerCase();
@@ -303,7 +292,7 @@ function Se(e, t, n, r, i, a, o, s, c, l, u, d) {
303
292
  return i.value;
304
293
  }), h = f(() => {
305
294
  let e = [...m.value];
306
- if (n.value) for (let [t, r] of Object.entries(n.value)) r != null && r !== "" && (e = e.filter((e) => xe(M(t, e), r)));
295
+ if (n.value) for (let [t, r] of Object.entries(n.value)) r != null && r !== "" && (e = e.filter((e) => F(M(t, e), r)));
307
296
  if (t.value) for (let n of t.value) e = e.filter((e) => {
308
297
  let { field: t, comparison: r, criteria: i } = n, a = M(String(t), e);
309
298
  if (typeof r == "function") return r(a, i);
@@ -324,7 +313,7 @@ function Se(e, t, n, r, i, a, o, s, c, l, u, d) {
324
313
  });
325
314
  return e;
326
315
  });
327
- k(h, (e) => {}, {
316
+ A(h, (e) => {}, {
328
317
  immediate: !0,
329
318
  deep: !0
330
319
  });
@@ -332,14 +321,14 @@ function Se(e, t, n, r, i, a, o, s, c, l, u, d) {
332
321
  let i = e[r], a = t[r];
333
322
  return (r === 0 ? n : g(e, t, n, r - 1)).sort((t, n) => {
334
323
  for (let i = 0; i < r; i += 1) if (M(e[i], t) !== M(e[i], n)) return 0;
335
- return F(M(i, t), M(i, n), a);
324
+ return P(M(i, t), M(i, n), a);
336
325
  });
337
326
  }
338
327
  let _ = f(() => {
339
328
  if (r.value) return i.value;
340
329
  if (e.value === null) return h.value;
341
330
  let { sortBy: t, sortDesc: n } = e.value, a = [...h.value];
342
- return l.value && Array.isArray(t) && Array.isArray(n) ? t.length === 0 ? a : g(t, n, a, t.length - 1) : a.sort((e, r) => F(M(t, e), M(t, r), n));
331
+ return l.value && Array.isArray(t) && Array.isArray(n) ? t.length === 0 ? a : g(t, n, a, t.length - 1) : a.sort((e, r) => P(M(t, e), M(t, r), n));
343
332
  }), v = f(() => r.value ? c.value : _.value.length), y = f({
344
333
  get: () => a.value ?? [],
345
334
  set: (e) => d("update:selection", e)
@@ -357,82 +346,90 @@ function Se(e, t, n, r, i, a, o, s, c, l, u, d) {
357
346
  }
358
347
  };
359
348
  }
360
- function Ce(e) {
349
+ function ve(e) {
361
350
  if (e) return e === "left" || e === "start" ? "start" : e === "right" || e === "end" ? "end" : "center";
362
351
  }
363
- function we(e) {
352
+ function ye(e) {
364
353
  if (e === !0 || e === "left") return "left";
365
354
  if (e === "right") return "right";
366
355
  }
367
- function I(e) {
356
+ function be(e) {
368
357
  return {
369
358
  text: e.label,
370
359
  value: e.key,
371
360
  sortable: e.sortable,
372
- fixed: we(e.fixed),
361
+ fixed: ye(e.fixed),
373
362
  width: e.width,
374
363
  minWidth: e.minWidth ?? (e.width ? void 0 : 80),
375
- align: Ce(e.align),
364
+ align: ve(e.align),
376
365
  render: e.render,
377
366
  showOverflowTooltip: e.showOverflowTooltip
378
367
  };
379
368
  }
380
- function Te(e) {
381
- return e.map(I);
369
+ function xe(e) {
370
+ return e.map(be);
382
371
  }
383
- function Ee(e) {
372
+ function Se(e) {
384
373
  return e ?? "asc";
385
374
  }
386
- function De(e) {
375
+ function Ce(e) {
387
376
  return e ?? "";
388
377
  }
389
378
  //#endregion
390
- //#region src/components/Table/Table.vue?vue&type=script&setup=true&lang.ts
391
- var Oe = ["aria-label"], ke = ["aria-busy"], Ae = ["id"], je = [
379
+ //#region \0plugin-vue:export-helper
380
+ var I = (e, t) => {
381
+ let n = e.__vccOpts || e;
382
+ for (let [e, r] of t) n[e] = r;
383
+ return n;
384
+ }, we = {}, Te = { class: "loader-line" };
385
+ function L(e, t) {
386
+ return w(), h("div", Te);
387
+ }
388
+ var Ee = /*#__PURE__*/ I(we, [["render", L]]), De = ["aria-label"], Oe = ["aria-busy"], ke = ["id"], Ae = [
392
389
  "aria-sort",
393
390
  "tabindex",
394
391
  "onClick",
395
392
  "onKeydown"
396
- ], Me = {
393
+ ], je = {
397
394
  key: 0,
398
395
  class: "m-table__cell-inner m-table__cell-inner--selection"
399
- }, Ne = {
396
+ }, Me = {
400
397
  key: 1,
401
398
  class: "m-table__cell-inner m-table__cell-inner--selection"
402
- }, Pe = ["title"], Fe = {
399
+ }, Ne = ["title"], Pe = {
403
400
  key: 4,
404
401
  class: "m-table__caret-wrapper"
405
- }, Ie = {
402
+ }, Fe = {
406
403
  key: 5,
407
404
  class: "m-table__multi-sort-number"
408
- }, Le = {
405
+ }, Ie = {
409
406
  key: 3,
410
407
  class: "m-table__body"
411
- }, Re = [
408
+ }, Le = [
412
409
  "onClick",
413
410
  "onDblclick",
414
411
  "onContextmenu"
415
- ], ze = ["onClick"], Be = [
412
+ ], Re = ["onClick"], ze = [
416
413
  "aria-expanded",
417
414
  "aria-label",
418
415
  "onClick"
419
- ], Ve = {
416
+ ], Be = {
420
417
  key: 6,
421
418
  class: "m-table__cell-text"
422
- }, He = { class: "m-table__tooltip-trigger" }, Ue = { class: "m-table__cell-text" }, We = ["colspan"], Ge = {
419
+ }, Ve = { class: "m-table__tooltip-trigger" }, He = { class: "m-table__cell-text" }, Ue = ["colspan"], We = {
423
420
  key: 0,
424
421
  class: "m-table__loading"
425
- }, Ke = { class: "m-table__loading-body" }, qe = {
422
+ }, Ge = { class: "m-table__loading-body" }, Ke = {
426
423
  key: 1,
427
424
  class: "m-table__message",
428
425
  role: "status"
429
- }, Je = { class: "m-table__empty-text" }, Ye = {
426
+ }, qe = { class: "m-table__empty-text" }, Je = {
430
427
  key: 0,
431
428
  class: "m-table__empty-description"
432
- }, Xe = {
429
+ }, Ye = {
433
430
  key: 0,
434
431
  class: "m-table__footer"
435
- }, Ze = { class: "m-table__items-index" }, Qe = /* @__PURE__ */ v({
432
+ }, Xe = { class: "m-table__items-index" }, Ze = /* @__PURE__ */ v({
436
433
  inheritAttrs: !1,
437
434
  __name: "Table",
438
435
  props: {
@@ -602,67 +599,67 @@ var Oe = ["aria-label"], ke = ["aria-busy"], Ae = ["id"], je = [
602
599
  "update:expandedRowKeys",
603
600
  "update:filters"
604
601
  ],
605
- setup(v, { expose: oe, emit: se }) {
606
- let j = v, ce = re(), { rootAttrs: me } = e(ce, () => j.pt), P = se, F = (e, ...t) => {
607
- P(e, ...t);
608
- }, { value: xe, setValue: we } = t({
609
- controlled: () => j.filters ?? void 0,
602
+ setup(v, { expose: le, emit: ue }) {
603
+ let P = v, F = ue, ye = ne(), { rootAttrs: be } = e(ye, () => P.pt), I = (e, ...t) => {
604
+ F(e, ...t);
605
+ }, { value: we, setValue: Te } = t({
606
+ controlled: () => P.filters ?? void 0,
610
607
  defaultValue: null
611
608
  }, (e) => {
612
- P("filter", e), P("update:filters", e);
613
- }), I = u(), { tableNodeId: Qe, clickEventType: $e, bodyTextDirection: et, checkboxColumnWidth: tt, expandColumnWidth: nt, expandedRowKeys: rt, filterOptions: it, fixedCheckbox: at, fixedExpand: ot, fixedHeader: st, fixedIndex: ct, headerTextDirection: lt, indexColumnWidth: ut, selectionMode: dt, selectedItem: ft, loading: L, mustSort: pt, multiSort: R, rowsItems: mt, rowsPerPage: ht, searchField: gt, searchValue: _t, serverItemsLength: vt, serverOptions: z, showIndex: yt, sortMode: bt, tableHeight: xt, tableMinHeight: St, rowsOfPageSeparatorMessage: Ct, showIndexSymbol: wt, preventContextMenuRow: Tt, headerItemClassName: Et, bodyRowClassName: Dt, bodyExpandRowClassName: Ot, bodyItemClassName: kt, tableClassName: At, headerClassName: jt, rowsPerPageMessage: Mt, hideHeader: Nt, hideRowsPerPage: Pt, clickRowToExpand: Ft, expandable: It, emptyDescription: Lt, fit: Rt, emptyText: zt, showHeader: Bt, maxHeight: Vt, paginator: Ht, rowKey: B, ariaLabel: Ut, size: Wt } = ne(j), V = f(() => Te(j.columns)), Gt = f(() => j.rows), Kt = f(() => j.selection ?? null), qt = f(() => De(j.sortField)), Jt = f(() => Ee(j.sortOrder)), Yt = f(() => j.page ?? 1), Xt = f(() => j.striped), Zt = f(() => j.bordered), Qt = f(() => j.highlightCurrent), $t = f(() => !j.rowHover), en = l("Table", () => Wt.value), tn = f(() => {
614
- if (en.value === "small") return "m-table--small";
615
- if (en.value === "large") return "m-table--large";
616
- }), nn = f(() => [
617
- At.value,
618
- tn.value,
609
+ F("filter", e), F("update:filters", e);
610
+ }), L = u(), { tableNodeId: Ze, clickEventType: Qe, bodyTextDirection: $e, checkboxColumnWidth: et, expandColumnWidth: tt, expandedRowKeys: nt, filterOptions: rt, fixedCheckbox: it, fixedExpand: at, fixedHeader: ot, fixedIndex: st, headerTextDirection: ct, indexColumnWidth: lt, selectionMode: ut, selectedItem: dt, loading: R, mustSort: ft, multiSort: z, rowsItems: pt, rowsPerPage: mt, searchField: ht, searchValue: gt, serverItemsLength: _t, serverOptions: B, showIndex: vt, sortMode: yt, tableHeight: bt, tableMinHeight: xt, rowsOfPageSeparatorMessage: St, showIndexSymbol: Ct, preventContextMenuRow: wt, headerItemClassName: Tt, bodyRowClassName: Et, bodyExpandRowClassName: Dt, bodyItemClassName: Ot, tableClassName: kt, headerClassName: At, rowsPerPageMessage: jt, hideHeader: Mt, hideRowsPerPage: Nt, clickRowToExpand: Pt, expandable: Ft, emptyDescription: It, fit: Lt, emptyText: Rt, showHeader: zt, maxHeight: Bt, paginator: Vt, rowKey: V, ariaLabel: Ht, size: Ut } = te(P), H = f(() => xe(P.columns)), Wt = f(() => P.rows), Gt = f(() => P.selection ?? null), Kt = f(() => Ce(P.sortField)), qt = f(() => Se(P.sortOrder)), Jt = f(() => P.page ?? 1), Yt = f(() => P.striped), Xt = f(() => P.bordered), Zt = f(() => P.highlightCurrent), Qt = f(() => !P.rowHover), $t = l("Table", () => Ut.value), en = f(() => {
611
+ if ($t.value === "small") return "m-table--small";
612
+ if ($t.value === "large") return "m-table--large";
613
+ }), tn = f(() => [
614
+ kt.value,
615
+ en.value,
619
616
  {
620
- "m-table--border": Zt.value,
621
- "m-table--striped": Xt.value,
622
- "m-table--enable-row-hover": !$t.value
617
+ "m-table--border": Xt.value,
618
+ "m-table--striped": Yt.value,
619
+ "m-table--enable-row-hover": !Qt.value
623
620
  }
624
- ]), rn = f(() => er.value.length > 0 || Rt.value !== !1), an = f(() => zt.value ?? I.value.emptyMessage), on = f(() => Bt.value ?? !Nt.value), sn = f(() => Vt.value ?? xt.value), cn = f(() => sn.value ? `${sn.value}px` : null), ln = f(() => `${St.value}px`), H = ie(), un = f(() => !!H.pagination), dn = f(() => !!H.loading), fn = f(() => It.value || !!H.expansion), pn = f(() => !!H.body), mn = f(() => {
621
+ ]), nn = f(() => er.value.length > 0 || Lt.value !== !1), rn = f(() => Rt.value ?? L.value.emptyMessage), an = f(() => zt.value ?? !Mt.value), on = f(() => Bt.value ?? bt.value), sn = f(() => on.value ? `${on.value}px` : null), cn = f(() => `${xt.value}px`), U = re(), ln = f(() => !!U.pagination), un = f(() => !!U.loading), dn = f(() => Ft.value || !!U.expansion), fn = f(() => !!U.body), pn = f(() => {
625
622
  let e = /* @__PURE__ */ new Map();
626
- for (let t of V.value) t.render && e.set(t.value, t.render);
623
+ for (let t of H.value) t.render && e.set(t.value, t.render);
627
624
  return e;
628
- }), hn = f(() => {
625
+ }), mn = f(() => {
629
626
  let e = /* @__PURE__ */ new Map();
630
- for (let t of V.value) {
631
- let n = Ce(t.align);
627
+ for (let t of H.value) {
628
+ let n = ve(t.align);
632
629
  n && e.set(t.value, n);
633
630
  }
634
631
  return e;
635
- }), gn = w(), _n = w();
636
- te("dataTable", gn);
637
- let vn = w(!1), yn = w(!1), bn = w(null), xn = f(() => j.currentRowKey ?? bn.value);
638
- function Sn(e) {
639
- vn.value = e.scrollLeft > 0;
640
- let t = _n.value?.wrapRef;
641
- yn.value = t ? t.scrollWidth - t.clientWidth - t.scrollLeft > 1 : !1;
632
+ }), hn = T(), gn = T();
633
+ ee("dataTable", hn);
634
+ let _n = T(!1), vn = T(!1), yn = T(null), bn = f(() => P.currentRowKey ?? yn.value);
635
+ function xn(e) {
636
+ _n.value = e.scrollLeft > 0;
637
+ let t = gn.value?.wrapRef;
638
+ vn.value = t ? t.scrollWidth - t.clientWidth - t.scrollLeft > 1 : !1;
642
639
  }
643
- let Cn = f(() => {
644
- let e = dt.value ?? (Kt.value === null ? null : "multiple");
640
+ let Sn = f(() => {
641
+ let e = ut.value ?? (Gt.value === null ? null : "multiple");
645
642
  return e === "multiple" ? "checkbox" : e === "single" ? "radio" : null;
646
- }), wn = f(() => Cn.value === "checkbox"), Tn = f(() => Cn.value === "radio"), En = f(() => ["m-table__main", {
647
- "m-table__main--fixed-header": st.value,
648
- "m-table__main--fixed-height": !!sn.value,
649
- "m-table__main--shadow": vn.value,
650
- "m-table__main--shadow-end": yn.value,
651
- "m-table__main--table-fixed": rn.value,
652
- "m-table__main--border-cell": Zt.value
653
- }]), Dn = f(() => ({ minHeight: ln.value })), U = f(() => z.value !== null), { serverOptionsComputed: On, updateServerOptionsPage: kn, updateServerOptionsSort: An, updateServerOptionsRowsPerPage: jn } = be(z, R, F), { clientSortOptions: Mn, headerColumns: Nn, headersForRender: W, updateSortField: Pn, isMultiSorting: Fn, getMultiSortNumber: In } = ge(wt, tt, nt, at, ot, ct, V, fn, ut, Cn, U, pt, On, yt, qt, Jt, R, bt, An, F), Ln = f(() => bt.value === "emit" ? null : Mn.value), { rowsItemsComputed: Rn, rowsPerPageRef: G, updateRowsPerPage: zn } = ye(U, mt, z, ht), { totalItems: Bn, selectItemsComputed: Vn, totalItemsLength: K, toggleSelectAll: Hn, toggleSelectItem: Un } = Se(Ln, it, xe, U, Gt, Kt, gt, _t, vt, R, B, F), Wn = f(() => {
654
- if (!ft.value) return null;
655
- let e = Bn.value.findIndex((e) => N(e, ft.value, B.value));
656
- return e >= 0 ? fe(ft.value, e, B.value) : null;
657
- }), { currentPaginationNumber: q, maxPaginationNumber: J, isLastPage: Y, isFirstPage: Gn, nextPage: Kn, prevPage: X, updatePage: Z, updateCurrentPaginationNumber: qn } = ve(Yt, U, L, K, G, z, kn), { currentPageFirstIndex: Jn, currentPageLastIndex: Yn, multipleSelectStatus: Xn, pageItems: Q } = _e(q, wn, U, Gt, G, Vn, yt, Bn, K, B), Zn = f(() => q.value === 0 ? 0 : (q.value - 1) * G.value), { isRowExpanded: Qn, toggleExpandRow: $n } = pe(rt, B, Zn, F), { fixedHeaders: er, lastFixedColumn: tr, firstRightFixedColumn: nr, fixedColumnsInfos: rr } = he(W), { clickRow: ir } = ue($e, wn, yt, F);
643
+ }), Cn = f(() => Sn.value === "checkbox"), wn = f(() => Sn.value === "radio"), Tn = f(() => ["m-table__main", {
644
+ "m-table__main--fixed-header": ot.value,
645
+ "m-table__main--fixed-height": !!on.value,
646
+ "m-table__main--shadow": _n.value,
647
+ "m-table__main--shadow-end": vn.value,
648
+ "m-table__main--table-fixed": nn.value,
649
+ "m-table__main--border-cell": Xt.value
650
+ }]), En = f(() => ({ minHeight: cn.value })), W = f(() => B.value !== null), { serverOptionsComputed: Dn, updateServerOptionsPage: On, updateServerOptionsSort: kn, updateServerOptionsRowsPerPage: An } = ge(B, z, I), { clientSortOptions: jn, headerColumns: Mn, headersForRender: G, updateSortField: Nn, isMultiSorting: Pn, getMultiSortNumber: Fn } = fe(Ct, et, tt, it, at, st, H, dn, lt, Sn, W, ft, Dn, vt, Kt, qt, z, yt, kn, I), In = f(() => yt.value === "emit" ? null : jn.value), { rowsItemsComputed: Ln, rowsPerPageRef: K, updateRowsPerPage: Rn } = he(W, pt, B, mt), { totalItems: zn, selectItemsComputed: Bn, totalItemsLength: q, toggleSelectAll: Vn, toggleSelectItem: Hn } = _e(In, rt, we, W, Wt, Gt, ht, gt, _t, z, V, I), Un = f(() => {
651
+ if (!dt.value) return null;
652
+ let e = zn.value.findIndex((e) => N(e, dt.value, V.value));
653
+ return e >= 0 ? se(dt.value, e, V.value) : null;
654
+ }), { currentPaginationNumber: J, maxPaginationNumber: Y, isLastPage: X, isFirstPage: Wn, nextPage: Gn, prevPage: Kn, updatePage: Z, updateCurrentPaginationNumber: qn } = me(Jt, W, R, q, K, B, On), { currentPageFirstIndex: Jn, currentPageLastIndex: Yn, multipleSelectStatus: Xn, pageItems: Q } = pe(J, Cn, W, Wt, K, Bn, vt, zn, q, V), Zn = f(() => J.value === 0 ? 0 : (J.value - 1) * K.value), { isRowExpanded: Qn, toggleExpandRow: $n } = ce(nt, V, Zn, I), { fixedHeaders: er, lastFixedColumn: tr, firstRightFixedColumn: nr, fixedColumnsInfos: rr } = de(G), { clickRow: ir } = ae(Qe, Cn, vt, I);
658
655
  function ar(e, t) {
659
- Tt.value && t.preventDefault(), P("contextmenuRow", e, t);
656
+ wt.value && t.preventDefault(), F("contextmenuRow", e, t);
660
657
  }
661
658
  function or(e) {
662
- let t = V.value.find((t) => t.value === e.value), n = e.width ?? t?.width ?? (er.value.length ? 100 : null);
663
- if (n && rn.value) return `width: ${n}px; min-width: ${n}px;`;
659
+ let t = H.value.find((t) => t.value === e.value), n = e.width ?? t?.width ?? (er.value.length ? 100 : null);
660
+ if (n && nn.value) return `width: ${n}px; min-width: ${n}px;`;
664
661
  let r = t?.minWidth;
665
- if (r && rn.value) return `min-width: ${r}px;`;
662
+ if (r && nn.value) return `min-width: ${r}px;`;
666
663
  }
667
664
  function sr(e, t = "th") {
668
665
  if (!er.value.length) return;
@@ -670,7 +667,7 @@ var Oe = ["aria-label"], ke = ["aria-busy"], Ae = ["id"], je = [
670
667
  if (n) return `${n.fixed === "right" ? "right" : "left"}: ${n.distance}px;z-index: ${t === "th" ? 3 : 1};position: sticky;`;
671
668
  }
672
669
  function cr(e, t) {
673
- let n = typeof Et.value == "string" ? Et.value : Et.value(e, t + 1);
670
+ let n = typeof Tt.value == "string" ? Tt.value : Tt.value(e, t + 1);
674
671
  return [{
675
672
  "m-table__cell--selection": e.text === "checkbox" || e.value === "radio",
676
673
  "m-table__header-cell--sortable": e.sortable,
@@ -681,14 +678,14 @@ var Oe = ["aria-label"], ke = ["aria-busy"], Ae = ["id"], je = [
681
678
  }, n];
682
679
  }
683
680
  function lr() {
684
- return ["m-table__header-inner", `m-table__header-inner--${lt.value}`];
681
+ return ["m-table__header-inner", `m-table__header-inner--${ct.value}`];
685
682
  }
686
683
  function ur(e) {
687
684
  if (e === "center") return "m-table__cell--center";
688
685
  if (e === "right" || e === "end") return "m-table__cell--right";
689
686
  }
690
687
  function dr(e) {
691
- return ur(hn.value.get(e) || et.value);
688
+ return ur(mn.value.get(e) || $e.value);
692
689
  }
693
690
  function fr(e, t) {
694
691
  return {
@@ -699,264 +696,264 @@ var Oe = ["aria-label"], ke = ["aria-busy"], Ae = ["id"], je = [
699
696
  };
700
697
  }
701
698
  function pr(e) {
702
- return j.showOverflowTooltip ? !0 : !!V.value.find((t) => t.value === e)?.showOverflowTooltip;
699
+ return P.showOverflowTooltip ? !0 : !!H.value.find((t) => t.value === e)?.showOverflowTooltip;
703
700
  }
704
701
  function mr(e) {
705
702
  if (e.sortable) return e.sortType === "asc" ? "ascending" : e.sortType === "desc" ? "descending" : "none";
706
703
  }
707
704
  function hr(e) {
708
- e.sortable && e.sortType && Pn(e.value, e.sortType);
705
+ e.sortable && e.sortType && Nn(e.value, e.sortType);
709
706
  }
710
707
  function gr(e, t) {
711
708
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), hr(e));
712
709
  }
713
710
  function $(e, t) {
714
- return fe(e, Zn.value + t, B.value);
711
+ return se(e, Zn.value + t, V.value);
715
712
  }
716
713
  function _r(e, t) {
717
- return wn.value ? !!e.checkbox : Tn.value ? Wn.value === $(e, t) : !1;
714
+ return Cn.value ? !!e.checkbox : wn.value ? Un.value === $(e, t) : !1;
718
715
  }
719
716
  function vr(e) {
720
717
  let t = { ...e };
721
- delete t.index, P("update:selectedItem", t), P("selectRow", t);
718
+ delete t.index, F("update:selectedItem", t), F("selectRow", t);
722
719
  }
723
720
  function yr(e) {
724
- zn(e);
721
+ Rn(e);
725
722
  }
726
723
  function br(e, t) {
727
- return !Qt.value || xn.value == null ? !1 : xn.value === $(e, t);
724
+ return !Zt.value || bn.value == null ? !1 : bn.value === $(e, t);
728
725
  }
729
726
  function xr(e, t) {
730
- if (!Qt.value) return;
731
- let n = $(e, t), r = xn.value;
727
+ if (!Zt.value) return;
728
+ let n = $(e, t), r = bn.value;
732
729
  if (r === n) return;
733
730
  let i = r == null ? null : Q.value.find((e, t) => $(e, t) === r) ?? null;
734
- bn.value = n, P("update:currentRowKey", n), P("current-change", e, i);
731
+ yn.value = n, F("update:currentRowKey", n), F("current-change", e, i);
735
732
  }
736
733
  function Sr(e, t, n, r) {
737
734
  ir(e, Zn.value + t, n, r), n === "single" && xr(e, t);
738
735
  }
739
- return k(() => j.currentRowKey, (e) => {
740
- e != null && (bn.value = e);
741
- }), k(L, (e, t) => {
742
- On.value && e === !1 && t === !0 && qn(On.value.page);
743
- }), k(G, (e) => {
744
- U.value ? jn(e) : Z(1);
745
- }), k([_t, it], () => {
746
- U.value || Z(1);
747
- }), k(() => j.filters, (e) => {
748
- P("filter", e ?? null);
749
- }, { deep: !0 }), k(Q, (e) => P("updatePageItems", e), { deep: !0 }), k(Bn, (e) => P("updateTotalItems", e), { deep: !0 }), k(q, (e) => {
750
- P("update:page", e), P("page", e);
751
- }), oe({
736
+ return A(() => P.currentRowKey, (e) => {
737
+ e != null && (yn.value = e);
738
+ }), A(R, (e, t) => {
739
+ Dn.value && e === !1 && t === !0 && qn(Dn.value.page);
740
+ }), A(K, (e) => {
741
+ W.value ? An(e) : Z(1);
742
+ }), A([gt, rt], () => {
743
+ W.value || Z(1);
744
+ }), A(() => P.filters, (e) => {
745
+ F("filter", e ?? null);
746
+ }, { deep: !0 }), A(Q, (e) => F("updatePageItems", e), { deep: !0 }), A(zn, (e) => F("updateTotalItems", e), { deep: !0 }), A(J, (e) => {
747
+ F("update:page", e), F("page", e);
748
+ }), le({
752
749
  currentPageFirstIndex: Jn,
753
750
  currentPageLastIndex: Yn,
754
- clientItemsLength: K,
755
- maxPaginationNumber: J,
756
- currentPaginationNumber: q,
757
- isLastPage: Y,
758
- isFirstPage: Gn,
759
- nextPage: Kn,
760
- prevPage: X,
751
+ clientItemsLength: q,
752
+ maxPaginationNumber: Y,
753
+ currentPaginationNumber: J,
754
+ isLastPage: X,
755
+ isFirstPage: Wn,
756
+ nextPage: Gn,
757
+ prevPage: Kn,
761
758
  updatePage: Z,
762
- rowsPerPageOptions: Rn,
763
- rowsPerPageActiveOption: G,
764
- updateRowsPerPageActiveOption: zn,
765
- setFilters: we
766
- }), (e, t) => (C(), h("div", b({
759
+ rowsPerPageOptions: Ln,
760
+ rowsPerPageActiveOption: K,
761
+ updateRowsPerPageActiveOption: Rn,
762
+ setFilters: Te
763
+ }), (e, t) => (w(), h("div", b({
767
764
  ref_key: "dataTable",
768
- ref: gn
769
- }, O(me), {
770
- class: ["m-table", nn.value],
771
- "aria-label": O(Ut) || void 0
765
+ ref: hn
766
+ }, k(be), {
767
+ class: ["m-table", tn.value],
768
+ "aria-label": k(Ht) || void 0
772
769
  }), [_(r, {
773
770
  ref_key: "scrollbarRef",
774
- ref: _n,
771
+ ref: gn,
775
772
  class: "m-table__scrollbar",
776
- height: cn.value || void 0,
777
- "wrap-style": Dn.value,
778
- "wrap-class": En.value,
773
+ height: sn.value || void 0,
774
+ "wrap-style": En.value,
775
+ "wrap-class": Tn.value,
779
776
  noresize: "",
780
- onScroll: Sn
777
+ onScroll: xn
781
778
  }, {
782
- default: ae(() => [g("div", {
779
+ default: ie(() => [g("div", {
783
780
  class: "m-table__surface",
784
- "aria-busy": O(L) || void 0
781
+ "aria-busy": k(R) || void 0
785
782
  }, [
786
- g("table", { id: O(Qe) || void 0 }, [
787
- g("colgroup", null, [(C(!0), h(d, null, T(O(W), (e, t) => (C(), h("col", {
783
+ g("table", { id: k(Ze) || void 0 }, [
784
+ g("colgroup", null, [(w(!0), h(d, null, E(k(G), (e, t) => (w(), h("col", {
788
785
  key: t,
789
- style: ee(or(e))
786
+ style: C(or(e))
790
787
  }, null, 4))), 128))]),
791
- O(H)["customize-headers"] ? E(e.$slots, "customize-headers", {}, void 0, void 0, 0) : O(W).length && on.value ? (C(), h("thead", {
788
+ k(U)["customize-headers"] ? D(e.$slots, "customize-headers", {}, void 0, void 0, 0) : k(G).length && an.value ? (w(), h("thead", {
792
789
  key: 1,
793
- class: x(["m-table__header", [O(jt)]])
794
- }, [g("tr", null, [(C(!0), h(d, null, T(O(W), (n, r) => (C(), h("th", {
790
+ class: x(["m-table__header", [k(At)]])
791
+ }, [g("tr", null, [(w(!0), h(d, null, E(k(G), (n, r) => (w(), h("th", {
795
792
  key: r,
796
793
  class: x(cr(n, r)),
797
- style: ee(sr(n.value)),
794
+ style: C(sr(n.value)),
798
795
  "aria-sort": mr(n),
799
796
  tabindex: n.sortable ? 0 : void 0,
800
- onClick: A((e) => hr(n), ["stop"]),
797
+ onClick: j((e) => hr(n), ["stop"]),
801
798
  onKeydown: (e) => gr(n, e)
802
- }, [n.text === "checkbox" ? (C(), h("div", Me, [(C(), p(i, {
803
- key: O(Xn),
804
- "model-value": O(Xn) === "allSelected",
805
- indeterminate: O(Xn) === "partSelected",
806
- "aria-label": O(I).selectAllPage,
807
- "onUpdate:modelValue": O(Hn),
808
- onClick: t[0] ||= A(() => {}, ["stop"])
799
+ }, [n.text === "checkbox" ? (w(), h("div", je, [(w(), p(i, {
800
+ key: k(Xn),
801
+ "model-value": k(Xn) === "allSelected",
802
+ indeterminate: k(Xn) === "partSelected",
803
+ "aria-label": k(L).selectAllPage,
804
+ "onUpdate:modelValue": k(Vn),
805
+ onClick: t[0] ||= j(() => {}, ["stop"])
809
806
  }, null, 8, [
810
807
  "model-value",
811
808
  "indeterminate",
812
809
  "aria-label",
813
810
  "onUpdate:modelValue"
814
- ]))])) : n.value === "radio" ? (C(), h("div", Ne)) : (C(), h("span", {
811
+ ]))])) : n.value === "radio" ? (w(), h("div", Me)) : (w(), h("span", {
815
812
  key: 2,
816
813
  class: x(lr())
817
814
  }, [
818
- O(H)[`header-${n.value}`] ? E(e.$slots, `header-${n.value}`, b({ ref_for: !0 }, n), void 0, void 0, 0) : O(H)[`header-${n.value.toLowerCase()}`] ? E(e.$slots, `header-${n.value.toLowerCase()}`, b({ ref_for: !0 }, n), void 0, void 0, 1) : O(H).header ? E(e.$slots, "header", b({ ref_for: !0 }, n), void 0, void 0, 2) : (C(), h("span", {
815
+ k(U)[`header-${n.value}`] ? D(e.$slots, `header-${n.value}`, b({ ref_for: !0 }, n), void 0, void 0, 0) : k(U)[`header-${n.value.toLowerCase()}`] ? D(e.$slots, `header-${n.value.toLowerCase()}`, b({ ref_for: !0 }, n), void 0, void 0, 1) : k(U).header ? D(e.$slots, "header", b({ ref_for: !0 }, n), void 0, void 0, 2) : (w(), h("span", {
819
816
  key: 3,
820
817
  class: "m-table__header-text",
821
818
  title: n.text
822
- }, D(n.text), 9, Pe)),
823
- n.sortable ? (C(), h("span", Fe, [...t[3] ||= [g("i", { class: "m-table__sort-caret m-table__sort-caret--ascending" }, null, -1), g("i", { class: "m-table__sort-caret m-table__sort-caret--descending" }, null, -1)]])) : m("", !0),
824
- O(R) && O(Fn)(n.value) ? (C(), h("span", Ie, D(O(In)(n.value)), 1)) : m("", !0)
825
- ], 2))], 46, je))), 128))])], 2)) : m("", !0),
826
- pn.value ? E(e.$slots, "body", S(y(O(Q))), void 0, void 0, 2) : O(Nn).length ? (C(), h("tbody", Le, [
827
- E(e.$slots, "body-prepend", S(y({
828
- items: O(Q),
819
+ }, O(n.text), 9, Ne)),
820
+ n.sortable ? (w(), h("span", Pe, [...t[3] ||= [g("i", { class: "m-table__sort-caret m-table__sort-caret--ascending" }, null, -1), g("i", { class: "m-table__sort-caret m-table__sort-caret--descending" }, null, -1)]])) : m("", !0),
821
+ k(z) && k(Pn)(n.value) ? (w(), h("span", Fe, O(k(Fn)(n.value)), 1)) : m("", !0)
822
+ ], 2))], 46, Ae))), 128))])], 2)) : m("", !0),
823
+ fn.value ? D(e.$slots, "body", S(y(k(Q))), void 0, void 0, 2) : k(Mn).length ? (w(), h("tbody", Ie, [
824
+ D(e.$slots, "body-prepend", S(y({
825
+ items: k(Q),
829
826
  pagination: {
830
- isFirstPage: O(Gn),
831
- isLastPage: O(Y),
832
- currentPaginationNumber: O(q),
833
- maxPaginationNumber: O(J),
834
- nextPage: O(Kn),
835
- prevPage: O(X)
827
+ isFirstPage: k(Wn),
828
+ isLastPage: k(X),
829
+ currentPaginationNumber: k(J),
830
+ maxPaginationNumber: k(Y),
831
+ nextPage: k(Gn),
832
+ prevPage: k(Kn)
836
833
  },
837
- headers: O(W)
834
+ headers: k(G)
838
835
  }))),
839
- (C(!0), h(d, null, T(O(Q), (r, a) => (C(), h(d, { key: $(r, a) }, [g("tr", {
836
+ (w(!0), h(d, null, E(k(Q), (r, a) => (w(), h(d, { key: $(r, a) }, [g("tr", {
840
837
  class: x([{
841
- "m-table__row--striped": Xt.value && (a + 1) % 2 == 0,
838
+ "m-table__row--striped": Yt.value && (a + 1) % 2 == 0,
842
839
  "m-table__row--selected": _r(r, a),
843
840
  "m-table__row--current": br(r, a)
844
- }, typeof O(Dt) == "string" ? O(Dt) : O(Dt)(r, a + 1)]),
841
+ }, typeof k(Et) == "string" ? k(Et) : k(Et)(r, a + 1)]),
845
842
  onClick: (e) => {
846
- Sr(r, a, "single", e), O(Ft) && O($n)(r, a, e);
843
+ Sr(r, a, "single", e), k(Pt) && k($n)(r, a, e);
847
844
  },
848
845
  onDblclick: (e) => Sr(r, a, "double", e),
849
846
  onContextmenu: (e) => ar(r, e)
850
- }, [(C(!0), h(d, null, T(O(Nn), (o, l) => (C(), h("td", {
847
+ }, [(w(!0), h(d, null, E(k(Mn), (o, l) => (w(), h("td", {
851
848
  key: l,
852
- style: ee(sr(o, "td")),
849
+ style: C(sr(o, "td")),
853
850
  class: x([
854
851
  {
855
- "m-table__cell--shadow": o === O(tr),
856
- "m-table__cell--shadow-end": o === O(nr),
852
+ "m-table__cell--shadow": o === k(tr),
853
+ "m-table__cell--shadow-end": o === k(nr),
857
854
  "m-table__cell--expand": o === "expand",
858
855
  "m-table__cell--selection": o === "checkbox" || o === "radio"
859
856
  },
860
857
  dr(o),
861
- typeof O(kt) == "string" ? O(kt) : O(kt)(o, a + 1)
858
+ typeof k(Ot) == "string" ? k(Ot) : k(Ot)(o, a + 1)
862
859
  ]),
863
- onClick: (e) => o === "expand" ? O($n)(r, a, e) : null
860
+ onClick: (e) => o === "expand" ? k($n)(r, a, e) : null
864
861
  }, [g("div", { class: x(["m-table__cell-inner", {
865
862
  "m-table__cell-inner--expand": o === "expand",
866
863
  "m-table__cell-inner--selection": o === "checkbox" || o === "radio"
867
- }]) }, [O(H)[`cell-${o}`] ? E(e.$slots, `cell-${o}`, b({ ref_for: !0 }, fr(o, r)), void 0, void 0, 0) : O(H)[`cell-${o.toLowerCase()}`] ? E(e.$slots, `cell-${o.toLowerCase()}`, b({ ref_for: !0 }, fr(o, r)), void 0, void 0, 1) : o === "expand" ? (C(), h("button", {
864
+ }]) }, [k(U)[`cell-${o}`] ? D(e.$slots, `cell-${o}`, b({ ref_for: !0 }, fr(o, r)), void 0, void 0, 0) : k(U)[`cell-${o.toLowerCase()}`] ? D(e.$slots, `cell-${o.toLowerCase()}`, b({ ref_for: !0 }, fr(o, r)), void 0, void 0, 1) : o === "expand" ? (w(), h("button", {
868
865
  key: 2,
869
866
  type: "button",
870
- class: x(["m-table__expand-btn", { "m-table__expand-btn--expanded": O(Qn)(r, a) }]),
871
- "aria-expanded": O(Qn)(r, a),
872
- "aria-label": O(I).expand,
873
- onClick: A((e) => O($n)(r, a, e), ["stop"])
874
- }, [_(n, { name: "chevron-right" })], 10, Be)) : o === "checkbox" ? (C(), p(i, {
867
+ class: x(["m-table__expand-btn", { "m-table__expand-btn--expanded": k(Qn)(r, a) }]),
868
+ "aria-expanded": k(Qn)(r, a),
869
+ "aria-label": k(L).expand,
870
+ onClick: j((e) => k($n)(r, a, e), ["stop"])
871
+ }, [_(n, { name: "chevron-right" })], 10, ze)) : o === "checkbox" ? (w(), p(i, {
875
872
  key: 3,
876
873
  "model-value": !!r.checkbox,
877
- "aria-label": O(I).selectRow.replace("{index}", String(O(Jn) + a)),
878
- "onUpdate:modelValue": (e) => O(Un)(r),
879
- onClick: t[1] ||= A(() => {}, ["stop"])
874
+ "aria-label": k(L).selectRow.replace("{index}", String(k(Jn) + a)),
875
+ "onUpdate:modelValue": (e) => k(Hn)(r),
876
+ onClick: t[1] ||= j(() => {}, ["stop"])
880
877
  }, null, 8, [
881
878
  "model-value",
882
879
  "aria-label",
883
880
  "onUpdate:modelValue"
884
- ])) : o === "radio" ? (C(), p(c, {
881
+ ])) : o === "radio" ? (w(), p(c, {
885
882
  key: 4,
886
- "model-value": Wn.value ?? void 0,
883
+ "model-value": Un.value ?? void 0,
887
884
  value: $(r, a),
888
- "aria-label": O(I).selectRow.replace("{index}", String(O(Jn) + a)),
885
+ "aria-label": k(L).selectRow.replace("{index}", String(k(Jn) + a)),
889
886
  "onUpdate:modelValue": (e) => vr(r),
890
- onClick: t[2] ||= A(() => {}, ["stop"])
887
+ onClick: t[2] ||= j(() => {}, ["stop"])
891
888
  }, null, 8, [
892
889
  "model-value",
893
890
  "value",
894
891
  "aria-label",
895
892
  "onUpdate:modelValue"
896
- ])) : O(H)["body-cell"] ? E(e.$slots, "body-cell", b({ ref_for: !0 }, {
893
+ ])) : k(U)["body-cell"] ? D(e.$slots, "body-cell", b({ ref_for: !0 }, {
897
894
  column: o,
898
895
  item: r,
899
896
  row: r,
900
- value: O(M)(o, r)
901
- }), void 0, void 0, 5) : mn.value.get(o) ? (C(), h("span", Ve, D(mn.value.get(o)(r)), 1)) : (C(), p(s, {
897
+ value: k(M)(o, r)
898
+ }), void 0, void 0, 5) : pn.value.get(o) ? (w(), h("span", Be, O(pn.value.get(o)(r)), 1)) : (w(), p(s, {
902
899
  key: 7,
903
- content: O(de)(o, r),
900
+ content: k(oe)(o, r),
904
901
  disabled: !pr(o)
905
902
  }, {
906
- default: ae(() => [g("span", He, [g("span", Ue, D(O(de)(o, r)), 1)])]),
903
+ default: ie(() => [g("span", Ve, [g("span", He, O(k(oe)(o, r)), 1)])]),
907
904
  _: 2
908
- }, 1032, ["content", "disabled"]))], 2)], 14, ze))), 128))], 42, Re), fn.value && O(Qn)(r, a) ? (C(), h("tr", {
905
+ }, 1032, ["content", "disabled"]))], 2)], 14, Re))), 128))], 42, Le), dn.value && k(Qn)(r, a) ? (w(), h("tr", {
909
906
  key: 0,
910
- class: x([{ "m-table__row--striped": Xt.value && (a + 1) % 2 == 0 }, typeof O(Ot) == "string" ? O(Ot) : O(Ot)(r, a + 1)])
907
+ class: x([{ "m-table__row--striped": Yt.value && (a + 1) % 2 == 0 }, typeof k(Dt) == "string" ? k(Dt) : k(Dt)(r, a + 1)])
911
908
  }, [g("td", {
912
- colspan: O(W).length,
909
+ colspan: k(G).length,
913
910
  class: "m-table__cell--expanded"
914
- }, [r.expandLoading ? (C(), p(le, {
911
+ }, [r.expandLoading ? (w(), p(Ee, {
915
912
  key: 0,
916
913
  class: "expand-loading"
917
- })) : m("", !0), E(e.$slots, "expansion", b({ ref_for: !0 }, { row: r }))], 8, We)], 2)) : m("", !0)], 64))), 128)),
918
- E(e.$slots, "body-append", S(y({
919
- items: O(Q),
914
+ })) : m("", !0), D(e.$slots, "expansion", b({ ref_for: !0 }, { row: r }))], 8, Ue)], 2)) : m("", !0)], 64))), 128)),
915
+ D(e.$slots, "body-append", S(y({
916
+ items: k(Q),
920
917
  pagination: {
921
- isFirstPage: O(Gn),
922
- isLastPage: O(Y),
923
- currentPaginationNumber: O(q),
924
- maxPaginationNumber: O(J),
925
- nextPage: O(Kn),
926
- prevPage: O(X),
927
- updatePage: O(Z)
918
+ isFirstPage: k(Wn),
919
+ isLastPage: k(X),
920
+ currentPaginationNumber: k(J),
921
+ maxPaginationNumber: k(Y),
922
+ nextPage: k(Gn),
923
+ prevPage: k(Kn),
924
+ updatePage: k(Z)
928
925
  },
929
- headers: O(W)
926
+ headers: k(G)
930
927
  })))
931
928
  ])) : m("", !0)
932
- ], 8, Ae),
933
- O(L) ? (C(), h("div", Ge, [t[4] ||= g("div", { class: "m-table__loading-mask" }, null, -1), g("div", Ke, [dn.value ? E(e.$slots, "loading", {}, void 0, void 0, 0) : (C(), p(o, {
929
+ ], 8, ke),
930
+ k(R) ? (w(), h("div", We, [t[4] ||= g("div", { class: "m-table__loading-mask" }, null, -1), g("div", Ge, [un.value ? D(e.$slots, "loading", {}, void 0, void 0, 0) : (w(), p(o, {
934
931
  key: 1,
935
932
  size: "sm"
936
933
  }))])])) : m("", !0),
937
- !O(Q).length && !O(L) ? (C(), h("div", qe, [O(H).empty ? E(e.$slots, "empty", {}, void 0, void 0, 0) : E(e.$slots, "empty", {}, () => [g("p", Je, D(an.value), 1), O(Lt) ? (C(), h("p", Ye, D(O(Lt)), 1)) : m("", !0)], void 0, 1)])) : m("", !0)
938
- ], 8, ke)]),
934
+ !k(Q).length && !k(R) ? (w(), h("div", Ke, [k(U).empty ? D(e.$slots, "empty", {}, void 0, void 0, 0) : D(e.$slots, "empty", {}, () => [g("p", qe, O(rn.value), 1), k(It) ? (w(), h("p", Je, O(k(It)), 1)) : m("", !0)], void 0, 1)])) : m("", !0)
935
+ ], 8, Oe)]),
939
936
  _: 3
940
937
  }, 8, [
941
938
  "height",
942
939
  "wrap-style",
943
940
  "wrap-class"
944
- ]), O(Ht) ? (C(), h("div", Xe, [g("div", Ze, D(`${O(Jn)}–${O(Yn)}`) + " " + D(O(Ct)) + " " + D(O(K)), 1), un.value ? E(e.$slots, "pagination", S(y({
945
- isFirstPage: O(Gn),
946
- isLastPage: O(Y),
947
- currentPaginationNumber: O(q),
948
- maxPaginationNumber: O(J),
949
- nextPage: O(Kn),
950
- prevPage: O(X)
951
- })), void 0, void 0, 0) : (C(), p(a, {
941
+ ]), k(Vt) ? (w(), h("div", Ye, [g("div", Xe, O(`${k(Jn)}–${k(Yn)}`) + " " + O(k(St)) + " " + O(k(q)), 1), ln.value ? D(e.$slots, "pagination", S(y({
942
+ isFirstPage: k(Wn),
943
+ isLastPage: k(X),
944
+ currentPaginationNumber: k(J),
945
+ maxPaginationNumber: k(Y),
946
+ nextPage: k(Gn),
947
+ prevPage: k(Kn)
948
+ })), void 0, void 0, 0) : (w(), p(a, {
952
949
  key: 1,
953
- "model-value": O(q),
954
- "total-records": O(K),
955
- rows: O(G),
956
- "page-sizes": O(Rn),
957
- "show-size-picker": !O(Pt),
958
- disabled: O(L),
959
- "onUpdate:modelValue": O(Z),
950
+ "model-value": k(J),
951
+ "total-records": k(q),
952
+ rows: k(K),
953
+ "page-sizes": k(Ln),
954
+ "show-size-picker": !k(Nt),
955
+ disabled: k(R),
956
+ "onUpdate:modelValue": k(Z),
960
957
  "onUpdate:rows": yr
961
958
  }, null, 8, [
962
959
  "model-value",
@@ -966,8 +963,8 @@ var Oe = ["aria-label"], ke = ["aria-busy"], Ae = ["id"], je = [
966
963
  "show-size-picker",
967
964
  "disabled",
968
965
  "onUpdate:modelValue"
969
- ]))])) : m("", !0)], 16, Oe));
966
+ ]))])) : m("", !0)], 16, De));
970
967
  }
971
968
  });
972
969
  //#endregion
973
- export { Qe as MTable };
970
+ export { Ze as MTable };