primevue 3.46.0 → 3.47.1

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 (738) hide show
  1. package/README.md +2 -2
  2. package/api/api.cjs.js +6 -6
  3. package/api/api.cjs.min.js +1 -1
  4. package/api/api.esm.js +6 -6
  5. package/api/api.esm.min.js +1 -1
  6. package/api/api.js +6 -6
  7. package/api/api.min.js +1 -1
  8. package/autocomplete/AutoComplete.d.ts +6 -1
  9. package/autocomplete/AutoComplete.vue +24 -15
  10. package/autocomplete/BaseAutoComplete.vue +5 -1
  11. package/autocomplete/autocomplete.cjs.js +29 -18
  12. package/autocomplete/autocomplete.cjs.min.js +1 -1
  13. package/autocomplete/autocomplete.esm.js +29 -18
  14. package/autocomplete/autocomplete.esm.min.js +1 -1
  15. package/autocomplete/autocomplete.js +29 -18
  16. package/autocomplete/autocomplete.min.js +1 -1
  17. package/basecomponent/basecomponent.cjs.js +1 -3
  18. package/basecomponent/basecomponent.cjs.min.js +1 -1
  19. package/basecomponent/basecomponent.esm.js +1 -3
  20. package/basecomponent/basecomponent.esm.min.js +1 -1
  21. package/basecomponent/basecomponent.js +1 -3
  22. package/basecomponent/basecomponent.min.js +1 -1
  23. package/basecomponent/style/basecomponentstyle.cjs.js +1 -3
  24. package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
  25. package/basecomponent/style/basecomponentstyle.esm.js +1 -3
  26. package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
  27. package/basecomponent/style/basecomponentstyle.js +1 -3
  28. package/basecomponent/style/basecomponentstyle.min.js +1 -1
  29. package/basedirective/basedirective.cjs.js +11 -2
  30. package/basedirective/basedirective.cjs.min.js +1 -1
  31. package/basedirective/basedirective.esm.js +11 -2
  32. package/basedirective/basedirective.esm.min.js +1 -1
  33. package/basedirective/basedirective.js +11 -2
  34. package/basedirective/basedirective.min.js +1 -1
  35. package/baseicon/BaseIcon.vue +6 -1
  36. package/baseicon/baseicon.cjs.js +5 -0
  37. package/baseicon/baseicon.cjs.min.js +1 -1
  38. package/baseicon/baseicon.esm.js +6 -1
  39. package/baseicon/baseicon.esm.min.js +1 -1
  40. package/baseicon/baseicon.js +5 -0
  41. package/baseicon/baseicon.min.js +1 -1
  42. package/calendar/Calendar.d.ts +53 -2
  43. package/calendar/Calendar.vue +12 -0
  44. package/calendar/calendar.cjs.js +12 -0
  45. package/calendar/calendar.cjs.min.js +1 -1
  46. package/calendar/calendar.esm.js +12 -0
  47. package/calendar/calendar.esm.min.js +1 -1
  48. package/calendar/calendar.js +12 -0
  49. package/calendar/calendar.min.js +1 -1
  50. package/cascadeselect/BaseCascadeSelect.vue +5 -1
  51. package/cascadeselect/CascadeSelect.d.ts +6 -1
  52. package/cascadeselect/CascadeSelect.vue +56 -35
  53. package/cascadeselect/CascadeSelectSub.vue +9 -2
  54. package/cascadeselect/cascadeselect.cjs.js +99 -52
  55. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  56. package/cascadeselect/cascadeselect.esm.js +99 -52
  57. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  58. package/cascadeselect/cascadeselect.js +99 -52
  59. package/cascadeselect/cascadeselect.min.js +1 -1
  60. package/checkbox/BaseCheckbox.vue +0 -4
  61. package/checkbox/Checkbox.d.ts +17 -34
  62. package/checkbox/Checkbox.vue +24 -35
  63. package/checkbox/checkbox.cjs.js +21 -49
  64. package/checkbox/checkbox.cjs.min.js +1 -1
  65. package/checkbox/checkbox.esm.js +21 -49
  66. package/checkbox/checkbox.esm.min.js +1 -1
  67. package/checkbox/checkbox.js +21 -49
  68. package/checkbox/checkbox.min.js +1 -1
  69. package/checkbox/style/checkboxstyle.cjs.js +5 -11
  70. package/checkbox/style/checkboxstyle.cjs.min.js +1 -1
  71. package/checkbox/style/checkboxstyle.esm.js +5 -11
  72. package/checkbox/style/checkboxstyle.esm.min.js +1 -1
  73. package/checkbox/style/checkboxstyle.js +5 -11
  74. package/checkbox/style/checkboxstyle.min.js +1 -1
  75. package/chips/Chips.vue +2 -1
  76. package/chips/chips.cjs.js +2 -1
  77. package/chips/chips.cjs.min.js +1 -1
  78. package/chips/chips.esm.js +2 -1
  79. package/chips/chips.esm.min.js +1 -1
  80. package/chips/chips.js +2 -1
  81. package/chips/chips.min.js +1 -1
  82. package/column/Column.d.ts +11 -44
  83. package/confirmpopup/ConfirmPopup.vue +1 -1
  84. package/confirmpopup/confirmpopup.cjs.js +1 -1
  85. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  86. package/confirmpopup/confirmpopup.esm.js +1 -1
  87. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  88. package/confirmpopup/confirmpopup.js +1 -1
  89. package/confirmpopup/confirmpopup.min.js +1 -1
  90. package/contextmenu/ContextMenu.vue +8 -8
  91. package/contextmenu/contextmenu.cjs.js +7 -6
  92. package/contextmenu/contextmenu.cjs.min.js +1 -1
  93. package/contextmenu/contextmenu.esm.js +7 -6
  94. package/contextmenu/contextmenu.esm.min.js +1 -1
  95. package/contextmenu/contextmenu.js +7 -6
  96. package/contextmenu/contextmenu.min.js +1 -1
  97. package/core/core.js +918 -628
  98. package/core/core.min.js +63 -55
  99. package/datatable/BaseDataTable.vue +4 -0
  100. package/datatable/BodyCell.vue +11 -1
  101. package/datatable/BodyRow.vue +5 -2
  102. package/datatable/ColumnFilter.vue +5 -2
  103. package/datatable/DataTable.d.ts +5 -0
  104. package/datatable/DataTable.vue +2 -2
  105. package/datatable/HeaderCell.vue +2 -1
  106. package/datatable/HeaderCheckbox.vue +14 -42
  107. package/datatable/RowCheckbox.vue +10 -52
  108. package/datatable/RowRadioButton.vue +11 -32
  109. package/datatable/TableHeader.vue +3 -1
  110. package/datatable/datatable.cjs.js +110 -193
  111. package/datatable/datatable.cjs.min.js +1 -1
  112. package/datatable/datatable.esm.js +109 -194
  113. package/datatable/datatable.esm.min.js +1 -1
  114. package/datatable/datatable.js +110 -195
  115. package/datatable/datatable.min.js +1 -1
  116. package/datatable/style/datatablestyle.cjs.js +23 -72
  117. package/datatable/style/datatablestyle.cjs.min.js +1 -1
  118. package/datatable/style/datatablestyle.esm.js +23 -72
  119. package/datatable/style/datatablestyle.esm.min.js +1 -1
  120. package/datatable/style/datatablestyle.js +23 -72
  121. package/datatable/style/datatablestyle.min.js +1 -1
  122. package/dialog/style/dialogstyle.cjs.js +1 -1
  123. package/dialog/style/dialogstyle.cjs.min.js +1 -1
  124. package/dialog/style/dialogstyle.esm.js +1 -1
  125. package/dialog/style/dialogstyle.esm.min.js +1 -1
  126. package/dialog/style/dialogstyle.js +1 -1
  127. package/dialog/style/dialogstyle.min.js +1 -1
  128. package/dropdown/BaseDropdown.vue +17 -1
  129. package/dropdown/Dropdown.d.ts +37 -1
  130. package/dropdown/Dropdown.vue +68 -40
  131. package/dropdown/dropdown.cjs.js +95 -45
  132. package/dropdown/dropdown.cjs.min.js +1 -1
  133. package/dropdown/dropdown.esm.js +93 -45
  134. package/dropdown/dropdown.esm.min.js +1 -1
  135. package/dropdown/dropdown.js +95 -47
  136. package/dropdown/dropdown.min.js +1 -1
  137. package/dropdown/style/dropdownstyle.cjs.js +7 -2
  138. package/dropdown/style/dropdownstyle.cjs.min.js +1 -1
  139. package/dropdown/style/dropdownstyle.esm.js +7 -2
  140. package/dropdown/style/dropdownstyle.esm.min.js +1 -1
  141. package/dropdown/style/dropdownstyle.js +7 -2
  142. package/dropdown/style/dropdownstyle.min.js +1 -1
  143. package/focustrap/focustrap.cjs.js +15 -2
  144. package/focustrap/focustrap.cjs.min.js +1 -1
  145. package/focustrap/focustrap.esm.js +15 -2
  146. package/focustrap/focustrap.esm.min.js +1 -1
  147. package/focustrap/focustrap.js +15 -2
  148. package/focustrap/focustrap.min.js +1 -1
  149. package/icons/arrowdown/index.cjs.js +3 -9
  150. package/icons/arrowdown/index.cjs.min.js +1 -1
  151. package/icons/arrowdown/index.esm.js +3 -9
  152. package/icons/arrowdown/index.esm.min.js +1 -1
  153. package/icons/arrowdown/index.js +5 -10
  154. package/icons/arrowdown/index.min.js +1 -1
  155. package/icons/arrowdown/index.vue +1 -7
  156. package/icons/arrowup/index.cjs.js +3 -9
  157. package/icons/arrowup/index.cjs.min.js +1 -1
  158. package/icons/arrowup/index.esm.js +3 -9
  159. package/icons/arrowup/index.esm.min.js +1 -1
  160. package/icons/arrowup/index.js +5 -10
  161. package/icons/arrowup/index.min.js +1 -1
  162. package/icons/arrowup/index.vue +1 -7
  163. package/icons/ban/index.cjs.js +3 -9
  164. package/icons/ban/index.cjs.min.js +1 -1
  165. package/icons/ban/index.esm.js +3 -9
  166. package/icons/ban/index.esm.min.js +1 -1
  167. package/icons/ban/index.js +5 -10
  168. package/icons/ban/index.min.js +1 -1
  169. package/icons/ban/index.vue +1 -7
  170. package/icons/blank/index.cjs.js +34 -0
  171. package/icons/blank/index.cjs.min.js +1 -0
  172. package/icons/blank/index.d.ts +12 -0
  173. package/icons/blank/index.esm.js +28 -0
  174. package/icons/blank/index.esm.min.js +1 -0
  175. package/icons/blank/index.js +36 -0
  176. package/icons/blank/index.min.js +1 -0
  177. package/icons/blank/index.vue +13 -0
  178. package/icons/blank/package.json +9 -0
  179. package/icons/exclamationtriangle/index.cjs.js +3 -9
  180. package/icons/exclamationtriangle/index.cjs.min.js +1 -1
  181. package/icons/exclamationtriangle/index.esm.js +3 -9
  182. package/icons/exclamationtriangle/index.esm.min.js +1 -1
  183. package/icons/exclamationtriangle/index.js +5 -10
  184. package/icons/exclamationtriangle/index.min.js +1 -1
  185. package/icons/exclamationtriangle/index.vue +1 -7
  186. package/icons/eyeslash/index.cjs.js +3 -9
  187. package/icons/eyeslash/index.cjs.min.js +1 -1
  188. package/icons/eyeslash/index.esm.js +3 -9
  189. package/icons/eyeslash/index.esm.min.js +1 -1
  190. package/icons/eyeslash/index.js +5 -10
  191. package/icons/eyeslash/index.min.js +1 -1
  192. package/icons/eyeslash/index.vue +1 -7
  193. package/icons/filter/index.cjs.js +3 -9
  194. package/icons/filter/index.cjs.min.js +1 -1
  195. package/icons/filter/index.esm.js +3 -9
  196. package/icons/filter/index.esm.min.js +1 -1
  197. package/icons/filter/index.js +5 -10
  198. package/icons/filter/index.min.js +1 -1
  199. package/icons/filter/index.vue +1 -7
  200. package/icons/filterslash/index.cjs.js +3 -9
  201. package/icons/filterslash/index.cjs.min.js +1 -1
  202. package/icons/filterslash/index.esm.js +3 -9
  203. package/icons/filterslash/index.esm.min.js +1 -1
  204. package/icons/filterslash/index.js +5 -10
  205. package/icons/filterslash/index.min.js +1 -1
  206. package/icons/filterslash/index.vue +1 -7
  207. package/icons/infocircle/index.cjs.js +3 -9
  208. package/icons/infocircle/index.cjs.min.js +1 -1
  209. package/icons/infocircle/index.esm.js +3 -9
  210. package/icons/infocircle/index.esm.min.js +1 -1
  211. package/icons/infocircle/index.js +5 -10
  212. package/icons/infocircle/index.min.js +1 -1
  213. package/icons/infocircle/index.vue +1 -7
  214. package/icons/pencil/index.cjs.js +3 -9
  215. package/icons/pencil/index.cjs.min.js +1 -1
  216. package/icons/pencil/index.esm.js +3 -9
  217. package/icons/pencil/index.esm.min.js +1 -1
  218. package/icons/pencil/index.js +5 -10
  219. package/icons/pencil/index.min.js +1 -1
  220. package/icons/pencil/index.vue +1 -7
  221. package/icons/plus/index.cjs.js +3 -9
  222. package/icons/plus/index.cjs.min.js +1 -1
  223. package/icons/plus/index.esm.js +3 -9
  224. package/icons/plus/index.esm.min.js +1 -1
  225. package/icons/plus/index.js +5 -10
  226. package/icons/plus/index.min.js +1 -1
  227. package/icons/plus/index.vue +1 -7
  228. package/icons/refresh/index.cjs.js +3 -9
  229. package/icons/refresh/index.cjs.min.js +1 -1
  230. package/icons/refresh/index.esm.js +3 -9
  231. package/icons/refresh/index.esm.min.js +1 -1
  232. package/icons/refresh/index.js +5 -10
  233. package/icons/refresh/index.min.js +1 -1
  234. package/icons/refresh/index.vue +1 -7
  235. package/icons/search/index.cjs.js +3 -9
  236. package/icons/search/index.cjs.min.js +1 -1
  237. package/icons/search/index.esm.js +3 -9
  238. package/icons/search/index.esm.min.js +1 -1
  239. package/icons/search/index.js +5 -10
  240. package/icons/search/index.min.js +1 -1
  241. package/icons/search/index.vue +1 -7
  242. package/icons/searchminus/index.cjs.js +3 -9
  243. package/icons/searchminus/index.cjs.min.js +1 -1
  244. package/icons/searchminus/index.esm.js +3 -9
  245. package/icons/searchminus/index.esm.min.js +1 -1
  246. package/icons/searchminus/index.js +5 -10
  247. package/icons/searchminus/index.min.js +1 -1
  248. package/icons/searchminus/index.vue +1 -7
  249. package/icons/searchplus/index.cjs.js +3 -9
  250. package/icons/searchplus/index.cjs.min.js +1 -1
  251. package/icons/searchplus/index.esm.js +3 -9
  252. package/icons/searchplus/index.esm.min.js +1 -1
  253. package/icons/searchplus/index.js +5 -10
  254. package/icons/searchplus/index.min.js +1 -1
  255. package/icons/searchplus/index.vue +1 -7
  256. package/icons/sortalt/index.cjs.js +3 -9
  257. package/icons/sortalt/index.cjs.min.js +1 -1
  258. package/icons/sortalt/index.esm.js +3 -9
  259. package/icons/sortalt/index.esm.min.js +1 -1
  260. package/icons/sortalt/index.js +5 -10
  261. package/icons/sortalt/index.min.js +1 -1
  262. package/icons/sortalt/index.vue +1 -7
  263. package/icons/sortamountdown/index.cjs.js +3 -9
  264. package/icons/sortamountdown/index.cjs.min.js +1 -1
  265. package/icons/sortamountdown/index.esm.js +3 -9
  266. package/icons/sortamountdown/index.esm.min.js +1 -1
  267. package/icons/sortamountdown/index.js +5 -10
  268. package/icons/sortamountdown/index.min.js +1 -1
  269. package/icons/sortamountdown/index.vue +1 -7
  270. package/icons/sortamountupalt/index.cjs.js +3 -9
  271. package/icons/sortamountupalt/index.cjs.min.js +1 -1
  272. package/icons/sortamountupalt/index.esm.js +3 -9
  273. package/icons/sortamountupalt/index.esm.min.js +1 -1
  274. package/icons/sortamountupalt/index.js +5 -10
  275. package/icons/sortamountupalt/index.min.js +1 -1
  276. package/icons/sortamountupalt/index.vue +1 -7
  277. package/icons/spinner/index.cjs.js +3 -9
  278. package/icons/spinner/index.cjs.min.js +1 -1
  279. package/icons/spinner/index.esm.js +3 -9
  280. package/icons/spinner/index.esm.min.js +1 -1
  281. package/icons/spinner/index.js +5 -10
  282. package/icons/spinner/index.min.js +1 -1
  283. package/icons/spinner/index.vue +1 -7
  284. package/icons/star/index.cjs.js +3 -9
  285. package/icons/star/index.cjs.min.js +1 -1
  286. package/icons/star/index.esm.js +3 -9
  287. package/icons/star/index.esm.min.js +1 -1
  288. package/icons/star/index.js +5 -10
  289. package/icons/star/index.min.js +1 -1
  290. package/icons/star/index.vue +1 -7
  291. package/icons/starfill/index.cjs.js +3 -9
  292. package/icons/starfill/index.cjs.min.js +1 -1
  293. package/icons/starfill/index.esm.js +3 -9
  294. package/icons/starfill/index.esm.min.js +1 -1
  295. package/icons/starfill/index.js +5 -10
  296. package/icons/starfill/index.min.js +1 -1
  297. package/icons/starfill/index.vue +1 -7
  298. package/icons/thlarge/index.cjs.js +3 -9
  299. package/icons/thlarge/index.cjs.min.js +1 -1
  300. package/icons/thlarge/index.esm.js +3 -9
  301. package/icons/thlarge/index.esm.min.js +1 -1
  302. package/icons/thlarge/index.js +5 -10
  303. package/icons/thlarge/index.min.js +1 -1
  304. package/icons/thlarge/index.vue +1 -7
  305. package/icons/timescircle/index.cjs.js +3 -9
  306. package/icons/timescircle/index.cjs.min.js +1 -1
  307. package/icons/timescircle/index.esm.js +3 -9
  308. package/icons/timescircle/index.esm.min.js +1 -1
  309. package/icons/timescircle/index.js +5 -10
  310. package/icons/timescircle/index.min.js +1 -1
  311. package/icons/timescircle/index.vue +1 -7
  312. package/icons/trash/index.cjs.js +3 -9
  313. package/icons/trash/index.cjs.min.js +1 -1
  314. package/icons/trash/index.esm.js +3 -9
  315. package/icons/trash/index.esm.min.js +1 -1
  316. package/icons/trash/index.js +5 -10
  317. package/icons/trash/index.min.js +1 -1
  318. package/icons/trash/index.vue +1 -7
  319. package/icons/undo/index.cjs.js +3 -9
  320. package/icons/undo/index.cjs.min.js +1 -1
  321. package/icons/undo/index.esm.js +3 -9
  322. package/icons/undo/index.esm.min.js +1 -1
  323. package/icons/undo/index.js +5 -10
  324. package/icons/undo/index.min.js +1 -1
  325. package/icons/undo/index.vue +1 -7
  326. package/icons/upload/index.cjs.js +3 -9
  327. package/icons/upload/index.cjs.min.js +1 -1
  328. package/icons/upload/index.esm.js +3 -9
  329. package/icons/upload/index.esm.min.js +1 -1
  330. package/icons/upload/index.js +5 -10
  331. package/icons/upload/index.min.js +1 -1
  332. package/icons/upload/index.vue +1 -7
  333. package/icons/windowmaximize/index.cjs.js +3 -9
  334. package/icons/windowmaximize/index.cjs.min.js +1 -1
  335. package/icons/windowmaximize/index.esm.js +3 -9
  336. package/icons/windowmaximize/index.esm.min.js +1 -1
  337. package/icons/windowmaximize/index.js +5 -10
  338. package/icons/windowmaximize/index.min.js +1 -1
  339. package/icons/windowmaximize/index.vue +1 -7
  340. package/icons/windowminimize/index.cjs.js +3 -9
  341. package/icons/windowminimize/index.cjs.min.js +1 -1
  342. package/icons/windowminimize/index.esm.js +3 -9
  343. package/icons/windowminimize/index.esm.min.js +1 -1
  344. package/icons/windowminimize/index.js +5 -10
  345. package/icons/windowminimize/index.min.js +1 -1
  346. package/icons/windowminimize/index.vue +1 -7
  347. package/inputnumber/InputNumber.vue +18 -9
  348. package/inputnumber/inputnumber.cjs.js +14 -6
  349. package/inputnumber/inputnumber.cjs.min.js +1 -1
  350. package/inputnumber/inputnumber.esm.js +15 -7
  351. package/inputnumber/inputnumber.esm.min.js +1 -1
  352. package/inputnumber/inputnumber.js +14 -6
  353. package/inputnumber/inputnumber.min.js +1 -1
  354. package/inputswitch/BaseInputSwitch.vue +8 -4
  355. package/inputswitch/InputSwitch.d.ts +41 -20
  356. package/inputswitch/InputSwitch.vue +31 -33
  357. package/inputswitch/inputswitch.cjs.js +38 -42
  358. package/inputswitch/inputswitch.cjs.min.js +1 -1
  359. package/inputswitch/inputswitch.esm.js +38 -42
  360. package/inputswitch/inputswitch.esm.min.js +1 -1
  361. package/inputswitch/inputswitch.js +38 -42
  362. package/inputswitch/inputswitch.min.js +1 -1
  363. package/inputswitch/style/inputswitchstyle.cjs.js +4 -4
  364. package/inputswitch/style/inputswitchstyle.cjs.min.js +1 -1
  365. package/inputswitch/style/inputswitchstyle.esm.js +4 -4
  366. package/inputswitch/style/inputswitchstyle.esm.min.js +1 -1
  367. package/inputswitch/style/inputswitchstyle.js +4 -4
  368. package/inputswitch/style/inputswitchstyle.min.js +1 -1
  369. package/listbox/BaseListbox.vue +4 -0
  370. package/listbox/Listbox.d.ts +6 -1
  371. package/listbox/Listbox.vue +47 -26
  372. package/listbox/listbox.cjs.js +89 -50
  373. package/listbox/listbox.cjs.min.js +1 -1
  374. package/listbox/listbox.esm.js +89 -50
  375. package/listbox/listbox.esm.min.js +1 -1
  376. package/listbox/listbox.js +89 -50
  377. package/listbox/listbox.min.js +1 -1
  378. package/listbox/style/listboxstyle.cjs.js +2 -3
  379. package/listbox/style/listboxstyle.cjs.min.js +1 -1
  380. package/listbox/style/listboxstyle.esm.js +2 -3
  381. package/listbox/style/listboxstyle.esm.min.js +1 -1
  382. package/listbox/style/listboxstyle.js +2 -3
  383. package/listbox/style/listboxstyle.min.js +1 -1
  384. package/megamenu/MegaMenu.vue +1 -1
  385. package/megamenu/megamenu.cjs.js +2 -1
  386. package/megamenu/megamenu.cjs.min.js +1 -1
  387. package/megamenu/megamenu.esm.js +2 -1
  388. package/megamenu/megamenu.esm.min.js +1 -1
  389. package/megamenu/megamenu.js +2 -1
  390. package/megamenu/megamenu.min.js +1 -1
  391. package/menubar/Menubar.vue +1 -1
  392. package/menubar/menubar.cjs.js +2 -1
  393. package/menubar/menubar.cjs.min.js +1 -1
  394. package/menubar/menubar.esm.js +2 -1
  395. package/menubar/menubar.esm.min.js +1 -1
  396. package/menubar/menubar.js +2 -1
  397. package/menubar/menubar.min.js +1 -1
  398. package/message/Message.d.ts +4 -0
  399. package/message/Message.vue +2 -1
  400. package/message/message.cjs.js +2 -1
  401. package/message/message.cjs.min.js +1 -1
  402. package/message/message.esm.js +2 -1
  403. package/message/message.esm.min.js +1 -1
  404. package/message/message.js +2 -1
  405. package/message/message.min.js +1 -1
  406. package/metergroup/BaseMeterGroup.vue +41 -0
  407. package/metergroup/MeterGroup.d.ts +302 -0
  408. package/metergroup/MeterGroup.vue +73 -0
  409. package/metergroup/MeterGroupLabel.vue +36 -0
  410. package/metergroup/metergroup.cjs.js +218 -0
  411. package/metergroup/metergroup.cjs.min.js +1 -0
  412. package/metergroup/metergroup.esm.js +211 -0
  413. package/metergroup/metergroup.esm.min.js +1 -0
  414. package/metergroup/metergroup.js +218 -0
  415. package/metergroup/metergroup.min.js +1 -0
  416. package/metergroup/package.json +9 -0
  417. package/metergroup/style/MeterGroupStyle.d.ts +3 -0
  418. package/metergroup/style/metergroupstyle.cjs.js +40 -0
  419. package/metergroup/style/metergroupstyle.cjs.min.js +1 -0
  420. package/metergroup/style/metergroupstyle.esm.js +34 -0
  421. package/metergroup/style/metergroupstyle.esm.min.js +1 -0
  422. package/metergroup/style/metergroupstyle.js +43 -0
  423. package/metergroup/style/metergroupstyle.min.js +1 -0
  424. package/metergroup/style/package.json +6 -0
  425. package/multiselect/BaseMultiSelect.vue +9 -1
  426. package/multiselect/MultiSelect.d.ts +13 -19
  427. package/multiselect/MultiSelect.vue +108 -76
  428. package/multiselect/multiselect.cjs.js +173 -133
  429. package/multiselect/multiselect.cjs.min.js +1 -1
  430. package/multiselect/multiselect.esm.js +173 -134
  431. package/multiselect/multiselect.esm.min.js +1 -1
  432. package/multiselect/multiselect.js +174 -135
  433. package/multiselect/multiselect.min.js +1 -1
  434. package/multiselect/style/multiselectstyle.cjs.js +7 -30
  435. package/multiselect/style/multiselectstyle.cjs.min.js +1 -1
  436. package/multiselect/style/multiselectstyle.esm.js +7 -30
  437. package/multiselect/style/multiselectstyle.esm.min.js +1 -1
  438. package/multiselect/style/multiselectstyle.js +7 -30
  439. package/multiselect/style/multiselectstyle.min.js +1 -1
  440. package/orderlist/BaseOrderList.vue +8 -0
  441. package/orderlist/OrderList.d.ts +10 -0
  442. package/orderlist/OrderList.vue +73 -54
  443. package/orderlist/orderlist.cjs.js +82 -58
  444. package/orderlist/orderlist.cjs.min.js +1 -1
  445. package/orderlist/orderlist.esm.js +82 -58
  446. package/orderlist/orderlist.esm.min.js +1 -1
  447. package/orderlist/orderlist.js +82 -58
  448. package/orderlist/orderlist.min.js +1 -1
  449. package/orderlist/style/orderliststyle.cjs.js +1 -1
  450. package/orderlist/style/orderliststyle.cjs.min.js +1 -1
  451. package/orderlist/style/orderliststyle.esm.js +1 -1
  452. package/orderlist/style/orderliststyle.esm.min.js +1 -1
  453. package/orderlist/style/orderliststyle.js +1 -1
  454. package/orderlist/style/orderliststyle.min.js +1 -1
  455. package/overlaypanel/OverlayPanel.d.ts +4 -0
  456. package/overlaypanel/OverlayPanel.vue +1 -1
  457. package/overlaypanel/overlaypanel.cjs.js +1 -1
  458. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  459. package/overlaypanel/overlaypanel.esm.js +1 -1
  460. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  461. package/overlaypanel/overlaypanel.js +1 -1
  462. package/overlaypanel/overlaypanel.min.js +1 -1
  463. package/package.json +1 -1
  464. package/panelmenu/PanelMenuList.vue +1 -1
  465. package/panelmenu/panelmenu.cjs.js +2 -1
  466. package/panelmenu/panelmenu.cjs.min.js +1 -1
  467. package/panelmenu/panelmenu.esm.js +2 -1
  468. package/panelmenu/panelmenu.esm.min.js +1 -1
  469. package/panelmenu/panelmenu.js +2 -1
  470. package/panelmenu/panelmenu.min.js +1 -1
  471. package/picklist/BasePickList.vue +8 -0
  472. package/picklist/PickList.d.ts +10 -0
  473. package/picklist/PickList.vue +73 -38
  474. package/picklist/picklist.cjs.js +84 -47
  475. package/picklist/picklist.cjs.min.js +1 -1
  476. package/picklist/picklist.esm.js +84 -47
  477. package/picklist/picklist.esm.min.js +1 -1
  478. package/picklist/picklist.js +84 -47
  479. package/picklist/picklist.min.js +1 -1
  480. package/progressbar/ProgressBar.vue +1 -1
  481. package/progressbar/progressbar.cjs.js +3 -1
  482. package/progressbar/progressbar.cjs.min.js +1 -1
  483. package/progressbar/progressbar.esm.js +3 -1
  484. package/progressbar/progressbar.esm.min.js +1 -1
  485. package/progressbar/progressbar.js +3 -1
  486. package/progressbar/progressbar.min.js +1 -1
  487. package/radiobutton/BaseRadioButton.vue +9 -4
  488. package/radiobutton/RadioButton.d.ts +48 -22
  489. package/radiobutton/RadioButton.vue +36 -23
  490. package/radiobutton/radiobutton.cjs.js +42 -50
  491. package/radiobutton/radiobutton.cjs.min.js +1 -1
  492. package/radiobutton/radiobutton.esm.js +42 -50
  493. package/radiobutton/radiobutton.esm.min.js +1 -1
  494. package/radiobutton/radiobutton.js +42 -50
  495. package/radiobutton/radiobutton.min.js +1 -1
  496. package/radiobutton/style/radiobuttonstyle.cjs.js +5 -11
  497. package/radiobutton/style/radiobuttonstyle.cjs.min.js +1 -1
  498. package/radiobutton/style/radiobuttonstyle.esm.js +5 -11
  499. package/radiobutton/style/radiobuttonstyle.esm.min.js +1 -1
  500. package/radiobutton/style/radiobuttonstyle.js +5 -11
  501. package/radiobutton/style/radiobuttonstyle.min.js +1 -1
  502. package/resources/themes/arya-blue/theme.css +434 -353
  503. package/resources/themes/arya-green/theme.css +434 -353
  504. package/resources/themes/arya-orange/theme.css +434 -353
  505. package/resources/themes/arya-purple/theme.css +434 -353
  506. package/resources/themes/aura-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
  507. package/resources/themes/aura-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
  508. package/resources/themes/aura-dark-amber/theme.css +7012 -0
  509. package/resources/themes/aura-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
  510. package/resources/themes/aura-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
  511. package/resources/themes/aura-dark-blue/theme.css +7012 -0
  512. package/resources/themes/aura-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
  513. package/resources/themes/aura-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
  514. package/resources/themes/aura-dark-cyan/theme.css +7012 -0
  515. package/resources/themes/aura-dark-green/fonts/Inter-italic.var.woff2 +0 -0
  516. package/resources/themes/aura-dark-green/fonts/Inter-roman.var.woff2 +0 -0
  517. package/resources/themes/aura-dark-green/theme.css +7012 -0
  518. package/resources/themes/aura-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
  519. package/resources/themes/aura-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
  520. package/resources/themes/aura-dark-indigo/theme.css +7012 -0
  521. package/resources/themes/aura-dark-lime/fonts/Inter-italic.var.woff2 +0 -0
  522. package/resources/themes/aura-dark-lime/fonts/Inter-roman.var.woff2 +0 -0
  523. package/resources/themes/aura-dark-lime/theme.css +7012 -0
  524. package/resources/themes/aura-dark-noir/fonts/Inter-italic.var.woff2 +0 -0
  525. package/resources/themes/aura-dark-noir/fonts/Inter-roman.var.woff2 +0 -0
  526. package/resources/themes/aura-dark-noir/theme.css +7012 -0
  527. package/resources/themes/aura-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
  528. package/resources/themes/aura-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
  529. package/resources/themes/aura-dark-pink/theme.css +7012 -0
  530. package/resources/themes/aura-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
  531. package/resources/themes/aura-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
  532. package/resources/themes/aura-dark-purple/theme.css +7012 -0
  533. package/resources/themes/aura-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
  534. package/resources/themes/aura-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
  535. package/resources/themes/aura-dark-teal/theme.css +7012 -0
  536. package/resources/themes/aura-light-amber/fonts/Inter-italic.var.woff2 +0 -0
  537. package/resources/themes/aura-light-amber/fonts/Inter-roman.var.woff2 +0 -0
  538. package/resources/themes/aura-light-amber/theme.css +7014 -0
  539. package/resources/themes/aura-light-blue/fonts/Inter-italic.var.woff2 +0 -0
  540. package/resources/themes/aura-light-blue/fonts/Inter-roman.var.woff2 +0 -0
  541. package/resources/themes/aura-light-blue/theme.css +7014 -0
  542. package/resources/themes/aura-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
  543. package/resources/themes/aura-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
  544. package/resources/themes/aura-light-cyan/theme.css +7014 -0
  545. package/resources/themes/aura-light-green/fonts/Inter-italic.var.woff2 +0 -0
  546. package/resources/themes/aura-light-green/fonts/Inter-roman.var.woff2 +0 -0
  547. package/resources/themes/aura-light-green/theme.css +7014 -0
  548. package/resources/themes/aura-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
  549. package/resources/themes/aura-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
  550. package/resources/themes/aura-light-indigo/theme.css +7014 -0
  551. package/resources/themes/aura-light-lime/fonts/Inter-italic.var.woff2 +0 -0
  552. package/resources/themes/aura-light-lime/fonts/Inter-roman.var.woff2 +0 -0
  553. package/resources/themes/aura-light-lime/theme.css +7014 -0
  554. package/resources/themes/aura-light-noir/fonts/Inter-italic.var.woff2 +0 -0
  555. package/resources/themes/aura-light-noir/fonts/Inter-roman.var.woff2 +0 -0
  556. package/resources/themes/aura-light-noir/theme.css +7022 -0
  557. package/resources/themes/aura-light-pink/fonts/Inter-italic.var.woff2 +0 -0
  558. package/resources/themes/aura-light-pink/fonts/Inter-roman.var.woff2 +0 -0
  559. package/resources/themes/aura-light-pink/theme.css +7014 -0
  560. package/resources/themes/aura-light-purple/fonts/Inter-italic.var.woff2 +0 -0
  561. package/resources/themes/aura-light-purple/fonts/Inter-roman.var.woff2 +0 -0
  562. package/resources/themes/aura-light-purple/theme.css +7014 -0
  563. package/resources/themes/aura-light-teal/fonts/Inter-italic.var.woff2 +0 -0
  564. package/resources/themes/aura-light-teal/fonts/Inter-roman.var.woff2 +0 -0
  565. package/resources/themes/aura-light-teal/theme.css +7014 -0
  566. package/resources/themes/bootstrap4-dark-blue/theme.css +531 -401
  567. package/resources/themes/bootstrap4-dark-purple/theme.css +531 -401
  568. package/resources/themes/bootstrap4-light-blue/theme.css +531 -401
  569. package/resources/themes/bootstrap4-light-purple/theme.css +531 -401
  570. package/resources/themes/fluent-light/theme.css +433 -352
  571. package/resources/themes/lara-dark-amber/theme.css +532 -402
  572. package/resources/themes/lara-dark-blue/theme.css +532 -402
  573. package/resources/themes/lara-dark-cyan/theme.css +532 -402
  574. package/resources/themes/lara-dark-green/theme.css +532 -402
  575. package/resources/themes/lara-dark-indigo/theme.css +532 -402
  576. package/resources/themes/lara-dark-pink/theme.css +532 -402
  577. package/resources/themes/lara-dark-purple/theme.css +532 -402
  578. package/resources/themes/lara-dark-teal/theme.css +532 -402
  579. package/resources/themes/lara-light-amber/theme.css +528 -398
  580. package/resources/themes/lara-light-blue/theme.css +528 -398
  581. package/resources/themes/lara-light-cyan/theme.css +528 -398
  582. package/resources/themes/lara-light-green/theme.css +528 -398
  583. package/resources/themes/lara-light-indigo/theme.css +528 -398
  584. package/resources/themes/lara-light-pink/theme.css +528 -398
  585. package/resources/themes/lara-light-purple/theme.css +528 -398
  586. package/resources/themes/lara-light-teal/theme.css +528 -398
  587. package/resources/themes/luna-amber/theme.css +434 -353
  588. package/resources/themes/luna-blue/theme.css +434 -353
  589. package/resources/themes/luna-green/theme.css +434 -353
  590. package/resources/themes/luna-pink/theme.css +434 -353
  591. package/resources/themes/md-dark-deeppurple/theme.css +694 -429
  592. package/resources/themes/md-dark-indigo/theme.css +694 -429
  593. package/resources/themes/md-light-deeppurple/theme.css +698 -433
  594. package/resources/themes/md-light-indigo/theme.css +698 -433
  595. package/resources/themes/mdc-dark-deeppurple/theme.css +694 -429
  596. package/resources/themes/mdc-dark-indigo/theme.css +694 -429
  597. package/resources/themes/mdc-light-deeppurple/theme.css +698 -433
  598. package/resources/themes/mdc-light-indigo/theme.css +698 -433
  599. package/resources/themes/mira/theme.css +484 -403
  600. package/resources/themes/nano/theme.css +434 -353
  601. package/resources/themes/nova/theme.css +434 -353
  602. package/resources/themes/nova-accent/theme.css +434 -353
  603. package/resources/themes/nova-alt/theme.css +434 -353
  604. package/resources/themes/nova-vue/theme.css +434 -353
  605. package/resources/themes/rhea/theme.css +434 -353
  606. package/resources/themes/saga-blue/theme.css +434 -353
  607. package/resources/themes/saga-green/theme.css +434 -353
  608. package/resources/themes/saga-orange/theme.css +434 -353
  609. package/resources/themes/saga-purple/theme.css +434 -353
  610. package/resources/themes/soho-dark/theme.css +532 -402
  611. package/resources/themes/soho-light/theme.css +532 -402
  612. package/resources/themes/tailwind-light/theme.css +434 -353
  613. package/resources/themes/vela-blue/theme.css +434 -353
  614. package/resources/themes/vela-green/theme.css +434 -353
  615. package/resources/themes/vela-orange/theme.css +434 -353
  616. package/resources/themes/vela-purple/theme.css +434 -353
  617. package/resources/themes/viva-dark/theme.css +533 -403
  618. package/resources/themes/viva-light/theme.css +533 -403
  619. package/slider/Slider.vue +0 -1
  620. package/slider/slider.cjs.js +0 -1
  621. package/slider/slider.cjs.min.js +1 -1
  622. package/slider/slider.esm.js +0 -1
  623. package/slider/slider.esm.min.js +1 -1
  624. package/slider/slider.js +0 -1
  625. package/slider/slider.min.js +1 -1
  626. package/speeddial/SpeedDial.vue +2 -2
  627. package/speeddial/speeddial.cjs.js +2 -2
  628. package/speeddial/speeddial.cjs.min.js +1 -1
  629. package/speeddial/speeddial.esm.js +2 -2
  630. package/speeddial/speeddial.esm.min.js +1 -1
  631. package/speeddial/speeddial.js +2 -2
  632. package/speeddial/speeddial.min.js +1 -1
  633. package/splitbutton/style/splitbuttonstyle.cjs.js +8 -5
  634. package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -1
  635. package/splitbutton/style/splitbuttonstyle.esm.js +8 -5
  636. package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -1
  637. package/splitbutton/style/splitbuttonstyle.js +8 -5
  638. package/splitbutton/style/splitbuttonstyle.min.js +1 -1
  639. package/tabview/TabView.vue +2 -3
  640. package/tabview/tabview.cjs.js +3 -3
  641. package/tabview/tabview.cjs.min.js +1 -1
  642. package/tabview/tabview.esm.js +3 -3
  643. package/tabview/tabview.esm.min.js +1 -1
  644. package/tabview/tabview.js +3 -3
  645. package/tabview/tabview.min.js +1 -1
  646. package/tag/Tag.vue +1 -1
  647. package/tag/tag.cjs.js +4 -2
  648. package/tag/tag.cjs.min.js +1 -1
  649. package/tag/tag.esm.js +4 -2
  650. package/tag/tag.esm.min.js +1 -1
  651. package/tag/tag.js +4 -2
  652. package/tag/tag.min.js +1 -1
  653. package/textarea/Textarea.d.ts +2 -2
  654. package/tieredmenu/TieredMenu.vue +1 -1
  655. package/tieredmenu/tieredmenu.cjs.js +2 -1
  656. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  657. package/tieredmenu/tieredmenu.esm.js +2 -1
  658. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  659. package/tieredmenu/tieredmenu.js +2 -1
  660. package/tieredmenu/tieredmenu.min.js +1 -1
  661. package/togglebutton/BaseToggleButton.vue +4 -4
  662. package/togglebutton/ToggleButton.d.ts +17 -24
  663. package/togglebutton/ToggleButton.vue +41 -67
  664. package/togglebutton/style/togglebuttonstyle.cjs.js +15 -8
  665. package/togglebutton/style/togglebuttonstyle.cjs.min.js +1 -1
  666. package/togglebutton/style/togglebuttonstyle.esm.js +15 -8
  667. package/togglebutton/style/togglebuttonstyle.esm.min.js +1 -1
  668. package/togglebutton/style/togglebuttonstyle.js +15 -8
  669. package/togglebutton/style/togglebuttonstyle.min.js +1 -1
  670. package/togglebutton/togglebutton.cjs.js +45 -80
  671. package/togglebutton/togglebutton.cjs.min.js +1 -1
  672. package/togglebutton/togglebutton.esm.js +46 -81
  673. package/togglebutton/togglebutton.esm.min.js +1 -1
  674. package/togglebutton/togglebutton.js +46 -82
  675. package/togglebutton/togglebutton.min.js +1 -1
  676. package/tree/BaseTree.vue +4 -0
  677. package/tree/Tree.d.ts +6 -9
  678. package/tree/Tree.vue +1 -1
  679. package/tree/TreeNode.vue +14 -11
  680. package/tree/style/treestyle.cjs.js +3 -6
  681. package/tree/style/treestyle.cjs.min.js +1 -1
  682. package/tree/style/treestyle.esm.js +3 -6
  683. package/tree/style/treestyle.esm.min.js +1 -1
  684. package/tree/style/treestyle.js +3 -6
  685. package/tree/style/treestyle.min.js +1 -1
  686. package/tree/tree.cjs.js +34 -21
  687. package/tree/tree.cjs.min.js +1 -1
  688. package/tree/tree.esm.js +34 -22
  689. package/tree/tree.esm.min.js +1 -1
  690. package/tree/tree.js +35 -23
  691. package/tree/tree.min.js +1 -1
  692. package/treetable/BodyCell.vue +26 -24
  693. package/treetable/TreeTable.vue +3 -1
  694. package/treetable/TreeTableRow.vue +2 -0
  695. package/treetable/style/treetablestyle.cjs.js +4 -13
  696. package/treetable/style/treetablestyle.cjs.min.js +1 -1
  697. package/treetable/style/treetablestyle.esm.js +4 -13
  698. package/treetable/style/treetablestyle.esm.min.js +1 -1
  699. package/treetable/style/treetablestyle.js +4 -13
  700. package/treetable/style/treetablestyle.min.js +1 -1
  701. package/treetable/treetable.cjs.js +39 -44
  702. package/treetable/treetable.cjs.min.js +1 -1
  703. package/treetable/treetable.esm.js +39 -45
  704. package/treetable/treetable.esm.min.js +1 -1
  705. package/treetable/treetable.js +40 -46
  706. package/treetable/treetable.min.js +1 -1
  707. package/tristatecheckbox/BaseTriStateCheckbox.vue +17 -9
  708. package/tristatecheckbox/TriStateCheckbox.d.ts +34 -23
  709. package/tristatecheckbox/TriStateCheckbox.vue +49 -61
  710. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.js +7 -13
  711. package/tristatecheckbox/style/tristatecheckboxstyle.cjs.min.js +1 -1
  712. package/tristatecheckbox/style/tristatecheckboxstyle.esm.js +7 -13
  713. package/tristatecheckbox/style/tristatecheckboxstyle.esm.min.js +1 -1
  714. package/tristatecheckbox/style/tristatecheckboxstyle.js +7 -13
  715. package/tristatecheckbox/style/tristatecheckboxstyle.min.js +1 -1
  716. package/tristatecheckbox/tristatecheckbox.cjs.js +69 -87
  717. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  718. package/tristatecheckbox/tristatecheckbox.esm.js +70 -88
  719. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  720. package/tristatecheckbox/tristatecheckbox.js +69 -87
  721. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  722. package/utils/utils.cjs.js +14 -6
  723. package/utils/utils.cjs.min.js +1 -1
  724. package/utils/utils.esm.js +14 -6
  725. package/utils/utils.esm.min.js +1 -1
  726. package/utils/utils.js +14 -6
  727. package/utils/utils.min.js +1 -1
  728. package/vetur-attributes.json +24 -0
  729. package/vetur-tags.json +6 -0
  730. package/virtualscroller/BaseVirtualScroller.vue +1 -1
  731. package/virtualscroller/VirtualScroller.vue +58 -50
  732. package/virtualscroller/virtualscroller.cjs.js +90 -77
  733. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  734. package/virtualscroller/virtualscroller.esm.js +90 -77
  735. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  736. package/virtualscroller/virtualscroller.js +90 -77
  737. package/virtualscroller/virtualscroller.min.js +1 -1
  738. package/web-types.json +71 -6
