primevuelab 4.0.0-beta.4

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 (1330) hide show
  1. package/LICENSE.md +21 -0
  2. package/README.md +90 -0
  3. package/accordion/Accordion.d.ts +252 -0
  4. package/accordion/Accordion.vue +170 -0
  5. package/accordion/BaseAccordion.vue +51 -0
  6. package/accordion/accordion.mjs +268 -0
  7. package/accordion/accordion.mjs.map +1 -0
  8. package/accordion/package.json +11 -0
  9. package/accordion/style/AccordionStyle.d.ts +19 -0
  10. package/accordion/style/accordionstyle.mjs +17 -0
  11. package/accordion/style/accordionstyle.mjs.map +1 -0
  12. package/accordion/style/package.json +6 -0
  13. package/accordioncontent/AccordionContent.d.ts +149 -0
  14. package/accordioncontent/AccordionContent.vue +51 -0
  15. package/accordioncontent/BaseAccordionContent.vue +26 -0
  16. package/accordioncontent/accordioncontent.mjs +91 -0
  17. package/accordioncontent/accordioncontent.mjs.map +1 -0
  18. package/accordioncontent/package.json +11 -0
  19. package/accordioncontent/style/AccordionContentStyle.d.ts +23 -0
  20. package/accordioncontent/style/accordioncontentstyle.mjs +13 -0
  21. package/accordioncontent/style/accordioncontentstyle.mjs.map +1 -0
  22. package/accordioncontent/style/package.json +6 -0
  23. package/accordionheader/AccordionHeader.d.ts +149 -0
  24. package/accordionheader/AccordionHeader.vue +171 -0
  25. package/accordionheader/BaseAccordionHeader.vue +26 -0
  26. package/accordionheader/accordionheader.mjs +201 -0
  27. package/accordionheader/accordionheader.mjs.map +1 -0
  28. package/accordionheader/package.json +11 -0
  29. package/accordionheader/style/AccordionHeaderStyle.d.ts +23 -0
  30. package/accordionheader/style/accordionheaderstyle.mjs +13 -0
  31. package/accordionheader/style/accordionheaderstyle.mjs.map +1 -0
  32. package/accordionheader/style/package.json +6 -0
  33. package/accordionpanel/AccordionPanel.d.ts +147 -0
  34. package/accordionpanel/AccordionPanel.vue +40 -0
  35. package/accordionpanel/BaseAccordionPanel.vue +34 -0
  36. package/accordionpanel/accordionpanel.mjs +84 -0
  37. package/accordionpanel/accordionpanel.mjs.map +1 -0
  38. package/accordionpanel/package.json +11 -0
  39. package/accordionpanel/style/AccordionPanelStyle.d.ts +19 -0
  40. package/accordionpanel/style/accordionpanelstyle.mjs +19 -0
  41. package/accordionpanel/style/accordionpanelstyle.mjs.map +1 -0
  42. package/accordionpanel/style/package.json +6 -0
  43. package/accordiontab/AccordionTab.d.ts +236 -0
  44. package/accordiontab/AccordionTab.vue +16 -0
  45. package/accordiontab/BaseAccordionTab.vue +27 -0
  46. package/accordiontab/accordiontab.mjs +44 -0
  47. package/accordiontab/accordiontab.mjs.map +1 -0
  48. package/accordiontab/package.json +11 -0
  49. package/accordiontab/style/AccordionTabStyle.d.ts +15 -0
  50. package/accordiontab/style/accordiontabstyle.mjs +8 -0
  51. package/accordiontab/style/accordiontabstyle.mjs.map +1 -0
  52. package/accordiontab/style/package.json +6 -0
  53. package/animateonscroll/AnimateOnScroll.d.ts +87 -0
  54. package/animateonscroll/animateonscroll.mjs +130 -0
  55. package/animateonscroll/animateonscroll.mjs.map +1 -0
  56. package/animateonscroll/package.json +5 -0
  57. package/animateonscroll/style/AnimateOnScrollStyle.d.ts +14 -0
  58. package/animateonscroll/style/animateonscrollstyle.mjs +8 -0
  59. package/animateonscroll/style/animateonscrollstyle.mjs.map +1 -0
  60. package/animateonscroll/style/package.json +6 -0
  61. package/autocomplete/AutoComplete.d.ts +833 -0
  62. package/autocomplete/AutoComplete.vue +985 -0
  63. package/autocomplete/BaseAutoComplete.vue +191 -0
  64. package/autocomplete/autocomplete.mjs +1327 -0
  65. package/autocomplete/autocomplete.mjs.map +1 -0
  66. package/autocomplete/package.json +11 -0
  67. package/autocomplete/style/AutoCompleteStyle.d.ts +71 -0
  68. package/autocomplete/style/autocompletestyle.mjs +70 -0
  69. package/autocomplete/style/autocompletestyle.mjs.map +1 -0
  70. package/autocomplete/style/package.json +6 -0
  71. package/avatar/Avatar.d.ts +178 -0
  72. package/avatar/Avatar.vue +26 -0
  73. package/avatar/BaseAvatar.vue +46 -0
  74. package/avatar/avatar.mjs +90 -0
  75. package/avatar/avatar.mjs.map +1 -0
  76. package/avatar/package.json +11 -0
  77. package/avatar/style/AvatarStyle.d.ts +27 -0
  78. package/avatar/style/avatarstyle.mjs +27 -0
  79. package/avatar/style/avatarstyle.mjs.map +1 -0
  80. package/avatar/style/package.json +6 -0
  81. package/avatargroup/AvatarGroup.d.ts +128 -0
  82. package/avatargroup/AvatarGroup.vue +15 -0
  83. package/avatargroup/BaseAvatarGroup.vue +16 -0
  84. package/avatargroup/avatargroup.mjs +32 -0
  85. package/avatargroup/avatargroup.mjs.map +1 -0
  86. package/avatargroup/package.json +11 -0
  87. package/avatargroup/style/AvatarGroupStyle.d.ts +16 -0
  88. package/avatargroup/style/avatargroupstyle.mjs +12 -0
  89. package/avatargroup/style/avatargroupstyle.mjs.map +1 -0
  90. package/avatargroup/style/package.json +6 -0
  91. package/badge/Badge.d.ts +136 -0
  92. package/badge/Badge.vue +15 -0
  93. package/badge/BaseBadge.vue +30 -0
  94. package/badge/badge.mjs +48 -0
  95. package/badge/badge.mjs.map +1 -0
  96. package/badge/package.json +11 -0
  97. package/badge/style/BadgeStyle.d.ts +19 -0
  98. package/badge/style/badgestyle.mjs +34 -0
  99. package/badge/style/badgestyle.mjs.map +1 -0
  100. package/badge/style/package.json +6 -0
  101. package/badgedirective/BadgeDirective.d.ts +170 -0
  102. package/badgedirective/badgedirective.mjs +68 -0
  103. package/badgedirective/badgedirective.mjs.map +1 -0
  104. package/badgedirective/package.json +5 -0
  105. package/badgedirective/style/BadgeDirectiveStyle.d.ts +16 -0
  106. package/badgedirective/style/badgedirectivestyle.mjs +12 -0
  107. package/badgedirective/style/badgedirectivestyle.mjs.map +1 -0
  108. package/badgedirective/style/package.json +6 -0
  109. package/blockui/BaseBlockUI.vue +34 -0
  110. package/blockui/BlockUI.d.ts +176 -0
  111. package/blockui/BlockUI.vue +103 -0
  112. package/blockui/blockui.mjs +133 -0
  113. package/blockui/blockui.mjs.map +1 -0
  114. package/blockui/package.json +11 -0
  115. package/blockui/style/BlockUIStyle.d.ts +19 -0
  116. package/blockui/style/blockuistyle.mjs +17 -0
  117. package/blockui/style/blockuistyle.mjs.map +1 -0
  118. package/blockui/style/package.json +6 -0
  119. package/breadcrumb/BaseBreadcrumb.vue +26 -0
  120. package/breadcrumb/Breadcrumb.d.ts +241 -0
  121. package/breadcrumb/Breadcrumb.vue +31 -0
  122. package/breadcrumb/BreadcrumbItem.vue +87 -0
  123. package/breadcrumb/breadcrumb.mjs +176 -0
  124. package/breadcrumb/breadcrumb.mjs.map +1 -0
  125. package/breadcrumb/package.json +11 -0
  126. package/breadcrumb/style/BreadcrumbStyle.d.ts +47 -0
  127. package/breadcrumb/style/breadcrumbstyle.mjs +29 -0
  128. package/breadcrumb/style/breadcrumbstyle.mjs.map +1 -0
  129. package/breadcrumb/style/package.json +6 -0
  130. package/button/BaseButton.vue +86 -0
  131. package/button/Button.d.ts +259 -0
  132. package/button/Button.vue +57 -0
  133. package/button/button.mjs +172 -0
  134. package/button/button.mjs.map +1 -0
  135. package/button/package.json +11 -0
  136. package/button/style/ButtonStyle.d.ts +31 -0
  137. package/button/style/buttonstyle.mjs +36 -0
  138. package/button/style/buttonstyle.mjs.map +1 -0
  139. package/button/style/package.json +6 -0
  140. package/buttongroup/BaseButtonGroup.vue +16 -0
  141. package/buttongroup/ButtonGroup.d.ts +120 -0
  142. package/buttongroup/ButtonGroup.vue +15 -0
  143. package/buttongroup/buttongroup.mjs +33 -0
  144. package/buttongroup/buttongroup.mjs.map +1 -0
  145. package/buttongroup/package.json +11 -0
  146. package/buttongroup/style/ButtonGroupStyle.d.ts +19 -0
  147. package/buttongroup/style/buttongroupstyle.mjs +17 -0
  148. package/buttongroup/style/buttongroupstyle.mjs.map +1 -0
  149. package/buttongroup/style/package.json +6 -0
  150. package/calendar/Calendar.d.ts +127 -0
  151. package/calendar/Calendar.vue +11 -0
  152. package/calendar/calendar.mjs +12 -0
  153. package/calendar/calendar.mjs.map +1 -0
  154. package/calendar/package.json +11 -0
  155. package/calendar/style/CalendarStyle.d.ts +14 -0
  156. package/calendar/style/calendarstyle.mjs +8 -0
  157. package/calendar/style/calendarstyle.mjs.map +1 -0
  158. package/calendar/style/package.json +6 -0
  159. package/card/BaseCard.vue +16 -0
  160. package/card/Card.d.ts +168 -0
  161. package/card/Card.vue +33 -0
  162. package/card/card.mjs +51 -0
  163. package/card/card.mjs.map +1 -0
  164. package/card/package.json +11 -0
  165. package/card/style/CardStyle.d.ts +47 -0
  166. package/card/style/cardstyle.mjs +24 -0
  167. package/card/style/cardstyle.mjs.map +1 -0
  168. package/card/style/package.json +6 -0
  169. package/carousel/BaseCarousel.vue +71 -0
  170. package/carousel/Carousel.d.ts +403 -0
  171. package/carousel/Carousel.vue +653 -0
  172. package/carousel/carousel.mjs +730 -0
  173. package/carousel/carousel.mjs.map +1 -0
  174. package/carousel/package.json +11 -0
  175. package/carousel/style/CarouselStyle.d.ts +71 -0
  176. package/carousel/style/carouselstyle.mjs +70 -0
  177. package/carousel/style/carouselstyle.mjs.map +1 -0
  178. package/carousel/style/package.json +6 -0
  179. package/cascadeselect/BaseCascadeSelect.vue +144 -0
  180. package/cascadeselect/CascadeSelect.d.ts +567 -0
  181. package/cascadeselect/CascadeSelect.vue +784 -0
  182. package/cascadeselect/CascadeSelectSub.vue +176 -0
  183. package/cascadeselect/cascadeselect.mjs +1250 -0
  184. package/cascadeselect/cascadeselect.mjs.map +1 -0
  185. package/cascadeselect/package.json +11 -0
  186. package/cascadeselect/style/CascadeSelectStyle.d.ts +67 -0
  187. package/cascadeselect/style/cascadeselectstyle.mjs +66 -0
  188. package/cascadeselect/style/cascadeselectstyle.mjs.map +1 -0
  189. package/cascadeselect/style/package.json +6 -0
  190. package/chart/BaseChart.vue +34 -0
  191. package/chart/Chart.d.ts +211 -0
  192. package/chart/Chart.vue +97 -0
  193. package/chart/chart.mjs +153 -0
  194. package/chart/chart.mjs.map +1 -0
  195. package/chart/package.json +11 -0
  196. package/chart/style/ChartStyle.d.ts +19 -0
  197. package/chart/style/chartstyle.mjs +18 -0
  198. package/chart/style/chartstyle.mjs.map +1 -0
  199. package/chart/style/package.json +6 -0
  200. package/checkbox/BaseCheckbox.vue +81 -0
  201. package/checkbox/Checkbox.d.ts +283 -0
  202. package/checkbox/Checkbox.vue +102 -0
  203. package/checkbox/checkbox.mjs +208 -0
  204. package/checkbox/checkbox.mjs.map +1 -0
  205. package/checkbox/package.json +11 -0
  206. package/checkbox/style/CheckboxStyle.d.ts +31 -0
  207. package/checkbox/style/checkboxstyle.mjs +29 -0
  208. package/checkbox/style/checkboxstyle.mjs.map +1 -0
  209. package/checkbox/style/package.json +6 -0
  210. package/chip/BaseChip.vue +38 -0
  211. package/chip/Chip.d.ts +206 -0
  212. package/chip/Chip.vue +44 -0
  213. package/chip/chip.mjs +106 -0
  214. package/chip/chip.mjs.map +1 -0
  215. package/chip/package.json +11 -0
  216. package/chip/style/ChipStyle.d.ts +35 -0
  217. package/chip/style/chipstyle.mjs +21 -0
  218. package/chip/style/chipstyle.mjs.map +1 -0
  219. package/chip/style/package.json +6 -0
  220. package/chips/Chips.d.ts +90 -0
  221. package/chips/Chips.vue +11 -0
  222. package/chips/chips.mjs +12 -0
  223. package/chips/chips.mjs.map +1 -0
  224. package/chips/package.json +11 -0
  225. package/chips/style/ChipsStyle.d.ts +14 -0
  226. package/chips/style/chipsstyle.mjs +8 -0
  227. package/chips/style/chipsstyle.mjs.map +1 -0
  228. package/chips/style/package.json +6 -0
  229. package/colorpicker/BaseColorPicker.vue +55 -0
  230. package/colorpicker/ColorPicker.d.ts +254 -0
  231. package/colorpicker/ColorPicker.vue +569 -0
  232. package/colorpicker/colorpicker.mjs +646 -0
  233. package/colorpicker/colorpicker.mjs.map +1 -0
  234. package/colorpicker/package.json +11 -0
  235. package/colorpicker/style/ColorPickerStyle.d.ts +47 -0
  236. package/colorpicker/style/colorpickerstyle.mjs +35 -0
  237. package/colorpicker/style/colorpickerstyle.mjs.map +1 -0
  238. package/colorpicker/style/package.json +6 -0
  239. package/column/BaseColumn.vue +194 -0
  240. package/column/Column.d.ts +1006 -0
  241. package/column/Column.vue +19 -0
  242. package/column/column.mjs +213 -0
  243. package/column/column.mjs.map +1 -0
  244. package/column/package.json +11 -0
  245. package/column/style/ColumnStyle.d.ts +15 -0
  246. package/column/style/columnstyle.mjs +8 -0
  247. package/column/style/columnstyle.mjs.map +1 -0
  248. package/column/style/package.json +6 -0
  249. package/columngroup/BaseColumnGroup.vue +22 -0
  250. package/columngroup/ColumnGroup.d.ts +145 -0
  251. package/columngroup/ColumnGroup.vue +19 -0
  252. package/columngroup/columngroup.mjs +41 -0
  253. package/columngroup/columngroup.mjs.map +1 -0
  254. package/columngroup/package.json +11 -0
  255. package/columngroup/style/ColumnGroupStyle.d.ts +15 -0
  256. package/columngroup/style/columngroupstyle.mjs +8 -0
  257. package/columngroup/style/columngroupstyle.mjs.map +1 -0
  258. package/columngroup/style/package.json +6 -0
  259. package/config/Config.d.ts +425 -0
  260. package/config/config.mjs +3 -0
  261. package/config/config.mjs.map +1 -0
  262. package/config/package.json +5 -0
  263. package/confirmationeventbus/confirmationeventbus.mjs +6 -0
  264. package/confirmationeventbus/confirmationeventbus.mjs.map +1 -0
  265. package/confirmationeventbus/package.json +4 -0
  266. package/confirmationoptions/ConfirmationOptions.d.ts +99 -0
  267. package/confirmationservice/ConfirmationService.d.ts +40 -0
  268. package/confirmationservice/confirmationservice.mjs +20 -0
  269. package/confirmationservice/confirmationservice.mjs.map +1 -0
  270. package/confirmationservice/package.json +5 -0
  271. package/confirmdialog/BaseConfirmDialog.vue +27 -0
  272. package/confirmdialog/ConfirmDialog.d.ts +291 -0
  273. package/confirmdialog/ConfirmDialog.vue +182 -0
  274. package/confirmdialog/confirmdialog.mjs +260 -0
  275. package/confirmdialog/confirmdialog.mjs.map +1 -0
  276. package/confirmdialog/package.json +11 -0
  277. package/confirmdialog/style/ConfirmDialogStyle.d.ts +35 -0
  278. package/confirmdialog/style/confirmdialogstyle.mjs +21 -0
  279. package/confirmdialog/style/confirmdialogstyle.mjs.map +1 -0
  280. package/confirmdialog/style/package.json +6 -0
  281. package/confirmpopup/BaseConfirmPopup.vue +19 -0
  282. package/confirmpopup/ConfirmPopup.d.ts +241 -0
  283. package/confirmpopup/ConfirmPopup.vue +336 -0
  284. package/confirmpopup/confirmpopup.mjs +396 -0
  285. package/confirmpopup/confirmpopup.mjs.map +1 -0
  286. package/confirmpopup/package.json +11 -0
  287. package/confirmpopup/style/ConfirmPopupStyle.d.ts +43 -0
  288. package/confirmpopup/style/confirmpopupstyle.mjs +23 -0
  289. package/confirmpopup/style/confirmpopupstyle.mjs.map +1 -0
  290. package/confirmpopup/style/package.json +6 -0
  291. package/contextmenu/BaseContextMenu.vue +50 -0
  292. package/contextmenu/ContextMenu.d.ts +413 -0
  293. package/contextmenu/ContextMenu.vue +600 -0
  294. package/contextmenu/ContextMenuSub.vue +227 -0
  295. package/contextmenu/contextmenu.mjs +988 -0
  296. package/contextmenu/contextmenu.mjs.map +1 -0
  297. package/contextmenu/package.json +11 -0
  298. package/contextmenu/style/ContextMenuStyle.d.ts +56 -0
  299. package/contextmenu/style/contextmenustyle.mjs +34 -0
  300. package/contextmenu/style/contextmenustyle.mjs.map +1 -0
  301. package/contextmenu/style/package.json +6 -0
  302. package/datatable/BaseDataTable.vue +309 -0
  303. package/datatable/BodyCell.vue +577 -0
  304. package/datatable/BodyRow.vue +598 -0
  305. package/datatable/ColumnFilter.vue +736 -0
  306. package/datatable/DataTable.d.ts +1639 -0
  307. package/datatable/DataTable.vue +2061 -0
  308. package/datatable/FooterCell.vue +104 -0
  309. package/datatable/HeaderCell.vue +377 -0
  310. package/datatable/HeaderCheckbox.vue +67 -0
  311. package/datatable/RowCheckbox.vue +74 -0
  312. package/datatable/RowRadioButton.vue +59 -0
  313. package/datatable/TableBody.vue +303 -0
  314. package/datatable/TableFooter.vue +131 -0
  315. package/datatable/TableHeader.vue +345 -0
  316. package/datatable/datatable.mjs +6379 -0
  317. package/datatable/datatable.mjs.map +1 -0
  318. package/datatable/package.json +11 -0
  319. package/datatable/style/DataTableStyle.d.ts +207 -0
  320. package/datatable/style/datatablestyle.mjs +169 -0
  321. package/datatable/style/datatablestyle.mjs.map +1 -0
  322. package/datatable/style/package.json +6 -0
  323. package/dataview/BaseDataView.vue +82 -0
  324. package/dataview/DataView.d.ts +356 -0
  325. package/dataview/DataView.vue +172 -0
  326. package/dataview/dataview.mjs +283 -0
  327. package/dataview/dataview.mjs.map +1 -0
  328. package/dataview/package.json +11 -0
  329. package/dataview/style/DataViewStyle.d.ts +39 -0
  330. package/dataview/style/dataviewstyle.mjs +32 -0
  331. package/dataview/style/dataviewstyle.mjs.map +1 -0
  332. package/dataview/style/package.json +6 -0
  333. package/datepicker/BaseDatePicker.vue +248 -0
  334. package/datepicker/DatePicker.d.ts +1047 -0
  335. package/datepicker/DatePicker.vue +2951 -0
  336. package/datepicker/datepicker.mjs +3323 -0
  337. package/datepicker/datepicker.mjs.map +1 -0
  338. package/datepicker/package.json +11 -0
  339. package/datepicker/style/DatePickerStyle.d.ts +167 -0
  340. package/datepicker/style/datepickerstyle.mjs +114 -0
  341. package/datepicker/style/datepickerstyle.mjs.map +1 -0
  342. package/datepicker/style/package.json +6 -0
  343. package/deferredcontent/DeferredContent.d.ts +148 -0
  344. package/deferredcontent/DeferredContent.vue +65 -0
  345. package/deferredcontent/deferredcontent.mjs +69 -0
  346. package/deferredcontent/deferredcontent.mjs.map +1 -0
  347. package/deferredcontent/package.json +11 -0
  348. package/deferredcontent/style/DeferredContentStyle.d.ts +14 -0
  349. package/deferredcontent/style/deferredcontentstyle.mjs +8 -0
  350. package/deferredcontent/style/deferredcontentstyle.mjs.map +1 -0
  351. package/deferredcontent/style/package.json +6 -0
  352. package/dialog/BaseDialog.vue +139 -0
  353. package/dialog/Dialog.d.ts +433 -0
  354. package/dialog/Dialog.vue +418 -0
  355. package/dialog/dialog.mjs +608 -0
  356. package/dialog/dialog.mjs.map +1 -0
  357. package/dialog/package.json +11 -0
  358. package/dialog/style/DialogStyle.d.ts +51 -0
  359. package/dialog/style/dialogstyle.mjs +65 -0
  360. package/dialog/style/dialogstyle.mjs.map +1 -0
  361. package/dialog/style/package.json +6 -0
  362. package/dialogservice/DialogService.d.ts +39 -0
  363. package/dialogservice/dialogservice.mjs +34 -0
  364. package/dialogservice/dialogservice.mjs.map +1 -0
  365. package/dialogservice/package.json +5 -0
  366. package/divider/BaseDivider.vue +30 -0
  367. package/divider/Divider.d.ts +143 -0
  368. package/divider/Divider.vue +17 -0
  369. package/divider/divider.mjs +53 -0
  370. package/divider/divider.mjs.map +1 -0
  371. package/divider/package.json +11 -0
  372. package/divider/style/DividerStyle.d.ts +23 -0
  373. package/divider/style/dividerstyle.mjs +45 -0
  374. package/divider/style/dividerstyle.mjs.map +1 -0
  375. package/divider/style/package.json +6 -0
  376. package/dock/BaseDock.vue +46 -0
  377. package/dock/Dock.d.ts +331 -0
  378. package/dock/Dock.vue +60 -0
  379. package/dock/DockSub.vue +286 -0
  380. package/dock/dock.mjs +423 -0
  381. package/dock/dock.mjs.map +1 -0
  382. package/dock/package.json +11 -0
  383. package/dock/style/DockStyle.d.ts +43 -0
  384. package/dock/style/dockstyle.mjs +37 -0
  385. package/dock/style/dockstyle.mjs.map +1 -0
  386. package/dock/style/package.json +6 -0
  387. package/drawer/BaseDrawer.vue +73 -0
  388. package/drawer/Drawer.d.ts +286 -0
  389. package/drawer/Drawer.vue +234 -0
  390. package/drawer/drawer.mjs +341 -0
  391. package/drawer/drawer.mjs.map +1 -0
  392. package/drawer/package.json +11 -0
  393. package/drawer/style/DrawerStyle.d.ts +39 -0
  394. package/drawer/style/drawerstyle.mjs +56 -0
  395. package/drawer/style/drawerstyle.mjs.map +1 -0
  396. package/drawer/style/package.json +6 -0
  397. package/dropdown/Dropdown.d.ts +108 -0
  398. package/dropdown/Dropdown.vue +11 -0
  399. package/dropdown/dropdown.mjs +12 -0
  400. package/dropdown/dropdown.mjs.map +1 -0
  401. package/dropdown/package.json +11 -0
  402. package/dropdown/style/DropdownStyle.d.ts +14 -0
  403. package/dropdown/style/dropdownstyle.mjs +8 -0
  404. package/dropdown/style/dropdownstyle.mjs.map +1 -0
  405. package/dropdown/style/package.json +6 -0
  406. package/dynamicdialog/BaseDynamicDialog.vue +17 -0
  407. package/dynamicdialog/DynamicDialog.d.ts +55 -0
  408. package/dynamicdialog/DynamicDialog.vue +77 -0
  409. package/dynamicdialog/dynamicdialog.mjs +134 -0
  410. package/dynamicdialog/dynamicdialog.mjs.map +1 -0
  411. package/dynamicdialog/package.json +11 -0
  412. package/dynamicdialog/style/DynamicDialogStyle.d.ts +14 -0
  413. package/dynamicdialog/style/dynamicdialogstyle.mjs +8 -0
  414. package/dynamicdialog/style/dynamicdialogstyle.mjs.map +1 -0
  415. package/dynamicdialog/style/package.json +6 -0
  416. package/dynamicdialogeventbus/dynamicdialogeventbus.mjs +6 -0
  417. package/dynamicdialogeventbus/dynamicdialogeventbus.mjs.map +1 -0
  418. package/dynamicdialogeventbus/package.json +4 -0
  419. package/dynamicdialogoptions/DynamicDialogOptions.d.ts +93 -0
  420. package/editor/BaseEditor.vue +24 -0
  421. package/editor/Editor.d.ts +320 -0
  422. package/editor/Editor.vue +178 -0
  423. package/editor/editor.mjs +238 -0
  424. package/editor/editor.mjs.map +1 -0
  425. package/editor/package.json +11 -0
  426. package/editor/style/EditorStyle.d.ts +27 -0
  427. package/editor/style/editorstyle.mjs +19 -0
  428. package/editor/style/editorstyle.mjs.map +1 -0
  429. package/editor/style/package.json +6 -0
  430. package/fieldset/BaseFieldset.vue +25 -0
  431. package/fieldset/Fieldset.d.ts +253 -0
  432. package/fieldset/Fieldset.vue +95 -0
  433. package/fieldset/fieldset.mjs +147 -0
  434. package/fieldset/fieldset.mjs.map +1 -0
  435. package/fieldset/package.json +11 -0
  436. package/fieldset/style/FieldsetStyle.d.ts +39 -0
  437. package/fieldset/style/fieldsetstyle.mjs +28 -0
  438. package/fieldset/style/fieldsetstyle.mjs.map +1 -0
  439. package/fieldset/style/package.json +6 -0
  440. package/fileupload/BaseFileUpload.vue +128 -0
  441. package/fileupload/FileContent.vue +75 -0
  442. package/fileupload/FileUpload.d.ts +670 -0
  443. package/fileupload/FileUpload.vue +448 -0
  444. package/fileupload/fileupload.mjs +870 -0
  445. package/fileupload/fileupload.mjs.map +1 -0
  446. package/fileupload/package.json +11 -0
  447. package/fileupload/style/FileUploadStyle.d.ts +75 -0
  448. package/fileupload/style/fileuploadstyle.mjs +34 -0
  449. package/fileupload/style/fileuploadstyle.mjs.map +1 -0
  450. package/fileupload/style/package.json +6 -0
  451. package/floatlabel/BaseFloatLabel.vue +17 -0
  452. package/floatlabel/FloatLabel.d.ts +130 -0
  453. package/floatlabel/FloatLabel.vue +15 -0
  454. package/floatlabel/floatlabel.mjs +33 -0
  455. package/floatlabel/floatlabel.mjs.map +1 -0
  456. package/floatlabel/package.json +11 -0
  457. package/floatlabel/style/FloatLabelStyle.d.ts +19 -0
  458. package/floatlabel/style/floatlabelstyle.mjs +17 -0
  459. package/floatlabel/style/floatlabelstyle.mjs.map +1 -0
  460. package/floatlabel/style/package.json +6 -0
  461. package/focustrap/FocusTrap.d.ts +100 -0
  462. package/focustrap/focustrap.mjs +141 -0
  463. package/focustrap/focustrap.mjs.map +1 -0
  464. package/focustrap/package.json +5 -0
  465. package/focustrap/style/FocusTrapStyle.d.ts +14 -0
  466. package/focustrap/style/focustrapstyle.mjs +8 -0
  467. package/focustrap/style/focustrapstyle.mjs.map +1 -0
  468. package/focustrap/style/package.json +6 -0
  469. package/galleria/BaseGalleria.vue +134 -0
  470. package/galleria/Galleria.d.ts +541 -0
  471. package/galleria/Galleria.vue +95 -0
  472. package/galleria/GalleriaContent.vue +168 -0
  473. package/galleria/GalleriaItem.vue +271 -0
  474. package/galleria/GalleriaThumbnails.vue +546 -0
  475. package/galleria/galleria.mjs +1278 -0
  476. package/galleria/galleria.mjs.map +1 -0
  477. package/galleria/package.json +11 -0
  478. package/galleria/style/GalleriaStyle.d.ts +127 -0
  479. package/galleria/style/galleriastyle.mjs +89 -0
  480. package/galleria/style/galleriastyle.mjs.map +1 -0
  481. package/galleria/style/package.json +6 -0
  482. package/iconfield/BaseIconField.vue +16 -0
  483. package/iconfield/IconField.d.ts +128 -0
  484. package/iconfield/IconField.vue +15 -0
  485. package/iconfield/iconfield.mjs +32 -0
  486. package/iconfield/iconfield.mjs.map +1 -0
  487. package/iconfield/package.json +11 -0
  488. package/iconfield/style/IconFieldStyle.d.ts +19 -0
  489. package/iconfield/style/iconfieldstyle.mjs +17 -0
  490. package/iconfield/style/iconfieldstyle.mjs.map +1 -0
  491. package/iconfield/style/package.json +6 -0
  492. package/image/BaseImage.vue +58 -0
  493. package/image/Image.d.ts +362 -0
  494. package/image/Image.vue +233 -0
  495. package/image/image.mjs +387 -0
  496. package/image/image.mjs.map +1 -0
  497. package/image/package.json +11 -0
  498. package/image/style/ImageStyle.d.ts +59 -0
  499. package/image/style/imagestyle.mjs +42 -0
  500. package/image/style/imagestyle.mjs.map +1 -0
  501. package/image/style/package.json +6 -0
  502. package/inlinemessage/BaseInlineMessage.vue +26 -0
  503. package/inlinemessage/InlineMessage.d.ts +162 -0
  504. package/inlinemessage/InlineMessage.vue +47 -0
  505. package/inlinemessage/inlinemessage.mjs +80 -0
  506. package/inlinemessage/inlinemessage.mjs.map +1 -0
  507. package/inlinemessage/package.json +11 -0
  508. package/inlinemessage/style/InlineMessageStyle.d.ts +27 -0
  509. package/inlinemessage/style/inlinemessagestyle.mjs +28 -0
  510. package/inlinemessage/style/inlinemessagestyle.mjs.map +1 -0
  511. package/inlinemessage/style/package.json +6 -0
  512. package/inplace/BaseInplace.vue +30 -0
  513. package/inplace/Inplace.d.ts +209 -0
  514. package/inplace/Inplace.vue +53 -0
  515. package/inplace/inplace.mjs +101 -0
  516. package/inplace/inplace.mjs.map +1 -0
  517. package/inplace/package.json +11 -0
  518. package/inplace/style/InplaceStyle.d.ts +27 -0
  519. package/inplace/style/inplacestyle.mjs +24 -0
  520. package/inplace/style/inplacestyle.mjs.map +1 -0
  521. package/inplace/style/package.json +6 -0
  522. package/inputchips/BaseInputChips.vue +86 -0
  523. package/inputchips/InputChips.d.ts +349 -0
  524. package/inputchips/InputChips.vue +271 -0
  525. package/inputchips/inputchips.mjs +394 -0
  526. package/inputchips/inputchips.mjs.map +1 -0
  527. package/inputchips/package.json +11 -0
  528. package/inputchips/style/InputChipsStyle.d.ts +39 -0
  529. package/inputchips/style/inputchipsstyle.mjs +44 -0
  530. package/inputchips/style/inputchipsstyle.mjs.map +1 -0
  531. package/inputchips/style/package.json +6 -0
  532. package/inputgroup/BaseInputGroup.vue +16 -0
  533. package/inputgroup/InputGroup.d.ts +129 -0
  534. package/inputgroup/InputGroup.vue +15 -0
  535. package/inputgroup/inputgroup.mjs +32 -0
  536. package/inputgroup/inputgroup.mjs.map +1 -0
  537. package/inputgroup/package.json +11 -0
  538. package/inputgroup/style/InputGroupStyle.d.ts +19 -0
  539. package/inputgroup/style/inputgroupstyle.mjs +17 -0
  540. package/inputgroup/style/inputgroupstyle.mjs.map +1 -0
  541. package/inputgroup/style/package.json +6 -0
  542. package/inputgroupaddon/BaseInputGroupAddon.vue +16 -0
  543. package/inputgroupaddon/InputGroupAddon.d.ts +129 -0
  544. package/inputgroupaddon/InputGroupAddon.vue +15 -0
  545. package/inputgroupaddon/inputgroupaddon.mjs +32 -0
  546. package/inputgroupaddon/inputgroupaddon.mjs.map +1 -0
  547. package/inputgroupaddon/package.json +11 -0
  548. package/inputgroupaddon/style/InputGroupAddonStyle.d.ts +19 -0
  549. package/inputgroupaddon/style/inputgroupaddonstyle.mjs +12 -0
  550. package/inputgroupaddon/style/inputgroupaddonstyle.mjs.map +1 -0
  551. package/inputgroupaddon/style/package.json +6 -0
  552. package/inputicon/BaseInputIcon.vue +19 -0
  553. package/inputicon/InputIcon.d.ts +124 -0
  554. package/inputicon/InputIcon.vue +20 -0
  555. package/inputicon/inputicon.mjs +40 -0
  556. package/inputicon/inputicon.mjs.map +1 -0
  557. package/inputicon/package.json +11 -0
  558. package/inputicon/style/InputIconStyle.d.ts +19 -0
  559. package/inputicon/style/inputiconstyle.mjs +12 -0
  560. package/inputicon/style/inputiconstyle.mjs.map +1 -0
  561. package/inputicon/style/package.json +6 -0
  562. package/inputmask/BaseInputMask.vue +55 -0
  563. package/inputmask/InputMask.d.ts +231 -0
  564. package/inputmask/InputMask.vue +532 -0
  565. package/inputmask/inputmask.mjs +512 -0
  566. package/inputmask/inputmask.mjs.map +1 -0
  567. package/inputmask/package.json +11 -0
  568. package/inputmask/style/InputMaskStyle.d.ts +19 -0
  569. package/inputmask/style/inputmaskstyle.mjs +12 -0
  570. package/inputmask/style/inputmaskstyle.mjs.map +1 -0
  571. package/inputmask/style/package.json +6 -0
  572. package/inputnumber/BaseInputNumber.vue +165 -0
  573. package/inputnumber/InputNumber.d.ts +477 -0
  574. package/inputnumber/InputNumber.vue +987 -0
  575. package/inputnumber/inputnumber.mjs +1134 -0
  576. package/inputnumber/inputnumber.mjs.map +1 -0
  577. package/inputnumber/package.json +11 -0
  578. package/inputnumber/style/InputNumberStyle.d.ts +35 -0
  579. package/inputnumber/style/inputnumberstyle.mjs +43 -0
  580. package/inputnumber/style/inputnumberstyle.mjs.map +1 -0
  581. package/inputnumber/style/package.json +6 -0
  582. package/inputotp/BaseInputOtp.vue +54 -0
  583. package/inputotp/InputOtp.d.ts +281 -0
  584. package/inputotp/InputOtp.vue +194 -0
  585. package/inputotp/inputotp.mjs +255 -0
  586. package/inputotp/inputotp.mjs.map +1 -0
  587. package/inputotp/package.json +11 -0
  588. package/inputotp/style/InputOtpStyle.d.ts +23 -0
  589. package/inputotp/style/inputotpstyle.mjs +18 -0
  590. package/inputotp/style/inputotpstyle.mjs.map +1 -0
  591. package/inputotp/style/package.json +6 -0
  592. package/inputswitch/InputSwitch.d.ts +69 -0
  593. package/inputswitch/InputSwitch.vue +11 -0
  594. package/inputswitch/inputswitch.mjs +12 -0
  595. package/inputswitch/inputswitch.mjs.map +1 -0
  596. package/inputswitch/package.json +11 -0
  597. package/inputswitch/style/InputSwitchStyle.d.ts +14 -0
  598. package/inputswitch/style/inputswitchstyle.mjs +8 -0
  599. package/inputswitch/style/inputswitchstyle.mjs.map +1 -0
  600. package/inputswitch/style/package.json +6 -0
  601. package/inputtext/BaseInputText.vue +31 -0
  602. package/inputtext/InputText.d.ts +163 -0
  603. package/inputtext/InputText.vue +34 -0
  604. package/inputtext/inputtext.mjs +74 -0
  605. package/inputtext/inputtext.mjs.map +1 -0
  606. package/inputtext/package.json +11 -0
  607. package/inputtext/style/InputTextStyle.d.ts +19 -0
  608. package/inputtext/style/inputtextstyle.mjs +27 -0
  609. package/inputtext/style/inputtextstyle.mjs.map +1 -0
  610. package/inputtext/style/package.json +6 -0
  611. package/knob/BaseKnob.vue +89 -0
  612. package/knob/Knob.d.ts +259 -0
  613. package/knob/Knob.vue +227 -0
  614. package/knob/knob.mjs +333 -0
  615. package/knob/knob.mjs.map +1 -0
  616. package/knob/package.json +11 -0
  617. package/knob/style/KnobStyle.d.ts +31 -0
  618. package/knob/style/knobstyle.mjs +25 -0
  619. package/knob/style/knobstyle.mjs.map +1 -0
  620. package/knob/style/package.json +6 -0
  621. package/listbox/BaseListbox.vue +122 -0
  622. package/listbox/Listbox.d.ts +621 -0
  623. package/listbox/Listbox.vue +782 -0
  624. package/listbox/listbox.mjs +1051 -0
  625. package/listbox/listbox.mjs.map +1 -0
  626. package/listbox/package.json +11 -0
  627. package/listbox/style/ListboxStyle.d.ts +55 -0
  628. package/listbox/style/listboxstyle.mjs +44 -0
  629. package/listbox/style/listboxstyle.mjs.map +1 -0
  630. package/listbox/style/package.json +6 -0
  631. package/megamenu/BaseMegaMenu.vue +46 -0
  632. package/megamenu/MegaMenu.d.ts +410 -0
  633. package/megamenu/MegaMenu.vue +673 -0
  634. package/megamenu/MegaMenuSub.vue +228 -0
  635. package/megamenu/megamenu.mjs +1051 -0
  636. package/megamenu/megamenu.mjs.map +1 -0
  637. package/megamenu/package.json +11 -0
  638. package/megamenu/style/MegaMenuStyle.d.ts +83 -0
  639. package/megamenu/style/megamenustyle.mjs +90 -0
  640. package/megamenu/style/megamenustyle.mjs.map +1 -0
  641. package/megamenu/style/package.json +6 -0
  642. package/menu/BaseMenu.vue +50 -0
  643. package/menu/Menu.d.ts +381 -0
  644. package/menu/Menu.vue +390 -0
  645. package/menu/Menuitem.vue +110 -0
  646. package/menu/menu.mjs +596 -0
  647. package/menu/menu.mjs.map +1 -0
  648. package/menu/package.json +11 -0
  649. package/menu/style/MenuStyle.d.ts +59 -0
  650. package/menu/style/menustyle.mjs +38 -0
  651. package/menu/style/menustyle.mjs.map +1 -0
  652. package/menu/style/package.json +6 -0
  653. package/menubar/BaseMenubar.vue +38 -0
  654. package/menubar/Menubar.d.ts +423 -0
  655. package/menubar/Menubar.vue +638 -0
  656. package/menubar/MenubarSub.vue +224 -0
  657. package/menubar/menubar.mjs +1013 -0
  658. package/menubar/menubar.mjs.map +1 -0
  659. package/menubar/package.json +11 -0
  660. package/menubar/style/MenubarStyle.d.ts +67 -0
  661. package/menubar/style/menubarstyle.mjs +53 -0
  662. package/menubar/style/menubarstyle.mjs.map +1 -0
  663. package/menubar/style/package.json +6 -0
  664. package/menuitem/MenuItem.d.ts +89 -0
  665. package/message/BaseMessage.vue +42 -0
  666. package/message/Message.d.ts +238 -0
  667. package/message/Message.vue +81 -0
  668. package/message/message.mjs +159 -0
  669. package/message/message.mjs.map +1 -0
  670. package/message/package.json +11 -0
  671. package/message/style/MessageStyle.d.ts +39 -0
  672. package/message/style/messagestyle.mjs +25 -0
  673. package/message/style/messagestyle.mjs.map +1 -0
  674. package/message/style/package.json +6 -0
  675. package/metergroup/BaseMeterGroup.vue +42 -0
  676. package/metergroup/MeterGroup.d.ts +312 -0
  677. package/metergroup/MeterGroup.vue +74 -0
  678. package/metergroup/MeterGroupLabel.vue +36 -0
  679. package/metergroup/metergroup.mjs +218 -0
  680. package/metergroup/metergroup.mjs.map +1 -0
  681. package/metergroup/package.json +11 -0
  682. package/metergroup/style/MeterGroupStyle.d.ts +47 -0
  683. package/metergroup/style/metergroupstyle.mjs +36 -0
  684. package/metergroup/style/metergroupstyle.mjs.map +1 -0
  685. package/metergroup/style/package.json +6 -0
  686. package/multiselect/BaseMultiSelect.vue +187 -0
  687. package/multiselect/MultiSelect.d.ts +898 -0
  688. package/multiselect/MultiSelect.vue +1131 -0
  689. package/multiselect/multiselect.mjs +1529 -0
  690. package/multiselect/multiselect.mjs.map +1 -0
  691. package/multiselect/package.json +11 -0
  692. package/multiselect/style/MultiSelectStyle.d.ts +87 -0
  693. package/multiselect/style/multiselectstyle.mjs +74 -0
  694. package/multiselect/style/multiselectstyle.mjs.map +1 -0
  695. package/multiselect/style/package.json +6 -0
  696. package/orderlist/BaseOrderList.vue +100 -0
  697. package/orderlist/OrderList.d.ts +404 -0
  698. package/orderlist/OrderList.vue +323 -0
  699. package/orderlist/orderlist.mjs +453 -0
  700. package/orderlist/orderlist.mjs.map +1 -0
  701. package/orderlist/package.json +11 -0
  702. package/orderlist/style/OrderListStyle.d.ts +23 -0
  703. package/orderlist/style/orderliststyle.mjs +18 -0
  704. package/orderlist/style/orderliststyle.mjs.map +1 -0
  705. package/orderlist/style/package.json +6 -0
  706. package/organizationchart/BaseOrganizationChart.vue +38 -0
  707. package/organizationchart/OrganizationChart.d.ts +376 -0
  708. package/organizationchart/OrganizationChart.vue +78 -0
  709. package/organizationchart/OrganizationChartNode.vue +165 -0
  710. package/organizationchart/organizationchart.mjs +316 -0
  711. package/organizationchart/organizationchart.mjs.map +1 -0
  712. package/organizationchart/package.json +11 -0
  713. package/organizationchart/style/OrganizationChartStyle.d.ts +55 -0
  714. package/organizationchart/style/organizationchartstyle.mjs +43 -0
  715. package/organizationchart/style/organizationchartstyle.mjs.map +1 -0
  716. package/organizationchart/style/package.json +6 -0
  717. package/overlaybadge/BaseOverlayBadge.vue +16 -0
  718. package/overlaybadge/OverlayBadge.d.ts +152 -0
  719. package/overlaybadge/OverlayBadge.vue +16 -0
  720. package/overlaybadge/overlaybadge.mjs +35 -0
  721. package/overlaybadge/overlaybadge.mjs.map +1 -0
  722. package/overlaybadge/package.json +11 -0
  723. package/overlaybadge/style/OverlayBadgeStyle.d.ts +19 -0
  724. package/overlaybadge/style/overlaybadgestyle.mjs +17 -0
  725. package/overlaybadge/style/overlaybadgestyle.mjs.map +1 -0
  726. package/overlaybadge/style/package.json +6 -0
  727. package/overlayeventbus/overlayeventbus.mjs +6 -0
  728. package/overlayeventbus/overlayeventbus.mjs.map +1 -0
  729. package/overlayeventbus/package.json +4 -0
  730. package/overlaypanel/OverlayPanel.d.ts +110 -0
  731. package/overlaypanel/OverlayPanel.vue +11 -0
  732. package/overlaypanel/overlaypanel.mjs +12 -0
  733. package/overlaypanel/overlaypanel.mjs.map +1 -0
  734. package/overlaypanel/package.json +11 -0
  735. package/overlaypanel/style/OverlayPanelStyle.d.ts +12 -0
  736. package/overlaypanel/style/overlaypanelstyle.mjs +8 -0
  737. package/overlaypanel/style/overlaypanelstyle.mjs.map +1 -0
  738. package/overlaypanel/style/package.json +6 -0
  739. package/package.json +52 -0
  740. package/paginator/BasePaginator.vue +50 -0
  741. package/paginator/CurrentPageReport.vue +56 -0
  742. package/paginator/FirstPageLink.vue +38 -0
  743. package/paginator/JumpToPageDropdown.vue +55 -0
  744. package/paginator/JumpToPageInput.vue +47 -0
  745. package/paginator/LastPageLink.vue +38 -0
  746. package/paginator/NextPageLink.vue +38 -0
  747. package/paginator/PageLinks.vue +56 -0
  748. package/paginator/Paginator.d.ts +460 -0
  749. package/paginator/Paginator.vue +343 -0
  750. package/paginator/PrevPageLink.vue +38 -0
  751. package/paginator/RowsPerPageDropdown.vue +57 -0
  752. package/paginator/package.json +11 -0
  753. package/paginator/paginator.mjs +873 -0
  754. package/paginator/paginator.mjs.map +1 -0
  755. package/paginator/style/PaginatorStyle.d.ts +83 -0
  756. package/paginator/style/package.json +6 -0
  757. package/paginator/style/paginatorstyle.mjs +69 -0
  758. package/paginator/style/paginatorstyle.mjs.map +1 -0
  759. package/panel/BasePanel.vue +31 -0
  760. package/panel/Panel.d.ts +281 -0
  761. package/panel/Panel.vue +104 -0
  762. package/panel/package.json +11 -0
  763. package/panel/panel.mjs +155 -0
  764. package/panel/panel.mjs.map +1 -0
  765. package/panel/style/PanelStyle.d.ts +47 -0
  766. package/panel/style/package.json +6 -0
  767. package/panel/style/panelstyle.mjs +29 -0
  768. package/panel/style/panelstyle.mjs.map +1 -0
  769. package/panelmenu/BasePanelMenu.vue +34 -0
  770. package/panelmenu/PanelMenu.d.ts +414 -0
  771. package/panelmenu/PanelMenu.vue +274 -0
  772. package/panelmenu/PanelMenuList.vue +399 -0
  773. package/panelmenu/PanelMenuSub.vue +211 -0
  774. package/panelmenu/package.json +11 -0
  775. package/panelmenu/panelmenu.mjs +1055 -0
  776. package/panelmenu/panelmenu.mjs.map +1 -0
  777. package/panelmenu/style/PanelMenuStyle.d.ts +84 -0
  778. package/panelmenu/style/package.json +6 -0
  779. package/panelmenu/style/panelmenustyle.mjs +48 -0
  780. package/panelmenu/style/panelmenustyle.mjs.map +1 -0
  781. package/passthrough/index.d.ts +8 -0
  782. package/passthrough/index.mjs +26 -0
  783. package/passthrough/index.mjs.map +1 -0
  784. package/passthrough/package.json +5 -0
  785. package/password/BasePassword.vue +147 -0
  786. package/password/Password.d.ts +425 -0
  787. package/password/Password.vue +328 -0
  788. package/password/package.json +11 -0
  789. package/password/password.mjs +499 -0
  790. package/password/password.mjs.map +1 -0
  791. package/password/style/PasswordStyle.d.ts +47 -0
  792. package/password/style/package.json +6 -0
  793. package/password/style/passwordstyle.mjs +44 -0
  794. package/password/style/passwordstyle.mjs.map +1 -0
  795. package/picklist/BasePickList.vue +116 -0
  796. package/picklist/PickList.d.ts +635 -0
  797. package/picklist/PickList.vue +654 -0
  798. package/picklist/package.json +11 -0
  799. package/picklist/picklist.mjs +905 -0
  800. package/picklist/picklist.mjs.map +1 -0
  801. package/picklist/style/PickListStyle.d.ts +39 -0
  802. package/picklist/style/package.json +6 -0
  803. package/picklist/style/pickliststyle.mjs +22 -0
  804. package/picklist/style/pickliststyle.mjs.map +1 -0
  805. package/popover/BasePopover.vue +42 -0
  806. package/popover/Popover.d.ts +257 -0
  807. package/popover/Popover.vue +314 -0
  808. package/popover/package.json +11 -0
  809. package/popover/popover.mjs +369 -0
  810. package/popover/popover.mjs.map +1 -0
  811. package/popover/style/PopoverStyle.d.ts +23 -0
  812. package/popover/style/package.json +6 -0
  813. package/popover/style/popoverstyle.mjs +18 -0
  814. package/popover/style/popoverstyle.mjs.map +1 -0
  815. package/portal/Portal.d.ts +39 -0
  816. package/portal/Portal.vue +41 -0
  817. package/portal/package.json +11 -0
  818. package/portal/portal.mjs +43 -0
  819. package/portal/portal.mjs.map +1 -0
  820. package/portal/style/PortalStyle.d.ts +12 -0
  821. package/portal/style/package.json +6 -0
  822. package/portal/style/portalstyle.mjs +8 -0
  823. package/portal/style/portalstyle.mjs.map +1 -0
  824. package/progressbar/BaseProgressBar.vue +30 -0
  825. package/progressbar/ProgressBar.d.ts +146 -0
  826. package/progressbar/ProgressBar.vue +34 -0
  827. package/progressbar/package.json +11 -0
  828. package/progressbar/progressbar.mjs +77 -0
  829. package/progressbar/progressbar.mjs.map +1 -0
  830. package/progressbar/style/ProgressBarStyle.d.ts +27 -0
  831. package/progressbar/style/package.json +6 -0
  832. package/progressbar/style/progressbarstyle.mjs +25 -0
  833. package/progressbar/style/progressbarstyle.mjs.map +1 -0
  834. package/progressspinner/BaseProgressSpinner.vue +30 -0
  835. package/progressspinner/ProgressSpinner.d.ts +144 -0
  836. package/progressspinner/ProgressSpinner.vue +24 -0
  837. package/progressspinner/package.json +11 -0
  838. package/progressspinner/progressspinner.mjs +67 -0
  839. package/progressspinner/progressspinner.mjs.map +1 -0
  840. package/progressspinner/style/ProgressSpinnerStyle.d.ts +27 -0
  841. package/progressspinner/style/package.json +6 -0
  842. package/progressspinner/style/progressspinnerstyle.mjs +19 -0
  843. package/progressspinner/style/progressspinnerstyle.mjs.map +1 -0
  844. package/radiobutton/BaseRadioButton.vue +65 -0
  845. package/radiobutton/RadioButton.d.ts +244 -0
  846. package/radiobutton/RadioButton.vue +69 -0
  847. package/radiobutton/package.json +11 -0
  848. package/radiobutton/radiobutton.mjs +144 -0
  849. package/radiobutton/radiobutton.mjs.map +1 -0
  850. package/radiobutton/style/RadioButtonStyle.d.ts +31 -0
  851. package/radiobutton/style/package.json +6 -0
  852. package/radiobutton/style/radiobuttonstyle.mjs +29 -0
  853. package/radiobutton/style/radiobuttonstyle.mjs.map +1 -0
  854. package/rating/BaseRating.vue +42 -0
  855. package/rating/Rating.d.ts +277 -0
  856. package/rating/Rating.vue +111 -0
  857. package/rating/package.json +11 -0
  858. package/rating/rating.mjs +189 -0
  859. package/rating/rating.mjs.map +1 -0
  860. package/rating/style/RatingStyle.d.ts +31 -0
  861. package/rating/style/package.json +6 -0
  862. package/rating/style/ratingstyle.mjs +34 -0
  863. package/rating/style/ratingstyle.mjs.map +1 -0
  864. package/ripple/Ripple.d.ts +87 -0
  865. package/ripple/package.json +5 -0
  866. package/ripple/ripple.mjs +111 -0
  867. package/ripple/ripple.mjs.map +1 -0
  868. package/ripple/style/RippleStyle.d.ts +19 -0
  869. package/ripple/style/package.json +6 -0
  870. package/ripple/style/ripplestyle.mjs +17 -0
  871. package/ripple/style/ripplestyle.mjs.map +1 -0
  872. package/row/Row.d.ts +126 -0
  873. package/row/Row.vue +18 -0
  874. package/row/package.json +11 -0
  875. package/row/row.mjs +21 -0
  876. package/row/row.mjs.map +1 -0
  877. package/row/style/RowStyle.d.ts +14 -0
  878. package/row/style/package.json +6 -0
  879. package/row/style/rowstyle.mjs +8 -0
  880. package/row/style/rowstyle.mjs.map +1 -0
  881. package/scrollpanel/BaseScrollPanel.vue +22 -0
  882. package/scrollpanel/ScrollPanel.d.ts +175 -0
  883. package/scrollpanel/ScrollPanel.vue +382 -0
  884. package/scrollpanel/package.json +11 -0
  885. package/scrollpanel/scrollpanel.mjs +406 -0
  886. package/scrollpanel/scrollpanel.mjs.map +1 -0
  887. package/scrollpanel/style/ScrollPanelStyle.d.ts +35 -0
  888. package/scrollpanel/style/package.json +6 -0
  889. package/scrollpanel/style/scrollpanelstyle.mjs +21 -0
  890. package/scrollpanel/style/scrollpanelstyle.mjs.map +1 -0
  891. package/scrolltop/BaseScrollTop.vue +40 -0
  892. package/scrolltop/ScrollTop.d.ts +195 -0
  893. package/scrolltop/ScrollTop.vue +109 -0
  894. package/scrolltop/package.json +11 -0
  895. package/scrolltop/scrolltop.mjs +169 -0
  896. package/scrolltop/scrolltop.mjs.map +1 -0
  897. package/scrolltop/style/ScrollTopStyle.d.ts +23 -0
  898. package/scrolltop/style/package.json +6 -0
  899. package/scrolltop/style/scrolltopstyle.mjs +23 -0
  900. package/scrolltop/style/scrolltopstyle.mjs.map +1 -0
  901. package/select/BaseSelect.vue +194 -0
  902. package/select/Select.d.ts +803 -0
  903. package/select/Select.vue +1011 -0
  904. package/select/package.json +11 -0
  905. package/select/select.mjs +1360 -0
  906. package/select/select.mjs.map +1 -0
  907. package/select/style/SelectStyle.d.ts +87 -0
  908. package/select/style/package.json +6 -0
  909. package/select/style/selectstyle.mjs +65 -0
  910. package/select/style/selectstyle.mjs.map +1 -0
  911. package/selectbutton/BaseSelectButton.vue +38 -0
  912. package/selectbutton/SelectButton.d.ts +264 -0
  913. package/selectbutton/SelectButton.vue +113 -0
  914. package/selectbutton/package.json +11 -0
  915. package/selectbutton/selectbutton.mjs +182 -0
  916. package/selectbutton/selectbutton.mjs.map +1 -0
  917. package/selectbutton/style/SelectButtonStyle.d.ts +19 -0
  918. package/selectbutton/style/package.json +6 -0
  919. package/selectbutton/style/selectbuttonstyle.mjs +22 -0
  920. package/selectbutton/style/selectbuttonstyle.mjs.map +1 -0
  921. package/sidebar/Sidebar.d.ts +79 -0
  922. package/sidebar/Sidebar.vue +11 -0
  923. package/sidebar/package.json +11 -0
  924. package/sidebar/sidebar.mjs +12 -0
  925. package/sidebar/sidebar.mjs.map +1 -0
  926. package/sidebar/style/SidebarStyle.d.ts +14 -0
  927. package/sidebar/style/package.json +6 -0
  928. package/sidebar/style/sidebarstyle.mjs +8 -0
  929. package/sidebar/style/sidebarstyle.mjs.map +1 -0
  930. package/skeleton/BaseSkeleton.vue +42 -0
  931. package/skeleton/Skeleton.d.ts +150 -0
  932. package/skeleton/Skeleton.vue +19 -0
  933. package/skeleton/package.json +11 -0
  934. package/skeleton/skeleton.mjs +73 -0
  935. package/skeleton/skeleton.mjs.map +1 -0
  936. package/skeleton/style/SkeletonStyle.d.ts +19 -0
  937. package/skeleton/style/package.json +6 -0
  938. package/skeleton/style/skeletonstyle.mjs +29 -0
  939. package/skeleton/style/skeletonstyle.mjs.map +1 -0
  940. package/slider/BaseSlider.vue +55 -0
  941. package/slider/Slider.d.ts +215 -0
  942. package/slider/Slider.vue +333 -0
  943. package/slider/package.json +11 -0
  944. package/slider/slider.mjs +407 -0
  945. package/slider/slider.mjs.map +1 -0
  946. package/slider/style/SliderStyle.d.ts +27 -0
  947. package/slider/style/package.json +6 -0
  948. package/slider/style/sliderstyle.mjs +35 -0
  949. package/slider/style/sliderstyle.mjs.map +1 -0
  950. package/speeddial/BaseSpeedDial.vue +89 -0
  951. package/speeddial/SpeedDial.d.ts +412 -0
  952. package/speeddial/SpeedDial.vue +470 -0
  953. package/speeddial/package.json +11 -0
  954. package/speeddial/speeddial.mjs +622 -0
  955. package/speeddial/speeddial.mjs.map +1 -0
  956. package/speeddial/style/SpeedDialStyle.d.ts +43 -0
  957. package/speeddial/style/package.json +6 -0
  958. package/speeddial/style/speeddialstyle.mjs +60 -0
  959. package/speeddial/style/speeddialstyle.mjs.map +1 -0
  960. package/splitbutton/BaseSplitButton.vue +98 -0
  961. package/splitbutton/SplitButton.d.ts +342 -0
  962. package/splitbutton/SplitButton.vue +127 -0
  963. package/splitbutton/package.json +11 -0
  964. package/splitbutton/splitbutton.mjs +272 -0
  965. package/splitbutton/splitbutton.mjs.map +1 -0
  966. package/splitbutton/style/SplitButtonStyle.d.ts +27 -0
  967. package/splitbutton/style/package.json +6 -0
  968. package/splitbutton/style/splitbuttonstyle.mjs +25 -0
  969. package/splitbutton/style/splitbuttonstyle.mjs.map +1 -0
  970. package/splitter/BaseSplitter.vue +38 -0
  971. package/splitter/Splitter.d.ts +249 -0
  972. package/splitter/Splitter.vue +385 -0
  973. package/splitter/package.json +11 -0
  974. package/splitter/splitter.mjs +444 -0
  975. package/splitter/splitter.mjs.map +1 -0
  976. package/splitter/style/SplitterStyle.d.ts +27 -0
  977. package/splitter/style/package.json +6 -0
  978. package/splitter/style/splitterstyle.mjs +34 -0
  979. package/splitter/style/splitterstyle.mjs.map +1 -0
  980. package/splitterpanel/BaseSplitterPanel.vue +26 -0
  981. package/splitterpanel/SplitterPanel.d.ts +147 -0
  982. package/splitterpanel/SplitterPanel.vue +36 -0
  983. package/splitterpanel/package.json +11 -0
  984. package/splitterpanel/splitterpanel.mjs +64 -0
  985. package/splitterpanel/splitterpanel.mjs.map +1 -0
  986. package/splitterpanel/style/SplitterPanelStyle.d.ts +19 -0
  987. package/splitterpanel/style/package.json +6 -0
  988. package/splitterpanel/style/splitterpanelstyle.mjs +17 -0
  989. package/splitterpanel/style/splitterpanelstyle.mjs.map +1 -0
  990. package/step/BaseStep.vue +34 -0
  991. package/step/Step.d.ts +187 -0
  992. package/step/Step.vue +98 -0
  993. package/step/package.json +11 -0
  994. package/step/step.mjs +182 -0
  995. package/step/step.mjs.map +1 -0
  996. package/step/style/StepStyle.d.ts +31 -0
  997. package/step/style/package.json +6 -0
  998. package/step/style/stepstyle.mjs +22 -0
  999. package/step/style/stepstyle.mjs.map +1 -0
  1000. package/stepitem/BaseStepItem.vue +22 -0
  1001. package/stepitem/StepItem.d.ts +121 -0
  1002. package/stepitem/StepItem.vue +21 -0
  1003. package/stepitem/package.json +11 -0
  1004. package/stepitem/stepitem.mjs +47 -0
  1005. package/stepitem/stepitem.mjs.map +1 -0
  1006. package/stepitem/style/StepItemStyle.d.ts +19 -0
  1007. package/stepitem/style/package.json +6 -0
  1008. package/stepitem/style/stepitemstyle.mjs +17 -0
  1009. package/stepitem/style/stepitemstyle.mjs.map +1 -0
  1010. package/steplist/BaseStepList.vue +22 -0
  1011. package/steplist/StepList.d.ts +121 -0
  1012. package/steplist/StepList.vue +15 -0
  1013. package/steplist/package.json +11 -0
  1014. package/steplist/steplist.mjs +38 -0
  1015. package/steplist/steplist.mjs.map +1 -0
  1016. package/steplist/style/StepListStyle.d.ts +19 -0
  1017. package/steplist/style/package.json +6 -0
  1018. package/steplist/style/stepliststyle.mjs +12 -0
  1019. package/steplist/style/stepliststyle.mjs.map +1 -0
  1020. package/steppanel/BaseStepPanel.vue +30 -0
  1021. package/steppanel/StepPanel.d.ts +148 -0
  1022. package/steppanel/StepPanel.vue +99 -0
  1023. package/steppanel/package.json +11 -0
  1024. package/steppanel/steppanel.mjs +195 -0
  1025. package/steppanel/steppanel.mjs.map +1 -0
  1026. package/steppanel/style/StepPanelStyle.d.ts +19 -0
  1027. package/steppanel/style/package.json +6 -0
  1028. package/steppanel/style/steppanelstyle.mjs +18 -0
  1029. package/steppanel/style/steppanelstyle.mjs.map +1 -0
  1030. package/steppanels/BaseStepPanels.vue +22 -0
  1031. package/steppanels/StepPanels.d.ts +121 -0
  1032. package/steppanels/StepPanels.vue +15 -0
  1033. package/steppanels/package.json +11 -0
  1034. package/steppanels/steppanels.mjs +38 -0
  1035. package/steppanels/steppanels.mjs.map +1 -0
  1036. package/steppanels/style/StepPanelsStyle.d.ts +19 -0
  1037. package/steppanels/style/package.json +6 -0
  1038. package/steppanels/style/steppanelsstyle.mjs +12 -0
  1039. package/steppanels/style/steppanelsstyle.mjs.map +1 -0
  1040. package/stepper/BaseStepper.vue +26 -0
  1041. package/stepper/Stepper.d.ts +170 -0
  1042. package/stepper/Stepper.vue +50 -0
  1043. package/stepper/StepperSeparator.vue +13 -0
  1044. package/stepper/package.json +11 -0
  1045. package/stepper/stepper.mjs +80 -0
  1046. package/stepper/stepper.mjs.map +1 -0
  1047. package/stepper/style/StepperStyle.d.ts +23 -0
  1048. package/stepper/style/package.json +6 -0
  1049. package/stepper/style/stepperstyle.mjs +23 -0
  1050. package/stepper/style/stepperstyle.mjs.map +1 -0
  1051. package/stepperpanel/BaseStepperPanel.vue +19 -0
  1052. package/stepperpanel/StepperPanel.d.ts +290 -0
  1053. package/stepperpanel/StepperPanel.vue +15 -0
  1054. package/stepperpanel/package.json +11 -0
  1055. package/stepperpanel/stepperpanel.mjs +35 -0
  1056. package/stepperpanel/stepperpanel.mjs.map +1 -0
  1057. package/stepperpanel/style/StepperPanelStyle.d.ts +14 -0
  1058. package/stepperpanel/style/package.json +6 -0
  1059. package/stepperpanel/style/stepperpanelstyle.mjs +8 -0
  1060. package/stepperpanel/style/stepperpanelstyle.mjs.map +1 -0
  1061. package/steps/BaseSteps.vue +33 -0
  1062. package/steps/Steps.d.ts +235 -0
  1063. package/steps/Steps.vue +218 -0
  1064. package/steps/package.json +11 -0
  1065. package/steps/steps.mjs +253 -0
  1066. package/steps/steps.mjs.map +1 -0
  1067. package/steps/style/StepsStyle.d.ts +39 -0
  1068. package/steps/style/package.json +6 -0
  1069. package/steps/style/stepsstyle.mjs +35 -0
  1070. package/steps/style/stepsstyle.mjs.map +1 -0
  1071. package/styleclass/StyleClass.d.ts +105 -0
  1072. package/styleclass/package.json +5 -0
  1073. package/styleclass/style/StyleClassStyle.d.ts +14 -0
  1074. package/styleclass/style/package.json +6 -0
  1075. package/styleclass/style/styleclassstyle.mjs +8 -0
  1076. package/styleclass/style/styleclassstyle.mjs.map +1 -0
  1077. package/styleclass/styleclass.mjs +151 -0
  1078. package/styleclass/styleclass.mjs.map +1 -0
  1079. package/tab/BaseTab.vue +34 -0
  1080. package/tab/Tab.d.ts +150 -0
  1081. package/tab/Tab.vue +167 -0
  1082. package/tab/package.json +11 -0
  1083. package/tab/style/TabStyle.d.ts +19 -0
  1084. package/tab/style/package.json +6 -0
  1085. package/tab/style/tabstyle.mjs +19 -0
  1086. package/tab/style/tabstyle.mjs.map +1 -0
  1087. package/tab/tab.mjs +210 -0
  1088. package/tab/tab.mjs.map +1 -0
  1089. package/tablist/BaseTabList.vue +17 -0
  1090. package/tablist/TabList.d.ts +144 -0
  1091. package/tablist/TabList.vue +165 -0
  1092. package/tablist/package.json +11 -0
  1093. package/tablist/style/TabListStyle.d.ts +39 -0
  1094. package/tablist/style/package.json +6 -0
  1095. package/tablist/style/tabliststyle.mjs +22 -0
  1096. package/tablist/style/tabliststyle.mjs.map +1 -0
  1097. package/tablist/tablist.mjs +213 -0
  1098. package/tablist/tablist.mjs.map +1 -0
  1099. package/tabmenu/BaseTabMenu.vue +34 -0
  1100. package/tabmenu/TabMenu.d.ts +278 -0
  1101. package/tabmenu/TabMenu.vue +262 -0
  1102. package/tabmenu/package.json +11 -0
  1103. package/tabmenu/style/TabMenuStyle.d.ts +43 -0
  1104. package/tabmenu/style/package.json +6 -0
  1105. package/tabmenu/style/tabmenustyle.mjs +31 -0
  1106. package/tabmenu/style/tabmenustyle.mjs.map +1 -0
  1107. package/tabmenu/tabmenu.mjs +312 -0
  1108. package/tabmenu/tabmenu.mjs.map +1 -0
  1109. package/tabpanel/BaseTabPanel.vue +41 -0
  1110. package/tabpanel/TabPanel.d.ts +236 -0
  1111. package/tabpanel/TabPanel.vue +56 -0
  1112. package/tabpanel/package.json +11 -0
  1113. package/tabpanel/style/TabPanelStyle.d.ts +19 -0
  1114. package/tabpanel/style/package.json +6 -0
  1115. package/tabpanel/style/tabpanelstyle.mjs +17 -0
  1116. package/tabpanel/style/tabpanelstyle.mjs.map +1 -0
  1117. package/tabpanel/tabpanel.mjs +112 -0
  1118. package/tabpanel/tabpanel.mjs.map +1 -0
  1119. package/tabpanels/BaseTabPanels.vue +17 -0
  1120. package/tabpanels/TabPanels.d.ts +128 -0
  1121. package/tabpanels/TabPanels.vue +15 -0
  1122. package/tabpanels/package.json +11 -0
  1123. package/tabpanels/style/TabPanelsStyle.d.ts +19 -0
  1124. package/tabpanels/style/package.json +6 -0
  1125. package/tabpanels/style/tabpanelsstyle.mjs +12 -0
  1126. package/tabpanels/style/tabpanelsstyle.mjs.map +1 -0
  1127. package/tabpanels/tabpanels.mjs +34 -0
  1128. package/tabpanels/tabpanels.mjs.map +1 -0
  1129. package/tabs/BaseTabs.vue +42 -0
  1130. package/tabs/Tabs.d.ts +189 -0
  1131. package/tabs/Tabs.vue +45 -0
  1132. package/tabs/package.json +11 -0
  1133. package/tabs/style/TabsStyle.d.ts +19 -0
  1134. package/tabs/style/package.json +6 -0
  1135. package/tabs/style/tabsstyle.mjs +22 -0
  1136. package/tabs/style/tabsstyle.mjs.map +1 -0
  1137. package/tabs/tabs.mjs +88 -0
  1138. package/tabs/tabs.mjs.map +1 -0
  1139. package/tabview/BaseTabView.vue +55 -0
  1140. package/tabview/TabView.d.ts +287 -0
  1141. package/tabview/TabView.vue +376 -0
  1142. package/tabview/package.json +11 -0
  1143. package/tabview/style/TabViewStyle.d.ts +64 -0
  1144. package/tabview/style/package.json +6 -0
  1145. package/tabview/style/tabviewstyle.mjs +47 -0
  1146. package/tabview/style/tabviewstyle.mjs.map +1 -0
  1147. package/tabview/tabview.mjs +458 -0
  1148. package/tabview/tabview.mjs.map +1 -0
  1149. package/tag/BaseTag.vue +22 -0
  1150. package/tag/Tag.d.ts +157 -0
  1151. package/tag/Tag.vue +19 -0
  1152. package/tag/package.json +11 -0
  1153. package/tag/style/TagStyle.d.ts +27 -0
  1154. package/tag/style/package.json +6 -0
  1155. package/tag/style/tagstyle.mjs +30 -0
  1156. package/tag/style/tagstyle.mjs.map +1 -0
  1157. package/tag/tag.mjs +50 -0
  1158. package/tag/tag.mjs.map +1 -0
  1159. package/terminal/BaseTerminal.vue +26 -0
  1160. package/terminal/Terminal.d.ts +180 -0
  1161. package/terminal/Terminal.vue +58 -0
  1162. package/terminal/package.json +11 -0
  1163. package/terminal/style/TerminalStyle.d.ts +51 -0
  1164. package/terminal/style/package.json +6 -0
  1165. package/terminal/style/terminalstyle.mjs +25 -0
  1166. package/terminal/style/terminalstyle.mjs.map +1 -0
  1167. package/terminal/terminal.mjs +115 -0
  1168. package/terminal/terminal.mjs.map +1 -0
  1169. package/terminalservice/TerminalService.d.ts +30 -0
  1170. package/terminalservice/package.json +5 -0
  1171. package/terminalservice/terminalservice.mjs +6 -0
  1172. package/terminalservice/terminalservice.mjs.map +1 -0
  1173. package/textarea/BaseTextarea.vue +28 -0
  1174. package/textarea/Textarea.d.ts +169 -0
  1175. package/textarea/Textarea.vue +56 -0
  1176. package/textarea/package.json +11 -0
  1177. package/textarea/style/TextareaStyle.d.ts +19 -0
  1178. package/textarea/style/package.json +6 -0
  1179. package/textarea/style/textareastyle.mjs +26 -0
  1180. package/textarea/style/textareastyle.mjs.map +1 -0
  1181. package/textarea/textarea.mjs +91 -0
  1182. package/textarea/textarea.mjs.map +1 -0
  1183. package/tieredmenu/BaseTieredMenu.vue +54 -0
  1184. package/tieredmenu/TieredMenu.d.ts +419 -0
  1185. package/tieredmenu/TieredMenu.vue +632 -0
  1186. package/tieredmenu/TieredMenuSub.vue +225 -0
  1187. package/tieredmenu/package.json +11 -0
  1188. package/tieredmenu/style/TieredMenuStyle.d.ts +63 -0
  1189. package/tieredmenu/style/package.json +6 -0
  1190. package/tieredmenu/style/tieredmenustyle.mjs +52 -0
  1191. package/tieredmenu/style/tieredmenustyle.mjs.map +1 -0
  1192. package/tieredmenu/tieredmenu.mjs +1027 -0
  1193. package/tieredmenu/tieredmenu.mjs.map +1 -0
  1194. package/timeline/BaseTimeline.vue +28 -0
  1195. package/timeline/Timeline.d.ts +235 -0
  1196. package/timeline/Timeline.vue +44 -0
  1197. package/timeline/package.json +11 -0
  1198. package/timeline/style/TimelineStyle.d.ts +43 -0
  1199. package/timeline/style/package.json +6 -0
  1200. package/timeline/style/timelinestyle.mjs +26 -0
  1201. package/timeline/style/timelinestyle.mjs.map +1 -0
  1202. package/timeline/timeline.mjs +98 -0
  1203. package/timeline/timeline.mjs.map +1 -0
  1204. package/toast/BaseToast.vue +62 -0
  1205. package/toast/Toast.d.ts +354 -0
  1206. package/toast/Toast.vue +157 -0
  1207. package/toast/ToastMessage.vue +120 -0
  1208. package/toast/package.json +11 -0
  1209. package/toast/style/ToastStyle.d.ts +51 -0
  1210. package/toast/style/package.json +6 -0
  1211. package/toast/style/toaststyle.mjs +60 -0
  1212. package/toast/style/toaststyle.mjs.map +1 -0
  1213. package/toast/toast.mjs +396 -0
  1214. package/toast/toast.mjs.map +1 -0
  1215. package/toasteventbus/package.json +4 -0
  1216. package/toasteventbus/toasteventbus.mjs +6 -0
  1217. package/toasteventbus/toasteventbus.mjs.map +1 -0
  1218. package/toastservice/ToastService.d.ts +52 -0
  1219. package/toastservice/package.json +5 -0
  1220. package/toastservice/toastservice.mjs +26 -0
  1221. package/toastservice/toastservice.mjs.map +1 -0
  1222. package/togglebutton/BaseToggleButton.vue +57 -0
  1223. package/togglebutton/ToggleButton.d.ts +250 -0
  1224. package/togglebutton/ToggleButton.vue +57 -0
  1225. package/togglebutton/package.json +11 -0
  1226. package/togglebutton/style/ToggleButtonStyle.d.ts +27 -0
  1227. package/togglebutton/style/package.json +6 -0
  1228. package/togglebutton/style/togglebuttonstyle.mjs +27 -0
  1229. package/togglebutton/style/togglebuttonstyle.mjs.map +1 -0
  1230. package/togglebutton/togglebutton.mjs +133 -0
  1231. package/togglebutton/togglebutton.mjs.map +1 -0
  1232. package/toggleswitch/BaseToggleSwitch.vue +66 -0
  1233. package/toggleswitch/ToggleSwitch.d.ts +222 -0
  1234. package/toggleswitch/ToggleSwitch.vue +66 -0
  1235. package/toggleswitch/package.json +11 -0
  1236. package/toggleswitch/style/ToggleSwitchStyle.d.ts +27 -0
  1237. package/toggleswitch/style/package.json +6 -0
  1238. package/toggleswitch/style/toggleswitchstyle.mjs +33 -0
  1239. package/toggleswitch/style/toggleswitchstyle.mjs.map +1 -0
  1240. package/toggleswitch/toggleswitch.mjs +143 -0
  1241. package/toggleswitch/toggleswitch.mjs.map +1 -0
  1242. package/toolbar/BaseToolbar.vue +22 -0
  1243. package/toolbar/Toolbar.d.ts +153 -0
  1244. package/toolbar/Toolbar.vue +23 -0
  1245. package/toolbar/package.json +11 -0
  1246. package/toolbar/style/ToolbarStyle.d.ts +31 -0
  1247. package/toolbar/style/package.json +6 -0
  1248. package/toolbar/style/toolbarstyle.mjs +20 -0
  1249. package/toolbar/style/toolbarstyle.mjs.map +1 -0
  1250. package/toolbar/toolbar.mjs +47 -0
  1251. package/toolbar/toolbar.mjs.map +1 -0
  1252. package/tooltip/Tooltip.d.ts +214 -0
  1253. package/tooltip/package.json +5 -0
  1254. package/tooltip/style/TooltipStyle.d.ts +27 -0
  1255. package/tooltip/style/package.json +6 -0
  1256. package/tooltip/style/tooltipstyle.mjs +19 -0
  1257. package/tooltip/style/tooltipstyle.mjs.map +1 -0
  1258. package/tooltip/tooltip.mjs +418 -0
  1259. package/tooltip/tooltip.mjs.map +1 -0
  1260. package/tree/BaseTree.vue +90 -0
  1261. package/tree/Tree.d.ts +525 -0
  1262. package/tree/Tree.vue +257 -0
  1263. package/tree/TreeNode.vue +460 -0
  1264. package/tree/package.json +11 -0
  1265. package/tree/style/TreeStyle.d.ts +71 -0
  1266. package/tree/style/package.json +6 -0
  1267. package/tree/style/treestyle.mjs +49 -0
  1268. package/tree/style/treestyle.mjs.map +1 -0
  1269. package/tree/tree.mjs +918 -0
  1270. package/tree/tree.mjs.map +1 -0
  1271. package/treenode/TreeNode.d.ts +71 -0
  1272. package/treeselect/BaseTreeSelect.vue +96 -0
  1273. package/treeselect/TreeSelect.d.ts +482 -0
  1274. package/treeselect/TreeSelect.vue +515 -0
  1275. package/treeselect/package.json +11 -0
  1276. package/treeselect/style/TreeSelectStyle.d.ts +55 -0
  1277. package/treeselect/style/package.json +6 -0
  1278. package/treeselect/style/treeselectstyle.mjs +55 -0
  1279. package/treeselect/style/treeselectstyle.mjs.map +1 -0
  1280. package/treeselect/treeselect.mjs +745 -0
  1281. package/treeselect/treeselect.mjs.map +1 -0
  1282. package/treetable/BaseTreeTable.vue +182 -0
  1283. package/treetable/BodyCell.vue +234 -0
  1284. package/treetable/FooterCell.vue +104 -0
  1285. package/treetable/HeaderCell.vue +242 -0
  1286. package/treetable/TreeTable.d.ts +822 -0
  1287. package/treetable/TreeTable.vue +877 -0
  1288. package/treetable/TreeTableRow.vue +455 -0
  1289. package/treetable/package.json +11 -0
  1290. package/treetable/style/TreeTableStyle.d.ts +99 -0
  1291. package/treetable/style/package.json +6 -0
  1292. package/treetable/style/treetablestyle.mjs +109 -0
  1293. package/treetable/style/treetablestyle.mjs.map +1 -0
  1294. package/treetable/treetable.mjs +2272 -0
  1295. package/treetable/treetable.mjs.map +1 -0
  1296. package/ts-helpers.d.ts +43 -0
  1297. package/umd/primevue.min.js +1 -0
  1298. package/useconfirm/UseConfirm.d.ts +6 -0
  1299. package/useconfirm/package.json +5 -0
  1300. package/useconfirm/useconfirm.mjs +13 -0
  1301. package/useconfirm/useconfirm.mjs.map +1 -0
  1302. package/usedialog/UseDialog.d.ts +5 -0
  1303. package/usedialog/package.json +5 -0
  1304. package/usedialog/usedialog.mjs +13 -0
  1305. package/usedialog/usedialog.mjs.map +1 -0
  1306. package/usestyle/UseStyle.d.ts +1 -0
  1307. package/usestyle/package.json +5 -0
  1308. package/usestyle/usestyle.mjs +2 -0
  1309. package/usestyle/usestyle.mjs.map +1 -0
  1310. package/usetoast/UseToast.d.ts +3 -0
  1311. package/usetoast/package.json +5 -0
  1312. package/usetoast/usetoast.mjs +13 -0
  1313. package/usetoast/usetoast.mjs.map +1 -0
  1314. package/utils/Utils.d.ts +127 -0
  1315. package/utils/package.json +5 -0
  1316. package/utils/utils.mjs +1292 -0
  1317. package/utils/utils.mjs.map +1 -0
  1318. package/vetur-attributes.json +4778 -0
  1319. package/vetur-tags.json +1643 -0
  1320. package/virtualscroller/BaseVirtualScroller.vue +101 -0
  1321. package/virtualscroller/VirtualScroller.d.ts +537 -0
  1322. package/virtualscroller/VirtualScroller.vue +693 -0
  1323. package/virtualscroller/package.json +11 -0
  1324. package/virtualscroller/style/VirtualScrollerStyle.d.ts +35 -0
  1325. package/virtualscroller/style/package.json +6 -0
  1326. package/virtualscroller/style/virtualscrollerstyle.mjs +10 -0
  1327. package/virtualscroller/style/virtualscrollerstyle.mjs.map +1 -0
  1328. package/virtualscroller/virtualscroller.mjs +915 -0
  1329. package/virtualscroller/virtualscroller.mjs.map +1 -0
  1330. package/web-types.json +18296 -0
