primevue 3.26.1 → 3.28.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 (1142) hide show
  1. package/README.md +5 -9
  2. package/accordion/Accordion.d.ts +46 -2
  3. package/accordion/Accordion.vue +29 -13
  4. package/accordion/accordion.cjs.js +60 -33
  5. package/accordion/accordion.cjs.min.js +1 -1
  6. package/accordion/accordion.esm.js +58 -34
  7. package/accordion/accordion.esm.min.js +1 -1
  8. package/accordion/accordion.js +59 -35
  9. package/accordion/accordion.min.js +1 -1
  10. package/accordiontab/AccordionTab.d.ts +76 -1
  11. package/accordiontab/AccordionTab.vue +3 -0
  12. package/accordiontab/accordiontab.cjs.js +6 -0
  13. package/accordiontab/accordiontab.cjs.min.js +1 -1
  14. package/accordiontab/accordiontab.esm.js +2 -0
  15. package/accordiontab/accordiontab.esm.min.js +1 -1
  16. package/accordiontab/accordiontab.js +7 -2
  17. package/accordiontab/accordiontab.min.js +1 -1
  18. package/autocomplete/AutoComplete.d.ts +24 -3
  19. package/autocomplete/AutoComplete.vue +25 -10
  20. package/autocomplete/autocomplete.cjs.js +65 -36
  21. package/autocomplete/autocomplete.cjs.min.js +1 -1
  22. package/autocomplete/autocomplete.esm.js +63 -37
  23. package/autocomplete/autocomplete.esm.min.js +1 -1
  24. package/autocomplete/autocomplete.js +64 -38
  25. package/autocomplete/autocomplete.min.js +1 -1
  26. package/avatar/Avatar.d.ts +49 -0
  27. package/avatar/Avatar.vue +8 -7
  28. package/avatar/avatar.cjs.js +31 -24
  29. package/avatar/avatar.cjs.min.js +1 -1
  30. package/avatar/avatar.esm.js +28 -25
  31. package/avatar/avatar.esm.min.js +1 -1
  32. package/avatar/avatar.js +32 -26
  33. package/avatar/avatar.min.js +1 -1
  34. package/avatargroup/AvatarGroup.d.ts +27 -1
  35. package/avatargroup/AvatarGroup.vue +5 -2
  36. package/avatargroup/avatargroup.cjs.js +9 -5
  37. package/avatargroup/avatargroup.cjs.min.js +1 -1
  38. package/avatargroup/avatargroup.esm.js +6 -6
  39. package/avatargroup/avatargroup.esm.min.js +1 -1
  40. package/avatargroup/avatargroup.js +10 -7
  41. package/avatargroup/avatargroup.min.js +1 -1
  42. package/badge/Badge.d.ts +32 -0
  43. package/badge/Badge.vue +3 -1
  44. package/badge/badge.cjs.js +8 -4
  45. package/badge/badge.cjs.min.js +1 -1
  46. package/badge/badge.esm.js +5 -5
  47. package/badge/badge.esm.min.js +1 -1
  48. package/badge/badge.js +9 -6
  49. package/badge/badge.min.js +1 -1
  50. package/basecomponent/BaseComponent.vue +33 -0
  51. package/basecomponent/basecomponent.cjs.js +35 -0
  52. package/basecomponent/basecomponent.cjs.min.js +1 -0
  53. package/basecomponent/basecomponent.esm.js +33 -0
  54. package/basecomponent/basecomponent.esm.min.js +1 -0
  55. package/basecomponent/basecomponent.js +37 -0
  56. package/basecomponent/basecomponent.min.js +1 -0
  57. package/basecomponent/package.json +8 -0
  58. package/baseicon/BaseIcon.vue +66 -0
  59. package/baseicon/baseicon.cjs.js +66 -0
  60. package/baseicon/baseicon.cjs.min.js +1 -0
  61. package/baseicon/baseicon.esm.js +64 -0
  62. package/baseicon/baseicon.esm.min.js +1 -0
  63. package/baseicon/baseicon.js +68 -0
  64. package/baseicon/baseicon.min.js +1 -0
  65. package/baseicon/package.json +8 -0
  66. package/blockui/BlockUI.d.ts +44 -0
  67. package/blockui/BlockUI.vue +3 -1
  68. package/blockui/blockui.cjs.js +9 -3
  69. package/blockui/blockui.cjs.min.js +1 -1
  70. package/blockui/blockui.esm.js +6 -4
  71. package/blockui/blockui.esm.min.js +1 -1
  72. package/blockui/blockui.js +10 -5
  73. package/blockui/blockui.min.js +1 -1
  74. package/breadcrumb/Breadcrumb.d.ts +78 -0
  75. package/breadcrumb/Breadcrumb.vue +13 -7
  76. package/breadcrumb/BreadcrumbItem.vue +17 -16
  77. package/breadcrumb/breadcrumb.cjs.js +82 -69
  78. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  79. package/breadcrumb/breadcrumb.esm.js +78 -70
  80. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  81. package/breadcrumb/breadcrumb.js +82 -71
  82. package/breadcrumb/breadcrumb.min.js +1 -1
  83. package/button/Button.d.ts +68 -1
  84. package/button/Button.vue +25 -9
  85. package/button/button.cjs.js +50 -22
  86. package/button/button.cjs.min.js +1 -1
  87. package/button/button.esm.js +49 -23
  88. package/button/button.esm.min.js +1 -1
  89. package/button/button.js +50 -24
  90. package/button/button.min.js +1 -1
  91. package/calendar/Calendar.d.ts +25 -5
  92. package/calendar/Calendar.vue +56 -23
  93. package/calendar/calendar.cjs.js +84 -43
  94. package/calendar/calendar.cjs.min.js +1 -1
  95. package/calendar/calendar.esm.js +80 -44
  96. package/calendar/calendar.esm.min.js +1 -1
  97. package/calendar/calendar.js +81 -45
  98. package/calendar/calendar.min.js +1 -1
  99. package/card/Card.d.ts +51 -1
  100. package/card/Card.vue +15 -14
  101. package/card/card.cjs.js +33 -65
  102. package/card/card.cjs.min.js +1 -1
  103. package/card/card.esm.js +30 -66
  104. package/card/card.esm.min.js +1 -1
  105. package/card/card.js +34 -67
  106. package/card/card.min.js +1 -1
  107. package/carousel/Carousel.d.ts +8 -0
  108. package/carousel/Carousel.vue +16 -2
  109. package/carousel/carousel.cjs.js +20 -6
  110. package/carousel/carousel.cjs.min.js +1 -1
  111. package/carousel/carousel.esm.js +17 -7
  112. package/carousel/carousel.esm.min.js +1 -1
  113. package/carousel/carousel.js +18 -8
  114. package/carousel/carousel.min.js +1 -1
  115. package/cascadeselect/CascadeSelect.d.ts +16 -3
  116. package/cascadeselect/CascadeSelect.vue +16 -9
  117. package/cascadeselect/CascadeSelectSub.vue +10 -1
  118. package/cascadeselect/cascadeselect.cjs.js +46 -14
  119. package/cascadeselect/cascadeselect.cjs.min.js +1 -1
  120. package/cascadeselect/cascadeselect.esm.js +43 -14
  121. package/cascadeselect/cascadeselect.esm.min.js +1 -1
  122. package/cascadeselect/cascadeselect.js +45 -16
  123. package/cascadeselect/cascadeselect.min.js +1 -1
  124. package/chart/Chart.d.ts +36 -0
  125. package/chart/Chart.vue +5 -2
  126. package/chart/chart.cjs.js +10 -5
  127. package/chart/chart.cjs.min.js +1 -1
  128. package/chart/chart.esm.js +7 -6
  129. package/chart/chart.esm.min.js +1 -1
  130. package/chart/chart.js +11 -7
  131. package/chart/chart.min.js +1 -1
  132. package/checkbox/Checkbox.d.ts +13 -2
  133. package/checkbox/Checkbox.vue +7 -1
  134. package/checkbox/checkbox.cjs.js +11 -3
  135. package/checkbox/checkbox.cjs.min.js +1 -1
  136. package/checkbox/checkbox.esm.js +8 -4
  137. package/checkbox/checkbox.esm.min.js +1 -1
  138. package/checkbox/checkbox.js +12 -5
  139. package/checkbox/checkbox.min.js +1 -1
  140. package/chip/Chip.d.ts +80 -1
  141. package/chip/Chip.vue +16 -12
  142. package/chip/chip.cjs.js +43 -29
  143. package/chip/chip.cjs.min.js +1 -1
  144. package/chip/chip.esm.js +39 -30
  145. package/chip/chip.esm.min.js +1 -1
  146. package/chip/chip.js +43 -31
  147. package/chip/chip.min.js +1 -1
  148. package/chips/Chips.d.ts +12 -1
  149. package/chips/Chips.vue +8 -2
  150. package/chips/chips.cjs.js +22 -11
  151. package/chips/chips.cjs.min.js +1 -1
  152. package/chips/chips.esm.js +19 -12
  153. package/chips/chips.esm.min.js +1 -1
  154. package/chips/chips.js +23 -13
  155. package/chips/chips.min.js +1 -1
  156. package/column/Column.d.ts +77 -1
  157. package/column/Column.vue +1 -1
  158. package/column/column.cjs.js +1 -1
  159. package/column/column.cjs.min.js +1 -1
  160. package/column/column.esm.js +1 -1
  161. package/column/column.esm.min.js +1 -1
  162. package/column/column.js +1 -1
  163. package/column/column.min.js +1 -1
  164. package/config/PrimeVue.d.ts +8 -0
  165. package/config/config.cjs.js +3 -1
  166. package/config/config.cjs.min.js +1 -1
  167. package/config/config.esm.js +3 -2
  168. package/config/config.esm.min.js +1 -1
  169. package/config/config.js +3 -1
  170. package/config/config.min.js +1 -1
  171. package/confirmdialog/ConfirmDialog.d.ts +111 -1
  172. package/confirmdialog/ConfirmDialog.vue +22 -4
  173. package/confirmdialog/confirmdialog.cjs.js +47 -18
  174. package/confirmdialog/confirmdialog.cjs.min.js +1 -1
  175. package/confirmdialog/confirmdialog.esm.js +47 -19
  176. package/confirmdialog/confirmdialog.esm.min.js +1 -1
  177. package/confirmdialog/confirmdialog.js +48 -20
  178. package/confirmdialog/confirmdialog.min.js +1 -1
  179. package/confirmpopup/ConfirmPopup.d.ts +98 -1
  180. package/confirmpopup/ConfirmPopup.vue +24 -7
  181. package/confirmpopup/confirmpopup.cjs.js +51 -23
  182. package/confirmpopup/confirmpopup.cjs.min.js +1 -1
  183. package/confirmpopup/confirmpopup.esm.js +51 -24
  184. package/confirmpopup/confirmpopup.esm.min.js +1 -1
  185. package/confirmpopup/confirmpopup.js +52 -25
  186. package/confirmpopup/confirmpopup.min.js +1 -1
  187. package/contextmenu/ContextMenu.d.ts +158 -0
  188. package/contextmenu/ContextMenu.vue +5 -2
  189. package/contextmenu/ContextMenuSub.vue +60 -15
  190. package/contextmenu/contextmenu.cjs.js +93 -57
  191. package/contextmenu/contextmenu.cjs.min.js +1 -1
  192. package/contextmenu/contextmenu.esm.js +92 -58
  193. package/contextmenu/contextmenu.esm.min.js +1 -1
  194. package/contextmenu/contextmenu.js +93 -59
  195. package/contextmenu/contextmenu.min.js +1 -1
  196. package/core/core.js +2825 -424
  197. package/core/core.min.js +108 -14
  198. package/datatable/BodyCell.vue +44 -13
  199. package/datatable/ColumnFilter.vue +59 -17
  200. package/datatable/DataTable.d.ts +41 -3
  201. package/datatable/DataTable.vue +46 -10
  202. package/datatable/FooterCell.vue +1 -1
  203. package/datatable/HeaderCell.vue +36 -15
  204. package/datatable/HeaderCheckbox.vue +11 -2
  205. package/datatable/RowCheckbox.vue +11 -2
  206. package/datatable/TableBody.vue +15 -13
  207. package/datatable/TableFooter.vue +1 -1
  208. package/datatable/TableHeader.vue +10 -0
  209. package/datatable/datatable.cjs.js +424 -139
  210. package/datatable/datatable.cjs.min.js +1 -1
  211. package/datatable/datatable.esm.js +409 -140
  212. package/datatable/datatable.esm.min.js +1 -1
  213. package/datatable/datatable.js +410 -141
  214. package/datatable/datatable.min.js +1 -1
  215. package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +12 -2
  216. package/dataviewlayoutoptions/DataViewLayoutOptions.vue +13 -2
  217. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +25 -11
  218. package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
  219. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +21 -12
  220. package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
  221. package/dataviewlayoutoptions/dataviewlayoutoptions.js +25 -13
  222. package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
  223. package/deferredcontent/DeferredContent.d.ts +49 -1
  224. package/deferredcontent/DeferredContent.vue +4 -1
  225. package/deferredcontent/deferredcontent.cjs.js +8 -4
  226. package/deferredcontent/deferredcontent.cjs.min.js +1 -1
  227. package/deferredcontent/deferredcontent.esm.js +5 -5
  228. package/deferredcontent/deferredcontent.esm.min.js +1 -1
  229. package/deferredcontent/deferredcontent.js +9 -6
  230. package/deferredcontent/deferredcontent.min.js +1 -1
  231. package/dialog/Dialog.d.ts +105 -4
  232. package/dialog/Dialog.vue +43 -21
  233. package/dialog/dialog.cjs.js +54 -41
  234. package/dialog/dialog.cjs.min.js +1 -1
  235. package/dialog/dialog.esm.js +51 -42
  236. package/dialog/dialog.esm.min.js +1 -1
  237. package/dialog/dialog.js +52 -43
  238. package/dialog/dialog.min.js +1 -1
  239. package/divider/Divider.d.ts +36 -0
  240. package/divider/Divider.vue +5 -2
  241. package/divider/divider.cjs.js +15 -10
  242. package/divider/divider.cjs.min.js +1 -1
  243. package/divider/divider.esm.js +12 -11
  244. package/divider/divider.esm.min.js +1 -1
  245. package/divider/divider.js +16 -12
  246. package/divider/divider.min.js +1 -1
  247. package/dock/Dock.d.ts +94 -0
  248. package/dock/Dock.vue +4 -2
  249. package/dock/DockSub.vue +30 -6
  250. package/dock/dock.cjs.js +52 -39
  251. package/dock/dock.cjs.min.js +1 -1
  252. package/dock/dock.esm.js +52 -40
  253. package/dock/dock.esm.min.js +1 -1
  254. package/dock/dock.js +53 -41
  255. package/dock/dock.min.js +1 -1
  256. package/dropdown/Dropdown.d.ts +40 -4
  257. package/dropdown/Dropdown.vue +26 -13
  258. package/dropdown/dropdown.cjs.js +68 -31
  259. package/dropdown/dropdown.cjs.min.js +1 -1
  260. package/dropdown/dropdown.esm.js +65 -32
  261. package/dropdown/dropdown.esm.min.js +1 -1
  262. package/dropdown/dropdown.js +66 -33
  263. package/dropdown/dropdown.min.js +1 -1
  264. package/dynamicdialog/DynamicDialog.vue +3 -1
  265. package/dynamicdialog/dynamicdialog.cjs.js +5 -1
  266. package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
  267. package/dynamicdialog/dynamicdialog.esm.js +4 -1
  268. package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
  269. package/dynamicdialog/dynamicdialog.js +6 -3
  270. package/dynamicdialog/dynamicdialog.min.js +1 -1
  271. package/fieldset/Fieldset.d.ts +73 -0
  272. package/fieldset/Fieldset.vue +18 -17
  273. package/fieldset/fieldset.cjs.js +33 -34
  274. package/fieldset/fieldset.cjs.min.js +1 -1
  275. package/fieldset/fieldset.esm.js +31 -35
  276. package/fieldset/fieldset.esm.min.js +1 -1
  277. package/fieldset/fieldset.js +32 -36
  278. package/fieldset/fieldset.min.js +1 -1
  279. package/fileupload/FileContent.vue +22 -9
  280. package/fileupload/FileUpload.d.ts +182 -3
  281. package/fileupload/FileUpload.vue +52 -31
  282. package/fileupload/fileupload.cjs.js +163 -100
  283. package/fileupload/fileupload.cjs.min.js +1 -1
  284. package/fileupload/fileupload.esm.js +160 -101
  285. package/fileupload/fileupload.esm.min.js +1 -1
  286. package/fileupload/fileupload.js +161 -102
  287. package/fileupload/fileupload.min.js +1 -1
  288. package/galleria/Galleria.d.ts +20 -0
  289. package/galleria/Galleria.vue +2 -2
  290. package/galleria/GalleriaContent.vue +7 -2
  291. package/galleria/GalleriaItem.vue +8 -2
  292. package/galleria/GalleriaThumbnails.vue +12 -20
  293. package/galleria/galleria.cjs.js +60 -64
  294. package/galleria/galleria.cjs.min.js +1 -1
  295. package/galleria/galleria.esm.js +56 -65
  296. package/galleria/galleria.esm.min.js +1 -1
  297. package/galleria/galleria.js +57 -66
  298. package/galleria/galleria.min.js +1 -1
  299. package/icons/angledoubledown/index.cjs.js +37 -0
  300. package/icons/angledoubledown/index.cjs.min.js +1 -0
  301. package/icons/angledoubledown/index.d.ts +12 -0
  302. package/icons/angledoubledown/index.esm.js +31 -0
  303. package/icons/angledoubledown/index.esm.min.js +1 -0
  304. package/icons/angledoubledown/index.js +39 -0
  305. package/icons/angledoubledown/index.min.js +1 -0
  306. package/icons/angledoubledown/index.vue +18 -0
  307. package/icons/angledoubledown/package.json +9 -0
  308. package/icons/angledoubleleft/index.cjs.js +37 -0
  309. package/icons/angledoubleleft/index.cjs.min.js +1 -0
  310. package/icons/angledoubleleft/index.d.ts +12 -0
  311. package/icons/angledoubleleft/index.esm.js +31 -0
  312. package/icons/angledoubleleft/index.esm.min.js +1 -0
  313. package/icons/angledoubleleft/index.js +39 -0
  314. package/icons/angledoubleleft/index.min.js +1 -0
  315. package/icons/angledoubleleft/index.vue +18 -0
  316. package/icons/angledoubleleft/package.json +9 -0
  317. package/icons/angledoubleright/index.cjs.js +37 -0
  318. package/icons/angledoubleright/index.cjs.min.js +1 -0
  319. package/icons/angledoubleright/index.d.ts +12 -0
  320. package/icons/angledoubleright/index.esm.js +31 -0
  321. package/icons/angledoubleright/index.esm.min.js +1 -0
  322. package/icons/angledoubleright/index.js +39 -0
  323. package/icons/angledoubleright/index.min.js +1 -0
  324. package/icons/angledoubleright/index.vue +18 -0
  325. package/icons/angledoubleright/package.json +9 -0
  326. package/icons/angledoubleup/index.cjs.js +37 -0
  327. package/icons/angledoubleup/index.cjs.min.js +1 -0
  328. package/icons/angledoubleup/index.d.ts +12 -0
  329. package/icons/angledoubleup/index.esm.js +31 -0
  330. package/icons/angledoubleup/index.esm.min.js +1 -0
  331. package/icons/angledoubleup/index.js +39 -0
  332. package/icons/angledoubleup/index.min.js +1 -0
  333. package/icons/angledoubleup/index.vue +18 -0
  334. package/icons/angledoubleup/package.json +9 -0
  335. package/icons/angledown/index.cjs.js +35 -0
  336. package/icons/angledown/index.cjs.min.js +1 -0
  337. package/icons/angledown/index.d.ts +12 -0
  338. package/icons/angledown/index.esm.js +29 -0
  339. package/icons/angledown/index.esm.min.js +1 -0
  340. package/icons/angledown/index.js +37 -0
  341. package/icons/angledown/index.min.js +1 -0
  342. package/icons/angledown/index.vue +16 -0
  343. package/icons/angledown/package.json +9 -0
  344. package/icons/angleleft/index.cjs.js +35 -0
  345. package/icons/angleleft/index.cjs.min.js +1 -0
  346. package/icons/angleleft/index.d.ts +12 -0
  347. package/icons/angleleft/index.esm.js +29 -0
  348. package/icons/angleleft/index.esm.min.js +1 -0
  349. package/icons/angleleft/index.js +37 -0
  350. package/icons/angleleft/index.min.js +1 -0
  351. package/icons/angleleft/index.vue +16 -0
  352. package/icons/angleleft/package.json +9 -0
  353. package/icons/angleright/index.cjs.js +35 -0
  354. package/icons/angleright/index.cjs.min.js +1 -0
  355. package/icons/angleright/index.d.ts +12 -0
  356. package/icons/angleright/index.esm.js +29 -0
  357. package/icons/angleright/index.esm.min.js +1 -0
  358. package/icons/angleright/index.js +37 -0
  359. package/icons/angleright/index.min.js +1 -0
  360. package/icons/angleright/index.vue +16 -0
  361. package/icons/angleright/package.json +9 -0
  362. package/icons/angleup/index.cjs.js +35 -0
  363. package/icons/angleup/index.cjs.min.js +1 -0
  364. package/icons/angleup/index.d.ts +12 -0
  365. package/icons/angleup/index.esm.js +29 -0
  366. package/icons/angleup/index.esm.min.js +1 -0
  367. package/icons/angleup/index.js +37 -0
  368. package/icons/angleup/index.min.js +1 -0
  369. package/icons/angleup/index.vue +16 -0
  370. package/icons/angleup/package.json +9 -0
  371. package/icons/arrowdown/index.cjs.js +49 -0
  372. package/icons/arrowdown/index.cjs.min.js +1 -0
  373. package/icons/arrowdown/index.d.ts +12 -0
  374. package/icons/arrowdown/index.esm.js +43 -0
  375. package/icons/arrowdown/index.esm.min.js +1 -0
  376. package/icons/arrowdown/index.js +51 -0
  377. package/icons/arrowdown/index.min.js +1 -0
  378. package/icons/arrowdown/index.vue +25 -0
  379. package/icons/arrowdown/package.json +9 -0
  380. package/icons/arrowup/index.cjs.js +49 -0
  381. package/icons/arrowup/index.cjs.min.js +1 -0
  382. package/icons/arrowup/index.d.ts +12 -0
  383. package/icons/arrowup/index.esm.js +43 -0
  384. package/icons/arrowup/index.esm.min.js +1 -0
  385. package/icons/arrowup/index.js +51 -0
  386. package/icons/arrowup/index.min.js +1 -0
  387. package/icons/arrowup/index.vue +25 -0
  388. package/icons/arrowup/package.json +9 -0
  389. package/icons/ban/index.cjs.js +47 -0
  390. package/icons/ban/index.cjs.min.js +1 -0
  391. package/icons/ban/index.d.ts +12 -0
  392. package/icons/ban/index.esm.js +41 -0
  393. package/icons/ban/index.esm.min.js +1 -0
  394. package/icons/ban/index.js +49 -0
  395. package/icons/ban/index.min.js +1 -0
  396. package/icons/ban/index.vue +23 -0
  397. package/icons/ban/package.json +9 -0
  398. package/icons/bars/index.cjs.js +37 -0
  399. package/icons/bars/index.cjs.min.js +1 -0
  400. package/icons/bars/index.d.ts +12 -0
  401. package/icons/bars/index.esm.js +31 -0
  402. package/icons/bars/index.esm.min.js +1 -0
  403. package/icons/bars/index.js +39 -0
  404. package/icons/bars/index.min.js +1 -0
  405. package/icons/bars/index.vue +18 -0
  406. package/icons/bars/package.json +9 -0
  407. package/icons/calendar/index.cjs.js +35 -0
  408. package/icons/calendar/index.cjs.min.js +1 -0
  409. package/icons/calendar/index.d.ts +12 -0
  410. package/icons/calendar/index.esm.js +29 -0
  411. package/icons/calendar/index.esm.min.js +1 -0
  412. package/icons/calendar/index.js +37 -0
  413. package/icons/calendar/index.min.js +1 -0
  414. package/icons/calendar/index.vue +16 -0
  415. package/icons/calendar/package.json +9 -0
  416. package/icons/check/index.cjs.js +35 -0
  417. package/icons/check/index.cjs.min.js +1 -0
  418. package/icons/check/index.d.ts +12 -0
  419. package/icons/check/index.esm.js +29 -0
  420. package/icons/check/index.esm.min.js +1 -0
  421. package/icons/check/index.js +37 -0
  422. package/icons/check/index.min.js +1 -0
  423. package/icons/check/index.vue +16 -0
  424. package/icons/check/package.json +9 -0
  425. package/icons/chevrondown/index.cjs.js +35 -0
  426. package/icons/chevrondown/index.cjs.min.js +1 -0
  427. package/icons/chevrondown/index.d.ts +12 -0
  428. package/icons/chevrondown/index.esm.js +29 -0
  429. package/icons/chevrondown/index.esm.min.js +1 -0
  430. package/icons/chevrondown/index.js +37 -0
  431. package/icons/chevrondown/index.min.js +1 -0
  432. package/icons/chevrondown/index.vue +16 -0
  433. package/icons/chevrondown/package.json +9 -0
  434. package/icons/chevronleft/index.cjs.js +35 -0
  435. package/icons/chevronleft/index.cjs.min.js +1 -0
  436. package/icons/chevronleft/index.d.ts +12 -0
  437. package/icons/chevronleft/index.esm.js +29 -0
  438. package/icons/chevronleft/index.esm.min.js +1 -0
  439. package/icons/chevronleft/index.js +37 -0
  440. package/icons/chevronleft/index.min.js +1 -0
  441. package/icons/chevronleft/index.vue +16 -0
  442. package/icons/chevronleft/package.json +9 -0
  443. package/icons/chevronright/index.cjs.js +35 -0
  444. package/icons/chevronright/index.cjs.min.js +1 -0
  445. package/icons/chevronright/index.d.ts +12 -0
  446. package/icons/chevronright/index.esm.js +29 -0
  447. package/icons/chevronright/index.esm.min.js +1 -0
  448. package/icons/chevronright/index.js +37 -0
  449. package/icons/chevronright/index.min.js +1 -0
  450. package/icons/chevronright/index.vue +16 -0
  451. package/icons/chevronright/package.json +9 -0
  452. package/icons/chevronup/index.cjs.js +35 -0
  453. package/icons/chevronup/index.cjs.min.js +1 -0
  454. package/icons/chevronup/index.d.ts +12 -0
  455. package/icons/chevronup/index.esm.js +29 -0
  456. package/icons/chevronup/index.esm.min.js +1 -0
  457. package/icons/chevronup/index.js +37 -0
  458. package/icons/chevronup/index.min.js +1 -0
  459. package/icons/chevronup/index.vue +16 -0
  460. package/icons/chevronup/package.json +9 -0
  461. package/icons/exclamationtriangle/index.cjs.js +32 -0
  462. package/icons/exclamationtriangle/index.cjs.min.js +1 -0
  463. package/icons/exclamationtriangle/index.d.ts +12 -0
  464. package/icons/exclamationtriangle/index.esm.js +26 -0
  465. package/icons/exclamationtriangle/index.esm.min.js +1 -0
  466. package/icons/exclamationtriangle/index.js +34 -0
  467. package/icons/exclamationtriangle/index.min.js +1 -0
  468. package/icons/exclamationtriangle/index.vue +31 -0
  469. package/icons/exclamationtriangle/package.json +9 -0
  470. package/icons/eye/index.cjs.js +37 -0
  471. package/icons/eye/index.cjs.min.js +1 -0
  472. package/icons/eye/index.d.ts +12 -0
  473. package/icons/eye/index.esm.js +31 -0
  474. package/icons/eye/index.esm.min.js +1 -0
  475. package/icons/eye/index.js +39 -0
  476. package/icons/eye/index.min.js +1 -0
  477. package/icons/eye/index.vue +18 -0
  478. package/icons/eye/package.json +9 -0
  479. package/icons/eyeslash/index.cjs.js +49 -0
  480. package/icons/eyeslash/index.cjs.min.js +1 -0
  481. package/icons/eyeslash/index.d.ts +12 -0
  482. package/icons/eyeslash/index.esm.js +43 -0
  483. package/icons/eyeslash/index.esm.min.js +1 -0
  484. package/icons/eyeslash/index.js +51 -0
  485. package/icons/eyeslash/index.min.js +1 -0
  486. package/icons/eyeslash/index.vue +25 -0
  487. package/icons/eyeslash/package.json +9 -0
  488. package/icons/filter/index.cjs.js +47 -0
  489. package/icons/filter/index.cjs.min.js +1 -0
  490. package/icons/filter/index.d.ts +12 -0
  491. package/icons/filter/index.esm.js +41 -0
  492. package/icons/filter/index.esm.min.js +1 -0
  493. package/icons/filter/index.js +49 -0
  494. package/icons/filter/index.min.js +1 -0
  495. package/icons/filter/index.vue +23 -0
  496. package/icons/filter/package.json +9 -0
  497. package/icons/filterslash/index.cjs.js +49 -0
  498. package/icons/filterslash/index.cjs.min.js +1 -0
  499. package/icons/filterslash/index.d.ts +12 -0
  500. package/icons/filterslash/index.esm.js +43 -0
  501. package/icons/filterslash/index.esm.min.js +1 -0
  502. package/icons/filterslash/index.js +51 -0
  503. package/icons/filterslash/index.min.js +1 -0
  504. package/icons/filterslash/index.vue +25 -0
  505. package/icons/filterslash/package.json +9 -0
  506. package/icons/index.d.ts +12 -0
  507. package/icons/infocircle/index.cjs.js +49 -0
  508. package/icons/infocircle/index.cjs.min.js +1 -0
  509. package/icons/infocircle/index.d.ts +12 -0
  510. package/icons/infocircle/index.esm.js +43 -0
  511. package/icons/infocircle/index.esm.min.js +1 -0
  512. package/icons/infocircle/index.js +51 -0
  513. package/icons/infocircle/index.min.js +1 -0
  514. package/icons/infocircle/index.vue +25 -0
  515. package/icons/infocircle/package.json +9 -0
  516. package/icons/minus/index.cjs.js +35 -0
  517. package/icons/minus/index.cjs.min.js +1 -0
  518. package/icons/minus/index.d.ts +12 -0
  519. package/icons/minus/index.esm.js +29 -0
  520. package/icons/minus/index.esm.min.js +1 -0
  521. package/icons/minus/index.js +37 -0
  522. package/icons/minus/index.min.js +1 -0
  523. package/icons/minus/index.vue +16 -0
  524. package/icons/minus/package.json +9 -0
  525. package/icons/pencil/index.cjs.js +47 -0
  526. package/icons/pencil/index.cjs.min.js +1 -0
  527. package/icons/pencil/index.d.ts +12 -0
  528. package/icons/pencil/index.esm.js +41 -0
  529. package/icons/pencil/index.esm.min.js +1 -0
  530. package/icons/pencil/index.js +49 -0
  531. package/icons/pencil/index.min.js +1 -0
  532. package/icons/pencil/index.vue +23 -0
  533. package/icons/pencil/package.json +9 -0
  534. package/icons/plus/index.cjs.js +47 -0
  535. package/icons/plus/index.cjs.min.js +1 -0
  536. package/icons/plus/index.d.ts +12 -0
  537. package/icons/plus/index.esm.js +41 -0
  538. package/icons/plus/index.esm.min.js +1 -0
  539. package/icons/plus/index.js +49 -0
  540. package/icons/plus/index.min.js +1 -0
  541. package/icons/plus/index.vue +23 -0
  542. package/icons/plus/package.json +9 -0
  543. package/icons/refresh/index.cjs.js +49 -0
  544. package/icons/refresh/index.cjs.min.js +1 -0
  545. package/icons/refresh/index.d.ts +12 -0
  546. package/icons/refresh/index.esm.js +43 -0
  547. package/icons/refresh/index.esm.min.js +1 -0
  548. package/icons/refresh/index.js +51 -0
  549. package/icons/refresh/index.min.js +1 -0
  550. package/icons/refresh/index.vue +25 -0
  551. package/icons/refresh/package.json +9 -0
  552. package/icons/search/index.cjs.js +49 -0
  553. package/icons/search/index.cjs.min.js +1 -0
  554. package/icons/search/index.d.ts +12 -0
  555. package/icons/search/index.esm.js +43 -0
  556. package/icons/search/index.esm.min.js +1 -0
  557. package/icons/search/index.js +51 -0
  558. package/icons/search/index.min.js +1 -0
  559. package/icons/search/index.vue +25 -0
  560. package/icons/search/package.json +9 -0
  561. package/icons/searchminus/index.cjs.js +49 -0
  562. package/icons/searchminus/index.cjs.min.js +1 -0
  563. package/icons/searchminus/index.d.ts +12 -0
  564. package/icons/searchminus/index.esm.js +43 -0
  565. package/icons/searchminus/index.esm.min.js +1 -0
  566. package/icons/searchminus/index.js +51 -0
  567. package/icons/searchminus/index.min.js +1 -0
  568. package/icons/searchminus/index.vue +25 -0
  569. package/icons/searchminus/package.json +9 -0
  570. package/icons/searchplus/index.cjs.js +49 -0
  571. package/icons/searchplus/index.cjs.min.js +1 -0
  572. package/icons/searchplus/index.d.ts +12 -0
  573. package/icons/searchplus/index.esm.js +43 -0
  574. package/icons/searchplus/index.esm.min.js +1 -0
  575. package/icons/searchplus/index.js +51 -0
  576. package/icons/searchplus/index.min.js +1 -0
  577. package/icons/searchplus/index.vue +25 -0
  578. package/icons/searchplus/package.json +9 -0
  579. package/icons/sortalt/index.cjs.js +32 -0
  580. package/icons/sortalt/index.cjs.min.js +1 -0
  581. package/icons/sortalt/index.d.ts +12 -0
  582. package/icons/sortalt/index.esm.js +26 -0
  583. package/icons/sortalt/index.esm.min.js +1 -0
  584. package/icons/sortalt/index.js +34 -0
  585. package/icons/sortalt/index.min.js +1 -0
  586. package/icons/sortalt/index.vue +29 -0
  587. package/icons/sortalt/package.json +9 -0
  588. package/icons/sortamountdown/index.cjs.js +32 -0
  589. package/icons/sortamountdown/index.cjs.min.js +1 -0
  590. package/icons/sortamountdown/index.d.ts +12 -0
  591. package/icons/sortamountdown/index.esm.js +26 -0
  592. package/icons/sortamountdown/index.esm.min.js +1 -0
  593. package/icons/sortamountdown/index.js +34 -0
  594. package/icons/sortamountdown/index.min.js +1 -0
  595. package/icons/sortamountdown/index.vue +43 -0
  596. package/icons/sortamountdown/package.json +9 -0
  597. package/icons/sortamountupalt/index.cjs.js +32 -0
  598. package/icons/sortamountupalt/index.cjs.min.js +1 -0
  599. package/icons/sortamountupalt/index.d.ts +12 -0
  600. package/icons/sortamountupalt/index.esm.js +26 -0
  601. package/icons/sortamountupalt/index.esm.min.js +1 -0
  602. package/icons/sortamountupalt/index.js +34 -0
  603. package/icons/sortamountupalt/index.min.js +1 -0
  604. package/icons/sortamountupalt/index.vue +43 -0
  605. package/icons/sortamountupalt/package.json +9 -0
  606. package/icons/spinner/index.cjs.js +47 -0
  607. package/icons/spinner/index.cjs.min.js +1 -0
  608. package/icons/spinner/index.d.ts +12 -0
  609. package/icons/spinner/index.esm.js +41 -0
  610. package/icons/spinner/index.esm.min.js +1 -0
  611. package/icons/spinner/index.js +49 -0
  612. package/icons/spinner/index.min.js +1 -0
  613. package/icons/spinner/index.vue +23 -0
  614. package/icons/spinner/package.json +9 -0
  615. package/icons/star/index.cjs.js +47 -0
  616. package/icons/star/index.cjs.min.js +1 -0
  617. package/icons/star/index.d.ts +12 -0
  618. package/icons/star/index.esm.js +41 -0
  619. package/icons/star/index.esm.min.js +1 -0
  620. package/icons/star/index.js +49 -0
  621. package/icons/star/index.min.js +1 -0
  622. package/icons/star/index.vue +23 -0
  623. package/icons/star/package.json +9 -0
  624. package/icons/starfill/index.cjs.js +47 -0
  625. package/icons/starfill/index.cjs.min.js +1 -0
  626. package/icons/starfill/index.d.ts +12 -0
  627. package/icons/starfill/index.esm.js +41 -0
  628. package/icons/starfill/index.esm.min.js +1 -0
  629. package/icons/starfill/index.js +49 -0
  630. package/icons/starfill/index.min.js +1 -0
  631. package/icons/starfill/index.vue +23 -0
  632. package/icons/starfill/package.json +9 -0
  633. package/icons/thlarge/index.cjs.js +49 -0
  634. package/icons/thlarge/index.cjs.min.js +1 -0
  635. package/icons/thlarge/index.d.ts +12 -0
  636. package/icons/thlarge/index.esm.js +43 -0
  637. package/icons/thlarge/index.esm.min.js +1 -0
  638. package/icons/thlarge/index.js +51 -0
  639. package/icons/thlarge/index.min.js +1 -0
  640. package/icons/thlarge/index.vue +25 -0
  641. package/icons/thlarge/package.json +9 -0
  642. package/icons/times/index.cjs.js +35 -0
  643. package/icons/times/index.cjs.min.js +1 -0
  644. package/icons/times/index.d.ts +12 -0
  645. package/icons/times/index.esm.js +29 -0
  646. package/icons/times/index.esm.min.js +1 -0
  647. package/icons/times/index.js +37 -0
  648. package/icons/times/index.min.js +1 -0
  649. package/icons/times/index.vue +16 -0
  650. package/icons/times/package.json +9 -0
  651. package/icons/timescircle/index.cjs.js +49 -0
  652. package/icons/timescircle/index.cjs.min.js +1 -0
  653. package/icons/timescircle/index.d.ts +12 -0
  654. package/icons/timescircle/index.esm.js +43 -0
  655. package/icons/timescircle/index.esm.min.js +1 -0
  656. package/icons/timescircle/index.js +51 -0
  657. package/icons/timescircle/index.min.js +1 -0
  658. package/icons/timescircle/index.vue +25 -0
  659. package/icons/timescircle/package.json +9 -0
  660. package/icons/trash/index.cjs.js +49 -0
  661. package/icons/trash/index.cjs.min.js +1 -0
  662. package/icons/trash/index.d.ts +12 -0
  663. package/icons/trash/index.esm.js +43 -0
  664. package/icons/trash/index.esm.min.js +1 -0
  665. package/icons/trash/index.js +51 -0
  666. package/icons/trash/index.min.js +1 -0
  667. package/icons/trash/index.vue +25 -0
  668. package/icons/trash/package.json +9 -0
  669. package/icons/undo/index.cjs.js +49 -0
  670. package/icons/undo/index.cjs.min.js +1 -0
  671. package/icons/undo/index.d.ts +12 -0
  672. package/icons/undo/index.esm.js +43 -0
  673. package/icons/undo/index.esm.min.js +1 -0
  674. package/icons/undo/index.js +51 -0
  675. package/icons/undo/index.min.js +1 -0
  676. package/icons/undo/index.vue +25 -0
  677. package/icons/undo/package.json +9 -0
  678. package/icons/upload/index.cjs.js +49 -0
  679. package/icons/upload/index.cjs.min.js +1 -0
  680. package/icons/upload/index.d.ts +12 -0
  681. package/icons/upload/index.esm.js +43 -0
  682. package/icons/upload/index.esm.min.js +1 -0
  683. package/icons/upload/index.js +51 -0
  684. package/icons/upload/index.min.js +1 -0
  685. package/icons/upload/index.vue +25 -0
  686. package/icons/upload/package.json +9 -0
  687. package/icons/windowmaximize/index.cjs.js +49 -0
  688. package/icons/windowmaximize/index.cjs.min.js +1 -0
  689. package/icons/windowmaximize/index.d.ts +12 -0
  690. package/icons/windowmaximize/index.esm.js +43 -0
  691. package/icons/windowmaximize/index.esm.min.js +1 -0
  692. package/icons/windowmaximize/index.js +51 -0
  693. package/icons/windowmaximize/index.min.js +1 -0
  694. package/icons/windowmaximize/index.vue +25 -0
  695. package/icons/windowmaximize/package.json +9 -0
  696. package/icons/windowminimize/index.cjs.js +49 -0
  697. package/icons/windowminimize/index.cjs.min.js +1 -0
  698. package/icons/windowminimize/index.d.ts +12 -0
  699. package/icons/windowminimize/index.esm.js +43 -0
  700. package/icons/windowminimize/index.esm.min.js +1 -0
  701. package/icons/windowminimize/index.js +51 -0
  702. package/icons/windowminimize/index.min.js +1 -0
  703. package/icons/windowminimize/index.vue +25 -0
  704. package/icons/windowminimize/package.json +9 -0
  705. package/image/Image.d.ts +1 -1
  706. package/image/Image.vue +21 -13
  707. package/image/image.cjs.js +45 -29
  708. package/image/image.cjs.min.js +1 -1
  709. package/image/image.esm.js +40 -30
  710. package/image/image.esm.min.js +1 -1
  711. package/image/image.js +41 -31
  712. package/image/image.min.js +1 -1
  713. package/inlinemessage/InlineMessage.d.ts +61 -0
  714. package/inlinemessage/InlineMessage.vue +25 -13
  715. package/inlinemessage/inlinemessage.cjs.js +36 -21
  716. package/inlinemessage/inlinemessage.cjs.min.js +1 -1
  717. package/inlinemessage/inlinemessage.esm.js +29 -22
  718. package/inlinemessage/inlinemessage.esm.min.js +1 -1
  719. package/inlinemessage/inlinemessage.js +33 -23
  720. package/inlinemessage/inlinemessage.min.js +1 -1
  721. package/inplace/Inplace.d.ts +64 -1
  722. package/inplace/Inplace.vue +16 -6
  723. package/inplace/inplace.cjs.js +28 -16
  724. package/inplace/inplace.cjs.min.js +1 -1
  725. package/inplace/inplace.esm.js +27 -17
  726. package/inplace/inplace.esm.min.js +1 -1
  727. package/inplace/inplace.js +28 -18
  728. package/inplace/inplace.min.js +1 -1
  729. package/inputnumber/InputNumber.d.ts +13 -4
  730. package/inputnumber/InputNumber.vue +35 -7
  731. package/inputnumber/inputnumber.cjs.js +53 -19
  732. package/inputnumber/inputnumber.cjs.min.js +1 -1
  733. package/inputnumber/inputnumber.esm.js +52 -20
  734. package/inputnumber/inputnumber.esm.min.js +1 -1
  735. package/inputnumber/inputnumber.js +53 -21
  736. package/inputnumber/inputnumber.min.js +1 -1
  737. package/listbox/Listbox.d.ts +6 -2
  738. package/listbox/Listbox.vue +8 -3
  739. package/listbox/listbox.cjs.js +10 -5
  740. package/listbox/listbox.cjs.min.js +1 -1
  741. package/listbox/listbox.esm.js +10 -6
  742. package/listbox/listbox.esm.min.js +1 -1
  743. package/listbox/listbox.js +11 -7
  744. package/listbox/listbox.min.js +1 -1
  745. package/megamenu/MegaMenu.d.ts +172 -0
  746. package/megamenu/MegaMenu.vue +7 -4
  747. package/megamenu/MegaMenuSub.vue +58 -22
  748. package/megamenu/megamenu.cjs.js +119 -86
  749. package/megamenu/megamenu.cjs.min.js +1 -1
  750. package/megamenu/megamenu.esm.js +117 -87
  751. package/megamenu/megamenu.esm.min.js +1 -1
  752. package/megamenu/megamenu.js +118 -88
  753. package/megamenu/megamenu.min.js +1 -1
  754. package/menu/Menu.d.ts +127 -0
  755. package/menu/Menu.vue +11 -8
  756. package/menu/Menuitem.vue +30 -11
  757. package/menu/menu.cjs.js +99 -71
  758. package/menu/menu.cjs.min.js +1 -1
  759. package/menu/menu.esm.js +99 -72
  760. package/menu/menu.esm.min.js +1 -1
  761. package/menu/menu.js +100 -73
  762. package/menu/menu.min.js +1 -1
  763. package/menubar/Menubar.d.ts +177 -0
  764. package/menubar/Menubar.vue +14 -7
  765. package/menubar/MenubarSub.vue +54 -18
  766. package/menubar/menubar.cjs.js +116 -76
  767. package/menubar/menubar.cjs.min.js +1 -1
  768. package/menubar/menubar.esm.js +113 -77
  769. package/menubar/menubar.esm.min.js +1 -1
  770. package/menubar/menubar.js +114 -78
  771. package/menubar/menubar.min.js +1 -1
  772. package/message/Message.d.ts +83 -1
  773. package/message/Message.vue +36 -22
  774. package/message/message.cjs.js +59 -35
  775. package/message/message.cjs.min.js +1 -1
  776. package/message/message.esm.js +54 -36
  777. package/message/message.esm.min.js +1 -1
  778. package/message/message.js +55 -37
  779. package/message/message.min.js +1 -1
  780. package/multiselect/MultiSelect.d.ts +85 -6
  781. package/multiselect/MultiSelect.vue +41 -17
  782. package/multiselect/multiselect.cjs.js +96 -32
  783. package/multiselect/multiselect.cjs.min.js +1 -1
  784. package/multiselect/multiselect.esm.js +91 -33
  785. package/multiselect/multiselect.esm.min.js +1 -1
  786. package/multiselect/multiselect.js +92 -34
  787. package/multiselect/multiselect.min.js +1 -1
  788. package/orderlist/OrderList.d.ts +16 -0
  789. package/orderlist/OrderList.vue +37 -5
  790. package/orderlist/orderlist.cjs.js +49 -9
  791. package/orderlist/orderlist.cjs.min.js +1 -1
  792. package/orderlist/orderlist.esm.js +46 -10
  793. package/orderlist/orderlist.esm.min.js +1 -1
  794. package/orderlist/orderlist.js +47 -11
  795. package/orderlist/orderlist.min.js +1 -1
  796. package/organizationchart/OrganizationChart.d.ts +10 -0
  797. package/organizationchart/OrganizationChartNode.vue +8 -1
  798. package/organizationchart/organizationchart.cjs.js +21 -3
  799. package/organizationchart/organizationchart.cjs.min.js +1 -1
  800. package/organizationchart/organizationchart.esm.js +16 -3
  801. package/organizationchart/organizationchart.esm.min.js +1 -1
  802. package/organizationchart/organizationchart.js +21 -5
  803. package/organizationchart/organizationchart.min.js +1 -1
  804. package/overlaypanel/OverlayPanel.d.ts +65 -0
  805. package/overlaypanel/OverlayPanel.vue +15 -5
  806. package/overlaypanel/overlaypanel.cjs.js +23 -11
  807. package/overlaypanel/overlaypanel.cjs.min.js +1 -1
  808. package/overlaypanel/overlaypanel.esm.js +22 -12
  809. package/overlaypanel/overlaypanel.esm.min.js +1 -1
  810. package/overlaypanel/overlaypanel.js +23 -13
  811. package/overlaypanel/overlaypanel.min.js +1 -1
  812. package/package.json +2 -3
  813. package/paginator/FirstPageLink.vue +11 -1
  814. package/paginator/LastPageLink.vue +11 -1
  815. package/paginator/NextPageLink.vue +11 -1
  816. package/paginator/Paginator.d.ts +17 -1
  817. package/paginator/Paginator.vue +4 -4
  818. package/paginator/PrevPageLink.vue +11 -1
  819. package/paginator/paginator.cjs.js +70 -34
  820. package/paginator/paginator.cjs.min.js +1 -1
  821. package/paginator/paginator.esm.js +67 -35
  822. package/paginator/paginator.esm.min.js +1 -1
  823. package/paginator/paginator.js +68 -36
  824. package/paginator/paginator.min.js +1 -1
  825. package/panel/Panel.d.ts +101 -1
  826. package/panel/Panel.vue +22 -9
  827. package/panel/panel.cjs.js +44 -27
  828. package/panel/panel.cjs.min.js +1 -1
  829. package/panel/panel.esm.js +42 -28
  830. package/panel/panel.esm.min.js +1 -1
  831. package/panel/panel.js +43 -29
  832. package/panel/panel.min.js +1 -1
  833. package/panelmenu/PanelMenu.d.ts +170 -0
  834. package/panelmenu/PanelMenu.vue +45 -17
  835. package/panelmenu/PanelMenuList.vue +6 -3
  836. package/panelmenu/PanelMenuSub.vue +48 -19
  837. package/panelmenu/panelmenu.cjs.js +175 -118
  838. package/panelmenu/panelmenu.cjs.min.js +1 -1
  839. package/panelmenu/panelmenu.esm.js +173 -119
  840. package/panelmenu/panelmenu.esm.min.js +1 -1
  841. package/panelmenu/panelmenu.js +174 -120
  842. package/panelmenu/panelmenu.min.js +1 -1
  843. package/password/Password.d.ts +20 -2
  844. package/password/Password.vue +13 -7
  845. package/password/password.cjs.js +30 -12
  846. package/password/password.cjs.min.js +1 -1
  847. package/password/password.esm.js +29 -13
  848. package/password/password.esm.min.js +1 -1
  849. package/password/password.js +30 -14
  850. package/password/password.min.js +1 -1
  851. package/picklist/PickList.d.ts +56 -0
  852. package/picklist/PickList.vue +134 -30
  853. package/picklist/picklist.cjs.js +166 -58
  854. package/picklist/picklist.cjs.min.js +1 -1
  855. package/picklist/picklist.esm.js +159 -59
  856. package/picklist/picklist.esm.min.js +1 -1
  857. package/picklist/picklist.js +160 -60
  858. package/picklist/picklist.min.js +1 -1
  859. package/progressbar/ProgressBar.d.ts +40 -0
  860. package/progressbar/ProgressBar.vue +8 -5
  861. package/progressbar/progressbar.cjs.js +25 -23
  862. package/progressbar/progressbar.cjs.min.js +1 -1
  863. package/progressbar/progressbar.esm.js +22 -24
  864. package/progressbar/progressbar.esm.min.js +1 -1
  865. package/progressbar/progressbar.js +26 -25
  866. package/progressbar/progressbar.min.js +1 -1
  867. package/progressspinner/ProgressSpinner.d.ts +40 -0
  868. package/progressspinner/ProgressSpinner.vue +6 -3
  869. package/progressspinner/progressspinner.cjs.js +18 -13
  870. package/progressspinner/progressspinner.cjs.min.js +1 -1
  871. package/progressspinner/progressspinner.esm.js +15 -14
  872. package/progressspinner/progressspinner.esm.min.js +1 -1
  873. package/progressspinner/progressspinner.js +19 -15
  874. package/progressspinner/progressspinner.min.js +1 -1
  875. package/rating/Rating.d.ts +3 -3
  876. package/rating/Rating.vue +14 -15
  877. package/rating/rating.cjs.js +26 -21
  878. package/rating/rating.cjs.min.js +1 -1
  879. package/rating/rating.esm.js +21 -22
  880. package/rating/rating.esm.min.js +1 -1
  881. package/rating/rating.js +25 -23
  882. package/rating/rating.min.js +1 -1
  883. package/resources/primevue.css +3 -1
  884. package/resources/primevue.min.css +1 -1
  885. package/resources/themes/arya-blue/theme.css +80 -1
  886. package/resources/themes/arya-green/theme.css +80 -1
  887. package/resources/themes/arya-orange/theme.css +80 -1
  888. package/resources/themes/arya-purple/theme.css +80 -1
  889. package/resources/themes/bootstrap4-dark-blue/theme.css +80 -1
  890. package/resources/themes/bootstrap4-dark-purple/theme.css +80 -1
  891. package/resources/themes/bootstrap4-light-blue/theme.css +80 -1
  892. package/resources/themes/bootstrap4-light-purple/theme.css +80 -1
  893. package/resources/themes/fluent-light/theme.css +80 -1
  894. package/resources/themes/lara-dark-blue/theme.css +80 -1
  895. package/resources/themes/lara-dark-indigo/theme.css +80 -1
  896. package/resources/themes/lara-dark-purple/theme.css +80 -1
  897. package/resources/themes/lara-dark-teal/theme.css +80 -1
  898. package/resources/themes/lara-light-blue/theme.css +80 -1
  899. package/resources/themes/lara-light-indigo/theme.css +80 -1
  900. package/resources/themes/lara-light-purple/theme.css +80 -1
  901. package/resources/themes/lara-light-teal/theme.css +80 -1
  902. package/resources/themes/luna-amber/theme.css +80 -1
  903. package/resources/themes/luna-blue/theme.css +80 -1
  904. package/resources/themes/luna-green/theme.css +80 -1
  905. package/resources/themes/luna-pink/theme.css +80 -1
  906. package/resources/themes/md-dark-deeppurple/theme.css +83 -1
  907. package/resources/themes/md-dark-indigo/theme.css +83 -1
  908. package/resources/themes/md-light-deeppurple/theme.css +83 -1
  909. package/resources/themes/md-light-indigo/theme.css +83 -1
  910. package/resources/themes/mdc-dark-deeppurple/theme.css +83 -1
  911. package/resources/themes/mdc-dark-indigo/theme.css +83 -1
  912. package/resources/themes/mdc-light-deeppurple/theme.css +83 -1
  913. package/resources/themes/mdc-light-indigo/theme.css +83 -1
  914. package/resources/themes/mira/theme.css +80 -1
  915. package/resources/themes/nano/theme.css +80 -1
  916. package/resources/themes/nova/theme.css +80 -1
  917. package/resources/themes/nova-accent/theme.css +80 -1
  918. package/resources/themes/nova-alt/theme.css +80 -1
  919. package/resources/themes/nova-vue/theme.css +80 -1
  920. package/resources/themes/rhea/theme.css +80 -1
  921. package/resources/themes/saga-blue/theme.css +80 -1
  922. package/resources/themes/saga-green/theme.css +80 -1
  923. package/resources/themes/saga-orange/theme.css +80 -1
  924. package/resources/themes/saga-purple/theme.css +80 -1
  925. package/resources/themes/soho-dark/theme.css +80 -1
  926. package/resources/themes/soho-light/theme.css +80 -1
  927. package/resources/themes/tailwind-light/theme.css +80 -1
  928. package/resources/themes/vela-blue/theme.css +80 -1
  929. package/resources/themes/vela-green/theme.css +80 -1
  930. package/resources/themes/vela-orange/theme.css +80 -1
  931. package/resources/themes/vela-purple/theme.css +80 -1
  932. package/resources/themes/viva-dark/theme.css +80 -1
  933. package/resources/themes/viva-light/theme.css +80 -1
  934. package/scrollpanel/ScrollPanel.d.ts +74 -0
  935. package/scrollpanel/ScrollPanel.vue +7 -3
  936. package/scrollpanel/scrollpanel.cjs.js +19 -15
  937. package/scrollpanel/scrollpanel.cjs.min.js +1 -1
  938. package/scrollpanel/scrollpanel.esm.js +16 -16
  939. package/scrollpanel/scrollpanel.esm.min.js +1 -1
  940. package/scrollpanel/scrollpanel.js +20 -17
  941. package/scrollpanel/scrollpanel.min.js +1 -1
  942. package/scrolltop/ScrollTop.d.ts +56 -2
  943. package/scrolltop/ScrollTop.vue +11 -6
  944. package/scrolltop/scrolltop.cjs.js +22 -12
  945. package/scrolltop/scrolltop.cjs.min.js +1 -1
  946. package/scrolltop/scrolltop.esm.js +18 -13
  947. package/scrolltop/scrolltop.esm.min.js +1 -1
  948. package/scrolltop/scrolltop.js +22 -14
  949. package/scrolltop/scrolltop.min.js +1 -1
  950. package/sidebar/Sidebar.d.ts +73 -1
  951. package/sidebar/Sidebar.vue +15 -9
  952. package/sidebar/sidebar.cjs.js +33 -26
  953. package/sidebar/sidebar.cjs.min.js +1 -1
  954. package/sidebar/sidebar.esm.js +32 -27
  955. package/sidebar/sidebar.esm.min.js +1 -1
  956. package/sidebar/sidebar.js +33 -28
  957. package/sidebar/sidebar.min.js +1 -1
  958. package/skeleton/Skeleton.d.ts +32 -0
  959. package/skeleton/Skeleton.vue +4 -1
  960. package/skeleton/skeleton.cjs.js +10 -4
  961. package/skeleton/skeleton.cjs.min.js +1 -1
  962. package/skeleton/skeleton.esm.js +7 -5
  963. package/skeleton/skeleton.esm.min.js +1 -1
  964. package/skeleton/skeleton.js +11 -6
  965. package/skeleton/skeleton.min.js +1 -1
  966. package/speeddial/SpeedDial.d.ts +113 -1
  967. package/speeddial/SpeedDial.vue +45 -14
  968. package/speeddial/speeddial.cjs.js +65 -34
  969. package/speeddial/speeddial.cjs.min.js +1 -1
  970. package/speeddial/speeddial.esm.js +64 -35
  971. package/speeddial/speeddial.esm.min.js +1 -1
  972. package/speeddial/speeddial.js +65 -36
  973. package/speeddial/speeddial.min.js +1 -1
  974. package/splitbutton/SplitButton.d.ts +74 -0
  975. package/splitbutton/SplitButton.vue +23 -7
  976. package/splitbutton/splitbutton.cjs.js +40 -16
  977. package/splitbutton/splitbutton.cjs.min.js +1 -1
  978. package/splitbutton/splitbutton.esm.js +39 -17
  979. package/splitbutton/splitbutton.esm.min.js +1 -1
  980. package/splitbutton/splitbutton.js +40 -18
  981. package/splitbutton/splitbutton.min.js +1 -1
  982. package/splitter/Splitter.d.ts +51 -0
  983. package/splitter/Splitter.vue +15 -3
  984. package/splitter/splitter.cjs.js +16 -11
  985. package/splitter/splitter.cjs.min.js +1 -1
  986. package/splitter/splitter.esm.js +13 -12
  987. package/splitter/splitter.esm.min.js +1 -1
  988. package/splitter/splitter.js +17 -13
  989. package/splitter/splitter.min.js +1 -1
  990. package/splitterpanel/SplitterPanel.d.ts +32 -0
  991. package/splitterpanel/SplitterPanel.vue +4 -1
  992. package/splitterpanel/splitterpanel.cjs.js +10 -4
  993. package/splitterpanel/splitterpanel.cjs.min.js +1 -1
  994. package/splitterpanel/splitterpanel.esm.js +7 -5
  995. package/splitterpanel/splitterpanel.esm.min.js +1 -1
  996. package/splitterpanel/splitterpanel.js +11 -6
  997. package/splitterpanel/splitterpanel.min.js +1 -1
  998. package/steps/Steps.d.ts +52 -0
  999. package/steps/Steps.vue +11 -8
  1000. package/steps/steps.cjs.js +34 -33
  1001. package/steps/steps.cjs.min.js +1 -1
  1002. package/steps/steps.esm.js +31 -34
  1003. package/steps/steps.esm.min.js +1 -1
  1004. package/steps/steps.js +35 -35
  1005. package/steps/steps.min.js +1 -1
  1006. package/tabmenu/TabMenu.d.ts +93 -0
  1007. package/tabmenu/TabMenu.vue +22 -10
  1008. package/tabmenu/tabmenu.cjs.js +61 -43
  1009. package/tabmenu/tabmenu.cjs.min.js +1 -1
  1010. package/tabmenu/tabmenu.esm.js +61 -44
  1011. package/tabmenu/tabmenu.esm.min.js +1 -1
  1012. package/tabmenu/tabmenu.js +62 -45
  1013. package/tabmenu/tabmenu.min.js +1 -1
  1014. package/tabpanel/TabPanel.d.ts +52 -2
  1015. package/tabpanel/TabPanel.vue +2 -0
  1016. package/tabpanel/tabpanel.cjs.js +6 -0
  1017. package/tabpanel/tabpanel.cjs.min.js +1 -1
  1018. package/tabpanel/tabpanel.esm.js +2 -0
  1019. package/tabpanel/tabpanel.esm.min.js +1 -1
  1020. package/tabpanel/tabpanel.js +7 -2
  1021. package/tabpanel/tabpanel.min.js +1 -1
  1022. package/tabview/TabView.d.ts +108 -3
  1023. package/tabview/TabView.vue +52 -15
  1024. package/tabview/tabview.cjs.js +81 -60
  1025. package/tabview/tabview.cjs.min.js +1 -1
  1026. package/tabview/tabview.esm.js +79 -61
  1027. package/tabview/tabview.esm.min.js +1 -1
  1028. package/tabview/tabview.js +80 -62
  1029. package/tabview/tabview.min.js +1 -1
  1030. package/tag/Tag.d.ts +45 -0
  1031. package/tag/Tag.vue +7 -3
  1032. package/tag/tag.cjs.js +19 -12
  1033. package/tag/tag.cjs.min.js +1 -1
  1034. package/tag/tag.esm.js +16 -13
  1035. package/tag/tag.esm.min.js +1 -1
  1036. package/tag/tag.js +20 -14
  1037. package/tag/tag.min.js +1 -1
  1038. package/terminal/Terminal.d.ts +79 -0
  1039. package/terminal/Terminal.vue +12 -10
  1040. package/terminal/terminal.cjs.js +23 -28
  1041. package/terminal/terminal.cjs.min.js +1 -1
  1042. package/terminal/terminal.esm.js +23 -29
  1043. package/terminal/terminal.esm.min.js +1 -1
  1044. package/terminal/terminal.js +24 -30
  1045. package/terminal/terminal.min.js +1 -1
  1046. package/tieredmenu/TieredMenu.d.ts +153 -0
  1047. package/tieredmenu/TieredMenu.vue +5 -2
  1048. package/tieredmenu/TieredMenuSub.vue +52 -15
  1049. package/tieredmenu/tieredmenu.cjs.js +88 -51
  1050. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  1051. package/tieredmenu/tieredmenu.esm.js +87 -52
  1052. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  1053. package/tieredmenu/tieredmenu.js +88 -53
  1054. package/tieredmenu/tieredmenu.min.js +1 -1
  1055. package/toast/Toast.d.ts +94 -6
  1056. package/toast/Toast.vue +10 -7
  1057. package/toast/ToastMessage.vue +35 -14
  1058. package/toast/toast.cjs.js +66 -41
  1059. package/toast/toast.cjs.min.js +1 -1
  1060. package/toast/toast.esm.js +61 -42
  1061. package/toast/toast.esm.min.js +1 -1
  1062. package/toast/toast.js +62 -43
  1063. package/toast/toast.min.js +1 -1
  1064. package/togglebutton/ToggleButton.d.ts +18 -2
  1065. package/togglebutton/ToggleButton.vue +4 -2
  1066. package/togglebutton/togglebutton.cjs.js +12 -7
  1067. package/togglebutton/togglebutton.cjs.min.js +1 -1
  1068. package/togglebutton/togglebutton.esm.js +13 -8
  1069. package/togglebutton/togglebutton.esm.min.js +1 -1
  1070. package/togglebutton/togglebutton.js +12 -7
  1071. package/togglebutton/togglebutton.min.js +1 -1
  1072. package/toolbar/Toolbar.d.ts +44 -0
  1073. package/toolbar/Toolbar.vue +6 -4
  1074. package/toolbar/toolbar.cjs.js +15 -12
  1075. package/toolbar/toolbar.cjs.min.js +1 -1
  1076. package/toolbar/toolbar.esm.js +12 -13
  1077. package/toolbar/toolbar.esm.min.js +1 -1
  1078. package/toolbar/toolbar.js +16 -14
  1079. package/toolbar/toolbar.min.js +1 -1
  1080. package/tree/Tree.d.ts +35 -5
  1081. package/tree/Tree.vue +13 -7
  1082. package/tree/TreeNode.vue +20 -9
  1083. package/tree/tree.cjs.js +73 -25
  1084. package/tree/tree.cjs.min.js +1 -1
  1085. package/tree/tree.esm.js +68 -26
  1086. package/tree/tree.esm.min.js +1 -1
  1087. package/tree/tree.js +69 -27
  1088. package/tree/tree.min.js +1 -1
  1089. package/treeselect/TreeSelect.d.ts +33 -0
  1090. package/treeselect/TreeSelect.vue +20 -6
  1091. package/treeselect/treeselect.cjs.js +44 -11
  1092. package/treeselect/treeselect.cjs.min.js +1 -1
  1093. package/treeselect/treeselect.esm.js +44 -12
  1094. package/treeselect/treeselect.esm.min.js +1 -1
  1095. package/treeselect/treeselect.js +45 -13
  1096. package/treeselect/treeselect.min.js +1 -1
  1097. package/treetable/BodyCell.vue +22 -11
  1098. package/treetable/HeaderCell.vue +28 -13
  1099. package/treetable/TreeTable.d.ts +42 -1
  1100. package/treetable/TreeTable.vue +32 -6
  1101. package/treetable/TreeTableRow.vue +6 -0
  1102. package/treetable/treetable.cjs.js +176 -41
  1103. package/treetable/treetable.cjs.min.js +1 -1
  1104. package/treetable/treetable.esm.js +168 -41
  1105. package/treetable/treetable.esm.min.js +1 -1
  1106. package/treetable/treetable.js +170 -43
  1107. package/treetable/treetable.min.js +1 -1
  1108. package/tristatecheckbox/TriStateCheckbox.d.ts +16 -2
  1109. package/tristatecheckbox/TriStateCheckbox.vue +16 -20
  1110. package/tristatecheckbox/tristatecheckbox.cjs.js +23 -22
  1111. package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
  1112. package/tristatecheckbox/tristatecheckbox.esm.js +19 -23
  1113. package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
  1114. package/tristatecheckbox/tristatecheckbox.js +23 -24
  1115. package/tristatecheckbox/tristatecheckbox.min.js +1 -1
  1116. package/utils/Utils.d.ts +1 -0
  1117. package/utils/utils.cjs.js +5 -0
  1118. package/utils/utils.cjs.min.js +1 -1
  1119. package/utils/utils.esm.js +5 -0
  1120. package/utils/utils.esm.min.js +1 -1
  1121. package/utils/utils.js +5 -0
  1122. package/utils/utils.min.js +1 -1
  1123. package/vetur-attributes.json +303 -7
  1124. package/vetur-tags.json +137 -53
  1125. package/virtualscroller/VirtualScroller.d.ts +4 -0
  1126. package/virtualscroller/VirtualScroller.vue +12 -1
  1127. package/virtualscroller/virtualscroller.cjs.js +18 -6
  1128. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  1129. package/virtualscroller/virtualscroller.esm.js +15 -7
  1130. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  1131. package/virtualscroller/virtualscroller.js +19 -8
  1132. package/virtualscroller/virtualscroller.min.js +1 -1
  1133. package/web-types.json +1725 -151
  1134. package/fullcalendar/FullCalendar.d.ts +0 -34
  1135. package/fullcalendar/FullCalendar.vue +0 -64
  1136. package/fullcalendar/fullcalendar.cjs.js +0 -67
  1137. package/fullcalendar/fullcalendar.cjs.min.js +0 -1
  1138. package/fullcalendar/fullcalendar.esm.js +0 -65
  1139. package/fullcalendar/fullcalendar.esm.min.js +0 -1
  1140. package/fullcalendar/fullcalendar.js +0 -67
  1141. package/fullcalendar/fullcalendar.min.js +0 -1
  1142. package/fullcalendar/package.json +0 -9
