primevue 3.35.0 → 3.36.0

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 (1741) hide show
  1. package/README.md +18 -32
  2. package/accordion/BaseAccordion.vue +2 -52
  3. package/accordion/accordion.cjs.js +3 -37
  4. package/accordion/accordion.cjs.min.js +1 -1
  5. package/accordion/accordion.esm.js +2 -37
  6. package/accordion/accordion.esm.min.js +1 -1
  7. package/accordion/accordion.js +4 -38
  8. package/accordion/accordion.min.js +1 -1
  9. package/accordion/package.json +8 -8
  10. package/accordion/style/AccordionStyle.d.ts +3 -0
  11. package/accordion/style/accordionstyle.cjs.js +42 -0
  12. package/accordion/style/accordionstyle.cjs.min.js +1 -0
  13. package/accordion/style/accordionstyle.esm.js +36 -0
  14. package/accordion/style/accordionstyle.esm.min.js +1 -0
  15. package/accordion/style/accordionstyle.js +45 -0
  16. package/accordion/style/accordionstyle.min.js +1 -0
  17. package/accordion/style/package.json +6 -0
  18. package/accordiontab/BaseAccordionTab.vue +2 -0
  19. package/accordiontab/accordiontab.cjs.js +3 -0
  20. package/accordiontab/accordiontab.cjs.min.js +1 -1
  21. package/accordiontab/accordiontab.esm.js +2 -0
  22. package/accordiontab/accordiontab.esm.min.js +1 -1
  23. package/accordiontab/accordiontab.js +4 -2
  24. package/accordiontab/accordiontab.min.js +1 -1
  25. package/accordiontab/package.json +8 -8
  26. package/accordiontab/style/AccordionTabStyle.d.ts +3 -0
  27. package/accordiontab/style/accordiontabstyle.cjs.js +5 -0
  28. package/accordiontab/style/accordiontabstyle.cjs.min.js +1 -0
  29. package/accordiontab/style/accordiontabstyle.esm.js +3 -0
  30. package/accordiontab/style/accordiontabstyle.esm.min.js +1 -0
  31. package/accordiontab/style/accordiontabstyle.js +10 -0
  32. package/accordiontab/style/accordiontabstyle.min.js +1 -0
  33. package/accordiontab/style/package.json +6 -0
  34. package/api/api.cjs.js +18 -10
  35. package/api/api.cjs.min.js +1 -1
  36. package/api/api.esm.js +18 -10
  37. package/api/api.esm.min.js +1 -1
  38. package/api/api.js +18 -10
  39. package/api/api.min.js +1 -1
  40. package/autocomplete/BaseAutoComplete.vue +2 -154
  41. package/autocomplete/autocomplete.cjs.js +3 -72
  42. package/autocomplete/autocomplete.cjs.min.js +1 -1
  43. package/autocomplete/autocomplete.esm.js +3 -73
  44. package/autocomplete/autocomplete.esm.min.js +1 -1
  45. package/autocomplete/autocomplete.js +4 -73
  46. package/autocomplete/autocomplete.min.js +1 -1
  47. package/autocomplete/package.json +8 -8
  48. package/autocomplete/style/AutoCompleteStyle.d.ts +3 -0
  49. package/autocomplete/style/autocompletestyle.cjs.js +78 -0
  50. package/autocomplete/style/autocompletestyle.cjs.min.js +1 -0
  51. package/autocomplete/style/autocompletestyle.esm.js +72 -0
  52. package/autocomplete/style/autocompletestyle.esm.min.js +1 -0
  53. package/autocomplete/style/autocompletestyle.js +80 -0
  54. package/autocomplete/style/autocompletestyle.min.js +1 -0
  55. package/autocomplete/style/package.json +6 -0
  56. package/avatar/BaseAvatar.vue +2 -55
  57. package/avatar/avatar.cjs.js +3 -24
  58. package/avatar/avatar.cjs.min.js +1 -1
  59. package/avatar/avatar.esm.js +2 -24
  60. package/avatar/avatar.esm.min.js +1 -1
  61. package/avatar/avatar.js +4 -25
  62. package/avatar/avatar.min.js +1 -1
  63. package/avatar/package.json +8 -8
  64. package/avatar/style/AvatarStyle.d.ts +3 -0
  65. package/avatar/style/avatarstyle.cjs.js +29 -0
  66. package/avatar/style/avatarstyle.cjs.min.js +1 -0
  67. package/avatar/style/avatarstyle.esm.js +23 -0
  68. package/avatar/style/avatarstyle.esm.min.js +1 -0
  69. package/avatar/style/avatarstyle.js +32 -0
  70. package/avatar/style/avatarstyle.min.js +1 -0
  71. package/avatar/style/package.json +6 -0
  72. package/avatargroup/BaseAvatarGroup.vue +2 -24
  73. package/avatargroup/avatargroup.cjs.js +3 -14
  74. package/avatargroup/avatargroup.cjs.min.js +1 -1
  75. package/avatargroup/avatargroup.esm.js +2 -14
  76. package/avatargroup/avatargroup.esm.min.js +1 -1
  77. package/avatargroup/avatargroup.js +4 -15
  78. package/avatargroup/avatargroup.min.js +1 -1
  79. package/avatargroup/package.json +8 -8
  80. package/avatargroup/style/AvatarGroupStyle.d.ts +3 -0
  81. package/avatargroup/style/avatargroupstyle.cjs.js +19 -0
  82. package/avatargroup/style/avatargroupstyle.cjs.min.js +1 -0
  83. package/avatargroup/style/avatargroupstyle.esm.js +13 -0
  84. package/avatargroup/style/avatargroupstyle.esm.min.js +1 -0
  85. package/avatargroup/style/avatargroupstyle.js +22 -0
  86. package/avatargroup/style/avatargroupstyle.min.js +1 -0
  87. package/avatargroup/style/package.json +6 -0
  88. package/badge/BaseBadge.vue +2 -61
  89. package/badge/badge.cjs.js +3 -28
  90. package/badge/badge.cjs.min.js +1 -1
  91. package/badge/badge.esm.js +2 -28
  92. package/badge/badge.esm.min.js +1 -1
  93. package/badge/badge.js +4 -28
  94. package/badge/badge.min.js +1 -1
  95. package/badge/package.json +8 -8
  96. package/badge/style/BadgeStyle.d.ts +3 -0
  97. package/badge/style/badgestyle.cjs.js +33 -0
  98. package/badge/style/badgestyle.cjs.min.js +1 -0
  99. package/badge/style/badgestyle.esm.js +27 -0
  100. package/badge/style/badgestyle.esm.min.js +1 -0
  101. package/badge/style/badgestyle.js +35 -0
  102. package/badge/style/badgestyle.min.js +1 -0
  103. package/badge/style/package.json +6 -0
  104. package/badgedirective/badgedirective.cjs.js +11 -24
  105. package/badgedirective/badgedirective.cjs.min.js +1 -1
  106. package/badgedirective/badgedirective.esm.js +10 -24
  107. package/badgedirective/badgedirective.esm.min.js +1 -1
  108. package/badgedirective/badgedirective.js +12 -25
  109. package/badgedirective/badgedirective.min.js +1 -1
  110. package/badgedirective/package.json +5 -5
  111. package/badgedirective/style/BadgeDirectiveStyle.d.ts +3 -0
  112. package/badgedirective/style/badgedirectivestyle.cjs.js +19 -0
  113. package/badgedirective/style/badgedirectivestyle.cjs.min.js +1 -0
  114. package/badgedirective/style/badgedirectivestyle.esm.js +13 -0
  115. package/badgedirective/style/badgedirectivestyle.esm.min.js +1 -0
  116. package/badgedirective/style/badgedirectivestyle.js +22 -0
  117. package/badgedirective/style/badgedirectivestyle.min.js +1 -0
  118. package/badgedirective/style/package.json +6 -0
  119. package/base/base.cjs.js +2 -15
  120. package/base/base.cjs.min.js +1 -1
  121. package/base/base.esm.js +2 -12
  122. package/base/base.esm.min.js +1 -1
  123. package/base/base.js +5 -18
  124. package/base/base.min.js +1 -1
  125. package/base/style/BaseStyle.d.ts +10 -0
  126. package/base/style/basestyle.cjs.js +52 -0
  127. package/base/style/basestyle.cjs.min.js +1 -0
  128. package/base/style/basestyle.esm.js +50 -0
  129. package/base/style/basestyle.esm.min.js +1 -0
  130. package/base/style/basestyle.js +55 -0
  131. package/base/style/basestyle.min.js +1 -0
  132. package/base/style/package.json +6 -0
  133. package/basecomponent/BaseComponent.vue +11 -368
  134. package/basecomponent/basecomponent.cjs.js +37 -27
  135. package/basecomponent/basecomponent.cjs.min.js +1 -1
  136. package/basecomponent/basecomponent.esm.js +33 -27
  137. package/basecomponent/basecomponent.esm.min.js +1 -1
  138. package/basecomponent/basecomponent.js +37 -27
  139. package/basecomponent/basecomponent.min.js +1 -1
  140. package/basecomponent/package.json +8 -8
  141. package/basecomponent/style/BaseComponentStyle.d.ts +3 -0
  142. package/basecomponent/style/basecomponentstyle.cjs.js +32 -0
  143. package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -0
  144. package/basecomponent/style/basecomponentstyle.esm.js +26 -0
  145. package/basecomponent/style/basecomponentstyle.esm.min.js +1 -0
  146. package/basecomponent/style/basecomponentstyle.js +34 -0
  147. package/basecomponent/style/basecomponentstyle.min.js +1 -0
  148. package/basecomponent/style/package.json +6 -0
  149. package/basedirective/basedirective.cjs.js +47 -34
  150. package/basedirective/basedirective.cjs.min.js +1 -1
  151. package/basedirective/basedirective.esm.js +43 -34
  152. package/basedirective/basedirective.esm.min.js +1 -1
  153. package/basedirective/basedirective.js +48 -35
  154. package/basedirective/basedirective.min.js +1 -1
  155. package/baseicon/BaseIcon.vue +2 -37
  156. package/baseicon/baseicon.cjs.js +6 -8
  157. package/baseicon/baseicon.cjs.min.js +1 -1
  158. package/baseicon/baseicon.esm.js +2 -8
  159. package/baseicon/baseicon.esm.min.js +1 -1
  160. package/baseicon/baseicon.js +7 -9
  161. package/baseicon/baseicon.min.js +1 -1
  162. package/baseicon/package.json +7 -7
  163. package/baseicon/style/BaseIconStyle.d.ts +3 -0
  164. package/baseicon/style/baseiconstyle.cjs.js +15 -0
  165. package/baseicon/style/baseiconstyle.cjs.min.js +1 -0
  166. package/baseicon/style/baseiconstyle.esm.js +9 -0
  167. package/baseicon/style/baseiconstyle.esm.min.js +1 -0
  168. package/baseicon/style/baseiconstyle.js +18 -0
  169. package/baseicon/style/baseiconstyle.min.js +1 -0
  170. package/baseicon/style/package.json +6 -0
  171. package/blockui/BaseBlockUI.vue +2 -27
  172. package/blockui/BlockUI.vue +2 -4
  173. package/blockui/blockui.cjs.js +5 -18
  174. package/blockui/blockui.cjs.min.js +1 -1
  175. package/blockui/blockui.esm.js +4 -18
  176. package/blockui/blockui.esm.min.js +1 -1
  177. package/blockui/blockui.js +6 -19
  178. package/blockui/blockui.min.js +1 -1
  179. package/blockui/package.json +8 -8
  180. package/blockui/style/BlockUIStyle.d.ts +3 -0
  181. package/blockui/style/blockuistyle.cjs.js +19 -0
  182. package/blockui/style/blockuistyle.cjs.min.js +1 -0
  183. package/blockui/style/blockuistyle.esm.js +13 -0
  184. package/blockui/style/blockuistyle.esm.min.js +1 -0
  185. package/blockui/style/blockuistyle.js +22 -0
  186. package/blockui/style/blockuistyle.min.js +1 -0
  187. package/blockui/style/package.json +6 -0
  188. package/breadcrumb/BaseBreadcrumb.vue +2 -60
  189. package/breadcrumb/breadcrumb.cjs.js +3 -34
  190. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  191. package/breadcrumb/breadcrumb.esm.js +2 -34
  192. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  193. package/breadcrumb/breadcrumb.js +4 -35
  194. package/breadcrumb/breadcrumb.min.js +1 -1
  195. package/breadcrumb/package.json +8 -9
  196. package/breadcrumb/style/BreadcrumbStyle.d.ts +3 -0
  197. package/breadcrumb/style/breadcrumbstyle.cjs.js +39 -0
  198. package/breadcrumb/style/breadcrumbstyle.cjs.min.js +1 -0
  199. package/breadcrumb/style/breadcrumbstyle.esm.js +33 -0
  200. package/breadcrumb/style/breadcrumbstyle.esm.min.js +1 -0
  201. package/breadcrumb/style/breadcrumbstyle.js +42 -0
  202. package/breadcrumb/style/breadcrumbstyle.min.js +1 -0
  203. package/breadcrumb/style/package.json +6 -0
  204. package/button/BaseButton.vue +2 -36
  205. package/button/button.cjs.js +3 -33
  206. package/button/button.cjs.min.js +1 -1
  207. package/button/button.esm.js +2 -33
  208. package/button/button.esm.min.js +1 -1
  209. package/button/button.js +4 -35
  210. package/button/button.min.js +1 -1
  211. package/button/package.json +8 -8
  212. package/button/style/ButtonStyle.d.ts +3 -0
  213. package/button/style/buttonstyle.cjs.js +44 -0
  214. package/button/style/buttonstyle.cjs.min.js +1 -0
  215. package/button/style/buttonstyle.esm.js +38 -0
  216. package/button/style/buttonstyle.esm.min.js +1 -0
  217. package/button/style/buttonstyle.js +47 -0
  218. package/button/style/buttonstyle.min.js +1 -0
  219. package/button/style/package.json +6 -0
  220. package/calendar/BaseCalendar.vue +2 -227
  221. package/calendar/Calendar.vue +15 -7
  222. package/calendar/calendar.cjs.js +22 -122
  223. package/calendar/calendar.cjs.min.js +1 -1
  224. package/calendar/calendar.esm.js +21 -122
  225. package/calendar/calendar.esm.min.js +1 -1
  226. package/calendar/calendar.js +23 -123
  227. package/calendar/calendar.min.js +1 -1
  228. package/calendar/package.json +8 -8
  229. package/calendar/style/CalendarStyle.d.ts +3 -0
  230. package/calendar/style/calendarstyle.cjs.js +118 -0
  231. package/calendar/style/calendarstyle.cjs.min.js +1 -0
  232. package/calendar/style/calendarstyle.esm.js +112 -0
  233. package/calendar/style/calendarstyle.esm.min.js +1 -0
  234. package/calendar/style/calendarstyle.js +121 -0
  235. package/calendar/style/calendarstyle.min.js +1 -0
  236. package/calendar/style/package.json +6 -0
  237. package/card/BaseCard.vue +2 -13
  238. package/card/card.cjs.js +3 -12
  239. package/card/card.cjs.min.js +1 -1
  240. package/card/card.esm.js +2 -12
  241. package/card/card.esm.min.js +1 -1
  242. package/card/card.js +4 -14
  243. package/card/card.min.js +1 -1
  244. package/card/package.json +8 -8
  245. package/card/style/CardStyle.d.ts +3 -0
  246. package/card/style/cardstyle.cjs.js +23 -0
  247. package/card/style/cardstyle.cjs.min.js +1 -0
  248. package/card/style/cardstyle.esm.js +17 -0
  249. package/card/style/cardstyle.esm.min.js +1 -0
  250. package/card/style/cardstyle.js +26 -0
  251. package/card/style/cardstyle.min.js +1 -0
  252. package/card/style/package.json +6 -0
  253. package/carousel/BaseCarousel.vue +2 -135
  254. package/carousel/Carousel.vue +3 -10
  255. package/carousel/carousel.cjs.js +5 -75
  256. package/carousel/carousel.cjs.min.js +1 -1
  257. package/carousel/carousel.esm.js +5 -76
  258. package/carousel/carousel.esm.min.js +1 -1
  259. package/carousel/carousel.js +6 -76
  260. package/carousel/carousel.min.js +1 -1
  261. package/carousel/package.json +8 -8
  262. package/carousel/style/CarouselStyle.d.ts +3 -0
  263. package/carousel/style/carouselstyle.cjs.js +74 -0
  264. package/carousel/style/carouselstyle.cjs.min.js +1 -0
  265. package/carousel/style/carouselstyle.esm.js +68 -0
  266. package/carousel/style/carouselstyle.esm.min.js +1 -0
  267. package/carousel/style/carouselstyle.js +77 -0
  268. package/carousel/style/carouselstyle.min.js +1 -0
  269. package/carousel/style/package.json +6 -0
  270. package/cascadeselect/BaseCascadeSelect.vue +2 -142
  271. package/cascadeselect/cascadeselect.cjs.js +3 -67
  272. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  273. package/cascadeselect/cascadeselect.esm.js +2 -67
  274. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  275. package/cascadeselect/cascadeselect.js +4 -68
  276. package/cascadeselect/cascadeselect.min.js +1 -1
  277. package/cascadeselect/package.json +8 -8
  278. package/cascadeselect/style/CascadeSelectStyle.d.ts +3 -0
  279. package/cascadeselect/style/cascadeselectstyle.cjs.js +72 -0
  280. package/cascadeselect/style/cascadeselectstyle.cjs.min.js +1 -0
  281. package/cascadeselect/style/cascadeselectstyle.esm.js +66 -0
  282. package/cascadeselect/style/cascadeselectstyle.esm.min.js +1 -0
  283. package/cascadeselect/style/cascadeselectstyle.js +75 -0
  284. package/cascadeselect/style/cascadeselectstyle.min.js +1 -0
  285. package/cascadeselect/style/package.json +6 -0
  286. package/chart/BaseChart.vue +2 -19
  287. package/chart/chart.cjs.js +3 -14
  288. package/chart/chart.cjs.min.js +1 -1
  289. package/chart/chart.esm.js +2 -14
  290. package/chart/chart.esm.min.js +1 -1
  291. package/chart/chart.js +4 -15
  292. package/chart/chart.min.js +1 -1
  293. package/chart/package.json +8 -8
  294. package/chart/style/ChartStyle.d.ts +3 -0
  295. package/chart/style/chartstyle.cjs.js +19 -0
  296. package/chart/style/chartstyle.cjs.min.js +1 -0
  297. package/chart/style/chartstyle.esm.js +13 -0
  298. package/chart/style/chartstyle.esm.min.js +1 -0
  299. package/chart/style/chartstyle.js +22 -0
  300. package/chart/style/chartstyle.min.js +1 -0
  301. package/chart/style/package.json +6 -0
  302. package/checkbox/BaseCheckbox.vue +2 -23
  303. package/checkbox/checkbox.cjs.js +3 -24
  304. package/checkbox/checkbox.cjs.min.js +1 -1
  305. package/checkbox/checkbox.esm.js +2 -24
  306. package/checkbox/checkbox.esm.min.js +1 -1
  307. package/checkbox/checkbox.js +4 -26
  308. package/checkbox/checkbox.min.js +1 -1
  309. package/checkbox/package.json +8 -8
  310. package/checkbox/style/CheckboxStyle.d.ts +3 -0
  311. package/checkbox/style/checkboxstyle.cjs.js +35 -0
  312. package/checkbox/style/checkboxstyle.cjs.min.js +1 -0
  313. package/checkbox/style/checkboxstyle.esm.js +29 -0
  314. package/checkbox/style/checkboxstyle.esm.min.js +1 -0
  315. package/checkbox/style/checkboxstyle.js +38 -0
  316. package/checkbox/style/checkboxstyle.min.js +1 -0
  317. package/checkbox/style/package.json +6 -0
  318. package/chip/BaseChip.vue +2 -45
  319. package/chip/chip.cjs.js +3 -22
  320. package/chip/chip.cjs.min.js +1 -1
  321. package/chip/chip.esm.js +2 -22
  322. package/chip/chip.esm.min.js +1 -1
  323. package/chip/chip.js +4 -23
  324. package/chip/chip.min.js +1 -1
  325. package/chip/package.json +8 -8
  326. package/chip/style/ChipStyle.d.ts +3 -0
  327. package/chip/style/chipstyle.cjs.js +27 -0
  328. package/chip/style/chipstyle.cjs.min.js +1 -0
  329. package/chip/style/chipstyle.esm.js +21 -0
  330. package/chip/style/chipstyle.esm.min.js +1 -0
  331. package/chip/style/chipstyle.js +30 -0
  332. package/chip/style/chipstyle.min.js +1 -0
  333. package/chip/style/package.json +6 -0
  334. package/chips/BaseChips.vue +2 -74
  335. package/chips/chips.cjs.js +3 -34
  336. package/chips/chips.cjs.min.js +1 -1
  337. package/chips/chips.esm.js +2 -34
  338. package/chips/chips.esm.min.js +1 -1
  339. package/chips/chips.js +4 -35
  340. package/chips/chips.min.js +1 -1
  341. package/chips/package.json +8 -8
  342. package/chips/style/ChipsStyle.d.ts +3 -0
  343. package/chips/style/chipsstyle.cjs.js +39 -0
  344. package/chips/style/chipsstyle.cjs.min.js +1 -0
  345. package/chips/style/chipsstyle.esm.js +33 -0
  346. package/chips/style/chipsstyle.esm.min.js +1 -0
  347. package/chips/style/chipsstyle.js +42 -0
  348. package/chips/style/chipsstyle.min.js +1 -0
  349. package/chips/style/package.json +6 -0
  350. package/colorpicker/BaseColorPicker.vue +2 -39
  351. package/colorpicker/colorpicker.cjs.js +3 -41
  352. package/colorpicker/colorpicker.cjs.min.js +1 -1
  353. package/colorpicker/colorpicker.esm.js +2 -41
  354. package/colorpicker/colorpicker.esm.min.js +1 -1
  355. package/colorpicker/colorpicker.js +4 -42
  356. package/colorpicker/colorpicker.min.js +1 -1
  357. package/colorpicker/package.json +8 -8
  358. package/colorpicker/style/ColorPickerStyle.d.ts +3 -0
  359. package/colorpicker/style/colorpickerstyle.cjs.js +46 -0
  360. package/colorpicker/style/colorpickerstyle.cjs.min.js +1 -0
  361. package/colorpicker/style/colorpickerstyle.esm.js +40 -0
  362. package/colorpicker/style/colorpickerstyle.esm.min.js +1 -0
  363. package/colorpicker/style/colorpickerstyle.js +49 -0
  364. package/colorpicker/style/colorpickerstyle.min.js +1 -0
  365. package/colorpicker/style/package.json +6 -0
  366. package/column/BaseColumn.vue +2 -0
  367. package/column/Column.d.ts +8 -6
  368. package/column/column.cjs.js +3 -0
  369. package/column/column.cjs.min.js +1 -1
  370. package/column/column.esm.js +2 -0
  371. package/column/column.esm.min.js +1 -1
  372. package/column/column.js +4 -2
  373. package/column/column.min.js +1 -1
  374. package/column/package.json +8 -8
  375. package/column/style/ColumnStyle.d.ts +3 -0
  376. package/column/style/columnstyle.cjs.js +5 -0
  377. package/column/style/columnstyle.cjs.min.js +1 -0
  378. package/column/style/columnstyle.esm.js +3 -0
  379. package/column/style/columnstyle.esm.min.js +1 -0
  380. package/column/style/columnstyle.js +10 -0
  381. package/column/style/columnstyle.min.js +1 -0
  382. package/column/style/package.json +6 -0
  383. package/columngroup/BaseColumnGroup.vue +2 -0
  384. package/columngroup/columngroup.cjs.js +3 -0
  385. package/columngroup/columngroup.cjs.min.js +1 -1
  386. package/columngroup/columngroup.esm.js +2 -0
  387. package/columngroup/columngroup.esm.min.js +1 -1
  388. package/columngroup/columngroup.js +4 -2
  389. package/columngroup/columngroup.min.js +1 -1
  390. package/columngroup/package.json +8 -8
  391. package/columngroup/style/ColumnGroupStyle.d.ts +3 -0
  392. package/columngroup/style/columngroupstyle.cjs.js +5 -0
  393. package/columngroup/style/columngroupstyle.cjs.min.js +1 -0
  394. package/columngroup/style/columngroupstyle.esm.js +3 -0
  395. package/columngroup/style/columngroupstyle.esm.min.js +1 -0
  396. package/columngroup/style/columngroupstyle.js +10 -0
  397. package/columngroup/style/columngroupstyle.min.js +1 -0
  398. package/columngroup/style/package.json +6 -0
  399. package/config/PrimeVue.d.ts +2 -0
  400. package/config/package.json +5 -5
  401. package/confirmationeventbus/package.json +1 -1
  402. package/confirmationservice/package.json +5 -5
  403. package/confirmdialog/BaseConfirmDialog.vue +2 -11
  404. package/confirmdialog/confirmdialog.cjs.js +3 -16
  405. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  406. package/confirmdialog/confirmdialog.esm.js +2 -16
  407. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  408. package/confirmdialog/confirmdialog.js +4 -18
  409. package/confirmdialog/confirmdialog.min.js +1 -1
  410. package/confirmdialog/package.json +8 -8
  411. package/confirmdialog/style/ConfirmDialogStyle.d.ts +3 -0
  412. package/confirmdialog/style/confirmdialogstyle.cjs.js +27 -0
  413. package/confirmdialog/style/confirmdialogstyle.cjs.min.js +1 -0
  414. package/confirmdialog/style/confirmdialogstyle.esm.js +21 -0
  415. package/confirmdialog/style/confirmdialogstyle.esm.min.js +1 -0
  416. package/confirmdialog/style/confirmdialogstyle.js +30 -0
  417. package/confirmdialog/style/confirmdialogstyle.min.js +1 -0
  418. package/confirmdialog/style/package.json +6 -0
  419. package/confirmpopup/BaseConfirmPopup.vue +2 -97
  420. package/confirmpopup/confirmpopup.cjs.js +3 -32
  421. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  422. package/confirmpopup/confirmpopup.esm.js +2 -32
  423. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  424. package/confirmpopup/confirmpopup.js +4 -33
  425. package/confirmpopup/confirmpopup.min.js +1 -1
  426. package/confirmpopup/package.json +8 -8
  427. package/confirmpopup/style/ConfirmPopupStyle.d.ts +3 -0
  428. package/confirmpopup/style/confirmpopupstyle.cjs.js +37 -0
  429. package/confirmpopup/style/confirmpopupstyle.cjs.min.js +1 -0
  430. package/confirmpopup/style/confirmpopupstyle.esm.js +31 -0
  431. package/confirmpopup/style/confirmpopupstyle.esm.min.js +1 -0
  432. package/confirmpopup/style/confirmpopupstyle.js +40 -0
  433. package/confirmpopup/style/confirmpopupstyle.min.js +1 -0
  434. package/confirmpopup/style/package.json +6 -0
  435. package/contextmenu/BaseContextMenu.vue +2 -84
  436. package/contextmenu/ContextMenu.vue +1 -5
  437. package/contextmenu/contextmenu.cjs.js +4 -50
  438. package/contextmenu/contextmenu.cjs.min.js +1 -1
  439. package/contextmenu/contextmenu.esm.js +3 -50
  440. package/contextmenu/contextmenu.esm.min.js +1 -1
  441. package/contextmenu/contextmenu.js +5 -51
  442. package/contextmenu/contextmenu.min.js +1 -1
  443. package/contextmenu/package.json +8 -8
  444. package/contextmenu/style/ContextMenuStyle.d.ts +3 -0
  445. package/contextmenu/style/contextmenustyle.cjs.js +50 -0
  446. package/contextmenu/style/contextmenustyle.cjs.min.js +1 -0
  447. package/contextmenu/style/contextmenustyle.esm.js +44 -0
  448. package/contextmenu/style/contextmenustyle.esm.min.js +1 -0
  449. package/contextmenu/style/contextmenustyle.js +53 -0
  450. package/contextmenu/style/contextmenustyle.min.js +1 -0
  451. package/contextmenu/style/package.json +6 -0
  452. package/core/core.js +4927 -921
  453. package/core/core.min.js +220 -24
  454. package/datatable/BaseDataTable.vue +6 -473
  455. package/datatable/DataTable.d.ts +5 -0
  456. package/datatable/DataTable.vue +12 -27
  457. package/datatable/HeaderCell.vue +1 -5
  458. package/datatable/TableHeader.vue +0 -6
  459. package/datatable/datatable.cjs.js +23 -287
  460. package/datatable/datatable.cjs.min.js +1 -1
  461. package/datatable/datatable.esm.js +22 -287
  462. package/datatable/datatable.esm.min.js +1 -1
  463. package/datatable/datatable.js +24 -288
  464. package/datatable/datatable.min.js +1 -1
  465. package/datatable/package.json +8 -8
  466. package/datatable/style/DataTableStyle.d.ts +3 -0
  467. package/datatable/style/datatablestyle.cjs.js +255 -0
  468. package/datatable/style/datatablestyle.cjs.min.js +1 -0
  469. package/datatable/style/datatablestyle.esm.js +249 -0
  470. package/datatable/style/datatablestyle.esm.min.js +1 -0
  471. package/datatable/style/datatablestyle.js +258 -0
  472. package/datatable/style/datatablestyle.min.js +1 -0
  473. package/datatable/style/package.json +6 -0
  474. package/dataview/BaseDataView.vue +2 -20
  475. package/dataview/DataView.vue +2 -9
  476. package/dataview/dataview.cjs.js +5 -28
  477. package/dataview/dataview.cjs.min.js +1 -1
  478. package/dataview/dataview.esm.js +4 -28
  479. package/dataview/dataview.esm.min.js +1 -1
  480. package/dataview/dataview.js +6 -30
  481. package/dataview/dataview.min.js +1 -1
  482. package/dataview/package.json +8 -8
  483. package/dataview/style/DataViewStyle.d.ts +3 -0
  484. package/dataview/style/dataviewstyle.cjs.js +33 -0
  485. package/dataview/style/dataviewstyle.cjs.min.js +1 -0
  486. package/dataview/style/dataviewstyle.esm.js +27 -0
  487. package/dataview/style/dataviewstyle.esm.min.js +1 -0
  488. package/dataview/style/dataviewstyle.js +36 -0
  489. package/dataview/style/dataviewstyle.min.js +1 -0
  490. package/dataview/style/package.json +6 -0
  491. package/dataviewlayoutoptions/BaseDataViewLayoutOptions.vue +2 -19
  492. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +3 -18
  493. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
  494. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +2 -18
  495. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
  496. package/dataviewlayoutoptions/dataviewlayoutoptions.js +4 -20
  497. package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
  498. package/dataviewlayoutoptions/package.json +8 -8
  499. package/dataviewlayoutoptions/style/DataViewLayoutOptionsStyle.d.ts +3 -0
  500. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.cjs.js +29 -0
  501. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.cjs.min.js +1 -0
  502. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.esm.js +23 -0
  503. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.esm.min.js +1 -0
  504. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.js +32 -0
  505. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.min.js +1 -0
  506. package/dataviewlayoutoptions/style/package.json +6 -0
  507. package/deferredcontent/DeferredContent.vue +2 -0
  508. package/deferredcontent/deferredcontent.cjs.js +3 -0
  509. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  510. package/deferredcontent/deferredcontent.esm.js +2 -0
  511. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  512. package/deferredcontent/deferredcontent.js +4 -2
  513. package/deferredcontent/deferredcontent.min.js +1 -1
  514. package/deferredcontent/package.json +8 -8
  515. package/deferredcontent/style/DeferredContentStyle.d.ts +3 -0
  516. package/deferredcontent/style/deferredcontentstyle.cjs.js +5 -0
  517. package/deferredcontent/style/deferredcontentstyle.cjs.min.js +1 -0
  518. package/deferredcontent/style/deferredcontentstyle.esm.js +3 -0
  519. package/deferredcontent/style/deferredcontentstyle.esm.min.js +1 -0
  520. package/deferredcontent/style/deferredcontentstyle.js +10 -0
  521. package/deferredcontent/style/deferredcontentstyle.min.js +1 -0
  522. package/deferredcontent/style/package.json +6 -0
  523. package/dialog/BaseDialog.vue +2 -197
  524. package/dialog/Dialog.vue +3 -11
  525. package/dialog/dialog.cjs.js +6 -78
  526. package/dialog/dialog.cjs.min.js +1 -1
  527. package/dialog/dialog.esm.js +5 -78
  528. package/dialog/dialog.esm.min.js +1 -1
  529. package/dialog/dialog.js +7 -79
  530. package/dialog/dialog.min.js +1 -1
  531. package/dialog/package.json +8 -8
  532. package/dialog/style/DialogStyle.d.ts +3 -0
  533. package/dialog/style/dialogstyle.cjs.js +72 -0
  534. package/dialog/style/dialogstyle.cjs.min.js +1 -0
  535. package/dialog/style/dialogstyle.esm.js +66 -0
  536. package/dialog/style/dialogstyle.esm.min.js +1 -0
  537. package/dialog/style/dialogstyle.js +75 -0
  538. package/dialog/style/dialogstyle.min.js +1 -0
  539. package/dialog/style/package.json +6 -0
  540. package/divider/BaseDivider.vue +2 -96
  541. package/divider/divider.cjs.js +3 -42
  542. package/divider/divider.cjs.min.js +1 -1
  543. package/divider/divider.esm.js +2 -42
  544. package/divider/divider.esm.min.js +1 -1
  545. package/divider/divider.js +4 -43
  546. package/divider/divider.min.js +1 -1
  547. package/divider/package.json +8 -8
  548. package/divider/style/DividerStyle.d.ts +3 -0
  549. package/divider/style/dividerstyle.cjs.js +47 -0
  550. package/divider/style/dividerstyle.cjs.min.js +1 -0
  551. package/divider/style/dividerstyle.esm.js +41 -0
  552. package/divider/style/dividerstyle.esm.min.js +1 -0
  553. package/divider/style/dividerstyle.js +50 -0
  554. package/divider/style/dividerstyle.min.js +1 -0
  555. package/divider/style/package.json +6 -0
  556. package/dock/BaseDock.vue +2 -144
  557. package/dock/dock.cjs.js +3 -45
  558. package/dock/dock.cjs.min.js +1 -1
  559. package/dock/dock.esm.js +2 -45
  560. package/dock/dock.esm.min.js +1 -1
  561. package/dock/dock.js +4 -46
  562. package/dock/dock.min.js +1 -1
  563. package/dock/package.json +2 -2
  564. package/dock/style/DockStyle.d.ts +3 -0
  565. package/dock/style/dockstyle.cjs.js +50 -0
  566. package/dock/style/dockstyle.cjs.min.js +1 -0
  567. package/dock/style/dockstyle.esm.js +44 -0
  568. package/dock/style/dockstyle.esm.min.js +1 -0
  569. package/dock/style/dockstyle.js +53 -0
  570. package/dock/style/dockstyle.min.js +1 -0
  571. package/dock/style/package.json +6 -0
  572. package/dropdown/BaseDropdown.vue +2 -152
  573. package/dropdown/dropdown.cjs.js +3 -64
  574. package/dropdown/dropdown.cjs.min.js +1 -1
  575. package/dropdown/dropdown.esm.js +2 -64
  576. package/dropdown/dropdown.esm.min.js +1 -1
  577. package/dropdown/dropdown.js +4 -65
  578. package/dropdown/dropdown.min.js +1 -1
  579. package/dropdown/package.json +8 -8
  580. package/dropdown/style/DropdownStyle.d.ts +3 -0
  581. package/dropdown/style/dropdownstyle.cjs.js +69 -0
  582. package/dropdown/style/dropdownstyle.cjs.min.js +1 -0
  583. package/dropdown/style/dropdownstyle.esm.js +63 -0
  584. package/dropdown/style/dropdownstyle.esm.min.js +1 -0
  585. package/dropdown/style/dropdownstyle.js +72 -0
  586. package/dropdown/style/dropdownstyle.min.js +1 -0
  587. package/dropdown/style/package.json +6 -0
  588. package/dynamicdialog/BaseDynamicDialog.vue +16 -0
  589. package/dynamicdialog/DynamicDialog.vue +2 -2
  590. package/dynamicdialog/dynamicdialog.cjs.js +17 -3
  591. package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
  592. package/dynamicdialog/dynamicdialog.esm.js +15 -2
  593. package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
  594. package/dynamicdialog/dynamicdialog.js +17 -4
  595. package/dynamicdialog/dynamicdialog.min.js +1 -1
  596. package/dynamicdialog/style/AccordionStyle.d.ts +3 -0
  597. package/dynamicdialog/style/dynamicdialogstyle.cjs.js +5 -0
  598. package/dynamicdialog/style/dynamicdialogstyle.cjs.min.js +1 -0
  599. package/dynamicdialog/style/dynamicdialogstyle.esm.js +3 -0
  600. package/dynamicdialog/style/dynamicdialogstyle.esm.min.js +1 -0
  601. package/dynamicdialog/style/dynamicdialogstyle.js +10 -0
  602. package/dynamicdialog/style/dynamicdialogstyle.min.js +1 -0
  603. package/dynamicdialog/style/package.json +6 -0
  604. package/editor/BaseEditor.vue +3 -961
  605. package/editor/editor.cjs.js +7 -16
  606. package/editor/editor.cjs.min.js +1 -1
  607. package/editor/editor.esm.js +6 -16
  608. package/editor/editor.esm.min.js +1 -1
  609. package/editor/editor.js +8 -17
  610. package/editor/editor.min.js +1 -1
  611. package/editor/package.json +8 -8
  612. package/editor/style/EditorStyle.d.ts +3 -0
  613. package/editor/style/editorstyle.cjs.js +21 -0
  614. package/editor/style/editorstyle.cjs.min.js +1 -0
  615. package/editor/style/editorstyle.esm.js +15 -0
  616. package/editor/style/editorstyle.esm.min.js +1 -0
  617. package/editor/style/editorstyle.js +24 -0
  618. package/editor/style/editorstyle.min.js +1 -0
  619. package/editor/style/package.json +6 -0
  620. package/fieldset/BaseFieldset.vue +2 -45
  621. package/fieldset/fieldset.cjs.js +3 -27
  622. package/fieldset/fieldset.cjs.min.js +1 -1
  623. package/fieldset/fieldset.esm.js +2 -27
  624. package/fieldset/fieldset.esm.min.js +1 -1
  625. package/fieldset/fieldset.js +4 -28
  626. package/fieldset/fieldset.min.js +1 -1
  627. package/fieldset/package.json +8 -8
  628. package/fieldset/style/FieldsetStyle.d.ts +3 -0
  629. package/fieldset/style/fieldsetstyle.cjs.js +29 -0
  630. package/fieldset/style/fieldsetstyle.cjs.min.js +1 -0
  631. package/fieldset/style/fieldsetstyle.esm.js +23 -0
  632. package/fieldset/style/fieldsetstyle.esm.min.js +1 -0
  633. package/fieldset/style/fieldsetstyle.js +32 -0
  634. package/fieldset/style/fieldsetstyle.min.js +1 -0
  635. package/fieldset/style/package.json +6 -0
  636. package/fileupload/BaseFileUpload.vue +2 -82
  637. package/fileupload/FileUpload.vue +2 -2
  638. package/fileupload/fileupload.cjs.js +6 -43
  639. package/fileupload/fileupload.cjs.min.js +1 -1
  640. package/fileupload/fileupload.esm.js +5 -43
  641. package/fileupload/fileupload.esm.min.js +1 -1
  642. package/fileupload/fileupload.js +7 -44
  643. package/fileupload/fileupload.min.js +1 -1
  644. package/fileupload/package.json +8 -8
  645. package/fileupload/style/FileUploadStyle.d.ts +3 -0
  646. package/fileupload/style/fileuploadstyle.cjs.js +46 -0
  647. package/fileupload/style/fileuploadstyle.cjs.min.js +1 -0
  648. package/fileupload/style/fileuploadstyle.esm.js +40 -0
  649. package/fileupload/style/fileuploadstyle.esm.min.js +1 -0
  650. package/fileupload/style/fileuploadstyle.js +49 -0
  651. package/fileupload/style/fileuploadstyle.min.js +1 -0
  652. package/fileupload/style/package.json +6 -0
  653. package/focustrap/focustrap.cjs.js +5 -1
  654. package/focustrap/focustrap.cjs.min.js +1 -1
  655. package/focustrap/focustrap.esm.js +4 -1
  656. package/focustrap/focustrap.esm.min.js +1 -1
  657. package/focustrap/focustrap.js +6 -3
  658. package/focustrap/focustrap.min.js +1 -1
  659. package/focustrap/package.json +1 -1
  660. package/focustrap/style/FocusTrapStyle.d.ts +3 -0
  661. package/focustrap/style/focustrapstyle.cjs.js +5 -0
  662. package/focustrap/style/focustrapstyle.cjs.min.js +1 -0
  663. package/focustrap/style/focustrapstyle.esm.js +3 -0
  664. package/focustrap/style/focustrapstyle.esm.min.js +1 -0
  665. package/focustrap/style/focustrapstyle.js +10 -0
  666. package/focustrap/style/focustrapstyle.min.js +1 -0
  667. package/focustrap/style/package.json +6 -0
  668. package/galleria/BaseGalleria.vue +2 -378
  669. package/galleria/Galleria.vue +3 -6
  670. package/galleria/GalleriaThumbnails.vue +3 -10
  671. package/galleria/galleria.cjs.js +8 -104
  672. package/galleria/galleria.cjs.min.js +1 -1
  673. package/galleria/galleria.esm.js +8 -105
  674. package/galleria/galleria.esm.min.js +1 -1
  675. package/galleria/galleria.js +9 -105
  676. package/galleria/galleria.min.js +1 -1
  677. package/galleria/package.json +8 -8
  678. package/galleria/style/GalleriaStyle.d.ts +3 -0
  679. package/galleria/style/galleriastyle.cjs.js +97 -0
  680. package/galleria/style/galleriastyle.cjs.min.js +1 -0
  681. package/galleria/style/galleriastyle.esm.js +91 -0
  682. package/galleria/style/galleriastyle.esm.min.js +1 -0
  683. package/galleria/style/galleriastyle.js +100 -0
  684. package/galleria/style/galleriastyle.min.js +1 -0
  685. package/galleria/style/package.json +6 -0
  686. package/icons/angledoubledown/package.json +2 -2
  687. package/icons/angledoubleleft/package.json +2 -2
  688. package/icons/angledoubleright/package.json +2 -2
  689. package/icons/angledoubleup/package.json +2 -2
  690. package/icons/angledown/package.json +2 -2
  691. package/icons/angleleft/package.json +2 -2
  692. package/icons/angleright/package.json +2 -2
  693. package/icons/angleup/package.json +2 -2
  694. package/icons/arrowdown/package.json +2 -2
  695. package/icons/arrowup/package.json +2 -2
  696. package/icons/ban/package.json +2 -2
  697. package/icons/bars/package.json +2 -2
  698. package/icons/calendar/package.json +2 -2
  699. package/icons/check/package.json +2 -2
  700. package/icons/chevrondown/package.json +2 -2
  701. package/icons/chevronleft/package.json +2 -2
  702. package/icons/chevronright/package.json +2 -2
  703. package/icons/chevronup/package.json +2 -2
  704. package/icons/exclamationtriangle/package.json +2 -2
  705. package/icons/eye/package.json +2 -2
  706. package/icons/eyeslash/package.json +2 -2
  707. package/icons/filter/package.json +2 -2
  708. package/icons/filterslash/package.json +2 -2
  709. package/icons/infocircle/package.json +2 -2
  710. package/icons/minus/package.json +2 -2
  711. package/icons/pencil/package.json +2 -2
  712. package/icons/plus/package.json +2 -2
  713. package/icons/refresh/package.json +2 -2
  714. package/icons/search/package.json +2 -2
  715. package/icons/searchminus/package.json +2 -2
  716. package/icons/searchplus/package.json +2 -2
  717. package/icons/sortalt/package.json +2 -2
  718. package/icons/sortamountdown/package.json +2 -2
  719. package/icons/sortamountupalt/package.json +2 -2
  720. package/icons/spinner/package.json +2 -2
  721. package/icons/star/package.json +2 -2
  722. package/icons/starfill/package.json +2 -2
  723. package/icons/thlarge/package.json +2 -2
  724. package/icons/times/package.json +2 -2
  725. package/icons/timescircle/package.json +2 -2
  726. package/icons/trash/package.json +2 -2
  727. package/icons/undo/package.json +2 -2
  728. package/icons/upload/package.json +2 -2
  729. package/icons/windowmaximize/package.json +8 -8
  730. package/icons/windowminimize/package.json +2 -2
  731. package/image/BaseImage.vue +2 -104
  732. package/image/Image.vue +4 -7
  733. package/image/image.cjs.js +7 -49
  734. package/image/image.cjs.min.js +1 -1
  735. package/image/image.esm.js +6 -49
  736. package/image/image.esm.min.js +1 -1
  737. package/image/image.js +8 -50
  738. package/image/image.min.js +1 -1
  739. package/image/package.json +2 -2
  740. package/image/style/ImageStyle.d.ts +3 -0
  741. package/image/style/imagestyle.cjs.js +48 -0
  742. package/image/style/imagestyle.cjs.min.js +1 -0
  743. package/image/style/imagestyle.esm.js +42 -0
  744. package/image/style/imagestyle.esm.min.js +1 -0
  745. package/image/style/imagestyle.js +51 -0
  746. package/image/style/imagestyle.min.js +1 -0
  747. package/image/style/package.json +6 -0
  748. package/inlinemessage/BaseInlineMessage.vue +2 -33
  749. package/inlinemessage/inlinemessage.cjs.js +3 -25
  750. package/inlinemessage/inlinemessage.cjs.min.js +1 -1
  751. package/inlinemessage/inlinemessage.esm.js +2 -25
  752. package/inlinemessage/inlinemessage.esm.min.js +1 -1
  753. package/inlinemessage/inlinemessage.js +4 -26
  754. package/inlinemessage/inlinemessage.min.js +1 -1
  755. package/inlinemessage/package.json +8 -8
  756. package/inlinemessage/style/InlineMessageStyle.d.ts +3 -0
  757. package/inlinemessage/style/inlinemessagestyle.cjs.js +30 -0
  758. package/inlinemessage/style/inlinemessagestyle.cjs.min.js +1 -0
  759. package/inlinemessage/style/inlinemessagestyle.esm.js +24 -0
  760. package/inlinemessage/style/inlinemessagestyle.esm.min.js +1 -0
  761. package/inlinemessage/style/inlinemessagestyle.js +33 -0
  762. package/inlinemessage/style/inlinemessagestyle.min.js +1 -0
  763. package/inlinemessage/style/package.json +6 -0
  764. package/inplace/BaseInplace.vue +2 -35
  765. package/inplace/inplace.cjs.js +3 -26
  766. package/inplace/inplace.cjs.min.js +1 -1
  767. package/inplace/inplace.esm.js +2 -26
  768. package/inplace/inplace.esm.min.js +1 -1
  769. package/inplace/inplace.js +4 -27
  770. package/inplace/inplace.min.js +1 -1
  771. package/inplace/package.json +8 -8
  772. package/inplace/style/InplaceStyle.d.ts +3 -0
  773. package/inplace/style/inplacestyle.cjs.js +31 -0
  774. package/inplace/style/inplacestyle.cjs.min.js +1 -0
  775. package/inplace/style/inplacestyle.esm.js +25 -0
  776. package/inplace/style/inplacestyle.esm.min.js +1 -0
  777. package/inplace/style/inplacestyle.js +34 -0
  778. package/inplace/style/inplacestyle.min.js +1 -0
  779. package/inplace/style/package.json +6 -0
  780. package/inputmask/BaseInputMask.vue +2 -12
  781. package/inputmask/inputmask.cjs.js +3 -11
  782. package/inputmask/inputmask.cjs.min.js +1 -1
  783. package/inputmask/inputmask.esm.js +2 -11
  784. package/inputmask/inputmask.esm.min.js +1 -1
  785. package/inputmask/inputmask.js +4 -13
  786. package/inputmask/inputmask.min.js +1 -1
  787. package/inputmask/package.json +8 -8
  788. package/inputmask/style/InputMaskStyle.d.ts +3 -0
  789. package/inputmask/style/inputmaskstyle.cjs.js +22 -0
  790. package/inputmask/style/inputmaskstyle.cjs.min.js +1 -0
  791. package/inputmask/style/inputmaskstyle.esm.js +16 -0
  792. package/inputmask/style/inputmaskstyle.esm.min.js +1 -0
  793. package/inputmask/style/inputmaskstyle.js +25 -0
  794. package/inputmask/style/inputmaskstyle.min.js +1 -0
  795. package/inputmask/style/package.json +6 -0
  796. package/inputnumber/BaseInputNumber.vue +2 -139
  797. package/inputnumber/inputnumber.cjs.js +3 -40
  798. package/inputnumber/inputnumber.cjs.min.js +1 -1
  799. package/inputnumber/inputnumber.esm.js +2 -40
  800. package/inputnumber/inputnumber.esm.min.js +1 -1
  801. package/inputnumber/inputnumber.js +4 -41
  802. package/inputnumber/inputnumber.min.js +1 -1
  803. package/inputnumber/package.json +8 -8
  804. package/inputnumber/style/InputNumberStyle.d.ts +3 -0
  805. package/inputnumber/style/inputnumberstyle.cjs.js +45 -0
  806. package/inputnumber/style/inputnumberstyle.cjs.min.js +1 -0
  807. package/inputnumber/style/inputnumberstyle.esm.js +39 -0
  808. package/inputnumber/style/inputnumberstyle.esm.min.js +1 -0
  809. package/inputnumber/style/inputnumberstyle.js +48 -0
  810. package/inputnumber/style/inputnumberstyle.min.js +1 -0
  811. package/inputnumber/style/package.json +6 -0
  812. package/inputswitch/BaseInputSwitch.vue +2 -48
  813. package/inputswitch/InputSwitch.d.ts +5 -0
  814. package/inputswitch/inputswitch.cjs.js +3 -29
  815. package/inputswitch/inputswitch.cjs.min.js +1 -1
  816. package/inputswitch/inputswitch.esm.js +2 -29
  817. package/inputswitch/inputswitch.esm.min.js +1 -1
  818. package/inputswitch/inputswitch.js +4 -30
  819. package/inputswitch/inputswitch.min.js +1 -1
  820. package/inputswitch/package.json +8 -8
  821. package/inputswitch/style/InputSwitchStyle.d.ts +3 -0
  822. package/inputswitch/style/inputswitchstyle.cjs.js +34 -0
  823. package/inputswitch/style/inputswitchstyle.cjs.min.js +1 -0
  824. package/inputswitch/style/inputswitchstyle.esm.js +28 -0
  825. package/inputswitch/style/inputswitchstyle.esm.min.js +1 -0
  826. package/inputswitch/style/inputswitchstyle.js +37 -0
  827. package/inputswitch/style/inputswitchstyle.min.js +1 -0
  828. package/inputswitch/style/package.json +6 -0
  829. package/inputtext/BaseInputText.vue +2 -14
  830. package/inputtext/inputtext.cjs.js +3 -14
  831. package/inputtext/inputtext.cjs.min.js +1 -1
  832. package/inputtext/inputtext.esm.js +2 -14
  833. package/inputtext/inputtext.esm.min.js +1 -1
  834. package/inputtext/inputtext.js +4 -16
  835. package/inputtext/inputtext.min.js +1 -1
  836. package/inputtext/package.json +8 -8
  837. package/inputtext/style/InputTextStyle.d.ts +3 -0
  838. package/inputtext/style/inputtextstyle.cjs.js +25 -0
  839. package/inputtext/style/inputtextstyle.cjs.min.js +1 -0
  840. package/inputtext/style/inputtextstyle.esm.js +19 -0
  841. package/inputtext/style/inputtextstyle.esm.min.js +1 -0
  842. package/inputtext/style/inputtextstyle.js +28 -0
  843. package/inputtext/style/inputtextstyle.min.js +1 -0
  844. package/inputtext/style/package.json +6 -0
  845. package/knob/BaseKnob.vue +2 -37
  846. package/knob/knob.cjs.js +3 -22
  847. package/knob/knob.cjs.min.js +1 -1
  848. package/knob/knob.esm.js +2 -22
  849. package/knob/knob.esm.min.js +1 -1
  850. package/knob/knob.js +4 -23
  851. package/knob/knob.min.js +1 -1
  852. package/knob/package.json +8 -8
  853. package/knob/style/KnobStyle.d.ts +3 -0
  854. package/knob/style/knobstyle.cjs.js +27 -0
  855. package/knob/style/knobstyle.cjs.min.js +1 -0
  856. package/knob/style/knobstyle.esm.js +21 -0
  857. package/knob/style/knobstyle.esm.min.js +1 -0
  858. package/knob/style/knobstyle.js +30 -0
  859. package/knob/style/knobstyle.min.js +1 -0
  860. package/knob/style/package.json +6 -0
  861. package/listbox/BaseListbox.vue +2 -71
  862. package/listbox/listbox.cjs.js +3 -40
  863. package/listbox/listbox.cjs.min.js +1 -1
  864. package/listbox/listbox.esm.js +2 -40
  865. package/listbox/listbox.esm.min.js +1 -1
  866. package/listbox/listbox.js +4 -41
  867. package/listbox/listbox.min.js +1 -1
  868. package/listbox/package.json +8 -8
  869. package/listbox/style/ListboxStyle.d.ts +3 -0
  870. package/listbox/style/listboxstyle.cjs.js +45 -0
  871. package/listbox/style/listboxstyle.cjs.min.js +1 -0
  872. package/listbox/style/listboxstyle.esm.js +39 -0
  873. package/listbox/style/listboxstyle.esm.min.js +1 -0
  874. package/listbox/style/listboxstyle.js +48 -0
  875. package/listbox/style/listboxstyle.min.js +1 -0
  876. package/listbox/style/package.json +6 -0
  877. package/megamenu/BaseMegaMenu.vue +2 -197
  878. package/megamenu/megamenu.cjs.js +3 -90
  879. package/megamenu/megamenu.cjs.min.js +1 -1
  880. package/megamenu/megamenu.esm.js +2 -90
  881. package/megamenu/megamenu.esm.min.js +1 -1
  882. package/megamenu/megamenu.js +4 -91
  883. package/megamenu/megamenu.min.js +1 -1
  884. package/megamenu/package.json +8 -8
  885. package/megamenu/style/MegaMenuStyle.d.ts +3 -0
  886. package/megamenu/style/megamenustyle.cjs.js +95 -0
  887. package/megamenu/style/megamenustyle.cjs.min.js +1 -0
  888. package/megamenu/style/megamenustyle.esm.js +89 -0
  889. package/megamenu/style/megamenustyle.esm.min.js +1 -0
  890. package/megamenu/style/megamenustyle.js +98 -0
  891. package/megamenu/style/megamenustyle.min.js +1 -0
  892. package/megamenu/style/package.json +6 -0
  893. package/menu/BaseMenu.vue +2 -63
  894. package/menu/menu.cjs.js +3 -46
  895. package/menu/menu.cjs.min.js +1 -1
  896. package/menu/menu.esm.js +2 -46
  897. package/menu/menu.esm.min.js +1 -1
  898. package/menu/menu.js +4 -47
  899. package/menu/menu.min.js +1 -1
  900. package/menu/package.json +8 -8
  901. package/menu/style/MenuStyle.d.ts +3 -0
  902. package/menu/style/menustyle.cjs.js +51 -0
  903. package/menu/style/menustyle.cjs.min.js +1 -0
  904. package/menu/style/menustyle.esm.js +45 -0
  905. package/menu/style/menustyle.esm.min.js +1 -0
  906. package/menu/style/menustyle.js +54 -0
  907. package/menu/style/menustyle.min.js +1 -0
  908. package/menu/style/package.json +6 -0
  909. package/menubar/BaseMenubar.vue +2 -122
  910. package/menubar/menubar.cjs.js +3 -57
  911. package/menubar/menubar.cjs.min.js +1 -1
  912. package/menubar/menubar.esm.js +2 -57
  913. package/menubar/menubar.esm.min.js +1 -1
  914. package/menubar/menubar.js +4 -58
  915. package/menubar/menubar.min.js +1 -1
  916. package/menubar/package.json +8 -8
  917. package/menubar/style/MenubarStyle.d.ts +3 -0
  918. package/menubar/style/menubarstyle.cjs.js +62 -0
  919. package/menubar/style/menubarstyle.cjs.min.js +1 -0
  920. package/menubar/style/menubarstyle.esm.js +56 -0
  921. package/menubar/style/menubarstyle.esm.min.js +1 -0
  922. package/menubar/style/menubarstyle.js +65 -0
  923. package/menubar/style/menubarstyle.min.js +1 -0
  924. package/menubar/style/package.json +6 -0
  925. package/message/BaseMessage.vue +2 -69
  926. package/message/message.cjs.js +3 -22
  927. package/message/message.cjs.min.js +1 -1
  928. package/message/message.esm.js +2 -22
  929. package/message/message.esm.min.js +1 -1
  930. package/message/message.js +4 -23
  931. package/message/message.min.js +1 -1
  932. package/message/package.json +8 -8
  933. package/message/style/MessageStyle.d.ts +3 -0
  934. package/message/style/messagestyle.cjs.js +27 -0
  935. package/message/style/messagestyle.cjs.min.js +1 -0
  936. package/message/style/messagestyle.esm.js +21 -0
  937. package/message/style/messagestyle.esm.min.js +1 -0
  938. package/message/style/messagestyle.js +30 -0
  939. package/message/style/messagestyle.min.js +1 -0
  940. package/message/style/package.json +6 -0
  941. package/multiselect/BaseMultiSelect.vue +2 -193
  942. package/multiselect/multiselect.cjs.js +3 -101
  943. package/multiselect/multiselect.cjs.min.js +1 -1
  944. package/multiselect/multiselect.esm.js +2 -101
  945. package/multiselect/multiselect.esm.min.js +1 -1
  946. package/multiselect/multiselect.js +4 -102
  947. package/multiselect/multiselect.min.js +1 -1
  948. package/multiselect/package.json +8 -8
  949. package/multiselect/style/MultiSelectStyle.d.ts +3 -0
  950. package/multiselect/style/multiselectstyle.cjs.js +106 -0
  951. package/multiselect/style/multiselectstyle.cjs.min.js +1 -0
  952. package/multiselect/style/multiselectstyle.esm.js +100 -0
  953. package/multiselect/style/multiselectstyle.esm.min.js +1 -0
  954. package/multiselect/style/multiselectstyle.js +109 -0
  955. package/multiselect/style/multiselectstyle.min.js +1 -0
  956. package/multiselect/style/package.json +6 -0
  957. package/orderlist/BaseOrderList.vue +2 -69
  958. package/orderlist/OrderList.vue +4 -4
  959. package/orderlist/orderlist.cjs.js +8 -33
  960. package/orderlist/orderlist.cjs.min.js +1 -1
  961. package/orderlist/orderlist.esm.js +7 -33
  962. package/orderlist/orderlist.esm.min.js +1 -1
  963. package/orderlist/orderlist.js +9 -34
  964. package/orderlist/orderlist.min.js +1 -1
  965. package/orderlist/package.json +8 -8
  966. package/orderlist/style/OrderListStyle.d.ts +3 -0
  967. package/orderlist/style/orderliststyle.cjs.js +37 -0
  968. package/orderlist/style/orderliststyle.cjs.min.js +1 -0
  969. package/orderlist/style/orderliststyle.esm.js +31 -0
  970. package/orderlist/style/orderliststyle.esm.min.js +1 -0
  971. package/orderlist/style/orderliststyle.js +40 -0
  972. package/orderlist/style/orderliststyle.min.js +1 -0
  973. package/orderlist/style/package.json +6 -0
  974. package/organizationchart/BaseOrganizationChart.vue +2 -78
  975. package/organizationchart/OrganizationChart.d.ts +6 -1
  976. package/organizationchart/organizationchart.cjs.js +3 -42
  977. package/organizationchart/organizationchart.cjs.min.js +1 -1
  978. package/organizationchart/organizationchart.esm.js +2 -42
  979. package/organizationchart/organizationchart.esm.min.js +1 -1
  980. package/organizationchart/organizationchart.js +4 -43
  981. package/organizationchart/organizationchart.min.js +1 -1
  982. package/organizationchart/package.json +8 -8
  983. package/organizationchart/style/OrganizationChartStyle.d.ts +3 -0
  984. package/organizationchart/style/organizationchartstyle.cjs.js +45 -0
  985. package/organizationchart/style/organizationchartstyle.cjs.min.js +1 -0
  986. package/organizationchart/style/organizationchartstyle.esm.js +39 -0
  987. package/organizationchart/style/organizationchartstyle.esm.min.js +1 -0
  988. package/organizationchart/style/organizationchartstyle.js +48 -0
  989. package/organizationchart/style/organizationchartstyle.min.js +1 -0
  990. package/organizationchart/style/package.json +6 -0
  991. package/overlayeventbus/package.json +1 -1
  992. package/overlaypanel/BaseOverlayPanel.vue +2 -94
  993. package/overlaypanel/overlaypanel.cjs.js +3 -23
  994. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  995. package/overlaypanel/overlaypanel.esm.js +2 -23
  996. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  997. package/overlaypanel/overlaypanel.js +4 -24
  998. package/overlaypanel/overlaypanel.min.js +1 -1
  999. package/overlaypanel/package.json +8 -8
  1000. package/overlaypanel/style/OverlayPanelStyle.d.ts +3 -0
  1001. package/overlaypanel/style/overlaypanelstyle.cjs.js +28 -0
  1002. package/overlaypanel/style/overlaypanelstyle.cjs.min.js +1 -0
  1003. package/overlaypanel/style/overlaypanelstyle.esm.js +22 -0
  1004. package/overlaypanel/style/overlaypanelstyle.esm.min.js +1 -0
  1005. package/overlaypanel/style/overlaypanelstyle.js +31 -0
  1006. package/overlaypanel/style/overlaypanelstyle.min.js +1 -0
  1007. package/overlaypanel/style/package.json +6 -0
  1008. package/package.json +3 -17
  1009. package/paginator/BasePaginator.vue +2 -102
  1010. package/paginator/package.json +8 -8
  1011. package/paginator/paginator.cjs.js +3 -66
  1012. package/paginator/paginator.cjs.min.js +1 -1
  1013. package/paginator/paginator.esm.js +2 -66
  1014. package/paginator/paginator.esm.min.js +1 -1
  1015. package/paginator/paginator.js +4 -67
  1016. package/paginator/paginator.min.js +1 -1
  1017. package/paginator/style/PaginatorStyle.d.ts +3 -0
  1018. package/paginator/style/package.json +6 -0
  1019. package/paginator/style/paginatorstyle.cjs.js +71 -0
  1020. package/paginator/style/paginatorstyle.cjs.min.js +1 -0
  1021. package/paginator/style/paginatorstyle.esm.js +65 -0
  1022. package/paginator/style/paginatorstyle.esm.min.js +1 -0
  1023. package/paginator/style/paginatorstyle.js +74 -0
  1024. package/paginator/style/paginatorstyle.min.js +1 -0
  1025. package/panel/BasePanel.vue +2 -47
  1026. package/panel/package.json +8 -8
  1027. package/panel/panel.cjs.js +3 -26
  1028. package/panel/panel.cjs.min.js +1 -1
  1029. package/panel/panel.esm.js +2 -26
  1030. package/panel/panel.esm.min.js +1 -1
  1031. package/panel/panel.js +4 -27
  1032. package/panel/panel.min.js +1 -1
  1033. package/panel/style/PanelStyle.d.ts +3 -0
  1034. package/panel/style/package.json +6 -0
  1035. package/panel/style/panelstyle.cjs.js +31 -0
  1036. package/panel/style/panelstyle.cjs.min.js +1 -0
  1037. package/panel/style/panelstyle.esm.js +25 -0
  1038. package/panel/style/panelstyle.esm.min.js +1 -0
  1039. package/panel/style/panelstyle.js +34 -0
  1040. package/panel/style/panelstyle.min.js +1 -0
  1041. package/panelmenu/BasePanelMenu.vue +2 -89
  1042. package/panelmenu/PanelMenuList.vue +1 -1
  1043. package/panelmenu/package.json +8 -8
  1044. package/panelmenu/panelmenu.cjs.js +4 -62
  1045. package/panelmenu/panelmenu.cjs.min.js +1 -1
  1046. package/panelmenu/panelmenu.esm.js +3 -62
  1047. package/panelmenu/panelmenu.esm.min.js +1 -1
  1048. package/panelmenu/panelmenu.js +5 -63
  1049. package/panelmenu/panelmenu.min.js +1 -1
  1050. package/panelmenu/style/PanelMenuStyle.d.ts +3 -0
  1051. package/panelmenu/style/package.json +6 -0
  1052. package/panelmenu/style/panelmenustyle.cjs.js +66 -0
  1053. package/panelmenu/style/panelmenustyle.cjs.min.js +1 -0
  1054. package/panelmenu/style/panelmenustyle.esm.js +60 -0
  1055. package/panelmenu/style/panelmenustyle.esm.min.js +1 -0
  1056. package/panelmenu/style/panelmenustyle.js +69 -0
  1057. package/panelmenu/style/panelmenustyle.min.js +1 -0
  1058. package/passthrough/package.json +1 -1
  1059. package/passthrough/tailwind/index.cjs.js +17 -11
  1060. package/passthrough/tailwind/index.cjs.min.js +1 -1
  1061. package/passthrough/tailwind/index.esm.js +17 -11
  1062. package/passthrough/tailwind/index.esm.min.js +1 -1
  1063. package/passthrough/tailwind/index.js +17 -11
  1064. package/passthrough/tailwind/index.min.js +1 -1
  1065. package/passthrough/tailwind/package.json +1 -1
  1066. package/password/BasePassword.vue +2 -70
  1067. package/password/package.json +8 -8
  1068. package/password/password.cjs.js +3 -50
  1069. package/password/password.cjs.min.js +1 -1
  1070. package/password/password.esm.js +2 -50
  1071. package/password/password.esm.min.js +1 -1
  1072. package/password/password.js +4 -51
  1073. package/password/password.min.js +1 -1
  1074. package/password/style/PasswordStyle.d.ts +3 -0
  1075. package/password/style/package.json +6 -0
  1076. package/password/style/passwordstyle.cjs.js +55 -0
  1077. package/password/style/passwordstyle.cjs.min.js +1 -0
  1078. package/password/style/passwordstyle.esm.js +49 -0
  1079. package/password/style/passwordstyle.esm.min.js +1 -0
  1080. package/password/style/passwordstyle.js +58 -0
  1081. package/password/style/passwordstyle.min.js +1 -0
  1082. package/picklist/BasePickList.vue +2 -70
  1083. package/picklist/package.json +8 -8
  1084. package/picklist/picklist.cjs.js +3 -38
  1085. package/picklist/picklist.cjs.min.js +1 -1
  1086. package/picklist/picklist.esm.js +2 -38
  1087. package/picklist/picklist.esm.min.js +1 -1
  1088. package/picklist/picklist.js +4 -39
  1089. package/picklist/picklist.min.js +1 -1
  1090. package/picklist/style/PickListStyle.d.ts +3 -0
  1091. package/picklist/style/package.json +6 -0
  1092. package/picklist/style/pickliststyle.cjs.js +43 -0
  1093. package/picklist/style/pickliststyle.cjs.min.js +1 -0
  1094. package/picklist/style/pickliststyle.esm.js +37 -0
  1095. package/picklist/style/pickliststyle.esm.min.js +1 -0
  1096. package/picklist/style/pickliststyle.js +46 -0
  1097. package/picklist/style/pickliststyle.min.js +1 -0
  1098. package/portal/package.json +7 -7
  1099. package/portal/style/PortalStyle.d.ts +3 -0
  1100. package/portal/style/package.json +6 -0
  1101. package/portal/style/portalstyle.cjs.js +5 -0
  1102. package/portal/style/portalstyle.cjs.min.js +1 -0
  1103. package/portal/style/portalstyle.esm.js +3 -0
  1104. package/portal/style/portalstyle.esm.min.js +1 -0
  1105. package/portal/style/portalstyle.js +10 -0
  1106. package/portal/style/portalstyle.min.js +1 -0
  1107. package/progressbar/BaseProgressBar.vue +2 -133
  1108. package/progressbar/package.json +8 -8
  1109. package/progressbar/progressbar.cjs.js +3 -23
  1110. package/progressbar/progressbar.cjs.min.js +1 -1
  1111. package/progressbar/progressbar.esm.js +2 -23
  1112. package/progressbar/progressbar.esm.min.js +1 -1
  1113. package/progressbar/progressbar.js +4 -24
  1114. package/progressbar/progressbar.min.js +1 -1
  1115. package/progressbar/style/ProgressBarStyle.d.ts +3 -0
  1116. package/progressbar/style/package.json +6 -0
  1117. package/progressbar/style/progressbarstyle.cjs.js +28 -0
  1118. package/progressbar/style/progressbarstyle.cjs.min.js +1 -0
  1119. package/progressbar/style/progressbarstyle.esm.js +22 -0
  1120. package/progressbar/style/progressbarstyle.esm.min.js +1 -0
  1121. package/progressbar/style/progressbarstyle.js +31 -0
  1122. package/progressbar/style/progressbarstyle.min.js +1 -0
  1123. package/progressspinner/BaseProgressSpinner.vue +2 -43
  1124. package/progressspinner/package.json +8 -8
  1125. package/progressspinner/progressspinner.cjs.js +3 -16
  1126. package/progressspinner/progressspinner.cjs.min.js +1 -1
  1127. package/progressspinner/progressspinner.esm.js +2 -16
  1128. package/progressspinner/progressspinner.esm.min.js +1 -1
  1129. package/progressspinner/progressspinner.js +4 -17
  1130. package/progressspinner/progressspinner.min.js +1 -1
  1131. package/progressspinner/style/ProgressSpinnerStyle.d.ts +3 -0
  1132. package/progressspinner/style/package.json +6 -0
  1133. package/progressspinner/style/progressspinnerstyle.cjs.js +21 -0
  1134. package/progressspinner/style/progressspinnerstyle.cjs.min.js +1 -0
  1135. package/progressspinner/style/progressspinnerstyle.esm.js +15 -0
  1136. package/progressspinner/style/progressspinnerstyle.esm.min.js +1 -0
  1137. package/progressspinner/style/progressspinnerstyle.js +24 -0
  1138. package/progressspinner/style/progressspinnerstyle.min.js +1 -0
  1139. package/radiobutton/BaseRadioButton.vue +2 -23
  1140. package/radiobutton/package.json +8 -8
  1141. package/radiobutton/radiobutton.cjs.js +3 -24
  1142. package/radiobutton/radiobutton.cjs.min.js +1 -1
  1143. package/radiobutton/radiobutton.esm.js +2 -24
  1144. package/radiobutton/radiobutton.esm.min.js +1 -1
  1145. package/radiobutton/radiobutton.js +4 -26
  1146. package/radiobutton/radiobutton.min.js +1 -1
  1147. package/radiobutton/style/RadioButtonStyle.d.ts +3 -0
  1148. package/radiobutton/style/package.json +6 -0
  1149. package/radiobutton/style/radiobuttonstyle.cjs.js +35 -0
  1150. package/radiobutton/style/radiobuttonstyle.cjs.min.js +1 -0
  1151. package/radiobutton/style/radiobuttonstyle.esm.js +29 -0
  1152. package/radiobutton/style/radiobuttonstyle.esm.min.js +1 -0
  1153. package/radiobutton/style/radiobuttonstyle.js +38 -0
  1154. package/radiobutton/style/radiobuttonstyle.min.js +1 -0
  1155. package/rating/BaseRating.vue +2 -53
  1156. package/rating/package.json +8 -8
  1157. package/rating/rating.cjs.js +3 -38
  1158. package/rating/rating.cjs.min.js +1 -1
  1159. package/rating/rating.esm.js +2 -38
  1160. package/rating/rating.esm.min.js +1 -1
  1161. package/rating/rating.js +4 -39
  1162. package/rating/rating.min.js +1 -1
  1163. package/rating/style/RatingStyle.d.ts +3 -0
  1164. package/rating/style/package.json +6 -0
  1165. package/rating/style/ratingstyle.cjs.js +43 -0
  1166. package/rating/style/ratingstyle.cjs.min.js +1 -0
  1167. package/rating/style/ratingstyle.esm.js +37 -0
  1168. package/rating/style/ratingstyle.esm.min.js +1 -0
  1169. package/rating/style/ratingstyle.js +46 -0
  1170. package/rating/style/ratingstyle.min.js +1 -0
  1171. package/resources/themes/arya-blue/theme.css +117 -402
  1172. package/resources/themes/arya-green/theme.css +117 -402
  1173. package/resources/themes/arya-orange/theme.css +117 -402
  1174. package/resources/themes/arya-purple/theme.css +117 -402
  1175. package/resources/themes/bootstrap4-dark-blue/theme.css +117 -402
  1176. package/resources/themes/bootstrap4-dark-purple/theme.css +117 -402
  1177. package/resources/themes/bootstrap4-light-blue/theme.css +117 -402
  1178. package/resources/themes/bootstrap4-light-purple/theme.css +117 -402
  1179. package/resources/themes/fluent-light/theme.css +117 -402
  1180. package/resources/themes/lara-dark-blue/theme.css +118 -402
  1181. package/resources/themes/lara-dark-indigo/theme.css +118 -402
  1182. package/resources/themes/lara-dark-purple/theme.css +118 -402
  1183. package/resources/themes/lara-dark-teal/theme.css +118 -402
  1184. package/resources/themes/lara-light-blue/theme.css +118 -402
  1185. package/resources/themes/lara-light-indigo/theme.css +118 -402
  1186. package/resources/themes/lara-light-purple/theme.css +118 -402
  1187. package/resources/themes/lara-light-teal/theme.css +118 -402
  1188. package/resources/themes/luna-amber/theme.css +117 -402
  1189. package/resources/themes/luna-blue/theme.css +117 -402
  1190. package/resources/themes/luna-green/theme.css +117 -402
  1191. package/resources/themes/luna-pink/theme.css +117 -402
  1192. package/resources/themes/md-dark-deeppurple/theme.css +117 -447
  1193. package/resources/themes/md-dark-indigo/theme.css +117 -447
  1194. package/resources/themes/md-light-deeppurple/theme.css +117 -447
  1195. package/resources/themes/md-light-indigo/theme.css +117 -447
  1196. package/resources/themes/mdc-dark-deeppurple/theme.css +117 -447
  1197. package/resources/themes/mdc-dark-indigo/theme.css +117 -447
  1198. package/resources/themes/mdc-light-deeppurple/theme.css +117 -447
  1199. package/resources/themes/mdc-light-indigo/theme.css +117 -447
  1200. package/resources/themes/mira/theme.css +117 -402
  1201. package/resources/themes/nano/theme.css +117 -402
  1202. package/resources/themes/nova/theme.css +117 -402
  1203. package/resources/themes/nova-accent/theme.css +117 -402
  1204. package/resources/themes/nova-alt/theme.css +117 -402
  1205. package/resources/themes/nova-vue/theme.css +117 -402
  1206. package/resources/themes/rhea/theme.css +117 -402
  1207. package/resources/themes/saga-blue/theme.css +117 -402
  1208. package/resources/themes/saga-green/theme.css +117 -402
  1209. package/resources/themes/saga-orange/theme.css +117 -402
  1210. package/resources/themes/saga-purple/theme.css +117 -402
  1211. package/resources/themes/soho-dark/theme.css +117 -402
  1212. package/resources/themes/soho-light/theme.css +117 -402
  1213. package/resources/themes/tailwind-light/theme.css +117 -402
  1214. package/resources/themes/vela-blue/theme.css +117 -402
  1215. package/resources/themes/vela-green/theme.css +117 -402
  1216. package/resources/themes/vela-orange/theme.css +117 -402
  1217. package/resources/themes/vela-purple/theme.css +117 -402
  1218. package/resources/themes/viva-dark/theme.css +117 -402
  1219. package/resources/themes/viva-light/theme.css +117 -402
  1220. package/ripple/package.json +5 -5
  1221. package/ripple/ripple.cjs.js +15 -26
  1222. package/ripple/ripple.cjs.min.js +1 -1
  1223. package/ripple/ripple.esm.js +14 -26
  1224. package/ripple/ripple.esm.min.js +1 -1
  1225. package/ripple/ripple.js +16 -27
  1226. package/ripple/ripple.min.js +1 -1
  1227. package/ripple/style/RippleStyle.d.ts +3 -0
  1228. package/ripple/style/package.json +6 -0
  1229. package/ripple/style/ripplestyle.cjs.js +19 -0
  1230. package/ripple/style/ripplestyle.cjs.min.js +1 -0
  1231. package/ripple/style/ripplestyle.esm.js +13 -0
  1232. package/ripple/style/ripplestyle.esm.min.js +1 -0
  1233. package/ripple/style/ripplestyle.js +22 -0
  1234. package/ripple/style/ripplestyle.min.js +1 -0
  1235. package/row/package.json +8 -8
  1236. package/row/style/RowStyle.d.ts +3 -0
  1237. package/row/style/package.json +6 -0
  1238. package/row/style/rowstyle.cjs.js +5 -0
  1239. package/row/style/rowstyle.cjs.min.js +1 -0
  1240. package/row/style/rowstyle.esm.js +3 -0
  1241. package/row/style/rowstyle.esm.min.js +1 -0
  1242. package/row/style/rowstyle.js +10 -0
  1243. package/row/style/rowstyle.min.js +1 -0
  1244. package/scrollpanel/BaseScrollPanel.vue +2 -75
  1245. package/scrollpanel/package.json +8 -8
  1246. package/scrollpanel/scrollpanel.cjs.js +3 -18
  1247. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  1248. package/scrollpanel/scrollpanel.esm.js +2 -18
  1249. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  1250. package/scrollpanel/scrollpanel.js +4 -19
  1251. package/scrollpanel/scrollpanel.min.js +1 -1
  1252. package/scrollpanel/style/ScrollPanelStyle.d.ts +3 -0
  1253. package/scrollpanel/style/package.json +6 -0
  1254. package/scrollpanel/style/scrollpanelstyle.cjs.js +23 -0
  1255. package/scrollpanel/style/scrollpanelstyle.cjs.min.js +1 -0
  1256. package/scrollpanel/style/scrollpanelstyle.esm.js +17 -0
  1257. package/scrollpanel/style/scrollpanelstyle.esm.min.js +1 -0
  1258. package/scrollpanel/style/scrollpanelstyle.js +26 -0
  1259. package/scrollpanel/style/scrollpanelstyle.min.js +1 -0
  1260. package/scrolltop/BaseScrollTop.vue +2 -49
  1261. package/scrolltop/package.json +8 -8
  1262. package/scrolltop/scrolltop.cjs.js +3 -20
  1263. package/scrolltop/scrolltop.cjs.min.js +1 -1
  1264. package/scrolltop/scrolltop.esm.js +2 -20
  1265. package/scrolltop/scrolltop.esm.min.js +1 -1
  1266. package/scrolltop/scrolltop.js +4 -21
  1267. package/scrolltop/scrolltop.min.js +1 -1
  1268. package/scrolltop/style/ScrollTopStyle.d.ts +3 -0
  1269. package/scrolltop/style/package.json +6 -0
  1270. package/scrolltop/style/scrolltopstyle.cjs.js +25 -0
  1271. package/scrolltop/style/scrolltopstyle.cjs.min.js +1 -0
  1272. package/scrolltop/style/scrolltopstyle.esm.js +19 -0
  1273. package/scrolltop/style/scrolltopstyle.esm.min.js +1 -0
  1274. package/scrolltop/style/scrolltopstyle.js +28 -0
  1275. package/scrolltop/style/scrolltopstyle.min.js +1 -0
  1276. package/selectbutton/BaseSelectButton.vue +6 -15
  1277. package/selectbutton/SelectButton.d.ts +7 -1
  1278. package/selectbutton/SelectButton.vue +1 -1
  1279. package/selectbutton/package.json +8 -8
  1280. package/selectbutton/selectbutton.cjs.js +8 -21
  1281. package/selectbutton/selectbutton.cjs.min.js +1 -1
  1282. package/selectbutton/selectbutton.esm.js +7 -21
  1283. package/selectbutton/selectbutton.esm.min.js +1 -1
  1284. package/selectbutton/selectbutton.js +9 -23
  1285. package/selectbutton/selectbutton.min.js +1 -1
  1286. package/selectbutton/style/SelectButtonStyle.d.ts +3 -0
  1287. package/selectbutton/style/package.json +6 -0
  1288. package/selectbutton/style/selectbuttonstyle.cjs.js +31 -0
  1289. package/selectbutton/style/selectbuttonstyle.cjs.min.js +1 -0
  1290. package/selectbutton/style/selectbuttonstyle.esm.js +25 -0
  1291. package/selectbutton/style/selectbuttonstyle.esm.min.js +1 -0
  1292. package/selectbutton/style/selectbuttonstyle.js +34 -0
  1293. package/selectbutton/style/selectbuttonstyle.min.js +1 -0
  1294. package/sidebar/BaseSidebar.vue +2 -206
  1295. package/sidebar/Sidebar.vue +7 -9
  1296. package/sidebar/package.json +8 -8
  1297. package/sidebar/sidebar.cjs.js +9 -67
  1298. package/sidebar/sidebar.cjs.min.js +1 -1
  1299. package/sidebar/sidebar.esm.js +8 -67
  1300. package/sidebar/sidebar.esm.min.js +1 -1
  1301. package/sidebar/sidebar.js +10 -68
  1302. package/sidebar/sidebar.min.js +1 -1
  1303. package/sidebar/style/SidebarStyle.d.ts +3 -0
  1304. package/sidebar/style/package.json +6 -0
  1305. package/sidebar/style/sidebarstyle.cjs.js +61 -0
  1306. package/sidebar/style/sidebarstyle.cjs.min.js +1 -0
  1307. package/sidebar/style/sidebarstyle.esm.js +55 -0
  1308. package/sidebar/style/sidebarstyle.esm.min.js +1 -0
  1309. package/sidebar/style/sidebarstyle.js +64 -0
  1310. package/sidebar/style/sidebarstyle.min.js +1 -0
  1311. package/skeleton/BaseSkeleton.vue +2 -59
  1312. package/skeleton/package.json +8 -8
  1313. package/skeleton/skeleton.cjs.js +3 -26
  1314. package/skeleton/skeleton.cjs.min.js +1 -1
  1315. package/skeleton/skeleton.esm.js +2 -26
  1316. package/skeleton/skeleton.esm.min.js +1 -1
  1317. package/skeleton/skeleton.js +4 -27
  1318. package/skeleton/skeleton.min.js +1 -1
  1319. package/skeleton/style/SkeletonStyle.d.ts +3 -0
  1320. package/skeleton/style/package.json +6 -0
  1321. package/skeleton/style/skeletonstyle.cjs.js +31 -0
  1322. package/skeleton/style/skeletonstyle.cjs.min.js +1 -0
  1323. package/skeleton/style/skeletonstyle.esm.js +25 -0
  1324. package/skeleton/style/skeletonstyle.esm.min.js +1 -0
  1325. package/skeleton/style/skeletonstyle.js +34 -0
  1326. package/skeleton/style/skeletonstyle.min.js +1 -0
  1327. package/slider/BaseSlider.vue +2 -68
  1328. package/slider/Slider.vue +2 -2
  1329. package/slider/package.json +8 -8
  1330. package/slider/slider.cjs.js +4 -33
  1331. package/slider/slider.cjs.min.js +1 -1
  1332. package/slider/slider.esm.js +3 -33
  1333. package/slider/slider.esm.min.js +1 -1
  1334. package/slider/slider.js +5 -34
  1335. package/slider/slider.min.js +1 -1
  1336. package/slider/style/SliderStyle.d.ts +3 -0
  1337. package/slider/style/package.json +6 -0
  1338. package/slider/style/sliderstyle.cjs.js +37 -0
  1339. package/slider/style/sliderstyle.cjs.min.js +1 -0
  1340. package/slider/style/sliderstyle.esm.js +31 -0
  1341. package/slider/style/sliderstyle.esm.min.js +1 -0
  1342. package/slider/style/sliderstyle.js +40 -0
  1343. package/slider/style/sliderstyle.min.js +1 -0
  1344. package/speeddial/BaseSpeedDial.vue +2 -138
  1345. package/speeddial/package.json +2 -2
  1346. package/speeddial/speeddial.cjs.js +3 -69
  1347. package/speeddial/speeddial.cjs.min.js +1 -1
  1348. package/speeddial/speeddial.esm.js +2 -69
  1349. package/speeddial/speeddial.esm.min.js +1 -1
  1350. package/speeddial/speeddial.js +4 -70
  1351. package/speeddial/speeddial.min.js +1 -1
  1352. package/speeddial/style/SpeedDialStyle.d.ts +3 -0
  1353. package/speeddial/style/package.json +6 -0
  1354. package/speeddial/style/speeddialstyle.cjs.js +74 -0
  1355. package/speeddial/style/speeddialstyle.cjs.min.js +1 -0
  1356. package/speeddial/style/speeddialstyle.esm.js +68 -0
  1357. package/speeddial/style/speeddialstyle.esm.min.js +1 -0
  1358. package/speeddial/style/speeddialstyle.js +77 -0
  1359. package/speeddial/style/speeddialstyle.min.js +1 -0
  1360. package/splitbutton/BaseSplitButton.vue +2 -60
  1361. package/splitbutton/package.json +8 -8
  1362. package/splitbutton/splitbutton.cjs.js +3 -24
  1363. package/splitbutton/splitbutton.cjs.min.js +1 -1
  1364. package/splitbutton/splitbutton.esm.js +2 -24
  1365. package/splitbutton/splitbutton.esm.min.js +1 -1
  1366. package/splitbutton/splitbutton.js +4 -25
  1367. package/splitbutton/splitbutton.min.js +1 -1
  1368. package/splitbutton/style/SplitButtonStyle.d.ts +3 -0
  1369. package/splitbutton/style/package.json +6 -0
  1370. package/splitbutton/style/splitbuttonstyle.cjs.js +29 -0
  1371. package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -0
  1372. package/splitbutton/style/splitbuttonstyle.esm.js +23 -0
  1373. package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -0
  1374. package/splitbutton/style/splitbuttonstyle.js +32 -0
  1375. package/splitbutton/style/splitbuttonstyle.min.js +1 -0
  1376. package/splitter/BaseSplitter.vue +2 -68
  1377. package/splitter/Splitter.d.ts +20 -0
  1378. package/splitter/Splitter.vue +3 -1
  1379. package/splitter/package.json +8 -8
  1380. package/splitter/splitter.cjs.js +8 -32
  1381. package/splitter/splitter.cjs.min.js +1 -1
  1382. package/splitter/splitter.esm.js +7 -32
  1383. package/splitter/splitter.esm.min.js +1 -1
  1384. package/splitter/splitter.js +9 -33
  1385. package/splitter/splitter.min.js +1 -1
  1386. package/splitter/style/SplitterStyle.d.ts +3 -0
  1387. package/splitter/style/package.json +6 -0
  1388. package/splitter/style/splitterstyle.cjs.js +36 -0
  1389. package/splitter/style/splitterstyle.cjs.min.js +1 -0
  1390. package/splitter/style/splitterstyle.esm.js +30 -0
  1391. package/splitter/style/splitterstyle.esm.min.js +1 -0
  1392. package/splitter/style/splitterstyle.js +39 -0
  1393. package/splitter/style/splitterstyle.min.js +1 -0
  1394. package/splitterpanel/BaseSplitterPanel.vue +2 -28
  1395. package/splitterpanel/package.json +8 -8
  1396. package/splitterpanel/splitterpanel.cjs.js +3 -19
  1397. package/splitterpanel/splitterpanel.cjs.min.js +1 -1
  1398. package/splitterpanel/splitterpanel.esm.js +2 -19
  1399. package/splitterpanel/splitterpanel.esm.min.js +1 -1
  1400. package/splitterpanel/splitterpanel.js +4 -20
  1401. package/splitterpanel/splitterpanel.min.js +1 -1
  1402. package/splitterpanel/style/SplitterPanelStyle.d.ts +3 -0
  1403. package/splitterpanel/style/package.json +6 -0
  1404. package/splitterpanel/style/splitterpanelstyle.cjs.js +24 -0
  1405. package/splitterpanel/style/splitterpanelstyle.cjs.min.js +1 -0
  1406. package/splitterpanel/style/splitterpanelstyle.esm.js +18 -0
  1407. package/splitterpanel/style/splitterpanelstyle.esm.min.js +1 -0
  1408. package/splitterpanel/style/splitterpanelstyle.js +27 -0
  1409. package/splitterpanel/style/splitterpanelstyle.min.js +1 -0
  1410. package/steps/BaseSteps.vue +2 -84
  1411. package/steps/package.json +8 -8
  1412. package/steps/steps.cjs.js +3 -39
  1413. package/steps/steps.cjs.min.js +1 -1
  1414. package/steps/steps.esm.js +2 -39
  1415. package/steps/steps.esm.min.js +1 -1
  1416. package/steps/steps.js +4 -40
  1417. package/steps/steps.min.js +1 -1
  1418. package/steps/style/StepsStyle.d.ts +3 -0
  1419. package/steps/style/package.json +6 -0
  1420. package/steps/style/stepsstyle.cjs.js +44 -0
  1421. package/steps/style/stepsstyle.cjs.min.js +1 -0
  1422. package/steps/style/stepsstyle.esm.js +38 -0
  1423. package/steps/style/stepsstyle.esm.min.js +1 -0
  1424. package/steps/style/stepsstyle.js +47 -0
  1425. package/steps/style/stepsstyle.min.js +1 -0
  1426. package/styleclass/package.json +1 -1
  1427. package/styleclass/style/StyleClassStyle.d.ts +3 -0
  1428. package/styleclass/style/package.json +6 -0
  1429. package/styleclass/style/styleclassstyle.cjs.js +5 -0
  1430. package/styleclass/style/styleclassstyle.cjs.min.js +1 -0
  1431. package/styleclass/style/styleclassstyle.esm.js +3 -0
  1432. package/styleclass/style/styleclassstyle.esm.min.js +1 -0
  1433. package/styleclass/style/styleclassstyle.js +10 -0
  1434. package/styleclass/style/styleclassstyle.min.js +1 -0
  1435. package/tabmenu/BaseTabMenu.vue +2 -67
  1436. package/tabmenu/package.json +8 -8
  1437. package/tabmenu/style/TabMenuStyle.d.ts +3 -0
  1438. package/tabmenu/style/package.json +6 -0
  1439. package/tabmenu/style/tabmenustyle.cjs.js +36 -0
  1440. package/tabmenu/style/tabmenustyle.cjs.min.js +1 -0
  1441. package/tabmenu/style/tabmenustyle.esm.js +30 -0
  1442. package/tabmenu/style/tabmenustyle.esm.min.js +1 -0
  1443. package/tabmenu/style/tabmenustyle.js +39 -0
  1444. package/tabmenu/style/tabmenustyle.min.js +1 -0
  1445. package/tabmenu/tabmenu.cjs.js +3 -31
  1446. package/tabmenu/tabmenu.cjs.min.js +1 -1
  1447. package/tabmenu/tabmenu.esm.js +2 -31
  1448. package/tabmenu/tabmenu.esm.min.js +1 -1
  1449. package/tabmenu/tabmenu.js +4 -32
  1450. package/tabmenu/tabmenu.min.js +1 -1
  1451. package/tabpanel/BaseTabPanel.vue +3 -1
  1452. package/tabpanel/package.json +8 -8
  1453. package/tabpanel/style/TabPanelStyle.d.ts +3 -0
  1454. package/tabpanel/style/package.json +6 -0
  1455. package/tabpanel/style/tabpanelstyle.cjs.js +5 -0
  1456. package/tabpanel/style/tabpanelstyle.cjs.min.js +1 -0
  1457. package/tabpanel/style/tabpanelstyle.esm.js +3 -0
  1458. package/tabpanel/style/tabpanelstyle.esm.min.js +1 -0
  1459. package/tabpanel/style/tabpanelstyle.js +10 -0
  1460. package/tabpanel/style/tabpanelstyle.min.js +1 -0
  1461. package/tabpanel/tabpanel.cjs.js +4 -1
  1462. package/tabpanel/tabpanel.cjs.min.js +1 -1
  1463. package/tabpanel/tabpanel.esm.js +3 -1
  1464. package/tabpanel/tabpanel.esm.min.js +1 -1
  1465. package/tabpanel/tabpanel.js +5 -3
  1466. package/tabpanel/tabpanel.min.js +1 -1
  1467. package/tabview/BaseTabView.vue +2 -110
  1468. package/tabview/package.json +8 -8
  1469. package/tabview/style/TabViewStyle.d.ts +3 -0
  1470. package/tabview/style/package.json +6 -0
  1471. package/tabview/style/tabviewstyle.cjs.js +49 -0
  1472. package/tabview/style/tabviewstyle.cjs.min.js +1 -0
  1473. package/tabview/style/tabviewstyle.esm.js +43 -0
  1474. package/tabview/style/tabviewstyle.esm.min.js +1 -0
  1475. package/tabview/style/tabviewstyle.js +52 -0
  1476. package/tabview/style/tabviewstyle.min.js +1 -0
  1477. package/tabview/tabview.cjs.js +3 -44
  1478. package/tabview/tabview.cjs.min.js +1 -1
  1479. package/tabview/tabview.esm.js +2 -44
  1480. package/tabview/tabview.esm.min.js +1 -1
  1481. package/tabview/tabview.js +4 -45
  1482. package/tabview/tabview.min.js +1 -1
  1483. package/tag/BaseTag.vue +2 -42
  1484. package/tag/package.json +8 -8
  1485. package/tag/style/TagStyle.d.ts +3 -0
  1486. package/tag/style/package.json +6 -0
  1487. package/tag/style/tagstyle.cjs.js +30 -0
  1488. package/tag/style/tagstyle.cjs.min.js +1 -0
  1489. package/tag/style/tagstyle.esm.js +24 -0
  1490. package/tag/style/tagstyle.esm.min.js +1 -0
  1491. package/tag/style/tagstyle.js +33 -0
  1492. package/tag/style/tagstyle.min.js +1 -0
  1493. package/tag/tag.cjs.js +3 -25
  1494. package/tag/tag.cjs.min.js +1 -1
  1495. package/tag/tag.esm.js +2 -25
  1496. package/tag/tag.esm.min.js +1 -1
  1497. package/tag/tag.js +4 -26
  1498. package/tag/tag.min.js +1 -1
  1499. package/terminal/BaseTerminal.vue +2 -44
  1500. package/terminal/package.json +8 -8
  1501. package/terminal/style/TerminalStyle.d.ts +3 -0
  1502. package/terminal/style/package.json +6 -0
  1503. package/terminal/style/terminalstyle.cjs.js +25 -0
  1504. package/terminal/style/terminalstyle.cjs.min.js +1 -0
  1505. package/terminal/style/terminalstyle.esm.js +19 -0
  1506. package/terminal/style/terminalstyle.esm.min.js +1 -0
  1507. package/terminal/style/terminalstyle.js +28 -0
  1508. package/terminal/style/terminalstyle.min.js +1 -0
  1509. package/terminal/terminal.cjs.js +3 -20
  1510. package/terminal/terminal.cjs.min.js +1 -1
  1511. package/terminal/terminal.esm.js +2 -20
  1512. package/terminal/terminal.esm.min.js +1 -1
  1513. package/terminal/terminal.js +4 -21
  1514. package/terminal/terminal.min.js +1 -1
  1515. package/terminalservice/package.json +5 -5
  1516. package/textarea/BaseTextarea.vue +2 -30
  1517. package/textarea/package.json +8 -8
  1518. package/textarea/style/TextareaStyle.d.ts +3 -0
  1519. package/textarea/style/package.json +6 -0
  1520. package/textarea/style/textareastyle.cjs.js +26 -0
  1521. package/textarea/style/textareastyle.cjs.min.js +1 -0
  1522. package/textarea/style/textareastyle.esm.js +20 -0
  1523. package/textarea/style/textareastyle.esm.min.js +1 -0
  1524. package/textarea/style/textareastyle.js +29 -0
  1525. package/textarea/style/textareastyle.min.js +1 -0
  1526. package/textarea/textarea.cjs.js +3 -21
  1527. package/textarea/textarea.cjs.min.js +1 -1
  1528. package/textarea/textarea.esm.js +2 -21
  1529. package/textarea/textarea.esm.min.js +1 -1
  1530. package/textarea/textarea.js +4 -22
  1531. package/textarea/textarea.min.js +1 -1
  1532. package/tieredmenu/BaseTieredMenu.vue +2 -89
  1533. package/tieredmenu/package.json +8 -8
  1534. package/tieredmenu/style/TieredMenuStyle.d.ts +3 -0
  1535. package/tieredmenu/style/package.json +6 -0
  1536. package/tieredmenu/style/tieredmenustyle.cjs.js +62 -0
  1537. package/tieredmenu/style/tieredmenustyle.cjs.min.js +1 -0
  1538. package/tieredmenu/style/tieredmenustyle.esm.js +56 -0
  1539. package/tieredmenu/style/tieredmenustyle.esm.min.js +1 -0
  1540. package/tieredmenu/style/tieredmenustyle.js +65 -0
  1541. package/tieredmenu/style/tieredmenustyle.min.js +1 -0
  1542. package/tieredmenu/tieredmenu.cjs.js +3 -57
  1543. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  1544. package/tieredmenu/tieredmenu.esm.js +2 -57
  1545. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  1546. package/tieredmenu/tieredmenu.js +4 -58
  1547. package/tieredmenu/tieredmenu.min.js +1 -1
  1548. package/timeline/BaseTimeline.vue +2 -132
  1549. package/timeline/package.json +8 -8
  1550. package/timeline/style/TimelineStyle.d.ts +3 -0
  1551. package/timeline/style/package.json +6 -0
  1552. package/timeline/style/timelinestyle.cjs.js +28 -0
  1553. package/timeline/style/timelinestyle.cjs.min.js +1 -0
  1554. package/timeline/style/timelinestyle.esm.js +22 -0
  1555. package/timeline/style/timelinestyle.esm.min.js +1 -0
  1556. package/timeline/style/timelinestyle.js +31 -0
  1557. package/timeline/style/timelinestyle.min.js +1 -0
  1558. package/timeline/timeline.cjs.js +3 -23
  1559. package/timeline/timeline.cjs.min.js +1 -1
  1560. package/timeline/timeline.esm.js +2 -23
  1561. package/timeline/timeline.esm.min.js +1 -1
  1562. package/timeline/timeline.js +4 -24
  1563. package/timeline/timeline.min.js +1 -1
  1564. package/toast/BaseToast.vue +2 -130
  1565. package/toast/Toast.d.ts +5 -0
  1566. package/toast/Toast.vue +5 -0
  1567. package/toast/package.json +8 -8
  1568. package/toast/style/ToastStyle.d.ts +3 -0
  1569. package/toast/style/package.json +6 -0
  1570. package/toast/style/toaststyle.cjs.js +65 -0
  1571. package/toast/style/toaststyle.cjs.min.js +1 -0
  1572. package/toast/style/toaststyle.esm.js +59 -0
  1573. package/toast/style/toaststyle.esm.min.js +1 -0
  1574. package/toast/style/toaststyle.js +68 -0
  1575. package/toast/style/toaststyle.min.js +1 -0
  1576. package/toast/toast.cjs.js +11 -60
  1577. package/toast/toast.cjs.min.js +1 -1
  1578. package/toast/toast.esm.js +10 -60
  1579. package/toast/toast.esm.min.js +1 -1
  1580. package/toast/toast.js +12 -61
  1581. package/toast/toast.min.js +1 -1
  1582. package/toasteventbus/package.json +1 -1
  1583. package/toastservice/ToastService.d.ts +5 -0
  1584. package/toastservice/package.json +5 -5
  1585. package/toastservice/toastservice.cjs.js +3 -0
  1586. package/toastservice/toastservice.cjs.min.js +1 -1
  1587. package/toastservice/toastservice.esm.js +3 -0
  1588. package/toastservice/toastservice.esm.min.js +1 -1
  1589. package/toastservice/toastservice.js +3 -0
  1590. package/toastservice/toastservice.min.js +1 -1
  1591. package/togglebutton/BaseToggleButton.vue +2 -23
  1592. package/togglebutton/package.json +8 -8
  1593. package/togglebutton/style/ToggleButtonStyle.d.ts +3 -0
  1594. package/togglebutton/style/package.json +6 -0
  1595. package/togglebutton/style/togglebuttonstyle.cjs.js +35 -0
  1596. package/togglebutton/style/togglebuttonstyle.cjs.min.js +1 -0
  1597. package/togglebutton/style/togglebuttonstyle.esm.js +29 -0
  1598. package/togglebutton/style/togglebuttonstyle.esm.min.js +1 -0
  1599. package/togglebutton/style/togglebuttonstyle.js +38 -0
  1600. package/togglebutton/style/togglebuttonstyle.min.js +1 -0
  1601. package/togglebutton/togglebutton.cjs.js +3 -24
  1602. package/togglebutton/togglebutton.cjs.min.js +1 -1
  1603. package/togglebutton/togglebutton.esm.js +2 -24
  1604. package/togglebutton/togglebutton.esm.min.js +1 -1
  1605. package/togglebutton/togglebutton.js +4 -26
  1606. package/togglebutton/togglebutton.min.js +1 -1
  1607. package/toolbar/BaseToolbar.vue +2 -38
  1608. package/toolbar/package.json +8 -8
  1609. package/toolbar/style/ToolbarStyle.d.ts +3 -0
  1610. package/toolbar/style/package.json +6 -0
  1611. package/toolbar/style/toolbarstyle.cjs.js +22 -0
  1612. package/toolbar/style/toolbarstyle.cjs.min.js +1 -0
  1613. package/toolbar/style/toolbarstyle.esm.js +16 -0
  1614. package/toolbar/style/toolbarstyle.esm.min.js +1 -0
  1615. package/toolbar/style/toolbarstyle.js +25 -0
  1616. package/toolbar/style/toolbarstyle.min.js +1 -0
  1617. package/toolbar/toolbar.cjs.js +3 -17
  1618. package/toolbar/toolbar.cjs.min.js +1 -1
  1619. package/toolbar/toolbar.esm.js +2 -17
  1620. package/toolbar/toolbar.esm.min.js +1 -1
  1621. package/toolbar/toolbar.js +4 -18
  1622. package/toolbar/toolbar.min.js +1 -1
  1623. package/tooltip/package.json +5 -5
  1624. package/tooltip/style/TooltipStyle.d.ts +3 -0
  1625. package/tooltip/style/package.json +6 -0
  1626. package/tooltip/style/tooltipstyle.cjs.js +21 -0
  1627. package/tooltip/style/tooltipstyle.cjs.min.js +1 -0
  1628. package/tooltip/style/tooltipstyle.esm.js +15 -0
  1629. package/tooltip/style/tooltipstyle.esm.min.js +1 -0
  1630. package/tooltip/style/tooltipstyle.js +24 -0
  1631. package/tooltip/style/tooltipstyle.min.js +1 -0
  1632. package/tooltip/tooltip.cjs.js +10 -25
  1633. package/tooltip/tooltip.cjs.min.js +1 -1
  1634. package/tooltip/tooltip.esm.js +9 -25
  1635. package/tooltip/tooltip.esm.min.js +1 -1
  1636. package/tooltip/tooltip.js +11 -26
  1637. package/tooltip/tooltip.min.js +1 -1
  1638. package/tree/BaseTree.vue +2 -134
  1639. package/tree/Tree.d.ts +5 -2
  1640. package/tree/package.json +8 -8
  1641. package/tree/style/TreeStyle.d.ts +3 -0
  1642. package/tree/style/package.json +6 -0
  1643. package/tree/style/treestyle.cjs.js +63 -0
  1644. package/tree/style/treestyle.cjs.min.js +1 -0
  1645. package/tree/style/treestyle.esm.js +57 -0
  1646. package/tree/style/treestyle.esm.min.js +1 -0
  1647. package/tree/style/treestyle.js +66 -0
  1648. package/tree/style/treestyle.min.js +1 -0
  1649. package/tree/tree.cjs.js +3 -58
  1650. package/tree/tree.cjs.min.js +1 -1
  1651. package/tree/tree.esm.js +2 -58
  1652. package/tree/tree.esm.min.js +1 -1
  1653. package/tree/tree.js +4 -59
  1654. package/tree/tree.min.js +1 -1
  1655. package/treeselect/BaseTreeSelect.vue +2 -101
  1656. package/treeselect/package.json +2 -2
  1657. package/treeselect/style/TreeSelectStyle.d.ts +3 -0
  1658. package/treeselect/style/package.json +6 -0
  1659. package/treeselect/style/treeselectstyle.cjs.js +60 -0
  1660. package/treeselect/style/treeselectstyle.cjs.min.js +1 -0
  1661. package/treeselect/style/treeselectstyle.esm.js +54 -0
  1662. package/treeselect/style/treeselectstyle.esm.min.js +1 -0
  1663. package/treeselect/style/treeselectstyle.js +63 -0
  1664. package/treeselect/style/treeselectstyle.min.js +1 -0
  1665. package/treeselect/treeselect.cjs.js +3 -55
  1666. package/treeselect/treeselect.cjs.min.js +1 -1
  1667. package/treeselect/treeselect.esm.js +2 -55
  1668. package/treeselect/treeselect.esm.min.js +1 -1
  1669. package/treeselect/treeselect.js +4 -56
  1670. package/treeselect/treeselect.min.js +1 -1
  1671. package/treetable/BaseTreeTable.vue +2 -271
  1672. package/treetable/TreeTable.vue +7 -23
  1673. package/treetable/package.json +8 -8
  1674. package/treetable/style/TreeTableStyle.d.ts +3 -0
  1675. package/treetable/style/package.json +6 -0
  1676. package/treetable/style/treetablestyle.cjs.js +110 -0
  1677. package/treetable/style/treetablestyle.cjs.min.js +1 -0
  1678. package/treetable/style/treetablestyle.esm.js +104 -0
  1679. package/treetable/style/treetablestyle.esm.min.js +1 -0
  1680. package/treetable/style/treetablestyle.js +113 -0
  1681. package/treetable/style/treetablestyle.min.js +1 -0
  1682. package/treetable/treetable.cjs.js +9 -121
  1683. package/treetable/treetable.cjs.min.js +1 -1
  1684. package/treetable/treetable.esm.js +8 -121
  1685. package/treetable/treetable.esm.min.js +1 -1
  1686. package/treetable/treetable.js +10 -122
  1687. package/treetable/treetable.min.js +1 -1
  1688. package/tristatecheckbox/BaseTriStateCheckbox.vue +2 -25
  1689. package/tristatecheckbox/package.json +8 -8
  1690. package/tristatecheckbox/style/TriStateCheckboxStyle.d.ts +3 -0
  1691. package/tristatecheckbox/style/package.json +6 -0
  1692. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.js +37 -0
  1693. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.min.js +1 -0
  1694. package/tristatecheckbox/style/tristatecheckboxstyle.esm.js +31 -0
  1695. package/tristatecheckbox/style/tristatecheckboxstyle.esm.min.js +1 -0
  1696. package/tristatecheckbox/style/tristatecheckboxstyle.js +40 -0
  1697. package/tristatecheckbox/style/tristatecheckboxstyle.min.js +1 -0
  1698. package/tristatecheckbox/tristatecheckbox.cjs.js +3 -26
  1699. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  1700. package/tristatecheckbox/tristatecheckbox.esm.js +2 -26
  1701. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  1702. package/tristatecheckbox/tristatecheckbox.js +4 -28
  1703. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  1704. package/useconfirm/package.json +5 -5
  1705. package/usedialog/package.json +1 -1
  1706. package/usestyle/UseStyle.d.ts +6 -6
  1707. package/usestyle/package.json +1 -1
  1708. package/usestyle/usestyle.cjs.js +15 -10
  1709. package/usestyle/usestyle.cjs.min.js +1 -1
  1710. package/usestyle/usestyle.esm.js +15 -10
  1711. package/usestyle/usestyle.esm.min.js +1 -1
  1712. package/usestyle/usestyle.js +15 -10
  1713. package/usestyle/usestyle.min.js +1 -1
  1714. package/usetoast/package.json +5 -5
  1715. package/utils/Utils.d.ts +5 -0
  1716. package/utils/package.json +4 -4
  1717. package/utils/utils.cjs.js +40 -0
  1718. package/utils/utils.cjs.min.js +1 -1
  1719. package/utils/utils.esm.js +40 -0
  1720. package/utils/utils.esm.min.js +1 -1
  1721. package/utils/utils.js +40 -0
  1722. package/utils/utils.min.js +1 -1
  1723. package/vetur-attributes.json +4 -0
  1724. package/vetur-tags.json +1 -0
  1725. package/virtualscroller/BaseVirtualScroller.vue +3 -67
  1726. package/virtualscroller/package.json +2 -2
  1727. package/virtualscroller/style/VirtualScrollerStyle.d.ts +3 -0
  1728. package/virtualscroller/style/package.json +6 -0
  1729. package/virtualscroller/style/virtualscrollerstyle.cjs.js +15 -0
  1730. package/virtualscroller/style/virtualscrollerstyle.cjs.min.js +1 -0
  1731. package/virtualscroller/style/virtualscrollerstyle.esm.js +9 -0
  1732. package/virtualscroller/style/virtualscrollerstyle.esm.min.js +1 -0
  1733. package/virtualscroller/style/virtualscrollerstyle.js +18 -0
  1734. package/virtualscroller/style/virtualscrollerstyle.min.js +1 -0
  1735. package/virtualscroller/virtualscroller.cjs.js +4 -8
  1736. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  1737. package/virtualscroller/virtualscroller.esm.js +3 -8
  1738. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  1739. package/virtualscroller/virtualscroller.js +5 -9
  1740. package/virtualscroller/virtualscroller.min.js +1 -1
  1741. package/web-types.json +11 -1
