primevue 3.34.1 → 3.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1782) hide show
  1. package/README.md +19 -32
  2. package/accordion/BaseAccordion.vue +2 -50
  3. package/accordion/accordion.cjs.js +3 -37
  4. package/accordion/accordion.cjs.min.js +1 -1
  5. package/accordion/accordion.esm.js +2 -37
  6. package/accordion/accordion.esm.min.js +1 -1
  7. package/accordion/accordion.js +4 -38
  8. package/accordion/accordion.min.js +1 -1
  9. package/accordion/package.json +8 -8
  10. package/accordion/style/AccordionStyle.d.ts +3 -0
  11. package/accordion/style/accordionstyle.cjs.js +42 -0
  12. package/accordion/style/accordionstyle.cjs.min.js +1 -0
  13. package/accordion/style/accordionstyle.esm.js +36 -0
  14. package/accordion/style/accordionstyle.esm.min.js +1 -0
  15. package/accordion/style/accordionstyle.js +45 -0
  16. package/accordion/style/accordionstyle.min.js +1 -0
  17. package/accordion/style/package.json +6 -0
  18. package/accordiontab/BaseAccordionTab.vue +2 -0
  19. package/accordiontab/accordiontab.cjs.js +3 -0
  20. package/accordiontab/accordiontab.cjs.min.js +1 -1
  21. package/accordiontab/accordiontab.esm.js +2 -0
  22. package/accordiontab/accordiontab.esm.min.js +1 -1
  23. package/accordiontab/accordiontab.js +4 -2
  24. package/accordiontab/accordiontab.min.js +1 -1
  25. package/accordiontab/package.json +8 -8
  26. package/accordiontab/style/AccordionTabStyle.d.ts +3 -0
  27. package/accordiontab/style/accordiontabstyle.cjs.js +5 -0
  28. package/accordiontab/style/accordiontabstyle.cjs.min.js +1 -0
  29. package/accordiontab/style/accordiontabstyle.esm.js +3 -0
  30. package/accordiontab/style/accordiontabstyle.esm.min.js +1 -0
  31. package/accordiontab/style/accordiontabstyle.js +10 -0
  32. package/accordiontab/style/accordiontabstyle.min.js +1 -0
  33. package/accordiontab/style/package.json +6 -0
  34. package/api/api.cjs.js +18 -10
  35. package/api/api.cjs.min.js +1 -1
  36. package/api/api.esm.js +18 -10
  37. package/api/api.esm.min.js +1 -1
  38. package/api/api.js +18 -10
  39. package/api/api.min.js +1 -1
  40. package/autocomplete/BaseAutoComplete.vue +2 -152
  41. package/autocomplete/autocomplete.cjs.js +3 -72
  42. package/autocomplete/autocomplete.cjs.min.js +1 -1
  43. package/autocomplete/autocomplete.esm.js +3 -73
  44. package/autocomplete/autocomplete.esm.min.js +1 -1
  45. package/autocomplete/autocomplete.js +4 -73
  46. package/autocomplete/autocomplete.min.js +1 -1
  47. package/autocomplete/package.json +8 -8
  48. package/autocomplete/style/AutoCompleteStyle.d.ts +3 -0
  49. package/autocomplete/style/autocompletestyle.cjs.js +78 -0
  50. package/autocomplete/style/autocompletestyle.cjs.min.js +1 -0
  51. package/autocomplete/style/autocompletestyle.esm.js +72 -0
  52. package/autocomplete/style/autocompletestyle.esm.min.js +1 -0
  53. package/autocomplete/style/autocompletestyle.js +80 -0
  54. package/autocomplete/style/autocompletestyle.min.js +1 -0
  55. package/autocomplete/style/package.json +6 -0
  56. package/avatar/BaseAvatar.vue +2 -53
  57. package/avatar/avatar.cjs.js +3 -24
  58. package/avatar/avatar.cjs.min.js +1 -1
  59. package/avatar/avatar.esm.js +2 -24
  60. package/avatar/avatar.esm.min.js +1 -1
  61. package/avatar/avatar.js +4 -25
  62. package/avatar/avatar.min.js +1 -1
  63. package/avatar/package.json +8 -8
  64. package/avatar/style/AvatarStyle.d.ts +3 -0
  65. package/avatar/style/avatarstyle.cjs.js +29 -0
  66. package/avatar/style/avatarstyle.cjs.min.js +1 -0
  67. package/avatar/style/avatarstyle.esm.js +23 -0
  68. package/avatar/style/avatarstyle.esm.min.js +1 -0
  69. package/avatar/style/avatarstyle.js +32 -0
  70. package/avatar/style/avatarstyle.min.js +1 -0
  71. package/avatar/style/package.json +6 -0
  72. package/avatargroup/BaseAvatarGroup.vue +2 -22
  73. package/avatargroup/avatargroup.cjs.js +3 -14
  74. package/avatargroup/avatargroup.cjs.min.js +1 -1
  75. package/avatargroup/avatargroup.esm.js +2 -14
  76. package/avatargroup/avatargroup.esm.min.js +1 -1
  77. package/avatargroup/avatargroup.js +4 -15
  78. package/avatargroup/avatargroup.min.js +1 -1
  79. package/avatargroup/package.json +8 -8
  80. package/avatargroup/style/AvatarGroupStyle.d.ts +3 -0
  81. package/avatargroup/style/avatargroupstyle.cjs.js +19 -0
  82. package/avatargroup/style/avatargroupstyle.cjs.min.js +1 -0
  83. package/avatargroup/style/avatargroupstyle.esm.js +13 -0
  84. package/avatargroup/style/avatargroupstyle.esm.min.js +1 -0
  85. package/avatargroup/style/avatargroupstyle.js +22 -0
  86. package/avatargroup/style/avatargroupstyle.min.js +1 -0
  87. package/avatargroup/style/package.json +6 -0
  88. package/badge/BaseBadge.vue +2 -59
  89. package/badge/badge.cjs.js +3 -28
  90. package/badge/badge.cjs.min.js +1 -1
  91. package/badge/badge.esm.js +2 -28
  92. package/badge/badge.esm.min.js +1 -1
  93. package/badge/badge.js +4 -28
  94. package/badge/badge.min.js +1 -1
  95. package/badge/package.json +8 -8
  96. package/badge/style/BadgeStyle.d.ts +3 -0
  97. package/badge/style/badgestyle.cjs.js +33 -0
  98. package/badge/style/badgestyle.cjs.min.js +1 -0
  99. package/badge/style/badgestyle.esm.js +27 -0
  100. package/badge/style/badgestyle.esm.min.js +1 -0
  101. package/badge/style/badgestyle.js +35 -0
  102. package/badge/style/badgestyle.min.js +1 -0
  103. package/badge/style/package.json +6 -0
  104. package/badgedirective/badgedirective.cjs.js +11 -24
  105. package/badgedirective/badgedirective.cjs.min.js +1 -1
  106. package/badgedirective/badgedirective.esm.js +10 -24
  107. package/badgedirective/badgedirective.esm.min.js +1 -1
  108. package/badgedirective/badgedirective.js +12 -25
  109. package/badgedirective/badgedirective.min.js +1 -1
  110. package/badgedirective/package.json +5 -5
  111. package/badgedirective/style/BadgeDirectiveStyle.d.ts +3 -0
  112. package/badgedirective/style/badgedirectivestyle.cjs.js +19 -0
  113. package/badgedirective/style/badgedirectivestyle.cjs.min.js +1 -0
  114. package/badgedirective/style/badgedirectivestyle.esm.js +13 -0
  115. package/badgedirective/style/badgedirectivestyle.esm.min.js +1 -0
  116. package/badgedirective/style/badgedirectivestyle.js +22 -0
  117. package/badgedirective/style/badgedirectivestyle.min.js +1 -0
  118. package/badgedirective/style/package.json +6 -0
  119. package/base/base.cjs.js +2 -15
  120. package/base/base.cjs.min.js +1 -1
  121. package/base/base.esm.js +2 -12
  122. package/base/base.esm.min.js +1 -1
  123. package/base/base.js +5 -18
  124. package/base/base.min.js +1 -1
  125. package/base/style/BaseStyle.d.ts +10 -0
  126. package/base/style/basestyle.cjs.js +52 -0
  127. package/base/style/basestyle.cjs.min.js +1 -0
  128. package/base/style/basestyle.esm.js +50 -0
  129. package/base/style/basestyle.esm.min.js +1 -0
  130. package/base/style/basestyle.js +55 -0
  131. package/base/style/basestyle.min.js +1 -0
  132. package/base/style/package.json +6 -0
  133. package/basecomponent/BaseComponent.vue +15 -372
  134. package/basecomponent/basecomponent.cjs.js +49 -38
  135. package/basecomponent/basecomponent.cjs.min.js +1 -1
  136. package/basecomponent/basecomponent.esm.js +45 -38
  137. package/basecomponent/basecomponent.esm.min.js +1 -1
  138. package/basecomponent/basecomponent.js +49 -38
  139. package/basecomponent/basecomponent.min.js +1 -1
  140. package/basecomponent/package.json +8 -8
  141. package/basecomponent/style/BaseComponentStyle.d.ts +3 -0
  142. package/basecomponent/style/basecomponentstyle.cjs.js +32 -0
  143. package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -0
  144. package/basecomponent/style/basecomponentstyle.esm.js +26 -0
  145. package/basecomponent/style/basecomponentstyle.esm.min.js +1 -0
  146. package/basecomponent/style/basecomponentstyle.js +34 -0
  147. package/basecomponent/style/basecomponentstyle.min.js +1 -0
  148. package/basecomponent/style/package.json +6 -0
  149. package/basedirective/basedirective.cjs.js +52 -38
  150. package/basedirective/basedirective.cjs.min.js +1 -1
  151. package/basedirective/basedirective.esm.js +48 -38
  152. package/basedirective/basedirective.esm.min.js +1 -1
  153. package/basedirective/basedirective.js +53 -39
  154. package/basedirective/basedirective.min.js +1 -1
  155. package/baseicon/BaseIcon.vue +2 -37
  156. package/baseicon/baseicon.cjs.js +6 -8
  157. package/baseicon/baseicon.cjs.min.js +1 -1
  158. package/baseicon/baseicon.esm.js +2 -8
  159. package/baseicon/baseicon.esm.min.js +1 -1
  160. package/baseicon/baseicon.js +7 -9
  161. package/baseicon/baseicon.min.js +1 -1
  162. package/baseicon/package.json +7 -7
  163. package/baseicon/style/BaseIconStyle.d.ts +3 -0
  164. package/baseicon/style/baseiconstyle.cjs.js +15 -0
  165. package/baseicon/style/baseiconstyle.cjs.min.js +1 -0
  166. package/baseicon/style/baseiconstyle.esm.js +9 -0
  167. package/baseicon/style/baseiconstyle.esm.min.js +1 -0
  168. package/baseicon/style/baseiconstyle.js +18 -0
  169. package/baseicon/style/baseiconstyle.min.js +1 -0
  170. package/baseicon/style/package.json +6 -0
  171. package/blockui/BaseBlockUI.vue +2 -25
  172. package/blockui/BlockUI.vue +2 -2
  173. package/blockui/blockui.cjs.js +5 -16
  174. package/blockui/blockui.cjs.min.js +1 -1
  175. package/blockui/blockui.esm.js +4 -16
  176. package/blockui/blockui.esm.min.js +1 -1
  177. package/blockui/blockui.js +6 -17
  178. package/blockui/blockui.min.js +1 -1
  179. package/blockui/package.json +8 -8
  180. package/blockui/style/BlockUIStyle.d.ts +3 -0
  181. package/blockui/style/blockuistyle.cjs.js +19 -0
  182. package/blockui/style/blockuistyle.cjs.min.js +1 -0
  183. package/blockui/style/blockuistyle.esm.js +13 -0
  184. package/blockui/style/blockuistyle.esm.min.js +1 -0
  185. package/blockui/style/blockuistyle.js +22 -0
  186. package/blockui/style/blockuistyle.min.js +1 -0
  187. package/blockui/style/package.json +6 -0
  188. package/breadcrumb/BaseBreadcrumb.vue +2 -58
  189. package/breadcrumb/breadcrumb.cjs.js +3 -34
  190. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  191. package/breadcrumb/breadcrumb.esm.js +2 -34
  192. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  193. package/breadcrumb/breadcrumb.js +4 -35
  194. package/breadcrumb/breadcrumb.min.js +1 -1
  195. package/breadcrumb/package.json +8 -9
  196. package/breadcrumb/style/BreadcrumbStyle.d.ts +3 -0
  197. package/breadcrumb/style/breadcrumbstyle.cjs.js +39 -0
  198. package/breadcrumb/style/breadcrumbstyle.cjs.min.js +1 -0
  199. package/breadcrumb/style/breadcrumbstyle.esm.js +33 -0
  200. package/breadcrumb/style/breadcrumbstyle.esm.min.js +1 -0
  201. package/breadcrumb/style/breadcrumbstyle.js +42 -0
  202. package/breadcrumb/style/breadcrumbstyle.min.js +1 -0
  203. package/breadcrumb/style/package.json +6 -0
  204. package/button/BaseButton.vue +2 -36
  205. package/button/button.cjs.js +3 -33
  206. package/button/button.cjs.min.js +1 -1
  207. package/button/button.esm.js +2 -33
  208. package/button/button.esm.min.js +1 -1
  209. package/button/button.js +4 -35
  210. package/button/button.min.js +1 -1
  211. package/button/package.json +8 -8
  212. package/button/style/ButtonStyle.d.ts +3 -0
  213. package/button/style/buttonstyle.cjs.js +44 -0
  214. package/button/style/buttonstyle.cjs.min.js +1 -0
  215. package/button/style/buttonstyle.esm.js +38 -0
  216. package/button/style/buttonstyle.esm.min.js +1 -0
  217. package/button/style/buttonstyle.js +47 -0
  218. package/button/style/buttonstyle.min.js +1 -0
  219. package/button/style/package.json +6 -0
  220. package/calendar/BaseCalendar.vue +2 -224
  221. package/calendar/Calendar.vue +40 -24
  222. package/calendar/calendar.cjs.js +48 -140
  223. package/calendar/calendar.cjs.min.js +1 -1
  224. package/calendar/calendar.esm.js +47 -140
  225. package/calendar/calendar.esm.min.js +1 -1
  226. package/calendar/calendar.js +49 -141
  227. package/calendar/calendar.min.js +1 -1
  228. package/calendar/package.json +8 -8
  229. package/calendar/style/CalendarStyle.d.ts +3 -0
  230. package/calendar/style/calendarstyle.cjs.js +118 -0
  231. package/calendar/style/calendarstyle.cjs.min.js +1 -0
  232. package/calendar/style/calendarstyle.esm.js +112 -0
  233. package/calendar/style/calendarstyle.esm.min.js +1 -0
  234. package/calendar/style/calendarstyle.js +121 -0
  235. package/calendar/style/calendarstyle.min.js +1 -0
  236. package/calendar/style/package.json +6 -0
  237. package/card/BaseCard.vue +2 -13
  238. package/card/card.cjs.js +3 -12
  239. package/card/card.cjs.min.js +1 -1
  240. package/card/card.esm.js +2 -12
  241. package/card/card.esm.min.js +1 -1
  242. package/card/card.js +4 -14
  243. package/card/card.min.js +1 -1
  244. package/card/package.json +8 -8
  245. package/card/style/CardStyle.d.ts +3 -0
  246. package/card/style/cardstyle.cjs.js +23 -0
  247. package/card/style/cardstyle.cjs.min.js +1 -0
  248. package/card/style/cardstyle.esm.js +17 -0
  249. package/card/style/cardstyle.esm.min.js +1 -0
  250. package/card/style/cardstyle.js +26 -0
  251. package/card/style/cardstyle.min.js +1 -0
  252. package/card/style/package.json +6 -0
  253. package/carousel/BaseCarousel.vue +2 -133
  254. package/carousel/Carousel.vue +3 -10
  255. package/carousel/carousel.cjs.js +5 -75
  256. package/carousel/carousel.cjs.min.js +1 -1
  257. package/carousel/carousel.esm.js +5 -76
  258. package/carousel/carousel.esm.min.js +1 -1
  259. package/carousel/carousel.js +6 -76
  260. package/carousel/carousel.min.js +1 -1
  261. package/carousel/package.json +8 -8
  262. package/carousel/style/CarouselStyle.d.ts +3 -0
  263. package/carousel/style/carouselstyle.cjs.js +74 -0
  264. package/carousel/style/carouselstyle.cjs.min.js +1 -0
  265. package/carousel/style/carouselstyle.esm.js +68 -0
  266. package/carousel/style/carouselstyle.esm.min.js +1 -0
  267. package/carousel/style/carouselstyle.js +77 -0
  268. package/carousel/style/carouselstyle.min.js +1 -0
  269. package/carousel/style/package.json +6 -0
  270. package/cascadeselect/BaseCascadeSelect.vue +2 -140
  271. package/cascadeselect/cascadeselect.cjs.js +3 -67
  272. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  273. package/cascadeselect/cascadeselect.esm.js +2 -67
  274. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  275. package/cascadeselect/cascadeselect.js +4 -68
  276. package/cascadeselect/cascadeselect.min.js +1 -1
  277. package/cascadeselect/package.json +8 -8
  278. package/cascadeselect/style/CascadeSelectStyle.d.ts +3 -0
  279. package/cascadeselect/style/cascadeselectstyle.cjs.js +72 -0
  280. package/cascadeselect/style/cascadeselectstyle.cjs.min.js +1 -0
  281. package/cascadeselect/style/cascadeselectstyle.esm.js +66 -0
  282. package/cascadeselect/style/cascadeselectstyle.esm.min.js +1 -0
  283. package/cascadeselect/style/cascadeselectstyle.js +75 -0
  284. package/cascadeselect/style/cascadeselectstyle.min.js +1 -0
  285. package/cascadeselect/style/package.json +6 -0
  286. package/chart/BaseChart.vue +2 -17
  287. package/chart/chart.cjs.js +3 -14
  288. package/chart/chart.cjs.min.js +1 -1
  289. package/chart/chart.esm.js +2 -14
  290. package/chart/chart.esm.min.js +1 -1
  291. package/chart/chart.js +4 -15
  292. package/chart/chart.min.js +1 -1
  293. package/chart/package.json +8 -8
  294. package/chart/style/ChartStyle.d.ts +3 -0
  295. package/chart/style/chartstyle.cjs.js +19 -0
  296. package/chart/style/chartstyle.cjs.min.js +1 -0
  297. package/chart/style/chartstyle.esm.js +13 -0
  298. package/chart/style/chartstyle.esm.min.js +1 -0
  299. package/chart/style/chartstyle.js +22 -0
  300. package/chart/style/chartstyle.min.js +1 -0
  301. package/chart/style/package.json +6 -0
  302. package/checkbox/BaseCheckbox.vue +2 -23
  303. package/checkbox/checkbox.cjs.js +3 -24
  304. package/checkbox/checkbox.cjs.min.js +1 -1
  305. package/checkbox/checkbox.esm.js +2 -24
  306. package/checkbox/checkbox.esm.min.js +1 -1
  307. package/checkbox/checkbox.js +4 -26
  308. package/checkbox/checkbox.min.js +1 -1
  309. package/checkbox/package.json +8 -8
  310. package/checkbox/style/CheckboxStyle.d.ts +3 -0
  311. package/checkbox/style/checkboxstyle.cjs.js +35 -0
  312. package/checkbox/style/checkboxstyle.cjs.min.js +1 -0
  313. package/checkbox/style/checkboxstyle.esm.js +29 -0
  314. package/checkbox/style/checkboxstyle.esm.min.js +1 -0
  315. package/checkbox/style/checkboxstyle.js +38 -0
  316. package/checkbox/style/checkboxstyle.min.js +1 -0
  317. package/checkbox/style/package.json +6 -0
  318. package/chip/BaseChip.vue +2 -43
  319. package/chip/chip.cjs.js +3 -22
  320. package/chip/chip.cjs.min.js +1 -1
  321. package/chip/chip.esm.js +2 -22
  322. package/chip/chip.esm.min.js +1 -1
  323. package/chip/chip.js +4 -23
  324. package/chip/chip.min.js +1 -1
  325. package/chip/package.json +8 -8
  326. package/chip/style/ChipStyle.d.ts +3 -0
  327. package/chip/style/chipstyle.cjs.js +27 -0
  328. package/chip/style/chipstyle.cjs.min.js +1 -0
  329. package/chip/style/chipstyle.esm.js +21 -0
  330. package/chip/style/chipstyle.esm.min.js +1 -0
  331. package/chip/style/chipstyle.js +30 -0
  332. package/chip/style/chipstyle.min.js +1 -0
  333. package/chip/style/package.json +6 -0
  334. package/chips/BaseChips.vue +2 -72
  335. package/chips/chips.cjs.js +3 -34
  336. package/chips/chips.cjs.min.js +1 -1
  337. package/chips/chips.esm.js +2 -34
  338. package/chips/chips.esm.min.js +1 -1
  339. package/chips/chips.js +4 -35
  340. package/chips/chips.min.js +1 -1
  341. package/chips/package.json +8 -8
  342. package/chips/style/ChipsStyle.d.ts +3 -0
  343. package/chips/style/chipsstyle.cjs.js +39 -0
  344. package/chips/style/chipsstyle.cjs.min.js +1 -0
  345. package/chips/style/chipsstyle.esm.js +33 -0
  346. package/chips/style/chipsstyle.esm.min.js +1 -0
  347. package/chips/style/chipsstyle.js +42 -0
  348. package/chips/style/chipsstyle.min.js +1 -0
  349. package/chips/style/package.json +6 -0
  350. package/colorpicker/BaseColorPicker.vue +2 -37
  351. package/colorpicker/colorpicker.cjs.js +3 -41
  352. package/colorpicker/colorpicker.cjs.min.js +1 -1
  353. package/colorpicker/colorpicker.esm.js +2 -41
  354. package/colorpicker/colorpicker.esm.min.js +1 -1
  355. package/colorpicker/colorpicker.js +4 -42
  356. package/colorpicker/colorpicker.min.js +1 -1
  357. package/colorpicker/package.json +8 -8
  358. package/colorpicker/style/ColorPickerStyle.d.ts +3 -0
  359. package/colorpicker/style/colorpickerstyle.cjs.js +46 -0
  360. package/colorpicker/style/colorpickerstyle.cjs.min.js +1 -0
  361. package/colorpicker/style/colorpickerstyle.esm.js +40 -0
  362. package/colorpicker/style/colorpickerstyle.esm.min.js +1 -0
  363. package/colorpicker/style/colorpickerstyle.js +49 -0
  364. package/colorpicker/style/colorpickerstyle.min.js +1 -0
  365. package/colorpicker/style/package.json +6 -0
  366. package/column/BaseColumn.vue +2 -0
  367. package/column/Column.d.ts +12 -6
  368. package/column/column.cjs.js +3 -0
  369. package/column/column.cjs.min.js +1 -1
  370. package/column/column.esm.js +2 -0
  371. package/column/column.esm.min.js +1 -1
  372. package/column/column.js +4 -2
  373. package/column/column.min.js +1 -1
  374. package/column/package.json +8 -8
  375. package/column/style/ColumnStyle.d.ts +3 -0
  376. package/column/style/columnstyle.cjs.js +5 -0
  377. package/column/style/columnstyle.cjs.min.js +1 -0
  378. package/column/style/columnstyle.esm.js +3 -0
  379. package/column/style/columnstyle.esm.min.js +1 -0
  380. package/column/style/columnstyle.js +10 -0
  381. package/column/style/columnstyle.min.js +1 -0
  382. package/column/style/package.json +6 -0
  383. package/columngroup/BaseColumnGroup.vue +2 -0
  384. package/columngroup/columngroup.cjs.js +3 -0
  385. package/columngroup/columngroup.cjs.min.js +1 -1
  386. package/columngroup/columngroup.esm.js +2 -0
  387. package/columngroup/columngroup.esm.min.js +1 -1
  388. package/columngroup/columngroup.js +4 -2
  389. package/columngroup/columngroup.min.js +1 -1
  390. package/columngroup/package.json +8 -8
  391. package/columngroup/style/ColumnGroupStyle.d.ts +3 -0
  392. package/columngroup/style/columngroupstyle.cjs.js +5 -0
  393. package/columngroup/style/columngroupstyle.cjs.min.js +1 -0
  394. package/columngroup/style/columngroupstyle.esm.js +3 -0
  395. package/columngroup/style/columngroupstyle.esm.min.js +1 -0
  396. package/columngroup/style/columngroupstyle.js +10 -0
  397. package/columngroup/style/columngroupstyle.min.js +1 -0
  398. package/columngroup/style/package.json +6 -0
  399. package/config/PrimeVue.d.ts +4 -0
  400. package/config/config.cjs.js +4 -0
  401. package/config/config.cjs.min.js +1 -1
  402. package/config/config.esm.js +4 -0
  403. package/config/config.esm.min.js +1 -1
  404. package/config/config.js +4 -0
  405. package/config/config.min.js +1 -1
  406. package/config/package.json +5 -5
  407. package/confirmationeventbus/package.json +1 -1
  408. package/confirmationservice/package.json +5 -5
  409. package/confirmdialog/BaseConfirmDialog.vue +2 -11
  410. package/confirmdialog/ConfirmDialog.d.ts +22 -0
  411. package/confirmdialog/ConfirmDialog.vue +13 -8
  412. package/confirmdialog/confirmdialog.cjs.js +41 -38
  413. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  414. package/confirmdialog/confirmdialog.esm.js +41 -39
  415. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  416. package/confirmdialog/confirmdialog.js +42 -40
  417. package/confirmdialog/confirmdialog.min.js +1 -1
  418. package/confirmdialog/package.json +8 -8
  419. package/confirmdialog/style/ConfirmDialogStyle.d.ts +3 -0
  420. package/confirmdialog/style/confirmdialogstyle.cjs.js +27 -0
  421. package/confirmdialog/style/confirmdialogstyle.cjs.min.js +1 -0
  422. package/confirmdialog/style/confirmdialogstyle.esm.js +21 -0
  423. package/confirmdialog/style/confirmdialogstyle.esm.min.js +1 -0
  424. package/confirmdialog/style/confirmdialogstyle.js +30 -0
  425. package/confirmdialog/style/confirmdialogstyle.min.js +1 -0
  426. package/confirmdialog/style/package.json +6 -0
  427. package/confirmpopup/BaseConfirmPopup.vue +2 -95
  428. package/confirmpopup/ConfirmPopup.d.ts +18 -0
  429. package/confirmpopup/ConfirmPopup.vue +45 -24
  430. package/confirmpopup/confirmpopup.cjs.js +14 -39
  431. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  432. package/confirmpopup/confirmpopup.esm.js +14 -40
  433. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  434. package/confirmpopup/confirmpopup.js +15 -40
  435. package/confirmpopup/confirmpopup.min.js +1 -1
  436. package/confirmpopup/package.json +8 -8
  437. package/confirmpopup/style/ConfirmPopupStyle.d.ts +3 -0
  438. package/confirmpopup/style/confirmpopupstyle.cjs.js +37 -0
  439. package/confirmpopup/style/confirmpopupstyle.cjs.min.js +1 -0
  440. package/confirmpopup/style/confirmpopupstyle.esm.js +31 -0
  441. package/confirmpopup/style/confirmpopupstyle.esm.min.js +1 -0
  442. package/confirmpopup/style/confirmpopupstyle.js +40 -0
  443. package/confirmpopup/style/confirmpopupstyle.min.js +1 -0
  444. package/confirmpopup/style/package.json +6 -0
  445. package/contextmenu/BaseContextMenu.vue +2 -82
  446. package/contextmenu/ContextMenu.vue +1 -5
  447. package/contextmenu/contextmenu.cjs.js +4 -50
  448. package/contextmenu/contextmenu.cjs.min.js +1 -1
  449. package/contextmenu/contextmenu.esm.js +3 -50
  450. package/contextmenu/contextmenu.esm.min.js +1 -1
  451. package/contextmenu/contextmenu.js +5 -51
  452. package/contextmenu/contextmenu.min.js +1 -1
  453. package/contextmenu/package.json +8 -8
  454. package/contextmenu/style/ContextMenuStyle.d.ts +3 -0
  455. package/contextmenu/style/contextmenustyle.cjs.js +50 -0
  456. package/contextmenu/style/contextmenustyle.cjs.min.js +1 -0
  457. package/contextmenu/style/contextmenustyle.esm.js +44 -0
  458. package/contextmenu/style/contextmenustyle.esm.min.js +1 -0
  459. package/contextmenu/style/contextmenustyle.js +53 -0
  460. package/contextmenu/style/contextmenustyle.min.js +1 -0
  461. package/contextmenu/style/package.json +6 -0
  462. package/core/core.js +4970 -946
  463. package/core/core.min.js +222 -26
  464. package/datatable/BaseDataTable.vue +6 -471
  465. package/datatable/DataTable.d.ts +5 -0
  466. package/datatable/DataTable.vue +13 -28
  467. package/datatable/HeaderCell.vue +1 -5
  468. package/datatable/TableHeader.vue +0 -6
  469. package/datatable/datatable.cjs.js +24 -288
  470. package/datatable/datatable.cjs.min.js +1 -1
  471. package/datatable/datatable.esm.js +23 -288
  472. package/datatable/datatable.esm.min.js +1 -1
  473. package/datatable/datatable.js +25 -289
  474. package/datatable/datatable.min.js +1 -1
  475. package/datatable/package.json +8 -8
  476. package/datatable/style/DataTableStyle.d.ts +3 -0
  477. package/datatable/style/datatablestyle.cjs.js +255 -0
  478. package/datatable/style/datatablestyle.cjs.min.js +1 -0
  479. package/datatable/style/datatablestyle.esm.js +249 -0
  480. package/datatable/style/datatablestyle.esm.min.js +1 -0
  481. package/datatable/style/datatablestyle.js +258 -0
  482. package/datatable/style/datatablestyle.min.js +1 -0
  483. package/datatable/style/package.json +6 -0
  484. package/dataview/BaseDataView.vue +2 -20
  485. package/dataview/DataView.vue +2 -9
  486. package/dataview/dataview.cjs.js +5 -28
  487. package/dataview/dataview.cjs.min.js +1 -1
  488. package/dataview/dataview.esm.js +4 -28
  489. package/dataview/dataview.esm.min.js +1 -1
  490. package/dataview/dataview.js +6 -30
  491. package/dataview/dataview.min.js +1 -1
  492. package/dataview/package.json +8 -8
  493. package/dataview/style/DataViewStyle.d.ts +3 -0
  494. package/dataview/style/dataviewstyle.cjs.js +33 -0
  495. package/dataview/style/dataviewstyle.cjs.min.js +1 -0
  496. package/dataview/style/dataviewstyle.esm.js +27 -0
  497. package/dataview/style/dataviewstyle.esm.min.js +1 -0
  498. package/dataview/style/dataviewstyle.js +36 -0
  499. package/dataview/style/dataviewstyle.min.js +1 -0
  500. package/dataview/style/package.json +6 -0
  501. package/dataviewlayoutoptions/BaseDataViewLayoutOptions.vue +2 -19
  502. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +3 -18
  503. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
  504. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +2 -18
  505. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
  506. package/dataviewlayoutoptions/dataviewlayoutoptions.js +4 -20
  507. package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
  508. package/dataviewlayoutoptions/package.json +8 -8
  509. package/dataviewlayoutoptions/style/DataViewLayoutOptionsStyle.d.ts +3 -0
  510. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.cjs.js +29 -0
  511. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.cjs.min.js +1 -0
  512. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.esm.js +23 -0
  513. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.esm.min.js +1 -0
  514. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.js +32 -0
  515. package/dataviewlayoutoptions/style/dataviewlayoutoptionsstyle.min.js +1 -0
  516. package/dataviewlayoutoptions/style/package.json +6 -0
  517. package/deferredcontent/DeferredContent.vue +2 -0
  518. package/deferredcontent/deferredcontent.cjs.js +3 -0
  519. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  520. package/deferredcontent/deferredcontent.esm.js +2 -0
  521. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  522. package/deferredcontent/deferredcontent.js +4 -2
  523. package/deferredcontent/deferredcontent.min.js +1 -1
  524. package/deferredcontent/package.json +8 -8
  525. package/deferredcontent/style/DeferredContentStyle.d.ts +3 -0
  526. package/deferredcontent/style/deferredcontentstyle.cjs.js +5 -0
  527. package/deferredcontent/style/deferredcontentstyle.cjs.min.js +1 -0
  528. package/deferredcontent/style/deferredcontentstyle.esm.js +3 -0
  529. package/deferredcontent/style/deferredcontentstyle.esm.min.js +1 -0
  530. package/deferredcontent/style/deferredcontentstyle.js +10 -0
  531. package/deferredcontent/style/deferredcontentstyle.min.js +1 -0
  532. package/deferredcontent/style/package.json +6 -0
  533. package/dialog/BaseDialog.vue +6 -195
  534. package/dialog/Dialog.d.ts +20 -0
  535. package/dialog/Dialog.vue +53 -57
  536. package/dialog/dialog.cjs.js +25 -82
  537. package/dialog/dialog.cjs.min.js +1 -1
  538. package/dialog/dialog.esm.js +25 -83
  539. package/dialog/dialog.esm.min.js +1 -1
  540. package/dialog/dialog.js +26 -83
  541. package/dialog/dialog.min.js +1 -1
  542. package/dialog/package.json +8 -8
  543. package/dialog/style/DialogStyle.d.ts +3 -0
  544. package/dialog/style/dialogstyle.cjs.js +72 -0
  545. package/dialog/style/dialogstyle.cjs.min.js +1 -0
  546. package/dialog/style/dialogstyle.esm.js +66 -0
  547. package/dialog/style/dialogstyle.esm.min.js +1 -0
  548. package/dialog/style/dialogstyle.js +75 -0
  549. package/dialog/style/dialogstyle.min.js +1 -0
  550. package/dialog/style/package.json +6 -0
  551. package/divider/BaseDivider.vue +2 -94
  552. package/divider/divider.cjs.js +3 -42
  553. package/divider/divider.cjs.min.js +1 -1
  554. package/divider/divider.esm.js +2 -42
  555. package/divider/divider.esm.min.js +1 -1
  556. package/divider/divider.js +4 -43
  557. package/divider/divider.min.js +1 -1
  558. package/divider/package.json +8 -8
  559. package/divider/style/DividerStyle.d.ts +3 -0
  560. package/divider/style/dividerstyle.cjs.js +47 -0
  561. package/divider/style/dividerstyle.cjs.min.js +1 -0
  562. package/divider/style/dividerstyle.esm.js +41 -0
  563. package/divider/style/dividerstyle.esm.min.js +1 -0
  564. package/divider/style/dividerstyle.js +50 -0
  565. package/divider/style/dividerstyle.min.js +1 -0
  566. package/divider/style/package.json +6 -0
  567. package/dock/BaseDock.vue +2 -142
  568. package/dock/dock.cjs.js +3 -45
  569. package/dock/dock.cjs.min.js +1 -1
  570. package/dock/dock.esm.js +2 -45
  571. package/dock/dock.esm.min.js +1 -1
  572. package/dock/dock.js +4 -46
  573. package/dock/dock.min.js +1 -1
  574. package/dock/package.json +2 -2
  575. package/dock/style/DockStyle.d.ts +3 -0
  576. package/dock/style/dockstyle.cjs.js +50 -0
  577. package/dock/style/dockstyle.cjs.min.js +1 -0
  578. package/dock/style/dockstyle.esm.js +44 -0
  579. package/dock/style/dockstyle.esm.min.js +1 -0
  580. package/dock/style/dockstyle.js +53 -0
  581. package/dock/style/dockstyle.min.js +1 -0
  582. package/dock/style/package.json +6 -0
  583. package/dropdown/BaseDropdown.vue +2 -150
  584. package/dropdown/dropdown.cjs.js +3 -64
  585. package/dropdown/dropdown.cjs.min.js +1 -1
  586. package/dropdown/dropdown.esm.js +2 -64
  587. package/dropdown/dropdown.esm.min.js +1 -1
  588. package/dropdown/dropdown.js +4 -65
  589. package/dropdown/dropdown.min.js +1 -1
  590. package/dropdown/package.json +8 -8
  591. package/dropdown/style/DropdownStyle.d.ts +3 -0
  592. package/dropdown/style/dropdownstyle.cjs.js +69 -0
  593. package/dropdown/style/dropdownstyle.cjs.min.js +1 -0
  594. package/dropdown/style/dropdownstyle.esm.js +63 -0
  595. package/dropdown/style/dropdownstyle.esm.min.js +1 -0
  596. package/dropdown/style/dropdownstyle.js +72 -0
  597. package/dropdown/style/dropdownstyle.min.js +1 -0
  598. package/dropdown/style/package.json +6 -0
  599. package/dynamicdialog/BaseDynamicDialog.vue +16 -0
  600. package/dynamicdialog/DynamicDialog.vue +2 -2
  601. package/dynamicdialog/dynamicdialog.cjs.js +17 -3
  602. package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
  603. package/dynamicdialog/dynamicdialog.esm.js +15 -2
  604. package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
  605. package/dynamicdialog/dynamicdialog.js +17 -4
  606. package/dynamicdialog/dynamicdialog.min.js +1 -1
  607. package/dynamicdialog/style/AccordionStyle.d.ts +3 -0
  608. package/dynamicdialog/style/dynamicdialogstyle.cjs.js +5 -0
  609. package/dynamicdialog/style/dynamicdialogstyle.cjs.min.js +1 -0
  610. package/dynamicdialog/style/dynamicdialogstyle.esm.js +3 -0
  611. package/dynamicdialog/style/dynamicdialogstyle.esm.min.js +1 -0
  612. package/dynamicdialog/style/dynamicdialogstyle.js +10 -0
  613. package/dynamicdialog/style/dynamicdialogstyle.min.js +1 -0
  614. package/dynamicdialog/style/package.json +6 -0
  615. package/editor/BaseEditor.vue +3 -961
  616. package/editor/editor.cjs.js +7 -16
  617. package/editor/editor.cjs.min.js +1 -1
  618. package/editor/editor.esm.js +6 -16
  619. package/editor/editor.esm.min.js +1 -1
  620. package/editor/editor.js +8 -17
  621. package/editor/editor.min.js +1 -1
  622. package/editor/package.json +8 -8
  623. package/editor/style/EditorStyle.d.ts +3 -0
  624. package/editor/style/editorstyle.cjs.js +21 -0
  625. package/editor/style/editorstyle.cjs.min.js +1 -0
  626. package/editor/style/editorstyle.esm.js +15 -0
  627. package/editor/style/editorstyle.esm.min.js +1 -0
  628. package/editor/style/editorstyle.js +24 -0
  629. package/editor/style/editorstyle.min.js +1 -0
  630. package/editor/style/package.json +6 -0
  631. package/fieldset/BaseFieldset.vue +2 -43
  632. package/fieldset/fieldset.cjs.js +3 -27
  633. package/fieldset/fieldset.cjs.min.js +1 -1
  634. package/fieldset/fieldset.esm.js +2 -27
  635. package/fieldset/fieldset.esm.min.js +1 -1
  636. package/fieldset/fieldset.js +4 -28
  637. package/fieldset/fieldset.min.js +1 -1
  638. package/fieldset/package.json +8 -8
  639. package/fieldset/style/FieldsetStyle.d.ts +3 -0
  640. package/fieldset/style/fieldsetstyle.cjs.js +29 -0
  641. package/fieldset/style/fieldsetstyle.cjs.min.js +1 -0
  642. package/fieldset/style/fieldsetstyle.esm.js +23 -0
  643. package/fieldset/style/fieldsetstyle.esm.min.js +1 -0
  644. package/fieldset/style/fieldsetstyle.js +32 -0
  645. package/fieldset/style/fieldsetstyle.min.js +1 -0
  646. package/fieldset/style/package.json +6 -0
  647. package/fileupload/BaseFileUpload.vue +2 -80
  648. package/fileupload/FileUpload.vue +2 -2
  649. package/fileupload/fileupload.cjs.js +6 -43
  650. package/fileupload/fileupload.cjs.min.js +1 -1
  651. package/fileupload/fileupload.esm.js +5 -43
  652. package/fileupload/fileupload.esm.min.js +1 -1
  653. package/fileupload/fileupload.js +7 -44
  654. package/fileupload/fileupload.min.js +1 -1
  655. package/fileupload/package.json +8 -8
  656. package/fileupload/style/FileUploadStyle.d.ts +3 -0
  657. package/fileupload/style/fileuploadstyle.cjs.js +46 -0
  658. package/fileupload/style/fileuploadstyle.cjs.min.js +1 -0
  659. package/fileupload/style/fileuploadstyle.esm.js +40 -0
  660. package/fileupload/style/fileuploadstyle.esm.min.js +1 -0
  661. package/fileupload/style/fileuploadstyle.js +49 -0
  662. package/fileupload/style/fileuploadstyle.min.js +1 -0
  663. package/fileupload/style/package.json +6 -0
  664. package/focustrap/focustrap.cjs.js +5 -1
  665. package/focustrap/focustrap.cjs.min.js +1 -1
  666. package/focustrap/focustrap.esm.js +4 -1
  667. package/focustrap/focustrap.esm.min.js +1 -1
  668. package/focustrap/focustrap.js +6 -3
  669. package/focustrap/focustrap.min.js +1 -1
  670. package/focustrap/package.json +1 -1
  671. package/focustrap/style/FocusTrapStyle.d.ts +3 -0
  672. package/focustrap/style/focustrapstyle.cjs.js +5 -0
  673. package/focustrap/style/focustrapstyle.cjs.min.js +1 -0
  674. package/focustrap/style/focustrapstyle.esm.js +3 -0
  675. package/focustrap/style/focustrapstyle.esm.min.js +1 -0
  676. package/focustrap/style/focustrapstyle.js +10 -0
  677. package/focustrap/style/focustrapstyle.min.js +1 -0
  678. package/focustrap/style/package.json +6 -0
  679. package/galleria/BaseGalleria.vue +2 -376
  680. package/galleria/Galleria.vue +3 -3
  681. package/galleria/GalleriaThumbnails.vue +3 -10
  682. package/galleria/galleria.cjs.js +8 -101
  683. package/galleria/galleria.cjs.min.js +1 -1
  684. package/galleria/galleria.esm.js +8 -102
  685. package/galleria/galleria.esm.min.js +1 -1
  686. package/galleria/galleria.js +9 -102
  687. package/galleria/galleria.min.js +1 -1
  688. package/galleria/package.json +8 -8
  689. package/galleria/style/GalleriaStyle.d.ts +3 -0
  690. package/galleria/style/galleriastyle.cjs.js +97 -0
  691. package/galleria/style/galleriastyle.cjs.min.js +1 -0
  692. package/galleria/style/galleriastyle.esm.js +91 -0
  693. package/galleria/style/galleriastyle.esm.min.js +1 -0
  694. package/galleria/style/galleriastyle.js +100 -0
  695. package/galleria/style/galleriastyle.min.js +1 -0
  696. package/galleria/style/package.json +6 -0
  697. package/icons/angledoubledown/package.json +2 -2
  698. package/icons/angledoubleleft/package.json +2 -2
  699. package/icons/angledoubleright/package.json +2 -2
  700. package/icons/angledoubleup/package.json +2 -2
  701. package/icons/angledown/package.json +2 -2
  702. package/icons/angleleft/package.json +2 -2
  703. package/icons/angleright/package.json +2 -2
  704. package/icons/angleup/package.json +2 -2
  705. package/icons/arrowdown/package.json +2 -2
  706. package/icons/arrowup/package.json +2 -2
  707. package/icons/ban/package.json +2 -2
  708. package/icons/bars/package.json +2 -2
  709. package/icons/calendar/package.json +2 -2
  710. package/icons/check/package.json +2 -2
  711. package/icons/chevrondown/package.json +2 -2
  712. package/icons/chevronleft/package.json +2 -2
  713. package/icons/chevronright/package.json +2 -2
  714. package/icons/chevronup/package.json +2 -2
  715. package/icons/exclamationtriangle/package.json +2 -2
  716. package/icons/eye/package.json +2 -2
  717. package/icons/eyeslash/package.json +2 -2
  718. package/icons/filter/package.json +2 -2
  719. package/icons/filterslash/package.json +2 -2
  720. package/icons/infocircle/package.json +2 -2
  721. package/icons/minus/package.json +2 -2
  722. package/icons/pencil/package.json +2 -2
  723. package/icons/plus/package.json +2 -2
  724. package/icons/refresh/package.json +2 -2
  725. package/icons/search/package.json +2 -2
  726. package/icons/searchminus/package.json +2 -2
  727. package/icons/searchplus/package.json +2 -2
  728. package/icons/sortalt/package.json +2 -2
  729. package/icons/sortamountdown/package.json +2 -2
  730. package/icons/sortamountupalt/package.json +2 -2
  731. package/icons/spinner/package.json +2 -2
  732. package/icons/star/package.json +2 -2
  733. package/icons/starfill/package.json +2 -2
  734. package/icons/thlarge/package.json +2 -2
  735. package/icons/times/package.json +2 -2
  736. package/icons/timescircle/package.json +2 -2
  737. package/icons/trash/package.json +2 -2
  738. package/icons/undo/package.json +2 -2
  739. package/icons/upload/package.json +2 -2
  740. package/icons/windowmaximize/package.json +8 -8
  741. package/icons/windowminimize/package.json +2 -2
  742. package/image/BaseImage.vue +2 -102
  743. package/image/Image.vue +4 -4
  744. package/image/image.cjs.js +7 -46
  745. package/image/image.cjs.min.js +1 -1
  746. package/image/image.esm.js +6 -46
  747. package/image/image.esm.min.js +1 -1
  748. package/image/image.js +8 -47
  749. package/image/image.min.js +1 -1
  750. package/image/package.json +2 -2
  751. package/image/style/ImageStyle.d.ts +3 -0
  752. package/image/style/imagestyle.cjs.js +48 -0
  753. package/image/style/imagestyle.cjs.min.js +1 -0
  754. package/image/style/imagestyle.esm.js +42 -0
  755. package/image/style/imagestyle.esm.min.js +1 -0
  756. package/image/style/imagestyle.js +51 -0
  757. package/image/style/imagestyle.min.js +1 -0
  758. package/image/style/package.json +6 -0
  759. package/inlinemessage/BaseInlineMessage.vue +2 -31
  760. package/inlinemessage/inlinemessage.cjs.js +3 -25
  761. package/inlinemessage/inlinemessage.cjs.min.js +1 -1
  762. package/inlinemessage/inlinemessage.esm.js +2 -25
  763. package/inlinemessage/inlinemessage.esm.min.js +1 -1
  764. package/inlinemessage/inlinemessage.js +4 -26
  765. package/inlinemessage/inlinemessage.min.js +1 -1
  766. package/inlinemessage/package.json +8 -8
  767. package/inlinemessage/style/InlineMessageStyle.d.ts +3 -0
  768. package/inlinemessage/style/inlinemessagestyle.cjs.js +30 -0
  769. package/inlinemessage/style/inlinemessagestyle.cjs.min.js +1 -0
  770. package/inlinemessage/style/inlinemessagestyle.esm.js +24 -0
  771. package/inlinemessage/style/inlinemessagestyle.esm.min.js +1 -0
  772. package/inlinemessage/style/inlinemessagestyle.js +33 -0
  773. package/inlinemessage/style/inlinemessagestyle.min.js +1 -0
  774. package/inlinemessage/style/package.json +6 -0
  775. package/inplace/BaseInplace.vue +2 -33
  776. package/inplace/inplace.cjs.js +3 -26
  777. package/inplace/inplace.cjs.min.js +1 -1
  778. package/inplace/inplace.esm.js +2 -26
  779. package/inplace/inplace.esm.min.js +1 -1
  780. package/inplace/inplace.js +4 -27
  781. package/inplace/inplace.min.js +1 -1
  782. package/inplace/package.json +8 -8
  783. package/inplace/style/InplaceStyle.d.ts +3 -0
  784. package/inplace/style/inplacestyle.cjs.js +31 -0
  785. package/inplace/style/inplacestyle.cjs.min.js +1 -0
  786. package/inplace/style/inplacestyle.esm.js +25 -0
  787. package/inplace/style/inplacestyle.esm.min.js +1 -0
  788. package/inplace/style/inplacestyle.js +34 -0
  789. package/inplace/style/inplacestyle.min.js +1 -0
  790. package/inplace/style/package.json +6 -0
  791. package/inputmask/BaseInputMask.vue +2 -12
  792. package/inputmask/inputmask.cjs.js +3 -11
  793. package/inputmask/inputmask.cjs.min.js +1 -1
  794. package/inputmask/inputmask.esm.js +2 -11
  795. package/inputmask/inputmask.esm.min.js +1 -1
  796. package/inputmask/inputmask.js +4 -13
  797. package/inputmask/inputmask.min.js +1 -1
  798. package/inputmask/package.json +8 -8
  799. package/inputmask/style/InputMaskStyle.d.ts +3 -0
  800. package/inputmask/style/inputmaskstyle.cjs.js +22 -0
  801. package/inputmask/style/inputmaskstyle.cjs.min.js +1 -0
  802. package/inputmask/style/inputmaskstyle.esm.js +16 -0
  803. package/inputmask/style/inputmaskstyle.esm.min.js +1 -0
  804. package/inputmask/style/inputmaskstyle.js +25 -0
  805. package/inputmask/style/inputmaskstyle.min.js +1 -0
  806. package/inputmask/style/package.json +6 -0
  807. package/inputnumber/BaseInputNumber.vue +2 -137
  808. package/inputnumber/inputnumber.cjs.js +3 -40
  809. package/inputnumber/inputnumber.cjs.min.js +1 -1
  810. package/inputnumber/inputnumber.esm.js +2 -40
  811. package/inputnumber/inputnumber.esm.min.js +1 -1
  812. package/inputnumber/inputnumber.js +4 -41
  813. package/inputnumber/inputnumber.min.js +1 -1
  814. package/inputnumber/package.json +8 -8
  815. package/inputnumber/style/InputNumberStyle.d.ts +3 -0
  816. package/inputnumber/style/inputnumberstyle.cjs.js +45 -0
  817. package/inputnumber/style/inputnumberstyle.cjs.min.js +1 -0
  818. package/inputnumber/style/inputnumberstyle.esm.js +39 -0
  819. package/inputnumber/style/inputnumberstyle.esm.min.js +1 -0
  820. package/inputnumber/style/inputnumberstyle.js +48 -0
  821. package/inputnumber/style/inputnumberstyle.min.js +1 -0
  822. package/inputnumber/style/package.json +6 -0
  823. package/inputswitch/BaseInputSwitch.vue +2 -46
  824. package/inputswitch/InputSwitch.d.ts +5 -0
  825. package/inputswitch/inputswitch.cjs.js +3 -29
  826. package/inputswitch/inputswitch.cjs.min.js +1 -1
  827. package/inputswitch/inputswitch.esm.js +2 -29
  828. package/inputswitch/inputswitch.esm.min.js +1 -1
  829. package/inputswitch/inputswitch.js +4 -30
  830. package/inputswitch/inputswitch.min.js +1 -1
  831. package/inputswitch/package.json +8 -8
  832. package/inputswitch/style/InputSwitchStyle.d.ts +3 -0
  833. package/inputswitch/style/inputswitchstyle.cjs.js +34 -0
  834. package/inputswitch/style/inputswitchstyle.cjs.min.js +1 -0
  835. package/inputswitch/style/inputswitchstyle.esm.js +28 -0
  836. package/inputswitch/style/inputswitchstyle.esm.min.js +1 -0
  837. package/inputswitch/style/inputswitchstyle.js +37 -0
  838. package/inputswitch/style/inputswitchstyle.min.js +1 -0
  839. package/inputswitch/style/package.json +6 -0
  840. package/inputtext/BaseInputText.vue +2 -14
  841. package/inputtext/inputtext.cjs.js +3 -14
  842. package/inputtext/inputtext.cjs.min.js +1 -1
  843. package/inputtext/inputtext.esm.js +2 -14
  844. package/inputtext/inputtext.esm.min.js +1 -1
  845. package/inputtext/inputtext.js +4 -16
  846. package/inputtext/inputtext.min.js +1 -1
  847. package/inputtext/package.json +8 -8
  848. package/inputtext/style/InputTextStyle.d.ts +3 -0
  849. package/inputtext/style/inputtextstyle.cjs.js +25 -0
  850. package/inputtext/style/inputtextstyle.cjs.min.js +1 -0
  851. package/inputtext/style/inputtextstyle.esm.js +19 -0
  852. package/inputtext/style/inputtextstyle.esm.min.js +1 -0
  853. package/inputtext/style/inputtextstyle.js +28 -0
  854. package/inputtext/style/inputtextstyle.min.js +1 -0
  855. package/inputtext/style/package.json +6 -0
  856. package/knob/BaseKnob.vue +2 -35
  857. package/knob/knob.cjs.js +3 -22
  858. package/knob/knob.cjs.min.js +1 -1
  859. package/knob/knob.esm.js +2 -22
  860. package/knob/knob.esm.min.js +1 -1
  861. package/knob/knob.js +4 -23
  862. package/knob/knob.min.js +1 -1
  863. package/knob/package.json +8 -8
  864. package/knob/style/KnobStyle.d.ts +3 -0
  865. package/knob/style/knobstyle.cjs.js +27 -0
  866. package/knob/style/knobstyle.cjs.min.js +1 -0
  867. package/knob/style/knobstyle.esm.js +21 -0
  868. package/knob/style/knobstyle.esm.min.js +1 -0
  869. package/knob/style/knobstyle.js +30 -0
  870. package/knob/style/knobstyle.min.js +1 -0
  871. package/knob/style/package.json +6 -0
  872. package/listbox/BaseListbox.vue +2 -69
  873. package/listbox/listbox.cjs.js +3 -40
  874. package/listbox/listbox.cjs.min.js +1 -1
  875. package/listbox/listbox.esm.js +2 -40
  876. package/listbox/listbox.esm.min.js +1 -1
  877. package/listbox/listbox.js +4 -41
  878. package/listbox/listbox.min.js +1 -1
  879. package/listbox/package.json +8 -8
  880. package/listbox/style/ListboxStyle.d.ts +3 -0
  881. package/listbox/style/listboxstyle.cjs.js +45 -0
  882. package/listbox/style/listboxstyle.cjs.min.js +1 -0
  883. package/listbox/style/listboxstyle.esm.js +39 -0
  884. package/listbox/style/listboxstyle.esm.min.js +1 -0
  885. package/listbox/style/listboxstyle.js +48 -0
  886. package/listbox/style/listboxstyle.min.js +1 -0
  887. package/listbox/style/package.json +6 -0
  888. package/megamenu/BaseMegaMenu.vue +2 -195
  889. package/megamenu/megamenu.cjs.js +3 -90
  890. package/megamenu/megamenu.cjs.min.js +1 -1
  891. package/megamenu/megamenu.esm.js +2 -90
  892. package/megamenu/megamenu.esm.min.js +1 -1
  893. package/megamenu/megamenu.js +4 -91
  894. package/megamenu/megamenu.min.js +1 -1
  895. package/megamenu/package.json +8 -8
  896. package/megamenu/style/MegaMenuStyle.d.ts +3 -0
  897. package/megamenu/style/megamenustyle.cjs.js +95 -0
  898. package/megamenu/style/megamenustyle.cjs.min.js +1 -0
  899. package/megamenu/style/megamenustyle.esm.js +89 -0
  900. package/megamenu/style/megamenustyle.esm.min.js +1 -0
  901. package/megamenu/style/megamenustyle.js +98 -0
  902. package/megamenu/style/megamenustyle.min.js +1 -0
  903. package/megamenu/style/package.json +6 -0
  904. package/menu/BaseMenu.vue +2 -61
  905. package/menu/menu.cjs.js +3 -46
  906. package/menu/menu.cjs.min.js +1 -1
  907. package/menu/menu.esm.js +2 -46
  908. package/menu/menu.esm.min.js +1 -1
  909. package/menu/menu.js +4 -47
  910. package/menu/menu.min.js +1 -1
  911. package/menu/package.json +8 -8
  912. package/menu/style/MenuStyle.d.ts +3 -0
  913. package/menu/style/menustyle.cjs.js +51 -0
  914. package/menu/style/menustyle.cjs.min.js +1 -0
  915. package/menu/style/menustyle.esm.js +45 -0
  916. package/menu/style/menustyle.esm.min.js +1 -0
  917. package/menu/style/menustyle.js +54 -0
  918. package/menu/style/menustyle.min.js +1 -0
  919. package/menu/style/package.json +6 -0
  920. package/menubar/BaseMenubar.vue +2 -120
  921. package/menubar/menubar.cjs.js +3 -57
  922. package/menubar/menubar.cjs.min.js +1 -1
  923. package/menubar/menubar.esm.js +2 -57
  924. package/menubar/menubar.esm.min.js +1 -1
  925. package/menubar/menubar.js +4 -58
  926. package/menubar/menubar.min.js +1 -1
  927. package/menubar/package.json +8 -8
  928. package/menubar/style/MenubarStyle.d.ts +3 -0
  929. package/menubar/style/menubarstyle.cjs.js +62 -0
  930. package/menubar/style/menubarstyle.cjs.min.js +1 -0
  931. package/menubar/style/menubarstyle.esm.js +56 -0
  932. package/menubar/style/menubarstyle.esm.min.js +1 -0
  933. package/menubar/style/menubarstyle.js +65 -0
  934. package/menubar/style/menubarstyle.min.js +1 -0
  935. package/menubar/style/package.json +6 -0
  936. package/message/BaseMessage.vue +2 -67
  937. package/message/Message.d.ts +10 -0
  938. package/message/Message.vue +2 -1
  939. package/message/message.cjs.js +9 -24
  940. package/message/message.cjs.min.js +1 -1
  941. package/message/message.esm.js +9 -25
  942. package/message/message.esm.min.js +1 -1
  943. package/message/message.js +10 -25
  944. package/message/message.min.js +1 -1
  945. package/message/package.json +8 -8
  946. package/message/style/MessageStyle.d.ts +3 -0
  947. package/message/style/messagestyle.cjs.js +27 -0
  948. package/message/style/messagestyle.cjs.min.js +1 -0
  949. package/message/style/messagestyle.esm.js +21 -0
  950. package/message/style/messagestyle.esm.min.js +1 -0
  951. package/message/style/messagestyle.js +30 -0
  952. package/message/style/messagestyle.min.js +1 -0
  953. package/message/style/package.json +6 -0
  954. package/multiselect/BaseMultiSelect.vue +2 -191
  955. package/multiselect/multiselect.cjs.js +3 -101
  956. package/multiselect/multiselect.cjs.min.js +1 -1
  957. package/multiselect/multiselect.esm.js +2 -101
  958. package/multiselect/multiselect.esm.min.js +1 -1
  959. package/multiselect/multiselect.js +4 -102
  960. package/multiselect/multiselect.min.js +1 -1
  961. package/multiselect/package.json +8 -8
  962. package/multiselect/style/MultiSelectStyle.d.ts +3 -0
  963. package/multiselect/style/multiselectstyle.cjs.js +106 -0
  964. package/multiselect/style/multiselectstyle.cjs.min.js +1 -0
  965. package/multiselect/style/multiselectstyle.esm.js +100 -0
  966. package/multiselect/style/multiselectstyle.esm.min.js +1 -0
  967. package/multiselect/style/multiselectstyle.js +109 -0
  968. package/multiselect/style/multiselectstyle.min.js +1 -0
  969. package/multiselect/style/package.json +6 -0
  970. package/orderlist/BaseOrderList.vue +2 -67
  971. package/orderlist/OrderList.vue +4 -4
  972. package/orderlist/orderlist.cjs.js +8 -33
  973. package/orderlist/orderlist.cjs.min.js +1 -1
  974. package/orderlist/orderlist.esm.js +7 -33
  975. package/orderlist/orderlist.esm.min.js +1 -1
  976. package/orderlist/orderlist.js +9 -34
  977. package/orderlist/orderlist.min.js +1 -1
  978. package/orderlist/package.json +8 -8
  979. package/orderlist/style/OrderListStyle.d.ts +3 -0
  980. package/orderlist/style/orderliststyle.cjs.js +37 -0
  981. package/orderlist/style/orderliststyle.cjs.min.js +1 -0
  982. package/orderlist/style/orderliststyle.esm.js +31 -0
  983. package/orderlist/style/orderliststyle.esm.min.js +1 -0
  984. package/orderlist/style/orderliststyle.js +40 -0
  985. package/orderlist/style/orderliststyle.min.js +1 -0
  986. package/orderlist/style/package.json +6 -0
  987. package/organizationchart/BaseOrganizationChart.vue +2 -76
  988. package/organizationchart/OrganizationChart.d.ts +6 -1
  989. package/organizationchart/organizationchart.cjs.js +3 -42
  990. package/organizationchart/organizationchart.cjs.min.js +1 -1
  991. package/organizationchart/organizationchart.esm.js +2 -42
  992. package/organizationchart/organizationchart.esm.min.js +1 -1
  993. package/organizationchart/organizationchart.js +4 -43
  994. package/organizationchart/organizationchart.min.js +1 -1
  995. package/organizationchart/package.json +8 -8
  996. package/organizationchart/style/OrganizationChartStyle.d.ts +3 -0
  997. package/organizationchart/style/organizationchartstyle.cjs.js +45 -0
  998. package/organizationchart/style/organizationchartstyle.cjs.min.js +1 -0
  999. package/organizationchart/style/organizationchartstyle.esm.js +39 -0
  1000. package/organizationchart/style/organizationchartstyle.esm.min.js +1 -0
  1001. package/organizationchart/style/organizationchartstyle.js +48 -0
  1002. package/organizationchart/style/organizationchartstyle.min.js +1 -0
  1003. package/organizationchart/style/package.json +6 -0
  1004. package/overlayeventbus/package.json +1 -1
  1005. package/overlaypanel/BaseOverlayPanel.vue +2 -92
  1006. package/overlaypanel/OverlayPanel.d.ts +15 -0
  1007. package/overlaypanel/OverlayPanel.vue +11 -8
  1008. package/overlaypanel/overlaypanel.cjs.js +13 -25
  1009. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  1010. package/overlaypanel/overlaypanel.esm.js +13 -26
  1011. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  1012. package/overlaypanel/overlaypanel.js +14 -26
  1013. package/overlaypanel/overlaypanel.min.js +1 -1
  1014. package/overlaypanel/package.json +8 -8
  1015. package/overlaypanel/style/OverlayPanelStyle.d.ts +3 -0
  1016. package/overlaypanel/style/overlaypanelstyle.cjs.js +28 -0
  1017. package/overlaypanel/style/overlaypanelstyle.cjs.min.js +1 -0
  1018. package/overlaypanel/style/overlaypanelstyle.esm.js +22 -0
  1019. package/overlaypanel/style/overlaypanelstyle.esm.min.js +1 -0
  1020. package/overlaypanel/style/overlaypanelstyle.js +31 -0
  1021. package/overlaypanel/style/overlaypanelstyle.min.js +1 -0
  1022. package/overlaypanel/style/package.json +6 -0
  1023. package/package.json +3 -17
  1024. package/paginator/BasePaginator.vue +2 -100
  1025. package/paginator/package.json +8 -8
  1026. package/paginator/paginator.cjs.js +3 -66
  1027. package/paginator/paginator.cjs.min.js +1 -1
  1028. package/paginator/paginator.esm.js +2 -66
  1029. package/paginator/paginator.esm.min.js +1 -1
  1030. package/paginator/paginator.js +4 -67
  1031. package/paginator/paginator.min.js +1 -1
  1032. package/paginator/style/PaginatorStyle.d.ts +3 -0
  1033. package/paginator/style/package.json +6 -0
  1034. package/paginator/style/paginatorstyle.cjs.js +71 -0
  1035. package/paginator/style/paginatorstyle.cjs.min.js +1 -0
  1036. package/paginator/style/paginatorstyle.esm.js +65 -0
  1037. package/paginator/style/paginatorstyle.esm.min.js +1 -0
  1038. package/paginator/style/paginatorstyle.js +74 -0
  1039. package/paginator/style/paginatorstyle.min.js +1 -0
  1040. package/panel/BasePanel.vue +2 -45
  1041. package/panel/package.json +8 -8
  1042. package/panel/panel.cjs.js +3 -26
  1043. package/panel/panel.cjs.min.js +1 -1
  1044. package/panel/panel.esm.js +2 -26
  1045. package/panel/panel.esm.min.js +1 -1
  1046. package/panel/panel.js +4 -27
  1047. package/panel/panel.min.js +1 -1
  1048. package/panel/style/PanelStyle.d.ts +3 -0
  1049. package/panel/style/package.json +6 -0
  1050. package/panel/style/panelstyle.cjs.js +31 -0
  1051. package/panel/style/panelstyle.cjs.min.js +1 -0
  1052. package/panel/style/panelstyle.esm.js +25 -0
  1053. package/panel/style/panelstyle.esm.min.js +1 -0
  1054. package/panel/style/panelstyle.js +34 -0
  1055. package/panel/style/panelstyle.min.js +1 -0
  1056. package/panelmenu/BasePanelMenu.vue +2 -87
  1057. package/panelmenu/PanelMenuList.vue +1 -1
  1058. package/panelmenu/package.json +8 -8
  1059. package/panelmenu/panelmenu.cjs.js +4 -62
  1060. package/panelmenu/panelmenu.cjs.min.js +1 -1
  1061. package/panelmenu/panelmenu.esm.js +3 -62
  1062. package/panelmenu/panelmenu.esm.min.js +1 -1
  1063. package/panelmenu/panelmenu.js +5 -63
  1064. package/panelmenu/panelmenu.min.js +1 -1
  1065. package/panelmenu/style/PanelMenuStyle.d.ts +3 -0
  1066. package/panelmenu/style/package.json +6 -0
  1067. package/panelmenu/style/panelmenustyle.cjs.js +66 -0
  1068. package/panelmenu/style/panelmenustyle.cjs.min.js +1 -0
  1069. package/panelmenu/style/panelmenustyle.esm.js +60 -0
  1070. package/panelmenu/style/panelmenustyle.esm.min.js +1 -0
  1071. package/panelmenu/style/panelmenustyle.js +69 -0
  1072. package/panelmenu/style/panelmenustyle.min.js +1 -0
  1073. package/passthrough/index.cjs.js +2 -9
  1074. package/passthrough/index.cjs.min.js +1 -1
  1075. package/passthrough/index.esm.js +2 -9
  1076. package/passthrough/index.esm.min.js +1 -1
  1077. package/passthrough/index.js +2 -9
  1078. package/passthrough/index.min.js +1 -1
  1079. package/passthrough/package.json +1 -1
  1080. package/passthrough/tailwind/index.cjs.js +21 -15
  1081. package/passthrough/tailwind/index.cjs.min.js +1 -1
  1082. package/passthrough/tailwind/index.esm.js +21 -15
  1083. package/passthrough/tailwind/index.esm.min.js +1 -1
  1084. package/passthrough/tailwind/index.js +21 -15
  1085. package/passthrough/tailwind/index.min.js +1 -1
  1086. package/passthrough/tailwind/package.json +1 -1
  1087. package/password/BasePassword.vue +2 -68
  1088. package/password/package.json +8 -8
  1089. package/password/password.cjs.js +3 -50
  1090. package/password/password.cjs.min.js +1 -1
  1091. package/password/password.esm.js +2 -50
  1092. package/password/password.esm.min.js +1 -1
  1093. package/password/password.js +4 -51
  1094. package/password/password.min.js +1 -1
  1095. package/password/style/PasswordStyle.d.ts +3 -0
  1096. package/password/style/package.json +6 -0
  1097. package/password/style/passwordstyle.cjs.js +55 -0
  1098. package/password/style/passwordstyle.cjs.min.js +1 -0
  1099. package/password/style/passwordstyle.esm.js +49 -0
  1100. package/password/style/passwordstyle.esm.min.js +1 -0
  1101. package/password/style/passwordstyle.js +58 -0
  1102. package/password/style/passwordstyle.min.js +1 -0
  1103. package/picklist/BasePickList.vue +2 -68
  1104. package/picklist/package.json +8 -8
  1105. package/picklist/picklist.cjs.js +3 -38
  1106. package/picklist/picklist.cjs.min.js +1 -1
  1107. package/picklist/picklist.esm.js +2 -38
  1108. package/picklist/picklist.esm.min.js +1 -1
  1109. package/picklist/picklist.js +4 -39
  1110. package/picklist/picklist.min.js +1 -1
  1111. package/picklist/style/PickListStyle.d.ts +3 -0
  1112. package/picklist/style/package.json +6 -0
  1113. package/picklist/style/pickliststyle.cjs.js +43 -0
  1114. package/picklist/style/pickliststyle.cjs.min.js +1 -0
  1115. package/picklist/style/pickliststyle.esm.js +37 -0
  1116. package/picklist/style/pickliststyle.esm.min.js +1 -0
  1117. package/picklist/style/pickliststyle.js +46 -0
  1118. package/picklist/style/pickliststyle.min.js +1 -0
  1119. package/portal/package.json +7 -7
  1120. package/portal/style/PortalStyle.d.ts +3 -0
  1121. package/portal/style/package.json +6 -0
  1122. package/portal/style/portalstyle.cjs.js +5 -0
  1123. package/portal/style/portalstyle.cjs.min.js +1 -0
  1124. package/portal/style/portalstyle.esm.js +3 -0
  1125. package/portal/style/portalstyle.esm.min.js +1 -0
  1126. package/portal/style/portalstyle.js +10 -0
  1127. package/portal/style/portalstyle.min.js +1 -0
  1128. package/progressbar/BaseProgressBar.vue +2 -131
  1129. package/progressbar/package.json +8 -8
  1130. package/progressbar/progressbar.cjs.js +3 -23
  1131. package/progressbar/progressbar.cjs.min.js +1 -1
  1132. package/progressbar/progressbar.esm.js +2 -23
  1133. package/progressbar/progressbar.esm.min.js +1 -1
  1134. package/progressbar/progressbar.js +4 -24
  1135. package/progressbar/progressbar.min.js +1 -1
  1136. package/progressbar/style/ProgressBarStyle.d.ts +3 -0
  1137. package/progressbar/style/package.json +6 -0
  1138. package/progressbar/style/progressbarstyle.cjs.js +28 -0
  1139. package/progressbar/style/progressbarstyle.cjs.min.js +1 -0
  1140. package/progressbar/style/progressbarstyle.esm.js +22 -0
  1141. package/progressbar/style/progressbarstyle.esm.min.js +1 -0
  1142. package/progressbar/style/progressbarstyle.js +31 -0
  1143. package/progressbar/style/progressbarstyle.min.js +1 -0
  1144. package/progressspinner/BaseProgressSpinner.vue +2 -41
  1145. package/progressspinner/package.json +8 -8
  1146. package/progressspinner/progressspinner.cjs.js +3 -16
  1147. package/progressspinner/progressspinner.cjs.min.js +1 -1
  1148. package/progressspinner/progressspinner.esm.js +2 -16
  1149. package/progressspinner/progressspinner.esm.min.js +1 -1
  1150. package/progressspinner/progressspinner.js +4 -17
  1151. package/progressspinner/progressspinner.min.js +1 -1
  1152. package/progressspinner/style/ProgressSpinnerStyle.d.ts +3 -0
  1153. package/progressspinner/style/package.json +6 -0
  1154. package/progressspinner/style/progressspinnerstyle.cjs.js +21 -0
  1155. package/progressspinner/style/progressspinnerstyle.cjs.min.js +1 -0
  1156. package/progressspinner/style/progressspinnerstyle.esm.js +15 -0
  1157. package/progressspinner/style/progressspinnerstyle.esm.min.js +1 -0
  1158. package/progressspinner/style/progressspinnerstyle.js +24 -0
  1159. package/progressspinner/style/progressspinnerstyle.min.js +1 -0
  1160. package/radiobutton/BaseRadioButton.vue +2 -23
  1161. package/radiobutton/package.json +8 -8
  1162. package/radiobutton/radiobutton.cjs.js +3 -24
  1163. package/radiobutton/radiobutton.cjs.min.js +1 -1
  1164. package/radiobutton/radiobutton.esm.js +2 -24
  1165. package/radiobutton/radiobutton.esm.min.js +1 -1
  1166. package/radiobutton/radiobutton.js +4 -26
  1167. package/radiobutton/radiobutton.min.js +1 -1
  1168. package/radiobutton/style/RadioButtonStyle.d.ts +3 -0
  1169. package/radiobutton/style/package.json +6 -0
  1170. package/radiobutton/style/radiobuttonstyle.cjs.js +35 -0
  1171. package/radiobutton/style/radiobuttonstyle.cjs.min.js +1 -0
  1172. package/radiobutton/style/radiobuttonstyle.esm.js +29 -0
  1173. package/radiobutton/style/radiobuttonstyle.esm.min.js +1 -0
  1174. package/radiobutton/style/radiobuttonstyle.js +38 -0
  1175. package/radiobutton/style/radiobuttonstyle.min.js +1 -0
  1176. package/rating/BaseRating.vue +2 -51
  1177. package/rating/Rating.vue +4 -1
  1178. package/rating/package.json +8 -8
  1179. package/rating/rating.cjs.js +7 -40
  1180. package/rating/rating.cjs.min.js +1 -1
  1181. package/rating/rating.esm.js +6 -40
  1182. package/rating/rating.esm.min.js +1 -1
  1183. package/rating/rating.js +8 -41
  1184. package/rating/rating.min.js +1 -1
  1185. package/rating/style/RatingStyle.d.ts +3 -0
  1186. package/rating/style/package.json +6 -0
  1187. package/rating/style/ratingstyle.cjs.js +43 -0
  1188. package/rating/style/ratingstyle.cjs.min.js +1 -0
  1189. package/rating/style/ratingstyle.esm.js +37 -0
  1190. package/rating/style/ratingstyle.esm.min.js +1 -0
  1191. package/rating/style/ratingstyle.js +46 -0
  1192. package/rating/style/ratingstyle.min.js +1 -0
  1193. package/resources/themes/arya-blue/theme.css +5305 -5574
  1194. package/resources/themes/arya-green/theme.css +5305 -5574
  1195. package/resources/themes/arya-orange/theme.css +5305 -5574
  1196. package/resources/themes/arya-purple/theme.css +5305 -5574
  1197. package/resources/themes/bootstrap4-dark-blue/theme.css +5312 -5582
  1198. package/resources/themes/bootstrap4-dark-purple/theme.css +5312 -5582
  1199. package/resources/themes/bootstrap4-light-blue/theme.css +5310 -5580
  1200. package/resources/themes/bootstrap4-light-purple/theme.css +5310 -5580
  1201. package/resources/themes/fluent-light/theme.css +5390 -5659
  1202. package/resources/themes/lara-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  1203. package/resources/themes/lara-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  1204. package/resources/themes/lara-dark-blue/theme.css +5294 -5544
  1205. package/resources/themes/lara-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  1206. package/resources/themes/lara-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  1207. package/resources/themes/lara-dark-indigo/theme.css +5296 -5546
  1208. package/resources/themes/lara-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  1209. package/resources/themes/lara-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  1210. package/resources/themes/lara-dark-purple/theme.css +5296 -5546
  1211. package/resources/themes/lara-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  1212. package/resources/themes/lara-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  1213. package/resources/themes/lara-dark-teal/theme.css +5296 -5546
  1214. package/resources/themes/lara-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  1215. package/resources/themes/lara-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  1216. package/resources/themes/lara-light-blue/theme.css +5294 -5544
  1217. package/resources/themes/lara-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  1218. package/resources/themes/lara-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  1219. package/resources/themes/lara-light-indigo/theme.css +5298 -5548
  1220. package/resources/themes/lara-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  1221. package/resources/themes/lara-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  1222. package/resources/themes/lara-light-purple/theme.css +5298 -5548
  1223. package/resources/themes/lara-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  1224. package/resources/themes/lara-light-teal/fonts/Inter-roman.var.woff2 +0 -0
  1225. package/resources/themes/lara-light-teal/theme.css +5298 -5548
  1226. package/resources/themes/luna-amber/theme.css +5230 -5501
  1227. package/resources/themes/luna-blue/theme.css +5230 -5501
  1228. package/resources/themes/luna-green/theme.css +5230 -5501
  1229. package/resources/themes/luna-pink/theme.css +5230 -5501
  1230. package/resources/themes/md-dark-deeppurple/theme.css +6692 -7007
  1231. package/resources/themes/md-dark-indigo/theme.css +6684 -6999
  1232. package/resources/themes/md-light-deeppurple/theme.css +6696 -7011
  1233. package/resources/themes/md-light-indigo/theme.css +6696 -7011
  1234. package/resources/themes/mdc-dark-deeppurple/theme.css +6673 -6988
  1235. package/resources/themes/mdc-dark-indigo/theme.css +6672 -6987
  1236. package/resources/themes/mdc-light-deeppurple/theme.css +6684 -6999
  1237. package/resources/themes/mdc-light-indigo/theme.css +6684 -6999
  1238. package/resources/themes/mira/theme.css +5435 -5704
  1239. package/resources/themes/nano/theme.css +5271 -5541
  1240. package/resources/themes/nova/theme.css +5262 -5532
  1241. package/resources/themes/nova-accent/theme.css +5257 -5527
  1242. package/resources/themes/nova-alt/theme.css +5271 -5541
  1243. package/resources/themes/nova-vue/theme.css +5261 -5531
  1244. package/resources/themes/rhea/theme.css +5232 -5502
  1245. package/resources/themes/saga-blue/theme.css +5287 -5556
  1246. package/resources/themes/saga-green/theme.css +5287 -5556
  1247. package/resources/themes/saga-orange/theme.css +5287 -5556
  1248. package/resources/themes/saga-purple/theme.css +5286 -5555
  1249. package/resources/themes/soho-dark/theme.css +5245 -5514
  1250. package/resources/themes/soho-light/theme.css +5296 -5565
  1251. package/resources/themes/tailwind-light/theme.css +5356 -5625
  1252. package/resources/themes/vela-blue/theme.css +5305 -5574
  1253. package/resources/themes/vela-green/theme.css +5305 -5574
  1254. package/resources/themes/vela-orange/theme.css +5305 -5574
  1255. package/resources/themes/vela-purple/theme.css +5305 -5574
  1256. package/resources/themes/viva-dark/theme.css +5378 -5647
  1257. package/resources/themes/viva-light/theme.css +5375 -5644
  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 -73
  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 -47
  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 +6 -15
  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 +8 -21
  1319. package/selectbutton/selectbutton.cjs.min.js +1 -1
  1320. package/selectbutton/selectbutton.esm.js +7 -21
  1321. package/selectbutton/selectbutton.esm.min.js +1 -1
  1322. package/selectbutton/selectbutton.js +9 -23
  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 -204
  1333. package/sidebar/Sidebar.d.ts +10 -0
  1334. package/sidebar/Sidebar.vue +21 -18
  1335. package/sidebar/package.json +8 -8
  1336. package/sidebar/sidebar.cjs.js +16 -67
  1337. package/sidebar/sidebar.cjs.min.js +1 -1
  1338. package/sidebar/sidebar.esm.js +16 -68
  1339. package/sidebar/sidebar.esm.min.js +1 -1
  1340. package/sidebar/sidebar.js +17 -68
  1341. package/sidebar/sidebar.min.js +1 -1
  1342. package/sidebar/style/SidebarStyle.d.ts +3 -0
  1343. package/sidebar/style/package.json +6 -0
  1344. package/sidebar/style/sidebarstyle.cjs.js +61 -0
  1345. package/sidebar/style/sidebarstyle.cjs.min.js +1 -0
  1346. package/sidebar/style/sidebarstyle.esm.js +55 -0
  1347. package/sidebar/style/sidebarstyle.esm.min.js +1 -0
  1348. package/sidebar/style/sidebarstyle.js +64 -0
  1349. package/sidebar/style/sidebarstyle.min.js +1 -0
  1350. package/skeleton/BaseSkeleton.vue +2 -57
  1351. package/skeleton/package.json +8 -8
  1352. package/skeleton/skeleton.cjs.js +3 -26
  1353. package/skeleton/skeleton.cjs.min.js +1 -1
  1354. package/skeleton/skeleton.esm.js +2 -26
  1355. package/skeleton/skeleton.esm.min.js +1 -1
  1356. package/skeleton/skeleton.js +4 -27
  1357. package/skeleton/skeleton.min.js +1 -1
  1358. package/skeleton/style/SkeletonStyle.d.ts +3 -0
  1359. package/skeleton/style/package.json +6 -0
  1360. package/skeleton/style/skeletonstyle.cjs.js +31 -0
  1361. package/skeleton/style/skeletonstyle.cjs.min.js +1 -0
  1362. package/skeleton/style/skeletonstyle.esm.js +25 -0
  1363. package/skeleton/style/skeletonstyle.esm.min.js +1 -0
  1364. package/skeleton/style/skeletonstyle.js +34 -0
  1365. package/skeleton/style/skeletonstyle.min.js +1 -0
  1366. package/slider/BaseSlider.vue +2 -66
  1367. package/slider/Slider.vue +2 -2
  1368. package/slider/package.json +8 -8
  1369. package/slider/slider.cjs.js +4 -34
  1370. package/slider/slider.cjs.min.js +1 -1
  1371. package/slider/slider.esm.js +3 -34
  1372. package/slider/slider.esm.min.js +1 -1
  1373. package/slider/slider.js +5 -35
  1374. package/slider/slider.min.js +1 -1
  1375. package/slider/style/SliderStyle.d.ts +3 -0
  1376. package/slider/style/package.json +6 -0
  1377. package/slider/style/sliderstyle.cjs.js +37 -0
  1378. package/slider/style/sliderstyle.cjs.min.js +1 -0
  1379. package/slider/style/sliderstyle.esm.js +31 -0
  1380. package/slider/style/sliderstyle.esm.min.js +1 -0
  1381. package/slider/style/sliderstyle.js +40 -0
  1382. package/slider/style/sliderstyle.min.js +1 -0
  1383. package/speeddial/BaseSpeedDial.vue +2 -136
  1384. package/speeddial/package.json +2 -2
  1385. package/speeddial/speeddial.cjs.js +3 -69
  1386. package/speeddial/speeddial.cjs.min.js +1 -1
  1387. package/speeddial/speeddial.esm.js +2 -69
  1388. package/speeddial/speeddial.esm.min.js +1 -1
  1389. package/speeddial/speeddial.js +4 -70
  1390. package/speeddial/speeddial.min.js +1 -1
  1391. package/speeddial/style/SpeedDialStyle.d.ts +3 -0
  1392. package/speeddial/style/package.json +6 -0
  1393. package/speeddial/style/speeddialstyle.cjs.js +74 -0
  1394. package/speeddial/style/speeddialstyle.cjs.min.js +1 -0
  1395. package/speeddial/style/speeddialstyle.esm.js +68 -0
  1396. package/speeddial/style/speeddialstyle.esm.min.js +1 -0
  1397. package/speeddial/style/speeddialstyle.js +77 -0
  1398. package/speeddial/style/speeddialstyle.min.js +1 -0
  1399. package/splitbutton/BaseSplitButton.vue +2 -58
  1400. package/splitbutton/package.json +8 -8
  1401. package/splitbutton/splitbutton.cjs.js +3 -24
  1402. package/splitbutton/splitbutton.cjs.min.js +1 -1
  1403. package/splitbutton/splitbutton.esm.js +2 -24
  1404. package/splitbutton/splitbutton.esm.min.js +1 -1
  1405. package/splitbutton/splitbutton.js +4 -25
  1406. package/splitbutton/splitbutton.min.js +1 -1
  1407. package/splitbutton/style/SplitButtonStyle.d.ts +3 -0
  1408. package/splitbutton/style/package.json +6 -0
  1409. package/splitbutton/style/splitbuttonstyle.cjs.js +29 -0
  1410. package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -0
  1411. package/splitbutton/style/splitbuttonstyle.esm.js +23 -0
  1412. package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -0
  1413. package/splitbutton/style/splitbuttonstyle.js +32 -0
  1414. package/splitbutton/style/splitbuttonstyle.min.js +1 -0
  1415. package/splitter/BaseSplitter.vue +2 -66
  1416. package/splitter/Splitter.d.ts +20 -0
  1417. package/splitter/Splitter.vue +3 -1
  1418. package/splitter/package.json +8 -8
  1419. package/splitter/splitter.cjs.js +8 -32
  1420. package/splitter/splitter.cjs.min.js +1 -1
  1421. package/splitter/splitter.esm.js +7 -32
  1422. package/splitter/splitter.esm.min.js +1 -1
  1423. package/splitter/splitter.js +9 -33
  1424. package/splitter/splitter.min.js +1 -1
  1425. package/splitter/style/SplitterStyle.d.ts +3 -0
  1426. package/splitter/style/package.json +6 -0
  1427. package/splitter/style/splitterstyle.cjs.js +36 -0
  1428. package/splitter/style/splitterstyle.cjs.min.js +1 -0
  1429. package/splitter/style/splitterstyle.esm.js +30 -0
  1430. package/splitter/style/splitterstyle.esm.min.js +1 -0
  1431. package/splitter/style/splitterstyle.js +39 -0
  1432. package/splitter/style/splitterstyle.min.js +1 -0
  1433. package/splitterpanel/BaseSplitterPanel.vue +2 -26
  1434. package/splitterpanel/package.json +8 -8
  1435. package/splitterpanel/splitterpanel.cjs.js +3 -19
  1436. package/splitterpanel/splitterpanel.cjs.min.js +1 -1
  1437. package/splitterpanel/splitterpanel.esm.js +2 -19
  1438. package/splitterpanel/splitterpanel.esm.min.js +1 -1
  1439. package/splitterpanel/splitterpanel.js +4 -20
  1440. package/splitterpanel/splitterpanel.min.js +1 -1
  1441. package/splitterpanel/style/SplitterPanelStyle.d.ts +3 -0
  1442. package/splitterpanel/style/package.json +6 -0
  1443. package/splitterpanel/style/splitterpanelstyle.cjs.js +24 -0
  1444. package/splitterpanel/style/splitterpanelstyle.cjs.min.js +1 -0
  1445. package/splitterpanel/style/splitterpanelstyle.esm.js +18 -0
  1446. package/splitterpanel/style/splitterpanelstyle.esm.min.js +1 -0
  1447. package/splitterpanel/style/splitterpanelstyle.js +27 -0
  1448. package/splitterpanel/style/splitterpanelstyle.min.js +1 -0
  1449. package/steps/BaseSteps.vue +2 -82
  1450. package/steps/package.json +8 -8
  1451. package/steps/steps.cjs.js +3 -39
  1452. package/steps/steps.cjs.min.js +1 -1
  1453. package/steps/steps.esm.js +2 -39
  1454. package/steps/steps.esm.min.js +1 -1
  1455. package/steps/steps.js +4 -40
  1456. package/steps/steps.min.js +1 -1
  1457. package/steps/style/StepsStyle.d.ts +3 -0
  1458. package/steps/style/package.json +6 -0
  1459. package/steps/style/stepsstyle.cjs.js +44 -0
  1460. package/steps/style/stepsstyle.cjs.min.js +1 -0
  1461. package/steps/style/stepsstyle.esm.js +38 -0
  1462. package/steps/style/stepsstyle.esm.min.js +1 -0
  1463. package/steps/style/stepsstyle.js +47 -0
  1464. package/steps/style/stepsstyle.min.js +1 -0
  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 -65
  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 -108
  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 -40
  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 -42
  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 -28
  1556. package/textarea/Textarea.vue +1 -3
  1557. package/textarea/package.json +8 -8
  1558. package/textarea/style/TextareaStyle.d.ts +3 -0
  1559. package/textarea/style/package.json +6 -0
  1560. package/textarea/style/textareastyle.cjs.js +26 -0
  1561. package/textarea/style/textareastyle.cjs.min.js +1 -0
  1562. package/textarea/style/textareastyle.esm.js +20 -0
  1563. package/textarea/style/textareastyle.esm.min.js +1 -0
  1564. package/textarea/style/textareastyle.js +29 -0
  1565. package/textarea/style/textareastyle.min.js +1 -0
  1566. package/textarea/textarea.cjs.js +4 -23
  1567. package/textarea/textarea.cjs.min.js +1 -1
  1568. package/textarea/textarea.esm.js +3 -23
  1569. package/textarea/textarea.esm.min.js +1 -1
  1570. package/textarea/textarea.js +5 -24
  1571. package/textarea/textarea.min.js +1 -1
  1572. package/tieredmenu/BaseTieredMenu.vue +2 -87
  1573. package/tieredmenu/package.json +8 -8
  1574. package/tieredmenu/style/TieredMenuStyle.d.ts +3 -0
  1575. package/tieredmenu/style/package.json +6 -0
  1576. package/tieredmenu/style/tieredmenustyle.cjs.js +62 -0
  1577. package/tieredmenu/style/tieredmenustyle.cjs.min.js +1 -0
  1578. package/tieredmenu/style/tieredmenustyle.esm.js +56 -0
  1579. package/tieredmenu/style/tieredmenustyle.esm.min.js +1 -0
  1580. package/tieredmenu/style/tieredmenustyle.js +65 -0
  1581. package/tieredmenu/style/tieredmenustyle.min.js +1 -0
  1582. package/tieredmenu/tieredmenu.cjs.js +3 -57
  1583. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  1584. package/tieredmenu/tieredmenu.esm.js +2 -57
  1585. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  1586. package/tieredmenu/tieredmenu.js +4 -58
  1587. package/tieredmenu/tieredmenu.min.js +1 -1
  1588. package/timeline/BaseTimeline.vue +2 -130
  1589. package/timeline/package.json +8 -8
  1590. package/timeline/style/TimelineStyle.d.ts +3 -0
  1591. package/timeline/style/package.json +6 -0
  1592. package/timeline/style/timelinestyle.cjs.js +28 -0
  1593. package/timeline/style/timelinestyle.cjs.min.js +1 -0
  1594. package/timeline/style/timelinestyle.esm.js +22 -0
  1595. package/timeline/style/timelinestyle.esm.min.js +1 -0
  1596. package/timeline/style/timelinestyle.js +31 -0
  1597. package/timeline/style/timelinestyle.min.js +1 -0
  1598. package/timeline/timeline.cjs.js +3 -23
  1599. package/timeline/timeline.cjs.min.js +1 -1
  1600. package/timeline/timeline.esm.js +2 -23
  1601. package/timeline/timeline.esm.min.js +1 -1
  1602. package/timeline/timeline.js +4 -24
  1603. package/timeline/timeline.min.js +1 -1
  1604. package/toast/BaseToast.vue +2 -128
  1605. package/toast/Toast.d.ts +19 -0
  1606. package/toast/Toast.vue +5 -0
  1607. package/toast/ToastMessage.vue +3 -2
  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 +19 -63
  1618. package/toast/toast.cjs.min.js +1 -1
  1619. package/toast/toast.esm.js +19 -64
  1620. package/toast/toast.esm.min.js +1 -1
  1621. package/toast/toast.js +20 -64
  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 -36
  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 -18
  1659. package/toolbar/toolbar.cjs.min.js +1 -1
  1660. package/toolbar/toolbar.esm.js +2 -18
  1661. package/toolbar/toolbar.esm.min.js +1 -1
  1662. package/toolbar/toolbar.js +4 -19
  1663. package/toolbar/toolbar.min.js +1 -1
  1664. package/tooltip/package.json +5 -5
  1665. package/tooltip/style/TooltipStyle.d.ts +3 -0
  1666. package/tooltip/style/package.json +6 -0
  1667. package/tooltip/style/tooltipstyle.cjs.js +21 -0
  1668. package/tooltip/style/tooltipstyle.cjs.min.js +1 -0
  1669. package/tooltip/style/tooltipstyle.esm.js +15 -0
  1670. package/tooltip/style/tooltipstyle.esm.min.js +1 -0
  1671. package/tooltip/style/tooltipstyle.js +24 -0
  1672. package/tooltip/style/tooltipstyle.min.js +1 -0
  1673. package/tooltip/tooltip.cjs.js +10 -25
  1674. package/tooltip/tooltip.cjs.min.js +1 -1
  1675. package/tooltip/tooltip.esm.js +9 -25
  1676. package/tooltip/tooltip.esm.min.js +1 -1
  1677. package/tooltip/tooltip.js +11 -26
  1678. package/tooltip/tooltip.min.js +1 -1
  1679. package/tree/BaseTree.vue +2 -132
  1680. package/tree/Tree.d.ts +5 -2
  1681. package/tree/package.json +8 -8
  1682. package/tree/style/TreeStyle.d.ts +3 -0
  1683. package/tree/style/package.json +6 -0
  1684. package/tree/style/treestyle.cjs.js +63 -0
  1685. package/tree/style/treestyle.cjs.min.js +1 -0
  1686. package/tree/style/treestyle.esm.js +57 -0
  1687. package/tree/style/treestyle.esm.min.js +1 -0
  1688. package/tree/style/treestyle.js +66 -0
  1689. package/tree/style/treestyle.min.js +1 -0
  1690. package/tree/tree.cjs.js +3 -58
  1691. package/tree/tree.cjs.min.js +1 -1
  1692. package/tree/tree.esm.js +2 -58
  1693. package/tree/tree.esm.min.js +1 -1
  1694. package/tree/tree.js +4 -59
  1695. package/tree/tree.min.js +1 -1
  1696. package/treeselect/BaseTreeSelect.vue +2 -99
  1697. package/treeselect/package.json +2 -2
  1698. package/treeselect/style/TreeSelectStyle.d.ts +3 -0
  1699. package/treeselect/style/package.json +6 -0
  1700. package/treeselect/style/treeselectstyle.cjs.js +60 -0
  1701. package/treeselect/style/treeselectstyle.cjs.min.js +1 -0
  1702. package/treeselect/style/treeselectstyle.esm.js +54 -0
  1703. package/treeselect/style/treeselectstyle.esm.min.js +1 -0
  1704. package/treeselect/style/treeselectstyle.js +63 -0
  1705. package/treeselect/style/treeselectstyle.min.js +1 -0
  1706. package/treeselect/treeselect.cjs.js +3 -55
  1707. package/treeselect/treeselect.cjs.min.js +1 -1
  1708. package/treeselect/treeselect.esm.js +2 -55
  1709. package/treeselect/treeselect.esm.min.js +1 -1
  1710. package/treeselect/treeselect.js +4 -56
  1711. package/treeselect/treeselect.min.js +1 -1
  1712. package/treetable/BaseTreeTable.vue +2 -269
  1713. package/treetable/TreeTable.vue +7 -23
  1714. package/treetable/package.json +8 -8
  1715. package/treetable/style/TreeTableStyle.d.ts +3 -0
  1716. package/treetable/style/package.json +6 -0
  1717. package/treetable/style/treetablestyle.cjs.js +110 -0
  1718. package/treetable/style/treetablestyle.cjs.min.js +1 -0
  1719. package/treetable/style/treetablestyle.esm.js +104 -0
  1720. package/treetable/style/treetablestyle.esm.min.js +1 -0
  1721. package/treetable/style/treetablestyle.js +113 -0
  1722. package/treetable/style/treetablestyle.min.js +1 -0
  1723. package/treetable/treetable.cjs.js +9 -121
  1724. package/treetable/treetable.cjs.min.js +1 -1
  1725. package/treetable/treetable.esm.js +8 -121
  1726. package/treetable/treetable.esm.min.js +1 -1
  1727. package/treetable/treetable.js +10 -122
  1728. package/treetable/treetable.min.js +1 -1
  1729. package/tristatecheckbox/BaseTriStateCheckbox.vue +2 -25
  1730. package/tristatecheckbox/package.json +8 -8
  1731. package/tristatecheckbox/style/TriStateCheckboxStyle.d.ts +3 -0
  1732. package/tristatecheckbox/style/package.json +6 -0
  1733. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.js +37 -0
  1734. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.min.js +1 -0
  1735. package/tristatecheckbox/style/tristatecheckboxstyle.esm.js +31 -0
  1736. package/tristatecheckbox/style/tristatecheckboxstyle.esm.min.js +1 -0
  1737. package/tristatecheckbox/style/tristatecheckboxstyle.js +40 -0
  1738. package/tristatecheckbox/style/tristatecheckboxstyle.min.js +1 -0
  1739. package/tristatecheckbox/tristatecheckbox.cjs.js +3 -26
  1740. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  1741. package/tristatecheckbox/tristatecheckbox.esm.js +2 -26
  1742. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  1743. package/tristatecheckbox/tristatecheckbox.js +4 -28
  1744. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  1745. package/useconfirm/package.json +5 -5
  1746. package/usedialog/package.json +1 -1
  1747. package/usestyle/UseStyle.d.ts +6 -6
  1748. package/usestyle/package.json +1 -1
  1749. package/usestyle/usestyle.cjs.js +15 -10
  1750. package/usestyle/usestyle.cjs.min.js +1 -1
  1751. package/usestyle/usestyle.esm.js +15 -10
  1752. package/usestyle/usestyle.esm.min.js +1 -1
  1753. package/usestyle/usestyle.js +15 -10
  1754. package/usestyle/usestyle.min.js +1 -1
  1755. package/usetoast/package.json +5 -5
  1756. package/utils/Utils.d.ts +5 -0
  1757. package/utils/package.json +4 -4
  1758. package/utils/utils.cjs.js +40 -0
  1759. package/utils/utils.cjs.min.js +1 -1
  1760. package/utils/utils.esm.js +40 -0
  1761. package/utils/utils.esm.min.js +1 -1
  1762. package/utils/utils.js +40 -0
  1763. package/utils/utils.min.js +1 -1
  1764. package/vetur-attributes.json +8 -0
  1765. package/vetur-tags.json +2 -0
  1766. package/virtualscroller/BaseVirtualScroller.vue +3 -67
  1767. package/virtualscroller/package.json +2 -2
  1768. package/virtualscroller/style/VirtualScrollerStyle.d.ts +3 -0
  1769. package/virtualscroller/style/package.json +6 -0
  1770. package/virtualscroller/style/virtualscrollerstyle.cjs.js +15 -0
  1771. package/virtualscroller/style/virtualscrollerstyle.cjs.min.js +1 -0
  1772. package/virtualscroller/style/virtualscrollerstyle.esm.js +9 -0
  1773. package/virtualscroller/style/virtualscrollerstyle.esm.min.js +1 -0
  1774. package/virtualscroller/style/virtualscrollerstyle.js +18 -0
  1775. package/virtualscroller/style/virtualscrollerstyle.min.js +1 -0
  1776. package/virtualscroller/virtualscroller.cjs.js +4 -8
  1777. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  1778. package/virtualscroller/virtualscroller.esm.js +3 -8
  1779. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  1780. package/virtualscroller/virtualscroller.js +5 -9
  1781. package/virtualscroller/virtualscroller.min.js +1 -1
  1782. package/web-types.json +56 -1