@@ -0,0 +1,2061 @@
1
+ <template>
2
+ <div :class="cx('root')" data-scrollselectors=".p-datatable-wrapper" v-bind="ptmi('root')">
3
+ <slot></slot>
4
+ <div v-if="loading" :class="cx('mask')" v-bind="ptm('mask')">
5
+ <slot v-if="$slots.loading" name="loading"></slot>
6
+ <template v-else>
7
+ <component v-if="$slots.loadingicon" :is="$slots.loadingicon" :class="cx('loadingIcon')" />
8
+ <i v-else-if="loadingIcon" :class="[cx('loadingIcon'), 'pi-spin', loadingIcon]" v-bind="ptm('loadingIcon')" />
9
+ <SpinnerIcon v-else spin :class="cx('loadingIcon')" v-bind="ptm('loadingIcon')" />
10
+ </template>
11
+ </div>
12
+ <div v-if="$slots.header" :class="cx('header')" v-bind="ptm('header')">
13
+ <slot name="header"></slot>
14
+ </div>
15
+ <DTPaginator
16
+ v-if="paginatorTop"
17
+ :rows="d_rows"
18
+ :first="d_first"
19
+ :totalRecords="totalRecordsLength"
20
+ :pageLinkSize="pageLinkSize"
21
+ :template="paginatorTemplate"
22
+ :rowsPerPageOptions="rowsPerPageOptions"
23
+ :currentPageReportTemplate="currentPageReportTemplate"
24
+ :class="cx('pcPaginator', { position: 'top' })"
25
+ @page="onPage($event)"
26
+ :alwaysShow="alwaysShowPaginator"
27
+ :unstyled="unstyled"
28
+ :pt="ptm('pcPaginator')"
29
+ >
30
+ <template v-if="$slots.paginatorstart" #start>
31
+ <slot name="paginatorstart"></slot>
32
+ </template>
33
+ <template v-if="$slots.paginatorend" #end>
34
+ <slot name="paginatorend"></slot>
35
+ </template>
36
+ <template v-if="$slots.paginatorfirstpagelinkicon" #firstpagelinkicon="slotProps">
37
+ <slot name="paginatorfirstpagelinkicon" :class="slotProps.class"></slot>
38
+ </template>
39
+ <template v-if="$slots.paginatorprevpagelinkicon" #prevpagelinkicon="slotProps">
40
+ <slot name="paginatorprevpagelinkicon" :class="slotProps.class"></slot>
41
+ </template>
42
+ <template v-if="$slots.paginatornextpagelinkicon" #nextpagelinkicon="slotProps">
43
+ <slot name="paginatornextpagelinkicon" :class="slotProps.class"></slot>
44
+ </template>
45
+ <template v-if="$slots.paginatorlastpagelinkicon" #lastpagelinkicon="slotProps">
46
+ <slot name="paginatorlastpagelinkicon" :class="slotProps.class"></slot>
47
+ </template>
48
+ <template v-if="$slots.paginatorjumptopagedropdownicon" #jumptopagedropdownicon="slotProps">
49
+ <slot name="paginatorjumptopagedropdownicon" :class="slotProps.class"></slot>
50
+ </template>
51
+ <template v-if="$slots.paginatorrowsperpagedropdownicon" #rowsperpagedropdownicon="slotProps">
52
+ <slot name="paginatorrowsperpagedropdownicon" :class="slotProps.class"></slot>
53
+ </template>
54
+ </DTPaginator>
55
+ <div :class="cx('tableContainer')" :style="[sx('tableContainer'), { maxHeight: virtualScrollerDisabled ? scrollHeight : '' }]" v-bind="ptm('tableContainer')">
56
+ <DTVirtualScroller
57
+ ref="virtualScroller"
58
+ v-bind="virtualScrollerOptions"
59
+ :items="processedData"
60
+ :columns="columns"
61
+ :style="scrollHeight !== 'flex' ? { height: scrollHeight } : undefined"
62
+ :scrollHeight="scrollHeight !== 'flex' ? undefined : '100%'"
63
+ :disabled="virtualScrollerDisabled"
64
+ loaderDisabled
65
+ inline
66
+ autoSize
67
+ :showSpacer="false"
68
+ :pt="ptm('virtualScroller')"
69
+ >
70
+ <template #content="slotProps">
71
+ <table ref="table" role="table" :class="[cx('table'), tableClass]" :style="[tableStyle, slotProps.spacerStyle]" v-bind="{ ...tableProps, ...ptm('table') }">
72
+ <DTTableHeader
73
+ :columnGroup="headerColumnGroup"
74
+ :columns="slotProps.columns"
75
+ :rowGroupMode="rowGroupMode"
76
+ :groupRowsBy="groupRowsBy"
77
+ :groupRowSortField="groupRowSortField"
78
+ :reorderableColumns="reorderableColumns"
79
+ :resizableColumns="resizableColumns"
80
+ :allRowsSelected="allRowsSelected"
81
+ :empty="empty"
82
+ :sortMode="sortMode"
83
+ :sortField="d_sortField"
84
+ :sortOrder="d_sortOrder"
85
+ :multiSortMeta="d_multiSortMeta"
86
+ :filters="d_filters"
87
+ :filtersStore="filters"
88
+ :filterDisplay="filterDisplay"
89
+ :filterButtonProps="headerFilterButtonProps"
90
+ :filterInputProps="filterInputProps"
91
+ :first="d_first"
92
+ @column-click="onColumnHeaderClick($event)"
93
+ @column-mousedown="onColumnHeaderMouseDown($event)"
94
+ @filter-change="onFilterChange"
95
+ @filter-apply="onFilterApply"
96
+ @column-dragstart="onColumnHeaderDragStart($event)"
97
+ @column-dragover="onColumnHeaderDragOver($event)"
98
+ @column-dragleave="onColumnHeaderDragLeave($event)"
99
+ @column-drop="onColumnHeaderDrop($event)"
100
+ @column-resizestart="onColumnResizeStart($event)"
101
+ @checkbox-change="toggleRowsWithCheckbox($event)"
102
+ :unstyled="unstyled"
103
+ :pt="pt"
104
+ />
105
+ <DTTableBody
106
+ v-if="frozenValue"
107
+ ref="frozenBodyRef"
108
+ :value="frozenValue"
109
+ :frozenRow="true"
110
+ :columns="slotProps.columns"
111
+ :first="d_first"
112
+ :dataKey="dataKey"
113
+ :selection="selection"
114
+ :selectionKeys="d_selectionKeys"
115
+ :selectionMode="selectionMode"
116
+ :contextMenu="contextMenu"
117
+ :contextMenuSelection="contextMenuSelection"
118
+ :rowGroupMode="rowGroupMode"
119
+ :groupRowsBy="groupRowsBy"
120
+ :expandableRowGroups="expandableRowGroups"
121
+ :rowClass="rowClass"
122
+ :rowStyle="rowStyle"
123
+ :editMode="editMode"
124
+ :compareSelectionBy="compareSelectionBy"
125
+ :scrollable="scrollable"
126
+ :expandedRowIcon="expandedRowIcon"
127
+ :collapsedRowIcon="collapsedRowIcon"
128
+ :expandedRows="expandedRows"
129
+ :expandedRowGroups="expandedRowGroups"
130
+ :editingRows="editingRows"
131
+ :editingRowKeys="d_editingRowKeys"
132
+ :templates="$slots"
133
+ :editButtonProps="rowEditButtonProps"
134
+ :isVirtualScrollerDisabled="true"
135
+ @rowgroup-toggle="toggleRowGroup"
136
+ @row-click="onRowClick($event)"
137
+ @row-dblclick="onRowDblClick($event)"
138
+ @row-rightclick="onRowRightClick($event)"
139
+ @row-touchend="onRowTouchEnd"
140
+ @row-keydown="onRowKeyDown"
141
+ @row-mousedown="onRowMouseDown"
142
+ @row-dragstart="onRowDragStart($event)"
143
+ @row-dragover="onRowDragOver($event)"
144
+ @row-dragleave="onRowDragLeave($event)"
145
+ @row-dragend="onRowDragEnd($event)"
146
+ @row-drop="onRowDrop($event)"
147
+ @row-toggle="toggleRow($event)"
148
+ @radio-change="toggleRowWithRadio($event)"
149
+ @checkbox-change="toggleRowWithCheckbox($event)"
150
+ @cell-edit-init="onCellEditInit($event)"
151
+ @cell-edit-complete="onCellEditComplete($event)"
152
+ @cell-edit-cancel="onCellEditCancel($event)"
153
+ @row-edit-init="onRowEditInit($event)"
154
+ @row-edit-save="onRowEditSave($event)"
155
+ @row-edit-cancel="onRowEditCancel($event)"
156
+ :editingMeta="d_editingMeta"
157
+ @editing-meta-change="onEditingMetaChange"
158
+ :unstyled="unstyled"
159
+ :pt="pt"
160
+ />
161
+ <DTTableBody
162
+ ref="bodyRef"
163
+ :value="dataToRender(slotProps.rows)"
164
+ :class="slotProps.styleClass"
165
+ :columns="slotProps.columns"
166
+ :empty="empty"
167
+ :first="d_first"
168
+ :dataKey="dataKey"
169
+ :selection="selection"
170
+ :selectionKeys="d_selectionKeys"
171
+ :selectionMode="selectionMode"
172
+ :contextMenu="contextMenu"
173
+ :contextMenuSelection="contextMenuSelection"
174
+ :rowGroupMode="rowGroupMode"
175
+ :groupRowsBy="groupRowsBy"
176
+ :expandableRowGroups="expandableRowGroups"
177
+ :rowClass="rowClass"
178
+ :rowStyle="rowStyle"
179
+ :editMode="editMode"
180
+ :compareSelectionBy="compareSelectionBy"
181
+ :scrollable="scrollable"
182
+ :expandedRowIcon="expandedRowIcon"
183
+ :collapsedRowIcon="collapsedRowIcon"
184
+ :expandedRows="expandedRows"
185
+ :expandedRowGroups="expandedRowGroups"
186
+ :editingRows="editingRows"
187
+ :editingRowKeys="d_editingRowKeys"
188
+ :templates="$slots"
189
+ :editButtonProps="rowEditButtonProps"
190
+ :virtualScrollerContentProps="slotProps"
191
+ :isVirtualScrollerDisabled="virtualScrollerDisabled"
192
+ @rowgroup-toggle="toggleRowGroup"
193
+ @row-click="onRowClick($event)"
194
+ @row-dblclick="onRowDblClick($event)"
195
+ @row-rightclick="onRowRightClick($event)"
196
+ @row-touchend="onRowTouchEnd"
197
+ @row-keydown="onRowKeyDown($event, slotProps)"
198
+ @row-mousedown="onRowMouseDown"
199
+ @row-dragstart="onRowDragStart($event)"
200
+ @row-dragover="onRowDragOver($event)"
201
+ @row-dragleave="onRowDragLeave($event)"
202
+ @row-dragend="onRowDragEnd($event)"
203
+ @row-drop="onRowDrop($event)"
204
+ @row-toggle="toggleRow($event)"
205
+ @radio-change="toggleRowWithRadio($event)"
206
+ @checkbox-change="toggleRowWithCheckbox($event)"
207
+ @cell-edit-init="onCellEditInit($event)"
208
+ @cell-edit-complete="onCellEditComplete($event)"
209
+ @cell-edit-cancel="onCellEditCancel($event)"
210
+ @row-edit-init="onRowEditInit($event)"
211
+ @row-edit-save="onRowEditSave($event)"
212
+ @row-edit-cancel="onRowEditCancel($event)"
213
+ :editingMeta="d_editingMeta"
214
+ @editing-meta-change="onEditingMetaChange"
215
+ :unstyled="unstyled"
216
+ :pt="pt"
217
+ />
218
+ <tbody
219
+ v-if="hasSpacerStyle(slotProps.spacerStyle)"
220
+ :class="cx('virtualScrollerSpacer')"
221
+ :style="{ height: `calc(${slotProps.spacerStyle.height} - ${slotProps.rows.length * slotProps.itemSize}px)` }"
222
+ v-bind="ptm('virtualScrollerSpacer')"
223
+ ></tbody>
224
+ <DTTableFooter :columnGroup="footerColumnGroup" :columns="slotProps.columns" :pt="pt" />
225
+ </table>
226
+ </template>
227
+ </DTVirtualScroller>
228
+ </div>
229
+ <DTPaginator
230
+ v-if="paginatorBottom"
231
+ :rows="d_rows"
232
+ :first="d_first"
233
+ :totalRecords="totalRecordsLength"
234
+ :pageLinkSize="pageLinkSize"
235
+ :template="paginatorTemplate"
236
+ :rowsPerPageOptions="rowsPerPageOptions"
237
+ :currentPageReportTemplate="currentPageReportTemplate"
238
+ :class="cx('pcPaginator', { position: 'bottom' })"
239
+ @page="onPage($event)"
240
+ :alwaysShow="alwaysShowPaginator"
241
+ :unstyled="unstyled"
242
+ :pt="ptm('pcPaginator')"
243
+ >
244
+ <template v-if="$slots.paginatorstart" #start>
245
+ <slot name="paginatorstart"></slot>
246
+ </template>
247
+ <template v-if="$slots.paginatorend" #end>
248
+ <slot name="paginatorend"></slot>
249
+ </template>
250
+ <template v-if="$slots.paginatorfirstpagelinkicon" #firstpagelinkicon="slotProps">
251
+ <slot name="paginatorfirstpagelinkicon" :class="slotProps.class"></slot>
252
+ </template>
253
+ <template v-if="$slots.paginatorprevpagelinkicon" #prevpagelinkicon="slotProps">
254
+ <slot name="paginatorprevpagelinkicon" :class="slotProps.class"></slot>
255
+ </template>
256
+ <template v-if="$slots.paginatornextpagelinkicon" #nextpagelinkicon="slotProps">
257
+ <slot name="paginatornextpagelinkicon" :class="slotProps.class"></slot>
258
+ </template>
259
+ <template v-if="$slots.paginatorlastpagelinkicon" #lastpagelinkicon="slotProps">
260
+ <slot name="paginatorlastpagelinkicon" :class="slotProps.class"></slot>
261
+ </template>
262
+ <template v-if="$slots.paginatorjumptopagedropdownicon" #jumptopagedropdownicon="slotProps">
263
+ <slot name="paginatorjumptopagedropdownicon" :class="slotProps.class"></slot>
264
+ </template>
265
+ <template v-if="$slots.paginatorrowsperpagedropdownicon" #rowsperpagedropdownicon="slotProps">
266
+ <slot name="paginatorrowsperpagedropdownicon" :class="slotProps.class"></slot>
267
+ </template>
268
+ </DTPaginator>
269
+ <div v-if="$slots.footer" :class="cx('footer')" v-bind="ptm('footer')">
270
+ <slot name="footer"></slot>
271
+ </div>
272
+ <div ref="resizeHelper" :class="cx('columnResizeIndicator')" style="display: none" v-bind="ptm('columnResizeIndicator')"></div>
273
+ <span v-if="reorderableColumns" ref="reorderIndicatorUp" :class="cx('rowReorderIndicatorUp')" style="position: absolute; display: none" v-bind="ptm('rowReorderIndicatorUp')">
274
+ <component :is="$slots.rowreorderindicatorupicon || $slots.reorderindicatorupicon || 'ArrowDownIcon'" />
275
+ </span>
276
+ <span v-if="reorderableColumns" ref="reorderIndicatorDown" :class="cx('rowReorderIndicatorDown')" style="position: absolute; display: none" v-bind="ptm('rowReorderIndicatorDown')">
277
+ <component :is="$slots.rowreorderindicatordownicon || $slots.reorderindicatordownicon || 'ArrowUpIcon'" />
278
+ </span>
279
+ </div>
280
+ </template>
281
+
282
+ <script>
283
+ import { FilterMatchMode, FilterOperator, FilterService } from '@primevuelab/core/api';
284
+ import { DomHandler, HelperSet, ObjectUtils, UniqueComponentId } from '@primevuelab/core/utils';
285
+ import ArrowDownIcon from '@primevuelab/icons/arrowdown';
286
+ import ArrowUpIcon from '@primevuelab/icons/arrowup';
287
+ import SpinnerIcon from '@primevuelab/icons/spinner';
288
+ import Paginator from 'primevuelab/paginator';
289
+ import VirtualScroller from 'primevuelab/virtualscroller';
290
+ import BaseDataTable from './BaseDataTable.vue';
291
+ import TableBody from './TableBody.vue';
292
+ import TableFooter from './TableFooter.vue';
293
+ import TableHeader from './TableHeader.vue';
294
+
295
+ export default {
296
+ name: 'DataTable',
297
+ extends: BaseDataTable,
298
+ inheritAttrs: false,
299
+ emits: [
300
+ 'value-change',
301
+ 'update:first',
302
+ 'update:rows',
303
+ 'page',
304
+ 'update:sortField',
305
+ 'update:sortOrder',
306
+ 'update:multiSortMeta',
307
+ 'sort',
308
+ 'filter',
309
+ 'row-click',
310
+ 'row-dblclick',
311
+ 'update:selection',
312
+ 'row-select',
313
+ 'row-unselect',
314
+ 'update:contextMenuSelection',
315
+ 'row-contextmenu',
316
+ 'row-unselect-all',
317
+ 'row-select-all',
318
+ 'select-all-change',
319
+ 'column-resize-end',
320
+ 'column-reorder',
321
+ 'row-reorder',
322
+ 'update:expandedRows',
323
+ 'row-collapse',
324
+ 'row-expand',
325
+ 'update:expandedRowGroups',
326
+ 'rowgroup-collapse',
327
+ 'rowgroup-expand',
328
+ 'update:filters',
329
+ 'state-restore',
330
+ 'state-save',
331
+ 'cell-edit-init',
332
+ 'cell-edit-complete',
333
+ 'cell-edit-cancel',
334
+ 'update:editingRows',
335
+ 'row-edit-init',
336
+ 'row-edit-save',
337
+ 'row-edit-cancel'
338
+ ],
339
+ provide() {
340
+ return {
341
+ $columns: this.d_columns,
342
+ $columnGroups: this.d_columnGroups
343
+ };
344
+ },
345
+ data() {
346
+ return {
347
+ d_first: this.first,
348
+ d_rows: this.rows,
349
+ d_sortField: this.sortField,
350
+ d_sortOrder: this.sortOrder,
351
+ d_nullSortOrder: this.nullSortOrder,
352
+ d_multiSortMeta: this.multiSortMeta ? [...this.multiSortMeta] : [],
353
+ d_groupRowsSortMeta: null,
354
+ d_selectionKeys: null,
355
+ d_columnOrder: null,
356
+ d_editingRowKeys: null,
357
+ d_editingMeta: {},
358
+ d_filters: this.cloneFilters(this.filters),
359
+ d_columns: new HelperSet({ type: 'Column' }),
360
+ d_columnGroups: new HelperSet({ type: 'ColumnGroup' })
361
+ };
362
+ },
363
+ rowTouched: false,
364
+ anchorRowIndex: null,
365
+ rangeRowIndex: null,
366
+ documentColumnResizeListener: null,
367
+ documentColumnResizeEndListener: null,
368
+ lastResizeHelperX: null,
369
+ resizeColumnElement: null,
370
+ columnResizing: false,
371
+ colReorderIconWidth: null,
372
+ colReorderIconHeight: null,
373
+ draggedColumn: null,
374
+ draggedColumnElement: null,
375
+ draggedRowIndex: null,
376
+ droppedRowIndex: null,
377
+ rowDragging: null,
378
+ columnWidthsState: null,
379
+ tableWidthState: null,
380
+ columnWidthsRestored: false,
381
+ watch: {
382
+ first(newValue) {
383
+ this.d_first = newValue;
384
+ },
385
+ rows(newValue) {
386
+ this.d_rows = newValue;
387
+ },
388
+ sortField(newValue) {
389
+ this.d_sortField = newValue;
390
+ },
391
+ sortOrder(newValue) {
392
+ this.d_sortOrder = newValue;
393
+ },
394
+ nullSortOrder(newValue) {
395
+ this.d_nullSortOrder = newValue;
396
+ },
397
+ multiSortMeta(newValue) {
398
+ this.d_multiSortMeta = newValue;
399
+ },
400
+ selection: {
401
+ immediate: true,
402
+ handler(newValue) {
403
+ if (this.dataKey) {
404
+ this.updateSelectionKeys(newValue);
405
+ }
406
+ }
407
+ },
408
+ editingRows: {
409
+ immediate: true,
410
+ handler(newValue) {
411
+ if (this.dataKey) {
412
+ this.updateEditingRowKeys(newValue);
413
+ }
414
+ }
415
+ },
416
+ filters: {
417
+ deep: true,
418
+ handler: function (newValue) {
419
+ this.d_filters = this.cloneFilters(newValue);
420
+ }
421
+ }
422
+ },
423
+ mounted() {
424
+ this.$el.setAttribute(this.attributeSelector, '');
425
+
426
+ if (this.isStateful()) {
427
+ this.restoreState();
428
+
429
+ this.resizableColumns && this.restoreColumnWidths();
430
+ }
431
+
432
+ if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
433
+ this.updateEditingRowKeys(this.editingRows);
434
+ }
435
+ },
436
+ beforeUnmount() {
437
+ this.unbindColumnResizeEvents();
438
+ this.destroyStyleElement();
439
+
440
+ this.d_columns.clear();
441
+ this.d_columnGroups.clear();
442
+ },
443
+ updated() {
444
+ if (this.isStateful()) {
445
+ this.saveState();
446
+ }
447
+
448
+ if (this.editMode === 'row' && this.dataKey && !this.d_editingRowKeys) {
449
+ this.updateEditingRowKeys(this.editingRows);
450
+ }
451
+ },
452
+ methods: {
453
+ columnProp(col, prop) {
454
+ return ObjectUtils.getVNodeProp(col, prop);
455
+ },
456
+ onPage(event) {
457
+ this.clearEditingMetaData();
458
+
459
+ this.d_first = event.first;
460
+ this.d_rows = event.rows;
461
+
462
+ let pageEvent = this.createLazyLoadEvent(event);
463
+
464
+ pageEvent.pageCount = event.pageCount;
465
+ pageEvent.page = event.page;
466
+
467
+ this.$emit('update:first', this.d_first);
468
+ this.$emit('update:rows', this.d_rows);
469
+ this.$emit('page', pageEvent);
470
+ this.$nextTick(() => {
471
+ this.$emit('value-change', this.processedData);
472
+ });
473
+ },
474
+ onColumnHeaderClick(e) {
475
+ const event = e.originalEvent;
476
+ const column = e.column;
477
+
478
+ if (this.columnProp(column, 'sortable')) {
479
+ const targetNode = event.target;
480
+ const columnField = this.columnProp(column, 'sortField') || this.columnProp(column, 'field');
481
+
482
+ if (
483
+ DomHandler.getAttribute(targetNode, 'data-p-sortable-column') === true ||
484
+ DomHandler.getAttribute(targetNode, 'data-pc-section') === 'columntitle' ||
485
+ DomHandler.getAttribute(targetNode, 'data-pc-section') === 'columnheadercontent' ||
486
+ DomHandler.getAttribute(targetNode, 'data-pc-section') === 'sorticon' ||
487
+ DomHandler.getAttribute(targetNode.parentElement, 'data-pc-section') === 'sorticon' ||
488
+ DomHandler.getAttribute(targetNode.parentElement.parentElement, 'data-pc-section') === 'sorticon' ||
489
+ (targetNode.closest('[data-p-sortable-column="true"]') && !targetNode.closest('[data-pc-section="columnfilterbutton"]') && !DomHandler.isClickable(event.target))
490
+ ) {
491
+ DomHandler.clearSelection();
492
+
493
+ if (this.sortMode === 'single') {
494
+ if (this.d_sortField === columnField) {
495
+ if (this.removableSort && this.d_sortOrder * -1 === this.defaultSortOrder) {
496
+ this.d_sortOrder = null;
497
+ this.d_sortField = null;
498
+ } else {
499
+ this.d_sortOrder = this.d_sortOrder * -1;
500
+ }
501
+ } else {
502
+ this.d_sortOrder = this.defaultSortOrder;
503
+ this.d_sortField = columnField;
504
+ }
505
+
506
+ this.$emit('update:sortField', this.d_sortField);
507
+ this.$emit('update:sortOrder', this.d_sortOrder);
508
+ this.resetPage();
509
+ } else if (this.sortMode === 'multiple') {
510
+ let metaKey = event.metaKey || event.ctrlKey;
511
+
512
+ if (!metaKey) {
513
+ this.d_multiSortMeta = this.d_multiSortMeta.filter((meta) => meta.field === columnField);
514
+ }
515
+
516
+ this.addMultiSortField(columnField);
517
+ this.$emit('update:multiSortMeta', this.d_multiSortMeta);
518
+ }
519
+
520
+ this.$emit('sort', this.createLazyLoadEvent(event));
521
+ this.$nextTick(() => {
522
+ this.$emit('value-change', this.processedData);
523
+ });
524
+ }
525
+ }
526
+ },
527
+ sortSingle(value) {
528
+ this.clearEditingMetaData();
529
+
530
+ if (this.groupRowsBy && this.groupRowsBy === this.sortField) {
531
+ this.d_multiSortMeta = [
532
+ { field: this.sortField, order: this.sortOrder || this.defaultSortOrder },
533
+ { field: this.d_sortField, order: this.d_sortOrder }
534
+ ];
535
+
536
+ return this.sortMultiple(value);
537
+ }
538
+
539
+ let data = [...value];
540
+ let resolvedFieldData = new Map();
541
+
542
+ for (let item of data) {
543
+ resolvedFieldData.set(item, ObjectUtils.resolveFieldData(item, this.d_sortField));
544
+ }
545
+
546
+ const comparer = ObjectUtils.localeComparator();
547
+
548
+ data.sort((data1, data2) => {
549
+ let value1 = resolvedFieldData.get(data1);
550
+ let value2 = resolvedFieldData.get(data2);
551
+
552
+ return ObjectUtils.sort(value1, value2, this.d_sortOrder, comparer, this.d_nullSortOrder);
553
+ });
554
+
555
+ return data;
556
+ },
557
+ sortMultiple(value) {
558
+ this.clearEditingMetaData();
559
+
560
+ if (this.groupRowsBy && (this.d_groupRowsSortMeta || (this.d_multiSortMeta.length && this.groupRowsBy === this.d_multiSortMeta[0].field))) {
561
+ const firstSortMeta = this.d_multiSortMeta[0];
562
+
563
+ !this.d_groupRowsSortMeta && (this.d_groupRowsSortMeta = firstSortMeta);
564
+
565
+ if (firstSortMeta.field !== this.d_groupRowsSortMeta.field) {
566
+ this.d_multiSortMeta = [this.d_groupRowsSortMeta, ...this.d_multiSortMeta];
567
+ }
568
+ }
569
+
570
+ let data = [...value];
571
+
572
+ data.sort((data1, data2) => {
573
+ return this.multisortField(data1, data2, 0);
574
+ });
575
+
576
+ return data;
577
+ },
578
+ multisortField(data1, data2, index) {
579
+ const value1 = ObjectUtils.resolveFieldData(data1, this.d_multiSortMeta[index].field);
580
+ const value2 = ObjectUtils.resolveFieldData(data2, this.d_multiSortMeta[index].field);
581
+ const comparer = ObjectUtils.localeComparator();
582
+
583
+ if (value1 === value2) {
584
+ return this.d_multiSortMeta.length - 1 > index ? this.multisortField(data1, data2, index + 1) : 0;
585
+ }
586
+
587
+ return ObjectUtils.sort(value1, value2, this.d_multiSortMeta[index].order, comparer, this.d_nullSortOrder);
588
+ },
589
+ addMultiSortField(field) {
590
+ let index = this.d_multiSortMeta.findIndex((meta) => meta.field === field);
591
+
592
+ if (index >= 0) {
593
+ if (this.removableSort && this.d_multiSortMeta[index].order * -1 === this.defaultSortOrder) this.d_multiSortMeta.splice(index, 1);
594
+ else this.d_multiSortMeta[index] = { field: field, order: this.d_multiSortMeta[index].order * -1 };
595
+ } else {
596
+ this.d_multiSortMeta.push({ field: field, order: this.defaultSortOrder });
597
+ }
598
+
599
+ this.d_multiSortMeta = [...this.d_multiSortMeta];
600
+ },
601
+ getActiveFilters(filters) {
602
+ const removeEmptyFilters = ([key, value]) => {
603
+ if (value.constraints) {
604
+ const filteredConstraints = value.constraints.filter((constraint) => constraint.value !== null);
605
+
606
+ if (filteredConstraints.length > 0) {
607
+ return [key, { ...value, constraints: filteredConstraints }];
608
+ }
609
+ } else if (value.value !== null) {
610
+ return [key, value];
611
+ }
612
+
613
+ return undefined;
614
+ };
615
+
616
+ const filterValidEntries = (entry) => entry !== undefined;
617
+ const entries = Object.entries(filters).map(removeEmptyFilters).filter(filterValidEntries);
618
+
619
+ return Object.fromEntries(entries);
620
+ },
621
+ filter(data) {
622
+ if (!data) {
623
+ return;
624
+ }
625
+
626
+ this.clearEditingMetaData();
627
+
628
+ let activeFilters = this.getActiveFilters(this.filters);
629
+ let globalFilterFieldsArray;
630
+
631
+ if (activeFilters['global']) {
632
+ globalFilterFieldsArray = this.globalFilterFields || this.columns.map((col) => this.columnProp(col, 'filterField') || this.columnProp(col, 'field'));
633
+ }
634
+
635
+ let filteredValue = [];
636
+
637
+ for (let i = 0; i < data.length; i++) {
638
+ let localMatch = true;
639
+ let globalMatch = false;
640
+ let localFiltered = false;
641
+
642
+ for (let prop in activeFilters) {
643
+ if (Object.prototype.hasOwnProperty.call(activeFilters, prop) && prop !== 'global') {
644
+ localFiltered = true;
645
+ let filterField = prop;
646
+ let filterMeta = activeFilters[filterField];
647
+
648
+ if (filterMeta.operator) {
649
+ for (let filterConstraint of filterMeta.constraints) {
650
+ localMatch = this.executeLocalFilter(filterField, data[i], filterConstraint);
651
+
652
+ if ((filterMeta.operator === FilterOperator.OR && localMatch) || (filterMeta.operator === FilterOperator.AND && !localMatch)) {
653
+ break;
654
+ }
655
+ }
656
+ } else {
657
+ localMatch = this.executeLocalFilter(filterField, data[i], filterMeta);
658
+ }
659
+
660
+ if (!localMatch) {
661
+ break;
662
+ }
663
+ }
664
+ }
665
+
666
+ if (localMatch && activeFilters['global'] && !globalMatch && globalFilterFieldsArray) {
667
+ for (let j = 0; j < globalFilterFieldsArray.length; j++) {
668
+ let globalFilterField = globalFilterFieldsArray[j];
669
+
670
+ globalMatch = FilterService.filters[activeFilters['global'].matchMode || FilterMatchMode.CONTAINS](ObjectUtils.resolveFieldData(data[i], globalFilterField), activeFilters['global'].value, this.filterLocale);
671
+
672
+ if (globalMatch) {
673
+ break;
674
+ }
675
+ }
676
+ }
677
+
678
+ let matches;
679
+
680
+ if (activeFilters['global']) {
681
+ matches = localFiltered ? localFiltered && localMatch && globalMatch : globalMatch;
682
+ } else {
683
+ matches = localFiltered && localMatch;
684
+ }
685
+
686
+ if (matches) {
687
+ filteredValue.push(data[i]);
688
+ }
689
+ }
690
+
691
+ if (filteredValue.length === this.value.length || Object.keys(activeFilters).length == 0) {
692
+ filteredValue = data;
693
+ }
694
+
695
+ let filterEvent = this.createLazyLoadEvent();
696
+
697
+ filterEvent.filteredValue = filteredValue;
698
+ this.$emit('filter', filterEvent);
699
+ this.$nextTick(() => {
700
+ this.$emit('value-change', this.processedData);
701
+ });
702
+
703
+ return filteredValue;
704
+ },
705
+ executeLocalFilter(field, rowData, filterMeta) {
706
+ let filterValue = filterMeta.value;
707
+ let filterMatchMode = filterMeta.matchMode || FilterMatchMode.STARTS_WITH;
708
+ let dataFieldValue = ObjectUtils.resolveFieldData(rowData, field);
709
+ let filterConstraint = FilterService.filters[filterMatchMode];
710
+
711
+ return filterConstraint(dataFieldValue, filterValue, this.filterLocale);
712
+ },
713
+ onRowClick(e) {
714
+ const event = e.originalEvent;
715
+ const body = this.$refs.bodyRef && this.$refs.bodyRef.$el;
716
+ const focusedItem = DomHandler.findSingle(body, 'tr[data-p-selectable-row="true"][tabindex="0"]');
717
+
718
+ if (DomHandler.isClickable(event.target)) {
719
+ return;
720
+ }
721
+
722
+ this.$emit('row-click', e);
723
+
724
+ if (this.selectionMode) {
725
+ const rowData = e.data;
726
+ const rowIndex = this.d_first + e.index;
727
+
728
+ if (this.isMultipleSelectionMode() && event.shiftKey && this.anchorRowIndex != null) {
729
+ DomHandler.clearSelection();
730
+ this.rangeRowIndex = rowIndex;
731
+ this.selectRange(event);
732
+ } else {
733
+ const selected = this.isSelected(rowData);
734
+ const metaSelection = this.rowTouched ? false : this.metaKeySelection;
735
+
736
+ this.anchorRowIndex = rowIndex;
737
+ this.rangeRowIndex = rowIndex;
738
+
739
+ if (metaSelection) {
740
+ let metaKey = event.metaKey || event.ctrlKey;
741
+
742
+ if (selected && metaKey) {
743
+ if (this.isSingleSelectionMode()) {
744
+ this.$emit('update:selection', null);
745
+ } else {
746
+ const selectionIndex = this.findIndexInSelection(rowData);
747
+ const _selection = this.selection.filter((val, i) => i != selectionIndex);
748
+
749
+ this.$emit('update:selection', _selection);
750
+ }
751
+
752
+ this.$emit('row-unselect', { originalEvent: event, data: rowData, index: rowIndex, type: 'row' });
753
+ } else {
754
+ if (this.isSingleSelectionMode()) {
755
+ this.$emit('update:selection', rowData);
756
+ } else if (this.isMultipleSelectionMode()) {
757
+ let _selection = metaKey ? this.selection || [] : [];
758
+
759
+ _selection = [..._selection, rowData];
760
+ this.$emit('update:selection', _selection);
761
+ }
762
+
763
+ this.$emit('row-select', { originalEvent: event, data: rowData, index: rowIndex, type: 'row' });
764
+ }
765
+ } else {
766
+ if (this.selectionMode === 'single') {
767
+ if (selected) {
768
+ this.$emit('update:selection', null);
769
+ this.$emit('row-unselect', { originalEvent: event, data: rowData, index: rowIndex, type: 'row' });
770
+ } else {
771
+ this.$emit('update:selection', rowData);
772
+ this.$emit('row-select', { originalEvent: event, data: rowData, index: rowIndex, type: 'row' });
773
+ }
774
+ } else if (this.selectionMode === 'multiple') {
775
+ if (selected) {
776
+ const selectionIndex = this.findIndexInSelection(rowData);
777
+ const _selection = this.selection.filter((val, i) => i != selectionIndex);
778
+
779
+ this.$emit('update:selection', _selection);
780
+ this.$emit('row-unselect', { originalEvent: event, data: rowData, index: rowIndex, type: 'row' });
781
+ } else {
782
+ const _selection = this.selection ? [...this.selection, rowData] : [rowData];
783
+
784
+ this.$emit('update:selection', _selection);
785
+ this.$emit('row-select', { originalEvent: event, data: rowData, index: rowIndex, type: 'row' });
786
+ }
787
+ }
788
+ }
789
+ }
790
+ }
791
+
792
+ this.rowTouched = false;
793
+
794
+ if (focusedItem) {
795
+ if (event.target?.getAttribute('data-pc-section') === 'rowtoggleicon' || event.target?.parentElement?.getAttribute('data-pc-section') === 'rowtoggleicon') return;
796
+
797
+ const targetRow = event.target?.closest('tr[data-p-selectable-row="true"]');
798
+
799
+ focusedItem.tabIndex = '-1';
800
+ targetRow.tabIndex = '0';
801
+ }
802
+ },
803
+ onRowDblClick(e) {
804
+ const event = e.originalEvent;
805
+
806
+ if (DomHandler.isClickable(event.target)) {
807
+ return;
808
+ }
809
+
810
+ this.$emit('row-dblclick', e);
811
+ },
812
+ onRowRightClick(event) {
813
+ if (this.contextMenu) {
814
+ DomHandler.clearSelection();
815
+ event.originalEvent.target.focus();
816
+ }
817
+
818
+ this.$emit('update:contextMenuSelection', event.data);
819
+ this.$emit('row-contextmenu', event);
820
+ },
821
+ onRowTouchEnd() {
822
+ this.rowTouched = true;
823
+ },
824
+ onRowKeyDown(e, slotProps) {
825
+ const event = e.originalEvent;
826
+ const rowData = e.data;
827
+ const rowIndex = e.index;
828
+ const metaKey = event.metaKey || event.ctrlKey;
829
+
830
+ if (this.selectionMode) {
831
+ const row = event.target;
832
+
833
+ switch (event.code) {
834
+ case 'ArrowDown':
835
+ this.onArrowDownKey(event, row, rowIndex, slotProps);
836
+ break;
837
+
838
+ case 'ArrowUp':
839
+ this.onArrowUpKey(event, row, rowIndex, slotProps);
840
+ break;
841
+
842
+ case 'Home':
843
+ this.onHomeKey(event, row, rowIndex, slotProps);
844
+ break;
845
+
846
+ case 'End':
847
+ this.onEndKey(event, row, rowIndex, slotProps);
848
+ break;
849
+
850
+ case 'Enter':
851
+ case 'NumpadEnter':
852
+ this.onEnterKey(event, rowData, rowIndex);
853
+ break;
854
+
855
+ case 'Space':
856
+ this.onSpaceKey(event, rowData, rowIndex, slotProps);
857
+ break;
858
+
859
+ case 'Tab':
860
+ this.onTabKey(event, rowIndex);
861
+ break;
862
+
863
+ default:
864
+ if (event.code === 'KeyA' && metaKey && this.isMultipleSelectionMode()) {
865
+ const data = this.dataToRender(slotProps.rows);
866
+
867
+ this.$emit('update:selection', data);
868
+ }
869
+
870
+ event.preventDefault();
871
+
872
+ break;
873
+ }
874
+ }
875
+ },
876
+ onArrowDownKey(event, row, rowIndex, slotProps) {
877
+ const nextRow = this.findNextSelectableRow(row);
878
+
879
+ nextRow && this.focusRowChange(row, nextRow);
880
+
881
+ if (event.shiftKey) {
882
+ const data = this.dataToRender(slotProps.rows);
883
+ const nextRowIndex = rowIndex + 1 >= data.length ? data.length - 1 : rowIndex + 1;
884
+
885
+ this.onRowClick({ originalEvent: event, data: data[nextRowIndex], index: nextRowIndex });
886
+ }
887
+
888
+ event.preventDefault();
889
+ },
890
+ onArrowUpKey(event, row, rowIndex, slotProps) {
891
+ const prevRow = this.findPrevSelectableRow(row);
892
+
893
+ prevRow && this.focusRowChange(row, prevRow);
894
+
895
+ if (event.shiftKey) {
896
+ const data = this.dataToRender(slotProps.rows);
897
+ const prevRowIndex = rowIndex - 1 <= 0 ? 0 : rowIndex - 1;
898
+
899
+ this.onRowClick({ originalEvent: event, data: data[prevRowIndex], index: prevRowIndex });
900
+ }
901
+
902
+ event.preventDefault();
903
+ },
904
+ onHomeKey(event, row, rowIndex, slotProps) {
905
+ const firstRow = this.findFirstSelectableRow();
906
+
907
+ firstRow && this.focusRowChange(row, firstRow);
908
+
909
+ if (event.ctrlKey && event.shiftKey) {
910
+ const data = this.dataToRender(slotProps.rows);
911
+
912
+ this.$emit('update:selection', data.slice(0, rowIndex + 1));
913
+ }
914
+
915
+ event.preventDefault();
916
+ },
917
+ onEndKey(event, row, rowIndex, slotProps) {
918
+ const lastRow = this.findLastSelectableRow();
919
+
920
+ lastRow && this.focusRowChange(row, lastRow);
921
+
922
+ if (event.ctrlKey && event.shiftKey) {
923
+ const data = this.dataToRender(slotProps.rows);
924
+
925
+ this.$emit('update:selection', data.slice(rowIndex, data.length));
926
+ }
927
+
928
+ event.preventDefault();
929
+ },
930
+ onEnterKey(event, rowData, rowIndex) {
931
+ this.onRowClick({ originalEvent: event, data: rowData, index: rowIndex });
932
+ event.preventDefault();
933
+ },
934
+ onSpaceKey(event, rowData, rowIndex, slotProps) {
935
+ this.onEnterKey(event, rowData, rowIndex);
936
+
937
+ if (event.shiftKey && this.selection !== null) {
938
+ const data = this.dataToRender(slotProps.rows);
939
+ let index;
940
+
941
+ if (this.selection.length > 0) {
942
+ let firstSelectedRowIndex, lastSelectedRowIndex;
943
+
944
+ firstSelectedRowIndex = ObjectUtils.findIndexInList(this.selection[0], data);
945
+ lastSelectedRowIndex = ObjectUtils.findIndexInList(this.selection[this.selection.length - 1], data);
946
+
947
+ index = rowIndex <= firstSelectedRowIndex ? lastSelectedRowIndex : firstSelectedRowIndex;
948
+ } else {
949
+ index = ObjectUtils.findIndexInList(this.selection, data);
950
+ }
951
+
952
+ const _selection = index !== rowIndex ? data.slice(Math.min(index, rowIndex), Math.max(index, rowIndex) + 1) : rowData;
953
+
954
+ this.$emit('update:selection', _selection);
955
+ }
956
+ },
957
+ onTabKey(event, rowIndex) {
958
+ const body = this.$refs.bodyRef && this.$refs.bodyRef.$el;
959
+ const rows = DomHandler.find(body, 'tr[data-p-selectable-row="true"]');
960
+
961
+ if (event.code === 'Tab' && rows && rows.length > 0) {
962
+ const firstSelectedRow = DomHandler.findSingle(body, 'tr[data-p-selected="true"]');
963
+ const focusedItem = DomHandler.findSingle(body, 'tr[data-p-selectable-row="true"][tabindex="0"]');
964
+
965
+ if (firstSelectedRow) {
966
+ firstSelectedRow.tabIndex = '0';
967
+ focusedItem && focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
968
+ } else {
969
+ rows[0].tabIndex = '0';
970
+ focusedItem !== rows[0] && (rows[rowIndex].tabIndex = '-1');
971
+ }
972
+ }
973
+ },
974
+ findNextSelectableRow(row) {
975
+ let nextRow = row.nextElementSibling;
976
+
977
+ if (nextRow) {
978
+ if (DomHandler.getAttribute(nextRow, 'data-p-selectable-row') === true) return nextRow;
979
+ else return this.findNextSelectableRow(nextRow);
980
+ } else {
981
+ return null;
982
+ }
983
+ },
984
+ findPrevSelectableRow(row) {
985
+ let prevRow = row.previousElementSibling;
986
+
987
+ if (prevRow) {
988
+ if (DomHandler.getAttribute(prevRow, 'data-p-selectable-row') === true) return prevRow;
989
+ else return this.findPrevSelectableRow(prevRow);
990
+ } else {
991
+ return null;
992
+ }
993
+ },
994
+ findFirstSelectableRow() {
995
+ const firstRow = DomHandler.findSingle(this.$refs.table, 'tr[data-p-selectable-row="true"]');
996
+
997
+ return firstRow;
998
+ },
999
+ findLastSelectableRow() {
1000
+ const rows = DomHandler.find(this.$refs.table, 'tr[data-p-selectable-row="true"]');
1001
+
1002
+ return rows ? rows[rows.length - 1] : null;
1003
+ },
1004
+ focusRowChange(firstFocusableRow, currentFocusedRow) {
1005
+ firstFocusableRow.tabIndex = '-1';
1006
+ currentFocusedRow.tabIndex = '0';
1007
+ DomHandler.focus(currentFocusedRow);
1008
+ },
1009
+ toggleRowWithRadio(event) {
1010
+ const rowData = event.data;
1011
+
1012
+ if (this.isSelected(rowData)) {
1013
+ this.$emit('update:selection', null);
1014
+ this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
1015
+ } else {
1016
+ this.$emit('update:selection', rowData);
1017
+ this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'radiobutton' });
1018
+ }
1019
+ },
1020
+ toggleRowWithCheckbox(event) {
1021
+ const rowData = event.data;
1022
+
1023
+ if (this.isSelected(rowData)) {
1024
+ const selectionIndex = this.findIndexInSelection(rowData);
1025
+ const _selection = this.selection.filter((val, i) => i != selectionIndex);
1026
+
1027
+ this.$emit('update:selection', _selection);
1028
+ this.$emit('row-unselect', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
1029
+ } else {
1030
+ let _selection = this.selection ? [...this.selection] : [];
1031
+
1032
+ _selection = [..._selection, rowData];
1033
+ this.$emit('update:selection', _selection);
1034
+ this.$emit('row-select', { originalEvent: event.originalEvent, data: rowData, index: event.index, type: 'checkbox' });
1035
+ }
1036
+ },
1037
+ toggleRowsWithCheckbox(event) {
1038
+ if (this.selectAll !== null) {
1039
+ this.$emit('select-all-change', event);
1040
+ } else {
1041
+ const { originalEvent, checked } = event;
1042
+ let _selection = [];
1043
+
1044
+ if (checked) {
1045
+ _selection = this.frozenValue ? [...this.frozenValue, ...this.processedData] : this.processedData;
1046
+ this.$emit('row-select-all', { originalEvent, data: _selection });
1047
+ } else {
1048
+ this.$emit('row-unselect-all', { originalEvent });
1049
+ }
1050
+
1051
+ this.$emit('update:selection', _selection);
1052
+ }
1053
+ },
1054
+ isSingleSelectionMode() {
1055
+ return this.selectionMode === 'single';
1056
+ },
1057
+ isMultipleSelectionMode() {
1058
+ return this.selectionMode === 'multiple';
1059
+ },
1060
+ isSelected(rowData) {
1061
+ if (rowData && this.selection) {
1062
+ if (this.dataKey) {
1063
+ return this.d_selectionKeys ? this.d_selectionKeys[ObjectUtils.resolveFieldData(rowData, this.dataKey)] !== undefined : false;
1064
+ } else {
1065
+ if (this.selection instanceof Array) return this.findIndexInSelection(rowData) > -1;
1066
+ else return this.equals(rowData, this.selection);
1067
+ }
1068
+ }
1069
+
1070
+ return false;
1071
+ },
1072
+ findIndexInSelection(rowData) {
1073
+ return this.findIndex(rowData, this.selection);
1074
+ },
1075
+ findIndex(rowData, collection) {
1076
+ let index = -1;
1077
+
1078
+ if (collection && collection.length) {
1079
+ for (let i = 0; i < collection.length; i++) {
1080
+ if (this.equals(rowData, collection[i])) {
1081
+ index = i;
1082
+ break;
1083
+ }
1084
+ }
1085
+ }
1086
+
1087
+ return index;
1088
+ },
1089
+ updateSelectionKeys(selection) {
1090
+ this.d_selectionKeys = {};
1091
+
1092
+ if (Array.isArray(selection)) {
1093
+ for (let data of selection) {
1094
+ this.d_selectionKeys[String(ObjectUtils.resolveFieldData(data, this.dataKey))] = 1;
1095
+ }
1096
+ } else {
1097
+ this.d_selectionKeys[String(ObjectUtils.resolveFieldData(selection, this.dataKey))] = 1;
1098
+ }
1099
+ },
1100
+ updateEditingRowKeys(editingRows) {
1101
+ if (editingRows && editingRows.length) {
1102
+ this.d_editingRowKeys = {};
1103
+
1104
+ for (let data of editingRows) {
1105
+ this.d_editingRowKeys[String(ObjectUtils.resolveFieldData(data, this.dataKey))] = 1;
1106
+ }
1107
+ } else {
1108
+ this.d_editingRowKeys = null;
1109
+ }
1110
+ },
1111
+ equals(data1, data2) {
1112
+ return this.compareSelectionBy === 'equals' ? data1 === data2 : ObjectUtils.equals(data1, data2, this.dataKey);
1113
+ },
1114
+ selectRange(event) {
1115
+ let rangeStart, rangeEnd;
1116
+
1117
+ if (this.rangeRowIndex > this.anchorRowIndex) {
1118
+ rangeStart = this.anchorRowIndex;
1119
+ rangeEnd = this.rangeRowIndex;
1120
+ } else if (this.rangeRowIndex < this.anchorRowIndex) {
1121
+ rangeStart = this.rangeRowIndex;
1122
+ rangeEnd = this.anchorRowIndex;
1123
+ } else {
1124
+ rangeStart = this.rangeRowIndex;
1125
+ rangeEnd = this.rangeRowIndex;
1126
+ }
1127
+
1128
+ if (this.lazy && this.paginator) {
1129
+ rangeStart -= this.first;
1130
+ rangeEnd -= this.first;
1131
+ }
1132
+
1133
+ const value = this.processedData;
1134
+ let _selection = [];
1135
+
1136
+ for (let i = rangeStart; i <= rangeEnd; i++) {
1137
+ let rangeRowData = value[i];
1138
+
1139
+ _selection.push(rangeRowData);
1140
+ this.$emit('row-select', { originalEvent: event, data: rangeRowData, type: 'row' });
1141
+ }
1142
+
1143
+ this.$emit('update:selection', _selection);
1144
+ },
1145
+ exportCSV(options, data) {
1146
+ let csv = '\ufeff';
1147
+
1148
+ if (!data) {
1149
+ data = this.processedData;
1150
+
1151
+ if (options && options.selectionOnly) data = this.selection || [];
1152
+ else if (this.frozenValue) data = data ? [...this.frozenValue, ...data] : this.frozenValue;
1153
+ }
1154
+
1155
+ //headers
1156
+ let headerInitiated = false;
1157
+
1158
+ for (let i = 0; i < this.columns.length; i++) {
1159
+ let column = this.columns[i];
1160
+
1161
+ if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'field')) {
1162
+ if (headerInitiated) csv += this.csvSeparator;
1163
+ else headerInitiated = true;
1164
+
1165
+ csv += '"' + (this.columnProp(column, 'exportHeader') || this.columnProp(column, 'header') || this.columnProp(column, 'field')) + '"';
1166
+ }
1167
+ }
1168
+
1169
+ //body
1170
+ if (data) {
1171
+ data.forEach((record) => {
1172
+ csv += '\n';
1173
+ let rowInitiated = false;
1174
+
1175
+ for (let i = 0; i < this.columns.length; i++) {
1176
+ let column = this.columns[i];
1177
+
1178
+ if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'field')) {
1179
+ if (rowInitiated) csv += this.csvSeparator;
1180
+ else rowInitiated = true;
1181
+
1182
+ let cellData = ObjectUtils.resolveFieldData(record, this.columnProp(column, 'field'));
1183
+
1184
+ if (cellData != null) {
1185
+ if (this.exportFunction) {
1186
+ cellData = this.exportFunction({
1187
+ data: cellData,
1188
+ field: this.columnProp(column, 'field')
1189
+ });
1190
+ } else cellData = String(cellData).replace(/"/g, '""');
1191
+ } else cellData = '';
1192
+
1193
+ csv += '"' + cellData + '"';
1194
+ }
1195
+ }
1196
+ });
1197
+ }
1198
+
1199
+ //footers
1200
+ let footerInitiated = false;
1201
+
1202
+ for (let i = 0; i < this.columns.length; i++) {
1203
+ let column = this.columns[i];
1204
+
1205
+ if (i === 0) csv += '\n';
1206
+
1207
+ if (this.columnProp(column, 'exportable') !== false && this.columnProp(column, 'exportFooter')) {
1208
+ if (footerInitiated) csv += this.csvSeparator;
1209
+ else footerInitiated = true;
1210
+
1211
+ csv += '"' + (this.columnProp(column, 'exportFooter') || this.columnProp(column, 'footer') || this.columnProp(column, 'field')) + '"';
1212
+ }
1213
+ }
1214
+
1215
+ DomHandler.exportCSV(csv, this.exportFilename);
1216
+ },
1217
+ resetPage() {
1218
+ this.d_first = 0;
1219
+ this.$emit('update:first', this.d_first);
1220
+ },
1221
+ onColumnResizeStart(event) {
1222
+ let containerLeft = DomHandler.getOffset(this.$el).left;
1223
+
1224
+ this.resizeColumnElement = event.target.parentElement;
1225
+ this.columnResizing = true;
1226
+ this.lastResizeHelperX = event.pageX - containerLeft + this.$el.scrollLeft;
1227
+
1228
+ this.bindColumnResizeEvents();
1229
+ },
1230
+ onColumnResize(event) {
1231
+ let containerLeft = DomHandler.getOffset(this.$el).left;
1232
+
1233
+ this.$el.setAttribute('data-p-unselectable-text', 'true');
1234
+ !this.isUnstyled && DomHandler.addStyles(this.$el, { 'user-select': 'none' });
1235
+ this.$refs.resizeHelper.style.height = this.$el.offsetHeight + 'px';
1236
+ this.$refs.resizeHelper.style.top = 0 + 'px';
1237
+ this.$refs.resizeHelper.style.left = event.pageX - containerLeft + this.$el.scrollLeft + 'px';
1238
+
1239
+ this.$refs.resizeHelper.style.display = 'block';
1240
+ },
1241
+ onColumnResizeEnd() {
1242
+ let delta = this.$refs.resizeHelper.offsetLeft - this.lastResizeHelperX;
1243
+ let columnWidth = this.resizeColumnElement.offsetWidth;
1244
+ let newColumnWidth = columnWidth + delta;
1245
+ let minWidth = this.resizeColumnElement.style.minWidth || 15;
1246
+
1247
+ if (columnWidth + delta > parseInt(minWidth, 10)) {
1248
+ if (this.columnResizeMode === 'fit') {
1249
+ let nextColumn = this.resizeColumnElement.nextElementSibling;
1250
+ let nextColumnWidth = nextColumn.offsetWidth - delta;
1251
+
1252
+ if (newColumnWidth > 15 && nextColumnWidth > 15) {
1253
+ this.resizeTableCells(newColumnWidth, nextColumnWidth);
1254
+ }
1255
+ } else if (this.columnResizeMode === 'expand') {
1256
+ const tableWidth = this.$refs.table.offsetWidth + delta + 'px';
1257
+
1258
+ const updateTableWidth = (el) => {
1259
+ !!el && (el.style.width = el.style.minWidth = tableWidth);
1260
+ };
1261
+
1262
+ // Reasoning: resize table cells before updating the table width so that it can use existing computed cell widths and adjust only the one column.
1263
+ this.resizeTableCells(newColumnWidth);
1264
+ updateTableWidth(this.$refs.table);
1265
+
1266
+ if (!this.virtualScrollerDisabled) {
1267
+ const body = this.$refs.bodyRef && this.$refs.bodyRef.$el;
1268
+ const frozenBody = this.$refs.frozenBodyRef && this.$refs.frozenBodyRef.$el;
1269
+
1270
+ updateTableWidth(body);
1271
+ updateTableWidth(frozenBody);
1272
+ }
1273
+ }
1274
+
1275
+ this.$emit('column-resize-end', {
1276
+ element: this.resizeColumnElement,
1277
+ delta: delta
1278
+ });
1279
+ }
1280
+
1281
+ this.$refs.resizeHelper.style.display = 'none';
1282
+ this.resizeColumn = null;
1283
+ this.$el.removeAttribute('data-p-unselectable-text');
1284
+ !this.isUnstyled && (this.$el.style['user-select'] = '');
1285
+
1286
+ this.unbindColumnResizeEvents();
1287
+
1288
+ if (this.isStateful()) {
1289
+ this.saveState();
1290
+ }
1291
+ },
1292
+ resizeTableCells(newColumnWidth, nextColumnWidth) {
1293
+ let colIndex = DomHandler.index(this.resizeColumnElement);
1294
+ let widths = [];
1295
+ let headers = DomHandler.find(this.$refs.table, 'thead[data-pc-section="thead"] > tr > th');
1296
+
1297
+ headers.forEach((header) => widths.push(DomHandler.getOuterWidth(header)));
1298
+
1299
+ this.destroyStyleElement();
1300
+ this.createStyleElement();
1301
+
1302
+ let innerHTML = '';
1303
+ let selector = `[data-pc-name="datatable"][${this.attributeSelector}] > [data-pc-section="tablecontainer"] ${this.virtualScrollerDisabled ? '' : '> [data-pc-name="virtualscroller"]'} > table[data-pc-section="table"]`;
1304
+
1305
+ widths.forEach((width, index) => {
1306
+ let colWidth = index === colIndex ? newColumnWidth : nextColumnWidth && index === colIndex + 1 ? nextColumnWidth : width;
1307
+ let style = `width: ${colWidth}px !important; max-width: ${colWidth}px !important`;
1308
+
1309
+ innerHTML += `
1310
+ ${selector} > thead[data-pc-section="thead"] > tr > th:nth-child(${index + 1}),
1311
+ ${selector} > tbody[data-pc-section="tbody"] > tr > td:nth-child(${index + 1}),
1312
+ ${selector} > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(${index + 1}) {
1313
+ ${style}
1314
+ }
1315
+ `;
1316
+ });
1317
+
1318
+ this.styleElement.innerHTML = innerHTML;
1319
+ },
1320
+ bindColumnResizeEvents() {
1321
+ if (!this.documentColumnResizeListener) {
1322
+ this.documentColumnResizeListener = document.addEventListener('mousemove', () => {
1323
+ if (this.columnResizing) {
1324
+ this.onColumnResize(event);
1325
+ }
1326
+ });
1327
+ }
1328
+
1329
+ if (!this.documentColumnResizeEndListener) {
1330
+ this.documentColumnResizeEndListener = document.addEventListener('mouseup', () => {
1331
+ if (this.columnResizing) {
1332
+ this.columnResizing = false;
1333
+ this.onColumnResizeEnd();
1334
+ }
1335
+ });
1336
+ }
1337
+ },
1338
+ unbindColumnResizeEvents() {
1339
+ if (this.documentColumnResizeListener) {
1340
+ document.removeEventListener('document', this.documentColumnResizeListener);
1341
+ this.documentColumnResizeListener = null;
1342
+ }
1343
+
1344
+ if (this.documentColumnResizeEndListener) {
1345
+ document.removeEventListener('document', this.documentColumnResizeEndListener);
1346
+ this.documentColumnResizeEndListener = null;
1347
+ }
1348
+ },
1349
+ onColumnHeaderMouseDown(e) {
1350
+ const event = e.originalEvent;
1351
+ const column = e.column;
1352
+
1353
+ if (this.reorderableColumns && this.columnProp(column, 'reorderableColumn') !== false) {
1354
+ if (event.target.nodeName === 'INPUT' || event.target.nodeName === 'TEXTAREA' || DomHandler.getAttribute(event.target, '[data-pc-section="columnresizer"]')) event.currentTarget.draggable = false;
1355
+ else event.currentTarget.draggable = true;
1356
+ }
1357
+ },
1358
+ onColumnHeaderDragStart(e) {
1359
+ const { originalEvent: event, column } = e;
1360
+
1361
+ if (this.columnResizing) {
1362
+ event.preventDefault();
1363
+
1364
+ return;
1365
+ }
1366
+
1367
+ this.colReorderIconWidth = DomHandler.getHiddenElementOuterWidth(this.$refs.reorderIndicatorUp);
1368
+ this.colReorderIconHeight = DomHandler.getHiddenElementOuterHeight(this.$refs.reorderIndicatorUp);
1369
+
1370
+ this.draggedColumn = column;
1371
+ this.draggedColumnElement = this.findParentHeader(event.target);
1372
+ event.dataTransfer.setData('text', 'b'); // Firefox requires this to make dragging possible
1373
+ },
1374
+ onColumnHeaderDragOver(e) {
1375
+ const { originalEvent: event, column } = e;
1376
+ let dropHeader = this.findParentHeader(event.target);
1377
+
1378
+ if (this.reorderableColumns && this.draggedColumnElement && dropHeader && !this.columnProp(column, 'frozen')) {
1379
+ event.preventDefault();
1380
+ let containerOffset = DomHandler.getOffset(this.$el);
1381
+ let dropHeaderOffset = DomHandler.getOffset(dropHeader);
1382
+
1383
+ if (this.draggedColumnElement !== dropHeader) {
1384
+ let targetLeft = dropHeaderOffset.left - containerOffset.left;
1385
+ let columnCenter = dropHeaderOffset.left + dropHeader.offsetWidth / 2;
1386
+
1387
+ this.$refs.reorderIndicatorUp.style.top = dropHeaderOffset.top - containerOffset.top - (this.colReorderIconHeight - 1) + 'px';
1388
+ this.$refs.reorderIndicatorDown.style.top = dropHeaderOffset.top - containerOffset.top + dropHeader.offsetHeight + 'px';
1389
+
1390
+ if (event.pageX > columnCenter) {
1391
+ this.$refs.reorderIndicatorUp.style.left = targetLeft + dropHeader.offsetWidth - Math.ceil(this.colReorderIconWidth / 2) + 'px';
1392
+ this.$refs.reorderIndicatorDown.style.left = targetLeft + dropHeader.offsetWidth - Math.ceil(this.colReorderIconWidth / 2) + 'px';
1393
+ this.dropPosition = 1;
1394
+ } else {
1395
+ this.$refs.reorderIndicatorUp.style.left = targetLeft - Math.ceil(this.colReorderIconWidth / 2) + 'px';
1396
+ this.$refs.reorderIndicatorDown.style.left = targetLeft - Math.ceil(this.colReorderIconWidth / 2) + 'px';
1397
+ this.dropPosition = -1;
1398
+ }
1399
+
1400
+ this.$refs.reorderIndicatorUp.style.display = 'block';
1401
+ this.$refs.reorderIndicatorDown.style.display = 'block';
1402
+ }
1403
+ }
1404
+ },
1405
+ onColumnHeaderDragLeave(e) {
1406
+ const { originalEvent: event } = e;
1407
+
1408
+ if (this.reorderableColumns && this.draggedColumnElement) {
1409
+ event.preventDefault();
1410
+ this.$refs.reorderIndicatorUp.style.display = 'none';
1411
+ this.$refs.reorderIndicatorDown.style.display = 'none';
1412
+ }
1413
+ },
1414
+ onColumnHeaderDrop(e) {
1415
+ const { originalEvent: event, column } = e;
1416
+
1417
+ event.preventDefault();
1418
+
1419
+ if (this.draggedColumnElement) {
1420
+ let dragIndex = DomHandler.index(this.draggedColumnElement);
1421
+ let dropIndex = DomHandler.index(this.findParentHeader(event.target));
1422
+ let allowDrop = dragIndex !== dropIndex;
1423
+
1424
+ if (allowDrop && ((dropIndex - dragIndex === 1 && this.dropPosition === -1) || (dropIndex - dragIndex === -1 && this.dropPosition === 1))) {
1425
+ allowDrop = false;
1426
+ }
1427
+
1428
+ if (allowDrop) {
1429
+ let isSameColumn = (col1, col2) =>
1430
+ this.columnProp(col1, 'columnKey') || this.columnProp(col2, 'columnKey') ? this.columnProp(col1, 'columnKey') === this.columnProp(col2, 'columnKey') : this.columnProp(col1, 'field') === this.columnProp(col2, 'field');
1431
+ let dragColIndex = this.columns.findIndex((child) => isSameColumn(child, this.draggedColumn));
1432
+ let dropColIndex = this.columns.findIndex((child) => isSameColumn(child, column));
1433
+ let widths = [];
1434
+ let headers = DomHandler.find(this.$el, 'thead[data-pc-section="thead"] > tr > th');
1435
+
1436
+ headers.forEach((header) => widths.push(DomHandler.getOuterWidth(header)));
1437
+ const movedItem = widths.find((_, index) => index === dragColIndex);
1438
+ const remainingItems = widths.filter((_, index) => index !== dragColIndex);
1439
+ const reorderedWidths = [...remainingItems.slice(0, dropColIndex), movedItem, ...remainingItems.slice(dropColIndex)];
1440
+
1441
+ this.addColumnWidthStyles(reorderedWidths);
1442
+
1443
+ if (dropColIndex < dragColIndex && this.dropPosition === 1) {
1444
+ dropColIndex++;
1445
+ }
1446
+
1447
+ if (dropColIndex > dragColIndex && this.dropPosition === -1) {
1448
+ dropColIndex--;
1449
+ }
1450
+
1451
+ ObjectUtils.reorderArray(this.columns, dragColIndex, dropColIndex);
1452
+ this.updateReorderableColumns();
1453
+
1454
+ this.$emit('column-reorder', {
1455
+ originalEvent: event,
1456
+ dragIndex: dragColIndex,
1457
+ dropIndex: dropColIndex
1458
+ });
1459
+ }
1460
+
1461
+ this.$refs.reorderIndicatorUp.style.display = 'none';
1462
+ this.$refs.reorderIndicatorDown.style.display = 'none';
1463
+ this.draggedColumnElement.draggable = false;
1464
+ this.draggedColumnElement = null;
1465
+ this.draggedColumn = null;
1466
+ this.dropPosition = null;
1467
+ }
1468
+ },
1469
+ findParentHeader(element) {
1470
+ if (element.nodeName === 'TH') {
1471
+ return element;
1472
+ } else {
1473
+ let parent = element.parentElement;
1474
+
1475
+ while (parent.nodeName !== 'TH') {
1476
+ parent = parent.parentElement;
1477
+ if (!parent) break;
1478
+ }
1479
+
1480
+ return parent;
1481
+ }
1482
+ },
1483
+ findColumnByKey(columns, key) {
1484
+ if (columns && columns.length) {
1485
+ for (let i = 0; i < columns.length; i++) {
1486
+ let column = columns[i];
1487
+
1488
+ if (this.columnProp(column, 'columnKey') === key || this.columnProp(column, 'field') === key) {
1489
+ return column;
1490
+ }
1491
+ }
1492
+ }
1493
+
1494
+ return null;
1495
+ },
1496
+ onRowMouseDown(event) {
1497
+ if (DomHandler.getAttribute(event.target, 'data-pc-section') === 'reorderablerowhandle' || DomHandler.getAttribute(event.target.parentElement, 'data-pc-section') === 'reorderablerowhandle') event.currentTarget.draggable = true;
1498
+ else event.currentTarget.draggable = false;
1499
+ },
1500
+ onRowDragStart(e) {
1501
+ const event = e.originalEvent;
1502
+ const index = e.index;
1503
+
1504
+ this.rowDragging = true;
1505
+ this.draggedRowIndex = index;
1506
+ event.dataTransfer.setData('text', 'b'); // For firefox
1507
+ },
1508
+ onRowDragOver(e) {
1509
+ const event = e.originalEvent;
1510
+ const index = e.index;
1511
+
1512
+ if (this.rowDragging && this.draggedRowIndex !== index) {
1513
+ let rowElement = event.currentTarget;
1514
+ let rowY = DomHandler.getOffset(rowElement).top + DomHandler.getWindowScrollTop();
1515
+ let pageY = event.pageY;
1516
+ let rowMidY = rowY + DomHandler.getOuterHeight(rowElement) / 2;
1517
+ let prevRowElement = rowElement.previousElementSibling;
1518
+
1519
+ if (pageY < rowMidY) {
1520
+ rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
1521
+ !this.isUnstyled && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
1522
+
1523
+ this.droppedRowIndex = index;
1524
+
1525
+ if (prevRowElement) {
1526
+ prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
1527
+ !this.isUnstyled && DomHandler.addClass(prevRowElement, 'p-datatable-dragpoint-bottom');
1528
+ } else {
1529
+ rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
1530
+ !this.isUnstyled && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
1531
+ }
1532
+ } else {
1533
+ if (prevRowElement) {
1534
+ prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
1535
+ !this.isUnstyled && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
1536
+ } else {
1537
+ rowElement.setAttribute('data-p-datatable-dragpoint-top', 'true');
1538
+ !this.isUnstyled && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-top');
1539
+ }
1540
+
1541
+ this.droppedRowIndex = index + 1;
1542
+ rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'true');
1543
+ !this.isUnstyled && DomHandler.addClass(rowElement, 'p-datatable-dragpoint-bottom');
1544
+ }
1545
+
1546
+ event.preventDefault();
1547
+ }
1548
+ },
1549
+ onRowDragLeave(event) {
1550
+ let rowElement = event.currentTarget;
1551
+ let prevRowElement = rowElement.previousElementSibling;
1552
+
1553
+ if (prevRowElement) {
1554
+ prevRowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
1555
+ !this.isUnstyled && DomHandler.removeClass(prevRowElement, 'p-datatable-dragpoint-bottom');
1556
+ }
1557
+
1558
+ rowElement.setAttribute('data-p-datatable-dragpoint-bottom', 'false');
1559
+ !this.isUnstyled && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-bottom');
1560
+ rowElement.setAttribute('data-p-datatable-dragpoint-top', 'false');
1561
+ !this.isUnstyled && DomHandler.removeClass(rowElement, 'p-datatable-dragpoint-top');
1562
+ },
1563
+ onRowDragEnd(event) {
1564
+ this.rowDragging = false;
1565
+ this.draggedRowIndex = null;
1566
+ this.droppedRowIndex = null;
1567
+ event.currentTarget.draggable = false;
1568
+ },
1569
+ onRowDrop(event) {
1570
+ if (this.droppedRowIndex != null) {
1571
+ let dropIndex = this.draggedRowIndex > this.droppedRowIndex ? this.droppedRowIndex : this.droppedRowIndex === 0 ? 0 : this.droppedRowIndex - 1;
1572
+ let processedData = [...this.processedData];
1573
+
1574
+ ObjectUtils.reorderArray(processedData, this.draggedRowIndex + this.d_first, dropIndex + this.d_first);
1575
+
1576
+ this.$emit('row-reorder', {
1577
+ originalEvent: event,
1578
+ dragIndex: this.draggedRowIndex,
1579
+ dropIndex: dropIndex,
1580
+ value: processedData
1581
+ });
1582
+ }
1583
+
1584
+ //cleanup
1585
+ this.onRowDragLeave(event);
1586
+ this.onRowDragEnd(event);
1587
+ event.preventDefault();
1588
+ },
1589
+ toggleRow(event) {
1590
+ const { expanded, ...rest } = event;
1591
+ const rowData = event.data;
1592
+ let expandedRows;
1593
+
1594
+ if (this.dataKey) {
1595
+ const value = ObjectUtils.resolveFieldData(rowData, this.dataKey);
1596
+
1597
+ expandedRows = this.expandedRows ? { ...this.expandedRows } : {};
1598
+ expanded ? (expandedRows[value] = true) : delete expandedRows[value];
1599
+ } else {
1600
+ expandedRows = this.expandedRows ? [...this.expandedRows] : [];
1601
+ expanded ? expandedRows.push(rowData) : (expandedRows = expandedRows.filter((d) => !this.equals(rowData, d)));
1602
+ }
1603
+
1604
+ this.$emit('update:expandedRows', expandedRows);
1605
+ expanded ? this.$emit('row-expand', rest) : this.$emit('row-collapse', rest);
1606
+ },
1607
+ toggleRowGroup(e) {
1608
+ const event = e.originalEvent;
1609
+ const data = e.data;
1610
+ const groupFieldValue = ObjectUtils.resolveFieldData(data, this.groupRowsBy);
1611
+ let _expandedRowGroups = this.expandedRowGroups ? [...this.expandedRowGroups] : [];
1612
+
1613
+ if (this.isRowGroupExpanded(data)) {
1614
+ _expandedRowGroups = _expandedRowGroups.filter((group) => group !== groupFieldValue);
1615
+ this.$emit('update:expandedRowGroups', _expandedRowGroups);
1616
+ this.$emit('rowgroup-collapse', { originalEvent: event, data: groupFieldValue });
1617
+ } else {
1618
+ _expandedRowGroups.push(groupFieldValue);
1619
+ this.$emit('update:expandedRowGroups', _expandedRowGroups);
1620
+ this.$emit('rowgroup-expand', { originalEvent: event, data: groupFieldValue });
1621
+ }
1622
+ },
1623
+ isRowGroupExpanded(rowData) {
1624
+ if (this.expandableRowGroups && this.expandedRowGroups) {
1625
+ let groupFieldValue = ObjectUtils.resolveFieldData(rowData, this.groupRowsBy);
1626
+
1627
+ return this.expandedRowGroups.indexOf(groupFieldValue) > -1;
1628
+ }
1629
+
1630
+ return false;
1631
+ },
1632
+ isStateful() {
1633
+ return this.stateKey != null;
1634
+ },
1635
+ getStorage() {
1636
+ switch (this.stateStorage) {
1637
+ case 'local':
1638
+ return window.localStorage;
1639
+
1640
+ case 'session':
1641
+ return window.sessionStorage;
1642
+
1643
+ default:
1644
+ throw new Error(this.stateStorage + ' is not a valid value for the state storage, supported values are "local" and "session".');
1645
+ }
1646
+ },
1647
+ saveState() {
1648
+ const storage = this.getStorage();
1649
+ let state = {};
1650
+
1651
+ if (this.paginator) {
1652
+ state.first = this.d_first;
1653
+ state.rows = this.d_rows;
1654
+ }
1655
+
1656
+ if (this.d_sortField) {
1657
+ state.sortField = this.d_sortField;
1658
+ state.sortOrder = this.d_sortOrder;
1659
+ }
1660
+
1661
+ if (this.d_multiSortMeta) {
1662
+ state.multiSortMeta = this.d_multiSortMeta;
1663
+ }
1664
+
1665
+ if (this.hasFilters) {
1666
+ state.filters = this.filters;
1667
+ }
1668
+
1669
+ if (this.resizableColumns) {
1670
+ this.saveColumnWidths(state);
1671
+ }
1672
+
1673
+ if (this.reorderableColumns) {
1674
+ state.columnOrder = this.d_columnOrder;
1675
+ }
1676
+
1677
+ if (this.expandedRows) {
1678
+ state.expandedRows = this.expandedRows;
1679
+ }
1680
+
1681
+ if (this.expandedRowGroups) {
1682
+ state.expandedRowGroups = this.expandedRowGroups;
1683
+ }
1684
+
1685
+ if (this.selection) {
1686
+ state.selection = this.selection;
1687
+ state.selectionKeys = this.d_selectionKeys;
1688
+ }
1689
+
1690
+ if (Object.keys(state).length) {
1691
+ storage.setItem(this.stateKey, JSON.stringify(state));
1692
+ }
1693
+
1694
+ this.$emit('state-save', state);
1695
+ },
1696
+ restoreState() {
1697
+ const storage = this.getStorage();
1698
+ const stateString = storage.getItem(this.stateKey);
1699
+ const dateFormat = /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/;
1700
+
1701
+ const reviver = function (key, value) {
1702
+ if (typeof value === 'string' && dateFormat.test(value)) {
1703
+ return new Date(value);
1704
+ }
1705
+
1706
+ return value;
1707
+ };
1708
+
1709
+ if (stateString) {
1710
+ let restoredState = JSON.parse(stateString, reviver);
1711
+
1712
+ if (this.paginator) {
1713
+ this.d_first = restoredState.first;
1714
+ this.d_rows = restoredState.rows;
1715
+ }
1716
+
1717
+ if (restoredState.sortField) {
1718
+ this.d_sortField = restoredState.sortField;
1719
+ this.d_sortOrder = restoredState.sortOrder;
1720
+ }
1721
+
1722
+ if (restoredState.multiSortMeta) {
1723
+ this.d_multiSortMeta = restoredState.multiSortMeta;
1724
+ }
1725
+
1726
+ if (restoredState.filters) {
1727
+ this.$emit('update:filters', restoredState.filters);
1728
+ }
1729
+
1730
+ if (this.resizableColumns) {
1731
+ this.columnWidthsState = restoredState.columnWidths;
1732
+ this.tableWidthState = restoredState.tableWidth;
1733
+ }
1734
+
1735
+ if (this.reorderableColumns) {
1736
+ this.d_columnOrder = restoredState.columnOrder;
1737
+ }
1738
+
1739
+ if (restoredState.expandedRows) {
1740
+ this.$emit('update:expandedRows', restoredState.expandedRows);
1741
+ }
1742
+
1743
+ if (restoredState.expandedRowGroups) {
1744
+ this.$emit('update:expandedRowGroups', restoredState.expandedRowGroups);
1745
+ }
1746
+
1747
+ if (restoredState.selection) {
1748
+ this.d_selectionKeys = restoredState.d_selectionKeys;
1749
+ this.$emit('update:selection', restoredState.selection);
1750
+ }
1751
+
1752
+ this.$emit('state-restore', restoredState);
1753
+ }
1754
+ },
1755
+ saveColumnWidths(state) {
1756
+ let widths = [];
1757
+ let headers = DomHandler.find(this.$el, 'thead[data-pc-section="thead"] > tr > th');
1758
+
1759
+ headers.forEach((header) => widths.push(DomHandler.getOuterWidth(header)));
1760
+ state.columnWidths = widths.join(',');
1761
+
1762
+ if (this.columnResizeMode === 'expand') {
1763
+ state.tableWidth = DomHandler.getOuterWidth(this.$refs.table) + 'px';
1764
+ }
1765
+ },
1766
+ addColumnWidthStyles(widths) {
1767
+ this.createStyleElement();
1768
+
1769
+ let innerHTML = '';
1770
+ let selector = `[data-pc-name="datatable"][${this.attributeSelector}] > [data-pc-section="tablecontainer"] ${this.virtualScrollerDisabled ? '' : '> [data-pc-name="virtualscroller"]'} > table[data-pc-section="table"]`;
1771
+
1772
+ widths.forEach((width, index) => {
1773
+ let style = `width: ${width}px !important; max-width: ${width}px !important`;
1774
+
1775
+ innerHTML += `
1776
+ ${selector} > thead[data-pc-section="thead"] > tr > th:nth-child(${index + 1}),
1777
+ ${selector} > tbody[data-pc-section="tbody"] > tr > td:nth-child(${index + 1}),
1778
+ ${selector} > tfoot[data-pc-section="tfoot"] > tr > td:nth-child(${index + 1}) {
1779
+ ${style}
1780
+ }
1781
+ `;
1782
+ });
1783
+
1784
+ this.styleElement.innerHTML = innerHTML;
1785
+ },
1786
+ restoreColumnWidths() {
1787
+ if (this.columnWidthsState) {
1788
+ let widths = this.columnWidthsState.split(',');
1789
+
1790
+ if (this.columnResizeMode === 'expand' && this.tableWidthState) {
1791
+ this.$refs.table.style.width = this.tableWidthState;
1792
+ this.$refs.table.style.minWidth = this.tableWidthState;
1793
+ }
1794
+
1795
+ if (ObjectUtils.isNotEmpty(widths)) {
1796
+ this.addColumnWidthStyles(widths);
1797
+ }
1798
+ }
1799
+ },
1800
+ onCellEditInit(event) {
1801
+ this.$emit('cell-edit-init', event);
1802
+ },
1803
+ onCellEditComplete(event) {
1804
+ this.$emit('cell-edit-complete', event);
1805
+ },
1806
+ onCellEditCancel(event) {
1807
+ this.$emit('cell-edit-cancel', event);
1808
+ },
1809
+ onRowEditInit(event) {
1810
+ let _editingRows = this.editingRows ? [...this.editingRows] : [];
1811
+
1812
+ _editingRows.push(event.data);
1813
+ this.$emit('update:editingRows', _editingRows);
1814
+ this.$emit('row-edit-init', event);
1815
+ },
1816
+ onRowEditSave(event) {
1817
+ let _editingRows = [...this.editingRows];
1818
+
1819
+ _editingRows.splice(this.findIndex(event.data, _editingRows), 1);
1820
+ this.$emit('update:editingRows', _editingRows);
1821
+ this.$emit('row-edit-save', event);
1822
+ },
1823
+ onRowEditCancel(event) {
1824
+ let _editingRows = [...this.editingRows];
1825
+
1826
+ _editingRows.splice(this.findIndex(event.data, _editingRows), 1);
1827
+ this.$emit('update:editingRows', _editingRows);
1828
+ this.$emit('row-edit-cancel', event);
1829
+ },
1830
+ onEditingMetaChange(event) {
1831
+ let { data, field, index, editing } = event;
1832
+ let editingMeta = { ...this.d_editingMeta };
1833
+ let meta = editingMeta[index];
1834
+
1835
+ if (editing) {
1836
+ !meta && (meta = editingMeta[index] = { data: { ...data }, fields: [] });
1837
+ meta['fields'].push(field);
1838
+ } else if (meta) {
1839
+ const fields = meta['fields'].filter((f) => f !== field);
1840
+
1841
+ !fields.length ? delete editingMeta[index] : (meta['fields'] = fields);
1842
+ }
1843
+
1844
+ this.d_editingMeta = editingMeta;
1845
+ },
1846
+ clearEditingMetaData() {
1847
+ if (this.editMode) {
1848
+ this.d_editingMeta = {};
1849
+ }
1850
+ },
1851
+ createLazyLoadEvent(event) {
1852
+ return {
1853
+ originalEvent: event,
1854
+ first: this.d_first,
1855
+ rows: this.d_rows,
1856
+ sortField: this.d_sortField,
1857
+ sortOrder: this.d_sortOrder,
1858
+ multiSortMeta: this.d_multiSortMeta,
1859
+ filters: this.d_filters
1860
+ };
1861
+ },
1862
+ hasGlobalFilter() {
1863
+ return this.filters && Object.prototype.hasOwnProperty.call(this.filters, 'global');
1864
+ },
1865
+ onFilterChange(filters) {
1866
+ this.d_filters = filters;
1867
+ },
1868
+ onFilterApply() {
1869
+ this.d_first = 0;
1870
+ this.$emit('update:first', this.d_first);
1871
+ this.$emit('update:filters', this.d_filters);
1872
+
1873
+ if (this.lazy) {
1874
+ this.$emit('filter', this.createLazyLoadEvent());
1875
+ }
1876
+ },
1877
+ cloneFilters() {
1878
+ let cloned = {};
1879
+
1880
+ if (this.filters) {
1881
+ Object.entries(this.filters).forEach(([prop, value]) => {
1882
+ cloned[prop] = value.operator
1883
+ ? {
1884
+ operator: value.operator,
1885
+ constraints: value.constraints.map((constraint) => {
1886
+ return { ...constraint };
1887
+ })
1888
+ }
1889
+ : { ...value };
1890
+ });
1891
+ }
1892
+
1893
+ return cloned;
1894
+ },
1895
+ updateReorderableColumns() {
1896
+ let columnOrder = [];
1897
+
1898
+ this.columns.forEach((col) => columnOrder.push(this.columnProp(col, 'columnKey') || this.columnProp(col, 'field')));
1899
+ this.d_columnOrder = columnOrder;
1900
+ },
1901
+ createStyleElement() {
1902
+ this.styleElement = document.createElement('style');
1903
+ this.styleElement.type = 'text/css';
1904
+ DomHandler.setAttribute(this.styleElement, 'nonce', this.$primevue?.config?.csp?.nonce);
1905
+ document.head.appendChild(this.styleElement);
1906
+ },
1907
+ destroyStyleElement() {
1908
+ if (this.styleElement) {
1909
+ document.head.removeChild(this.styleElement);
1910
+ this.styleElement = null;
1911
+ }
1912
+ },
1913
+ dataToRender(data) {
1914
+ const _data = data || this.processedData;
1915
+
1916
+ if (_data && this.paginator) {
1917
+ const first = this.lazy ? 0 : this.d_first;
1918
+
1919
+ return _data.slice(first, first + this.d_rows);
1920
+ }
1921
+
1922
+ return _data;
1923
+ },
1924
+ getVirtualScrollerRef() {
1925
+ return this.$refs.virtualScroller;
1926
+ },
1927
+ hasSpacerStyle(style) {
1928
+ return ObjectUtils.isNotEmpty(style);
1929
+ }
1930
+ },
1931
+ computed: {
1932
+ columns() {
1933
+ const cols = this.d_columns.get(this);
1934
+
1935
+ if (this.reorderableColumns && this.d_columnOrder) {
1936
+ let orderedColumns = [];
1937
+
1938
+ for (let columnKey of this.d_columnOrder) {
1939
+ let column = this.findColumnByKey(cols, columnKey);
1940
+
1941
+ if (column && !this.columnProp(column, 'hidden')) {
1942
+ orderedColumns.push(column);
1943
+ }
1944
+ }
1945
+
1946
+ return [...orderedColumns, ...cols.filter((item) => orderedColumns.indexOf(item) < 0)];
1947
+ }
1948
+
1949
+ return cols;
1950
+ },
1951
+ columnGroups() {
1952
+ return this.d_columnGroups.get(this);
1953
+ },
1954
+ headerColumnGroup() {
1955
+ return this.columnGroups?.find((group) => this.columnProp(group, 'type') === 'header');
1956
+ },
1957
+ footerColumnGroup() {
1958
+ return this.columnGroups?.find((group) => this.columnProp(group, 'type') === 'footer');
1959
+ },
1960
+ hasFilters() {
1961
+ return this.filters && Object.keys(this.filters).length > 0 && this.filters.constructor === Object;
1962
+ },
1963
+ processedData() {
1964
+ let data = this.value || [];
1965
+
1966
+ if (!this.lazy && !this.virtualScrollerOptions?.lazy) {
1967
+ if (data && data.length) {
1968
+ if (this.hasFilters) {
1969
+ data = this.filter(data);
1970
+ }
1971
+
1972
+ if (this.sorted) {
1973
+ if (this.sortMode === 'single') data = this.sortSingle(data);
1974
+ else if (this.sortMode === 'multiple') data = this.sortMultiple(data);
1975
+ }
1976
+ }
1977
+ }
1978
+
1979
+ return data;
1980
+ },
1981
+ totalRecordsLength() {
1982
+ if (this.lazy) {
1983
+ return this.totalRecords;
1984
+ } else {
1985
+ const data = this.processedData;
1986
+
1987
+ return data ? data.length : 0;
1988
+ }
1989
+ },
1990
+ empty() {
1991
+ const data = this.processedData;
1992
+
1993
+ return !data || data.length === 0;
1994
+ },
1995
+ paginatorTop() {
1996
+ return this.paginator && (this.paginatorPosition !== 'bottom' || this.paginatorPosition === 'both');
1997
+ },
1998
+ paginatorBottom() {
1999
+ return this.paginator && (this.paginatorPosition !== 'top' || this.paginatorPosition === 'both');
2000
+ },
2001
+ sorted() {
2002
+ return this.d_sortField || (this.d_multiSortMeta && this.d_multiSortMeta.length > 0);
2003
+ },
2004
+ allRowsSelected() {
2005
+ if (this.selectAll !== null) {
2006
+ return this.selectAll;
2007
+ } else {
2008
+ const val = this.frozenValue ? [...this.frozenValue, ...this.processedData] : this.processedData;
2009
+
2010
+ return ObjectUtils.isNotEmpty(val) && this.selection && Array.isArray(this.selection) && val.every((v) => this.selection.some((s) => this.equals(s, v)));
2011
+ }
2012
+ },
2013
+ attributeSelector() {
2014
+ return UniqueComponentId();
2015
+ },
2016
+ groupRowSortField() {
2017
+ return this.sortMode === 'single' ? this.sortField : this.d_groupRowsSortMeta ? this.d_groupRowsSortMeta.field : null;
2018
+ },
2019
+ headerFilterButtonProps() {
2020
+ return {
2021
+ filter: { severity: 'secondary', text: true, rounded: true },
2022
+ ...this.filterButtonProps,
2023
+ inline: {
2024
+ clear: { severity: 'secondary', text: true, rounded: true },
2025
+ ...this.filterButtonProps.inline
2026
+ },
2027
+ popover: {
2028
+ addRule: { severity: 'info', text: true, size: 'small' },
2029
+ removeRule: { severity: 'danger', text: true, size: 'small' },
2030
+ apply: { size: 'small' },
2031
+ clear: { outlined: true, size: 'small' },
2032
+ ...this.filterButtonProps.popover
2033
+ }
2034
+ };
2035
+ },
2036
+ rowEditButtonProps() {
2037
+ return {
2038
+ ...{
2039
+ init: { severity: 'secondary', text: true, rounded: true },
2040
+ save: { severity: 'secondary', text: true, rounded: true },
2041
+ cancel: { severity: 'secondary', text: true, rounded: true }
2042
+ },
2043
+ ...this.editButtonProps
2044
+ };
2045
+ },
2046
+ virtualScrollerDisabled() {
2047
+ return ObjectUtils.isEmpty(this.virtualScrollerOptions) || !this.scrollable;
2048
+ }
2049
+ },
2050
+ components: {
2051
+ DTPaginator: Paginator,
2052
+ DTTableHeader: TableHeader,
2053
+ DTTableBody: TableBody,
2054
+ DTTableFooter: TableFooter,
2055
+ DTVirtualScroller: VirtualScroller,
2056
+ ArrowDownIcon: ArrowDownIcon,
2057
+ ArrowUpIcon: ArrowUpIcon,
2058
+ SpinnerIcon: SpinnerIcon
2059
+ }
2060
+ };
2061
+ </script>