@@ -1 +1 @@
1
- "use strict";var e=require("vue"),n={name:"ProgressBar",props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},computed:{containerClass(){return["p-progressbar p-component",{"p-progressbar-determinate":this.determinate,"p-progressbar-indeterminate":this.indeterminate}]},progressStyle(){return{width:this.value+"%",display:"flex"}},indeterminate(){return"indeterminate"===this.mode},determinate(){return"determinate"===this.mode}}};const t=["aria-valuenow"],r={key:0,class:"p-progressbar-label"},a={key:1,class:"p-progressbar-indeterminate-container"},i=[e.createElementVNode("div",{class:"p-progressbar-value p-progressbar-value-animate"},null,-1)];!function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===t&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}("\n.p-progressbar {\n position: relative;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-value {\n height: 100%;\n width: 0%;\n position: absolute;\n display: none;\n border: 0 none;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-label {\n display: inline-flex;\n}\n.p-progressbar-determinate .p-progressbar-value-animate {\n transition: width 1s ease-in-out;\n}\n.p-progressbar-indeterminate .p-progressbar-value::before {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n}\n.p-progressbar-indeterminate .p-progressbar-value::after {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n -webkit-animation-delay: 1.15s;\n animation-delay: 1.15s;\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n"),n.render=function(n,s,o,l,p,m){return e.openBlock(),e.createElementBlock("div",{role:"progressbar",class:e.normalizeClass(m.containerClass),"aria-valuemin":"0","aria-valuenow":o.value,"aria-valuemax":"100"},[m.determinate?(e.openBlock(),e.createElementBlock("div",{key:0,class:"p-progressbar-value p-progressbar-value-animate",style:e.normalizeStyle(m.progressStyle)},[null!=o.value&&0!==o.value&&o.showValue?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(n.$slots,"default",{},(()=>[e.createTextVNode(e.toDisplayString(o.value+"%"),1)]))])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),m.indeterminate?(e.openBlock(),e.createElementBlock("div",a,i)):e.createCommentVNode("",!0)],10,t)},module.exports=n;
1
+ "use strict";var e=require("primevue/basecomponent"),n=require("vue");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r={name:"ProgressBar",extends:t(e).default,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},computed:{containerClass(){return["p-progressbar p-component",{"p-progressbar-determinate":this.determinate,"p-progressbar-indeterminate":this.indeterminate}]},progressStyle(){return{width:this.value+"%",display:"flex"}},indeterminate(){return"indeterminate"===this.mode},determinate(){return"determinate"===this.mode}}};const a=["aria-valuenow"];!function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===t&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}("\n.p-progressbar {\n position: relative;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-value {\n height: 100%;\n width: 0%;\n position: absolute;\n display: none;\n border: 0 none;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-label {\n display: inline-flex;\n}\n.p-progressbar-determinate .p-progressbar-value-animate {\n transition: width 1s ease-in-out;\n}\n.p-progressbar-indeterminate .p-progressbar-value::before {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n}\n.p-progressbar-indeterminate .p-progressbar-value::after {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n -webkit-animation-delay: 1.15s;\n animation-delay: 1.15s;\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n"),r.render=function(e,t,r,i,o,s){return n.openBlock(),n.createElementBlock("div",n.mergeProps({role:"progressbar",class:s.containerClass,"aria-valuemin":"0","aria-valuenow":r.value,"aria-valuemax":"100"},e.ptm("root")),[s.determinate?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:0,class:"p-progressbar-value p-progressbar-value-animate",style:s.progressStyle},e.ptm("value")),[null!=r.value&&0!==r.value&&r.showValue?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:0,class:"p-progressbar-label"},e.ptm("label")),[n.renderSlot(e.$slots,"default",{},(()=>[n.createTextVNode(n.toDisplayString(r.value+"%"),1)]))],16)):n.createCommentVNode("",!0)],16)):n.createCommentVNode("",!0),s.indeterminate?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:1,class:"p-progressbar-indeterminate-container"},e.ptm("root")),[n.createElementVNode("div",n.mergeProps({class:"p-progressbar-value p-progressbar-value-animate"},e.ptm("value")),null,16)],16)):n.createCommentVNode("",!0)],16,a)},module.exports=r;
@@ -1,7 +1,9 @@
1
- import { openBlock, createElementBlock, normalizeClass, normalizeStyle, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from 'vue';
1
+ import BaseComponent from 'primevue/basecomponent';
2
+ import { openBlock, createElementBlock, mergeProps, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode } from 'vue';
2
3
 
3
4
  var script = {
4
5
  name: 'ProgressBar',
6
+ extends: BaseComponent,
5
7
  props: {
6
8
  value: {
7
9
  type: Number,
@@ -42,46 +44,42 @@ var script = {
42
44
  };
43
45
 
44
46
  const _hoisted_1 = ["aria-valuenow"];
45
- const _hoisted_2 = {
46
- key: 0,
47
- class: "p-progressbar-label"
48
- };
49
- const _hoisted_3 = {
50
- key: 1,
51
- class: "p-progressbar-indeterminate-container"
52
- };
53
- const _hoisted_4 = /*#__PURE__*/createElementVNode("div", { class: "p-progressbar-value p-progressbar-value-animate" }, null, -1);
54
- const _hoisted_5 = [
55
- _hoisted_4
56
- ];
57
47
 
58
48
  function render(_ctx, _cache, $props, $setup, $data, $options) {
59
- return (openBlock(), createElementBlock("div", {
49
+ return (openBlock(), createElementBlock("div", mergeProps({
60
50
  role: "progressbar",
61
- class: normalizeClass($options.containerClass),
51
+ class: $options.containerClass,
62
52
  "aria-valuemin": "0",
63
53
  "aria-valuenow": $props.value,
64
54
  "aria-valuemax": "100"
65
- }, [
55
+ }, _ctx.ptm('root')), [
66
56
  ($options.determinate)
67
- ? (openBlock(), createElementBlock("div", {
57
+ ? (openBlock(), createElementBlock("div", mergeProps({
68
58
  key: 0,
69
59
  class: "p-progressbar-value p-progressbar-value-animate",
70
- style: normalizeStyle($options.progressStyle)
71
- }, [
60
+ style: $options.progressStyle
61
+ }, _ctx.ptm('value')), [
72
62
  ($props.value != null && $props.value !== 0 && $props.showValue)
73
- ? (openBlock(), createElementBlock("div", _hoisted_2, [
63
+ ? (openBlock(), createElementBlock("div", mergeProps({
64
+ key: 0,
65
+ class: "p-progressbar-label"
66
+ }, _ctx.ptm('label')), [
74
67
  renderSlot(_ctx.$slots, "default", {}, () => [
75
68
  createTextVNode(toDisplayString($props.value + '%'), 1)
76
69
  ])
77
- ]))
70
+ ], 16))
78
71
  : createCommentVNode("", true)
79
- ], 4))
72
+ ], 16))
80
73
  : createCommentVNode("", true),
81
74
  ($options.indeterminate)
82
- ? (openBlock(), createElementBlock("div", _hoisted_3, _hoisted_5))
75
+ ? (openBlock(), createElementBlock("div", mergeProps({
76
+ key: 1,
77
+ class: "p-progressbar-indeterminate-container"
78
+ }, _ctx.ptm('root')), [
79
+ createElementVNode("div", mergeProps({ class: "p-progressbar-value p-progressbar-value-animate" }, _ctx.ptm('value')), null, 16)
80
+ ], 16))
83
81
  : createCommentVNode("", true)
84
- ], 10, _hoisted_1))
82
+ ], 16, _hoisted_1))
85
83
  }
86
84
 
87
85
  function styleInject(css, ref) {
@@ -1 +1 @@
1
- import{openBlock as e,createElementBlock as n,normalizeClass as r,normalizeStyle as t,renderSlot as i,createTextVNode as a,toDisplayString as s,createCommentVNode as o,createElementVNode as l}from"vue";var p={name:"ProgressBar",props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},computed:{containerClass(){return["p-progressbar p-component",{"p-progressbar-determinate":this.determinate,"p-progressbar-indeterminate":this.indeterminate}]},progressStyle(){return{width:this.value+"%",display:"flex"}},indeterminate(){return"indeterminate"===this.mode},determinate(){return"determinate"===this.mode}}};const d=["aria-valuenow"],m={key:0,class:"p-progressbar-label"},g={key:1,class:"p-progressbar-indeterminate-container"},u=[l("div",{class:"p-progressbar-value p-progressbar-value-animate"},null,-1)];!function(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===r&&t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progressbar {\n position: relative;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-value {\n height: 100%;\n width: 0%;\n position: absolute;\n display: none;\n border: 0 none;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-label {\n display: inline-flex;\n}\n.p-progressbar-determinate .p-progressbar-value-animate {\n transition: width 1s ease-in-out;\n}\n.p-progressbar-indeterminate .p-progressbar-value::before {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n}\n.p-progressbar-indeterminate .p-progressbar-value::after {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n -webkit-animation-delay: 1.15s;\n animation-delay: 1.15s;\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n"),p.render=function(l,p,b,f,h,c){return e(),n("div",{role:"progressbar",class:r(c.containerClass),"aria-valuemin":"0","aria-valuenow":b.value,"aria-valuemax":"100"},[c.determinate?(e(),n("div",{key:0,class:"p-progressbar-value p-progressbar-value-animate",style:t(c.progressStyle)},[null!=b.value&&0!==b.value&&b.showValue?(e(),n("div",m,[i(l.$slots,"default",{},(()=>[a(s(b.value+"%"),1)]))])):o("",!0)],4)):o("",!0),c.indeterminate?(e(),n("div",g,u)):o("",!0)],10,d)};export{p as default};
1
+ import e from"primevue/basecomponent";import{openBlock as n,createElementBlock as t,mergeProps as r,renderSlot as i,createTextVNode as a,toDisplayString as s,createCommentVNode as o,createElementVNode as l}from"vue";var p={name:"ProgressBar",extends:e,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},computed:{containerClass(){return["p-progressbar p-component",{"p-progressbar-determinate":this.determinate,"p-progressbar-indeterminate":this.indeterminate}]},progressStyle(){return{width:this.value+"%",display:"flex"}},indeterminate(){return"indeterminate"===this.mode},determinate(){return"determinate"===this.mode}}};const m=["aria-valuenow"];!function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progressbar {\n position: relative;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-value {\n height: 100%;\n width: 0%;\n position: absolute;\n display: none;\n border: 0 none;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-label {\n display: inline-flex;\n}\n.p-progressbar-determinate .p-progressbar-value-animate {\n transition: width 1s ease-in-out;\n}\n.p-progressbar-indeterminate .p-progressbar-value::before {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n}\n.p-progressbar-indeterminate .p-progressbar-value::after {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n -webkit-animation-delay: 1.15s;\n animation-delay: 1.15s;\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n"),p.render=function(e,p,d,u,b,g){return n(),t("div",r({role:"progressbar",class:g.containerClass,"aria-valuemin":"0","aria-valuenow":d.value,"aria-valuemax":"100"},e.ptm("root")),[g.determinate?(n(),t("div",r({key:0,class:"p-progressbar-value p-progressbar-value-animate",style:g.progressStyle},e.ptm("value")),[null!=d.value&&0!==d.value&&d.showValue?(n(),t("div",r({key:0,class:"p-progressbar-label"},e.ptm("label")),[i(e.$slots,"default",{},(()=>[a(s(d.value+"%"),1)]))],16)):o("",!0)],16)):o("",!0),g.indeterminate?(n(),t("div",r({key:1,class:"p-progressbar-indeterminate-container"},e.ptm("root")),[l("div",r({class:"p-progressbar-value p-progressbar-value-animate"},e.ptm("value")),null,16)],16)):o("",!0)],16,m)};export{p as default};
@@ -1,9 +1,14 @@
1
1
  this.primevue = this.primevue || {};
2
- this.primevue.progressbar = (function (vue) {
2
+ this.primevue.progressbar = (function (BaseComponent, vue) {
3
3
  'use strict';
4
4
 
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
+
7
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
8
+
5
9
  var script = {
6
10
  name: 'ProgressBar',
11
+ extends: BaseComponent__default["default"],
7
12
  props: {
8
13
  value: {
9
14
  type: Number,
@@ -44,46 +49,42 @@ this.primevue.progressbar = (function (vue) {
44
49
  };
45
50
 
46
51
  const _hoisted_1 = ["aria-valuenow"];
47
- const _hoisted_2 = {
48
- key: 0,
49
- class: "p-progressbar-label"
50
- };
51
- const _hoisted_3 = {
52
- key: 1,
53
- class: "p-progressbar-indeterminate-container"
54
- };
55
- const _hoisted_4 = /*#__PURE__*/vue.createElementVNode("div", { class: "p-progressbar-value p-progressbar-value-animate" }, null, -1);
56
- const _hoisted_5 = [
57
- _hoisted_4
58
- ];
59
52
 
60
53
  function render(_ctx, _cache, $props, $setup, $data, $options) {
61
- return (vue.openBlock(), vue.createElementBlock("div", {
54
+ return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
62
55
  role: "progressbar",
63
- class: vue.normalizeClass($options.containerClass),
56
+ class: $options.containerClass,
64
57
  "aria-valuemin": "0",
65
58
  "aria-valuenow": $props.value,
66
59
  "aria-valuemax": "100"
67
- }, [
60
+ }, _ctx.ptm('root')), [
68
61
  ($options.determinate)
69
- ? (vue.openBlock(), vue.createElementBlock("div", {
62
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
70
63
  key: 0,
71
64
  class: "p-progressbar-value p-progressbar-value-animate",
72
- style: vue.normalizeStyle($options.progressStyle)
73
- }, [
65
+ style: $options.progressStyle
66
+ }, _ctx.ptm('value')), [
74
67
  ($props.value != null && $props.value !== 0 && $props.showValue)
75
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2, [
68
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
69
+ key: 0,
70
+ class: "p-progressbar-label"
71
+ }, _ctx.ptm('label')), [
76
72
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
77
73
  vue.createTextVNode(vue.toDisplayString($props.value + '%'), 1)
78
74
  ])
79
- ]))
75
+ ], 16))
80
76
  : vue.createCommentVNode("", true)
81
- ], 4))
77
+ ], 16))
82
78
  : vue.createCommentVNode("", true),
83
79
  ($options.indeterminate)
84
- ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_3, _hoisted_5))
80
+ ? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
81
+ key: 1,
82
+ class: "p-progressbar-indeterminate-container"
83
+ }, _ctx.ptm('root')), [
84
+ vue.createElementVNode("div", vue.mergeProps({ class: "p-progressbar-value p-progressbar-value-animate" }, _ctx.ptm('value')), null, 16)
85
+ ], 16))
85
86
  : vue.createCommentVNode("", true)
86
- ], 10, _hoisted_1))
87
+ ], 16, _hoisted_1))
87
88
  }
