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