@@ -0,0 +1,302 @@
1
+ /**
2
+ *
3
+ * MeterGroup is a group of process status indicators.
4
+ *
5
+ * [Live Demo](https://primevue.org/metergroup)
6
+ *
7
+ * @module metergroup
8
+ *
9
+ */
10
+
11
+ import { VNode } from 'vue';
12
+ import { PassThroughOptions } from '../passthrough';
13
+ import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers';
14
+
15
+ export declare type MeterGroupPassThroughOptionType = MeterGroupPassThroughAttributes | ((options: MeterGroupPassThroughMethodOptions) => MeterGroupPassThroughAttributes | string) | string | null | undefined;
16
+
17
+ /**
18
+ * Custom passthrough(pt) option method.
19
+ */
20
+ export interface MeterGroupPassThroughMethodOptions {
21
+ /**
22
+ * Defines instance.
23
+ */
24
+ instance: any;
25
+ /**
26
+ * Defines valid properties.
27
+ */
28
+ props: MeterGroupProps;
29
+ /**
30
+ * Defines current inline state.
31
+ */
32
+ context: MeterGroupContext;
33
+ /**
34
+ * Defines valid attributes.
35
+ */
36
+ attrs: any;
37
+ /**
38
+ * Defines parent options.
39
+ */
40
+ parent: any;
41
+ /**
42
+ * Defines passthrough(pt) options in global config.
43
+ */
44
+ global: object | undefined;
45
+ }
46
+
47
+ /**
48
+ * Custom passthrough(pt) options.
49
+ * @see {@link MeterGroupProps.pt}
50
+ */
51
+ export interface MeterGroupPassThroughOptions {
52
+ /**
53
+ * Used to pass attributes to the root's DOM element.
54
+ */
55
+ root?: MeterGroupPassThroughOptionType;
56
+ /**
57
+ * Used to pass attributes to the label list's DOM element.
58
+ */
59
+ labellist?: MeterGroupPassThroughOptionType;
60
+ /**
61
+ * Used to pass attributes to the label list item's DOM element.
62
+ */
63
+ labellistitem?: MeterGroupPassThroughOptionType;
64
+ /**
65
+ * Used to pass attributes to the label list type's DOM element.
66
+ */
67
+ labellisttype?: MeterGroupPassThroughOptionType;
68
+ /**
69
+ * Used to pass attributes to the label's DOM element.
70
+ */
71
+ label?: MeterGroupPassThroughOptionType;
72
+ /**
73
+ * Used to pass attributes to the meter container's DOM element.
74
+ */
75
+ metercontainer?: MeterGroupPassThroughOptionType;
76
+ /**
77
+ * Used to pass attributes to the meter's DOM element.
78
+ */
79
+ meter?: MeterGroupPassThroughOptionType;
80
+ }
81
+
82
+ /**
83
+ * Custom passthrough attributes for each DOM elements
84
+ */
85
+ export interface MeterGroupPassThroughAttributes {
86
+ [key: string]: any;
87
+ }
88
+
89
+ /**
90
+ * Defines current options in MeterGroup component.
91
+ */
92
+ export interface MeterGroupContext {
93
+ /**
94
+ * Current value of the meter item
95
+ */
96
+ value: MeterItem;
97
+ /**
98
+ * Current index of the meter item
99
+ */
100
+ index: number;
101
+ }
102
+
103
+ /**
104
+ * Defines valid properties of a meter item.
105
+ */
106
+ export interface MeterItem {
107
+ /**
108
+ * Current label of the meter item.
109
+ */
110
+ label: string;
111
+ /**
112
+ * Current value of the meter item.
113
+ */
114
+ value: number;
115
+ /**
116
+ * Current color of the meter item.
117
+ */
118
+ color: string;
119
+ /**
120
+ * Current icon of the meter item.
121
+ */
122
+ icon: string;
123
+ /**
124
+ * Optional keys.
125
+ */
126
+ [key: string]: any;
127
+ }
128
+
129
+ /**
130
+ * Defines valid properties in MeterGroup component.
131
+ */
132
+ export interface MeterGroupProps {
133
+ /**
134
+ * Current value of the metergroup.
135
+ */
136
+ value?: MeterItem[] | undefined;
137
+ /**
138
+ * Mininum boundary value.
139
+ * @defaultValue 0
140
+ */
141
+ min?: number | undefined;
142
+ /**
143
+ * Maximum boundary value.
144
+ * @defaultValue 100
145
+ */
146
+ max?: number | undefined;
147
+ /**
148
+ * Specifies the layout of the component, valid values are 'horizontal' and 'vertical'.
149
+ * @defaultValue horizontal
150
+ */
151
+ orientation?: 'horizontal' | 'vertical' | undefined;
152
+ /**
153
+ * Specifies the label position of the component, valid values are 'start' and 'end'.
154
+ * @defaultValue end
155
+ */
156
+ labelPosition?: 'start' | 'end' | undefined;
157
+ /**
158
+ * Specifies the label orientation of the component, valid values are 'horizontal' and 'vertical'.
159
+ * @defaultValue horizontal
160
+ */
161
+ labelOrientation?: 'horizontal' | 'vertical' | undefined;
162
+ /**
163
+ * Used to pass attributes to DOM elements inside the component.
164
+ * @type {MeterGroupPassThroughOptions}
165
+ */
166
+ pt?: PassThrough<MeterGroupPassThroughOptions>;
167
+ /**
168
+ * Used to configure passthrough(pt) options of the component.
169
+ * @type {PassThroughOptions}
170
+ */
171
+ ptOptions?: PassThroughOptions;
172
+ /**
173
+ * When enabled, it removes component related styles in the core.
174
+ * @defaultValue false
175
+ */
176
+ unstyled?: boolean;
177
+ }
178
+
179
+ /**
180
+ * Defines valid slots in MeterGroup component.
181
+ */
182
+ export interface MeterGroupSlots {
183
+ /**
184
+ * Custom label template.
185
+ */
186
+ label(scope: {
187
+ /**
188
+ * Current value of the component
189
+ */
190
+ value: MeterItem[];
191
+ /**
192
+ * Total percent of the metergroup items
193
+ */
194
+ totalPercent: number;
195
+ /**
196
+ * Array of sequential sum of values of metergroup items
197
+ */
198
+ percentages: number[];
199
+ }): VNode[];
200
+ /**
201
+ * Custom meter template.
202
+ */
203
+ meter(scope: {
204
+ /**
205
+ * Current value of the meter item
206
+ */
207
+ value: MeterItem;
208
+ /**
209
+ * Current index of the meter item
210
+ */
211
+ index: number;
212
+ /**
213
+ * Style class of the meter item
214
+ */
215
+ class: string;
216
+ /**
217
+ * Current orientation of the component
218
+ */
219
+ orientation: string;
220
+ /**
221
+ * Current width of the meter item
222
+ */
223
+ size: string;
224
+ /**
225
+ * Total percent of the metergroup items
226
+ */
227
+ totalPercent: number;
228
+ }): VNode[];
229
+ /**
230
+ * Custom icon template.
231
+ */
232
+ icon(scope: {
233
+ /**
234
+ * Current value of the component
235
+ */
236
+ value: MeterItem;
237
+ /**
238
+ * Style class of the icon
239
+ */
240
+ class: string;
241
+ }): VNode[];
242
+ /**
243
+ * Custom start template.
244
+ */
245
+ start(scope: {
246
+ /**
247
+ * Current value of the component
248
+ */
249
+ value: MeterItem[];
250
+ /**
251
+ * Total percent of the metergroup items
252
+ */
253
+ totalPercent: number;
254
+ /**
255
+ * Array of sequential sum of values of metergroup items
256
+ */
257
+ percentages: number[];
258
+ }): VNode[];
259
+ /**
260
+ * Custom end template.
261
+ */
262
+ end(scope: {
263
+ /**
264
+ * Current value of the component
265
+ */
266
+ value: MeterItem[];
267
+ /**
268
+ * Total percent of the metergroup items
269
+ */
270
+ totalPercent: number;
271
+ /**
272
+ * Array of sequential sum of values of metergroup items
273
+ */
274
+ percentages: number[];
275
+ }): VNode[];
276
+ }
277
+
278
+ /**
279
+ * Defines valid emits in MeterGroup component.
280
+ */
281
+ export interface MeterGroupEmits {}
282
+
283
+ /**
284
+ * **PrimeVue - MeterGroup**
285
+ *
286
+ * _MeterGroup is a group of process status indicators._
287
+ *
288
+ * [Live Demo](https://www.primevue.org/metergroup/)
289
+ * --- ---
290
+ * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
291
+ *
292
+ * @group Component
293
+ */
294
+ declare class MeterGroup extends ClassComponent<MeterGroupProps, MeterGroupSlots, MeterGroupEmits> {}
295
+
296
+ declare module '@vue/runtime-core' {
297
+ interface GlobalComponents {
298
+ MeterGroup: GlobalComponentConstructor<MeterGroup>;
299
+ }
300
+ }
301
+
302
+ export default MeterGroup;
@@ -0,0 +1,73 @@
1
+ <template>
2
+ <div :class="cx('root')" role="meter" :aria-valuemin="min" :aria-valuemax="max" :aria-valuenow="totalPercent" v-bind="ptm('root')" data-pc-name="metergroup">
3
+ <slot v-if="labelPosition === 'start'" name="label" :value="value" :totalPercent="totalPercent" :percentages="percentages">
4
+ <MeterGroupLabel :value="value" :labelPosition="labelPosition" :labelOrientation="labelOrientation" :unstyled="unstyled" :pt="pt" />
5
+ </slot>
6
+ <slot name="start" :value="value" :totalPercent="totalPercent" :percentages="percentages" />
7
+ <div :class="cx('metercontainer')" v-bind="ptm('metercontainer')">
8
+ <template v-for="(val, index) in value" :key="index">
9
+ <slot name="meter" :value="val" :index="index" :class="cx('meter')" :orientation="orientation" :size="percentValue(val.value)" :totalPercent="totalPercent">
10
+ <span :class="cx('meter')" :style="meterSize(val)" v-bind="getPTOptions('meter', val, index)" />
11
+ </slot>
12
+ </template>
13
+ </div>
14
+ <slot name="end" :value="value" :totalPercent="totalPercent" :percentages="percentages" />
15
+ <slot v-if="labelPosition === 'end'" name="label" :value="value" :totalPercent="totalPercent" :percentages="percentages">
16
+ <MeterGroupLabel :value="value" :labelPosition="labelPosition" :labelOrientation="labelOrientation" :unstyled="unstyled" :pt="pt" />
17
+ </slot>
18
+ </div>
19
+ </template>
20
+
21
+ <script>
22
+ import BaseMeterGroup from './BaseMeterGroup.vue';
23
+ import MeterGroupLabel from './MeterGroupLabel.vue';
24
+
25
+ export default {
26
+ name: 'MeterGroup',
27
+ extends: BaseMeterGroup,
28
+ methods: {
29
+ getPTOptions(key, value, index) {
30
+ return this.ptm(key, {
31
+ context: {
32
+ value,
33
+ index
34
+ }
35
+ });
36
+ },
37
+ percent(meter = 0) {
38
+ const percentOfItem = ((meter - this.min) / (this.max - this.min)) * 100;
39
+
40
+ return Math.round(Math.max(0, Math.min(100, percentOfItem)));
41
+ },
42
+ percentValue(meter) {
43
+ return this.percent(meter) + '%';
44
+ },
45
+ meterSize(val) {
46
+ return {
47
+ backgroundColor: val.color,
48
+ width: this.orientation === 'horizontal' && this.percentValue(val.value),
49
+ height: this.orientation === 'vertical' && this.percentValue(val.value)
50
+ };
51
+ }
52
+ },
53
+ computed: {
54
+ totalPercent() {
55
+ return this.percent(this.value.reduce((total, val) => total + val.value, 0));
56
+ },
57
+ percentages() {
58
+ let sum = 0;
59
+ const sumsArray = [];
60
+
61
+ this.value.forEach((item) => {
62
+ sum += item.value;
63
+ sumsArray.push(sum);
64
+ });
65
+
66
+ return sumsArray;
67
+ }
68
+ },
69
+ components: {
70
+ MeterGroupLabel
71
+ }
72
+ };
73
+ </script>
@@ -0,0 +1,36 @@
1
+ <template>
2
+ <ol :class="cx('labellist')" v-bind="ptm('labellist')">
3
+ <li v-for="(val, index) in value" :key="index + '_label'" :class="cx('labellistitem')" v-bind="ptm('labellistitem')">
4
+ <slot name="icon" :value="val" :class="cx('labelicon')">
5
+ <i v-if="val.icon" :class="[val.icon, cx('labelicon')]" :style="{ color: val.color }" v-bind="ptm('labelicon')" />
6
+ <span v-else :class="cx('labellisttype')" :style="{ backgroundColor: val.color }" v-bind="ptm('labellisttype')" />
7
+ </slot>
8
+ <span :class="cx('label')" v-bind="ptm('label')">{{ val.label }} ({{ $parentInstance.percentValue(val.value) }})</span>
9
+ </li>
10
+ </ol>
11
+ </template>
12
+
13
+ <script>
14
+ import BaseComponent from 'primevue/basecomponent';
15
+
16
+ export default {
17
+ name: 'MeterGroupLabel',
18
+ hostName: 'MeterGroup',
19
+ extends: BaseComponent,
20
+ inheritAttrs: false,
21
+ props: {
22
+ value: {
23
+ type: Array,
24
+ default: null
25
+ },
26
+ labelPosition: {
27
+ type: String,
28
+ default: 'end'
29
+ },
30
+ labelOrientation: {
31
+ type: String,
32
+ default: 'horizontal'
33
+ }
34
+ }
35
+ };
36
+ </script>
@@ -0,0 +1,218 @@
1
+ 'use strict';
2
+
3
+ var BaseComponent = require('primevue/basecomponent');
4
+ var MeterGroupStyle = require('primevue/metergroup/style');
5
+ var vue = require('vue');
6
+
7
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
+
9
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
10
+ var MeterGroupStyle__default = /*#__PURE__*/_interopDefaultLegacy(MeterGroupStyle);
11
+
12
+ var script$2 = {
13
+ name: 'MeterGroup',
14
+ "extends": BaseComponent__default["default"],
15
+ props: {
16
+ value: {
17
+ type: Array,
18
+ "default": null
19
+ },
20
+ min: {
21
+ type: Number,
22
+ "default": 0
23
+ },
24
+ max: {
25
+ type: Number,
26
+ "default": 100
27
+ },
28
+ orientation: {
29
+ type: String,
30
+ "default": 'horizontal'
31
+ },
32
+ labelPosition: {
33
+ type: String,
34
+ "default": 'end'
35
+ },
36
+ labelOrientation: {
37
+ type: String,
38
+ "default": 'horizontal'
39
+ }
40
+ },
41
+ style: MeterGroupStyle__default["default"],
42
+ provide: function provide() {
43
+ return {
44
+ $parentInstance: this
45
+ };
46
+ }
47
+ };
48
+
49
+ var script$1 = {
50
+ name: 'MeterGroupLabel',
51
+ hostName: 'MeterGroup',
52
+ "extends": BaseComponent__default["default"],
53
+ inheritAttrs: false,
54
+ props: {
55
+ value: {
56
+ type: Array,
57
+ "default": null
58
+ },
59
+ labelPosition: {
60
+ type: String,
61
+ "default": 'end'
62
+ },
63
+ labelOrientation: {
64
+ type: String,
65
+ "default": 'horizontal'
66
+ }
67
+ }
68
+ };
69
+
70
+ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
71
+ return vue.openBlock(), vue.createElementBlock("ol", vue.mergeProps({
72
+ "class": _ctx.cx('labellist')
73
+ }, _ctx.ptm('labellist')), [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.value, function (val, index) {
74
+ return vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
75
+ key: index + '_label',
76
+ "class": _ctx.cx('labellistitem')
77
+ }, _ctx.ptm('labellistitem')), [vue.renderSlot(_ctx.$slots, "icon", {
78
+ value: val,
79
+ "class": vue.normalizeClass(_ctx.cx('labelicon'))
80
+ }, function () {
81
+ return [val.icon ? (vue.openBlock(), vue.createElementBlock("i", vue.mergeProps({
82
+ key: 0,
83
+ "class": [val.icon, _ctx.cx('labelicon')],
84
+ style: {
85
+ color: val.color
86
+ }
87
+ }, _ctx.ptm('labelicon')), null, 16)) : (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
88
+ key: 1,
89
+ "class": _ctx.cx('labellisttype'),
90
+ style: {
91
+ backgroundColor: val.color
92
+ }
93
+ }, _ctx.ptm('labellisttype')), null, 16))];
94
+ }), vue.createElementVNode("span", vue.mergeProps({
95
+ "class": _ctx.cx('label')
96
+ }, _ctx.ptm('label')), vue.toDisplayString(val.label) + " (" + vue.toDisplayString(_ctx.$parentInstance.percentValue(val.value)) + ")", 17)], 16);
97
+ }), 128))], 16);
98
+ }
99
+
100
+ script$1.render = render$1;
101
+
102
+ var script = {
103
+ name: 'MeterGroup',
104
+ "extends": script$2,
105
+ methods: {
106
+ getPTOptions: function getPTOptions(key, value, index) {
107
+ return this.ptm(key, {
108
+ context: {
109
+ value: value,
110
+ index: index
111
+ }
112
+ });
113
+ },
114
+ percent: function percent() {
115
+ var meter = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
116
+ var percentOfItem = (meter - this.min) / (this.max - this.min) * 100;
117
+ return Math.round(Math.max(0, Math.min(100, percentOfItem)));
118
+ },
119
+ percentValue: function percentValue(meter) {
120
+ return this.percent(meter) + '%';
121
+ },
122
+ meterSize: function meterSize(val) {
123
+ return {
124
+ backgroundColor: val.color,
125
+ width: this.orientation === 'horizontal' && this.percentValue(val.value),
126
+ height: this.orientation === 'vertical' && this.percentValue(val.value)
127
+ };
128
+ }
129
+ },
130
+ computed: {
131
+ totalPercent: function totalPercent() {
132
+ return this.percent(this.value.reduce(function (total, val) {
133
+ return total + val.value;
134
+ }, 0));
135
+ },
136
+ percentages: function percentages() {
137
+ var sum = 0;
138
+ var sumsArray = [];
139
+ this.value.forEach(function (item) {
140
+ sum += item.value;
141
+ sumsArray.push(sum);
142
+ });
143
+ return sumsArray;
144
+ }
145
+ },
146
+ components: {
147
+ MeterGroupLabel: script$1
148
+ }
149
+ };
150
+
151
+ var _hoisted_1 = ["aria-valuemin", "aria-valuemax", "aria-valuenow"];
152
+ function render(_ctx, _cache, $props, $setup, $data, $options) {
153
+ var _component_MeterGroupLabel = vue.resolveComponent("MeterGroupLabel");
154
+ return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
155
+ "class": _ctx.cx('root'),
156
+ role: "meter",
157
+ "aria-valuemin": _ctx.min,
158
+ "aria-valuemax": _ctx.max,
159
+ "aria-valuenow": $options.totalPercent
160
+ }, _ctx.ptm('root'), {
161
+ "data-pc-name": "metergroup"
162
+ }), [_ctx.labelPosition === 'start' ? vue.renderSlot(_ctx.$slots, "label", {
163
+ key: 0,
164
+ value: _ctx.value,
165
+ totalPercent: $options.totalPercent,
166
+ percentages: $options.percentages
167
+ }, function () {
168
+ return [vue.createVNode(_component_MeterGroupLabel, {
169
+ value: _ctx.value,
170
+ labelPosition: _ctx.labelPosition,
171
+ labelOrientation: _ctx.labelOrientation,
172
+ unstyled: _ctx.unstyled,
173
+ pt: _ctx.pt
174
+ }, null, 8, ["value", "labelPosition", "labelOrientation", "unstyled", "pt"])];
175
+ }) : vue.createCommentVNode("", true), vue.renderSlot(_ctx.$slots, "start", {
176
+ value: _ctx.value,
177
+ totalPercent: $options.totalPercent,
178
+ percentages: $options.percentages
179
+ }), vue.createElementVNode("div", vue.mergeProps({
180
+ "class": _ctx.cx('metercontainer')
181
+ }, _ctx.ptm('metercontainer')), [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.value, function (val, index) {
182
+ return vue.renderSlot(_ctx.$slots, "meter", {
183
+ key: index,
184
+ value: val,
185
+ index: index,
186
+ "class": vue.normalizeClass(_ctx.cx('meter')),
187
+ orientation: _ctx.orientation,
188
+ size: $options.percentValue(val.value),
189
+ totalPercent: $options.totalPercent
190
+ }, function () {
191
+ return [vue.createElementVNode("span", vue.mergeProps({
192
+ "class": _ctx.cx('meter'),
193
+ style: $options.meterSize(val)
194
+ }, $options.getPTOptions('meter', val, index)), null, 16)];
195
+ });
196
+ }), 128))], 16), vue.renderSlot(_ctx.$slots, "end", {
197
+ value: _ctx.value,
198
+ totalPercent: $options.totalPercent,
199
+ percentages: $options.percentages
200
+ }), _ctx.labelPosition === 'end' ? vue.renderSlot(_ctx.$slots, "label", {
201
+ key: 1,
202
+ value: _ctx.value,
203
+ totalPercent: $options.totalPercent,
204
+ percentages: $options.percentages
205
+ }, function () {
206
+ return [vue.createVNode(_component_MeterGroupLabel, {
207
+ value: _ctx.value,
208
+ labelPosition: _ctx.labelPosition,
209
+ labelOrientation: _ctx.labelOrientation,
210
+ unstyled: _ctx.unstyled,
211
+ pt: _ctx.pt
212
+ }, null, 8, ["value", "labelPosition", "labelOrientation", "unstyled", "pt"])];
213
+ }) : vue.createCommentVNode("", true)], 16, _hoisted_1);
214
+ }
215
+
216
+ script.render = render;
217
+
218
+ module.exports = script;
@@ -0,0 +1 @@
1
+ "use strict";var e=require("primevue/basecomponent"),t=require("primevue/metergroup/style"),l=require("vue");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e),a={name:"MeterGroup",extends:r.default,props:{value:{type:Array,default:null},min:{type:Number,default:0},max:{type:Number,default:100},orientation:{type:String,default:"horizontal"},labelPosition:{type:String,default:"end"},labelOrientation:{type:String,default:"horizontal"}},style:n(t).default,provide:function(){return{$parentInstance:this}}},o={name:"MeterGroupLabel",hostName:"MeterGroup",extends:r.default,inheritAttrs:!1,props:{value:{type:Array,default:null},labelPosition:{type:String,default:"end"},labelOrientation:{type:String,default:"horizontal"}}};o.render=function(e,t,n,r,a,o){return l.openBlock(),l.createElementBlock("ol",l.mergeProps({class:e.cx("labellist")},e.ptm("labellist")),[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(n.value,(function(t,n){return l.openBlock(),l.createElementBlock("li",l.mergeProps({key:n+"_label",class:e.cx("labellistitem")},e.ptm("labellistitem")),[l.renderSlot(e.$slots,"icon",{value:t,class:l.normalizeClass(e.cx("labelicon"))},(function(){return[t.icon?(l.openBlock(),l.createElementBlock("i",l.mergeProps({key:0,class:[t.icon,e.cx("labelicon")],style:{color:t.color}},e.ptm("labelicon")),null,16)):(l.openBlock(),l.createElementBlock("span",l.mergeProps({key:1,class:e.cx("labellisttype"),style:{backgroundColor:t.color}},e.ptm("labellisttype")),null,16))]})),l.createElementVNode("span",l.mergeProps({class:e.cx("label")},e.ptm("label")),l.toDisplayString(t.label)+" ("+l.toDisplayString(e.$parentInstance.percentValue(t.value))+")",17)],16)})),128))],16)};var i={name:"MeterGroup",extends:a,methods:{getPTOptions:function(e,t,l){return this.ptm(e,{context:{value:t,index:l}})},percent:function(){return Math.round(Math.max(0,Math.min(100,((arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)-this.min)/(this.max-this.min)*100)))},percentValue:function(e){return this.percent(e)+"%"},meterSize:function(e){return{backgroundColor:e.color,width:"horizontal"===this.orientation&&this.percentValue(e.value),height:"vertical"===this.orientation&&this.percentValue(e.value)}}},computed:{totalPercent:function(){return this.percent(this.value.reduce((function(e,t){return e+t.value}),0))},percentages:function(){var e=0,t=[];return this.value.forEach((function(l){t.push(e+=l.value)})),t}},components:{MeterGroupLabel:o}},u=["aria-valuemin","aria-valuemax","aria-valuenow"];i.render=function(e,t,n,r,a,o){var i=l.resolveComponent("MeterGroupLabel");return l.openBlock(),l.createElementBlock("div",l.mergeProps({class:e.cx("root"),role:"meter","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-valuenow":o.totalPercent},e.ptm("root"),{"data-pc-name":"metergroup"}),["start"===e.labelPosition?l.renderSlot(e.$slots,"label",{key:0,value:e.value,totalPercent:o.totalPercent,percentages:o.percentages},(function(){return[l.createVNode(i,{value:e.value,labelPosition:e.labelPosition,labelOrientation:e.labelOrientation,unstyled:e.unstyled,pt:e.pt},null,8,["value","labelPosition","labelOrientation","unstyled","pt"])]})):l.createCommentVNode("",!0),l.renderSlot(e.$slots,"start",{value:e.value,totalPercent:o.totalPercent,percentages:o.percentages}),l.createElementVNode("div",l.mergeProps({class:e.cx("metercontainer")},e.ptm("metercontainer")),[(l.openBlock(!0),l.createElementBlock(l.Fragment,null,l.renderList(e.value,(function(t,n){return l.renderSlot(e.$slots,"meter",{key:n,value:t,index:n,class:l.normalizeClass(e.cx("meter")),orientation:e.orientation,size:o.percentValue(t.value),totalPercent:o.totalPercent},(function(){return[l.createElementVNode("span",l.mergeProps({class:e.cx("meter"),style:o.meterSize(t)},o.getPTOptions("meter",t,n)),null,16)]}))})),128))],16),l.renderSlot(e.$slots,"end",{value:e.value,totalPercent:o.totalPercent,percentages:o.percentages}),"end"===e.labelPosition?l.renderSlot(e.$slots,"label",{key:1,value:e.value,totalPercent:o.totalPercent,percentages:o.percentages},(function(){return[l.createVNode(i,{value:e.value,labelPosition:e.labelPosition,labelOrientation:e.labelOrientation,unstyled:e.unstyled,pt:e.pt},null,8,["value","labelPosition","labelOrientation","unstyled","pt"])]})):l.createCommentVNode("",!0)],16,u)},module.exports=i;