88
89
 
89
90
  function styleInject(css, ref) {
@@ -120,4 +121,4 @@ this.primevue.progressbar = (function (vue) {
120
121
 
121
122
  return script;
122
123
 
123
- })(Vue);
124
+ })(primevue.basecomponent, Vue);
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.progressbar=function(e){"use strict";var n={name:"ProgressBar",props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},computed:{containerClass(){return["p-progressbar p-component",{"p-progressbar-determinate":this.determinate,"p-progressbar-indeterminate":this.indeterminate}]},progressStyle(){return{width:this.value+"%",display:"flex"}},indeterminate(){return"indeterminate"===this.mode},determinate(){return"determinate"===this.mode}}};const t=["aria-valuenow"],r={key:0,class:"p-progressbar-label"},i={key:1,class:"p-progressbar-indeterminate-container"},a=[e.createElementVNode("div",{class:"p-progressbar-value p-progressbar-value-animate"},null,-1)];return function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progressbar {\n position: relative;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-value {\n height: 100%;\n width: 0%;\n position: absolute;\n display: none;\n border: 0 none;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-label {\n display: inline-flex;\n}\n.p-progressbar-determinate .p-progressbar-value-animate {\n transition: width 1s ease-in-out;\n}\n.p-progressbar-indeterminate .p-progressbar-value::before {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n}\n.p-progressbar-indeterminate .p-progressbar-value::after {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n -webkit-animation-delay: 1.15s;\n animation-delay: 1.15s;\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n"),n.render=function(n,s,o,l,p,m){return e.openBlock(),e.createElementBlock("div",{role:"progressbar",class:e.normalizeClass(m.containerClass),"aria-valuemin":"0","aria-valuenow":o.value,"aria-valuemax":"100"},[m.determinate?(e.openBlock(),e.createElementBlock("div",{key:0,class:"p-progressbar-value p-progressbar-value-animate",style:e.normalizeStyle(m.progressStyle)},[null!=o.value&&0!==o.value&&o.showValue?(e.openBlock(),e.createElementBlock("div",r,[e.renderSlot(n.$slots,"default",{},(()=>[e.createTextVNode(e.toDisplayString(o.value+"%"),1)]))])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0),m.indeterminate?(e.openBlock(),e.createElementBlock("div",i,a)):e.createCommentVNode("",!0)],10,t)},n}(Vue);
1
+ this.primevue=this.primevue||{},this.primevue.progressbar=function(e,n){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r={name:"ProgressBar",extends:t(e).default,props:{value:{type:Number,default:null},mode:{type:String,default:"determinate"},showValue:{type:Boolean,default:!0}},computed:{containerClass(){return["p-progressbar p-component",{"p-progressbar-determinate":this.determinate,"p-progressbar-indeterminate":this.indeterminate}]},progressStyle(){return{width:this.value+"%",display:"flex"}},indeterminate(){return"indeterminate"===this.mode},determinate(){return"determinate"===this.mode}}};const i=["aria-valuenow"];return function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progressbar {\n position: relative;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-value {\n height: 100%;\n width: 0%;\n position: absolute;\n display: none;\n border: 0 none;\n display: flex;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n}\n.p-progressbar-determinate .p-progressbar-label {\n display: inline-flex;\n}\n.p-progressbar-determinate .p-progressbar-value-animate {\n transition: width 1s ease-in-out;\n}\n.p-progressbar-indeterminate .p-progressbar-value::before {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n animation: p-progressbar-indeterminate-anim 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n}\n.p-progressbar-indeterminate .p-progressbar-value::after {\n content: '';\n position: absolute;\n background-color: inherit;\n top: 0;\n left: 0;\n bottom: 0;\n will-change: left, right;\n -webkit-animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n animation: p-progressbar-indeterminate-anim-short 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;\n -webkit-animation-delay: 1.15s;\n animation-delay: 1.15s;\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim {\n0% {\n left: -35%;\n right: 100%;\n}\n60% {\n left: 100%;\n right: -90%;\n}\n100% {\n left: 100%;\n right: -90%;\n}\n}\n@-webkit-keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n@keyframes p-progressbar-indeterminate-anim-short {\n0% {\n left: -200%;\n right: 100%;\n}\n60% {\n left: 107%;\n right: -8%;\n}\n100% {\n left: 107%;\n right: -8%;\n}\n}\n"),r.render=function(e,t,r,a,o,s){return n.openBlock(),n.createElementBlock("div",n.mergeProps({role:"progressbar",class:s.containerClass,"aria-valuemin":"0","aria-valuenow":r.value,"aria-valuemax":"100"},e.ptm("root")),[s.determinate?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:0,class:"p-progressbar-value p-progressbar-value-animate",style:s.progressStyle},e.ptm("value")),[null!=r.value&&0!==r.value&&r.showValue?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:0,class:"p-progressbar-label"},e.ptm("label")),[n.renderSlot(e.$slots,"default",{},(()=>[n.createTextVNode(n.toDisplayString(r.value+"%"),1)]))],16)):n.createCommentVNode("",!0)],16)):n.createCommentVNode("",!0),s.indeterminate?(n.openBlock(),n.createElementBlock("div",n.mergeProps({key:1,class:"p-progressbar-indeterminate-container"},e.ptm("root")),[n.createElementVNode("div",n.mergeProps({class:"p-progressbar-value p-progressbar-value-animate"},e.ptm("value")),null,16)],16)):n.createCommentVNode("",!0)],16,i)},r}(primevue.basecomponent,Vue);
@@ -9,6 +9,41 @@
9
9
  */
10
10
  import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
11
11
 
12
+ export declare type ProgressSpinnerPassThroughOptionType = ProgressSpinnerPassThroughAttributes | ((options: ProgressSpinnerPassThroughMethodOptions) => ProgressSpinnerPassThroughAttributes) | null | undefined;
13
+
14
+ /**
15
+ * Custom passthrough(pt) option method.
16
+ */
17
+ export interface ProgressSpinnerPassThroughMethodOptions {
18
+ props: ProgressSpinnerProps;
19
+ }
20
+
21
+ /**
22
+ * Custom passthrough(pt) options.
23
+ * @see {@link ProgressSpinnerProps.pt}
24
+ */
25
+ export interface ProgressSpinnerPassThroughOptions {
26
+ /**
27
+ * Uses to pass attributes to the root's DOM element.
28
+ */
29
+ root?: ProgressSpinnerPassThroughOptionType;
30
+ /**
31
+ * Uses to pass attributes to the spinner's DOM element.
32
+ */
33
+ spinner?: ProgressSpinnerPassThroughOptionType;
34
+ /**
35
+ * Uses to pass attributes to the circle's DOM element.
36
+ */
37
+ circle?: ProgressSpinnerPassThroughOptionType;
38
+ }
39
+
40
+ /**
41
+ * Custom passthrough attributes for each DOM elements
42
+ */
43
+ export interface ProgressSpinnerPassThroughAttributes {
44
+ [key: string]: any;
45
+ }
46
+
12
47
  /**
13
48
  * Defines valid properties in ProgressSpinner component.
14
49
  */
@@ -27,6 +62,11 @@ export interface ProgressSpinnerProps {
27
62
  * @defaultValue 2s
28
63
  */
29
64
  animationDuration?: string | undefined;
65
+ /**
66
+ * Uses to pass attributes to DOM elements inside the component.
67
+ * @type {ProgressSpinnerPassThroughOptions}
68
+ */
69
+ pt?: ProgressSpinnerPassThroughOptions;
30
70
  }
31
71
 
32
72
  /**
@@ -1,14 +1,17 @@
1
1
  <template>
2
- <div class="p-progress-spinner" role="progressbar">
3
- <svg class="p-progress-spinner-svg" viewBox="25 25 50 50" :style="svgStyle">
4
- <circle class="p-progress-spinner-circle" cx="50" cy="50" r="20" :fill="fill" :stroke-width="strokeWidth" strokeMiterlimit="10" />
2
+ <div class="p-progress-spinner" role="progressbar" v-bind="ptm('root')">
3
+ <svg class="p-progress-spinner-svg" viewBox="25 25 50 50" :style="svgStyle" v-bind="ptm('spinner')">
4
+ <circle class="p-progress-spinner-circle" cx="50" cy="50" r="20" :fill="fill" :stroke-width="strokeWidth" strokeMiterlimit="10" v-bind="ptm('circle')" />
5
5
  </svg>
6
6
  </div>
7
7
  </template>
8
8
 
9
9
  <script>
10
+ import BaseComponent from 'primevue/basecomponent';
11
+
10
12
  export default {
11
13
  name: 'ProgressSpinner',
14
+ extends: BaseComponent,
12
15
  props: {
13
16
  strokeWidth: {
14
17
  type: String,
@@ -1,9 +1,15 @@
1
1
  'use strict';
2
2
 
3
+ var BaseComponent = require('primevue/basecomponent');
3
4
  var vue = require('vue');
4
5
 
6
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
7
+
8
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
9
+
5
10
  var script = {
6
11
  name: 'ProgressSpinner',
12
+ extends: BaseComponent__default["default"],
7
13
  props: {
8
14
  strokeWidth: {
9
15
  type: String,
@@ -27,20 +33,19 @@ var script = {
27
33
  }
28
34
  };
29
35
 
30
- const _hoisted_1 = {
31
- class: "p-progress-spinner",
32
- role: "progressbar"
33
- };
34
- const _hoisted_2 = ["fill", "stroke-width"];
36
+ const _hoisted_1 = ["fill", "stroke-width"];
35
37
 
36
38
  function render(_ctx, _cache, $props, $setup, $data, $options) {
37
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
38
- (vue.openBlock(), vue.createElementBlock("svg", {
39
+ return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
40
+ class: "p-progress-spinner",
41
+ role: "progressbar"
42
+ }, _ctx.ptm('root')), [
43
+ (vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
39
44
  class: "p-progress-spinner-svg",
40
45
  viewBox: "25 25 50 50",
41
- style: vue.normalizeStyle($options.svgStyle)
42
- }, [
43
- vue.createElementVNode("circle", {
46
+ style: $options.svgStyle
47
+ }, _ctx.ptm('spinner')), [
48
+ vue.createElementVNode("circle", vue.mergeProps({
44
49
  class: "p-progress-spinner-circle",
45
50
  cx: "50",
46
51
  cy: "50",
@@ -48,9 +53,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
48
53
  fill: $props.fill,
49
54
  "stroke-width": $props.strokeWidth,
50
55
  strokeMiterlimit: "10"
51
- }, null, 8, _hoisted_2)
52
- ], 4))
53
- ]))
56
+ }, _ctx.ptm('circle')), null, 16, _hoisted_1)
57
+ ], 16))
58
+ ], 16))
54
59
  }
55
60
 
56
61
  function styleInject(css, ref) {
@@ -1 +1 @@
1
- "use strict";var e=require("vue"),n={name:"ProgressSpinner",props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},computed:{svgStyle(){return{"animation-duration":this.animationDuration}}}};const t={class:"p-progress-spinner",role:"progressbar"},r=["fill","stroke-width"];!function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progress-spinner {\n position: relative;\n margin: 0 auto;\n width: 100px;\n height: 100px;\n display: inline-block;\n}\n.p-progress-spinner::before {\n content: '';\n display: block;\n padding-top: 100%;\n}\n.p-progress-spinner-svg {\n height: 100%;\n transform-origin: center center;\n width: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n"),n.render=function(n,i,o,s,l,p){return e.openBlock(),e.createElementBlock("div",t,[(e.openBlock(),e.createElementBlock("svg",{class:"p-progress-spinner-svg",viewBox:"25 25 50 50",style:e.normalizeStyle(p.svgStyle)},[e.createElementVNode("circle",{class:"p-progress-spinner-circle",cx:"50",cy:"50",r:"20",fill:o.fill,"stroke-width":o.strokeWidth,strokeMiterlimit:"10"},null,8,r)],4))])},module.exports=n;
1
+ "use strict";var e=require("primevue/basecomponent"),t=require("vue");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r={name:"ProgressSpinner",extends:n(e).default,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},computed:{svgStyle(){return{"animation-duration":this.animationDuration}}}};const i=["fill","stroke-width"];!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progress-spinner {\n position: relative;\n margin: 0 auto;\n width: 100px;\n height: 100px;\n display: inline-block;\n}\n.p-progress-spinner::before {\n content: '';\n display: block;\n padding-top: 100%;\n}\n.p-progress-spinner-svg {\n height: 100%;\n transform-origin: center center;\n width: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n"),r.render=function(e,n,r,o,s,p){return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:"p-progress-spinner",role:"progressbar"},e.ptm("root")),[(t.openBlock(),t.createElementBlock("svg",t.mergeProps({class:"p-progress-spinner-svg",viewBox:"25 25 50 50",style:p.svgStyle},e.ptm("spinner")),[t.createElementVNode("circle",t.mergeProps({class:"p-progress-spinner-circle",cx:"50",cy:"50",r:"20",fill:r.fill,"stroke-width":r.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,i)],16))],16)},module.exports=r;
@@ -1,7 +1,9 @@
1
- import { openBlock, createElementBlock, normalizeStyle, createElementVNode } from 'vue';
1
+ import BaseComponent from 'primevue/basecomponent';
2
+ import { openBlock, createElementBlock, mergeProps, createElementVNode } from 'vue';
2
3
 
3
4
  var script = {
4
5
  name: 'ProgressSpinner',
6
+ extends: BaseComponent,
5
7
  props: {
6
8
  strokeWidth: {
7
9
  type: String,
@@ -25,20 +27,19 @@ var script = {
25
27
  }
26
28
  };
27
29
 
28
- const _hoisted_1 = {
29
- class: "p-progress-spinner",
30
- role: "progressbar"
31
- };
32
- const _hoisted_2 = ["fill", "stroke-width"];
30
+ const _hoisted_1 = ["fill", "stroke-width"];
33
31
 
34
32
  function render(_ctx, _cache, $props, $setup, $data, $options) {
35
- return (openBlock(), createElementBlock("div", _hoisted_1, [
36
- (openBlock(), createElementBlock("svg", {
33
+ return (openBlock(), createElementBlock("div", mergeProps({
34
+ class: "p-progress-spinner",
35
+ role: "progressbar"
36
+ }, _ctx.ptm('root')), [
37
+ (openBlock(), createElementBlock("svg", mergeProps({
37
38
  class: "p-progress-spinner-svg",
38
39
  viewBox: "25 25 50 50",
39
- style: normalizeStyle($options.svgStyle)
40
- }, [
41
- createElementVNode("circle", {
40
+ style: $options.svgStyle
41
+ }, _ctx.ptm('spinner')), [
42
+ createElementVNode("circle", mergeProps({
42
43
  class: "p-progress-spinner-circle",
43
44
  cx: "50",
44
45
  cy: "50",
@@ -46,9 +47,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
46
47
  fill: $props.fill,
47
48
  "stroke-width": $props.strokeWidth,
48
49
  strokeMiterlimit: "10"
49
- }, null, 8, _hoisted_2)
50
- ], 4))
51
- ]))
50
+ }, _ctx.ptm('circle')), null, 16, _hoisted_1)
51
+ ], 16))
52
+ ], 16))
52
53
  }
53
54
 
54
55
  function styleInject(css, ref) {
@@ -1 +1 @@
1
- import{openBlock as e,createElementBlock as n,normalizeStyle as t,createElementVNode as r}from"vue";var i={name:"ProgressSpinner",props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},computed:{svgStyle(){return{"animation-duration":this.animationDuration}}}};const s={class:"p-progress-spinner",role:"progressbar"},o=["fill","stroke-width"];!function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progress-spinner {\n position: relative;\n margin: 0 auto;\n width: 100px;\n height: 100px;\n display: inline-block;\n}\n.p-progress-spinner::before {\n content: '';\n display: block;\n padding-top: 100%;\n}\n.p-progress-spinner-svg {\n height: 100%;\n transform-origin: center center;\n width: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n"),i.render=function(i,p,l,a,d,c){return e(),n("div",s,[(e(),n("svg",{class:"p-progress-spinner-svg",viewBox:"25 25 50 50",style:t(c.svgStyle)},[r("circle",{class:"p-progress-spinner-circle",cx:"50",cy:"50",r:"20",fill:l.fill,"stroke-width":l.strokeWidth,strokeMiterlimit:"10"},null,8,o)],4))])};export{i as default};
1
+ import e from"primevue/basecomponent";import{openBlock as t,createElementBlock as n,mergeProps as r,createElementVNode as i}from"vue";var s={name:"ProgressSpinner",extends:e,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},computed:{svgStyle(){return{"animation-duration":this.animationDuration}}}};const o=["fill","stroke-width"];!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progress-spinner {\n position: relative;\n margin: 0 auto;\n width: 100px;\n height: 100px;\n display: inline-block;\n}\n.p-progress-spinner::before {\n content: '';\n display: block;\n padding-top: 100%;\n}\n.p-progress-spinner-svg {\n height: 100%;\n transform-origin: center center;\n width: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n"),s.render=function(e,s,p,l,a,d){return t(),n("div",r({class:"p-progress-spinner",role:"progressbar"},e.ptm("root")),[(t(),n("svg",r({class:"p-progress-spinner-svg",viewBox:"25 25 50 50",style:d.svgStyle},e.ptm("spinner")),[i("circle",r({class:"p-progress-spinner-circle",cx:"50",cy:"50",r:"20",fill:p.fill,"stroke-width":p.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,o)],16))],16)};export{s as default};
@@ -1,9 +1,14 @@
1
1
  this.primevue = this.primevue || {};
2
- this.primevue.progressspinner = (function (vue) {
2
+ this.primevue.progressspinner = (function (BaseComponent, vue) {
3
3
  'use strict';
4
4
 
5
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
6
+
7
+ var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
8
+
5
9
  var script = {
6
10
  name: 'ProgressSpinner',
11
+ extends: BaseComponent__default["default"],
7
12
  props: {
8
13
  strokeWidth: {
9
14
  type: String,
@@ -27,20 +32,19 @@ this.primevue.progressspinner = (function (vue) {
27
32
  }
28
33
  };
29
34
 
30
- const _hoisted_1 = {
31
- class: "p-progress-spinner",
32
- role: "progressbar"
33
- };
34
- const _hoisted_2 = ["fill", "stroke-width"];
35
+ const _hoisted_1 = ["fill", "stroke-width"];
35
36
 
36
37
  function render(_ctx, _cache, $props, $setup, $data, $options) {
37
- return (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
38
- (vue.openBlock(), vue.createElementBlock("svg", {
38
+ return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
39
+ class: "p-progress-spinner",
40
+ role: "progressbar"
41
+ }, _ctx.ptm('root')), [
42
+ (vue.openBlock(), vue.createElementBlock("svg", vue.mergeProps({
39
43
  class: "p-progress-spinner-svg",
40
44
  viewBox: "25 25 50 50",
41
- style: vue.normalizeStyle($options.svgStyle)
42
- }, [
43
- vue.createElementVNode("circle", {
45
+ style: $options.svgStyle
46
+ }, _ctx.ptm('spinner')), [
47
+ vue.createElementVNode("circle", vue.mergeProps({
44
48
  class: "p-progress-spinner-circle",
45
49
  cx: "50",
46
50
  cy: "50",
@@ -48,9 +52,9 @@ this.primevue.progressspinner = (function (vue) {
48
52
  fill: $props.fill,
49
53
  "stroke-width": $props.strokeWidth,
50
54
  strokeMiterlimit: "10"
51
- }, null, 8, _hoisted_2)
52
- ], 4))
53
- ]))
55
+ }, _ctx.ptm('circle')), null, 16, _hoisted_1)
56
+ ], 16))
57
+ ], 16))
54
58
  }
55
59
 
56
60
  function styleInject(css, ref) {
@@ -87,4 +91,4 @@ this.primevue.progressspinner = (function (vue) {
87
91
 
88
92
  return script;
89
93
 
90
- })(Vue);
94
+ })(primevue.basecomponent, Vue);
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.progressspinner=function(e){"use strict";var n={name:"ProgressSpinner",props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},computed:{svgStyle(){return{"animation-duration":this.animationDuration}}}};const t={class:"p-progress-spinner",role:"progressbar"},r=["fill","stroke-width"];return function(e,n){void 0===n&&(n={});var t=n.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===t&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progress-spinner {\n position: relative;\n margin: 0 auto;\n width: 100px;\n height: 100px;\n display: inline-block;\n}\n.p-progress-spinner::before {\n content: '';\n display: block;\n padding-top: 100%;\n}\n.p-progress-spinner-svg {\n height: 100%;\n transform-origin: center center;\n width: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n"),n.render=function(n,i,s,o,l,p){return e.openBlock(),e.createElementBlock("div",t,[(e.openBlock(),e.createElementBlock("svg",{class:"p-progress-spinner-svg",viewBox:"25 25 50 50",style:e.normalizeStyle(p.svgStyle)},[e.createElementVNode("circle",{class:"p-progress-spinner-circle",cx:"50",cy:"50",r:"20",fill:s.fill,"stroke-width":s.strokeWidth,strokeMiterlimit:"10"},null,8,r)],4))])},n}(Vue);
1
+ this.primevue=this.primevue||{},this.primevue.progressspinner=function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r={name:"ProgressSpinner",extends:n(e).default,props:{strokeWidth:{type:String,default:"2"},fill:{type:String,default:"none"},animationDuration:{type:String,default:"2s"}},computed:{svgStyle(){return{"animation-duration":this.animationDuration}}}};const i=["fill","stroke-width"];return function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&r.firstChild?r.insertBefore(i,r.firstChild):r.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-progress-spinner {\n position: relative;\n margin: 0 auto;\n width: 100px;\n height: 100px;\n display: inline-block;\n}\n.p-progress-spinner::before {\n content: '';\n display: block;\n padding-top: 100%;\n}\n.p-progress-spinner-svg {\n height: 100%;\n transform-origin: center center;\n width: 100%;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: auto;\n}\n"),r.render=function(e,n,r,s,o,p){return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:"p-progress-spinner",role:"progressbar"},e.ptm("root")),[(t.openBlock(),t.createElementBlock("svg",t.mergeProps({class:"p-progress-spinner-svg",viewBox:"25 25 50 50",style:p.svgStyle},e.ptm("spinner")),[t.createElementVNode("circle",t.mergeProps({class:"p-progress-spinner-circle",cx:"50",cy:"50",r:"20",fill:r.fill,"stroke-width":r.strokeWidth,strokeMiterlimit:"10"},e.ptm("circle")),null,16,i)],16))],16)},r}(primevue.basecomponent,Vue);
@@ -59,17 +59,17 @@ export interface RatingProps {
59
59
  cancel?: boolean | undefined;
60
60
  /**
61
61
  * Icon for the on state.
62
- * @defaultValue pi pi-star
62
+ * @deprecated since v3.27.0. Use 'onicon' slot.
63
63
  */
64
64
  onIcon?: string | undefined;
65
65
  /**
66
66
  * Icon for the off state.
67
- * @defaultValue pi pi-star-fill
67
+ * @deprecated since v3.27.0. Use 'officon' slot.
68
68
  */
69
69
  offIcon?: string | undefined;
70
70
  /**
71
71
  * Icon for the cancelable state.
72
- * @defaultValue pi pi-ban
72
+ * @deprecated since v3.27.0. Use 'cancelicon' slot.
73
73
  */
74
74
  cancelIcon?: string | undefined;
75
75
  }
package/rating/Rating.vue CHANGED
@@ -5,7 +5,7 @@
5
5
  <input type="radio" value="0" :name="name" :checked="modelValue === 0" :disabled="disabled" :readonly="readonly" :aria-label="cancelAriaLabel()" @focus="onFocus($event, 0)" @blur="onBlur" @change="onChange($event, 0)" />
6
6
  </span>
7
7
  <slot name="cancelicon">
8
- <span :class="cancelIconClass" />
8
+ <component :is="cancelIcon ? 'span' : 'BanIcon'" :class="['p-rating-icon p-rating-cancel', cancelIcon]" />
9
9
  </slot>
10
10
  </div>
11
11
  <template v-for="value in stars" :key="value">
@@ -25,10 +25,10 @@
25
25
  />
26
26
  </span>
27
27
  <slot v-if="value <= modelValue" name="onicon" :value="value">
28
- <span :class="onIconClass" />
28
+ <component :is="onIcon ? 'span' : 'StarFillIcon'" :class="['p-rating-icon', onIcon]" />
29
29
  </slot>
30
30
  <slot v-else name="officon" :value="value">
31
- <span :class="offIconClass" />
31
+ <component :is="onIcon ? 'span' : 'StarIcon'" :class="['p-rating-icon', offIcon]" />
32
32
  </slot>
33
33
  </div>
34
34
  </template>
@@ -36,6 +36,9 @@
36
36
  </template>
37
37
 
38
38
  <script>
39
+ import BanIcon from 'primevue/icons/ban';
40
+ import StarIcon from 'primevue/icons/star';
41
+ import StarFillIcon from 'primevue/icons/starfill';
39
42
  import { DomHandler, UniqueComponentId } from 'primevue/utils';
40
43
 
41
44
  export default {
@@ -64,15 +67,15 @@ export default {
64
67
  },
65
68
  onIcon: {
66
69
  type: String,
67
- default: 'pi pi-star-fill'
70
+ default: undefined
68
71
  },
69
72
  offIcon: {
70
73
  type: String,
71
- default: 'pi pi-star'
74
+ default: undefined
72
75
  },
73
76
  cancelIcon: {
74
77
  type: String,
75
- default: 'pi pi-ban'
78
+ default: undefined
76
79
  }
77
80
  },
78
81
  data() {
@@ -133,16 +136,12 @@ export default {
133
136
  'p-disabled': this.disabled
134
137
  }
135
138
  ];
136
- },
137
- cancelIconClass() {
138
- return ['p-rating-icon p-rating-cancel', this.cancelIcon];
139
- },
140
- onIconClass() {
141
- return ['p-rating-icon', this.onIcon];
142
- },
143
- offIconClass() {
144
- return ['p-rating-icon', this.offIcon];
145
139
  }
140
+ },
141
+ components: {
142
+ StarFillIcon: StarFillIcon,
143
+ StarIcon: StarIcon,
144
+ BanIcon: BanIcon
146
145
  }
147
146
  };
148
147
  </script>