@@ -1 +1 @@
1
- "use strict";var e=require("primevue/utils"),t=require("primevue/basecomponent"),n=require("primevue/usestyle"),a=require("vue"),o=require("primevue/icons/angledoubleleft"),r=require("primevue/ripple"),i=require("primevue/dropdown"),l=require("primevue/inputnumber"),s=require("primevue/icons/angledoubleright"),p=require("primevue/icons/angleright"),u=require("primevue/icons/angleleft");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=c(t),d=c(o),m=c(r),f=c(i),h=c(l),P=c(s),b=c(p),y=c(u);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function k(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){var t=B(e,"string");return"symbol"===v(t)?t:String(t)}function B(e,t){if("object"!==v(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==v(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var L={paginator:function(e){var t=e.instance,n=e.key;return["p-paginator p-component",k({"p-paginator-default":!t.hasBreakpoints()},"p-paginator-".concat(n),t.hasBreakpoints())]},start:"p-paginator-left-content",end:"p-paginator-right-content",firstPageButton:function(e){return["p-paginator-first p-paginator-element p-link",{"p-disabled":e.instance.$attrs.disabled}]},firstPageIcon:"p-paginator-icon",previousPageButton:function(e){return["p-paginator-prev p-paginator-element p-link",{"p-disabled":e.instance.$attrs.disabled}]},previousPageIcon:"p-paginator-icon",nextPageButton:function(e){return["p-paginator-next p-paginator-element p-link",{"p-disabled":e.instance.$attrs.disabled}]},nextPageIcon:"p-paginator-icon",lastPageButton:function(e){return["p-paginator-last p-paginator-element p-link",{"p-disabled":e.instance.$attrs.disabled}]},lastPageIcon:"p-paginator-icon",pages:"p-paginator-pages",pageButton:function(e){return["p-paginator-page p-paginator-element p-link",{"p-highlight":e.pageLink-1===e.props.page}]},current:"p-paginator-current",rowPerPageDropdown:"p-paginator-rpp-options",jumpToPageDropdown:"p-paginator-page-options",jumpToPageInput:"p-paginator-page-input"},C=n.useStyle("\n@layer primevue {\n .p-paginator-default {\n display: flex;\n }\n \n .p-paginator {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n }\n \n .p-paginator-left-content {\n margin-right: auto;\n }\n \n .p-paginator-right-content {\n margin-left: auto;\n }\n \n .p-paginator-page,\n .p-paginator-next,\n .p-paginator-last,\n .p-paginator-first,\n .p-paginator-prev,\n .p-paginator-current {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n user-select: none;\n overflow: hidden;\n position: relative;\n }\n \n .p-paginator-element:focus {\n z-index: 1;\n position: relative;\n }\n}\n",{name:"paginator",manual:!0}),x={name:"BasePaginator",extends:g.default,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},css:{classes:L,loadStyle:C.load},provide:function(){return{$parentInstance:this}}},D={name:"CurrentPageReport",hostName:"Paginator",extends:g.default,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var e=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return e}}};D.render=function(e,t,n,o,r,i){return a.openBlock(),a.createElementBlock("span",a.mergeProps({class:e.cx("current")},e.ptm("current")),a.toDisplayString(i.text),17)};var S={name:"FirstPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:d.default},directives:{ripple:m.default}};S.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("firstPageButton"),type:"button"},i.getPTOptions("firstPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleDoubleLeftIcon"),a.mergeProps({class:e.cx("firstPageIcon")},i.getPTOptions("firstPageIcon")),null,16,["class"]))],16)),[[l]])};var T={name:"JumpToPageDropdown",hostName:"Paginator",extends:g.default,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("page-change",e)}},computed:{pageOptions:function(){for(var e=[],t=0;t<this.pageCount;t++)e.push({label:String(t+1),value:t});return e}},components:{JTPDropdown:f.default}};T.render=function(e,t,n,o,r,i){var l=a.resolveComponent("JTPDropdown");return a.openBlock(),a.createBlock(l,{modelValue:n.page,options:i.pageOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:a.normalizeClass(e.cx("jumpToPageDropdown")),disabled:n.disabled,unstyled:e.unstyled,pt:e.ptm("jumpToPageDropdown"),"data-pc-section":"jumptopagedropdown","data-pc-group-section":"pagedropdown"},a.createSlots({_:2},[n.templates.jumptopagedropdownicon?{name:"dropdownicon",fn:a.withCtx((function(e){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.templates.jumptopagedropdownicon),{class:a.normalizeClass(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var I={name:"JumpToPageInput",hostName:"Paginator",extends:g.default,inheritAttrs:!1,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},data:function(){return{d_page:this.page}},watch:{page:function(e){this.d_page=e}},methods:{onChange:function(e){e!==this.page&&(this.d_page=e,this.$emit("page-change",e-1))}},computed:{inputArialabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.jumpToPageInputLabel:void 0}},components:{JTPInput:h.default}};I.render=function(e,t,n,o,r,i){var l=a.resolveComponent("JTPInput");return a.openBlock(),a.createBlock(l,{ref:"jtpInput",modelValue:r.d_page,class:a.normalizeClass(e.cx("jumpToPageInput")),"aria-label":i.inputArialabel,disabled:n.disabled,"onUpdate:modelValue":i.onChange,unstyled:e.unstyled,pt:e.ptm("jumpToPageInput"),"data-pc-section":"jumptopageinput"},null,8,["modelValue","class","aria-label","disabled","onUpdate:modelValue","unstyled","pt"])};var N={name:"LastPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleRightIcon:P.default},directives:{ripple:m.default}};N.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("lastPageButton"),type:"button"},i.getPTOptions("lastPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleDoubleRightIcon"),a.mergeProps({class:e.cx("lastPageIcon")},i.getPTOptions("lastPageIcon")),null,16,["class"]))],16)),[[l]])};var $={name:"NextPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleRightIcon:b.default},directives:{ripple:m.default}};$.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("nextPageButton"),type:"button"},i.getPTOptions("nextPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleRightIcon"),a.mergeProps({class:e.cx("nextPageIcon")},i.getPTOptions("nextPageIcon")),null,16,["class"]))],16)),[[l]])};var A={name:"PageLinks",hostName:"Paginator",extends:g.default,inheritAttrs:!1,emits:["click"],props:{value:Array,page:Number},methods:{getPTOptions:function(e,t){return this.ptm(t,{context:{active:e===this.page}})},onPageLinkClick:function(e,t){this.$emit("click",{originalEvent:e,value:t})},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},directives:{ripple:m.default}},j=["aria-label","aria-current","onClick","data-p-highlight"];A.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.openBlock(),a.createElementBlock("span",a.mergeProps({class:e.cx("pages")},e.ptm("pages")),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.value,(function(t){return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({key:t,class:e.cx("pageButton",{pageLink:t}),type:"button","aria-label":i.ariaPageLabel(t),"aria-current":t-1===n.page?"page":void 0,onClick:function(e){return i.onPageLinkClick(e,t)}},i.getPTOptions(t-1,"pageButton"),{"data-p-highlight":t-1===n.page}),[a.createTextVNode(a.toDisplayString(t),1)],16,j)),[[l]])})),128))],16)};var O={name:"PrevPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleLeftIcon:y.default},directives:{ripple:m.default}};O.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("previousPageButton"),type:"button"},i.getPTOptions("previousPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleLeftIcon"),a.mergeProps({class:e.cx("previousPageIcon")},i.getPTOptions("previousPageIcon")),null,16,["class"]))],16)),[[l]])};var R={name:"RowsPerPageDropdown",hostName:"Paginator",extends:g.default,emits:["rows-change"],props:{options:Array,rows:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("rows-change",e)}},computed:{rowsOptions:function(){var e=[];if(this.options)for(var t=0;t<this.options.length;t++)e.push({label:String(this.options[t]),value:this.options[t]});return e}},components:{RPPDropdown:f.default}};function E(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function F(e){if(Array.isArray(e))return M(e)}function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function q(e,t){return H(e)||U(e,t)||z(e,t)||J()}function J(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function z(e,t){if(e){if("string"==typeof e)return M(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(e,t):void 0}}function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function U(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,o,r,i,l=[],s=!0,p=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){p=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(p)throw o}}return l}}function H(e){if(Array.isArray(e))return e}R.render=function(e,t,n,o,r,i){var l=a.resolveComponent("RPPDropdown");return a.openBlock(),a.createBlock(l,{modelValue:n.rows,options:i.rowsOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:a.normalizeClass(e.cx("rowPerPageDropdown")),disabled:n.disabled,unstyled:e.unstyled,pt:e.ptm("rowPerPageDropdown"),"data-pc-section":"rowperpagedropdown","data-pc-group-section":"pagedropdown"},a.createSlots({_:2},[n.templates.rowsperpagedropdownicon?{name:"dropdownicon",fn:a.withCtx((function(e){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.templates.rowsperpagedropdownicon),{class:a.normalizeClass(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var W={name:"Paginator",extends:x,emits:["update:first","update:rows","page"],data:function(){return{d_first:this.first,d_rows:this.rows}},watch:{first:function(e){this.d_first=e},rows:function(e){this.d_rows=e},totalRecords:function(e){this.page>0&&e&&this.d_first>=e&&this.changePage(this.pageCount-1)}},mounted:function(){this.setPaginatorAttribute(),this.createStyle()},methods:{changePage:function(e){var t=this.pageCount;if(e>=0&&e<t){this.d_first=this.d_rows*e;var n={page:e,first:this.d_first,rows:this.d_rows,pageCount:t};this.$emit("update:first",this.d_first),this.$emit("update:rows",this.d_rows),this.$emit("page",n)}},changePageToFirst:function(e){this.isFirstPage||this.changePage(0),e.preventDefault()},changePageToPrev:function(e){this.changePage(this.page-1),e.preventDefault()},changePageLink:function(e){this.changePage(e.value-1),e.originalEvent.preventDefault()},changePageToNext:function(e){this.changePage(this.page+1),e.preventDefault()},changePageToLast:function(e){this.isLastPage||this.changePage(this.pageCount-1),e.preventDefault()},onRowChange:function(e){this.d_rows=e,this.changePage(this.page)},createStyle:function(){var t=this;if(this.hasBreakpoints()&&!this.isUnstyled){var n;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",e.DomHandler.setAttribute(this.styleElement,"nonce",null===(n=this.$primevue)||void 0===n||null===(n=n.config)||void 0===n||null===(n=n.csp)||void 0===n?void 0:n.nonce),document.head.appendChild(this.styleElement);var a="",o=Object.keys(this.template),r={};o.sort((function(e,t){return parseInt(e)-parseInt(t)})).forEach((function(e){r[e]=t.template[e]}));for(var i=0,l=Object.entries(Object.entries(r));i<l.length;i++){var s=q(l[i],2),p=s[0],u=q(s[1],1)[0],c=Object.entries(r)[p-1]?"and (min-width:".concat(Object.keys(r)[p-1],")"):"";a+="default"===u?"\n @media screen ".concat(c," {\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: flex !important;\n }\n }\n "):"\n .paginator[".concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: none !important;\n }\n @media screen ").concat(c," and (max-width: ").concat(u,") {\n .paginator[").concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: flex !important;\n }\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: none !important;\n }\n }\n ")}this.styleElement.innerHTML=a}},hasBreakpoints:function(){return"object"===V(this.template)},setPaginatorAttribute:function(){var e,t=this;this.$refs.paginator&&this.$refs.paginator.length>=0&&(e=this.$refs.paginator,F(e)||_(e)||z(e)||E()).forEach((function(e){e.setAttribute(t.attributeSelector,"")}))},getAriaLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[e]:void 0}},computed:{templateItems:function(){var e={};if(this.hasBreakpoints()){for(var t in(e=this.template).default||(e.default="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"),e)e[t]=this.template[t].split(" ").map((function(e){return e.trim()}));return e}return e.default=this.template.split(" ").map((function(e){return e.trim()})),e},page:function(){return Math.floor(this.d_first/this.d_rows)},pageCount:function(){return Math.ceil(this.totalRecords/this.d_rows)},isFirstPage:function(){return 0===this.page},isLastPage:function(){return this.page===this.pageCount-1},calculatePageLinkBoundaries:function(){var e=this.pageCount,t=Math.min(this.pageLinkSize,e),n=Math.max(0,Math.ceil(this.page-t/2)),a=Math.min(e-1,n+t-1);return[n=Math.max(0,n-(this.pageLinkSize-(a-n+1))),a]},pageLinks:function(){for(var e=[],t=this.calculatePageLinkBoundaries,n=t[1],a=t[0];a<=n;a++)e.push(a+1);return e},currentState:function(){return{page:this.page,first:this.d_first,rows:this.d_rows}},empty:function(){return 0===this.pageCount},currentPage:function(){return this.pageCount>0?this.page+1:0},attributeSelector:function(){return e.UniqueComponentId()}},components:{CurrentPageReport:D,FirstPageLink:S,LastPageLink:N,NextPageLink:$,PageLinks:A,PrevPageLink:O,RowsPerPageDropdown:R,JumpToPageDropdown:T,JumpToPageInput:I}};W.render=function(e,t,n,o,r,i){var l=a.resolveComponent("FirstPageLink"),s=a.resolveComponent("PrevPageLink"),p=a.resolveComponent("NextPageLink"),u=a.resolveComponent("LastPageLink"),c=a.resolveComponent("PageLinks"),g=a.resolveComponent("CurrentPageReport"),d=a.resolveComponent("RowsPerPageDropdown"),m=a.resolveComponent("JumpToPageDropdown"),f=a.resolveComponent("JumpToPageInput");return e.alwaysShow||i.pageLinks&&i.pageLinks.length>1?(a.openBlock(),a.createElementBlock("nav",a.normalizeProps(a.mergeProps({key:0},e.ptm("paginatorWrapper"))),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.templateItems,(function(n,o){return a.openBlock(),a.createElementBlock("div",a.mergeProps({key:o,ref_for:!0,ref:"paginator",class:e.cx("paginator",{key:o})},e.ptm("root"),{"data-pc-name":"paginator"}),[e.$slots.start?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,class:e.cx("start")},e.ptm("start")),[a.renderSlot(e.$slots,"start",{state:i.currentState})],16)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n,(function(n){return a.openBlock(),a.createElementBlock(a.Fragment,{key:n},["FirstPageLink"===n?(a.openBlock(),a.createBlock(l,{key:0,"aria-label":i.getAriaLabel("firstPageLabel"),template:e.$slots.firstpagelinkicon,onClick:t[0]||(t[0]=function(e){return i.changePageToFirst(e)}),disabled:i.isFirstPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PrevPageLink"===n?(a.openBlock(),a.createBlock(s,{key:1,"aria-label":i.getAriaLabel("prevPageLabel"),template:e.$slots.prevpagelinkicon,onClick:t[1]||(t[1]=function(e){return i.changePageToPrev(e)}),disabled:i.isFirstPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"NextPageLink"===n?(a.openBlock(),a.createBlock(p,{key:2,"aria-label":i.getAriaLabel("nextPageLabel"),template:e.$slots.nextpagelinkicon,onClick:t[2]||(t[2]=function(e){return i.changePageToNext(e)}),disabled:i.isLastPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"LastPageLink"===n?(a.openBlock(),a.createBlock(u,{key:3,"aria-label":i.getAriaLabel("lastPageLabel"),template:e.$slots.lastpagelinkicon,onClick:t[3]||(t[3]=function(e){return i.changePageToLast(e)}),disabled:i.isLastPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PageLinks"===n?(a.openBlock(),a.createBlock(c,{key:4,"aria-label":i.getAriaLabel("pageLabel"),value:i.pageLinks,page:i.page,onClick:t[4]||(t[4]=function(e){return i.changePageLink(e)}),pt:e.pt},null,8,["aria-label","value","page","pt"])):"CurrentPageReport"===n?(a.openBlock(),a.createBlock(g,{key:5,"aria-live":"polite",template:e.currentPageReportTemplate,currentPage:i.currentPage,page:i.page,pageCount:i.pageCount,first:r.d_first,rows:r.d_rows,totalRecords:e.totalRecords,unstyled:e.unstyled,pt:e.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):"RowsPerPageDropdown"===n&&e.rowsPerPageOptions?(a.openBlock(),a.createBlock(d,{key:6,"aria-label":i.getAriaLabel("rowsPerPageLabel"),rows:r.d_rows,options:e.rowsPerPageOptions,onRowsChange:t[5]||(t[5]=function(e){return i.onRowChange(e)}),disabled:i.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):"JumpToPageDropdown"===n?(a.openBlock(),a.createBlock(m,{key:7,"aria-label":i.getAriaLabel("jumpToPageDropdownLabel"),page:i.page,pageCount:i.pageCount,onPageChange:t[6]||(t[6]=function(e){return i.changePage(e)}),disabled:i.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):"JumpToPageInput"===n?(a.openBlock(),a.createBlock(f,{key:8,page:i.currentPage,onPageChange:t[7]||(t[7]=function(e){return i.changePage(e)}),disabled:i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["page","disabled","unstyled","pt"])):a.createCommentVNode("",!0)],64)})),128)),e.$slots.end?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:1,class:e.cx("end")},e.ptm("end")),[a.renderSlot(e.$slots,"end",{state:i.currentState})],16)):a.createCommentVNode("",!0)],16)})),128))],16)):a.createCommentVNode("",!0)},module.exports=W;
1
+ "use strict";var e=require("primevue/utils"),t=require("primevue/basecomponent"),n=require("primevue/paginator/style"),a=require("vue"),o=require("primevue/icons/angledoubleleft"),r=require("primevue/ripple"),i=require("primevue/dropdown"),l=require("primevue/inputnumber"),s=require("primevue/icons/angledoubleright"),p=require("primevue/icons/angleright"),u=require("primevue/icons/angleleft");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=c(t),d=c(n),m=c(o),f=c(r),h=c(i),P=c(l),b=c(s),y=c(p),v=c(u),k={name:"BasePaginator",extends:g.default,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},style:d.default,provide:function(){return{$parentInstance:this}}},w={name:"CurrentPageReport",hostName:"Paginator",extends:g.default,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var e=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return e}}};w.render=function(e,t,n,o,r,i){return a.openBlock(),a.createElementBlock("span",a.mergeProps({class:e.cx("current")},e.ptm("current")),a.toDisplayString(i.text),17)};var B={name:"FirstPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:m.default},directives:{ripple:f.default}};B.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("firstPageButton"),type:"button"},i.getPTOptions("firstPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleDoubleLeftIcon"),a.mergeProps({class:e.cx("firstPageIcon")},i.getPTOptions("firstPageIcon")),null,16,["class"]))],16)),[[l]])};var L={name:"JumpToPageDropdown",hostName:"Paginator",extends:g.default,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("page-change",e)}},computed:{pageOptions:function(){for(var e=[],t=0;t<this.pageCount;t++)e.push({label:String(t+1),value:t});return e}},components:{JTPDropdown:h.default}};L.render=function(e,t,n,o,r,i){var l=a.resolveComponent("JTPDropdown");return a.openBlock(),a.createBlock(l,{modelValue:n.page,options:i.pageOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:a.normalizeClass(e.cx("jumpToPageDropdown")),disabled:n.disabled,unstyled:e.unstyled,pt:e.ptm("jumpToPageDropdown"),"data-pc-section":"jumptopagedropdown","data-pc-group-section":"pagedropdown"},a.createSlots({_:2},[n.templates.jumptopagedropdownicon?{name:"dropdownicon",fn:a.withCtx((function(e){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.templates.jumptopagedropdownicon),{class:a.normalizeClass(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var C={name:"JumpToPageInput",hostName:"Paginator",extends:g.default,inheritAttrs:!1,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},data:function(){return{d_page:this.page}},watch:{page:function(e){this.d_page=e}},methods:{onChange:function(e){e!==this.page&&(this.d_page=e,this.$emit("page-change",e-1))}},computed:{inputArialabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.jumpToPageInputLabel:void 0}},components:{JTPInput:P.default}};C.render=function(e,t,n,o,r,i){var l=a.resolveComponent("JTPInput");return a.openBlock(),a.createBlock(l,{ref:"jtpInput",modelValue:r.d_page,class:a.normalizeClass(e.cx("jumpToPageInput")),"aria-label":i.inputArialabel,disabled:n.disabled,"onUpdate:modelValue":i.onChange,unstyled:e.unstyled,pt:e.ptm("jumpToPageInput"),"data-pc-section":"jumptopageinput"},null,8,["modelValue","class","aria-label","disabled","onUpdate:modelValue","unstyled","pt"])};var x={name:"LastPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleRightIcon:b.default},directives:{ripple:f.default}};x.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("lastPageButton"),type:"button"},i.getPTOptions("lastPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleDoubleRightIcon"),a.mergeProps({class:e.cx("lastPageIcon")},i.getPTOptions("lastPageIcon")),null,16,["class"]))],16)),[[l]])};var D={name:"NextPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleRightIcon:y.default},directives:{ripple:f.default}};D.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("nextPageButton"),type:"button"},i.getPTOptions("nextPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleRightIcon"),a.mergeProps({class:e.cx("nextPageIcon")},i.getPTOptions("nextPageIcon")),null,16,["class"]))],16)),[[l]])};var T={name:"PageLinks",hostName:"Paginator",extends:g.default,inheritAttrs:!1,emits:["click"],props:{value:Array,page:Number},methods:{getPTOptions:function(e,t){return this.ptm(t,{context:{active:e===this.page}})},onPageLinkClick:function(e,t){this.$emit("click",{originalEvent:e,value:t})},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},directives:{ripple:f.default}},S=["aria-label","aria-current","onClick","data-p-highlight"];T.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.openBlock(),a.createElementBlock("span",a.mergeProps({class:e.cx("pages")},e.ptm("pages")),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.value,(function(t){return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({key:t,class:e.cx("pageButton",{pageLink:t}),type:"button","aria-label":i.ariaPageLabel(t),"aria-current":t-1===n.page?"page":void 0,onClick:function(e){return i.onPageLinkClick(e,t)}},i.getPTOptions(t-1,"pageButton"),{"data-p-highlight":t-1===n.page}),[a.createTextVNode(a.toDisplayString(t),1)],16,S)),[[l]])})),128))],16)};var N={name:"PrevPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleLeftIcon:v.default},directives:{ripple:f.default}};N.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("previousPageButton"),type:"button"},i.getPTOptions("previousPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleLeftIcon"),a.mergeProps({class:e.cx("previousPageIcon")},i.getPTOptions("previousPageIcon")),null,16,["class"]))],16)),[[l]])};var I={name:"RowsPerPageDropdown",hostName:"Paginator",extends:g.default,emits:["rows-change"],props:{options:Array,rows:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("rows-change",e)}},computed:{rowsOptions:function(){var e=[];if(this.options)for(var t=0;t<this.options.length;t++)e.push({label:String(this.options[t]),value:this.options[t]});return e}},components:{RPPDropdown:h.default}};function A(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function O(e){if(Array.isArray(e))return F(e)}function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function E(e,t){return q(e)||V(e,t)||j(e,t)||_()}function _(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function j(e,t){if(e){if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(e,t):void 0}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function V(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,o,r,i,l=[],s=!0,p=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){p=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(p)throw o}}return l}}function q(e){if(Array.isArray(e))return e}I.render=function(e,t,n,o,r,i){var l=a.resolveComponent("RPPDropdown");return a.openBlock(),a.createBlock(l,{modelValue:n.rows,options:i.rowsOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:a.normalizeClass(e.cx("rowPerPageDropdown")),disabled:n.disabled,unstyled:e.unstyled,pt:e.ptm("rowPerPageDropdown"),"data-pc-section":"rowperpagedropdown","data-pc-group-section":"pagedropdown"},a.createSlots({_:2},[n.templates.rowsperpagedropdownicon?{name:"dropdownicon",fn:a.withCtx((function(e){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.templates.rowsperpagedropdownicon),{class:a.normalizeClass(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var J={name:"Paginator",extends:k,emits:["update:first","update:rows","page"],data:function(){return{d_first:this.first,d_rows:this.rows}},watch:{first:function(e){this.d_first=e},rows:function(e){this.d_rows=e},totalRecords:function(e){this.page>0&&e&&this.d_first>=e&&this.changePage(this.pageCount-1)}},mounted:function(){this.setPaginatorAttribute(),this.createStyle()},methods:{changePage:function(e){var t=this.pageCount;if(e>=0&&e<t){this.d_first=this.d_rows*e;var n={page:e,first:this.d_first,rows:this.d_rows,pageCount:t};this.$emit("update:first",this.d_first),this.$emit("update:rows",this.d_rows),this.$emit("page",n)}},changePageToFirst:function(e){this.isFirstPage||this.changePage(0),e.preventDefault()},changePageToPrev:function(e){this.changePage(this.page-1),e.preventDefault()},changePageLink:function(e){this.changePage(e.value-1),e.originalEvent.preventDefault()},changePageToNext:function(e){this.changePage(this.page+1),e.preventDefault()},changePageToLast:function(e){this.isLastPage||this.changePage(this.pageCount-1),e.preventDefault()},onRowChange:function(e){this.d_rows=e,this.changePage(this.page)},createStyle:function(){var t=this;if(this.hasBreakpoints()&&!this.isUnstyled){var n;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",e.DomHandler.setAttribute(this.styleElement,"nonce",null===(n=this.$primevue)||void 0===n||null===(n=n.config)||void 0===n||null===(n=n.csp)||void 0===n?void 0:n.nonce),document.head.appendChild(this.styleElement);var a="",o=Object.keys(this.template),r={};o.sort((function(e,t){return parseInt(e)-parseInt(t)})).forEach((function(e){r[e]=t.template[e]}));for(var i=0,l=Object.entries(Object.entries(r));i<l.length;i++){var s=E(l[i],2),p=s[0],u=E(s[1],1)[0],c=Object.entries(r)[p-1]?"and (min-width:".concat(Object.keys(r)[p-1],")"):"";a+="default"===u?"\n @media screen ".concat(c," {\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: flex !important;\n }\n }\n "):"\n .paginator[".concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: none !important;\n }\n @media screen ").concat(c," and (max-width: ").concat(u,") {\n .paginator[").concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: flex !important;\n }\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: none !important;\n }\n }\n ")}this.styleElement.innerHTML=a}},hasBreakpoints:function(){return"object"===R(this.template)},setPaginatorAttribute:function(){var e,t=this;this.$refs.paginator&&this.$refs.paginator.length>=0&&(e=this.$refs.paginator,O(e)||$(e)||j(e)||A()).forEach((function(e){e.setAttribute(t.attributeSelector,"")}))},getAriaLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[e]:void 0}},computed:{templateItems:function(){var e={};if(this.hasBreakpoints()){for(var t in(e=this.template).default||(e.default="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"),e)e[t]=this.template[t].split(" ").map((function(e){return e.trim()}));return e}return e.default=this.template.split(" ").map((function(e){return e.trim()})),e},page:function(){return Math.floor(this.d_first/this.d_rows)},pageCount:function(){return Math.ceil(this.totalRecords/this.d_rows)},isFirstPage:function(){return 0===this.page},isLastPage:function(){return this.page===this.pageCount-1},calculatePageLinkBoundaries:function(){var e=this.pageCount,t=Math.min(this.pageLinkSize,e),n=Math.max(0,Math.ceil(this.page-t/2)),a=Math.min(e-1,n+t-1);return[n=Math.max(0,n-(this.pageLinkSize-(a-n+1))),a]},pageLinks:function(){for(var e=[],t=this.calculatePageLinkBoundaries,n=t[1],a=t[0];a<=n;a++)e.push(a+1);return e},currentState:function(){return{page:this.page,first:this.d_first,rows:this.d_rows}},empty:function(){return 0===this.pageCount},currentPage:function(){return this.pageCount>0?this.page+1:0},attributeSelector:function(){return e.UniqueComponentId()}},components:{CurrentPageReport:w,FirstPageLink:B,LastPageLink:x,NextPageLink:D,PageLinks:T,PrevPageLink:N,RowsPerPageDropdown:I,JumpToPageDropdown:L,JumpToPageInput:C}};J.render=function(e,t,n,o,r,i){var l=a.resolveComponent("FirstPageLink"),s=a.resolveComponent("PrevPageLink"),p=a.resolveComponent("NextPageLink"),u=a.resolveComponent("LastPageLink"),c=a.resolveComponent("PageLinks"),g=a.resolveComponent("CurrentPageReport"),d=a.resolveComponent("RowsPerPageDropdown"),m=a.resolveComponent("JumpToPageDropdown"),f=a.resolveComponent("JumpToPageInput");return e.alwaysShow||i.pageLinks&&i.pageLinks.length>1?(a.openBlock(),a.createElementBlock("nav",a.normalizeProps(a.mergeProps({key:0},e.ptm("paginatorWrapper"))),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.templateItems,(function(n,o){return a.openBlock(),a.createElementBlock("div",a.mergeProps({key:o,ref_for:!0,ref:"paginator",class:e.cx("paginator",{key:o})},e.ptm("root"),{"data-pc-name":"paginator"}),[e.$slots.start?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,class:e.cx("start")},e.ptm("start")),[a.renderSlot(e.$slots,"start",{state:i.currentState})],16)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n,(function(n){return a.openBlock(),a.createElementBlock(a.Fragment,{key:n},["FirstPageLink"===n?(a.openBlock(),a.createBlock(l,{key:0,"aria-label":i.getAriaLabel("firstPageLabel"),template:e.$slots.firstpagelinkicon,onClick:t[0]||(t[0]=function(e){return i.changePageToFirst(e)}),disabled:i.isFirstPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PrevPageLink"===n?(a.openBlock(),a.createBlock(s,{key:1,"aria-label":i.getAriaLabel("prevPageLabel"),template:e.$slots.prevpagelinkicon,onClick:t[1]||(t[1]=function(e){return i.changePageToPrev(e)}),disabled:i.isFirstPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"NextPageLink"===n?(a.openBlock(),a.createBlock(p,{key:2,"aria-label":i.getAriaLabel("nextPageLabel"),template:e.$slots.nextpagelinkicon,onClick:t[2]||(t[2]=function(e){return i.changePageToNext(e)}),disabled:i.isLastPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"LastPageLink"===n?(a.openBlock(),a.createBlock(u,{key:3,"aria-label":i.getAriaLabel("lastPageLabel"),template:e.$slots.lastpagelinkicon,onClick:t[3]||(t[3]=function(e){return i.changePageToLast(e)}),disabled:i.isLastPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PageLinks"===n?(a.openBlock(),a.createBlock(c,{key:4,"aria-label":i.getAriaLabel("pageLabel"),value:i.pageLinks,page:i.page,onClick:t[4]||(t[4]=function(e){return i.changePageLink(e)}),pt:e.pt},null,8,["aria-label","value","page","pt"])):"CurrentPageReport"===n?(a.openBlock(),a.createBlock(g,{key:5,"aria-live":"polite",template:e.currentPageReportTemplate,currentPage:i.currentPage,page:i.page,pageCount:i.pageCount,first:r.d_first,rows:r.d_rows,totalRecords:e.totalRecords,unstyled:e.unstyled,pt:e.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):"RowsPerPageDropdown"===n&&e.rowsPerPageOptions?(a.openBlock(),a.createBlock(d,{key:6,"aria-label":i.getAriaLabel("rowsPerPageLabel"),rows:r.d_rows,options:e.rowsPerPageOptions,onRowsChange:t[5]||(t[5]=function(e){return i.onRowChange(e)}),disabled:i.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):"JumpToPageDropdown"===n?(a.openBlock(),a.createBlock(m,{key:7,"aria-label":i.getAriaLabel("jumpToPageDropdownLabel"),page:i.page,pageCount:i.pageCount,onPageChange:t[6]||(t[6]=function(e){return i.changePage(e)}),disabled:i.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):"JumpToPageInput"===n?(a.openBlock(),a.createBlock(f,{key:8,page:i.currentPage,onPageChange:t[7]||(t[7]=function(e){return i.changePage(e)}),disabled:i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["page","disabled","unstyled","pt"])):a.createCommentVNode("",!0)],64)})),128)),e.$slots.end?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:1,class:e.cx("end")},e.ptm("end")),[a.renderSlot(e.$slots,"end",{state:i.currentState})],16)):a.createCommentVNode("",!0)],16)})),128))],16)):a.createCommentVNode("",!0)},module.exports=J;
@@ -1,6 +1,6 @@
1
1
  import { DomHandler, UniqueComponentId } from 'primevue/utils';
2
2
  import BaseComponent from 'primevue/basecomponent';
3
- import { useStyle } from 'primevue/usestyle';
3
+ import PaginatorStyle from 'primevue/paginator/style';
4
4
  import { openBlock, createElementBlock, mergeProps, toDisplayString, resolveDirective, withDirectives, createBlock, resolveDynamicComponent, resolveComponent, normalizeClass, createSlots, withCtx, Fragment, renderList, createTextVNode, normalizeProps, renderSlot, createCommentVNode } from 'vue';
5
5
  import AngleDoubleLeftIcon from 'primevue/icons/angledoubleleft';
6
6
  import Ripple from 'primevue/ripple';
@@ -10,67 +10,6 @@ import AngleDoubleRightIcon from 'primevue/icons/angledoubleright';
10
10
  import AngleRightIcon from 'primevue/icons/angleright';
11
11
  import AngleLeftIcon from 'primevue/icons/angleleft';
12
12
 
13
- function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$1(o); }
14
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof$1(key) === "symbol" ? key : String(key); }
16
- function _toPrimitive(input, hint) { if (_typeof$1(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$1(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
17
- var styles = "\n@layer primevue {\n .p-paginator-default {\n display: flex;\n }\n \n .p-paginator {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n }\n \n .p-paginator-left-content {\n margin-right: auto;\n }\n \n .p-paginator-right-content {\n margin-left: auto;\n }\n \n .p-paginator-page,\n .p-paginator-next,\n .p-paginator-last,\n .p-paginator-first,\n .p-paginator-prev,\n .p-paginator-current {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n user-select: none;\n overflow: hidden;\n position: relative;\n }\n \n .p-paginator-element:focus {\n z-index: 1;\n position: relative;\n }\n}\n";
18
- var classes = {
19
- paginator: function paginator(_ref) {
20
- var instance = _ref.instance,
21
- key = _ref.key;
22
- return ['p-paginator p-component', _defineProperty({
23
- 'p-paginator-default': !instance.hasBreakpoints()
24
- }, "p-paginator-".concat(key), instance.hasBreakpoints())];
25
- },
26
- start: 'p-paginator-left-content',
27
- end: 'p-paginator-right-content',
28
- firstPageButton: function firstPageButton(_ref3) {
29
- var instance = _ref3.instance;
30
- return ['p-paginator-first p-paginator-element p-link', {
31
- 'p-disabled': instance.$attrs.disabled
32
- }];
33
- },
34
- firstPageIcon: 'p-paginator-icon',
35
- previousPageButton: function previousPageButton(_ref4) {
36
- var instance = _ref4.instance;
37
- return ['p-paginator-prev p-paginator-element p-link', {
38
- 'p-disabled': instance.$attrs.disabled
39
- }];
40
- },
41
- previousPageIcon: 'p-paginator-icon',
42
- nextPageButton: function nextPageButton(_ref5) {
43
- var instance = _ref5.instance;
44
- return ['p-paginator-next p-paginator-element p-link', {
45
- 'p-disabled': instance.$attrs.disabled
46
- }];
47
- },
48
- nextPageIcon: 'p-paginator-icon',
49
- lastPageButton: function lastPageButton(_ref6) {
50
- var instance = _ref6.instance;
51
- return ['p-paginator-last p-paginator-element p-link', {
52
- 'p-disabled': instance.$attrs.disabled
53
- }];
54
- },
55
- lastPageIcon: 'p-paginator-icon',
56
- pages: 'p-paginator-pages',
57
- pageButton: function pageButton(_ref7) {
58
- var props = _ref7.props,
59
- pageLink = _ref7.pageLink;
60
- return ['p-paginator-page p-paginator-element p-link', {
61
- 'p-highlight': pageLink - 1 === props.page
62
- }];
63
- },
64
- current: 'p-paginator-current',
65
- rowPerPageDropdown: 'p-paginator-rpp-options',
66
- jumpToPageDropdown: 'p-paginator-page-options',
67
- jumpToPageInput: 'p-paginator-page-input'
68
- };
69
- var _useStyle = useStyle(styles, {
70
- name: 'paginator',
71
- manual: true
72
- }),
73
- loadStyle = _useStyle.load;
74
13
  var script$a = {
75
14
  name: 'BasePaginator',
76
15
  "extends": BaseComponent,
@@ -108,10 +47,7 @@ var script$a = {
108
47
  "default": true
109
48
  }
110
49
  },
111
- css: {
112
- classes: classes,
113
- loadStyle: loadStyle
114
- },
50
+ style: PaginatorStyle,
115
51
  provide: function provide() {
116
52
  return {
117
53
  $parentInstance: this
@@ -1 +1 @@
1
- import{DomHandler as t,UniqueComponentId as e}from"primevue/utils";import n from"primevue/basecomponent";import{useStyle as a}from"primevue/usestyle";import{openBlock as r,createElementBlock as o,mergeProps as i,toDisplayString as s,resolveDirective as p,withDirectives as l,createBlock as u,resolveDynamicComponent as g,resolveComponent as c,normalizeClass as d,createSlots as m,withCtx as f,Fragment as h,renderList as P,createTextVNode as b,normalizeProps as y,renderSlot as v,createCommentVNode as w}from"vue";import k from"primevue/icons/angledoubleleft";import L from"primevue/ripple";import x from"primevue/dropdown";import T from"primevue/inputnumber";import C from"primevue/icons/angledoubleright";import S from"primevue/icons/angleright";import I from"primevue/icons/angleleft";function $(t){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$(t)}function A(t,e,n){return(e=N(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function N(t){var e=O(t,"string");return"symbol"===$(e)?e:String(e)}function O(t,e){if("object"!==$(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,e||"default");if("object"!==$(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var j={paginator:function(t){var e=t.instance,n=t.key;return["p-paginator p-component",A({"p-paginator-default":!e.hasBreakpoints()},"p-paginator-".concat(n),e.hasBreakpoints())]},start:"p-paginator-left-content",end:"p-paginator-right-content",firstPageButton:function(t){return["p-paginator-first p-paginator-element p-link",{"p-disabled":t.instance.$attrs.disabled}]},firstPageIcon:"p-paginator-icon",previousPageButton:function(t){return["p-paginator-prev p-paginator-element p-link",{"p-disabled":t.instance.$attrs.disabled}]},previousPageIcon:"p-paginator-icon",nextPageButton:function(t){return["p-paginator-next p-paginator-element p-link",{"p-disabled":t.instance.$attrs.disabled}]},nextPageIcon:"p-paginator-icon",lastPageButton:function(t){return["p-paginator-last p-paginator-element p-link",{"p-disabled":t.instance.$attrs.disabled}]},lastPageIcon:"p-paginator-icon",pages:"p-paginator-pages",pageButton:function(t){return["p-paginator-page p-paginator-element p-link",{"p-highlight":t.pageLink-1===t.props.page}]},current:"p-paginator-current",rowPerPageDropdown:"p-paginator-rpp-options",jumpToPageDropdown:"p-paginator-page-options",jumpToPageInput:"p-paginator-page-input"},R=a("\n@layer primevue {\n .p-paginator-default {\n display: flex;\n }\n \n .p-paginator {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n }\n \n .p-paginator-left-content {\n margin-right: auto;\n }\n \n .p-paginator-right-content {\n margin-left: auto;\n }\n \n .p-paginator-page,\n .p-paginator-next,\n .p-paginator-last,\n .p-paginator-first,\n .p-paginator-prev,\n .p-paginator-current {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n user-select: none;\n overflow: hidden;\n position: relative;\n }\n \n .p-paginator-element:focus {\n z-index: 1;\n position: relative;\n }\n}\n",{name:"paginator",manual:!0}),D={name:"BasePaginator",extends:n,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},css:{classes:j,loadStyle:R.load},provide:function(){return{$parentInstance:this}}},B={name:"CurrentPageReport",hostName:"Paginator",extends:n,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var t=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return t}}};B.render=function(t,e,n,a,p,l){return r(),o("span",i({class:t.cx("current")},t.ptm("current")),s(l.text),17)};var _={name:"FirstPageLink",hostName:"Paginator",extends:n,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(t){return this.ptm(t,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:k},directives:{ripple:L}};_.render=function(t,e,n,a,s,c){var d=p("ripple");return l((r(),o("button",i({class:t.cx("firstPageButton"),type:"button"},c.getPTOptions("firstPageButton"),{"data-pc-group-section":"pagebutton"}),[(r(),u(g(n.template||"AngleDoubleLeftIcon"),i({class:t.cx("firstPageIcon")},c.getPTOptions("firstPageIcon")),null,16,["class"]))],16)),[[d]])};var F={name:"JumpToPageDropdown",hostName:"Paginator",extends:n,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(t){this.$emit("page-change",t)}},computed:{pageOptions:function(){for(var t=[],e=0;e<this.pageCount;e++)t.push({label:String(e+1),value:e});return t}},components:{JTPDropdown:x}};F.render=function(t,e,n,a,o,i){var s=c("JTPDropdown");return r(),u(s,{modelValue:n.page,options:i.pageOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":e[0]||(e[0]=function(t){return i.onChange(t)}),class:d(t.cx("jumpToPageDropdown")),disabled:n.disabled,unstyled:t.unstyled,pt:t.ptm("jumpToPageDropdown"),"data-pc-section":"jumptopagedropdown","data-pc-group-section":"pagedropdown"},m({_:2},[n.templates.jumptopagedropdownicon?{name:"dropdownicon",fn:f((function(t){return[(r(),u(g(n.templates.jumptopagedropdownicon),{class:d(t.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var E={name:"JumpToPageInput",hostName:"Paginator",extends:n,inheritAttrs:!1,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},data:function(){return{d_page:this.page}},watch:{page:function(t){this.d_page=t}},methods:{onChange:function(t){t!==this.page&&(this.d_page=t,this.$emit("page-change",t-1))}},computed:{inputArialabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.jumpToPageInputLabel:void 0}},components:{JTPInput:T}};E.render=function(t,e,n,a,o,i){var s=c("JTPInput");return r(),u(s,{ref:"jtpInput",modelValue:o.d_page,class:d(t.cx("jumpToPageInput")),"aria-label":i.inputArialabel,disabled:n.disabled,"onUpdate:modelValue":i.onChange,unstyled:t.unstyled,pt:t.ptm("jumpToPageInput"),"data-pc-section":"jumptopageinput"},null,8,["modelValue","class","aria-label","disabled","onUpdate:modelValue","unstyled","pt"])};var J={name:"LastPageLink",hostName:"Paginator",extends:n,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(t){return this.ptm(t,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleRightIcon:C},directives:{ripple:L}};J.render=function(t,e,n,a,s,c){var d=p("ripple");return l((r(),o("button",i({class:t.cx("lastPageButton"),type:"button"},c.getPTOptions("lastPageButton"),{"data-pc-group-section":"pagebutton"}),[(r(),u(g(n.template||"AngleDoubleRightIcon"),i({class:t.cx("lastPageIcon")},c.getPTOptions("lastPageIcon")),null,16,["class"]))],16)),[[d]])};var V={name:"NextPageLink",hostName:"Paginator",extends:n,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(t){return this.ptm(t,{context:{disabled:this.$attrs.disabled}})}},components:{AngleRightIcon:S},directives:{ripple:L}};V.render=function(t,e,n,a,s,c){var d=p("ripple");return l((r(),o("button",i({class:t.cx("nextPageButton"),type:"button"},c.getPTOptions("nextPageButton"),{"data-pc-group-section":"pagebutton"}),[(r(),u(g(n.template||"AngleRightIcon"),i({class:t.cx("nextPageIcon")},c.getPTOptions("nextPageIcon")),null,16,["class"]))],16)),[[d]])};var M={name:"PageLinks",hostName:"Paginator",extends:n,inheritAttrs:!1,emits:["click"],props:{value:Array,page:Number},methods:{getPTOptions:function(t,e){return this.ptm(e,{context:{active:t===this.page}})},onPageLinkClick:function(t,e){this.$emit("click",{originalEvent:t,value:e})},ariaPageLabel:function(t){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,t):void 0}},directives:{ripple:L}},U=["aria-label","aria-current","onClick","data-p-highlight"];M.render=function(t,e,n,a,u,g){var c=p("ripple");return r(),o("span",i({class:t.cx("pages")},t.ptm("pages")),[(r(!0),o(h,null,P(n.value,(function(e){return l((r(),o("button",i({key:e,class:t.cx("pageButton",{pageLink:e}),type:"button","aria-label":g.ariaPageLabel(e),"aria-current":e-1===n.page?"page":void 0,onClick:function(t){return g.onPageLinkClick(t,e)}},g.getPTOptions(e-1,"pageButton"),{"data-p-highlight":e-1===n.page}),[b(s(e),1)],16,U)),[[c]])})),128))],16)};var z={name:"PrevPageLink",hostName:"Paginator",extends:n,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(t){return this.ptm(t,{context:{disabled:this.$attrs.disabled}})}},components:{AngleLeftIcon:I},directives:{ripple:L}};z.render=function(t,e,n,a,s,c){var d=p("ripple");return l((r(),o("button",i({class:t.cx("previousPageButton"),type:"button"},c.getPTOptions("previousPageButton"),{"data-pc-group-section":"pagebutton"}),[(r(),u(g(n.template||"AngleLeftIcon"),i({class:t.cx("previousPageIcon")},c.getPTOptions("previousPageIcon")),null,16,["class"]))],16)),[[d]])};var H={name:"RowsPerPageDropdown",hostName:"Paginator",extends:n,emits:["rows-change"],props:{options:Array,rows:Number,disabled:Boolean,templates:null},methods:{onChange:function(t){this.$emit("rows-change",t)}},computed:{rowsOptions:function(){var t=[];if(this.options)for(var e=0;e<this.options.length;e++)t.push({label:String(this.options[e]),value:this.options[e]});return t}},components:{RPPDropdown:x}};function W(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function q(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function G(t){if(Array.isArray(t))return Z(t)}function K(t){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},K(t)}function Q(t,e){return et(t)||tt(t,e)||Y(t,e)||X()}function X(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Y(t,e){if(t){if("string"==typeof t)return Z(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(t,e):void 0}}function Z(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=new Array(e);n<e;n++)a[n]=t[n];return a}function tt(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a,r,o,i,s=[],p=!0,l=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;p=!1}else for(;!(p=(a=o.call(n)).done)&&(s.push(a.value),s.length!==e);p=!0);}catch(t){l=!0,r=t}finally{try{if(!p&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw r}}return s}}function et(t){if(Array.isArray(t))return t}H.render=function(t,e,n,a,o,i){var s=c("RPPDropdown");return r(),u(s,{modelValue:n.rows,options:i.rowsOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":e[0]||(e[0]=function(t){return i.onChange(t)}),class:d(t.cx("rowPerPageDropdown")),disabled:n.disabled,unstyled:t.unstyled,pt:t.ptm("rowPerPageDropdown"),"data-pc-section":"rowperpagedropdown","data-pc-group-section":"pagedropdown"},m({_:2},[n.templates.rowsperpagedropdownicon?{name:"dropdownicon",fn:f((function(t){return[(r(),u(g(n.templates.rowsperpagedropdownicon),{class:d(t.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var nt={name:"Paginator",extends:D,emits:["update:first","update:rows","page"],data:function(){return{d_first:this.first,d_rows:this.rows}},watch:{first:function(t){this.d_first=t},rows:function(t){this.d_rows=t},totalRecords:function(t){this.page>0&&t&&this.d_first>=t&&this.changePage(this.pageCount-1)}},mounted:function(){this.setPaginatorAttribute(),this.createStyle()},methods:{changePage:function(t){var e=this.pageCount;if(t>=0&&t<e){this.d_first=this.d_rows*t;var n={page:t,first:this.d_first,rows:this.d_rows,pageCount:e};this.$emit("update:first",this.d_first),this.$emit("update:rows",this.d_rows),this.$emit("page",n)}},changePageToFirst:function(t){this.isFirstPage||this.changePage(0),t.preventDefault()},changePageToPrev:function(t){this.changePage(this.page-1),t.preventDefault()},changePageLink:function(t){this.changePage(t.value-1),t.originalEvent.preventDefault()},changePageToNext:function(t){this.changePage(this.page+1),t.preventDefault()},changePageToLast:function(t){this.isLastPage||this.changePage(this.pageCount-1),t.preventDefault()},onRowChange:function(t){this.d_rows=t,this.changePage(this.page)},createStyle:function(){var e=this;if(this.hasBreakpoints()&&!this.isUnstyled){var n;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",t.setAttribute(this.styleElement,"nonce",null===(n=this.$primevue)||void 0===n||null===(n=n.config)||void 0===n||null===(n=n.csp)||void 0===n?void 0:n.nonce),document.head.appendChild(this.styleElement);var a="",r=Object.keys(this.template),o={};r.sort((function(t,e){return parseInt(t)-parseInt(e)})).forEach((function(t){o[t]=e.template[t]}));for(var i=0,s=Object.entries(Object.entries(o));i<s.length;i++){var p=Q(s[i],2),l=p[0],u=Q(p[1],1)[0],g=Object.entries(o)[l-1]?"and (min-width:".concat(Object.keys(o)[l-1],")"):"";a+="default"===u?"\n @media screen ".concat(g," {\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: flex !important;\n }\n }\n "):"\n .paginator[".concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: none !important;\n }\n @media screen ").concat(g," and (max-width: ").concat(u,") {\n .paginator[").concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: flex !important;\n }\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: none !important;\n }\n }\n ")}this.styleElement.innerHTML=a}},hasBreakpoints:function(){return"object"===K(this.template)},setPaginatorAttribute:function(){var t,e=this;this.$refs.paginator&&this.$refs.paginator.length>=0&&(t=this.$refs.paginator,G(t)||q(t)||Y(t)||W()).forEach((function(t){t.setAttribute(e.attributeSelector,"")}))},getAriaLabel:function(t){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[t]:void 0}},computed:{templateItems:function(){var t={};if(this.hasBreakpoints()){for(var e in(t=this.template).default||(t.default="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"),t)t[e]=this.template[e].split(" ").map((function(t){return t.trim()}));return t}return t.default=this.template.split(" ").map((function(t){return t.trim()})),t},page:function(){return Math.floor(this.d_first/this.d_rows)},pageCount:function(){return Math.ceil(this.totalRecords/this.d_rows)},isFirstPage:function(){return 0===this.page},isLastPage:function(){return this.page===this.pageCount-1},calculatePageLinkBoundaries:function(){var t=this.pageCount,e=Math.min(this.pageLinkSize,t),n=Math.max(0,Math.ceil(this.page-e/2)),a=Math.min(t-1,n+e-1);return[n=Math.max(0,n-(this.pageLinkSize-(a-n+1))),a]},pageLinks:function(){for(var t=[],e=this.calculatePageLinkBoundaries,n=e[1],a=e[0];a<=n;a++)t.push(a+1);return t},currentState:function(){return{page:this.page,first:this.d_first,rows:this.d_rows}},empty:function(){return 0===this.pageCount},currentPage:function(){return this.pageCount>0?this.page+1:0},attributeSelector:function(){return e()}},components:{CurrentPageReport:B,FirstPageLink:_,LastPageLink:J,NextPageLink:V,PageLinks:M,PrevPageLink:z,RowsPerPageDropdown:H,JumpToPageDropdown:F,JumpToPageInput:E}};nt.render=function(t,e,n,a,s,p){var l=c("FirstPageLink"),g=c("PrevPageLink"),d=c("NextPageLink"),m=c("LastPageLink"),f=c("PageLinks"),b=c("CurrentPageReport"),k=c("RowsPerPageDropdown"),L=c("JumpToPageDropdown"),x=c("JumpToPageInput");return t.alwaysShow||p.pageLinks&&p.pageLinks.length>1?(r(),o("nav",y(i({key:0},t.ptm("paginatorWrapper"))),[(r(!0),o(h,null,P(p.templateItems,(function(n,a){return r(),o("div",i({key:a,ref_for:!0,ref:"paginator",class:t.cx("paginator",{key:a})},t.ptm("root"),{"data-pc-name":"paginator"}),[t.$slots.start?(r(),o("div",i({key:0,class:t.cx("start")},t.ptm("start")),[v(t.$slots,"start",{state:p.currentState})],16)):w("",!0),(r(!0),o(h,null,P(n,(function(n){return r(),o(h,{key:n},["FirstPageLink"===n?(r(),u(l,{key:0,"aria-label":p.getAriaLabel("firstPageLabel"),template:t.$slots.firstpagelinkicon,onClick:e[0]||(e[0]=function(t){return p.changePageToFirst(t)}),disabled:p.isFirstPage||p.empty,unstyled:t.unstyled,pt:t.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PrevPageLink"===n?(r(),u(g,{key:1,"aria-label":p.getAriaLabel("prevPageLabel"),template:t.$slots.prevpagelinkicon,onClick:e[1]||(e[1]=function(t){return p.changePageToPrev(t)}),disabled:p.isFirstPage||p.empty,unstyled:t.unstyled,pt:t.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"NextPageLink"===n?(r(),u(d,{key:2,"aria-label":p.getAriaLabel("nextPageLabel"),template:t.$slots.nextpagelinkicon,onClick:e[2]||(e[2]=function(t){return p.changePageToNext(t)}),disabled:p.isLastPage||p.empty,unstyled:t.unstyled,pt:t.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"LastPageLink"===n?(r(),u(m,{key:3,"aria-label":p.getAriaLabel("lastPageLabel"),template:t.$slots.lastpagelinkicon,onClick:e[3]||(e[3]=function(t){return p.changePageToLast(t)}),disabled:p.isLastPage||p.empty,unstyled:t.unstyled,pt:t.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PageLinks"===n?(r(),u(f,{key:4,"aria-label":p.getAriaLabel("pageLabel"),value:p.pageLinks,page:p.page,onClick:e[4]||(e[4]=function(t){return p.changePageLink(t)}),pt:t.pt},null,8,["aria-label","value","page","pt"])):"CurrentPageReport"===n?(r(),u(b,{key:5,"aria-live":"polite",template:t.currentPageReportTemplate,currentPage:p.currentPage,page:p.page,pageCount:p.pageCount,first:s.d_first,rows:s.d_rows,totalRecords:t.totalRecords,unstyled:t.unstyled,pt:t.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):"RowsPerPageDropdown"===n&&t.rowsPerPageOptions?(r(),u(k,{key:6,"aria-label":p.getAriaLabel("rowsPerPageLabel"),rows:s.d_rows,options:t.rowsPerPageOptions,onRowsChange:e[5]||(e[5]=function(t){return p.onRowChange(t)}),disabled:p.empty,templates:t.$slots,unstyled:t.unstyled,pt:t.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):"JumpToPageDropdown"===n?(r(),u(L,{key:7,"aria-label":p.getAriaLabel("jumpToPageDropdownLabel"),page:p.page,pageCount:p.pageCount,onPageChange:e[6]||(e[6]=function(t){return p.changePage(t)}),disabled:p.empty,templates:t.$slots,unstyled:t.unstyled,pt:t.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):"JumpToPageInput"===n?(r(),u(x,{key:8,page:p.currentPage,onPageChange:e[7]||(e[7]=function(t){return p.changePage(t)}),disabled:p.empty,unstyled:t.unstyled,pt:t.pt},null,8,["page","disabled","unstyled","pt"])):w("",!0)],64)})),128)),t.$slots.end?(r(),o("div",i({key:1,class:t.cx("end")},t.ptm("end")),[v(t.$slots,"end",{state:p.currentState})],16)):w("",!0)],16)})),128))],16)):w("",!0)};export{nt as default};
1
+ import{DomHandler as e,UniqueComponentId as t}from"primevue/utils";import a from"primevue/basecomponent";import n from"primevue/paginator/style";import{openBlock as r,createElementBlock as o,mergeProps as i,toDisplayString as s,resolveDirective as l,withDirectives as p,createBlock as u,resolveDynamicComponent as c,resolveComponent as g,normalizeClass as d,createSlots as m,withCtx as f,Fragment as h,renderList as P,createTextVNode as b,normalizeProps as y,renderSlot as v,createCommentVNode as w}from"vue";import k from"primevue/icons/angledoubleleft";import L from"primevue/ripple";import x from"primevue/dropdown";import C from"primevue/inputnumber";import T from"primevue/icons/angledoubleright";import A from"primevue/icons/angleright";import I from"primevue/icons/angleleft";var N={name:"BasePaginator",extends:a,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},style:n,provide:function(){return{$parentInstance:this}}},S={name:"CurrentPageReport",hostName:"Paginator",extends:a,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var e=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return e}}};S.render=function(e,t,a,n,l,p){return r(),o("span",i({class:e.cx("current")},e.ptm("current")),s(p.text),17)};var $={name:"FirstPageLink",hostName:"Paginator",extends:a,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:k},directives:{ripple:L}};$.render=function(e,t,a,n,s,g){var d=l("ripple");return p((r(),o("button",i({class:e.cx("firstPageButton"),type:"button"},g.getPTOptions("firstPageButton"),{"data-pc-group-section":"pagebutton"}),[(r(),u(c(a.template||"AngleDoubleLeftIcon"),i({class:e.cx("firstPageIcon")},g.getPTOptions("firstPageIcon")),null,16,["class"]))],16)),[[d]])};var O={name:"JumpToPageDropdown",hostName:"Paginator",extends:a,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("page-change",e)}},computed:{pageOptions:function(){for(var e=[],t=0;t<this.pageCount;t++)e.push({label:String(t+1),value:t});return e}},components:{JTPDropdown:x}};O.render=function(e,t,a,n,o,i){var s=g("JTPDropdown");return r(),u(s,{modelValue:a.page,options:i.pageOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:d(e.cx("jumpToPageDropdown")),disabled:a.disabled,unstyled:e.unstyled,pt:e.ptm("jumpToPageDropdown"),"data-pc-section":"jumptopagedropdown","data-pc-group-section":"pagedropdown"},m({_:2},[a.templates.jumptopagedropdownicon?{name:"dropdownicon",fn:f((function(e){return[(r(),u(c(a.templates.jumptopagedropdownicon),{class:d(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var R={name:"JumpToPageInput",hostName:"Paginator",extends:a,inheritAttrs:!1,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},data:function(){return{d_page:this.page}},watch:{page:function(e){this.d_page=e}},methods:{onChange:function(e){e!==this.page&&(this.d_page=e,this.$emit("page-change",e-1))}},computed:{inputArialabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.jumpToPageInputLabel:void 0}},components:{JTPInput:C}};R.render=function(e,t,a,n,o,i){var s=g("JTPInput");return r(),u(s,{ref:"jtpInput",modelValue:o.d_page,class:d(e.cx("jumpToPageInput")),"aria-label":i.inputArialabel,disabled:a.disabled,"onUpdate:modelValue":i.onChange,unstyled:e.unstyled,pt:e.ptm("jumpToPageInput"),"data-pc-section":"jumptopageinput"},null,8,["modelValue","class","aria-label","disabled","onUpdate:modelValue","unstyled","pt"])};var D={name:"LastPageLink",hostName:"Paginator",extends:a,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleRightIcon:T},directives:{ripple:L}};D.render=function(e,t,a,n,s,g){var d=l("ripple");return p((r(),o("button",i({class:e.cx("lastPageButton"),type:"button"},g.getPTOptions("lastPageButton"),{"data-pc-group-section":"pagebutton"}),[(r(),u(c(a.template||"AngleDoubleRightIcon"),i({class:e.cx("lastPageIcon")},g.getPTOptions("lastPageIcon")),null,16,["class"]))],16)),[[d]])};var _={name:"NextPageLink",hostName:"Paginator",extends:a,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleRightIcon:A},directives:{ripple:L}};_.render=function(e,t,a,n,s,g){var d=l("ripple");return p((r(),o("button",i({class:e.cx("nextPageButton"),type:"button"},g.getPTOptions("nextPageButton"),{"data-pc-group-section":"pagebutton"}),[(r(),u(c(a.template||"AngleRightIcon"),i({class:e.cx("nextPageIcon")},g.getPTOptions("nextPageIcon")),null,16,["class"]))],16)),[[d]])};var j={name:"PageLinks",hostName:"Paginator",extends:a,inheritAttrs:!1,emits:["click"],props:{value:Array,page:Number},methods:{getPTOptions:function(e,t){return this.ptm(t,{context:{active:e===this.page}})},onPageLinkClick:function(e,t){this.$emit("click",{originalEvent:e,value:t})},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},directives:{ripple:L}},B=["aria-label","aria-current","onClick","data-p-highlight"];j.render=function(e,t,a,n,u,c){var g=l("ripple");return r(),o("span",i({class:e.cx("pages")},e.ptm("pages")),[(r(!0),o(h,null,P(a.value,(function(t){return p((r(),o("button",i({key:t,class:e.cx("pageButton",{pageLink:t}),type:"button","aria-label":c.ariaPageLabel(t),"aria-current":t-1===a.page?"page":void 0,onClick:function(e){return c.onPageLinkClick(e,t)}},c.getPTOptions(t-1,"pageButton"),{"data-p-highlight":t-1===a.page}),[b(s(t),1)],16,B)),[[g]])})),128))],16)};var F={name:"PrevPageLink",hostName:"Paginator",extends:a,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleLeftIcon:I},directives:{ripple:L}};F.render=function(e,t,a,n,s,g){var d=l("ripple");return p((r(),o("button",i({class:e.cx("previousPageButton"),type:"button"},g.getPTOptions("previousPageButton"),{"data-pc-group-section":"pagebutton"}),[(r(),u(c(a.template||"AngleLeftIcon"),i({class:e.cx("previousPageIcon")},g.getPTOptions("previousPageIcon")),null,16,["class"]))],16)),[[d]])};var E={name:"RowsPerPageDropdown",hostName:"Paginator",extends:a,emits:["rows-change"],props:{options:Array,rows:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("rows-change",e)}},computed:{rowsOptions:function(){var e=[];if(this.options)for(var t=0;t<this.options.length;t++)e.push({label:String(this.options[t]),value:this.options[t]});return e}},components:{RPPDropdown:x}};function J(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function V(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function M(e){if(Array.isArray(e))return q(e)}function U(e){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U(e)}function z(e,t){return K(e)||G(e,t)||W(e,t)||H()}function H(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function W(e,t){if(e){if("string"==typeof e)return q(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?q(e,t):void 0}}function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function G(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,r,o,i,s=[],l=!0,p=!1;try{if(o=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;l=!1}else for(;!(l=(n=o.call(a)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){p=!0,r=e}finally{try{if(!l&&null!=a.return&&(i=a.return(),Object(i)!==i))return}finally{if(p)throw r}}return s}}function K(e){if(Array.isArray(e))return e}E.render=function(e,t,a,n,o,i){var s=g("RPPDropdown");return r(),u(s,{modelValue:a.rows,options:i.rowsOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:d(e.cx("rowPerPageDropdown")),disabled:a.disabled,unstyled:e.unstyled,pt:e.ptm("rowPerPageDropdown"),"data-pc-section":"rowperpagedropdown","data-pc-group-section":"pagedropdown"},m({_:2},[a.templates.rowsperpagedropdownicon?{name:"dropdownicon",fn:f((function(e){return[(r(),u(c(a.templates.rowsperpagedropdownicon),{class:d(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var Q={name:"Paginator",extends:N,emits:["update:first","update:rows","page"],data:function(){return{d_first:this.first,d_rows:this.rows}},watch:{first:function(e){this.d_first=e},rows:function(e){this.d_rows=e},totalRecords:function(e){this.page>0&&e&&this.d_first>=e&&this.changePage(this.pageCount-1)}},mounted:function(){this.setPaginatorAttribute(),this.createStyle()},methods:{changePage:function(e){var t=this.pageCount;if(e>=0&&e<t){this.d_first=this.d_rows*e;var a={page:e,first:this.d_first,rows:this.d_rows,pageCount:t};this.$emit("update:first",this.d_first),this.$emit("update:rows",this.d_rows),this.$emit("page",a)}},changePageToFirst:function(e){this.isFirstPage||this.changePage(0),e.preventDefault()},changePageToPrev:function(e){this.changePage(this.page-1),e.preventDefault()},changePageLink:function(e){this.changePage(e.value-1),e.originalEvent.preventDefault()},changePageToNext:function(e){this.changePage(this.page+1),e.preventDefault()},changePageToLast:function(e){this.isLastPage||this.changePage(this.pageCount-1),e.preventDefault()},onRowChange:function(e){this.d_rows=e,this.changePage(this.page)},createStyle:function(){var t=this;if(this.hasBreakpoints()&&!this.isUnstyled){var a;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",e.setAttribute(this.styleElement,"nonce",null===(a=this.$primevue)||void 0===a||null===(a=a.config)||void 0===a||null===(a=a.csp)||void 0===a?void 0:a.nonce),document.head.appendChild(this.styleElement);var n="",r=Object.keys(this.template),o={};r.sort((function(e,t){return parseInt(e)-parseInt(t)})).forEach((function(e){o[e]=t.template[e]}));for(var i=0,s=Object.entries(Object.entries(o));i<s.length;i++){var l=z(s[i],2),p=l[0],u=z(l[1],1)[0],c=Object.entries(o)[p-1]?"and (min-width:".concat(Object.keys(o)[p-1],")"):"";n+="default"===u?"\n @media screen ".concat(c," {\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: flex !important;\n }\n }\n "):"\n .paginator[".concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: none !important;\n }\n @media screen ").concat(c," and (max-width: ").concat(u,") {\n .paginator[").concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: flex !important;\n }\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: none !important;\n }\n }\n ")}this.styleElement.innerHTML=n}},hasBreakpoints:function(){return"object"===U(this.template)},setPaginatorAttribute:function(){var e,t=this;this.$refs.paginator&&this.$refs.paginator.length>=0&&(e=this.$refs.paginator,M(e)||V(e)||W(e)||J()).forEach((function(e){e.setAttribute(t.attributeSelector,"")}))},getAriaLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[e]:void 0}},computed:{templateItems:function(){var e={};if(this.hasBreakpoints()){for(var t in(e=this.template).default||(e.default="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"),e)e[t]=this.template[t].split(" ").map((function(e){return e.trim()}));return e}return e.default=this.template.split(" ").map((function(e){return e.trim()})),e},page:function(){return Math.floor(this.d_first/this.d_rows)},pageCount:function(){return Math.ceil(this.totalRecords/this.d_rows)},isFirstPage:function(){return 0===this.page},isLastPage:function(){return this.page===this.pageCount-1},calculatePageLinkBoundaries:function(){var e=this.pageCount,t=Math.min(this.pageLinkSize,e),a=Math.max(0,Math.ceil(this.page-t/2)),n=Math.min(e-1,a+t-1);return[a=Math.max(0,a-(this.pageLinkSize-(n-a+1))),n]},pageLinks:function(){for(var e=[],t=this.calculatePageLinkBoundaries,a=t[1],n=t[0];n<=a;n++)e.push(n+1);return e},currentState:function(){return{page:this.page,first:this.d_first,rows:this.d_rows}},empty:function(){return 0===this.pageCount},currentPage:function(){return this.pageCount>0?this.page+1:0},attributeSelector:function(){return t()}},components:{CurrentPageReport:S,FirstPageLink:$,LastPageLink:D,NextPageLink:_,PageLinks:j,PrevPageLink:F,RowsPerPageDropdown:E,JumpToPageDropdown:O,JumpToPageInput:R}};Q.render=function(e,t,a,n,s,l){var p=g("FirstPageLink"),c=g("PrevPageLink"),d=g("NextPageLink"),m=g("LastPageLink"),f=g("PageLinks"),b=g("CurrentPageReport"),k=g("RowsPerPageDropdown"),L=g("JumpToPageDropdown"),x=g("JumpToPageInput");return e.alwaysShow||l.pageLinks&&l.pageLinks.length>1?(r(),o("nav",y(i({key:0},e.ptm("paginatorWrapper"))),[(r(!0),o(h,null,P(l.templateItems,(function(a,n){return r(),o("div",i({key:n,ref_for:!0,ref:"paginator",class:e.cx("paginator",{key:n})},e.ptm("root"),{"data-pc-name":"paginator"}),[e.$slots.start?(r(),o("div",i({key:0,class:e.cx("start")},e.ptm("start")),[v(e.$slots,"start",{state:l.currentState})],16)):w("",!0),(r(!0),o(h,null,P(a,(function(a){return r(),o(h,{key:a},["FirstPageLink"===a?(r(),u(p,{key:0,"aria-label":l.getAriaLabel("firstPageLabel"),template:e.$slots.firstpagelinkicon,onClick:t[0]||(t[0]=function(e){return l.changePageToFirst(e)}),disabled:l.isFirstPage||l.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PrevPageLink"===a?(r(),u(c,{key:1,"aria-label":l.getAriaLabel("prevPageLabel"),template:e.$slots.prevpagelinkicon,onClick:t[1]||(t[1]=function(e){return l.changePageToPrev(e)}),disabled:l.isFirstPage||l.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"NextPageLink"===a?(r(),u(d,{key:2,"aria-label":l.getAriaLabel("nextPageLabel"),template:e.$slots.nextpagelinkicon,onClick:t[2]||(t[2]=function(e){return l.changePageToNext(e)}),disabled:l.isLastPage||l.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"LastPageLink"===a?(r(),u(m,{key:3,"aria-label":l.getAriaLabel("lastPageLabel"),template:e.$slots.lastpagelinkicon,onClick:t[3]||(t[3]=function(e){return l.changePageToLast(e)}),disabled:l.isLastPage||l.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PageLinks"===a?(r(),u(f,{key:4,"aria-label":l.getAriaLabel("pageLabel"),value:l.pageLinks,page:l.page,onClick:t[4]||(t[4]=function(e){return l.changePageLink(e)}),pt:e.pt},null,8,["aria-label","value","page","pt"])):"CurrentPageReport"===a?(r(),u(b,{key:5,"aria-live":"polite",template:e.currentPageReportTemplate,currentPage:l.currentPage,page:l.page,pageCount:l.pageCount,first:s.d_first,rows:s.d_rows,totalRecords:e.totalRecords,unstyled:e.unstyled,pt:e.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):"RowsPerPageDropdown"===a&&e.rowsPerPageOptions?(r(),u(k,{key:6,"aria-label":l.getAriaLabel("rowsPerPageLabel"),rows:s.d_rows,options:e.rowsPerPageOptions,onRowsChange:t[5]||(t[5]=function(e){return l.onRowChange(e)}),disabled:l.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):"JumpToPageDropdown"===a?(r(),u(L,{key:7,"aria-label":l.getAriaLabel("jumpToPageDropdownLabel"),page:l.page,pageCount:l.pageCount,onPageChange:t[6]||(t[6]=function(e){return l.changePage(e)}),disabled:l.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):"JumpToPageInput"===a?(r(),u(x,{key:8,page:l.currentPage,onPageChange:t[7]||(t[7]=function(e){return l.changePage(e)}),disabled:l.empty,unstyled:e.unstyled,pt:e.pt},null,8,["page","disabled","unstyled","pt"])):w("",!0)],64)})),128)),e.$slots.end?(r(),o("div",i({key:1,class:e.cx("end")},e.ptm("end")),[v(e.$slots,"end",{state:l.currentState})],16)):w("",!0)],16)})),128))],16)):w("",!0)};export{Q as default};
@@ -1,10 +1,11 @@
1
1
  this.primevue = this.primevue || {};
2
- this.primevue.paginator = (function (utils, BaseComponent, usestyle, vue, AngleDoubleLeftIcon, Ripple, Dropdown, InputNumber, AngleDoubleRightIcon, AngleRightIcon, AngleLeftIcon) {
2
+ this.primevue.paginator = (function (utils, BaseComponent, PaginatorStyle, vue, AngleDoubleLeftIcon, Ripple, Dropdown, InputNumber, AngleDoubleRightIcon, AngleRightIcon, AngleLeftIcon) {
3
3
  'use strict';
4
4
 
5
5
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
6
 
7
7
  var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
8
+ var PaginatorStyle__default = /*#__PURE__*/_interopDefaultLegacy(PaginatorStyle);
8
9
  var AngleDoubleLeftIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDoubleLeftIcon);
9
10
  var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
10
11
  var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
@@ -13,67 +14,6 @@ this.primevue.paginator = (function (utils, BaseComponent, usestyle, vue, AngleD
13
14
  var AngleRightIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleRightIcon);
14
15
  var AngleLeftIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleLeftIcon);
15
16
 
16
- function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$1(o); }
17
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
18
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof$1(key) === "symbol" ? key : String(key); }
19
- function _toPrimitive(input, hint) { if (_typeof$1(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof$1(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
20
- var styles = "\n@layer primevue {\n .p-paginator-default {\n display: flex;\n }\n \n .p-paginator {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n }\n \n .p-paginator-left-content {\n margin-right: auto;\n }\n \n .p-paginator-right-content {\n margin-left: auto;\n }\n \n .p-paginator-page,\n .p-paginator-next,\n .p-paginator-last,\n .p-paginator-first,\n .p-paginator-prev,\n .p-paginator-current {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n user-select: none;\n overflow: hidden;\n position: relative;\n }\n \n .p-paginator-element:focus {\n z-index: 1;\n position: relative;\n }\n}\n";
21
- var classes = {
22
- paginator: function paginator(_ref) {
23
- var instance = _ref.instance,
24
- key = _ref.key;
25
- return ['p-paginator p-component', _defineProperty({
26
- 'p-paginator-default': !instance.hasBreakpoints()
27
- }, "p-paginator-".concat(key), instance.hasBreakpoints())];
28
- },
29
- start: 'p-paginator-left-content',
30
- end: 'p-paginator-right-content',
31
- firstPageButton: function firstPageButton(_ref3) {
32
- var instance = _ref3.instance;
33
- return ['p-paginator-first p-paginator-element p-link', {
34
- 'p-disabled': instance.$attrs.disabled
35
- }];
36
- },
37
- firstPageIcon: 'p-paginator-icon',
38
- previousPageButton: function previousPageButton(_ref4) {
39
- var instance = _ref4.instance;
40
- return ['p-paginator-prev p-paginator-element p-link', {
41
- 'p-disabled': instance.$attrs.disabled
42
- }];
43
- },
44
- previousPageIcon: 'p-paginator-icon',
45
- nextPageButton: function nextPageButton(_ref5) {
46
- var instance = _ref5.instance;
47
- return ['p-paginator-next p-paginator-element p-link', {
48
- 'p-disabled': instance.$attrs.disabled
49
- }];
50
- },
51
- nextPageIcon: 'p-paginator-icon',
52
- lastPageButton: function lastPageButton(_ref6) {
53
- var instance = _ref6.instance;
54
- return ['p-paginator-last p-paginator-element p-link', {
55
- 'p-disabled': instance.$attrs.disabled
56
- }];
57
- },
58
- lastPageIcon: 'p-paginator-icon',
59
- pages: 'p-paginator-pages',
60
- pageButton: function pageButton(_ref7) {
61
- var props = _ref7.props,
62
- pageLink = _ref7.pageLink;
63
- return ['p-paginator-page p-paginator-element p-link', {
64
- 'p-highlight': pageLink - 1 === props.page
65
- }];
66
- },
67
- current: 'p-paginator-current',
68
- rowPerPageDropdown: 'p-paginator-rpp-options',
69
- jumpToPageDropdown: 'p-paginator-page-options',
70
- jumpToPageInput: 'p-paginator-page-input'
71
- };
72
- var _useStyle = usestyle.useStyle(styles, {
73
- name: 'paginator',
74
- manual: true
75
- }),
76
- loadStyle = _useStyle.load;
77
17
  var script$a = {
78
18
  name: 'BasePaginator',
79
19
  "extends": BaseComponent__default["default"],
@@ -111,10 +51,7 @@ this.primevue.paginator = (function (utils, BaseComponent, usestyle, vue, AngleD
111
51
  "default": true
112
52
  }
113
53
  },
114
- css: {
115
- classes: classes,
116
- loadStyle: loadStyle
117
- },
54
+ style: PaginatorStyle__default["default"],
118
55
  provide: function provide() {
119
56
  return {
120
57
  $parentInstance: this
@@ -931,4 +868,4 @@ this.primevue.paginator = (function (utils, BaseComponent, usestyle, vue, AngleD
931
868
 
932
869
  return script;
933
870
 
934
- })(primevue.utils, primevue.basecomponent, primevue.usestyle, Vue, primevue.icons.angledoubleleft, primevue.ripple, primevue.dropdown, primevue.inputnumber, primevue.icons.angledoubleright, primevue.icons.angleright, primevue.icons.angleleft);
871
+ })(primevue.utils, primevue.basecomponent, primevue.paginator.style, Vue, primevue.icons.angledoubleleft, primevue.ripple, primevue.dropdown, primevue.inputnumber, primevue.icons.angledoubleright, primevue.icons.angleright, primevue.icons.angleleft);
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.paginator=function(e,t,n,a,o,r,i,l,s,p,u){"use strict";function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=c(t),d=c(o),m=c(r),f=c(i),h=c(l),P=c(s),b=c(p),y=c(u);function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function k(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){var t=B(e,"string");return"symbol"===v(t)?t:String(t)}function B(e,t){if("object"!==v(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var a=n.call(e,t||"default");if("object"!==v(a))return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var L={paginator:function(e){var t=e.instance,n=e.key;return["p-paginator p-component",k({"p-paginator-default":!t.hasBreakpoints()},"p-paginator-".concat(n),t.hasBreakpoints())]},start:"p-paginator-left-content",end:"p-paginator-right-content",firstPageButton:function(e){return["p-paginator-first p-paginator-element p-link",{"p-disabled":e.instance.$attrs.disabled}]},firstPageIcon:"p-paginator-icon",previousPageButton:function(e){return["p-paginator-prev p-paginator-element p-link",{"p-disabled":e.instance.$attrs.disabled}]},previousPageIcon:"p-paginator-icon",nextPageButton:function(e){return["p-paginator-next p-paginator-element p-link",{"p-disabled":e.instance.$attrs.disabled}]},nextPageIcon:"p-paginator-icon",lastPageButton:function(e){return["p-paginator-last p-paginator-element p-link",{"p-disabled":e.instance.$attrs.disabled}]},lastPageIcon:"p-paginator-icon",pages:"p-paginator-pages",pageButton:function(e){return["p-paginator-page p-paginator-element p-link",{"p-highlight":e.pageLink-1===e.props.page}]},current:"p-paginator-current",rowPerPageDropdown:"p-paginator-rpp-options",jumpToPageDropdown:"p-paginator-page-options",jumpToPageInput:"p-paginator-page-input"},C=n.useStyle("\n@layer primevue {\n .p-paginator-default {\n display: flex;\n }\n \n .p-paginator {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-wrap: wrap;\n }\n \n .p-paginator-left-content {\n margin-right: auto;\n }\n \n .p-paginator-right-content {\n margin-left: auto;\n }\n \n .p-paginator-page,\n .p-paginator-next,\n .p-paginator-last,\n .p-paginator-first,\n .p-paginator-prev,\n .p-paginator-current {\n cursor: pointer;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n line-height: 1;\n user-select: none;\n overflow: hidden;\n position: relative;\n }\n \n .p-paginator-element:focus {\n z-index: 1;\n position: relative;\n }\n}\n",{name:"paginator",manual:!0}),x={name:"BasePaginator",extends:g.default,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},css:{classes:L,loadStyle:C.load},provide:function(){return{$parentInstance:this}}},D={name:"CurrentPageReport",hostName:"Paginator",extends:g.default,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var e=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return e}}};D.render=function(e,t,n,o,r,i){return a.openBlock(),a.createElementBlock("span",a.mergeProps({class:e.cx("current")},e.ptm("current")),a.toDisplayString(i.text),17)};var S={name:"FirstPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:d.default},directives:{ripple:m.default}};S.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("firstPageButton"),type:"button"},i.getPTOptions("firstPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleDoubleLeftIcon"),a.mergeProps({class:e.cx("firstPageIcon")},i.getPTOptions("firstPageIcon")),null,16,["class"]))],16)),[[l]])};var T={name:"JumpToPageDropdown",hostName:"Paginator",extends:g.default,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("page-change",e)}},computed:{pageOptions:function(){for(var e=[],t=0;t<this.pageCount;t++)e.push({label:String(t+1),value:t});return e}},components:{JTPDropdown:f.default}};T.render=function(e,t,n,o,r,i){var l=a.resolveComponent("JTPDropdown");return a.openBlock(),a.createBlock(l,{modelValue:n.page,options:i.pageOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:a.normalizeClass(e.cx("jumpToPageDropdown")),disabled:n.disabled,unstyled:e.unstyled,pt:e.ptm("jumpToPageDropdown"),"data-pc-section":"jumptopagedropdown","data-pc-group-section":"pagedropdown"},a.createSlots({_:2},[n.templates.jumptopagedropdownicon?{name:"dropdownicon",fn:a.withCtx((function(e){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.templates.jumptopagedropdownicon),{class:a.normalizeClass(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var I={name:"JumpToPageInput",hostName:"Paginator",extends:g.default,inheritAttrs:!1,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},data:function(){return{d_page:this.page}},watch:{page:function(e){this.d_page=e}},methods:{onChange:function(e){e!==this.page&&(this.d_page=e,this.$emit("page-change",e-1))}},computed:{inputArialabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.jumpToPageInputLabel:void 0}},components:{JTPInput:h.default}};I.render=function(e,t,n,o,r,i){var l=a.resolveComponent("JTPInput");return a.openBlock(),a.createBlock(l,{ref:"jtpInput",modelValue:r.d_page,class:a.normalizeClass(e.cx("jumpToPageInput")),"aria-label":i.inputArialabel,disabled:n.disabled,"onUpdate:modelValue":i.onChange,unstyled:e.unstyled,pt:e.ptm("jumpToPageInput"),"data-pc-section":"jumptopageinput"},null,8,["modelValue","class","aria-label","disabled","onUpdate:modelValue","unstyled","pt"])};var N={name:"LastPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleRightIcon:P.default},directives:{ripple:m.default}};N.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("lastPageButton"),type:"button"},i.getPTOptions("lastPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleDoubleRightIcon"),a.mergeProps({class:e.cx("lastPageIcon")},i.getPTOptions("lastPageIcon")),null,16,["class"]))],16)),[[l]])};var $={name:"NextPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleRightIcon:b.default},directives:{ripple:m.default}};$.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("nextPageButton"),type:"button"},i.getPTOptions("nextPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleRightIcon"),a.mergeProps({class:e.cx("nextPageIcon")},i.getPTOptions("nextPageIcon")),null,16,["class"]))],16)),[[l]])};var A={name:"PageLinks",hostName:"Paginator",extends:g.default,inheritAttrs:!1,emits:["click"],props:{value:Array,page:Number},methods:{getPTOptions:function(e,t){return this.ptm(t,{context:{active:e===this.page}})},onPageLinkClick:function(e,t){this.$emit("click",{originalEvent:e,value:t})},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},directives:{ripple:m.default}},j=["aria-label","aria-current","onClick","data-p-highlight"];A.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.openBlock(),a.createElementBlock("span",a.mergeProps({class:e.cx("pages")},e.ptm("pages")),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.value,(function(t){return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({key:t,class:e.cx("pageButton",{pageLink:t}),type:"button","aria-label":i.ariaPageLabel(t),"aria-current":t-1===n.page?"page":void 0,onClick:function(e){return i.onPageLinkClick(e,t)}},i.getPTOptions(t-1,"pageButton"),{"data-p-highlight":t-1===n.page}),[a.createTextVNode(a.toDisplayString(t),1)],16,j)),[[l]])})),128))],16)};var O={name:"PrevPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleLeftIcon:y.default},directives:{ripple:m.default}};O.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("previousPageButton"),type:"button"},i.getPTOptions("previousPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleLeftIcon"),a.mergeProps({class:e.cx("previousPageIcon")},i.getPTOptions("previousPageIcon")),null,16,["class"]))],16)),[[l]])};var R={name:"RowsPerPageDropdown",hostName:"Paginator",extends:g.default,emits:["rows-change"],props:{options:Array,rows:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("rows-change",e)}},computed:{rowsOptions:function(){var e=[];if(this.options)for(var t=0;t<this.options.length;t++)e.push({label:String(this.options[t]),value:this.options[t]});return e}},components:{RPPDropdown:f.default}};function E(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function F(e){if(Array.isArray(e))return U(e)}function V(e){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},V(e)}function J(e,t){return q(e)||H(e,t)||M(e,t)||z()}function z(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function M(e,t){if(e){if("string"==typeof e)return U(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?U(e,t):void 0}}function U(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function H(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,o,r,i,l=[],s=!0,p=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){p=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(p)throw o}}return l}}function q(e){if(Array.isArray(e))return e}R.render=function(e,t,n,o,r,i){var l=a.resolveComponent("RPPDropdown");return a.openBlock(),a.createBlock(l,{modelValue:n.rows,options:i.rowsOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:a.normalizeClass(e.cx("rowPerPageDropdown")),disabled:n.disabled,unstyled:e.unstyled,pt:e.ptm("rowPerPageDropdown"),"data-pc-section":"rowperpagedropdown","data-pc-group-section":"pagedropdown"},a.createSlots({_:2},[n.templates.rowsperpagedropdownicon?{name:"dropdownicon",fn:a.withCtx((function(e){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.templates.rowsperpagedropdownicon),{class:a.normalizeClass(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var W={name:"Paginator",extends:x,emits:["update:first","update:rows","page"],data:function(){return{d_first:this.first,d_rows:this.rows}},watch:{first:function(e){this.d_first=e},rows:function(e){this.d_rows=e},totalRecords:function(e){this.page>0&&e&&this.d_first>=e&&this.changePage(this.pageCount-1)}},mounted:function(){this.setPaginatorAttribute(),this.createStyle()},methods:{changePage:function(e){var t=this.pageCount;if(e>=0&&e<t){this.d_first=this.d_rows*e;var n={page:e,first:this.d_first,rows:this.d_rows,pageCount:t};this.$emit("update:first",this.d_first),this.$emit("update:rows",this.d_rows),this.$emit("page",n)}},changePageToFirst:function(e){this.isFirstPage||this.changePage(0),e.preventDefault()},changePageToPrev:function(e){this.changePage(this.page-1),e.preventDefault()},changePageLink:function(e){this.changePage(e.value-1),e.originalEvent.preventDefault()},changePageToNext:function(e){this.changePage(this.page+1),e.preventDefault()},changePageToLast:function(e){this.isLastPage||this.changePage(this.pageCount-1),e.preventDefault()},onRowChange:function(e){this.d_rows=e,this.changePage(this.page)},createStyle:function(){var t=this;if(this.hasBreakpoints()&&!this.isUnstyled){var n;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",e.DomHandler.setAttribute(this.styleElement,"nonce",null===(n=this.$primevue)||void 0===n||null===(n=n.config)||void 0===n||null===(n=n.csp)||void 0===n?void 0:n.nonce),document.head.appendChild(this.styleElement);var a="",o=Object.keys(this.template),r={};o.sort((function(e,t){return parseInt(e)-parseInt(t)})).forEach((function(e){r[e]=t.template[e]}));for(var i=0,l=Object.entries(Object.entries(r));i<l.length;i++){var s=J(l[i],2),p=s[0],u=J(s[1],1)[0],c=Object.entries(r)[p-1]?"and (min-width:".concat(Object.keys(r)[p-1],")"):"";a+="default"===u?"\n @media screen ".concat(c," {\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: flex !important;\n }\n }\n "):"\n .paginator[".concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: none !important;\n }\n @media screen ").concat(c," and (max-width: ").concat(u,") {\n .paginator[").concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: flex !important;\n }\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: none !important;\n }\n }\n ")}this.styleElement.innerHTML=a}},hasBreakpoints:function(){return"object"===V(this.template)},setPaginatorAttribute:function(){var e,t=this;this.$refs.paginator&&this.$refs.paginator.length>=0&&(e=this.$refs.paginator,F(e)||_(e)||M(e)||E()).forEach((function(e){e.setAttribute(t.attributeSelector,"")}))},getAriaLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[e]:void 0}},computed:{templateItems:function(){var e={};if(this.hasBreakpoints()){for(var t in(e=this.template).default||(e.default="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"),e)e[t]=this.template[t].split(" ").map((function(e){return e.trim()}));return e}return e.default=this.template.split(" ").map((function(e){return e.trim()})),e},page:function(){return Math.floor(this.d_first/this.d_rows)},pageCount:function(){return Math.ceil(this.totalRecords/this.d_rows)},isFirstPage:function(){return 0===this.page},isLastPage:function(){return this.page===this.pageCount-1},calculatePageLinkBoundaries:function(){var e=this.pageCount,t=Math.min(this.pageLinkSize,e),n=Math.max(0,Math.ceil(this.page-t/2)),a=Math.min(e-1,n+t-1);return[n=Math.max(0,n-(this.pageLinkSize-(a-n+1))),a]},pageLinks:function(){for(var e=[],t=this.calculatePageLinkBoundaries,n=t[1],a=t[0];a<=n;a++)e.push(a+1);return e},currentState:function(){return{page:this.page,first:this.d_first,rows:this.d_rows}},empty:function(){return 0===this.pageCount},currentPage:function(){return this.pageCount>0?this.page+1:0},attributeSelector:function(){return e.UniqueComponentId()}},components:{CurrentPageReport:D,FirstPageLink:S,LastPageLink:N,NextPageLink:$,PageLinks:A,PrevPageLink:O,RowsPerPageDropdown:R,JumpToPageDropdown:T,JumpToPageInput:I}};return W.render=function(e,t,n,o,r,i){var l=a.resolveComponent("FirstPageLink"),s=a.resolveComponent("PrevPageLink"),p=a.resolveComponent("NextPageLink"),u=a.resolveComponent("LastPageLink"),c=a.resolveComponent("PageLinks"),g=a.resolveComponent("CurrentPageReport"),d=a.resolveComponent("RowsPerPageDropdown"),m=a.resolveComponent("JumpToPageDropdown"),f=a.resolveComponent("JumpToPageInput");return e.alwaysShow||i.pageLinks&&i.pageLinks.length>1?(a.openBlock(),a.createElementBlock("nav",a.normalizeProps(a.mergeProps({key:0},e.ptm("paginatorWrapper"))),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.templateItems,(function(n,o){return a.openBlock(),a.createElementBlock("div",a.mergeProps({key:o,ref_for:!0,ref:"paginator",class:e.cx("paginator",{key:o})},e.ptm("root"),{"data-pc-name":"paginator"}),[e.$slots.start?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,class:e.cx("start")},e.ptm("start")),[a.renderSlot(e.$slots,"start",{state:i.currentState})],16)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n,(function(n){return a.openBlock(),a.createElementBlock(a.Fragment,{key:n},["FirstPageLink"===n?(a.openBlock(),a.createBlock(l,{key:0,"aria-label":i.getAriaLabel("firstPageLabel"),template:e.$slots.firstpagelinkicon,onClick:t[0]||(t[0]=function(e){return i.changePageToFirst(e)}),disabled:i.isFirstPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PrevPageLink"===n?(a.openBlock(),a.createBlock(s,{key:1,"aria-label":i.getAriaLabel("prevPageLabel"),template:e.$slots.prevpagelinkicon,onClick:t[1]||(t[1]=function(e){return i.changePageToPrev(e)}),disabled:i.isFirstPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"NextPageLink"===n?(a.openBlock(),a.createBlock(p,{key:2,"aria-label":i.getAriaLabel("nextPageLabel"),template:e.$slots.nextpagelinkicon,onClick:t[2]||(t[2]=function(e){return i.changePageToNext(e)}),disabled:i.isLastPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"LastPageLink"===n?(a.openBlock(),a.createBlock(u,{key:3,"aria-label":i.getAriaLabel("lastPageLabel"),template:e.$slots.lastpagelinkicon,onClick:t[3]||(t[3]=function(e){return i.changePageToLast(e)}),disabled:i.isLastPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PageLinks"===n?(a.openBlock(),a.createBlock(c,{key:4,"aria-label":i.getAriaLabel("pageLabel"),value:i.pageLinks,page:i.page,onClick:t[4]||(t[4]=function(e){return i.changePageLink(e)}),pt:e.pt},null,8,["aria-label","value","page","pt"])):"CurrentPageReport"===n?(a.openBlock(),a.createBlock(g,{key:5,"aria-live":"polite",template:e.currentPageReportTemplate,currentPage:i.currentPage,page:i.page,pageCount:i.pageCount,first:r.d_first,rows:r.d_rows,totalRecords:e.totalRecords,unstyled:e.unstyled,pt:e.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):"RowsPerPageDropdown"===n&&e.rowsPerPageOptions?(a.openBlock(),a.createBlock(d,{key:6,"aria-label":i.getAriaLabel("rowsPerPageLabel"),rows:r.d_rows,options:e.rowsPerPageOptions,onRowsChange:t[5]||(t[5]=function(e){return i.onRowChange(e)}),disabled:i.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):"JumpToPageDropdown"===n?(a.openBlock(),a.createBlock(m,{key:7,"aria-label":i.getAriaLabel("jumpToPageDropdownLabel"),page:i.page,pageCount:i.pageCount,onPageChange:t[6]||(t[6]=function(e){return i.changePage(e)}),disabled:i.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):"JumpToPageInput"===n?(a.openBlock(),a.createBlock(f,{key:8,page:i.currentPage,onPageChange:t[7]||(t[7]=function(e){return i.changePage(e)}),disabled:i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["page","disabled","unstyled","pt"])):a.createCommentVNode("",!0)],64)})),128)),e.$slots.end?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:1,class:e.cx("end")},e.ptm("end")),[a.renderSlot(e.$slots,"end",{state:i.currentState})],16)):a.createCommentVNode("",!0)],16)})),128))],16)):a.createCommentVNode("",!0)},W}(primevue.utils,primevue.basecomponent,primevue.usestyle,Vue,primevue.icons.angledoubleleft,primevue.ripple,primevue.dropdown,primevue.inputnumber,primevue.icons.angledoubleright,primevue.icons.angleright,primevue.icons.angleleft);
1
+ this.primevue=this.primevue||{},this.primevue.paginator=function(e,t,n,a,o,r,i,l,s,p,u){"use strict";function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var g=c(t),d=c(n),m=c(o),f=c(r),h=c(i),P=c(l),b=c(s),y=c(p),v=c(u),k={name:"BasePaginator",extends:g.default,props:{totalRecords:{type:Number,default:0},rows:{type:Number,default:0},first:{type:Number,default:0},pageLinkSize:{type:Number,default:5},rowsPerPageOptions:{type:Array,default:null},template:{type:[Object,String],default:"FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"},currentPageReportTemplate:{type:null,default:"({currentPage} of {totalPages})"},alwaysShow:{type:Boolean,default:!0}},style:d.default,provide:function(){return{$parentInstance:this}}},w={name:"CurrentPageReport",hostName:"Paginator",extends:g.default,props:{pageCount:{type:Number,default:0},currentPage:{type:Number,default:0},page:{type:Number,default:0},first:{type:Number,default:0},rows:{type:Number,default:0},totalRecords:{type:Number,default:0},template:{type:String,default:"({currentPage} of {totalPages})"}},computed:{text:function(){var e=this.template.replace("{currentPage}",this.currentPage).replace("{totalPages}",this.pageCount).replace("{first}",this.pageCount>0?this.first+1:0).replace("{last}",Math.min(this.first+this.rows,this.totalRecords)).replace("{rows}",this.rows).replace("{totalRecords}",this.totalRecords);return e}}};w.render=function(e,t,n,o,r,i){return a.openBlock(),a.createElementBlock("span",a.mergeProps({class:e.cx("current")},e.ptm("current")),a.toDisplayString(i.text),17)};var B={name:"FirstPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleLeftIcon:m.default},directives:{ripple:f.default}};B.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("firstPageButton"),type:"button"},i.getPTOptions("firstPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleDoubleLeftIcon"),a.mergeProps({class:e.cx("firstPageIcon")},i.getPTOptions("firstPageIcon")),null,16,["class"]))],16)),[[l]])};var L={name:"JumpToPageDropdown",hostName:"Paginator",extends:g.default,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("page-change",e)}},computed:{pageOptions:function(){for(var e=[],t=0;t<this.pageCount;t++)e.push({label:String(t+1),value:t});return e}},components:{JTPDropdown:h.default}};L.render=function(e,t,n,o,r,i){var l=a.resolveComponent("JTPDropdown");return a.openBlock(),a.createBlock(l,{modelValue:n.page,options:i.pageOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:a.normalizeClass(e.cx("jumpToPageDropdown")),disabled:n.disabled,unstyled:e.unstyled,pt:e.ptm("jumpToPageDropdown"),"data-pc-section":"jumptopagedropdown","data-pc-group-section":"pagedropdown"},a.createSlots({_:2},[n.templates.jumptopagedropdownicon?{name:"dropdownicon",fn:a.withCtx((function(e){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.templates.jumptopagedropdownicon),{class:a.normalizeClass(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var C={name:"JumpToPageInput",hostName:"Paginator",extends:g.default,inheritAttrs:!1,emits:["page-change"],props:{page:Number,pageCount:Number,disabled:Boolean},data:function(){return{d_page:this.page}},watch:{page:function(e){this.d_page=e}},methods:{onChange:function(e){e!==this.page&&(this.d_page=e,this.$emit("page-change",e-1))}},computed:{inputArialabel:function(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.jumpToPageInputLabel:void 0}},components:{JTPInput:P.default}};C.render=function(e,t,n,o,r,i){var l=a.resolveComponent("JTPInput");return a.openBlock(),a.createBlock(l,{ref:"jtpInput",modelValue:r.d_page,class:a.normalizeClass(e.cx("jumpToPageInput")),"aria-label":i.inputArialabel,disabled:n.disabled,"onUpdate:modelValue":i.onChange,unstyled:e.unstyled,pt:e.ptm("jumpToPageInput"),"data-pc-section":"jumptopageinput"},null,8,["modelValue","class","aria-label","disabled","onUpdate:modelValue","unstyled","pt"])};var x={name:"LastPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleDoubleRightIcon:b.default},directives:{ripple:f.default}};x.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("lastPageButton"),type:"button"},i.getPTOptions("lastPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleDoubleRightIcon"),a.mergeProps({class:e.cx("lastPageIcon")},i.getPTOptions("lastPageIcon")),null,16,["class"]))],16)),[[l]])};var D={name:"NextPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleRightIcon:y.default},directives:{ripple:f.default}};D.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("nextPageButton"),type:"button"},i.getPTOptions("nextPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleRightIcon"),a.mergeProps({class:e.cx("nextPageIcon")},i.getPTOptions("nextPageIcon")),null,16,["class"]))],16)),[[l]])};var T={name:"PageLinks",hostName:"Paginator",extends:g.default,inheritAttrs:!1,emits:["click"],props:{value:Array,page:Number},methods:{getPTOptions:function(e,t){return this.ptm(t,{context:{active:e===this.page}})},onPageLinkClick:function(e,t){this.$emit("click",{originalEvent:e,value:t})},ariaPageLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g,e):void 0}},directives:{ripple:f.default}},S=["aria-label","aria-current","onClick","data-p-highlight"];T.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.openBlock(),a.createElementBlock("span",a.mergeProps({class:e.cx("pages")},e.ptm("pages")),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.value,(function(t){return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({key:t,class:e.cx("pageButton",{pageLink:t}),type:"button","aria-label":i.ariaPageLabel(t),"aria-current":t-1===n.page?"page":void 0,onClick:function(e){return i.onPageLinkClick(e,t)}},i.getPTOptions(t-1,"pageButton"),{"data-p-highlight":t-1===n.page}),[a.createTextVNode(a.toDisplayString(t),1)],16,S)),[[l]])})),128))],16)};var N={name:"PrevPageLink",hostName:"Paginator",extends:g.default,props:{template:{type:Function,default:null}},methods:{getPTOptions:function(e){return this.ptm(e,{context:{disabled:this.$attrs.disabled}})}},components:{AngleLeftIcon:v.default},directives:{ripple:f.default}};N.render=function(e,t,n,o,r,i){var l=a.resolveDirective("ripple");return a.withDirectives((a.openBlock(),a.createElementBlock("button",a.mergeProps({class:e.cx("previousPageButton"),type:"button"},i.getPTOptions("previousPageButton"),{"data-pc-group-section":"pagebutton"}),[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.template||"AngleLeftIcon"),a.mergeProps({class:e.cx("previousPageIcon")},i.getPTOptions("previousPageIcon")),null,16,["class"]))],16)),[[l]])};var I={name:"RowsPerPageDropdown",hostName:"Paginator",extends:g.default,emits:["rows-change"],props:{options:Array,rows:Number,disabled:Boolean,templates:null},methods:{onChange:function(e){this.$emit("rows-change",e)}},computed:{rowsOptions:function(){var e=[];if(this.options)for(var t=0;t<this.options.length;t++)e.push({label:String(this.options[t]),value:this.options[t]});return e}},components:{RPPDropdown:h.default}};function A(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function O(e){if(Array.isArray(e))return F(e)}function R(e){return R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},R(e)}function E(e,t){return J(e)||V(e,t)||j(e,t)||_()}function _(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function j(e,t){if(e){if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(e,t):void 0}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function V(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,o,r,i,l=[],s=!0,p=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(l.push(a.value),l.length!==t);s=!0);}catch(e){p=!0,o=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(p)throw o}}return l}}function J(e){if(Array.isArray(e))return e}I.render=function(e,t,n,o,r,i){var l=a.resolveComponent("RPPDropdown");return a.openBlock(),a.createBlock(l,{modelValue:n.rows,options:i.rowsOptions,optionLabel:"label",optionValue:"value","onUpdate:modelValue":t[0]||(t[0]=function(e){return i.onChange(e)}),class:a.normalizeClass(e.cx("rowPerPageDropdown")),disabled:n.disabled,unstyled:e.unstyled,pt:e.ptm("rowPerPageDropdown"),"data-pc-section":"rowperpagedropdown","data-pc-group-section":"pagedropdown"},a.createSlots({_:2},[n.templates.rowsperpagedropdownicon?{name:"dropdownicon",fn:a.withCtx((function(e){return[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.templates.rowsperpagedropdownicon),{class:a.normalizeClass(e.class)},null,8,["class"]))]})),key:"0"}:void 0]),1032,["modelValue","options","class","disabled","unstyled","pt"])};var M={name:"Paginator",extends:k,emits:["update:first","update:rows","page"],data:function(){return{d_first:this.first,d_rows:this.rows}},watch:{first:function(e){this.d_first=e},rows:function(e){this.d_rows=e},totalRecords:function(e){this.page>0&&e&&this.d_first>=e&&this.changePage(this.pageCount-1)}},mounted:function(){this.setPaginatorAttribute(),this.createStyle()},methods:{changePage:function(e){var t=this.pageCount;if(e>=0&&e<t){this.d_first=this.d_rows*e;var n={page:e,first:this.d_first,rows:this.d_rows,pageCount:t};this.$emit("update:first",this.d_first),this.$emit("update:rows",this.d_rows),this.$emit("page",n)}},changePageToFirst:function(e){this.isFirstPage||this.changePage(0),e.preventDefault()},changePageToPrev:function(e){this.changePage(this.page-1),e.preventDefault()},changePageLink:function(e){this.changePage(e.value-1),e.originalEvent.preventDefault()},changePageToNext:function(e){this.changePage(this.page+1),e.preventDefault()},changePageToLast:function(e){this.isLastPage||this.changePage(this.pageCount-1),e.preventDefault()},onRowChange:function(e){this.d_rows=e,this.changePage(this.page)},createStyle:function(){var t=this;if(this.hasBreakpoints()&&!this.isUnstyled){var n;this.styleElement=document.createElement("style"),this.styleElement.type="text/css",e.DomHandler.setAttribute(this.styleElement,"nonce",null===(n=this.$primevue)||void 0===n||null===(n=n.config)||void 0===n||null===(n=n.csp)||void 0===n?void 0:n.nonce),document.head.appendChild(this.styleElement);var a="",o=Object.keys(this.template),r={};o.sort((function(e,t){return parseInt(e)-parseInt(t)})).forEach((function(e){r[e]=t.template[e]}));for(var i=0,l=Object.entries(Object.entries(r));i<l.length;i++){var s=E(l[i],2),p=s[0],u=E(s[1],1)[0],c=Object.entries(r)[p-1]?"and (min-width:".concat(Object.keys(r)[p-1],")"):"";a+="default"===u?"\n @media screen ".concat(c," {\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: flex !important;\n }\n }\n "):"\n .paginator[".concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: none !important;\n }\n @media screen ").concat(c," and (max-width: ").concat(u,") {\n .paginator[").concat(this.attributeSelector,"], .p-paginator-").concat(u," {\n display: flex !important;\n }\n .paginator[").concat(this.attributeSelector,"],\n .p-paginator-default{\n display: none !important;\n }\n }\n ")}this.styleElement.innerHTML=a}},hasBreakpoints:function(){return"object"===R(this.template)},setPaginatorAttribute:function(){var e,t=this;this.$refs.paginator&&this.$refs.paginator.length>=0&&(e=this.$refs.paginator,O(e)||$(e)||j(e)||A()).forEach((function(e){e.setAttribute(t.attributeSelector,"")}))},getAriaLabel:function(e){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[e]:void 0}},computed:{templateItems:function(){var e={};if(this.hasBreakpoints()){for(var t in(e=this.template).default||(e.default="FirstPageLink PrevPageLink PageLinks NextPageLink LastPageLink RowsPerPageDropdown"),e)e[t]=this.template[t].split(" ").map((function(e){return e.trim()}));return e}return e.default=this.template.split(" ").map((function(e){return e.trim()})),e},page:function(){return Math.floor(this.d_first/this.d_rows)},pageCount:function(){return Math.ceil(this.totalRecords/this.d_rows)},isFirstPage:function(){return 0===this.page},isLastPage:function(){return this.page===this.pageCount-1},calculatePageLinkBoundaries:function(){var e=this.pageCount,t=Math.min(this.pageLinkSize,e),n=Math.max(0,Math.ceil(this.page-t/2)),a=Math.min(e-1,n+t-1);return[n=Math.max(0,n-(this.pageLinkSize-(a-n+1))),a]},pageLinks:function(){for(var e=[],t=this.calculatePageLinkBoundaries,n=t[1],a=t[0];a<=n;a++)e.push(a+1);return e},currentState:function(){return{page:this.page,first:this.d_first,rows:this.d_rows}},empty:function(){return 0===this.pageCount},currentPage:function(){return this.pageCount>0?this.page+1:0},attributeSelector:function(){return e.UniqueComponentId()}},components:{CurrentPageReport:w,FirstPageLink:B,LastPageLink:x,NextPageLink:D,PageLinks:T,PrevPageLink:N,RowsPerPageDropdown:I,JumpToPageDropdown:L,JumpToPageInput:C}};return M.render=function(e,t,n,o,r,i){var l=a.resolveComponent("FirstPageLink"),s=a.resolveComponent("PrevPageLink"),p=a.resolveComponent("NextPageLink"),u=a.resolveComponent("LastPageLink"),c=a.resolveComponent("PageLinks"),g=a.resolveComponent("CurrentPageReport"),d=a.resolveComponent("RowsPerPageDropdown"),m=a.resolveComponent("JumpToPageDropdown"),f=a.resolveComponent("JumpToPageInput");return e.alwaysShow||i.pageLinks&&i.pageLinks.length>1?(a.openBlock(),a.createElementBlock("nav",a.normalizeProps(a.mergeProps({key:0},e.ptm("paginatorWrapper"))),[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.templateItems,(function(n,o){return a.openBlock(),a.createElementBlock("div",a.mergeProps({key:o,ref_for:!0,ref:"paginator",class:e.cx("paginator",{key:o})},e.ptm("root"),{"data-pc-name":"paginator"}),[e.$slots.start?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:0,class:e.cx("start")},e.ptm("start")),[a.renderSlot(e.$slots,"start",{state:i.currentState})],16)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n,(function(n){return a.openBlock(),a.createElementBlock(a.Fragment,{key:n},["FirstPageLink"===n?(a.openBlock(),a.createBlock(l,{key:0,"aria-label":i.getAriaLabel("firstPageLabel"),template:e.$slots.firstpagelinkicon,onClick:t[0]||(t[0]=function(e){return i.changePageToFirst(e)}),disabled:i.isFirstPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PrevPageLink"===n?(a.openBlock(),a.createBlock(s,{key:1,"aria-label":i.getAriaLabel("prevPageLabel"),template:e.$slots.prevpagelinkicon,onClick:t[1]||(t[1]=function(e){return i.changePageToPrev(e)}),disabled:i.isFirstPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"NextPageLink"===n?(a.openBlock(),a.createBlock(p,{key:2,"aria-label":i.getAriaLabel("nextPageLabel"),template:e.$slots.nextpagelinkicon,onClick:t[2]||(t[2]=function(e){return i.changePageToNext(e)}),disabled:i.isLastPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"LastPageLink"===n?(a.openBlock(),a.createBlock(u,{key:3,"aria-label":i.getAriaLabel("lastPageLabel"),template:e.$slots.lastpagelinkicon,onClick:t[3]||(t[3]=function(e){return i.changePageToLast(e)}),disabled:i.isLastPage||i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","template","disabled","unstyled","pt"])):"PageLinks"===n?(a.openBlock(),a.createBlock(c,{key:4,"aria-label":i.getAriaLabel("pageLabel"),value:i.pageLinks,page:i.page,onClick:t[4]||(t[4]=function(e){return i.changePageLink(e)}),pt:e.pt},null,8,["aria-label","value","page","pt"])):"CurrentPageReport"===n?(a.openBlock(),a.createBlock(g,{key:5,"aria-live":"polite",template:e.currentPageReportTemplate,currentPage:i.currentPage,page:i.page,pageCount:i.pageCount,first:r.d_first,rows:r.d_rows,totalRecords:e.totalRecords,unstyled:e.unstyled,pt:e.pt},null,8,["template","currentPage","page","pageCount","first","rows","totalRecords","unstyled","pt"])):"RowsPerPageDropdown"===n&&e.rowsPerPageOptions?(a.openBlock(),a.createBlock(d,{key:6,"aria-label":i.getAriaLabel("rowsPerPageLabel"),rows:r.d_rows,options:e.rowsPerPageOptions,onRowsChange:t[5]||(t[5]=function(e){return i.onRowChange(e)}),disabled:i.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","rows","options","disabled","templates","unstyled","pt"])):"JumpToPageDropdown"===n?(a.openBlock(),a.createBlock(m,{key:7,"aria-label":i.getAriaLabel("jumpToPageDropdownLabel"),page:i.page,pageCount:i.pageCount,onPageChange:t[6]||(t[6]=function(e){return i.changePage(e)}),disabled:i.empty,templates:e.$slots,unstyled:e.unstyled,pt:e.pt},null,8,["aria-label","page","pageCount","disabled","templates","unstyled","pt"])):"JumpToPageInput"===n?(a.openBlock(),a.createBlock(f,{key:8,page:i.currentPage,onPageChange:t[7]||(t[7]=function(e){return i.changePage(e)}),disabled:i.empty,unstyled:e.unstyled,pt:e.pt},null,8,["page","disabled","unstyled","pt"])):a.createCommentVNode("",!0)],64)})),128)),e.$slots.end?(a.openBlock(),a.createElementBlock("div",a.mergeProps({key:1,class:e.cx("end")},e.ptm("end")),[a.renderSlot(e.$slots,"end",{state:i.currentState})],16)):a.createCommentVNode("",!0)],16)})),128))],16)):a.createCommentVNode("",!0)},M}(primevue.utils,primevue.basecomponent,primevue.paginator.style,Vue,primevue.icons.angledoubleleft,primevue.ripple,primevue.dropdown,primevue.inputnumber,primevue.icons.angledoubleright,primevue.icons.angleright,primevue.icons.angleleft);
@@ -0,0 +1,3 @@
1
+ import { BaseStyle } from '../../base/style';
2
+
3
+ export interface PaginatorStyle extends BaseStyle {}
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "./paginatorstyle.cjs.js",
3
+ "module": "./paginatorstyle.esm.js",
4
+ "unpkg": "./paginatorstyle.min.js",
5
+ "types": "./PaginatorStyle.d.ts"
6
+ }