@@ -1 +1 @@
1
- import e from"primevue/overlayeventbus";import t from"primevue/portal";import{ZIndexUtils as n,DomHandler as i,ConnectedOverlayScrollHandler as o}from"primevue/utils";import r from"primevue/basecomponent";import{useStyle as s}from"primevue/usestyle";import{resolveComponent as l,openBlock as a,createElementBlock as u,mergeProps as c,createCommentVNode as d,createVNode as p,withCtx as h,Transition as f,createElementVNode as b}from"vue";var m=s("\n.p-colorpicker-panel .p-colorpicker-color {\n background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)\n}\n\n.p-colorpicker-panel .p-colorpicker-hue {\n background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)\n}\n",{name:"colorpicker",manual:!0}),g={name:"ColorPicker",extends:{name:"BaseColorPicker",extends:r,props:{modelValue:{type:null,default:null},defaultColor:{type:null,default:"ff0000"},inline:{type:Boolean,default:!1},format:{type:String,default:"hex"},disabled:{type:Boolean,default:!1},tabindex:{type:String,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:String,default:"body"},panelClass:null},css:{classes:{root:function(e){return["p-colorpicker p-component",{"p-colorpicker-overlay":!e.props.inline}]},input:function(e){return["p-colorpicker-preview p-inputtext",{"p-disabled":e.props.disabled}]},panel:function(e){var t=e.instance,n=e.props;return["p-colorpicker-panel",{"p-colorpicker-overlay-panel":!n.inline,"p-disabled":n.disabled,"p-input-filled":"filled"===t.$primevue.config.inputStyle,"p-ripple-disabled":!1===t.$primevue.config.ripple}]},content:"p-colorpicker-content",selector:"p-colorpicker-color-selector",color:"p-colorpicker-color",colorHandle:"p-colorpicker-color-handle",hue:"p-colorpicker-hue",hueHandle:"p-colorpicker-hue-handle"},loadStyle:m.load},provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","change","show","hide"],data:function(){return{overlayVisible:!1}},hsbValue:null,outsideClickListener:null,documentMouseMoveListener:null,documentMouseUpListener:null,scrollHandler:null,resizeListener:null,hueDragging:null,colorDragging:null,selfUpdate:null,picker:null,colorSelector:null,colorHandle:null,hueView:null,hueHandle:null,watch:{modelValue:{immediate:!0,handler:function(e){this.hsbValue=this.toHSB(e),this.selfUpdate?this.selfUpdate=!1:this.updateUI()}}},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindDragListeners(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.picker&&this.autoZIndex&&n.clear(this.picker),this.clearRefs()},mounted:function(){this.updateUI()},methods:{pickColor:function(e){var t=this.colorSelector.getBoundingClientRect(),n=t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),i=t.left+document.body.scrollLeft,o=Math.floor(100*Math.max(0,Math.min(150,(e.pageX||e.changedTouches[0].pageX)-i))/150),r=Math.floor(100*(150-Math.max(0,Math.min(150,(e.pageY||e.changedTouches[0].pageY)-n)))/150);this.hsbValue=this.validateHSB({h:this.hsbValue.h,s:o,b:r}),this.selfUpdate=!0,this.updateColorHandle(),this.updateInput(),this.updateModel(),this.$emit("change",{event:e,value:this.modelValue})},pickHue:function(e){var t=this.hueView.getBoundingClientRect().top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0);this.hsbValue=this.validateHSB({h:Math.floor(360*(150-Math.max(0,Math.min(150,(e.pageY||e.changedTouches[0].pageY)-t)))/150),s:100,b:100}),this.selfUpdate=!0,this.updateColorSelector(),this.updateHue(),this.updateModel(),this.updateInput(),this.$emit("change",{event:e,value:this.modelValue})},updateModel:function(){switch(this.format){case"hex":this.$emit("update:modelValue",this.HSBtoHEX(this.hsbValue));break;case"rgb":this.$emit("update:modelValue",this.HSBtoRGB(this.hsbValue));break;case"hsb":this.$emit("update:modelValue",this.hsbValue)}},updateColorSelector:function(){if(this.colorSelector){var e=this.validateHSB({h:this.hsbValue.h,s:100,b:100});this.colorSelector.style.backgroundColor="#"+this.HSBtoHEX(e)}},updateColorHandle:function(){this.colorHandle&&(this.colorHandle.style.left=Math.floor(150*this.hsbValue.s/100)+"px",this.colorHandle.style.top=Math.floor(150*(100-this.hsbValue.b)/100)+"px")},updateHue:function(){this.hueHandle&&(this.hueHandle.style.top=Math.floor(150-150*this.hsbValue.h/360)+"px")},updateInput:function(){this.$refs.input&&(this.$refs.input.style.backgroundColor="#"+this.HSBtoHEX(this.hsbValue))},updateUI:function(){this.updateHue(),this.updateColorHandle(),this.updateInput(),this.updateColorSelector()},validateHSB:function(e){return{h:Math.min(360,Math.max(0,e.h)),s:Math.min(100,Math.max(0,e.s)),b:Math.min(100,Math.max(0,e.b))}},validateRGB:function(e){return{r:Math.min(255,Math.max(0,e.r)),g:Math.min(255,Math.max(0,e.g)),b:Math.min(255,Math.max(0,e.b))}},validateHEX:function(e){var t=6-e.length;if(t>0){for(var n=[],i=0;i<t;i++)n.push("0");n.push(e),e=n.join("")}return e},HEXtoRGB:function(e){var t=parseInt(e.indexOf("#")>-1?e.substring(1):e,16);return{r:t>>16,g:(65280&t)>>8,b:255&t}},HEXtoHSB:function(e){return this.RGBtoHSB(this.HEXtoRGB(e))},RGBtoHSB:function(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),i=Math.max(e.r,e.g,e.b),o=i-n;return t.b=i,t.s=0!==i?255*o/i:0,t.h=0!==t.s?e.r===i?(e.g-e.b)/o:e.g===i?2+(e.b-e.r)/o:4+(e.r-e.g)/o:-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t},HSBtoRGB:function(e){var t={r:null,g:null,b:null},n=Math.round(e.h),i=Math.round(255*e.s/100),o=Math.round(255*e.b/100);if(0===i)t={r:o,g:o,b:o};else{var r=o,s=(255-i)*o/255,l=n%60*(r-s)/60;360===n&&(n=0),n<60?(t.r=r,t.b=s,t.g=s+l):n<120?(t.g=r,t.b=s,t.r=r-l):n<180?(t.g=r,t.r=s,t.b=s+l):n<240?(t.b=r,t.r=s,t.g=r-l):n<300?(t.b=r,t.g=s,t.r=s+l):n<360?(t.r=r,t.g=s,t.b=r-l):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}},RGBtoHEX:function(e){var t=[e.r.toString(16),e.g.toString(16),e.b.toString(16)];for(var n in t)1===t[n].length&&(t[n]="0"+t[n]);return t.join("")},HSBtoHEX:function(e){return this.RGBtoHEX(this.HSBtoRGB(e))},toHSB:function(e){var t;if(e)switch(this.format){case"hex":t=this.HEXtoHSB(e);break;case"rgb":t=this.RGBtoHSB(e);break;case"hsb":t=e}else t=this.HEXtoHSB(this.defaultColor);return t},onOverlayEnter:function(e){this.updateUI(),this.alignOverlay(),this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.autoZIndex&&n.set("overlay",e,this.baseZIndex,this.$primevue.config.zIndex.overlay),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.clearRefs(),this.$emit("hide")},onOverlayAfterLeave:function(e){this.autoZIndex&&n.clear(e)},alignOverlay:function(){"self"===this.appendTo?i.relativePosition(this.picker,this.$refs.input):i.absolutePosition(this.picker,this.$refs.input)},onInputClick:function(){this.disabled||(this.overlayVisible=!this.overlayVisible)},onInputKeydown:function(e){switch(e.code){case"Space":this.overlayVisible=!this.overlayVisible,e.preventDefault();break;case"Escape":case"Tab":this.overlayVisible=!1}},onColorMousedown:function(e){this.disabled||(this.bindDragListeners(),this.onColorDragStart(e))},onColorDragStart:function(e){this.disabled||(this.colorDragging=!0,this.pickColor(e),this.$el.setAttribute("p-colorpicker-dragging","true"),!this.isUnstyled&&i.addClass(this.$el,"p-colorpicker-dragging"),e.preventDefault())},onDrag:function(e){this.colorDragging&&(this.pickColor(e),e.preventDefault()),this.hueDragging&&(this.pickHue(e),e.preventDefault())},onDragEnd:function(){this.colorDragging=!1,this.hueDragging=!1,this.$el.setAttribute("p-colorpicker-dragging","false"),!this.isUnstyled&&i.removeClass(this.$el,"p-colorpicker-dragging"),this.unbindDragListeners()},onHueMousedown:function(e){this.disabled||(this.bindDragListeners(),this.onHueDragStart(e))},onHueDragStart:function(e){this.disabled||(this.hueDragging=!0,this.pickHue(e),!this.isUnstyled&&i.addClass(this.$el,"p-colorpicker-dragging"))},isInputClicked:function(e){return this.$refs.input&&this.$refs.input.isSameNode(e.target)},bindDragListeners:function(){this.bindDocumentMouseMoveListener(),this.bindDocumentMouseUpListener()},unbindDragListeners:function(){this.unbindDocumentMouseMoveListener(),this.unbindDocumentMouseUpListener()},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.overlayVisible&&e.picker&&!e.picker.contains(t.target)&&!e.isInputClicked(t)&&(e.overlayVisible=!1)},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new o(this.$refs.container,(function(){e.overlayVisible&&(e.overlayVisible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!i.isTouchDevice()&&(e.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindDocumentMouseMoveListener:function(){this.documentMouseMoveListener||(this.documentMouseMoveListener=this.onDrag.bind(this),document.addEventListener("mousemove",this.documentMouseMoveListener))},unbindDocumentMouseMoveListener:function(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null)},bindDocumentMouseUpListener:function(){this.documentMouseUpListener||(this.documentMouseUpListener=this.onDragEnd.bind(this),document.addEventListener("mouseup",this.documentMouseUpListener))},unbindDocumentMouseUpListener:function(){this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)},pickerRef:function(e){this.picker=e},colorSelectorRef:function(e){this.colorSelector=e},colorHandleRef:function(e){this.colorHandle=e},hueViewRef:function(e){this.hueView=e},hueHandleRef:function(e){this.hueHandle=e},clearRefs:function(){this.picker=null,this.colorSelector=null,this.colorHandle=null,this.hueView=null,this.hueHandle=null},onOverlayClick:function(t){e.emit("overlay-click",{originalEvent:t,target:this.$el})}},components:{Portal:t}},v=["tabindex","disabled"];!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-colorpicker {\n display: inline-block;\n}\n.p-colorpicker-dragging {\n cursor: pointer;\n}\n.p-colorpicker-overlay {\n position: relative;\n}\n.p-colorpicker-panel {\n position: relative;\n width: 193px;\n height: 166px;\n}\n.p-colorpicker-overlay-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-colorpicker-preview {\n cursor: pointer;\n}\n.p-colorpicker-panel .p-colorpicker-content {\n position: relative;\n}\n.p-colorpicker-panel .p-colorpicker-color-selector {\n width: 150px;\n height: 150px;\n top: 8px;\n left: 8px;\n position: absolute;\n}\n.p-colorpicker-panel .p-colorpicker-color {\n width: 150px;\n height: 150px;\n}\n.p-colorpicker-panel .p-colorpicker-color-handle {\n position: absolute;\n top: 0px;\n left: 150px;\n border-radius: 100%;\n width: 10px;\n height: 10px;\n border-width: 1px;\n border-style: solid;\n margin: -5px 0 0 -5px;\n cursor: pointer;\n opacity: 0.85;\n}\n.p-colorpicker-panel .p-colorpicker-hue {\n width: 17px;\n height: 150px;\n top: 8px;\n left: 167px;\n position: absolute;\n opacity: 0.85;\n}\n.p-colorpicker-panel .p-colorpicker-hue-handle {\n position: absolute;\n top: 150px;\n left: 0px;\n width: 21px;\n margin-left: -2px;\n margin-top: -5px;\n height: 10px;\n border-width: 2px;\n border-style: solid;\n opacity: 0.85;\n cursor: pointer;\n}\n"),g.render=function(e,t,n,i,o,r){var s=l("Portal");return a(),u("div",c({ref:"container",class:e.cx("root")},e.ptm("root")),[e.inline?d("",!0):(a(),u("input",c({key:0,ref:"input",type:"text",class:e.cx("input"),readonly:"readonly",tabindex:e.tabindex,disabled:e.disabled,onClick:t[0]||(t[0]=function(){return r.onInputClick&&r.onInputClick.apply(r,arguments)}),onKeydown:t[1]||(t[1]=function(){return r.onInputKeydown&&r.onInputKeydown.apply(r,arguments)})},e.ptm("input")),null,16,v)),p(s,{appendTo:e.appendTo,disabled:e.inline},{default:h((function(){return[p(f,c({name:"p-connected-overlay",onEnter:r.onOverlayEnter,onLeave:r.onOverlayLeave,onAfterLeave:r.onOverlayAfterLeave},e.ptm("transition")),{default:h((function(){return[e.inline||o.overlayVisible?(a(),u("div",c({key:0,ref:r.pickerRef,class:[e.cx("panel"),e.panelClass],onClick:t[10]||(t[10]=function(){return r.onOverlayClick&&r.onOverlayClick.apply(r,arguments)})},e.ptm("panel")),[b("div",c({class:e.cx("panel")},e.ptm("content")),[b("div",c({ref:r.colorSelectorRef,class:e.cx("selector"),onMousedown:t[2]||(t[2]=function(e){return r.onColorMousedown(e)}),onTouchstart:t[3]||(t[3]=function(e){return r.onColorDragStart(e)}),onTouchmove:t[4]||(t[4]=function(e){return r.onDrag(e)}),onTouchend:t[5]||(t[5]=function(e){return r.onDragEnd()})},e.ptm("selector")),[b("div",c({class:e.cx("color")},e.ptm("color")),[b("div",c({ref:r.colorHandleRef,class:e.cx("colorHandle")},e.ptm("colorHandle")),null,16)],16)],16),b("div",c({ref:r.hueViewRef,class:e.cx("hue"),onMousedown:t[6]||(t[6]=function(e){return r.onHueMousedown(e)}),onTouchstart:t[7]||(t[7]=function(e){return r.onHueDragStart(e)}),onTouchmove:t[8]||(t[8]=function(e){return r.onDrag(e)}),onTouchend:t[9]||(t[9]=function(e){return r.onDragEnd()})},e.ptm("hue")),[b("div",c({ref:r.hueHandleRef,class:e.cx("hueHandle")},e.ptm("hueHandle")),null,16)],16)],16)],16)):d("",!0)]})),_:1},16,["onEnter","onLeave","onAfterLeave"])]})),_:1},8,["appendTo","disabled"])],16)};export{g as default};
1
+ import e from"primevue/overlayeventbus";import t from"primevue/portal";import{ZIndexUtils as n,DomHandler as i,ConnectedOverlayScrollHandler as o}from"primevue/utils";import r from"primevue/basecomponent";import s from"primevue/colorpicker/style";import{resolveComponent as l,openBlock as a,createElementBlock as u,mergeProps as c,createCommentVNode as h,createVNode as d,withCtx as p,Transition as f,createElementVNode as m}from"vue";var b={name:"ColorPicker",extends:{name:"BaseColorPicker",extends:r,props:{modelValue:{type:null,default:null},defaultColor:{type:null,default:"ff0000"},inline:{type:Boolean,default:!1},format:{type:String,default:"hex"},disabled:{type:Boolean,default:!1},tabindex:{type:String,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:String,default:"body"},panelClass:null},style:s,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","change","show","hide"],data:function(){return{overlayVisible:!1}},hsbValue:null,outsideClickListener:null,documentMouseMoveListener:null,documentMouseUpListener:null,scrollHandler:null,resizeListener:null,hueDragging:null,colorDragging:null,selfUpdate:null,picker:null,colorSelector:null,colorHandle:null,hueView:null,hueHandle:null,watch:{modelValue:{immediate:!0,handler:function(e){this.hsbValue=this.toHSB(e),this.selfUpdate?this.selfUpdate=!1:this.updateUI()}}},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindDragListeners(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.picker&&this.autoZIndex&&n.clear(this.picker),this.clearRefs()},mounted:function(){this.updateUI()},methods:{pickColor:function(e){var t=this.colorSelector.getBoundingClientRect(),n=t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),i=t.left+document.body.scrollLeft,o=Math.floor(100*Math.max(0,Math.min(150,(e.pageX||e.changedTouches[0].pageX)-i))/150),r=Math.floor(100*(150-Math.max(0,Math.min(150,(e.pageY||e.changedTouches[0].pageY)-n)))/150);this.hsbValue=this.validateHSB({h:this.hsbValue.h,s:o,b:r}),this.selfUpdate=!0,this.updateColorHandle(),this.updateInput(),this.updateModel(),this.$emit("change",{event:e,value:this.modelValue})},pickHue:function(e){var t=this.hueView.getBoundingClientRect().top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0);this.hsbValue=this.validateHSB({h:Math.floor(360*(150-Math.max(0,Math.min(150,(e.pageY||e.changedTouches[0].pageY)-t)))/150),s:100,b:100}),this.selfUpdate=!0,this.updateColorSelector(),this.updateHue(),this.updateModel(),this.updateInput(),this.$emit("change",{event:e,value:this.modelValue})},updateModel:function(){switch(this.format){case"hex":this.$emit("update:modelValue",this.HSBtoHEX(this.hsbValue));break;case"rgb":this.$emit("update:modelValue",this.HSBtoRGB(this.hsbValue));break;case"hsb":this.$emit("update:modelValue",this.hsbValue)}},updateColorSelector:function(){if(this.colorSelector){var e=this.validateHSB({h:this.hsbValue.h,s:100,b:100});this.colorSelector.style.backgroundColor="#"+this.HSBtoHEX(e)}},updateColorHandle:function(){this.colorHandle&&(this.colorHandle.style.left=Math.floor(150*this.hsbValue.s/100)+"px",this.colorHandle.style.top=Math.floor(150*(100-this.hsbValue.b)/100)+"px")},updateHue:function(){this.hueHandle&&(this.hueHandle.style.top=Math.floor(150-150*this.hsbValue.h/360)+"px")},updateInput:function(){this.$refs.input&&(this.$refs.input.style.backgroundColor="#"+this.HSBtoHEX(this.hsbValue))},updateUI:function(){this.updateHue(),this.updateColorHandle(),this.updateInput(),this.updateColorSelector()},validateHSB:function(e){return{h:Math.min(360,Math.max(0,e.h)),s:Math.min(100,Math.max(0,e.s)),b:Math.min(100,Math.max(0,e.b))}},validateRGB:function(e){return{r:Math.min(255,Math.max(0,e.r)),g:Math.min(255,Math.max(0,e.g)),b:Math.min(255,Math.max(0,e.b))}},validateHEX:function(e){var t=6-e.length;if(t>0){for(var n=[],i=0;i<t;i++)n.push("0");n.push(e),e=n.join("")}return e},HEXtoRGB:function(e){var t=parseInt(e.indexOf("#")>-1?e.substring(1):e,16);return{r:t>>16,g:(65280&t)>>8,b:255&t}},HEXtoHSB:function(e){return this.RGBtoHSB(this.HEXtoRGB(e))},RGBtoHSB:function(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),i=Math.max(e.r,e.g,e.b),o=i-n;return t.b=i,t.s=0!==i?255*o/i:0,t.h=0!==t.s?e.r===i?(e.g-e.b)/o:e.g===i?2+(e.b-e.r)/o:4+(e.r-e.g)/o:-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t},HSBtoRGB:function(e){var t={r:null,g:null,b:null},n=Math.round(e.h),i=Math.round(255*e.s/100),o=Math.round(255*e.b/100);if(0===i)t={r:o,g:o,b:o};else{var r=o,s=(255-i)*o/255,l=n%60*(r-s)/60;360===n&&(n=0),n<60?(t.r=r,t.b=s,t.g=s+l):n<120?(t.g=r,t.b=s,t.r=r-l):n<180?(t.g=r,t.r=s,t.b=s+l):n<240?(t.b=r,t.r=s,t.g=r-l):n<300?(t.b=r,t.g=s,t.r=s+l):n<360?(t.r=r,t.g=s,t.b=r-l):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}},RGBtoHEX:function(e){var t=[e.r.toString(16),e.g.toString(16),e.b.toString(16)];for(var n in t)1===t[n].length&&(t[n]="0"+t[n]);return t.join("")},HSBtoHEX:function(e){return this.RGBtoHEX(this.HSBtoRGB(e))},toHSB:function(e){var t;if(e)switch(this.format){case"hex":t=this.HEXtoHSB(e);break;case"rgb":t=this.RGBtoHSB(e);break;case"hsb":t=e}else t=this.HEXtoHSB(this.defaultColor);return t},onOverlayEnter:function(e){this.updateUI(),this.alignOverlay(),this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.autoZIndex&&n.set("overlay",e,this.baseZIndex,this.$primevue.config.zIndex.overlay),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.clearRefs(),this.$emit("hide")},onOverlayAfterLeave:function(e){this.autoZIndex&&n.clear(e)},alignOverlay:function(){"self"===this.appendTo?i.relativePosition(this.picker,this.$refs.input):i.absolutePosition(this.picker,this.$refs.input)},onInputClick:function(){this.disabled||(this.overlayVisible=!this.overlayVisible)},onInputKeydown:function(e){switch(e.code){case"Space":this.overlayVisible=!this.overlayVisible,e.preventDefault();break;case"Escape":case"Tab":this.overlayVisible=!1}},onColorMousedown:function(e){this.disabled||(this.bindDragListeners(),this.onColorDragStart(e))},onColorDragStart:function(e){this.disabled||(this.colorDragging=!0,this.pickColor(e),this.$el.setAttribute("p-colorpicker-dragging","true"),!this.isUnstyled&&i.addClass(this.$el,"p-colorpicker-dragging"),e.preventDefault())},onDrag:function(e){this.colorDragging&&(this.pickColor(e),e.preventDefault()),this.hueDragging&&(this.pickHue(e),e.preventDefault())},onDragEnd:function(){this.colorDragging=!1,this.hueDragging=!1,this.$el.setAttribute("p-colorpicker-dragging","false"),!this.isUnstyled&&i.removeClass(this.$el,"p-colorpicker-dragging"),this.unbindDragListeners()},onHueMousedown:function(e){this.disabled||(this.bindDragListeners(),this.onHueDragStart(e))},onHueDragStart:function(e){this.disabled||(this.hueDragging=!0,this.pickHue(e),!this.isUnstyled&&i.addClass(this.$el,"p-colorpicker-dragging"))},isInputClicked:function(e){return this.$refs.input&&this.$refs.input.isSameNode(e.target)},bindDragListeners:function(){this.bindDocumentMouseMoveListener(),this.bindDocumentMouseUpListener()},unbindDragListeners:function(){this.unbindDocumentMouseMoveListener(),this.unbindDocumentMouseUpListener()},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.overlayVisible&&e.picker&&!e.picker.contains(t.target)&&!e.isInputClicked(t)&&(e.overlayVisible=!1)},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new o(this.$refs.container,(function(){e.overlayVisible&&(e.overlayVisible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!i.isTouchDevice()&&(e.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindDocumentMouseMoveListener:function(){this.documentMouseMoveListener||(this.documentMouseMoveListener=this.onDrag.bind(this),document.addEventListener("mousemove",this.documentMouseMoveListener))},unbindDocumentMouseMoveListener:function(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null)},bindDocumentMouseUpListener:function(){this.documentMouseUpListener||(this.documentMouseUpListener=this.onDragEnd.bind(this),document.addEventListener("mouseup",this.documentMouseUpListener))},unbindDocumentMouseUpListener:function(){this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)},pickerRef:function(e){this.picker=e},colorSelectorRef:function(e){this.colorSelector=e},colorHandleRef:function(e){this.colorHandle=e},hueViewRef:function(e){this.hueView=e},hueHandleRef:function(e){this.hueHandle=e},clearRefs:function(){this.picker=null,this.colorSelector=null,this.colorHandle=null,this.hueView=null,this.hueHandle=null},onOverlayClick:function(t){e.emit("overlay-click",{originalEvent:t,target:this.$el})}},components:{Portal:t}},g=["tabindex","disabled"];!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-colorpicker {\n display: inline-block;\n}\n.p-colorpicker-dragging {\n cursor: pointer;\n}\n.p-colorpicker-overlay {\n position: relative;\n}\n.p-colorpicker-panel {\n position: relative;\n width: 193px;\n height: 166px;\n}\n.p-colorpicker-overlay-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-colorpicker-preview {\n cursor: pointer;\n}\n.p-colorpicker-panel .p-colorpicker-content {\n position: relative;\n}\n.p-colorpicker-panel .p-colorpicker-color-selector {\n width: 150px;\n height: 150px;\n top: 8px;\n left: 8px;\n position: absolute;\n}\n.p-colorpicker-panel .p-colorpicker-color {\n width: 150px;\n height: 150px;\n}\n.p-colorpicker-panel .p-colorpicker-color-handle {\n position: absolute;\n top: 0px;\n left: 150px;\n border-radius: 100%;\n width: 10px;\n height: 10px;\n border-width: 1px;\n border-style: solid;\n margin: -5px 0 0 -5px;\n cursor: pointer;\n opacity: 0.85;\n}\n.p-colorpicker-panel .p-colorpicker-hue {\n width: 17px;\n height: 150px;\n top: 8px;\n left: 167px;\n position: absolute;\n opacity: 0.85;\n}\n.p-colorpicker-panel .p-colorpicker-hue-handle {\n position: absolute;\n top: 150px;\n left: 0px;\n width: 21px;\n margin-left: -2px;\n margin-top: -5px;\n height: 10px;\n border-width: 2px;\n border-style: solid;\n opacity: 0.85;\n cursor: pointer;\n}\n"),b.render=function(e,t,n,i,o,r){var s=l("Portal");return a(),u("div",c({ref:"container",class:e.cx("root")},e.ptm("root")),[e.inline?h("",!0):(a(),u("input",c({key:0,ref:"input",type:"text",class:e.cx("input"),readonly:"readonly",tabindex:e.tabindex,disabled:e.disabled,onClick:t[0]||(t[0]=function(){return r.onInputClick&&r.onInputClick.apply(r,arguments)}),onKeydown:t[1]||(t[1]=function(){return r.onInputKeydown&&r.onInputKeydown.apply(r,arguments)})},e.ptm("input")),null,16,g)),d(s,{appendTo:e.appendTo,disabled:e.inline},{default:p((function(){return[d(f,c({name:"p-connected-overlay",onEnter:r.onOverlayEnter,onLeave:r.onOverlayLeave,onAfterLeave:r.onOverlayAfterLeave},e.ptm("transition")),{default:p((function(){return[e.inline||o.overlayVisible?(a(),u("div",c({key:0,ref:r.pickerRef,class:[e.cx("panel"),e.panelClass],onClick:t[10]||(t[10]=function(){return r.onOverlayClick&&r.onOverlayClick.apply(r,arguments)})},e.ptm("panel")),[m("div",c({class:e.cx("panel")},e.ptm("content")),[m("div",c({ref:r.colorSelectorRef,class:e.cx("selector"),onMousedown:t[2]||(t[2]=function(e){return r.onColorMousedown(e)}),onTouchstart:t[3]||(t[3]=function(e){return r.onColorDragStart(e)}),onTouchmove:t[4]||(t[4]=function(e){return r.onDrag(e)}),onTouchend:t[5]||(t[5]=function(e){return r.onDragEnd()})},e.ptm("selector")),[m("div",c({class:e.cx("color")},e.ptm("color")),[m("div",c({ref:r.colorHandleRef,class:e.cx("colorHandle")},e.ptm("colorHandle")),null,16)],16)],16),m("div",c({ref:r.hueViewRef,class:e.cx("hue"),onMousedown:t[6]||(t[6]=function(e){return r.onHueMousedown(e)}),onTouchstart:t[7]||(t[7]=function(e){return r.onHueDragStart(e)}),onTouchmove:t[8]||(t[8]=function(e){return r.onDrag(e)}),onTouchend:t[9]||(t[9]=function(e){return r.onDragEnd()})},e.ptm("hue")),[m("div",c({ref:r.hueHandleRef,class:e.cx("hueHandle")},e.ptm("hueHandle")),null,16)],16)],16)],16)):h("",!0)]})),_:1},16,["onEnter","onLeave","onAfterLeave"])]})),_:1},8,["appendTo","disabled"])],16)};export{b as default};
@@ -1,5 +1,5 @@
1
1
  this.primevue = this.primevue || {};
2
- this.primevue.colorpicker = (function (OverlayEventBus, Portal, utils, BaseComponent, usestyle, vue) {
2
+ this.primevue.colorpicker = (function (OverlayEventBus, Portal, utils, BaseComponent, ColorPickerStyle, vue) {
3
3
  'use strict';
4
4
 
5
5
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -7,43 +7,8 @@ this.primevue.colorpicker = (function (OverlayEventBus, Portal, utils, BaseCompo
7
7
  var OverlayEventBus__default = /*#__PURE__*/_interopDefaultLegacy(OverlayEventBus);
8
8
  var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
9
9
  var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
10
+ var ColorPickerStyle__default = /*#__PURE__*/_interopDefaultLegacy(ColorPickerStyle);
10
11
 
11
- var styles = "\n.p-colorpicker-panel .p-colorpicker-color {\n background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)\n}\n\n.p-colorpicker-panel .p-colorpicker-hue {\n background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)\n}\n";
12
- var classes = {
13
- root: function root(_ref) {
14
- var props = _ref.props;
15
- return ['p-colorpicker p-component', {
16
- 'p-colorpicker-overlay': !props.inline
17
- }];
18
- },
19
- input: function input(_ref2) {
20
- var props = _ref2.props;
21
- return ['p-colorpicker-preview p-inputtext', {
22
- 'p-disabled': props.disabled
23
- }];
24
- },
25
- panel: function panel(_ref3) {
26
- var instance = _ref3.instance,
27
- props = _ref3.props;
28
- return ['p-colorpicker-panel', {
29
- 'p-colorpicker-overlay-panel': !props.inline,
30
- 'p-disabled': props.disabled,
31
- 'p-input-filled': instance.$primevue.config.inputStyle === 'filled',
32
- 'p-ripple-disabled': instance.$primevue.config.ripple === false
33
- }];
34
- },
35
- content: 'p-colorpicker-content',
36
- selector: 'p-colorpicker-color-selector',
37
- color: 'p-colorpicker-color',
38
- colorHandle: 'p-colorpicker-color-handle',
39
- hue: 'p-colorpicker-hue',
40
- hueHandle: 'p-colorpicker-hue-handle'
41
- };
42
- var _useStyle = usestyle.useStyle(styles, {
43
- name: 'colorpicker',
44
- manual: true
45
- }),
46
- loadStyle = _useStyle.load;
47
12
  var script$1 = {
48
13
  name: 'BaseColorPicker',
49
14
  "extends": BaseComponent__default["default"],
@@ -86,10 +51,7 @@ this.primevue.colorpicker = (function (OverlayEventBus, Portal, utils, BaseCompo
86
51
  },
87
52
  panelClass: null
88
53
  },
89
- css: {
90
- classes: classes,
91
- loadStyle: loadStyle
92
- },
54
+ style: ColorPickerStyle__default["default"],
93
55
  provide: function provide() {
94
56
  return {
95
57
  $parentInstance: this
@@ -716,4 +678,4 @@ this.primevue.colorpicker = (function (OverlayEventBus, Portal, utils, BaseCompo
716
678
 
717
679
  return script;
718
680
 
719
- })(primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.basecomponent, primevue.usestyle, Vue);
681
+ })(primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.basecomponent, primevue.colorpicker.style, Vue);
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.colorpicker=function(e,t,n,i,o,r){"use strict";function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(e),a=l(t),u=l(i),c=o.useStyle("\n.p-colorpicker-panel .p-colorpicker-color {\n background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)\n}\n\n.p-colorpicker-panel .p-colorpicker-hue {\n background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)\n}\n",{name:"colorpicker",manual:!0}),d={name:"ColorPicker",extends:{name:"BaseColorPicker",extends:u.default,props:{modelValue:{type:null,default:null},defaultColor:{type:null,default:"ff0000"},inline:{type:Boolean,default:!1},format:{type:String,default:"hex"},disabled:{type:Boolean,default:!1},tabindex:{type:String,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:String,default:"body"},panelClass:null},css:{classes:{root:function(e){return["p-colorpicker p-component",{"p-colorpicker-overlay":!e.props.inline}]},input:function(e){return["p-colorpicker-preview p-inputtext",{"p-disabled":e.props.disabled}]},panel:function(e){var t=e.instance,n=e.props;return["p-colorpicker-panel",{"p-colorpicker-overlay-panel":!n.inline,"p-disabled":n.disabled,"p-input-filled":"filled"===t.$primevue.config.inputStyle,"p-ripple-disabled":!1===t.$primevue.config.ripple}]},content:"p-colorpicker-content",selector:"p-colorpicker-color-selector",color:"p-colorpicker-color",colorHandle:"p-colorpicker-color-handle",hue:"p-colorpicker-hue",hueHandle:"p-colorpicker-hue-handle"},loadStyle:c.load},provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","change","show","hide"],data:function(){return{overlayVisible:!1}},hsbValue:null,outsideClickListener:null,documentMouseMoveListener:null,documentMouseUpListener:null,scrollHandler:null,resizeListener:null,hueDragging:null,colorDragging:null,selfUpdate:null,picker:null,colorSelector:null,colorHandle:null,hueView:null,hueHandle:null,watch:{modelValue:{immediate:!0,handler:function(e){this.hsbValue=this.toHSB(e),this.selfUpdate?this.selfUpdate=!1:this.updateUI()}}},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindDragListeners(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.picker&&this.autoZIndex&&n.ZIndexUtils.clear(this.picker),this.clearRefs()},mounted:function(){this.updateUI()},methods:{pickColor:function(e){var t=this.colorSelector.getBoundingClientRect(),n=t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),i=t.left+document.body.scrollLeft,o=Math.floor(100*Math.max(0,Math.min(150,(e.pageX||e.changedTouches[0].pageX)-i))/150),r=Math.floor(100*(150-Math.max(0,Math.min(150,(e.pageY||e.changedTouches[0].pageY)-n)))/150);this.hsbValue=this.validateHSB({h:this.hsbValue.h,s:o,b:r}),this.selfUpdate=!0,this.updateColorHandle(),this.updateInput(),this.updateModel(),this.$emit("change",{event:e,value:this.modelValue})},pickHue:function(e){var t=this.hueView.getBoundingClientRect().top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0);this.hsbValue=this.validateHSB({h:Math.floor(360*(150-Math.max(0,Math.min(150,(e.pageY||e.changedTouches[0].pageY)-t)))/150),s:100,b:100}),this.selfUpdate=!0,this.updateColorSelector(),this.updateHue(),this.updateModel(),this.updateInput(),this.$emit("change",{event:e,value:this.modelValue})},updateModel:function(){switch(this.format){case"hex":this.$emit("update:modelValue",this.HSBtoHEX(this.hsbValue));break;case"rgb":this.$emit("update:modelValue",this.HSBtoRGB(this.hsbValue));break;case"hsb":this.$emit("update:modelValue",this.hsbValue)}},updateColorSelector:function(){if(this.colorSelector){var e=this.validateHSB({h:this.hsbValue.h,s:100,b:100});this.colorSelector.style.backgroundColor="#"+this.HSBtoHEX(e)}},updateColorHandle:function(){this.colorHandle&&(this.colorHandle.style.left=Math.floor(150*this.hsbValue.s/100)+"px",this.colorHandle.style.top=Math.floor(150*(100-this.hsbValue.b)/100)+"px")},updateHue:function(){this.hueHandle&&(this.hueHandle.style.top=Math.floor(150-150*this.hsbValue.h/360)+"px")},updateInput:function(){this.$refs.input&&(this.$refs.input.style.backgroundColor="#"+this.HSBtoHEX(this.hsbValue))},updateUI:function(){this.updateHue(),this.updateColorHandle(),this.updateInput(),this.updateColorSelector()},validateHSB:function(e){return{h:Math.min(360,Math.max(0,e.h)),s:Math.min(100,Math.max(0,e.s)),b:Math.min(100,Math.max(0,e.b))}},validateRGB:function(e){return{r:Math.min(255,Math.max(0,e.r)),g:Math.min(255,Math.max(0,e.g)),b:Math.min(255,Math.max(0,e.b))}},validateHEX:function(e){var t=6-e.length;if(t>0){for(var n=[],i=0;i<t;i++)n.push("0");n.push(e),e=n.join("")}return e},HEXtoRGB:function(e){var t=parseInt(e.indexOf("#")>-1?e.substring(1):e,16);return{r:t>>16,g:(65280&t)>>8,b:255&t}},HEXtoHSB:function(e){return this.RGBtoHSB(this.HEXtoRGB(e))},RGBtoHSB:function(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),i=Math.max(e.r,e.g,e.b),o=i-n;return t.b=i,t.s=0!==i?255*o/i:0,t.h=0!==t.s?e.r===i?(e.g-e.b)/o:e.g===i?2+(e.b-e.r)/o:4+(e.r-e.g)/o:-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t},HSBtoRGB:function(e){var t={r:null,g:null,b:null},n=Math.round(e.h),i=Math.round(255*e.s/100),o=Math.round(255*e.b/100);if(0===i)t={r:o,g:o,b:o};else{var r=o,l=(255-i)*o/255,s=n%60*(r-l)/60;360===n&&(n=0),n<60?(t.r=r,t.b=l,t.g=l+s):n<120?(t.g=r,t.b=l,t.r=r-s):n<180?(t.g=r,t.r=l,t.b=l+s):n<240?(t.b=r,t.r=l,t.g=r-s):n<300?(t.b=r,t.g=l,t.r=l+s):n<360?(t.r=r,t.g=l,t.b=r-s):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}},RGBtoHEX:function(e){var t=[e.r.toString(16),e.g.toString(16),e.b.toString(16)];for(var n in t)1===t[n].length&&(t[n]="0"+t[n]);return t.join("")},HSBtoHEX:function(e){return this.RGBtoHEX(this.HSBtoRGB(e))},toHSB:function(e){var t;if(e)switch(this.format){case"hex":t=this.HEXtoHSB(e);break;case"rgb":t=this.RGBtoHSB(e);break;case"hsb":t=e}else t=this.HEXtoHSB(this.defaultColor);return t},onOverlayEnter:function(e){this.updateUI(),this.alignOverlay(),this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.autoZIndex&&n.ZIndexUtils.set("overlay",e,this.baseZIndex,this.$primevue.config.zIndex.overlay),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.clearRefs(),this.$emit("hide")},onOverlayAfterLeave:function(e){this.autoZIndex&&n.ZIndexUtils.clear(e)},alignOverlay:function(){"self"===this.appendTo?n.DomHandler.relativePosition(this.picker,this.$refs.input):n.DomHandler.absolutePosition(this.picker,this.$refs.input)},onInputClick:function(){this.disabled||(this.overlayVisible=!this.overlayVisible)},onInputKeydown:function(e){switch(e.code){case"Space":this.overlayVisible=!this.overlayVisible,e.preventDefault();break;case"Escape":case"Tab":this.overlayVisible=!1}},onColorMousedown:function(e){this.disabled||(this.bindDragListeners(),this.onColorDragStart(e))},onColorDragStart:function(e){this.disabled||(this.colorDragging=!0,this.pickColor(e),this.$el.setAttribute("p-colorpicker-dragging","true"),!this.isUnstyled&&n.DomHandler.addClass(this.$el,"p-colorpicker-dragging"),e.preventDefault())},onDrag:function(e){this.colorDragging&&(this.pickColor(e),e.preventDefault()),this.hueDragging&&(this.pickHue(e),e.preventDefault())},onDragEnd:function(){this.colorDragging=!1,this.hueDragging=!1,this.$el.setAttribute("p-colorpicker-dragging","false"),!this.isUnstyled&&n.DomHandler.removeClass(this.$el,"p-colorpicker-dragging"),this.unbindDragListeners()},onHueMousedown:function(e){this.disabled||(this.bindDragListeners(),this.onHueDragStart(e))},onHueDragStart:function(e){this.disabled||(this.hueDragging=!0,this.pickHue(e),!this.isUnstyled&&n.DomHandler.addClass(this.$el,"p-colorpicker-dragging"))},isInputClicked:function(e){return this.$refs.input&&this.$refs.input.isSameNode(e.target)},bindDragListeners:function(){this.bindDocumentMouseMoveListener(),this.bindDocumentMouseUpListener()},unbindDragListeners:function(){this.unbindDocumentMouseMoveListener(),this.unbindDocumentMouseUpListener()},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.overlayVisible&&e.picker&&!e.picker.contains(t.target)&&!e.isInputClicked(t)&&(e.overlayVisible=!1)},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new n.ConnectedOverlayScrollHandler(this.$refs.container,(function(){e.overlayVisible&&(e.overlayVisible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!n.DomHandler.isTouchDevice()&&(e.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindDocumentMouseMoveListener:function(){this.documentMouseMoveListener||(this.documentMouseMoveListener=this.onDrag.bind(this),document.addEventListener("mousemove",this.documentMouseMoveListener))},unbindDocumentMouseMoveListener:function(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null)},bindDocumentMouseUpListener:function(){this.documentMouseUpListener||(this.documentMouseUpListener=this.onDragEnd.bind(this),document.addEventListener("mouseup",this.documentMouseUpListener))},unbindDocumentMouseUpListener:function(){this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)},pickerRef:function(e){this.picker=e},colorSelectorRef:function(e){this.colorSelector=e},colorHandleRef:function(e){this.colorHandle=e},hueViewRef:function(e){this.hueView=e},hueHandleRef:function(e){this.hueHandle=e},clearRefs:function(){this.picker=null,this.colorSelector=null,this.colorHandle=null,this.hueView=null,this.hueHandle=null},onOverlayClick:function(e){s.default.emit("overlay-click",{originalEvent:e,target:this.$el})}},components:{Portal:a.default}},p=["tabindex","disabled"];return function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-colorpicker {\n display: inline-block;\n}\n.p-colorpicker-dragging {\n cursor: pointer;\n}\n.p-colorpicker-overlay {\n position: relative;\n}\n.p-colorpicker-panel {\n position: relative;\n width: 193px;\n height: 166px;\n}\n.p-colorpicker-overlay-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-colorpicker-preview {\n cursor: pointer;\n}\n.p-colorpicker-panel .p-colorpicker-content {\n position: relative;\n}\n.p-colorpicker-panel .p-colorpicker-color-selector {\n width: 150px;\n height: 150px;\n top: 8px;\n left: 8px;\n position: absolute;\n}\n.p-colorpicker-panel .p-colorpicker-color {\n width: 150px;\n height: 150px;\n}\n.p-colorpicker-panel .p-colorpicker-color-handle {\n position: absolute;\n top: 0px;\n left: 150px;\n border-radius: 100%;\n width: 10px;\n height: 10px;\n border-width: 1px;\n border-style: solid;\n margin: -5px 0 0 -5px;\n cursor: pointer;\n opacity: 0.85;\n}\n.p-colorpicker-panel .p-colorpicker-hue {\n width: 17px;\n height: 150px;\n top: 8px;\n left: 167px;\n position: absolute;\n opacity: 0.85;\n}\n.p-colorpicker-panel .p-colorpicker-hue-handle {\n position: absolute;\n top: 150px;\n left: 0px;\n width: 21px;\n margin-left: -2px;\n margin-top: -5px;\n height: 10px;\n border-width: 2px;\n border-style: solid;\n opacity: 0.85;\n cursor: pointer;\n}\n"),d.render=function(e,t,n,i,o,l){var s=r.resolveComponent("Portal");return r.openBlock(),r.createElementBlock("div",r.mergeProps({ref:"container",class:e.cx("root")},e.ptm("root")),[e.inline?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("input",r.mergeProps({key:0,ref:"input",type:"text",class:e.cx("input"),readonly:"readonly",tabindex:e.tabindex,disabled:e.disabled,onClick:t[0]||(t[0]=function(){return l.onInputClick&&l.onInputClick.apply(l,arguments)}),onKeydown:t[1]||(t[1]=function(){return l.onInputKeydown&&l.onInputKeydown.apply(l,arguments)})},e.ptm("input")),null,16,p)),r.createVNode(s,{appendTo:e.appendTo,disabled:e.inline},{default:r.withCtx((function(){return[r.createVNode(r.Transition,r.mergeProps({name:"p-connected-overlay",onEnter:l.onOverlayEnter,onLeave:l.onOverlayLeave,onAfterLeave:l.onOverlayAfterLeave},e.ptm("transition")),{default:r.withCtx((function(){return[e.inline||o.overlayVisible?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,ref:l.pickerRef,class:[e.cx("panel"),e.panelClass],onClick:t[10]||(t[10]=function(){return l.onOverlayClick&&l.onOverlayClick.apply(l,arguments)})},e.ptm("panel")),[r.createElementVNode("div",r.mergeProps({class:e.cx("panel")},e.ptm("content")),[r.createElementVNode("div",r.mergeProps({ref:l.colorSelectorRef,class:e.cx("selector"),onMousedown:t[2]||(t[2]=function(e){return l.onColorMousedown(e)}),onTouchstart:t[3]||(t[3]=function(e){return l.onColorDragStart(e)}),onTouchmove:t[4]||(t[4]=function(e){return l.onDrag(e)}),onTouchend:t[5]||(t[5]=function(e){return l.onDragEnd()})},e.ptm("selector")),[r.createElementVNode("div",r.mergeProps({class:e.cx("color")},e.ptm("color")),[r.createElementVNode("div",r.mergeProps({ref:l.colorHandleRef,class:e.cx("colorHandle")},e.ptm("colorHandle")),null,16)],16)],16),r.createElementVNode("div",r.mergeProps({ref:l.hueViewRef,class:e.cx("hue"),onMousedown:t[6]||(t[6]=function(e){return l.onHueMousedown(e)}),onTouchstart:t[7]||(t[7]=function(e){return l.onHueDragStart(e)}),onTouchmove:t[8]||(t[8]=function(e){return l.onDrag(e)}),onTouchend:t[9]||(t[9]=function(e){return l.onDragEnd()})},e.ptm("hue")),[r.createElementVNode("div",r.mergeProps({ref:l.hueHandleRef,class:e.cx("hueHandle")},e.ptm("hueHandle")),null,16)],16)],16)],16)):r.createCommentVNode("",!0)]})),_:1},16,["onEnter","onLeave","onAfterLeave"])]})),_:1},8,["appendTo","disabled"])],16)},d}(primevue.overlayeventbus,primevue.portal,primevue.utils,primevue.basecomponent,primevue.usestyle,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.colorpicker=function(e,t,n,i,o,r){"use strict";function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(e),a=s(t),u={name:"ColorPicker",extends:{name:"BaseColorPicker",extends:s(i).default,props:{modelValue:{type:null,default:null},defaultColor:{type:null,default:"ff0000"},inline:{type:Boolean,default:!1},format:{type:String,default:"hex"},disabled:{type:Boolean,default:!1},tabindex:{type:String,default:null},autoZIndex:{type:Boolean,default:!0},baseZIndex:{type:Number,default:0},appendTo:{type:String,default:"body"},panelClass:null},style:s(o).default,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","change","show","hide"],data:function(){return{overlayVisible:!1}},hsbValue:null,outsideClickListener:null,documentMouseMoveListener:null,documentMouseUpListener:null,scrollHandler:null,resizeListener:null,hueDragging:null,colorDragging:null,selfUpdate:null,picker:null,colorSelector:null,colorHandle:null,hueView:null,hueHandle:null,watch:{modelValue:{immediate:!0,handler:function(e){this.hsbValue=this.toHSB(e),this.selfUpdate?this.selfUpdate=!1:this.updateUI()}}},beforeUnmount:function(){this.unbindOutsideClickListener(),this.unbindDragListeners(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.picker&&this.autoZIndex&&n.ZIndexUtils.clear(this.picker),this.clearRefs()},mounted:function(){this.updateUI()},methods:{pickColor:function(e){var t=this.colorSelector.getBoundingClientRect(),n=t.top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0),i=t.left+document.body.scrollLeft,o=Math.floor(100*Math.max(0,Math.min(150,(e.pageX||e.changedTouches[0].pageX)-i))/150),r=Math.floor(100*(150-Math.max(0,Math.min(150,(e.pageY||e.changedTouches[0].pageY)-n)))/150);this.hsbValue=this.validateHSB({h:this.hsbValue.h,s:o,b:r}),this.selfUpdate=!0,this.updateColorHandle(),this.updateInput(),this.updateModel(),this.$emit("change",{event:e,value:this.modelValue})},pickHue:function(e){var t=this.hueView.getBoundingClientRect().top+(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0);this.hsbValue=this.validateHSB({h:Math.floor(360*(150-Math.max(0,Math.min(150,(e.pageY||e.changedTouches[0].pageY)-t)))/150),s:100,b:100}),this.selfUpdate=!0,this.updateColorSelector(),this.updateHue(),this.updateModel(),this.updateInput(),this.$emit("change",{event:e,value:this.modelValue})},updateModel:function(){switch(this.format){case"hex":this.$emit("update:modelValue",this.HSBtoHEX(this.hsbValue));break;case"rgb":this.$emit("update:modelValue",this.HSBtoRGB(this.hsbValue));break;case"hsb":this.$emit("update:modelValue",this.hsbValue)}},updateColorSelector:function(){if(this.colorSelector){var e=this.validateHSB({h:this.hsbValue.h,s:100,b:100});this.colorSelector.style.backgroundColor="#"+this.HSBtoHEX(e)}},updateColorHandle:function(){this.colorHandle&&(this.colorHandle.style.left=Math.floor(150*this.hsbValue.s/100)+"px",this.colorHandle.style.top=Math.floor(150*(100-this.hsbValue.b)/100)+"px")},updateHue:function(){this.hueHandle&&(this.hueHandle.style.top=Math.floor(150-150*this.hsbValue.h/360)+"px")},updateInput:function(){this.$refs.input&&(this.$refs.input.style.backgroundColor="#"+this.HSBtoHEX(this.hsbValue))},updateUI:function(){this.updateHue(),this.updateColorHandle(),this.updateInput(),this.updateColorSelector()},validateHSB:function(e){return{h:Math.min(360,Math.max(0,e.h)),s:Math.min(100,Math.max(0,e.s)),b:Math.min(100,Math.max(0,e.b))}},validateRGB:function(e){return{r:Math.min(255,Math.max(0,e.r)),g:Math.min(255,Math.max(0,e.g)),b:Math.min(255,Math.max(0,e.b))}},validateHEX:function(e){var t=6-e.length;if(t>0){for(var n=[],i=0;i<t;i++)n.push("0");n.push(e),e=n.join("")}return e},HEXtoRGB:function(e){var t=parseInt(e.indexOf("#")>-1?e.substring(1):e,16);return{r:t>>16,g:(65280&t)>>8,b:255&t}},HEXtoHSB:function(e){return this.RGBtoHSB(this.HEXtoRGB(e))},RGBtoHSB:function(e){var t={h:0,s:0,b:0},n=Math.min(e.r,e.g,e.b),i=Math.max(e.r,e.g,e.b),o=i-n;return t.b=i,t.s=0!==i?255*o/i:0,t.h=0!==t.s?e.r===i?(e.g-e.b)/o:e.g===i?2+(e.b-e.r)/o:4+(e.r-e.g)/o:-1,t.h*=60,t.h<0&&(t.h+=360),t.s*=100/255,t.b*=100/255,t},HSBtoRGB:function(e){var t={r:null,g:null,b:null},n=Math.round(e.h),i=Math.round(255*e.s/100),o=Math.round(255*e.b/100);if(0===i)t={r:o,g:o,b:o};else{var r=o,s=(255-i)*o/255,l=n%60*(r-s)/60;360===n&&(n=0),n<60?(t.r=r,t.b=s,t.g=s+l):n<120?(t.g=r,t.b=s,t.r=r-l):n<180?(t.g=r,t.r=s,t.b=s+l):n<240?(t.b=r,t.r=s,t.g=r-l):n<300?(t.b=r,t.g=s,t.r=s+l):n<360?(t.r=r,t.g=s,t.b=r-l):(t.r=0,t.g=0,t.b=0)}return{r:Math.round(t.r),g:Math.round(t.g),b:Math.round(t.b)}},RGBtoHEX:function(e){var t=[e.r.toString(16),e.g.toString(16),e.b.toString(16)];for(var n in t)1===t[n].length&&(t[n]="0"+t[n]);return t.join("")},HSBtoHEX:function(e){return this.RGBtoHEX(this.HSBtoRGB(e))},toHSB:function(e){var t;if(e)switch(this.format){case"hex":t=this.HEXtoHSB(e);break;case"rgb":t=this.RGBtoHSB(e);break;case"hsb":t=e}else t=this.HEXtoHSB(this.defaultColor);return t},onOverlayEnter:function(e){this.updateUI(),this.alignOverlay(),this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.autoZIndex&&n.ZIndexUtils.set("overlay",e,this.baseZIndex,this.$primevue.config.zIndex.overlay),this.$emit("show")},onOverlayLeave:function(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.clearRefs(),this.$emit("hide")},onOverlayAfterLeave:function(e){this.autoZIndex&&n.ZIndexUtils.clear(e)},alignOverlay:function(){"self"===this.appendTo?n.DomHandler.relativePosition(this.picker,this.$refs.input):n.DomHandler.absolutePosition(this.picker,this.$refs.input)},onInputClick:function(){this.disabled||(this.overlayVisible=!this.overlayVisible)},onInputKeydown:function(e){switch(e.code){case"Space":this.overlayVisible=!this.overlayVisible,e.preventDefault();break;case"Escape":case"Tab":this.overlayVisible=!1}},onColorMousedown:function(e){this.disabled||(this.bindDragListeners(),this.onColorDragStart(e))},onColorDragStart:function(e){this.disabled||(this.colorDragging=!0,this.pickColor(e),this.$el.setAttribute("p-colorpicker-dragging","true"),!this.isUnstyled&&n.DomHandler.addClass(this.$el,"p-colorpicker-dragging"),e.preventDefault())},onDrag:function(e){this.colorDragging&&(this.pickColor(e),e.preventDefault()),this.hueDragging&&(this.pickHue(e),e.preventDefault())},onDragEnd:function(){this.colorDragging=!1,this.hueDragging=!1,this.$el.setAttribute("p-colorpicker-dragging","false"),!this.isUnstyled&&n.DomHandler.removeClass(this.$el,"p-colorpicker-dragging"),this.unbindDragListeners()},onHueMousedown:function(e){this.disabled||(this.bindDragListeners(),this.onHueDragStart(e))},onHueDragStart:function(e){this.disabled||(this.hueDragging=!0,this.pickHue(e),!this.isUnstyled&&n.DomHandler.addClass(this.$el,"p-colorpicker-dragging"))},isInputClicked:function(e){return this.$refs.input&&this.$refs.input.isSameNode(e.target)},bindDragListeners:function(){this.bindDocumentMouseMoveListener(),this.bindDocumentMouseUpListener()},unbindDragListeners:function(){this.unbindDocumentMouseMoveListener(),this.unbindDocumentMouseUpListener()},bindOutsideClickListener:function(){var e=this;this.outsideClickListener||(this.outsideClickListener=function(t){e.overlayVisible&&e.picker&&!e.picker.contains(t.target)&&!e.isInputClicked(t)&&(e.overlayVisible=!1)},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener:function(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener:function(){var e=this;this.scrollHandler||(this.scrollHandler=new n.ConnectedOverlayScrollHandler(this.$refs.container,(function(){e.overlayVisible&&(e.overlayVisible=!1)}))),this.scrollHandler.bindScrollListener()},unbindScrollListener:function(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener:function(){var e=this;this.resizeListener||(this.resizeListener=function(){e.overlayVisible&&!n.DomHandler.isTouchDevice()&&(e.overlayVisible=!1)},window.addEventListener("resize",this.resizeListener))},unbindResizeListener:function(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},bindDocumentMouseMoveListener:function(){this.documentMouseMoveListener||(this.documentMouseMoveListener=this.onDrag.bind(this),document.addEventListener("mousemove",this.documentMouseMoveListener))},unbindDocumentMouseMoveListener:function(){this.documentMouseMoveListener&&(document.removeEventListener("mousemove",this.documentMouseMoveListener),this.documentMouseMoveListener=null)},bindDocumentMouseUpListener:function(){this.documentMouseUpListener||(this.documentMouseUpListener=this.onDragEnd.bind(this),document.addEventListener("mouseup",this.documentMouseUpListener))},unbindDocumentMouseUpListener:function(){this.documentMouseUpListener&&(document.removeEventListener("mouseup",this.documentMouseUpListener),this.documentMouseUpListener=null)},pickerRef:function(e){this.picker=e},colorSelectorRef:function(e){this.colorSelector=e},colorHandleRef:function(e){this.colorHandle=e},hueViewRef:function(e){this.hueView=e},hueHandleRef:function(e){this.hueHandle=e},clearRefs:function(){this.picker=null,this.colorSelector=null,this.colorHandle=null,this.hueView=null,this.hueHandle=null},onOverlayClick:function(e){l.default.emit("overlay-click",{originalEvent:e,target:this.$el})}},components:{Portal:a.default}},c=["tabindex","disabled"];return function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-colorpicker {\n display: inline-block;\n}\n.p-colorpicker-dragging {\n cursor: pointer;\n}\n.p-colorpicker-overlay {\n position: relative;\n}\n.p-colorpicker-panel {\n position: relative;\n width: 193px;\n height: 166px;\n}\n.p-colorpicker-overlay-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-colorpicker-preview {\n cursor: pointer;\n}\n.p-colorpicker-panel .p-colorpicker-content {\n position: relative;\n}\n.p-colorpicker-panel .p-colorpicker-color-selector {\n width: 150px;\n height: 150px;\n top: 8px;\n left: 8px;\n position: absolute;\n}\n.p-colorpicker-panel .p-colorpicker-color {\n width: 150px;\n height: 150px;\n}\n.p-colorpicker-panel .p-colorpicker-color-handle {\n position: absolute;\n top: 0px;\n left: 150px;\n border-radius: 100%;\n width: 10px;\n height: 10px;\n border-width: 1px;\n border-style: solid;\n margin: -5px 0 0 -5px;\n cursor: pointer;\n opacity: 0.85;\n}\n.p-colorpicker-panel .p-colorpicker-hue {\n width: 17px;\n height: 150px;\n top: 8px;\n left: 167px;\n position: absolute;\n opacity: 0.85;\n}\n.p-colorpicker-panel .p-colorpicker-hue-handle {\n position: absolute;\n top: 150px;\n left: 0px;\n width: 21px;\n margin-left: -2px;\n margin-top: -5px;\n height: 10px;\n border-width: 2px;\n border-style: solid;\n opacity: 0.85;\n cursor: pointer;\n}\n"),u.render=function(e,t,n,i,o,s){var l=r.resolveComponent("Portal");return r.openBlock(),r.createElementBlock("div",r.mergeProps({ref:"container",class:e.cx("root")},e.ptm("root")),[e.inline?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("input",r.mergeProps({key:0,ref:"input",type:"text",class:e.cx("input"),readonly:"readonly",tabindex:e.tabindex,disabled:e.disabled,onClick:t[0]||(t[0]=function(){return s.onInputClick&&s.onInputClick.apply(s,arguments)}),onKeydown:t[1]||(t[1]=function(){return s.onInputKeydown&&s.onInputKeydown.apply(s,arguments)})},e.ptm("input")),null,16,c)),r.createVNode(l,{appendTo:e.appendTo,disabled:e.inline},{default:r.withCtx((function(){return[r.createVNode(r.Transition,r.mergeProps({name:"p-connected-overlay",onEnter:s.onOverlayEnter,onLeave:s.onOverlayLeave,onAfterLeave:s.onOverlayAfterLeave},e.ptm("transition")),{default:r.withCtx((function(){return[e.inline||o.overlayVisible?(r.openBlock(),r.createElementBlock("div",r.mergeProps({key:0,ref:s.pickerRef,class:[e.cx("panel"),e.panelClass],onClick:t[10]||(t[10]=function(){return s.onOverlayClick&&s.onOverlayClick.apply(s,arguments)})},e.ptm("panel")),[r.createElementVNode("div",r.mergeProps({class:e.cx("panel")},e.ptm("content")),[r.createElementVNode("div",r.mergeProps({ref:s.colorSelectorRef,class:e.cx("selector"),onMousedown:t[2]||(t[2]=function(e){return s.onColorMousedown(e)}),onTouchstart:t[3]||(t[3]=function(e){return s.onColorDragStart(e)}),onTouchmove:t[4]||(t[4]=function(e){return s.onDrag(e)}),onTouchend:t[5]||(t[5]=function(e){return s.onDragEnd()})},e.ptm("selector")),[r.createElementVNode("div",r.mergeProps({class:e.cx("color")},e.ptm("color")),[r.createElementVNode("div",r.mergeProps({ref:s.colorHandleRef,class:e.cx("colorHandle")},e.ptm("colorHandle")),null,16)],16)],16),r.createElementVNode("div",r.mergeProps({ref:s.hueViewRef,class:e.cx("hue"),onMousedown:t[6]||(t[6]=function(e){return s.onHueMousedown(e)}),onTouchstart:t[7]||(t[7]=function(e){return s.onHueDragStart(e)}),onTouchmove:t[8]||(t[8]=function(e){return s.onDrag(e)}),onTouchend:t[9]||(t[9]=function(e){return s.onDragEnd()})},e.ptm("hue")),[r.createElementVNode("div",r.mergeProps({ref:s.hueHandleRef,class:e.cx("hueHandle")},e.ptm("hueHandle")),null,16)],16)],16)],16)):r.createCommentVNode("",!0)]})),_:1},16,["onEnter","onLeave","onAfterLeave"])]})),_:1},8,["appendTo","disabled"])],16)},u}(primevue.overlayeventbus,primevue.portal,primevue.utils,primevue.basecomponent,primevue.colorpicker.style,Vue);
@@ -1,9 +1,9 @@
1
1
  {
2
- "main": "./colorpicker.cjs.js",
3
- "module": "./colorpicker.esm.js",
4
- "unpkg": "./colorpicker.min.js",
5
- "types": "./ColorPicker.d.ts",
6
- "browser": {
7
- "./sfc": "./ColorPicker.vue"
8
- }
9
- }
2
+ "main": "./colorpicker.cjs.js",
3
+ "module": "./colorpicker.esm.js",
4
+ "unpkg": "./colorpicker.min.js",
5
+ "types": "./ColorPicker.d.ts",
6
+ "browser": {
7
+ "./sfc": "./ColorPicker.vue"
8
+ }
9
+ }
@@ -0,0 +1,3 @@
1
+ import { BaseStyle } from '../../base/style';
2
+
3
+ export interface ColorPickerStyle extends BaseStyle {}
@@ -0,0 +1,46 @@
1
+ 'use strict';
2
+
3
+ var BaseStyle = require('primevue/base/style');
4
+
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
+
7
+ var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
8
+
9
+ var css = "\n@layer primevue {\n .p-colorpicker-panel .p-colorpicker-color {\n background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)\n }\n\n .p-colorpicker-panel .p-colorpicker-hue {\n background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)\n }\n}\n";
10
+ var classes = {
11
+ root: function root(_ref) {
12
+ var props = _ref.props;
13
+ return ['p-colorpicker p-component', {
14
+ 'p-colorpicker-overlay': !props.inline
15
+ }];
16
+ },
17
+ input: function input(_ref2) {
18
+ var props = _ref2.props;
19
+ return ['p-colorpicker-preview p-inputtext', {
20
+ 'p-disabled': props.disabled
21
+ }];
22
+ },
23
+ panel: function panel(_ref3) {
24
+ var instance = _ref3.instance,
25
+ props = _ref3.props;
26
+ return ['p-colorpicker-panel', {
27
+ 'p-colorpicker-overlay-panel': !props.inline,
28
+ 'p-disabled': props.disabled,
29
+ 'p-input-filled': instance.$primevue.config.inputStyle === 'filled',
30
+ 'p-ripple-disabled': instance.$primevue.config.ripple === false
31
+ }];
32
+ },
33
+ content: 'p-colorpicker-content',
34
+ selector: 'p-colorpicker-color-selector',
35
+ color: 'p-colorpicker-color',
36
+ colorHandle: 'p-colorpicker-color-handle',
37
+ hue: 'p-colorpicker-hue',
38
+ hueHandle: 'p-colorpicker-hue-handle'
39
+ };
40
+ var ColorPickerStyle = BaseStyle__default["default"].extend({
41
+ name: 'colorpicker',
42
+ css: css,
43
+ classes: classes
44
+ });
45
+
46
+ module.exports = ColorPickerStyle;
@@ -0,0 +1 @@
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=e(require("primevue/base/style")).default.extend({name:"colorpicker",css:"\n@layer primevue {\n .p-colorpicker-panel .p-colorpicker-color {\n background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)\n }\n\n .p-colorpicker-panel .p-colorpicker-hue {\n background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)\n }\n}\n",classes:{root:function(e){return["p-colorpicker p-component",{"p-colorpicker-overlay":!e.props.inline}]},input:function(e){return["p-colorpicker-preview p-inputtext",{"p-disabled":e.props.disabled}]},panel:function(e){var r=e.instance,o=e.props;return["p-colorpicker-panel",{"p-colorpicker-overlay-panel":!o.inline,"p-disabled":o.disabled,"p-input-filled":"filled"===r.$primevue.config.inputStyle,"p-ripple-disabled":!1===r.$primevue.config.ripple}]},content:"p-colorpicker-content",selector:"p-colorpicker-color-selector",color:"p-colorpicker-color",colorHandle:"p-colorpicker-color-handle",hue:"p-colorpicker-hue",hueHandle:"p-colorpicker-hue-handle"}});module.exports=r;
@@ -0,0 +1,40 @@
1
+ import BaseStyle from 'primevue/base/style';
2
+
3
+ var css = "\n@layer primevue {\n .p-colorpicker-panel .p-colorpicker-color {\n background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)\n }\n\n .p-colorpicker-panel .p-colorpicker-hue {\n background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)\n }\n}\n";
4
+ var classes = {
5
+ root: function root(_ref) {
6
+ var props = _ref.props;
7
+ return ['p-colorpicker p-component', {
8
+ 'p-colorpicker-overlay': !props.inline
9
+ }];
10
+ },
11
+ input: function input(_ref2) {
12
+ var props = _ref2.props;
13
+ return ['p-colorpicker-preview p-inputtext', {
14
+ 'p-disabled': props.disabled
15
+ }];
16
+ },
17
+ panel: function panel(_ref3) {
18
+ var instance = _ref3.instance,
19
+ props = _ref3.props;
20
+ return ['p-colorpicker-panel', {
21
+ 'p-colorpicker-overlay-panel': !props.inline,
22
+ 'p-disabled': props.disabled,
23
+ 'p-input-filled': instance.$primevue.config.inputStyle === 'filled',
24
+ 'p-ripple-disabled': instance.$primevue.config.ripple === false
25
+ }];
26
+ },
27
+ content: 'p-colorpicker-content',
28
+ selector: 'p-colorpicker-color-selector',
29
+ color: 'p-colorpicker-color',
30
+ colorHandle: 'p-colorpicker-color-handle',
31
+ hue: 'p-colorpicker-hue',
32
+ hueHandle: 'p-colorpicker-hue-handle'
33
+ };
34
+ var ColorPickerStyle = BaseStyle.extend({
35
+ name: 'colorpicker',
36
+ css: css,
37
+ classes: classes
38
+ });
39
+
40
+ export { ColorPickerStyle as default };
@@ -0,0 +1 @@
1
+ import e from"primevue/base/style";var r=e.extend({name:"colorpicker",css:"\n@layer primevue {\n .p-colorpicker-panel .p-colorpicker-color {\n background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)\n }\n\n .p-colorpicker-panel .p-colorpicker-hue {\n background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)\n }\n}\n",classes:{root:function(e){return["p-colorpicker p-component",{"p-colorpicker-overlay":!e.props.inline}]},input:function(e){return["p-colorpicker-preview p-inputtext",{"p-disabled":e.props.disabled}]},panel:function(e){var r=e.instance,o=e.props;return["p-colorpicker-panel",{"p-colorpicker-overlay-panel":!o.inline,"p-disabled":o.disabled,"p-input-filled":"filled"===r.$primevue.config.inputStyle,"p-ripple-disabled":!1===r.$primevue.config.ripple}]},content:"p-colorpicker-content",selector:"p-colorpicker-color-selector",color:"p-colorpicker-color",colorHandle:"p-colorpicker-color-handle",hue:"p-colorpicker-hue",hueHandle:"p-colorpicker-hue-handle"}});export{r as default};
@@ -0,0 +1,49 @@
1
+ this.primevue = this.primevue || {};
2
+ this.primevue.colorpicker = this.primevue.colorpicker || {};
3
+ this.primevue.colorpicker.style = (function (BaseStyle) {
4
+ 'use strict';
5
+
6
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
+
8
+ var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
9
+
10
+ var css = "\n@layer primevue {\n .p-colorpicker-panel .p-colorpicker-color {\n background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)\n }\n\n .p-colorpicker-panel .p-colorpicker-hue {\n background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)\n }\n}\n";
11
+ var classes = {
12
+ root: function root(_ref) {
13
+ var props = _ref.props;
14
+ return ['p-colorpicker p-component', {
15
+ 'p-colorpicker-overlay': !props.inline
16
+ }];
17
+ },
18
+ input: function input(_ref2) {
19
+ var props = _ref2.props;
20
+ return ['p-colorpicker-preview p-inputtext', {
21
+ 'p-disabled': props.disabled
22
+ }];
23
+ },
24
+ panel: function panel(_ref3) {
25
+ var instance = _ref3.instance,
26
+ props = _ref3.props;
27
+ return ['p-colorpicker-panel', {
28
+ 'p-colorpicker-overlay-panel': !props.inline,
29
+ 'p-disabled': props.disabled,
30
+ 'p-input-filled': instance.$primevue.config.inputStyle === 'filled',
31
+ 'p-ripple-disabled': instance.$primevue.config.ripple === false
32
+ }];
33
+ },
34
+ content: 'p-colorpicker-content',
35
+ selector: 'p-colorpicker-color-selector',
36
+ color: 'p-colorpicker-color',
37
+ colorHandle: 'p-colorpicker-color-handle',
38
+ hue: 'p-colorpicker-hue',
39
+ hueHandle: 'p-colorpicker-hue-handle'
40
+ };
41
+ var ColorPickerStyle = BaseStyle__default["default"].extend({
42
+ name: 'colorpicker',
43
+ css: css,
44
+ classes: classes
45
+ });
46
+
47
+ return ColorPickerStyle;
48
+
49
+ })(primevue.base.style);
@@ -0,0 +1 @@
1
+ this.primevue=this.primevue||{},this.primevue.colorpicker=this.primevue.colorpicker||{},this.primevue.colorpicker.style=function(e){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}return r(primevue.base.style).default.extend({name:"colorpicker",css:"\n@layer primevue {\n .p-colorpicker-panel .p-colorpicker-color {\n background: linear-gradient(to top, #000 0%, rgb(0 0 0 / 0) 100%), linear-gradient(to right, #fff 0%, rgb(255 255 255 / 0) 100%)\n }\n\n .p-colorpicker-panel .p-colorpicker-hue {\n background: linear-gradient(0deg, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red)\n }\n}\n",classes:{root:function(e){return["p-colorpicker p-component",{"p-colorpicker-overlay":!e.props.inline}]},input:function(e){return["p-colorpicker-preview p-inputtext",{"p-disabled":e.props.disabled}]},panel:function(e){var r=e.instance,o=e.props;return["p-colorpicker-panel",{"p-colorpicker-overlay-panel":!o.inline,"p-disabled":o.disabled,"p-input-filled":"filled"===r.$primevue.config.inputStyle,"p-ripple-disabled":!1===r.$primevue.config.ripple}]},content:"p-colorpicker-content",selector:"p-colorpicker-color-selector",color:"p-colorpicker-color",colorHandle:"p-colorpicker-color-handle",hue:"p-colorpicker-hue",hueHandle:"p-colorpicker-hue-handle"}})}();
@@ -0,0 +1,6 @@
1
+ {
2
+ "main": "./colorpickerstyle.cjs.js",
3
+ "module": "./colorpickerstyle.esm.js",
4
+ "unpkg": "./colorpickerstyle.min.js",
5
+ "types": "./ColorPickerStyle.d.ts"
6
+ }
@@ -1,5 +1,6 @@
1
1
  <script>
2
2
  import BaseComponent from 'primevue/basecomponent';
3
+ import ColumnStyle from 'primevue/column/style';
3
4
 
4
5
  export default {
5
6
  name: 'BaseColumn',
@@ -182,6 +183,7 @@ export default {
182
183
  default: false
183
184
  }
184
185
  },
186
+ style: ColumnStyle,
185
187
  provide() {
186
188
  return {
187
189
  $parentInstance: this
@@ -94,7 +94,7 @@ export interface ColumnLoadingOptions extends VirtualScrollerLoaderOptions {
94
94
  /**
95
95
  * Column instance
96
96
  */
97
- column: Column;
97
+ column: ColumnNode;
98
98
  /**
99
99
  * Column field
100
100
  */
@@ -686,7 +686,7 @@ export interface ColumnSlots {
686
686
  /**
687
687
  * Column node.
688
688
  */
689
- column: Column;
689
+ column: ColumnNode;
690
690
  /**
691
691
  * Column field.
692
692
  */
@@ -713,7 +713,7 @@ export interface ColumnSlots {
713
713
  /**
714
714
  * Column node.
715
715
  */
716
- column: Column;
716
+ column: ColumnNode;
717
717
  }): VNode[];
718
718
  /**
719
719
  * Custom footer template.
@@ -723,7 +723,7 @@ export interface ColumnSlots {
723
723
  /**
724
724
  * Column node.
725
725
  */
726
- column: Column;
726
+ column: ColumnNode;
727
727
  }): VNode[];
728
728
  /**
729
729
  * Custom editor template.
@@ -737,7 +737,7 @@ export interface ColumnSlots {
737
737
  /**
738
738
  * Column node.
739
739
  */
740
- column: Column;
740
+ column: ColumnNode;
741
741
  /**
742
742
  * Column field.
743
743
  */
@@ -779,6 +779,10 @@ export interface ColumnSlots {
779
779
  * Callback function
780
780
  */
781
781
  filterCallback: () => void;
782
+ /**
783
+ * Callback function (closes the overlay)
784
+ */
785
+ applyFilter: () => void;
782
786
  }): VNode[];
783
787
  /**
784
788
  * Custom filter header template.
@@ -868,7 +872,7 @@ export interface ColumnSlots {
868
872
  /**
869
873
  * Column node.
870
874
  */
871
- column: Column;
875
+ column: ColumnNode;
872
876
  /**
873
877
  * Column field.
874
878
  */
@@ -984,6 +988,8 @@ export interface ColumnEmits {}
984
988
  */
985
989
  declare class Column extends ClassComponent<ColumnProps, ColumnSlots, ColumnEmits> {}
986
990
 
991
+ export type ColumnNode = Column & { props: Column['$props'] };
992
+
987
993
  declare module '@vue/runtime-core' {
988
994
  interface GlobalComponents {
989
995
  Column: GlobalComponentConstructor<Column>;
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var BaseComponent = require('primevue/basecomponent');
4
+ var ColumnStyle = require('primevue/column/style');
4
5
 
5
6
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
7
 
7
8
  var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
9
+ var ColumnStyle__default = /*#__PURE__*/_interopDefaultLegacy(ColumnStyle);
8
10
 
9
11
  var script$1 = {
10
12
  name: 'BaseColumn',
@@ -187,6 +189,7 @@ var script$1 = {
187
189
  "default": false
188
190
  }
189
191
  },
192
+ style: ColumnStyle__default["default"],
190
193
  provide: function provide() {
191
194
  return {
192
195
  $parentInstance: this
@@ -1 +1 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l={name:"BaseColumn",extends:e(require("primevue/basecomponent")).default,props:{columnKey:{type:null,default:null},field:{type:[String,Function],default:null},sortField:{type:[String,Function],default:null},filterField:{type:[String,Function],default:null},dataType:{type:String,default:"text"},sortable:{type:Boolean,default:!1},header:{type:null,default:null},footer:{type:null,default:null},style:{type:null,default:null},class:{type:String,default:null},headerStyle:{type:null,default:null},headerClass:{type:String,default:null},bodyStyle:{type:null,default:null},bodyClass:{type:String,default:null},footerStyle:{type:null,default:null},footerClass:{type:String,default:null},showFilterMenu:{type:Boolean,default:!0},showFilterOperator:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!0},showApplyButton:{type:Boolean,default:!0},showFilterMatchModes:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},filterMatchModeOptions:{type:Array,default:null},maxConstraints:{type:Number,default:2},excludeGlobalFilter:{type:Boolean,default:!1},filterHeaderClass:{type:String,default:null},filterHeaderStyle:{type:null,default:null},filterMenuClass:{type:String,default:null},filterMenuStyle:{type:null,default:null},selectionMode:{type:String,default:null},expander:{type:Boolean,default:!1},colspan:{type:Number,default:null},rowspan:{type:Number,default:null},rowReorder:{type:Boolean,default:!1},rowReorderIcon:{type:String,default:void 0},reorderableColumn:{type:Boolean,default:!0},rowEditor:{type:Boolean,default:!1},frozen:{type:Boolean,default:!1},alignFrozen:{type:String,default:"left"},exportable:{type:Boolean,default:!0},exportHeader:{type:String,default:null},exportFooter:{type:String,default:null},filterMatchMode:{type:String,default:null},hidden:{type:Boolean,default:!1}},provide:function(){return{$parentInstance:this}}};module.exports={name:"Column",extends:l,render:function(){return null}};
1
+ "use strict";var e=require("primevue/basecomponent"),l=require("primevue/column/style");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"BaseColumn",extends:t(e).default,props:{columnKey:{type:null,default:null},field:{type:[String,Function],default:null},sortField:{type:[String,Function],default:null},filterField:{type:[String,Function],default:null},dataType:{type:String,default:"text"},sortable:{type:Boolean,default:!1},header:{type:null,default:null},footer:{type:null,default:null},style:{type:null,default:null},class:{type:String,default:null},headerStyle:{type:null,default:null},headerClass:{type:String,default:null},bodyStyle:{type:null,default:null},bodyClass:{type:String,default:null},footerStyle:{type:null,default:null},footerClass:{type:String,default:null},showFilterMenu:{type:Boolean,default:!0},showFilterOperator:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!0},showApplyButton:{type:Boolean,default:!0},showFilterMatchModes:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},filterMatchModeOptions:{type:Array,default:null},maxConstraints:{type:Number,default:2},excludeGlobalFilter:{type:Boolean,default:!1},filterHeaderClass:{type:String,default:null},filterHeaderStyle:{type:null,default:null},filterMenuClass:{type:String,default:null},filterMenuStyle:{type:null,default:null},selectionMode:{type:String,default:null},expander:{type:Boolean,default:!1},colspan:{type:Number,default:null},rowspan:{type:Number,default:null},rowReorder:{type:Boolean,default:!1},rowReorderIcon:{type:String,default:void 0},reorderableColumn:{type:Boolean,default:!0},rowEditor:{type:Boolean,default:!1},frozen:{type:Boolean,default:!1},alignFrozen:{type:String,default:"left"},exportable:{type:Boolean,default:!0},exportHeader:{type:String,default:null},exportFooter:{type:String,default:null},filterMatchMode:{type:String,default:null},hidden:{type:Boolean,default:!1}},style:t(l).default,provide:function(){return{$parentInstance:this}}};module.exports={name:"Column",extends:n,render:function(){return null}};
@@ -1,4 +1,5 @@
1
1
  import BaseComponent from 'primevue/basecomponent';
2
+ import ColumnStyle from 'primevue/column/style';
2
3
 
3
4
  var script$1 = {
4
5
  name: 'BaseColumn',
@@ -181,6 +182,7 @@ var script$1 = {
181
182
  "default": false
182
183
  }
183
184
  },
185
+ style: ColumnStyle,
184
186
  provide: function provide() {
185
187
  return {
186
188
  $parentInstance: this
@@ -1 +1 @@
1
- import e from"primevue/basecomponent";var l={name:"Column",extends:{name:"BaseColumn",extends:e,props:{columnKey:{type:null,default:null},field:{type:[String,Function],default:null},sortField:{type:[String,Function],default:null},filterField:{type:[String,Function],default:null},dataType:{type:String,default:"text"},sortable:{type:Boolean,default:!1},header:{type:null,default:null},footer:{type:null,default:null},style:{type:null,default:null},class:{type:String,default:null},headerStyle:{type:null,default:null},headerClass:{type:String,default:null},bodyStyle:{type:null,default:null},bodyClass:{type:String,default:null},footerStyle:{type:null,default:null},footerClass:{type:String,default:null},showFilterMenu:{type:Boolean,default:!0},showFilterOperator:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!0},showApplyButton:{type:Boolean,default:!0},showFilterMatchModes:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},filterMatchModeOptions:{type:Array,default:null},maxConstraints:{type:Number,default:2},excludeGlobalFilter:{type:Boolean,default:!1},filterHeaderClass:{type:String,default:null},filterHeaderStyle:{type:null,default:null},filterMenuClass:{type:String,default:null},filterMenuStyle:{type:null,default:null},selectionMode:{type:String,default:null},expander:{type:Boolean,default:!1},colspan:{type:Number,default:null},rowspan:{type:Number,default:null},rowReorder:{type:Boolean,default:!1},rowReorderIcon:{type:String,default:void 0},reorderableColumn:{type:Boolean,default:!0},rowEditor:{type:Boolean,default:!1},frozen:{type:Boolean,default:!1},alignFrozen:{type:String,default:"left"},exportable:{type:Boolean,default:!0},exportHeader:{type:String,default:null},exportFooter:{type:String,default:null},filterMatchMode:{type:String,default:null},hidden:{type:Boolean,default:!1}},provide:function(){return{$parentInstance:this}}},render:function(){return null}};export{l as default};
1
+ import e from"primevue/basecomponent";import l from"primevue/column/style";var t={name:"Column",extends:{name:"BaseColumn",extends:e,props:{columnKey:{type:null,default:null},field:{type:[String,Function],default:null},sortField:{type:[String,Function],default:null},filterField:{type:[String,Function],default:null},dataType:{type:String,default:"text"},sortable:{type:Boolean,default:!1},header:{type:null,default:null},footer:{type:null,default:null},style:{type:null,default:null},class:{type:String,default:null},headerStyle:{type:null,default:null},headerClass:{type:String,default:null},bodyStyle:{type:null,default:null},bodyClass:{type:String,default:null},footerStyle:{type:null,default:null},footerClass:{type:String,default:null},showFilterMenu:{type:Boolean,default:!0},showFilterOperator:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!0},showApplyButton:{type:Boolean,default:!0},showFilterMatchModes:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},filterMatchModeOptions:{type:Array,default:null},maxConstraints:{type:Number,default:2},excludeGlobalFilter:{type:Boolean,default:!1},filterHeaderClass:{type:String,default:null},filterHeaderStyle:{type:null,default:null},filterMenuClass:{type:String,default:null},filterMenuStyle:{type:null,default:null},selectionMode:{type:String,default:null},expander:{type:Boolean,default:!1},colspan:{type:Number,default:null},rowspan:{type:Number,default:null},rowReorder:{type:Boolean,default:!1},rowReorderIcon:{type:String,default:void 0},reorderableColumn:{type:Boolean,default:!0},rowEditor:{type:Boolean,default:!1},frozen:{type:Boolean,default:!1},alignFrozen:{type:String,default:"left"},exportable:{type:Boolean,default:!0},exportHeader:{type:String,default:null},exportFooter:{type:String,default:null},filterMatchMode:{type:String,default:null},hidden:{type:Boolean,default:!1}},style:l,provide:function(){return{$parentInstance:this}}},render:function(){return null}};export{t as default};
package/column/column.js CHANGED
@@ -1,10 +1,11 @@
1
1
  this.primevue = this.primevue || {};
2
- this.primevue.column = (function (BaseComponent) {
2
+ this.primevue.column = (function (BaseComponent, ColumnStyle) {
3
3
  'use strict';
4
4
 
5
5
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
6
 
7
7
  var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
8
+ var ColumnStyle__default = /*#__PURE__*/_interopDefaultLegacy(ColumnStyle);
8
9
 
9
10
  var script$1 = {
10
11
  name: 'BaseColumn',
@@ -187,6 +188,7 @@ this.primevue.column = (function (BaseComponent) {
187
188
  "default": false
188
189
  }
189
190
  },
191
+ style: ColumnStyle__default["default"],
190
192
  provide: function provide() {
191
193
  return {
192
194
  $parentInstance: this
@@ -204,4 +206,4 @@ this.primevue.column = (function (BaseComponent) {
204
206
 
205
207
  return script;
206
208
 
207
- })(primevue.basecomponent);
209
+ })(primevue.basecomponent, primevue.column.style);
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.column=function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}return{name:"Column",extends:{name:"BaseColumn",extends:t(primevue.basecomponent).default,props:{columnKey:{type:null,default:null},field:{type:[String,Function],default:null},sortField:{type:[String,Function],default:null},filterField:{type:[String,Function],default:null},dataType:{type:String,default:"text"},sortable:{type:Boolean,default:!1},header:{type:null,default:null},footer:{type:null,default:null},style:{type:null,default:null},class:{type:String,default:null},headerStyle:{type:null,default:null},headerClass:{type:String,default:null},bodyStyle:{type:null,default:null},bodyClass:{type:String,default:null},footerStyle:{type:null,default:null},footerClass:{type:String,default:null},showFilterMenu:{type:Boolean,default:!0},showFilterOperator:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!0},showApplyButton:{type:Boolean,default:!0},showFilterMatchModes:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},filterMatchModeOptions:{type:Array,default:null},maxConstraints:{type:Number,default:2},excludeGlobalFilter:{type:Boolean,default:!1},filterHeaderClass:{type:String,default:null},filterHeaderStyle:{type:null,default:null},filterMenuClass:{type:String,default:null},filterMenuStyle:{type:null,default:null},selectionMode:{type:String,default:null},expander:{type:Boolean,default:!1},colspan:{type:Number,default:null},rowspan:{type:Number,default:null},rowReorder:{type:Boolean,default:!1},rowReorderIcon:{type:String,default:void 0},reorderableColumn:{type:Boolean,default:!0},rowEditor:{type:Boolean,default:!1},frozen:{type:Boolean,default:!1},alignFrozen:{type:String,default:"left"},exportable:{type:Boolean,default:!0},exportHeader:{type:String,default:null},exportFooter:{type:String,default:null},filterMatchMode:{type:String,default:null},hidden:{type:Boolean,default:!1}},provide:function(){return{$parentInstance:this}}},render:function(){return null}}}();
1
+ this.primevue=this.primevue||{},this.primevue.column=function(e,l){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}return{name:"Column",extends:{name:"BaseColumn",extends:t(e).default,props:{columnKey:{type:null,default:null},field:{type:[String,Function],default:null},sortField:{type:[String,Function],default:null},filterField:{type:[String,Function],default:null},dataType:{type:String,default:"text"},sortable:{type:Boolean,default:!1},header:{type:null,default:null},footer:{type:null,default:null},style:{type:null,default:null},class:{type:String,default:null},headerStyle:{type:null,default:null},headerClass:{type:String,default:null},bodyStyle:{type:null,default:null},bodyClass:{type:String,default:null},footerStyle:{type:null,default:null},footerClass:{type:String,default:null},showFilterMenu:{type:Boolean,default:!0},showFilterOperator:{type:Boolean,default:!0},showClearButton:{type:Boolean,default:!0},showApplyButton:{type:Boolean,default:!0},showFilterMatchModes:{type:Boolean,default:!0},showAddButton:{type:Boolean,default:!0},filterMatchModeOptions:{type:Array,default:null},maxConstraints:{type:Number,default:2},excludeGlobalFilter:{type:Boolean,default:!1},filterHeaderClass:{type:String,default:null},filterHeaderStyle:{type:null,default:null},filterMenuClass:{type:String,default:null},filterMenuStyle:{type:null,default:null},selectionMode:{type:String,default:null},expander:{type:Boolean,default:!1},colspan:{type:Number,default:null},rowspan:{type:Number,default:null},rowReorder:{type:Boolean,default:!1},rowReorderIcon:{type:String,default:void 0},reorderableColumn:{type:Boolean,default:!0},rowEditor:{type:Boolean,default:!1},frozen:{type:Boolean,default:!1},alignFrozen:{type:String,default:"left"},exportable:{type:Boolean,default:!0},exportHeader:{type:String,default:null},exportFooter:{type:String,default:null},filterMatchMode:{type:String,default:null},hidden:{type:Boolean,default:!1}},style:t(l).default,provide:function(){return{$parentInstance:this}}},render:function(){return null}}}(primevue.basecomponent,primevue.column.style);
@@ -1,9 +1,9 @@
1
1
  {
2
- "main": "./column.cjs.js",
3
- "module": "./column.esm.js",
4
- "unpkg": "./column.min.js",
5
- "types": "./Column.d.ts",
6
- "browser": {
7
- "./sfc": "./Column.vue"
8
- }
9
- }
2
+ "main": "./column.cjs.js",
3
+ "module": "./column.esm.js",
4
+ "unpkg": "./column.min.js",
5
+ "types": "./Column.d.ts",
6
+ "browser": {
7
+ "./sfc": "./Column.vue"
8
+ }
9
+ }
@@ -0,0 +1,3 @@
1
+ import { BaseStyle } from '../../base/style';
2
+
3
+ export interface ColumnStyle extends BaseStyle {}
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ var ColumnStyle = {};
4
+
5
+ module.exports = ColumnStyle;
@@ -0,0 +1 @@
1
+ "use strict";module.exports={};