primevue 3.32.2 → 3.33.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 (315) hide show
  1. package/accordion/accordion.cjs.js +3 -3
  2. package/accordion/accordion.esm.js +3 -3
  3. package/accordion/accordion.js +3 -3
  4. package/autocomplete/autocomplete.cjs.js +4 -4
  5. package/autocomplete/autocomplete.esm.js +4 -4
  6. package/autocomplete/autocomplete.js +4 -4
  7. package/badgedirective/badgedirective.cjs.js +3 -3
  8. package/badgedirective/badgedirective.esm.js +3 -3
  9. package/badgedirective/badgedirective.js +3 -3
  10. package/basecomponent/BaseComponent.vue +3 -3
  11. package/basecomponent/basecomponent.cjs.js +12 -11
  12. package/basecomponent/basecomponent.cjs.min.js +1 -1
  13. package/basecomponent/basecomponent.esm.js +12 -11
  14. package/basecomponent/basecomponent.esm.min.js +1 -1
  15. package/basecomponent/basecomponent.js +12 -11
  16. package/basecomponent/basecomponent.min.js +1 -1
  17. package/basedirective/basedirective.cjs.js +10 -10
  18. package/basedirective/basedirective.cjs.min.js +1 -1
  19. package/basedirective/basedirective.esm.js +10 -10
  20. package/basedirective/basedirective.esm.min.js +1 -1
  21. package/basedirective/basedirective.js +10 -10
  22. package/basedirective/basedirective.min.js +1 -1
  23. package/breadcrumb/Breadcrumb.d.ts +8 -0
  24. package/breadcrumb/Breadcrumb.vue +7 -2
  25. package/breadcrumb/BreadcrumbItem.vue +28 -3
  26. package/breadcrumb/breadcrumb.cjs.js +35 -8
  27. package/breadcrumb/breadcrumb.cjs.min.js +1 -1
  28. package/breadcrumb/breadcrumb.esm.js +36 -9
  29. package/breadcrumb/breadcrumb.esm.min.js +1 -1
  30. package/breadcrumb/breadcrumb.js +35 -8
  31. package/breadcrumb/breadcrumb.min.js +1 -1
  32. package/button/button.cjs.js +1 -1
  33. package/button/button.esm.js +1 -1
  34. package/button/button.js +1 -1
  35. package/calendar/Calendar.d.ts +1 -1
  36. package/calendar/Calendar.vue +63 -29
  37. package/calendar/calendar.cjs.js +137 -51
  38. package/calendar/calendar.cjs.min.js +1 -1
  39. package/calendar/calendar.esm.js +137 -51
  40. package/calendar/calendar.esm.min.js +1 -1
  41. package/calendar/calendar.js +137 -51
  42. package/calendar/calendar.min.js +1 -1
  43. package/carousel/Carousel.vue +22 -2
  44. package/carousel/carousel.cjs.js +9 -5
  45. package/carousel/carousel.cjs.min.js +1 -1
  46. package/carousel/carousel.esm.js +9 -5
  47. package/carousel/carousel.esm.min.js +1 -1
  48. package/carousel/carousel.js +9 -5
  49. package/carousel/carousel.min.js +1 -1
  50. package/cascadeselect/cascadeselect.cjs.js +3 -3
  51. package/cascadeselect/cascadeselect.esm.js +3 -3
  52. package/cascadeselect/cascadeselect.js +3 -3
  53. package/chart/chart.cjs.js +3 -3
  54. package/chart/chart.esm.js +3 -3
  55. package/chart/chart.js +3 -3
  56. package/checkbox/checkbox.cjs.js +3 -3
  57. package/checkbox/checkbox.esm.js +3 -3
  58. package/checkbox/checkbox.js +3 -3
  59. package/chips/chips.cjs.js +3 -3
  60. package/chips/chips.esm.js +3 -3
  61. package/chips/chips.js +3 -3
  62. package/config/config.cjs.js +3 -3
  63. package/config/config.esm.js +3 -3
  64. package/config/config.js +3 -3
  65. package/confirmpopup/confirmpopup.cjs.js +3 -3
  66. package/confirmpopup/confirmpopup.esm.js +3 -3
  67. package/confirmpopup/confirmpopup.js +3 -3
  68. package/contextmenu/ContextMenu.d.ts +8 -0
  69. package/contextmenu/ContextMenu.vue +13 -7
  70. package/contextmenu/ContextMenuSub.vue +34 -2
  71. package/contextmenu/contextmenu.cjs.js +41 -14
  72. package/contextmenu/contextmenu.cjs.min.js +1 -1
  73. package/contextmenu/contextmenu.esm.js +42 -15
  74. package/contextmenu/contextmenu.esm.min.js +1 -1
  75. package/contextmenu/contextmenu.js +41 -14
  76. package/contextmenu/contextmenu.min.js +1 -1
  77. package/core/core.js +175 -106
  78. package/core/core.min.js +11 -11
  79. package/datatable/BodyCell.vue +14 -4
  80. package/datatable/DataTable.d.ts +16 -0
  81. package/datatable/DataTable.vue +6 -3
  82. package/datatable/TableBody.vue +6 -7
  83. package/datatable/datatable.cjs.js +61 -55
  84. package/datatable/datatable.cjs.min.js +1 -1
  85. package/datatable/datatable.esm.js +61 -55
  86. package/datatable/datatable.esm.min.js +1 -1
  87. package/datatable/datatable.js +61 -55
  88. package/datatable/datatable.min.js +1 -1
  89. package/dialog/Dialog.vue +2 -2
  90. package/dialog/dialog.cjs.js +7 -5
  91. package/dialog/dialog.cjs.min.js +1 -1
  92. package/dialog/dialog.esm.js +8 -6
  93. package/dialog/dialog.esm.min.js +1 -1
  94. package/dialog/dialog.js +7 -5
  95. package/dialog/dialog.min.js +1 -1
  96. package/dock/Dock.d.ts +8 -0
  97. package/dock/Dock.vue +5 -0
  98. package/dock/DockSub.vue +20 -1
  99. package/dock/dock.cjs.js +21 -2
  100. package/dock/dock.cjs.min.js +1 -1
  101. package/dock/dock.esm.js +22 -3
  102. package/dock/dock.esm.min.js +1 -1
  103. package/dock/dock.js +21 -2
  104. package/dock/dock.min.js +1 -1
  105. package/dropdown/dropdown.cjs.js +6 -6
  106. package/dropdown/dropdown.esm.js +6 -6
  107. package/dropdown/dropdown.js +6 -6
  108. package/editor/editor.cjs.js +3 -3
  109. package/editor/editor.esm.js +3 -3
  110. package/editor/editor.js +3 -3
  111. package/fieldset/fieldset.cjs.js +4 -4
  112. package/fieldset/fieldset.esm.js +4 -4
  113. package/fieldset/fieldset.js +4 -4
  114. package/fileupload/FileUpload.vue +1 -1
  115. package/fileupload/fileupload.cjs.js +1 -1
  116. package/fileupload/fileupload.cjs.min.js +1 -1
  117. package/fileupload/fileupload.esm.js +1 -1
  118. package/fileupload/fileupload.esm.min.js +1 -1
  119. package/fileupload/fileupload.js +1 -1
  120. package/fileupload/fileupload.min.js +1 -1
  121. package/galleria/galleria.cjs.js +9 -9
  122. package/galleria/galleria.esm.js +9 -9
  123. package/galleria/galleria.js +9 -9
  124. package/image/image.cjs.js +3 -3
  125. package/image/image.esm.js +3 -3
  126. package/image/image.js +3 -3
  127. package/inplace/inplace.cjs.js +3 -3
  128. package/inplace/inplace.esm.js +3 -3
  129. package/inplace/inplace.js +3 -3
  130. package/inputnumber/inputnumber.cjs.js +6 -6
  131. package/inputnumber/inputnumber.esm.js +6 -6
  132. package/inputnumber/inputnumber.js +6 -6
  133. package/inputswitch/inputswitch.cjs.js +3 -3
  134. package/inputswitch/inputswitch.esm.js +3 -3
  135. package/inputswitch/inputswitch.js +3 -3
  136. package/listbox/listbox.cjs.js +3 -3
  137. package/listbox/listbox.esm.js +3 -3
  138. package/listbox/listbox.js +3 -3
  139. package/megamenu/MegaMenu.d.ts +12 -0
  140. package/megamenu/MegaMenu.vue +6 -30
  141. package/megamenu/MegaMenuSub.vue +34 -3
  142. package/megamenu/megamenu.cjs.js +36 -39
  143. package/megamenu/megamenu.cjs.min.js +1 -1
  144. package/megamenu/megamenu.esm.js +37 -40
  145. package/megamenu/megamenu.esm.min.js +1 -1
  146. package/megamenu/megamenu.js +36 -39
  147. package/megamenu/megamenu.min.js +1 -1
  148. package/menu/Menu.d.ts +18 -0
  149. package/menu/Menu.vue +6 -1
  150. package/menu/Menuitem.vue +26 -1
  151. package/menu/menu.cjs.js +29 -7
  152. package/menu/menu.cjs.min.js +1 -1
  153. package/menu/menu.esm.js +30 -8
  154. package/menu/menu.esm.min.js +1 -1
  155. package/menu/menu.js +29 -7
  156. package/menu/menu.min.js +1 -1
  157. package/menubar/Menubar.d.ts +16 -0
  158. package/menubar/Menubar.vue +6 -0
  159. package/menubar/MenubarSub.vue +32 -1
  160. package/menubar/menubar.cjs.js +34 -6
  161. package/menubar/menubar.cjs.min.js +1 -1
  162. package/menubar/menubar.esm.js +35 -7
  163. package/menubar/menubar.esm.min.js +1 -1
  164. package/menubar/menubar.js +34 -6
  165. package/menubar/menubar.min.js +1 -1
  166. package/menuitem/MenuItem.d.ts +1 -0
  167. package/message/message.cjs.js +3 -3
  168. package/message/message.esm.js +3 -3
  169. package/message/message.js +3 -3
  170. package/multiselect/multiselect.cjs.js +6 -6
  171. package/multiselect/multiselect.esm.js +6 -6
  172. package/multiselect/multiselect.js +6 -6
  173. package/orderlist/orderlist.cjs.js +3 -3
  174. package/orderlist/orderlist.esm.js +3 -3
  175. package/orderlist/orderlist.js +3 -3
  176. package/organizationchart/organizationchart.cjs.js +4 -4
  177. package/organizationchart/organizationchart.esm.js +4 -4
  178. package/organizationchart/organizationchart.js +4 -4
  179. package/overlaypanel/overlaypanel.cjs.js +3 -3
  180. package/overlaypanel/overlaypanel.esm.js +3 -3
  181. package/overlaypanel/overlaypanel.js +3 -3
  182. package/package.json +1 -1
  183. package/paginator/FirstPageLink.vue +1 -1
  184. package/paginator/JumpToPageDropdown.vue +1 -0
  185. package/paginator/LastPageLink.vue +1 -1
  186. package/paginator/NextPageLink.vue +1 -1
  187. package/paginator/PrevPageLink.vue +1 -1
  188. package/paginator/RowsPerPageDropdown.vue +1 -0
  189. package/paginator/paginator.cjs.js +19 -9
  190. package/paginator/paginator.cjs.min.js +1 -1
  191. package/paginator/paginator.esm.js +19 -9
  192. package/paginator/paginator.esm.min.js +1 -1
  193. package/paginator/paginator.js +19 -9
  194. package/paginator/paginator.min.js +1 -1
  195. package/panel/panel.cjs.js +3 -3
  196. package/panel/panel.esm.js +3 -3
  197. package/panel/panel.js +3 -3
  198. package/panelmenu/PanelMenu.d.ts +12 -0
  199. package/panelmenu/PanelMenu.vue +6 -0
  200. package/panelmenu/PanelMenuList.vue +1 -0
  201. package/panelmenu/PanelMenuSub.vue +33 -1
  202. package/panelmenu/panelmenu.cjs.js +41 -12
  203. package/panelmenu/panelmenu.cjs.min.js +1 -1
  204. package/panelmenu/panelmenu.esm.js +42 -13
  205. package/panelmenu/panelmenu.esm.min.js +1 -1
  206. package/panelmenu/panelmenu.js +41 -12
  207. package/panelmenu/panelmenu.min.js +1 -1
  208. package/passthrough/index.cjs.js +15 -9
  209. package/passthrough/index.cjs.min.js +1 -1
  210. package/passthrough/index.d.ts +2 -2
  211. package/passthrough/index.esm.js +15 -9
  212. package/passthrough/index.esm.min.js +1 -1
  213. package/passthrough/index.js +15 -9
  214. package/passthrough/index.min.js +1 -1
  215. package/passthrough/tailwind/index.cjs.js +3 -3
  216. package/passthrough/tailwind/index.cjs.min.js +1 -1
  217. package/passthrough/tailwind/index.esm.js +3 -3
  218. package/passthrough/tailwind/index.esm.min.js +1 -1
  219. package/passthrough/tailwind/index.js +3 -3
  220. package/passthrough/tailwind/index.min.js +1 -1
  221. package/password/password.cjs.js +3 -3
  222. package/password/password.esm.js +3 -3
  223. package/password/password.js +3 -3
  224. package/picklist/picklist.cjs.js +3 -3
  225. package/picklist/picklist.esm.js +3 -3
  226. package/picklist/picklist.js +3 -3
  227. package/radiobutton/radiobutton.cjs.js +3 -3
  228. package/radiobutton/radiobutton.esm.js +3 -3
  229. package/radiobutton/radiobutton.js +3 -3
  230. package/sidebar/sidebar.cjs.js +3 -3
  231. package/sidebar/sidebar.esm.js +3 -3
  232. package/sidebar/sidebar.js +3 -3
  233. package/speeddial/speeddial.cjs.js +4 -4
  234. package/speeddial/speeddial.esm.js +4 -4
  235. package/speeddial/speeddial.js +4 -4
  236. package/splitbutton/SplitButton.d.ts +14 -0
  237. package/splitbutton/SplitButton.vue +6 -2
  238. package/splitbutton/splitbutton.cjs.js +17 -9
  239. package/splitbutton/splitbutton.cjs.min.js +1 -1
  240. package/splitbutton/splitbutton.esm.js +18 -10
  241. package/splitbutton/splitbutton.esm.min.js +1 -1
  242. package/splitbutton/splitbutton.js +17 -9
  243. package/splitbutton/splitbutton.min.js +1 -1
  244. package/steps/Steps.d.ts +12 -0
  245. package/steps/Steps.vue +31 -1
  246. package/steps/steps.cjs.js +31 -3
  247. package/steps/steps.cjs.min.js +1 -1
  248. package/steps/steps.esm.js +31 -3
  249. package/steps/steps.esm.min.js +1 -1
  250. package/steps/steps.js +32 -4
  251. package/steps/steps.min.js +1 -1
  252. package/tabmenu/TabMenu.d.ts +8 -0
  253. package/tabmenu/TabMenu.vue +27 -1
  254. package/tabmenu/tabmenu.cjs.js +26 -3
  255. package/tabmenu/tabmenu.cjs.min.js +1 -1
  256. package/tabmenu/tabmenu.esm.js +26 -3
  257. package/tabmenu/tabmenu.esm.min.js +1 -1
  258. package/tabmenu/tabmenu.js +27 -4
  259. package/tabmenu/tabmenu.min.js +1 -1
  260. package/tabview/tabview.cjs.js +3 -3
  261. package/tabview/tabview.esm.js +3 -3
  262. package/tabview/tabview.js +3 -3
  263. package/tieredmenu/TieredMenu.d.ts +12 -0
  264. package/tieredmenu/TieredMenu.vue +6 -0
  265. package/tieredmenu/TieredMenuSub.vue +33 -1
  266. package/tieredmenu/tieredmenu.cjs.js +35 -7
  267. package/tieredmenu/tieredmenu.cjs.min.js +1 -1
  268. package/tieredmenu/tieredmenu.esm.js +36 -8
  269. package/tieredmenu/tieredmenu.esm.min.js +1 -1
  270. package/tieredmenu/tieredmenu.js +35 -7
  271. package/tieredmenu/tieredmenu.min.js +1 -1
  272. package/toast/toast.cjs.js +7 -7
  273. package/toast/toast.esm.js +7 -7
  274. package/toast/toast.js +7 -7
  275. package/togglebutton/togglebutton.cjs.js +3 -3
  276. package/togglebutton/togglebutton.esm.js +3 -3
  277. package/togglebutton/togglebutton.js +3 -3
  278. package/tooltip/tooltip.cjs.js +2 -2
  279. package/tooltip/tooltip.esm.js +2 -2
  280. package/tooltip/tooltip.js +2 -2
  281. package/tree/Tree.vue +1 -1
  282. package/tree/tree.cjs.js +7 -7
  283. package/tree/tree.cjs.min.js +1 -1
  284. package/tree/tree.esm.js +7 -7
  285. package/tree/tree.esm.min.js +1 -1
  286. package/tree/tree.js +7 -7
  287. package/tree/tree.min.js +1 -1
  288. package/treeselect/treeselect.cjs.js +6 -6
  289. package/treeselect/treeselect.esm.js +6 -6
  290. package/treeselect/treeselect.js +6 -6
  291. package/treetable/BodyCell.vue +1 -1
  292. package/treetable/treetable.cjs.js +21 -19
  293. package/treetable/treetable.cjs.min.js +1 -1
  294. package/treetable/treetable.esm.js +21 -19
  295. package/treetable/treetable.esm.min.js +1 -1
  296. package/treetable/treetable.js +21 -19
  297. package/treetable/treetable.min.js +1 -1
  298. package/tristatecheckbox/tristatecheckbox.cjs.js +3 -3
  299. package/tristatecheckbox/tristatecheckbox.esm.js +3 -3
  300. package/tristatecheckbox/tristatecheckbox.js +3 -3
  301. package/utils/utils.cjs.js +11 -11
  302. package/utils/utils.cjs.min.js +1 -1
  303. package/utils/utils.esm.js +11 -11
  304. package/utils/utils.esm.min.js +1 -1
  305. package/utils/utils.js +11 -11
  306. package/utils/utils.min.js +1 -1
  307. package/vetur-attributes.json +1 -1
  308. package/virtualscroller/BaseVirtualScroller.vue +3 -3
  309. package/virtualscroller/virtualscroller.cjs.js +6 -6
  310. package/virtualscroller/virtualscroller.cjs.min.js +1 -1
  311. package/virtualscroller/virtualscroller.esm.js +6 -6
  312. package/virtualscroller/virtualscroller.esm.min.js +1 -1
  313. package/virtualscroller/virtualscroller.js +6 -6
  314. package/virtualscroller/virtualscroller.min.js +1 -1
  315. package/web-types.json +13 -3
@@ -2,9 +2,9 @@ this.primevue = this.primevue || {};
2
2
  this.primevue.basecomponent = (function (base, usestyle, utils, vue) {
3
3
  'use strict';
4
4
 
5
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
6
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
7
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
5
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
6
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
8
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
9
9
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
10
10
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -62,11 +62,11 @@ this.primevue.basecomponent = (function (base, usestyle, utils, vue) {
62
62
  var _usept = (_this$pt = this.pt) === null || _this$pt === void 0 ? void 0 : _this$pt['_usept'];
63
63
  var originalValue = _usept ? (_this$pt2 = this.pt) === null || _this$pt2 === void 0 || (_this$pt2 = _this$pt2.originalValue) === null || _this$pt2 === void 0 ? void 0 : _this$pt2[this.$.type.name] : undefined;
64
64
  var value = _usept ? (_this$pt3 = this.pt) === null || _this$pt3 === void 0 || (_this$pt3 = _this$pt3.value) === null || _this$pt3 === void 0 ? void 0 : _this$pt3[this.$.type.name] : this.pt;
65
- (_ref = value || originalValue) === null || _ref === void 0 || (_ref = _ref.hooks) === null || _ref === void 0 || (_ref$onBeforeCreate = _ref['onBeforeCreate']) === null || _ref$onBeforeCreate === void 0 ? void 0 : _ref$onBeforeCreate.call(_ref);
65
+ (_ref = value || originalValue) === null || _ref === void 0 || (_ref = _ref.hooks) === null || _ref === void 0 || (_ref$onBeforeCreate = _ref['onBeforeCreate']) === null || _ref$onBeforeCreate === void 0 || _ref$onBeforeCreate.call(_ref);
66
66
  var _useptInConfig = (_this$$config3 = this.$config) === null || _this$$config3 === void 0 || (_this$$config3 = _this$$config3.pt) === null || _this$$config3 === void 0 ? void 0 : _this$$config3['_usept'];
67
67
  var originalValueInConfig = _useptInConfig ? (_this$$primevue = this.$primevue) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.config) === null || _this$$primevue === void 0 || (_this$$primevue = _this$$primevue.pt) === null || _this$$primevue === void 0 ? void 0 : _this$$primevue.originalValue : undefined;
68
68
  var valueInConfig = _useptInConfig ? (_this$$primevue2 = this.$primevue) === null || _this$$primevue2 === void 0 || (_this$$primevue2 = _this$$primevue2.config) === null || _this$$primevue2 === void 0 || (_this$$primevue2 = _this$$primevue2.pt) === null || _this$$primevue2 === void 0 ? void 0 : _this$$primevue2.value : (_this$$primevue3 = this.$primevue) === null || _this$$primevue3 === void 0 || (_this$$primevue3 = _this$$primevue3.config) === null || _this$$primevue3 === void 0 ? void 0 : _this$$primevue3.pt;
69
- (_ref2 = valueInConfig || originalValueInConfig) === null || _ref2 === void 0 || (_ref2 = _ref2[this.$.type.name]) === null || _ref2 === void 0 || (_ref2 = _ref2.hooks) === null || _ref2 === void 0 || (_ref2$onBeforeCreate = _ref2['onBeforeCreate']) === null || _ref2$onBeforeCreate === void 0 ? void 0 : _ref2$onBeforeCreate.call(_ref2);
69
+ (_ref2 = valueInConfig || originalValueInConfig) === null || _ref2 === void 0 || (_ref2 = _ref2[this.$.type.name]) === null || _ref2 === void 0 || (_ref2 = _ref2.hooks) === null || _ref2 === void 0 || (_ref2$onBeforeCreate = _ref2['onBeforeCreate']) === null || _ref2$onBeforeCreate === void 0 || _ref2$onBeforeCreate.call(_ref2);
70
70
  },
71
71
  created: function created() {
72
72
  this._hook('onCreated');
@@ -99,8 +99,8 @@ this.primevue.basecomponent = (function (base, usestyle, utils, vue) {
99
99
  if (!this.$options.hostName) {
100
100
  var selfHook = this._usePT(this._getPT(this.pt, this.$.type.name), this._getOptionValue, "hooks.".concat(hookName));
101
101
  var defaultHook = this._useDefaultPT(this._getOptionValue, "hooks.".concat(hookName));
102
- selfHook === null || selfHook === void 0 ? void 0 : selfHook();
103
- defaultHook === null || defaultHook === void 0 ? void 0 : defaultHook();
102
+ selfHook === null || selfHook === void 0 || selfHook();
103
+ defaultHook === null || defaultHook === void 0 || defaultHook();
104
104
  }
105
105
  },
106
106
  _loadGlobalStyles: function _loadGlobalStyles() {
@@ -176,12 +176,12 @@ this.primevue.basecomponent = (function (base, usestyle, utils, vue) {
176
176
  };
177
177
  if (pt !== null && pt !== void 0 && pt.hasOwnProperty('_usept')) {
178
178
  var _pt$_usept = pt['_usept'],
179
- merge = _pt$_usept.merge,
180
- useMergeProps = _pt$_usept.useMergeProps;
179
+ mergeSections = _pt$_usept.mergeSections,
180
+ useMergeProps = _pt$_usept.mergeProps;
181
181
  var originalValue = fn(pt.originalValue);
182
182
  var value = fn(pt.value);
183
183
  if (originalValue === undefined && value === undefined) return undefined;else if (utils.ObjectUtils.isString(value)) return value;else if (utils.ObjectUtils.isString(originalValue)) return originalValue;
184
- return merge ? useMergeProps ? vue.mergeProps(originalValue, value) : _objectSpread(_objectSpread({}, originalValue), value) : value;
184
+ return mergeSections || !mergeSections && value ? useMergeProps ? vue.mergeProps(originalValue, value) : _objectSpread(_objectSpread({}, originalValue), value) : value;
185
185
  }
186
186
  return fn(pt);
187
187
  },
@@ -239,7 +239,8 @@ this.primevue.basecomponent = (function (base, usestyle, utils, vue) {
239
239
  });
240
240
  },
241
241
  isUnstyled: function isUnstyled() {
242
- return this.unstyled !== undefined ? this.unstyled : this.$config.unstyled;
242
+ var _this$$config8;
243
+ return this.unstyled !== undefined ? this.unstyled : (_this$$config8 = this.$config) === null || _this$$config8 === void 0 ? void 0 : _this$$config8.unstyled;
243
244
  },
244
245
  $params: function $params() {
245
246
  return {
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.basecomponent=function(n,t,e,i){"use strict";function o(n){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(n)}function l(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,i)}return e}function a(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?l(Object(e),!0).forEach((function(t){r(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):l(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function r(n,t,e){return(t=s(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function s(n){var t=p(n,"string");return"symbol"===o(t)?t:String(t)}function p(n,t){if("object"!==o(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}var u={},c="\n.p-component, .p-component * {\n box-sizing: border-box;\n}\n\n.p-hidden-space {\n visibility: hidden;\n}\n\n.p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n}\n\n.p-disabled, .p-disabled * {\n cursor: default !important;\n pointer-events: none;\n user-select: none;\n}\n\n.p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-unselectable-text {\n user-select: none;\n}\n\n.p-sr-only {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n word-wrap: normal !important;\n}\n\n.p-link {\n\ttext-align: left;\n\tbackground-color: transparent;\n\tmargin: 0;\n\tpadding: 0;\n\tborder: none;\n cursor: pointer;\n user-select: none;\n}\n\n.p-link:disabled {\n\tcursor: default;\n}\n\n/* Non vue overlay animations */\n.p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n}\n\n.p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n}\n\n/* Vue based overlay animations */\n.p-connected-overlay-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-connected-overlay-leave-to {\n opacity: 0;\n}\n\n.p-connected-overlay-enter-active {\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-leave-active {\n transition: opacity .1s linear;\n}\n\n/* Toggleable Content */\n.p-toggleable-content-enter-from,\n.p-toggleable-content-leave-to {\n max-height: 0;\n}\n\n.p-toggleable-content-enter-to,\n.p-toggleable-content-leave-from {\n max-height: 1000px;\n}\n\n.p-toggleable-content-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n}\n\n.p-toggleable-content-enter-active {\n overflow: hidden;\n transition: max-height 1s ease-in-out;\n}\n".concat("\n.p-button {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-buttonset .p-button {\n margin: 0;\n}\n\n.p-buttonset .p-button:not(:last-child), .p-buttonset .p-button:not(:last-child):hover {\n border-right: 0 none;\n}\n\n.p-buttonset .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-buttonset .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-buttonset .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-buttonset .p-button:focus {\n position: relative;\n z-index: 1;\n}\n","\n").concat("\n.p-checkbox {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n vertical-align: bottom;\n position: relative;\n}\n\n.p-checkbox.p-checkbox-disabled {\n cursor: default;\n}\n\n.p-checkbox-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n","\n").concat("\n.p-fluid .p-inputtext {\n width: 100%;\n}\n\n/* InputGroup */\n.p-inputgroup {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup-addon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-inputgroup .p-float-label {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup .p-inputtext,\n.p-fluid .p-inputgroup .p-inputtext,\n.p-inputgroup .p-inputwrapper,\n.p-fluid .p-inputgroup .p-input {\n flex: 1 1 auto;\n width: 1%;\n}\n\n/* Floating Label */\n.p-float-label {\n display: block;\n position: relative;\n}\n\n.p-float-label label {\n position: absolute;\n pointer-events: none;\n top: 50%;\n margin-top: -.5rem;\n transition-property: all;\n transition-timing-function: ease;\n line-height: 1;\n}\n\n.p-float-label textarea ~ label {\n top: 1rem;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label {\n top: -.75rem;\n font-size: 12px;\n}\n\n.p-float-label .input:-webkit-autofill ~ label {\n top: -20px;\n font-size: 12px;\n}\n\n.p-float-label .p-placeholder,\n.p-float-label input::placeholder,\n.p-float-label .p-inputtext::placeholder {\n opacity: 0;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-float-label .p-focus .p-placeholder,\n.p-float-label input:focus::placeholder,\n.p-float-label .p-inputtext:focus::placeholder {\n opacity: 1;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-input-icon-left,\n.p-input-icon-right {\n position: relative;\n display: inline-block;\n}\n\n.p-input-icon-left > i,\n.p-input-icon-left > svg,\n.p-input-icon-right > i,\n.p-input-icon-right > svg {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n\n.p-fluid .p-input-icon-left,\n.p-fluid .p-input-icon-right {\n display: block;\n width: 100%;\n}\n","\n").concat("\n.p-radiobutton {\n position: relative;\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n vertical-align: bottom;\n}\n\n.p-radiobutton.p-radiobutton-disabled {\n cursor: default;\n}\n\n.p-radiobutton-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.p-radiobutton-icon {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n transform: translateZ(0) scale(.1);\n border-radius: 50%;\n visibility: hidden;\n}\n\n.p-radiobutton-box.p-highlight .p-radiobutton-icon {\n transform: translateZ(0) scale(1.0, 1.0);\n visibility: visible;\n}\n","\n"),d=t.useStyle(c,{name:"common",manual:!0}).load,f=t.useStyle("",{name:"global",manual:!0}).load,h={name:"BaseComponent",props:{pt:{type:Object,default:void 0},unstyled:{type:Boolean,default:void 0}},inject:{$parentInstance:{default:void 0}},watch:{isUnstyled:{immediate:!0,handler:function(n){var t,e;n||(d(void 0,{nonce:null===(t=this.$config)||void 0===t||null===(t=t.csp)||void 0===t?void 0:t.nonce}),this.$options.css&&this.$css.loadStyle(void 0,{nonce:null===(e=this.$config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce}))}}},beforeCreate:function(){var n,t,e,i,o,l,a,r,s,p,u,c=null===(n=this.pt)||void 0===n?void 0:n._usept,d=c?null===(t=this.pt)||void 0===t||null===(t=t.originalValue)||void 0===t?void 0:t[this.$.type.name]:void 0;null===(i=(c?null===(e=this.pt)||void 0===e||null===(e=e.value)||void 0===e?void 0:e[this.$.type.name]:this.pt)||d)||void 0===i||null===(i=i.hooks)||void 0===i||null===(o=i.onBeforeCreate)||void 0===o||o.call(i);var f=null===(l=this.$config)||void 0===l||null===(l=l.pt)||void 0===l?void 0:l._usept,h=f?null===(a=this.$primevue)||void 0===a||null===(a=a.config)||void 0===a||null===(a=a.pt)||void 0===a?void 0:a.originalValue:void 0;null===(p=(f?null===(r=this.$primevue)||void 0===r||null===(r=r.config)||void 0===r||null===(r=r.pt)||void 0===r?void 0:r.value:null===(s=this.$primevue)||void 0===s||null===(s=s.config)||void 0===s?void 0:s.pt)||h)||void 0===p||null===(p=p[this.$.type.name])||void 0===p||null===(p=p.hooks)||void 0===p||null===(u=p.onBeforeCreate)||void 0===u||u.call(p)},created:function(){this._hook("onCreated")},beforeMount:function(){var t;n.loadBaseStyle(void 0,{nonce:null===(t=this.$config)||void 0===t||null===(t=t.csp)||void 0===t?void 0:t.nonce}),this._loadGlobalStyles(),this._hook("onBeforeMount")},mounted:function(){this._hook("onMounted")},beforeUpdate:function(){this._hook("onBeforeUpdate")},updated:function(){this._hook("onUpdated")},beforeUnmount:function(){this._hook("onBeforeUnmount")},unmounted:function(){this._hook("onUnmounted")},methods:{_hook:function(n){if(!this.$options.hostName){var t=this._usePT(this._getPT(this.pt,this.$.type.name),this._getOptionValue,"hooks.".concat(n)),e=this._useDefaultPT(this._getOptionValue,"hooks.".concat(n));null==t||t(),null==e||e()}},_loadGlobalStyles:function(){var n,t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);e.ObjectUtils.isNotEmpty(t)&&f(t,{nonce:null===(n=this.$config)||void 0===n||null===(n=n.csp)||void 0===n?void 0:n.nonce})},_getHostInstance:function(n){return n?this.$options.hostName?n.$.type.name===this.$options.hostName?n:this._getHostInstance(n.$parentInstance):n.$parentInstance:void 0},_getOptionValue:function(n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e.ObjectUtils.toFlatCase(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").split("."),o=i.shift();return o?e.ObjectUtils.isObject(n)?this._getOptionValue(e.ObjectUtils.getItemValue(n[Object.keys(n).find((function(n){return e.ObjectUtils.toFlatCase(n)===o}))||""],t),i.join("."),t):void 0:e.ObjectUtils.getItemValue(n,t)},_getPTValue:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s="data-pc-",p=/./g.test(t)&&!!o[t.split(".")[0]],u=p?void 0:this._usePT(this._getPT(n,this.$name),this._getPTClassValue,t,o),c=l?p?this._useGlobalPT(this._getPTClassValue,t,o):this._useDefaultPT(this._getPTClassValue,t,o):void 0;return i.mergeProps(u,c,"transition"!==t&&a(a({},"root"===t&&r({},"".concat(s,"name"),e.ObjectUtils.toFlatCase(this.$.type.name))),{},r({},"".concat(s,"section"),e.ObjectUtils.toFlatCase(t))))},_getPTClassValue:function(){var n=this._getOptionValue.apply(this,arguments);return e.ObjectUtils.isString(n)||e.ObjectUtils.isArray(n)?{class:n}:n},_getPT:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=null==n?void 0:n._usept,l=function(n){var o,l=i?i(n):n;return null!==(o=null==l?void 0:l[e.ObjectUtils.toFlatCase(t)])&&void 0!==o?o:l};return e.ObjectUtils.isNotEmpty(o)?{_usept:o,originalValue:l(n.originalValue),value:l(n.value)}:l(n)},_usePT:function(n,t,o,l){var r=function(n){return t(n,o,l)};if(null!=n&&n.hasOwnProperty("_usept")){var s=n._usept,p=s.merge,u=s.useMergeProps,c=r(n.originalValue),d=r(n.value);if(void 0===c&&void 0===d)return;return e.ObjectUtils.isString(d)?d:e.ObjectUtils.isString(c)?c:p?u?i.mergeProps(c,d):a(a({},c),d):d}return r(n)},_useGlobalPT:function(n,t,e){return this._usePT(this.globalPT,n,t,e)},_useDefaultPT:function(n,t,e){return this._usePT(this.defaultPT,n,t,e)},ptm:function(){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._getPTValue(this.pt,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a(a({},this.$params),n))},ptmo:function(){return this._getPTValue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a({instance:this},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),!1)},cx:function(){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$css.classes,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a(a({},this.$params),n))},sx:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var e=this._getOptionValue(this.$css.inlineStyles,n,a(a({},this.$params),t));return[this._getOptionValue(u,n,a(a({},this.$params),t)),e]}}},computed:{globalPT:function(){var n,t=this;return this._getPT(null===(n=this.$config)||void 0===n?void 0:n.pt,void 0,(function(n){return e.ObjectUtils.getItemValue(n,{instance:t})}))},defaultPT:function(){var n,t=this;return this._getPT(null===(n=this.$config)||void 0===n?void 0:n.pt,void 0,(function(n){return t._getOptionValue(n,t.$name,a({},t.$params))||e.ObjectUtils.getItemValue(n,a({},t.$params))}))},isUnstyled:function(){return void 0!==this.unstyled?this.unstyled:this.$config.unstyled},$params:function(){return{instance:this,props:this.$props,state:this.$data,parentInstance:this.$parentInstance}},$css:function(){return a(a({classes:void 0,inlineStyles:void 0,loadStyle:function(){},loadCustomStyle:function(){}},(this._getHostInstance(this)||{}).$css),this.$options.css)},$config:function(){var n;return null===(n=this.$primevue)||void 0===n?void 0:n.config},$name:function(){return this.$options.hostName||this.$.type.name}}};return h}(primevue.base,primevue.usestyle,primevue.utils,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.basecomponent=function(n,t,e,i){"use strict";function o(n){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(n)}function l(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,i)}return e}function a(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?l(Object(e),!0).forEach((function(t){r(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):l(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function r(n,t,e){return(t=s(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function s(n){var t=p(n,"string");return"symbol"===o(t)?t:String(t)}function p(n,t){if("object"!==o(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}var u={},c="\n.p-component, .p-component * {\n box-sizing: border-box;\n}\n\n.p-hidden-space {\n visibility: hidden;\n}\n\n.p-reset {\n margin: 0;\n padding: 0;\n border: 0;\n outline: 0;\n text-decoration: none;\n font-size: 100%;\n list-style: none;\n}\n\n.p-disabled, .p-disabled * {\n cursor: default !important;\n pointer-events: none;\n user-select: none;\n}\n\n.p-component-overlay {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.p-unselectable-text {\n user-select: none;\n}\n\n.p-sr-only {\n border: 0;\n clip: rect(1px, 1px, 1px, 1px);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n word-wrap: normal !important;\n}\n\n.p-link {\n\ttext-align: left;\n\tbackground-color: transparent;\n\tmargin: 0;\n\tpadding: 0;\n\tborder: none;\n cursor: pointer;\n user-select: none;\n}\n\n.p-link:disabled {\n\tcursor: default;\n}\n\n/* Non vue overlay animations */\n.p-connected-overlay {\n opacity: 0;\n transform: scaleY(0.8);\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-visible {\n opacity: 1;\n transform: scaleY(1);\n}\n\n.p-connected-overlay-hidden {\n opacity: 0;\n transform: scaleY(1);\n transition: opacity .1s linear;\n}\n\n/* Vue based overlay animations */\n.p-connected-overlay-enter-from {\n opacity: 0;\n transform: scaleY(0.8);\n}\n\n.p-connected-overlay-leave-to {\n opacity: 0;\n}\n\n.p-connected-overlay-enter-active {\n transition: transform .12s cubic-bezier(0, 0, 0.2, 1), opacity .12s cubic-bezier(0, 0, 0.2, 1);\n}\n\n.p-connected-overlay-leave-active {\n transition: opacity .1s linear;\n}\n\n/* Toggleable Content */\n.p-toggleable-content-enter-from,\n.p-toggleable-content-leave-to {\n max-height: 0;\n}\n\n.p-toggleable-content-enter-to,\n.p-toggleable-content-leave-from {\n max-height: 1000px;\n}\n\n.p-toggleable-content-leave-active {\n overflow: hidden;\n transition: max-height 0.45s cubic-bezier(0, 1, 0, 1);\n}\n\n.p-toggleable-content-enter-active {\n overflow: hidden;\n transition: max-height 1s ease-in-out;\n}\n".concat("\n.p-button {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n vertical-align: bottom;\n text-align: center;\n overflow: hidden;\n position: relative;\n}\n\n.p-button-label {\n flex: 1 1 auto;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-only {\n justify-content: center;\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n flex: 0 0 auto;\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-buttonset .p-button {\n margin: 0;\n}\n\n.p-buttonset .p-button:not(:last-child), .p-buttonset .p-button:not(:last-child):hover {\n border-right: 0 none;\n}\n\n.p-buttonset .p-button:not(:first-of-type):not(:last-of-type) {\n border-radius: 0;\n}\n\n.p-buttonset .p-button:first-of-type {\n border-top-right-radius: 0;\n border-bottom-right-radius: 0;\n}\n\n.p-buttonset .p-button:last-of-type {\n border-top-left-radius: 0;\n border-bottom-left-radius: 0;\n}\n\n.p-buttonset .p-button:focus {\n position: relative;\n z-index: 1;\n}\n","\n").concat("\n.p-checkbox {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n vertical-align: bottom;\n position: relative;\n}\n\n.p-checkbox.p-checkbox-disabled {\n cursor: default;\n}\n\n.p-checkbox-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n","\n").concat("\n.p-fluid .p-inputtext {\n width: 100%;\n}\n\n/* InputGroup */\n.p-inputgroup {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup-addon {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.p-inputgroup .p-float-label {\n display: flex;\n align-items: stretch;\n width: 100%;\n}\n\n.p-inputgroup .p-inputtext,\n.p-fluid .p-inputgroup .p-inputtext,\n.p-inputgroup .p-inputwrapper,\n.p-fluid .p-inputgroup .p-input {\n flex: 1 1 auto;\n width: 1%;\n}\n\n/* Floating Label */\n.p-float-label {\n display: block;\n position: relative;\n}\n\n.p-float-label label {\n position: absolute;\n pointer-events: none;\n top: 50%;\n margin-top: -.5rem;\n transition-property: all;\n transition-timing-function: ease;\n line-height: 1;\n}\n\n.p-float-label textarea ~ label {\n top: 1rem;\n}\n\n.p-float-label input:focus ~ label,\n.p-float-label input.p-filled ~ label,\n.p-float-label textarea:focus ~ label,\n.p-float-label textarea.p-filled ~ label,\n.p-float-label .p-inputwrapper-focus ~ label,\n.p-float-label .p-inputwrapper-filled ~ label {\n top: -.75rem;\n font-size: 12px;\n}\n\n.p-float-label .input:-webkit-autofill ~ label {\n top: -20px;\n font-size: 12px;\n}\n\n.p-float-label .p-placeholder,\n.p-float-label input::placeholder,\n.p-float-label .p-inputtext::placeholder {\n opacity: 0;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-float-label .p-focus .p-placeholder,\n.p-float-label input:focus::placeholder,\n.p-float-label .p-inputtext:focus::placeholder {\n opacity: 1;\n transition-property: all;\n transition-timing-function: ease;\n}\n\n.p-input-icon-left,\n.p-input-icon-right {\n position: relative;\n display: inline-block;\n}\n\n.p-input-icon-left > i,\n.p-input-icon-left > svg,\n.p-input-icon-right > i,\n.p-input-icon-right > svg {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n}\n\n.p-fluid .p-input-icon-left,\n.p-fluid .p-input-icon-right {\n display: block;\n width: 100%;\n}\n","\n").concat("\n.p-radiobutton {\n position: relative;\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n vertical-align: bottom;\n}\n\n.p-radiobutton.p-radiobutton-disabled {\n cursor: default;\n}\n\n.p-radiobutton-box {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.p-radiobutton-icon {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n transform: translateZ(0) scale(.1);\n border-radius: 50%;\n visibility: hidden;\n}\n\n.p-radiobutton-box.p-highlight .p-radiobutton-icon {\n transform: translateZ(0) scale(1.0, 1.0);\n visibility: visible;\n}\n","\n"),d=t.useStyle(c,{name:"common",manual:!0}).load,f=t.useStyle("",{name:"global",manual:!0}).load,h={name:"BaseComponent",props:{pt:{type:Object,default:void 0},unstyled:{type:Boolean,default:void 0}},inject:{$parentInstance:{default:void 0}},watch:{isUnstyled:{immediate:!0,handler:function(n){var t,e;n||(d(void 0,{nonce:null===(t=this.$config)||void 0===t||null===(t=t.csp)||void 0===t?void 0:t.nonce}),this.$options.css&&this.$css.loadStyle(void 0,{nonce:null===(e=this.$config)||void 0===e||null===(e=e.csp)||void 0===e?void 0:e.nonce}))}}},beforeCreate:function(){var n,t,e,i,o,l,a,r,s,p,u,c=null===(n=this.pt)||void 0===n?void 0:n._usept,d=c?null===(t=this.pt)||void 0===t||null===(t=t.originalValue)||void 0===t?void 0:t[this.$.type.name]:void 0;null===(i=(c?null===(e=this.pt)||void 0===e||null===(e=e.value)||void 0===e?void 0:e[this.$.type.name]:this.pt)||d)||void 0===i||null===(i=i.hooks)||void 0===i||null===(o=i.onBeforeCreate)||void 0===o||o.call(i);var f=null===(l=this.$config)||void 0===l||null===(l=l.pt)||void 0===l?void 0:l._usept,h=f?null===(a=this.$primevue)||void 0===a||null===(a=a.config)||void 0===a||null===(a=a.pt)||void 0===a?void 0:a.originalValue:void 0;null===(p=(f?null===(r=this.$primevue)||void 0===r||null===(r=r.config)||void 0===r||null===(r=r.pt)||void 0===r?void 0:r.value:null===(s=this.$primevue)||void 0===s||null===(s=s.config)||void 0===s?void 0:s.pt)||h)||void 0===p||null===(p=p[this.$.type.name])||void 0===p||null===(p=p.hooks)||void 0===p||null===(u=p.onBeforeCreate)||void 0===u||u.call(p)},created:function(){this._hook("onCreated")},beforeMount:function(){var t;n.loadBaseStyle(void 0,{nonce:null===(t=this.$config)||void 0===t||null===(t=t.csp)||void 0===t?void 0:t.nonce}),this._loadGlobalStyles(),this._hook("onBeforeMount")},mounted:function(){this._hook("onMounted")},beforeUpdate:function(){this._hook("onBeforeUpdate")},updated:function(){this._hook("onUpdated")},beforeUnmount:function(){this._hook("onBeforeUnmount")},unmounted:function(){this._hook("onUnmounted")},methods:{_hook:function(n){if(!this.$options.hostName){var t=this._usePT(this._getPT(this.pt,this.$.type.name),this._getOptionValue,"hooks.".concat(n)),e=this._useDefaultPT(this._getOptionValue,"hooks.".concat(n));null==t||t(),null==e||e()}},_loadGlobalStyles:function(){var n,t=this._useGlobalPT(this._getOptionValue,"global.css",this.$params);e.ObjectUtils.isNotEmpty(t)&&f(t,{nonce:null===(n=this.$config)||void 0===n||null===(n=n.csp)||void 0===n?void 0:n.nonce})},_getHostInstance:function(n){return n?this.$options.hostName?n.$.type.name===this.$options.hostName?n:this._getHostInstance(n.$parentInstance):n.$parentInstance:void 0},_getOptionValue:function(n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e.ObjectUtils.toFlatCase(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").split("."),o=i.shift();return o?e.ObjectUtils.isObject(n)?this._getOptionValue(e.ObjectUtils.getItemValue(n[Object.keys(n).find((function(n){return e.ObjectUtils.toFlatCase(n)===o}))||""],t),i.join("."),t):void 0:e.ObjectUtils.getItemValue(n,t)},_getPTValue:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],s="data-pc-",p=/./g.test(t)&&!!o[t.split(".")[0]],u=p?void 0:this._usePT(this._getPT(n,this.$name),this._getPTClassValue,t,o),c=l?p?this._useGlobalPT(this._getPTClassValue,t,o):this._useDefaultPT(this._getPTClassValue,t,o):void 0;return i.mergeProps(u,c,"transition"!==t&&a(a({},"root"===t&&r({},"".concat(s,"name"),e.ObjectUtils.toFlatCase(this.$.type.name))),{},r({},"".concat(s,"section"),e.ObjectUtils.toFlatCase(t))))},_getPTClassValue:function(){var n=this._getOptionValue.apply(this,arguments);return e.ObjectUtils.isString(n)||e.ObjectUtils.isArray(n)?{class:n}:n},_getPT:function(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=null==n?void 0:n._usept,l=function(n){var o,l=i?i(n):n;return null!==(o=null==l?void 0:l[e.ObjectUtils.toFlatCase(t)])&&void 0!==o?o:l};return e.ObjectUtils.isNotEmpty(o)?{_usept:o,originalValue:l(n.originalValue),value:l(n.value)}:l(n)},_usePT:function(n,t,o,l){var r=function(n){return t(n,o,l)};if(null!=n&&n.hasOwnProperty("_usept")){var s=n._usept,p=s.mergeSections,u=s.mergeProps,c=r(n.originalValue),d=r(n.value);if(void 0===c&&void 0===d)return;return e.ObjectUtils.isString(d)?d:e.ObjectUtils.isString(c)?c:p||!p&&d?u?i.mergeProps(c,d):a(a({},c),d):d}return r(n)},_useGlobalPT:function(n,t,e){return this._usePT(this.globalPT,n,t,e)},_useDefaultPT:function(n,t,e){return this._usePT(this.defaultPT,n,t,e)},ptm:function(){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this._getPTValue(this.pt,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a(a({},this.$params),n))},ptmo:function(){return this._getPTValue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a({instance:this},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}),!1)},cx:function(){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.isUnstyled?void 0:this._getOptionValue(this.$css.classes,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",a(a({},this.$params),n))},sx:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(arguments.length>1&&void 0!==arguments[1])||arguments[1]){var e=this._getOptionValue(this.$css.inlineStyles,n,a(a({},this.$params),t));return[this._getOptionValue(u,n,a(a({},this.$params),t)),e]}}},computed:{globalPT:function(){var n,t=this;return this._getPT(null===(n=this.$config)||void 0===n?void 0:n.pt,void 0,(function(n){return e.ObjectUtils.getItemValue(n,{instance:t})}))},defaultPT:function(){var n,t=this;return this._getPT(null===(n=this.$config)||void 0===n?void 0:n.pt,void 0,(function(n){return t._getOptionValue(n,t.$name,a({},t.$params))||e.ObjectUtils.getItemValue(n,a({},t.$params))}))},isUnstyled:function(){var n;return void 0!==this.unstyled?this.unstyled:null===(n=this.$config)||void 0===n?void 0:n.unstyled},$params:function(){return{instance:this,props:this.$props,state:this.$data,parentInstance:this.$parentInstance}},$css:function(){return a(a({classes:void 0,inlineStyles:void 0,loadStyle:function(){},loadCustomStyle:function(){}},(this._getHostInstance(this)||{}).$css),this.$options.css)},$config:function(){var n;return null===(n=this.$primevue)||void 0===n?void 0:n.config},$name:function(){return this.$options.hostName||this.$.type.name}}};return h}(primevue.base,primevue.usestyle,primevue.utils,Vue);
@@ -4,15 +4,15 @@ var base = require('primevue/base');
4
4
  var utils = require('primevue/utils');
5
5
  var vue = require('vue');
6
6
 
7
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
7
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
8
8
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
9
9
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
10
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
11
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
12
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
13
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
15
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16
16
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
17
17
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
18
18
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -68,12 +68,12 @@ var BaseDirective = {
68
68
  };
69
69
  if (pt !== null && pt !== void 0 && pt.hasOwnProperty('_usept')) {
70
70
  var _pt$_usept = pt['_usept'],
71
- merge = _pt$_usept.merge,
72
- useMergeProps = _pt$_usept.useMergeProps;
71
+ mergeSections = _pt$_usept.mergeSections,
72
+ useMergeProps = _pt$_usept.mergeProps;
73
73
  var originalValue = fn(pt.originalValue);
74
74
  var value = fn(pt.value);
75
75
  if (originalValue === undefined && value === undefined) return undefined;else if (utils.ObjectUtils.isString(value)) return value;else if (utils.ObjectUtils.isString(originalValue)) return originalValue;
76
- return merge ? useMergeProps ? vue.mergeProps(originalValue, value) : _objectSpread(_objectSpread({}, originalValue), value) : value;
76
+ return mergeSections || !mergeSections && value ? useMergeProps ? vue.mergeProps(originalValue, value) : _objectSpread(_objectSpread({}, originalValue), value) : value;
77
77
  }
78
78
  return fn(pt);
79
79
  },
@@ -96,8 +96,8 @@ var BaseDirective = {
96
96
  vnode: vnode,
97
97
  prevVnode: prevVnode
98
98
  };
99
- selfHook === null || selfHook === void 0 ? void 0 : selfHook(el === null || el === void 0 ? void 0 : el.$instance, options);
100
- defaultHook === null || defaultHook === void 0 ? void 0 : defaultHook(el === null || el === void 0 ? void 0 : el.$instance, options);
99
+ selfHook === null || selfHook === void 0 || selfHook(el === null || el === void 0 ? void 0 : el.$instance, options);
100
+ defaultHook === null || defaultHook === void 0 || defaultHook(el === null || el === void 0 ? void 0 : el.$instance, options);
101
101
  },
102
102
  _extend: function _extend(name) {
103
103
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -153,7 +153,7 @@ var BaseDirective = {
153
153
  }
154
154
  }, $options);
155
155
  el.$instance = el._$instances[name]; // pass instance data to hooks
156
- (_el$$instance$hook = (_el$$instance5 = el.$instance)[hook]) === null || _el$$instance$hook === void 0 ? void 0 : _el$$instance$hook.call(_el$$instance5, el, binding, vnode, prevVnode); // handle hook in directive implementation
156
+ (_el$$instance$hook = (_el$$instance5 = el.$instance)[hook]) === null || _el$$instance$hook === void 0 || _el$$instance$hook.call(_el$$instance5, el, binding, vnode, prevVnode); // handle hook in directive implementation
157
157
  BaseDirective._hook(name, hook, el, binding, vnode, prevVnode); // handle hooks during directive uses (global and self-definition)
158
158
  };
159
159
 
@@ -1 +1 @@
1
- "use strict";var t=require("primevue/base"),e=require("primevue/utils"),n=require("vue");function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){return c(t)||a(t,e)||r(t,e)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,l,r,u=[],a=!0,c=!1;try{if(l=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;a=!1}else for(;!(a=(i=l.call(n)).done)&&(u.push(i.value),u.length!==e);a=!0);}catch(t){c=!0,o=t}finally{try{if(!a&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(c)throw o}}return u}}function c(t){if(Array.isArray(t))return t}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){var e=g(t,"string");return"symbol"===i(e)?e:String(e)}function g(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var p={_getMeta:function(){return[e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],e.ObjectUtils.getItemValue(e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getOptionValue:function(t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e.ObjectUtils.toFlatCase(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").split("."),o=i.shift();return o?e.ObjectUtils.isObject(t)?p._getOptionValue(e.ObjectUtils.getItemValue(t[Object.keys(t).find((function(t){return e.ObjectUtils.toFlatCase(t)===o}))||""],n),i.join("."),n):void 0:e.ObjectUtils.getItemValue(t,n)},_getPTValue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=function(){var t=p._getOptionValue.apply(p,arguments);return e.ObjectUtils.isString(t)||e.ObjectUtils.isArray(t)?{class:t}:t},u="data-pc-",a=p._usePT(p._getPT(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t.$name),r,i,o),c=l?p._useDefaultPT(t.defaultPT,r,i,o):void 0;return n.mergeProps(a,c,v(v({},"root"===i&&d({},"".concat(u,"name"),e.ObjectUtils.toFlatCase(t.$name))),{},d({},"".concat(u,"section"),e.ObjectUtils.toFlatCase(i))))},_getPT:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=null==t?void 0:t._usept,l=function(t){var o,l=i?i(t):t;return null!==(o=null==l?void 0:l[e.ObjectUtils.toFlatCase(n)])&&void 0!==o?o:l};return e.ObjectUtils.isNotEmpty(o)?{_usept:o,originalValue:l(t.originalValue),value:l(t.value)}:l(t)},_usePT:function(t,i,o,l){var r=function(t){return i(t,o,l)};if(null!=t&&t.hasOwnProperty("_usept")){var u=t._usept,a=u.merge,c=u.useMergeProps,s=r(t.originalValue),d=r(t.value);if(void 0===s&&void 0===d)return;return e.ObjectUtils.isString(d)?d:e.ObjectUtils.isString(s)?s:a?c?n.mergeProps(s,d):v(v({},s),d):d}return r(t)},_useDefaultPT:function(){return p._usePT(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0,arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0)},_hook:function(t,n,i,o,l,r){var u,a,c,s="on".concat(e.ObjectUtils.toCapitalCase(n)),v=null==o||null===(u=o.instance)||void 0===u||null===(u=u.$primevue)||void 0===u?void 0:u.config,d=p._usePT(p._getPT(null==o||null===(a=o.value)||void 0===a?void 0:a.pt,t),p._getOptionValue,"hooks.".concat(s)),f=p._useDefaultPT(null==v||null===(c=v.pt)||void 0===c||null===(c=c.directives)||void 0===c?void 0:c[t],p._getOptionValue,"hooks.".concat(s)),g={el:i,binding:o,vnode:l,prevVnode:r};null==d||d(null==i?void 0:i.$instance,g),null==f||f(null==i?void 0:i.$instance,g)},_extend:function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=function(t,o,l,r,u){var a,c,s;o._$instances=o._$instances||{};var d=null==l||null===(a=l.instance)||void 0===a||null===(a=a.$primevue)||void 0===a?void 0:a.config,f=o._$instances[n]||{},g=e.ObjectUtils.isEmpty(f)?v(v({},i),null==i?void 0:i.methods):{};o._$instances[n]=v(v({},f),{},{$name:n,$host:o,$binding:l,$el:f.$el||void 0,$css:v({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},null==i?void 0:i.css),$config:d,defaultPT:p._getPT(null==d?void 0:d.pt,void 0,(function(t){var e;return null==t||null===(e=t.directives)||void 0===e?void 0:e[n]})),isUnstyled:void 0!==o.unstyled?o.unstyled:null==d?void 0:d.unstyled,ptm:function(){var t;return p._getPTValue(o.$instance,null===(t=o.$instance)||void 0===t||null===(t=t.$binding)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.pt,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},ptmo:function(){return p._getPTValue(o.$instance,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},!1)},cx:function(){var t,e;return null!==(t=o.$instance)&&void 0!==t&&t.isUnstyled?void 0:p._getOptionValue(null===(e=o.$instance)||void 0===e||null===(e=e.$css)||void 0===e?void 0:e.classes,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},sx:function(){var t;return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?p._getOptionValue(null===(t=o.$instance)||void 0===t||null===(t=t.$css)||void 0===t?void 0:t.inlineStyles,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})):void 0}},g),o.$instance=o._$instances[n],null===(c=(s=o.$instance)[t])||void 0===c||c.call(s,o,l,r,u),p._hook(n,t,o,l,r,u)};return{created:function(t,e,n,i){o("created",t,e,n,i)},beforeMount:function(e,n,i,l){var r,u,a,c,s,v=null==n||null===(r=n.instance)||void 0===r||null===(r=r.$primevue)||void 0===r?void 0:r.config;t.loadBaseStyle(void 0,{nonce:null==v||null===(u=v.csp)||void 0===u?void 0:u.nonce}),(null===(a=e.$instance)||void 0===a||!a.isUnstyled)&&(null===(c=e.$instance)||void 0===c||null===(c=c.$css)||void 0===c||c.loadStyle(void 0,{nonce:null==v||null===(s=v.csp)||void 0===s?void 0:s.nonce})),o("beforeMount",e,n,i,l)},mounted:function(t,e,n,i){o("mounted",t,e,n,i)},beforeUpdate:function(t,e,n,i){o("beforeUpdate",t,e,n,i)},updated:function(t,e,n,i){o("updated",t,e,n,i)},beforeUnmount:function(t,e,n,i){o("beforeUnmount",t,e,n,i)},unmounted:function(t,e,n,i){o("unmounted",t,e,n,i)}}},extend:function(){var t=o(p._getMeta.apply(p,arguments),2),e=t[1];return v({extend:function(){var t=o(p._getMeta.apply(p,arguments),2),n=t[1];return p.extend(t[0],v(v(v({},e),null==e?void 0:e.methods),n))}},p._extend(t[0],e))}};module.exports=p;
1
+ "use strict";var t=require("primevue/base"),e=require("primevue/utils"),n=require("vue");function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){return a(t)||c(t,e)||r(t,e)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function c(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,l,r,u=[],c=!0,a=!1;try{if(l=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=l.call(n)).done)&&(u.push(i.value),u.length!==e);c=!0);}catch(t){a=!0,o=t}finally{try{if(!c&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(a)throw o}}return u}}function a(t){if(Array.isArray(t))return t}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){var e=g(t,"string");return"symbol"===i(e)?e:String(e)}function g(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var p={_getMeta:function(){return[e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],e.ObjectUtils.getItemValue(e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getOptionValue:function(t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e.ObjectUtils.toFlatCase(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").split("."),o=i.shift();return o?e.ObjectUtils.isObject(t)?p._getOptionValue(e.ObjectUtils.getItemValue(t[Object.keys(t).find((function(t){return e.ObjectUtils.toFlatCase(t)===o}))||""],n),i.join("."),n):void 0:e.ObjectUtils.getItemValue(t,n)},_getPTValue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=function(){var t=p._getOptionValue.apply(p,arguments);return e.ObjectUtils.isString(t)||e.ObjectUtils.isArray(t)?{class:t}:t},u="data-pc-",c=p._usePT(p._getPT(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t.$name),r,i,o),a=l?p._useDefaultPT(t.defaultPT,r,i,o):void 0;return n.mergeProps(c,a,v(v({},"root"===i&&d({},"".concat(u,"name"),e.ObjectUtils.toFlatCase(t.$name))),{},d({},"".concat(u,"section"),e.ObjectUtils.toFlatCase(i))))},_getPT:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=null==t?void 0:t._usept,l=function(t){var o,l=i?i(t):t;return null!==(o=null==l?void 0:l[e.ObjectUtils.toFlatCase(n)])&&void 0!==o?o:l};return e.ObjectUtils.isNotEmpty(o)?{_usept:o,originalValue:l(t.originalValue),value:l(t.value)}:l(t)},_usePT:function(t,i,o,l){var r=function(t){return i(t,o,l)};if(null!=t&&t.hasOwnProperty("_usept")){var u=t._usept,c=u.mergeSections,a=u.mergeProps,s=r(t.originalValue),d=r(t.value);if(void 0===s&&void 0===d)return;return e.ObjectUtils.isString(d)?d:e.ObjectUtils.isString(s)?s:c||!c&&d?a?n.mergeProps(s,d):v(v({},s),d):d}return r(t)},_useDefaultPT:function(){return p._usePT(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0,arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0)},_hook:function(t,n,i,o,l,r){var u,c,a,s="on".concat(e.ObjectUtils.toCapitalCase(n)),v=null==o||null===(u=o.instance)||void 0===u||null===(u=u.$primevue)||void 0===u?void 0:u.config,d=p._usePT(p._getPT(null==o||null===(c=o.value)||void 0===c?void 0:c.pt,t),p._getOptionValue,"hooks.".concat(s)),f=p._useDefaultPT(null==v||null===(a=v.pt)||void 0===a||null===(a=a.directives)||void 0===a?void 0:a[t],p._getOptionValue,"hooks.".concat(s)),g={el:i,binding:o,vnode:l,prevVnode:r};null==d||d(null==i?void 0:i.$instance,g),null==f||f(null==i?void 0:i.$instance,g)},_extend:function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=function(t,o,l,r,u){var c,a,s;o._$instances=o._$instances||{};var d=null==l||null===(c=l.instance)||void 0===c||null===(c=c.$primevue)||void 0===c?void 0:c.config,f=o._$instances[n]||{},g=e.ObjectUtils.isEmpty(f)?v(v({},i),null==i?void 0:i.methods):{};o._$instances[n]=v(v({},f),{},{$name:n,$host:o,$binding:l,$el:f.$el||void 0,$css:v({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},null==i?void 0:i.css),$config:d,defaultPT:p._getPT(null==d?void 0:d.pt,void 0,(function(t){var e;return null==t||null===(e=t.directives)||void 0===e?void 0:e[n]})),isUnstyled:void 0!==o.unstyled?o.unstyled:null==d?void 0:d.unstyled,ptm:function(){var t;return p._getPTValue(o.$instance,null===(t=o.$instance)||void 0===t||null===(t=t.$binding)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.pt,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},ptmo:function(){return p._getPTValue(o.$instance,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},!1)},cx:function(){var t,e;return null!==(t=o.$instance)&&void 0!==t&&t.isUnstyled?void 0:p._getOptionValue(null===(e=o.$instance)||void 0===e||null===(e=e.$css)||void 0===e?void 0:e.classes,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},sx:function(){var t;return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?p._getOptionValue(null===(t=o.$instance)||void 0===t||null===(t=t.$css)||void 0===t?void 0:t.inlineStyles,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})):void 0}},g),o.$instance=o._$instances[n],null===(a=(s=o.$instance)[t])||void 0===a||a.call(s,o,l,r,u),p._hook(n,t,o,l,r,u)};return{created:function(t,e,n,i){o("created",t,e,n,i)},beforeMount:function(e,n,i,l){var r,u,c,a,s,v=null==n||null===(r=n.instance)||void 0===r||null===(r=r.$primevue)||void 0===r?void 0:r.config;t.loadBaseStyle(void 0,{nonce:null==v||null===(u=v.csp)||void 0===u?void 0:u.nonce}),(null===(c=e.$instance)||void 0===c||!c.isUnstyled)&&(null===(a=e.$instance)||void 0===a||null===(a=a.$css)||void 0===a||a.loadStyle(void 0,{nonce:null==v||null===(s=v.csp)||void 0===s?void 0:s.nonce})),o("beforeMount",e,n,i,l)},mounted:function(t,e,n,i){o("mounted",t,e,n,i)},beforeUpdate:function(t,e,n,i){o("beforeUpdate",t,e,n,i)},updated:function(t,e,n,i){o("updated",t,e,n,i)},beforeUnmount:function(t,e,n,i){o("beforeUnmount",t,e,n,i)},unmounted:function(t,e,n,i){o("unmounted",t,e,n,i)}}},extend:function(){var t=o(p._getMeta.apply(p,arguments),2),e=t[1];return v({extend:function(){var t=o(p._getMeta.apply(p,arguments),2),n=t[1];return p.extend(t[0],v(v(v({},e),null==e?void 0:e.methods),n))}},p._extend(t[0],e))}};module.exports=p;
@@ -2,15 +2,15 @@ import { loadBaseStyle } from 'primevue/base';
2
2
  import { ObjectUtils } from 'primevue/utils';
3
3
  import { mergeProps } from 'vue';
4
4
 
5
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
5
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
6
6
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
7
7
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
8
8
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
9
9
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
10
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
10
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
11
11
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
13
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
12
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
14
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
15
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
16
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -66,12 +66,12 @@ var BaseDirective = {
66
66
  };
67
67
  if (pt !== null && pt !== void 0 && pt.hasOwnProperty('_usept')) {
68
68
  var _pt$_usept = pt['_usept'],
69
- merge = _pt$_usept.merge,
70
- useMergeProps = _pt$_usept.useMergeProps;
69
+ mergeSections = _pt$_usept.mergeSections,
70
+ useMergeProps = _pt$_usept.mergeProps;
71
71
  var originalValue = fn(pt.originalValue);
72
72
  var value = fn(pt.value);
73
73
  if (originalValue === undefined && value === undefined) return undefined;else if (ObjectUtils.isString(value)) return value;else if (ObjectUtils.isString(originalValue)) return originalValue;
74
- return merge ? useMergeProps ? mergeProps(originalValue, value) : _objectSpread(_objectSpread({}, originalValue), value) : value;
74
+ return mergeSections || !mergeSections && value ? useMergeProps ? mergeProps(originalValue, value) : _objectSpread(_objectSpread({}, originalValue), value) : value;
75
75
  }
76
76
  return fn(pt);
77
77
  },
@@ -94,8 +94,8 @@ var BaseDirective = {
94
94
  vnode: vnode,
95
95
  prevVnode: prevVnode
96
96
  };
97
- selfHook === null || selfHook === void 0 ? void 0 : selfHook(el === null || el === void 0 ? void 0 : el.$instance, options);
98
- defaultHook === null || defaultHook === void 0 ? void 0 : defaultHook(el === null || el === void 0 ? void 0 : el.$instance, options);
97
+ selfHook === null || selfHook === void 0 || selfHook(el === null || el === void 0 ? void 0 : el.$instance, options);
98
+ defaultHook === null || defaultHook === void 0 || defaultHook(el === null || el === void 0 ? void 0 : el.$instance, options);
99
99
  },
100
100
  _extend: function _extend(name) {
101
101
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -151,7 +151,7 @@ var BaseDirective = {
151
151
  }
152
152
  }, $options);
153
153
  el.$instance = el._$instances[name]; // pass instance data to hooks
154
- (_el$$instance$hook = (_el$$instance5 = el.$instance)[hook]) === null || _el$$instance$hook === void 0 ? void 0 : _el$$instance$hook.call(_el$$instance5, el, binding, vnode, prevVnode); // handle hook in directive implementation
154
+ (_el$$instance$hook = (_el$$instance5 = el.$instance)[hook]) === null || _el$$instance$hook === void 0 || _el$$instance$hook.call(_el$$instance5, el, binding, vnode, prevVnode); // handle hook in directive implementation
155
155
  BaseDirective._hook(name, hook, el, binding, vnode, prevVnode); // handle hooks during directive uses (global and self-definition)
156
156
  };
157
157
 
@@ -1 +1 @@
1
- import{loadBaseStyle as n}from"primevue/base";import{ObjectUtils as t}from"primevue/utils";import{mergeProps as e}from"vue";function o(n){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(n)}function i(n,t){return c(n)||a(n,t)||l(n,t)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(n,t){if(n){if("string"==typeof n)return u(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(n,t):void 0}}function u(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=new Array(t);e<t;e++)o[e]=n[e];return o}function a(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var o,i,r,l,u=[],a=!0,c=!1;try{if(r=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;a=!1}else for(;!(a=(o=r.call(e)).done)&&(u.push(o.value),u.length!==t);a=!0);}catch(n){c=!0,i=n}finally{try{if(!a&&null!=e.return&&(l=e.return(),Object(l)!==l))return}finally{if(c)throw i}}return u}}function c(n){if(Array.isArray(n))return n}function v(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,o)}return e}function d(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?v(Object(e),!0).forEach((function(t){s(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):v(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function s(n,t,e){return(t=f(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function f(n){var t=g(n,"string");return"symbol"===o(t)?t:String(t)}function g(n,t){if("object"!==o(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}var p={_getMeta:function(){return[t.isObject(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],t.getItemValue(t.isObject(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getOptionValue:function(n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.toFlatCase(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").split("."),i=o.shift();return i?t.isObject(n)?p._getOptionValue(t.getItemValue(n[Object.keys(n).find((function(n){return t.toFlatCase(n)===i}))||""],e),o.join("."),e):void 0:t.getItemValue(n,e)},_getPTValue:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],l=function(){var n=p._getOptionValue.apply(p,arguments);return t.isString(n)||t.isArray(n)?{class:n}:n},u="data-pc-",a=p._usePT(p._getPT(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n.$name),l,o,i),c=r?p._useDefaultPT(n.defaultPT,l,o,i):void 0;return e(a,c,d(d({},"root"===o&&s({},"".concat(u,"name"),t.toFlatCase(n.$name))),{},s({},"".concat(u,"section"),t.toFlatCase(o))))},_getPT:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,i=null==n?void 0:n._usept,r=function(n){var i,r=o?o(n):n;return null!==(i=null==r?void 0:r[t.toFlatCase(e)])&&void 0!==i?i:r};return t.isNotEmpty(i)?{_usept:i,originalValue:r(n.originalValue),value:r(n.value)}:r(n)},_usePT:function(n,o,i,r){var l=function(n){return o(n,i,r)};if(null!=n&&n.hasOwnProperty("_usept")){var u=n._usept,a=u.merge,c=u.useMergeProps,v=l(n.originalValue),s=l(n.value);if(void 0===v&&void 0===s)return;return t.isString(s)?s:t.isString(v)?v:a?c?e(v,s):d(d({},v),s):s}return l(n)},_useDefaultPT:function(){return p._usePT(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0,arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0)},_hook:function(n,e,o,i,r,l){var u,a,c,v="on".concat(t.toCapitalCase(e)),d=null==i||null===(u=i.instance)||void 0===u||null===(u=u.$primevue)||void 0===u?void 0:u.config,s=p._usePT(p._getPT(null==i||null===(a=i.value)||void 0===a?void 0:a.pt,n),p._getOptionValue,"hooks.".concat(v)),f=p._useDefaultPT(null==d||null===(c=d.pt)||void 0===c||null===(c=c.directives)||void 0===c?void 0:c[n],p._getOptionValue,"hooks.".concat(v)),g={el:o,binding:i,vnode:r,prevVnode:l};null==s||s(null==o?void 0:o.$instance,g),null==f||f(null==o?void 0:o.$instance,g)},_extend:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=function(n,i,r,l,u){var a,c,v;i._$instances=i._$instances||{};var s=null==r||null===(a=r.instance)||void 0===a||null===(a=a.$primevue)||void 0===a?void 0:a.config,f=i._$instances[e]||{},g=t.isEmpty(f)?d(d({},o),null==o?void 0:o.methods):{};i._$instances[e]=d(d({},f),{},{$name:e,$host:i,$binding:r,$el:f.$el||void 0,$css:d({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},null==o?void 0:o.css),$config:s,defaultPT:p._getPT(null==s?void 0:s.pt,void 0,(function(n){var t;return null==n||null===(t=n.directives)||void 0===t?void 0:t[e]})),isUnstyled:void 0!==i.unstyled?i.unstyled:null==s?void 0:s.unstyled,ptm:function(){var n;return p._getPTValue(i.$instance,null===(n=i.$instance)||void 0===n||null===(n=n.$binding)||void 0===n||null===(n=n.value)||void 0===n?void 0:n.pt,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",d({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},ptmo:function(){return p._getPTValue(i.$instance,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},!1)},cx:function(){var n,t;return null!==(n=i.$instance)&&void 0!==n&&n.isUnstyled?void 0:p._getOptionValue(null===(t=i.$instance)||void 0===t||null===(t=t.$css)||void 0===t?void 0:t.classes,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",d({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},sx:function(){var n;return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?p._getOptionValue(null===(n=i.$instance)||void 0===n||null===(n=n.$css)||void 0===n?void 0:n.inlineStyles,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",d({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})):void 0}},g),i.$instance=i._$instances[e],null===(c=(v=i.$instance)[n])||void 0===c||c.call(v,i,r,l,u),p._hook(e,n,i,r,l,u)};return{created:function(n,t,e,o){i("created",n,t,e,o)},beforeMount:function(t,e,o,r){var l,u,a,c,v,d=null==e||null===(l=e.instance)||void 0===l||null===(l=l.$primevue)||void 0===l?void 0:l.config;n(void 0,{nonce:null==d||null===(u=d.csp)||void 0===u?void 0:u.nonce}),(null===(a=t.$instance)||void 0===a||!a.isUnstyled)&&(null===(c=t.$instance)||void 0===c||null===(c=c.$css)||void 0===c||c.loadStyle(void 0,{nonce:null==d||null===(v=d.csp)||void 0===v?void 0:v.nonce})),i("beforeMount",t,e,o,r)},mounted:function(n,t,e,o){i("mounted",n,t,e,o)},beforeUpdate:function(n,t,e,o){i("beforeUpdate",n,t,e,o)},updated:function(n,t,e,o){i("updated",n,t,e,o)},beforeUnmount:function(n,t,e,o){i("beforeUnmount",n,t,e,o)},unmounted:function(n,t,e,o){i("unmounted",n,t,e,o)}}},extend:function(){var n=i(p._getMeta.apply(p,arguments),2),t=n[1];return d({extend:function(){var n=i(p._getMeta.apply(p,arguments),2),e=n[1];return p.extend(n[0],d(d(d({},t),null==t?void 0:t.methods),e))}},p._extend(n[0],t))}};export{p as default};
1
+ import{loadBaseStyle as n}from"primevue/base";import{ObjectUtils as t}from"primevue/utils";import{mergeProps as e}from"vue";function o(n){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},o(n)}function i(n,t){return c(n)||a(n,t)||l(n,t)||r()}function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(n,t){if(n){if("string"==typeof n)return u(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?u(n,t):void 0}}function u(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,o=new Array(t);e<t;e++)o[e]=n[e];return o}function a(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var o,i,r,l,u=[],a=!0,c=!1;try{if(r=(e=e.call(n)).next,0===t){if(Object(e)!==e)return;a=!1}else for(;!(a=(o=r.call(e)).done)&&(u.push(o.value),u.length!==t);a=!0);}catch(n){c=!0,i=n}finally{try{if(!a&&null!=e.return&&(l=e.return(),Object(l)!==l))return}finally{if(c)throw i}}return u}}function c(n){if(Array.isArray(n))return n}function v(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,o)}return e}function d(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?v(Object(e),!0).forEach((function(t){s(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):v(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}function s(n,t,e){return(t=f(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function f(n){var t=g(n,"string");return"symbol"===o(t)?t:String(t)}function g(n,t){if("object"!==o(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var i=e.call(n,t||"default");if("object"!==o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(n)}var p={_getMeta:function(){return[t.isObject(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],t.getItemValue(t.isObject(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getOptionValue:function(n){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.toFlatCase(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").split("."),i=o.shift();return i?t.isObject(n)?p._getOptionValue(t.getItemValue(n[Object.keys(n).find((function(n){return t.toFlatCase(n)===i}))||""],e),o.join("."),e):void 0:t.getItemValue(n,e)},_getPTValue:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],l=function(){var n=p._getOptionValue.apply(p,arguments);return t.isString(n)||t.isArray(n)?{class:n}:n},u="data-pc-",a=p._usePT(p._getPT(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n.$name),l,o,i),c=r?p._useDefaultPT(n.defaultPT,l,o,i):void 0;return e(a,c,d(d({},"root"===o&&s({},"".concat(u,"name"),t.toFlatCase(n.$name))),{},s({},"".concat(u,"section"),t.toFlatCase(o))))},_getPT:function(n){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=arguments.length>2?arguments[2]:void 0,i=null==n?void 0:n._usept,r=function(n){var i,r=o?o(n):n;return null!==(i=null==r?void 0:r[t.toFlatCase(e)])&&void 0!==i?i:r};return t.isNotEmpty(i)?{_usept:i,originalValue:r(n.originalValue),value:r(n.value)}:r(n)},_usePT:function(n,o,i,r){var l=function(n){return o(n,i,r)};if(null!=n&&n.hasOwnProperty("_usept")){var u=n._usept,a=u.mergeSections,c=u.mergeProps,v=l(n.originalValue),s=l(n.value);if(void 0===v&&void 0===s)return;return t.isString(s)?s:t.isString(v)?v:a||!a&&s?c?e(v,s):d(d({},v),s):s}return l(n)},_useDefaultPT:function(){return p._usePT(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0,arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0)},_hook:function(n,e,o,i,r,l){var u,a,c,v="on".concat(t.toCapitalCase(e)),d=null==i||null===(u=i.instance)||void 0===u||null===(u=u.$primevue)||void 0===u?void 0:u.config,s=p._usePT(p._getPT(null==i||null===(a=i.value)||void 0===a?void 0:a.pt,n),p._getOptionValue,"hooks.".concat(v)),f=p._useDefaultPT(null==d||null===(c=d.pt)||void 0===c||null===(c=c.directives)||void 0===c?void 0:c[n],p._getOptionValue,"hooks.".concat(v)),g={el:o,binding:i,vnode:r,prevVnode:l};null==s||s(null==o?void 0:o.$instance,g),null==f||f(null==o?void 0:o.$instance,g)},_extend:function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=function(n,i,r,l,u){var a,c,v;i._$instances=i._$instances||{};var s=null==r||null===(a=r.instance)||void 0===a||null===(a=a.$primevue)||void 0===a?void 0:a.config,f=i._$instances[e]||{},g=t.isEmpty(f)?d(d({},o),null==o?void 0:o.methods):{};i._$instances[e]=d(d({},f),{},{$name:e,$host:i,$binding:r,$el:f.$el||void 0,$css:d({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},null==o?void 0:o.css),$config:s,defaultPT:p._getPT(null==s?void 0:s.pt,void 0,(function(n){var t;return null==n||null===(t=n.directives)||void 0===t?void 0:t[e]})),isUnstyled:void 0!==i.unstyled?i.unstyled:null==s?void 0:s.unstyled,ptm:function(){var n;return p._getPTValue(i.$instance,null===(n=i.$instance)||void 0===n||null===(n=n.$binding)||void 0===n||null===(n=n.value)||void 0===n?void 0:n.pt,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",d({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},ptmo:function(){return p._getPTValue(i.$instance,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},!1)},cx:function(){var n,t;return null!==(n=i.$instance)&&void 0!==n&&n.isUnstyled?void 0:p._getOptionValue(null===(t=i.$instance)||void 0===t||null===(t=t.$css)||void 0===t?void 0:t.classes,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",d({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},sx:function(){var n;return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?p._getOptionValue(null===(n=i.$instance)||void 0===n||null===(n=n.$css)||void 0===n?void 0:n.inlineStyles,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",d({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})):void 0}},g),i.$instance=i._$instances[e],null===(c=(v=i.$instance)[n])||void 0===c||c.call(v,i,r,l,u),p._hook(e,n,i,r,l,u)};return{created:function(n,t,e,o){i("created",n,t,e,o)},beforeMount:function(t,e,o,r){var l,u,a,c,v,d=null==e||null===(l=e.instance)||void 0===l||null===(l=l.$primevue)||void 0===l?void 0:l.config;n(void 0,{nonce:null==d||null===(u=d.csp)||void 0===u?void 0:u.nonce}),(null===(a=t.$instance)||void 0===a||!a.isUnstyled)&&(null===(c=t.$instance)||void 0===c||null===(c=c.$css)||void 0===c||c.loadStyle(void 0,{nonce:null==d||null===(v=d.csp)||void 0===v?void 0:v.nonce})),i("beforeMount",t,e,o,r)},mounted:function(n,t,e,o){i("mounted",n,t,e,o)},beforeUpdate:function(n,t,e,o){i("beforeUpdate",n,t,e,o)},updated:function(n,t,e,o){i("updated",n,t,e,o)},beforeUnmount:function(n,t,e,o){i("beforeUnmount",n,t,e,o)},unmounted:function(n,t,e,o){i("unmounted",n,t,e,o)}}},extend:function(){var n=i(p._getMeta.apply(p,arguments),2),t=n[1];return d({extend:function(){var n=i(p._getMeta.apply(p,arguments),2),e=n[1];return p.extend(n[0],d(d(d({},t),null==t?void 0:t.methods),e))}},p._extend(n[0],t))}};export{p as default};
@@ -2,15 +2,15 @@ this.primevue = this.primevue || {};
2
2
  this.primevue.basedirective = (function (base, utils, vue) {
3
3
  'use strict';
4
4
 
5
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
5
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
6
6
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
7
7
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
8
8
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
9
9
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
10
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
10
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
11
11
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
12
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
13
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
12
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
14
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
15
15
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
16
16
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
@@ -66,12 +66,12 @@ this.primevue.basedirective = (function (base, utils, vue) {
66
66
  };
67
67
  if (pt !== null && pt !== void 0 && pt.hasOwnProperty('_usept')) {
68
68
  var _pt$_usept = pt['_usept'],
69
- merge = _pt$_usept.merge,
70
- useMergeProps = _pt$_usept.useMergeProps;
69
+ mergeSections = _pt$_usept.mergeSections,
70
+ useMergeProps = _pt$_usept.mergeProps;
71
71
  var originalValue = fn(pt.originalValue);
72
72
  var value = fn(pt.value);
73
73
  if (originalValue === undefined && value === undefined) return undefined;else if (utils.ObjectUtils.isString(value)) return value;else if (utils.ObjectUtils.isString(originalValue)) return originalValue;
74
- return merge ? useMergeProps ? vue.mergeProps(originalValue, value) : _objectSpread(_objectSpread({}, originalValue), value) : value;
74
+ return mergeSections || !mergeSections && value ? useMergeProps ? vue.mergeProps(originalValue, value) : _objectSpread(_objectSpread({}, originalValue), value) : value;
75
75
  }
76
76
  return fn(pt);
77
77
  },
@@ -94,8 +94,8 @@ this.primevue.basedirective = (function (base, utils, vue) {
94
94
  vnode: vnode,
95
95
  prevVnode: prevVnode
96
96
  };
97
- selfHook === null || selfHook === void 0 ? void 0 : selfHook(el === null || el === void 0 ? void 0 : el.$instance, options);
98
- defaultHook === null || defaultHook === void 0 ? void 0 : defaultHook(el === null || el === void 0 ? void 0 : el.$instance, options);
97
+ selfHook === null || selfHook === void 0 || selfHook(el === null || el === void 0 ? void 0 : el.$instance, options);
98
+ defaultHook === null || defaultHook === void 0 || defaultHook(el === null || el === void 0 ? void 0 : el.$instance, options);
99
99
  },
100
100
  _extend: function _extend(name) {
101
101
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -151,7 +151,7 @@ this.primevue.basedirective = (function (base, utils, vue) {
151
151
  }
152
152
  }, $options);
153
153
  el.$instance = el._$instances[name]; // pass instance data to hooks
154
- (_el$$instance$hook = (_el$$instance5 = el.$instance)[hook]) === null || _el$$instance$hook === void 0 ? void 0 : _el$$instance$hook.call(_el$$instance5, el, binding, vnode, prevVnode); // handle hook in directive implementation
154
+ (_el$$instance$hook = (_el$$instance5 = el.$instance)[hook]) === null || _el$$instance$hook === void 0 || _el$$instance$hook.call(_el$$instance5, el, binding, vnode, prevVnode); // handle hook in directive implementation
155
155
  BaseDirective._hook(name, hook, el, binding, vnode, prevVnode); // handle hooks during directive uses (global and self-definition)
156
156
  };
157
157
 
@@ -1 +1 @@
1
- this.primevue=this.primevue||{},this.primevue.basedirective=function(t,e,n){"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){return a(t)||c(t,e)||r(t,e)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function c(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,l,r,u=[],c=!0,a=!1;try{if(l=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=l.call(n)).done)&&(u.push(i.value),u.length!==e);c=!0);}catch(t){a=!0,o=t}finally{try{if(!c&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(a)throw o}}return u}}function a(t){if(Array.isArray(t))return t}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){var e=g(t,"string");return"symbol"===i(e)?e:String(e)}function g(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var p={_getMeta:function(){return[e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],e.ObjectUtils.getItemValue(e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getOptionValue:function(t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e.ObjectUtils.toFlatCase(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").split("."),o=i.shift();return o?e.ObjectUtils.isObject(t)?p._getOptionValue(e.ObjectUtils.getItemValue(t[Object.keys(t).find((function(t){return e.ObjectUtils.toFlatCase(t)===o}))||""],n),i.join("."),n):void 0:e.ObjectUtils.getItemValue(t,n)},_getPTValue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=function(){var t=p._getOptionValue.apply(p,arguments);return e.ObjectUtils.isString(t)||e.ObjectUtils.isArray(t)?{class:t}:t},u="data-pc-",c=p._usePT(p._getPT(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t.$name),r,i,o),a=l?p._useDefaultPT(t.defaultPT,r,i,o):void 0;return n.mergeProps(c,a,v(v({},"root"===i&&d({},"".concat(u,"name"),e.ObjectUtils.toFlatCase(t.$name))),{},d({},"".concat(u,"section"),e.ObjectUtils.toFlatCase(i))))},_getPT:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=null==t?void 0:t._usept,l=function(t){var o,l=i?i(t):t;return null!==(o=null==l?void 0:l[e.ObjectUtils.toFlatCase(n)])&&void 0!==o?o:l};return e.ObjectUtils.isNotEmpty(o)?{_usept:o,originalValue:l(t.originalValue),value:l(t.value)}:l(t)},_usePT:function(t,i,o,l){var r=function(t){return i(t,o,l)};if(null!=t&&t.hasOwnProperty("_usept")){var u=t._usept,c=u.merge,a=u.useMergeProps,s=r(t.originalValue),d=r(t.value);if(void 0===s&&void 0===d)return;return e.ObjectUtils.isString(d)?d:e.ObjectUtils.isString(s)?s:c?a?n.mergeProps(s,d):v(v({},s),d):d}return r(t)},_useDefaultPT:function(){return p._usePT(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0,arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0)},_hook:function(t,n,i,o,l,r){var u,c,a,s="on".concat(e.ObjectUtils.toCapitalCase(n)),v=null==o||null===(u=o.instance)||void 0===u||null===(u=u.$primevue)||void 0===u?void 0:u.config,d=p._usePT(p._getPT(null==o||null===(c=o.value)||void 0===c?void 0:c.pt,t),p._getOptionValue,"hooks.".concat(s)),f=p._useDefaultPT(null==v||null===(a=v.pt)||void 0===a||null===(a=a.directives)||void 0===a?void 0:a[t],p._getOptionValue,"hooks.".concat(s)),g={el:i,binding:o,vnode:l,prevVnode:r};null==d||d(null==i?void 0:i.$instance,g),null==f||f(null==i?void 0:i.$instance,g)},_extend:function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=function(t,o,l,r,u){var c,a,s;o._$instances=o._$instances||{};var d=null==l||null===(c=l.instance)||void 0===c||null===(c=c.$primevue)||void 0===c?void 0:c.config,f=o._$instances[n]||{},g=e.ObjectUtils.isEmpty(f)?v(v({},i),null==i?void 0:i.methods):{};o._$instances[n]=v(v({},f),{},{$name:n,$host:o,$binding:l,$el:f.$el||void 0,$css:v({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},null==i?void 0:i.css),$config:d,defaultPT:p._getPT(null==d?void 0:d.pt,void 0,(function(t){var e;return null==t||null===(e=t.directives)||void 0===e?void 0:e[n]})),isUnstyled:void 0!==o.unstyled?o.unstyled:null==d?void 0:d.unstyled,ptm:function(){var t;return p._getPTValue(o.$instance,null===(t=o.$instance)||void 0===t||null===(t=t.$binding)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.pt,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},ptmo:function(){return p._getPTValue(o.$instance,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},!1)},cx:function(){var t,e;return null!==(t=o.$instance)&&void 0!==t&&t.isUnstyled?void 0:p._getOptionValue(null===(e=o.$instance)||void 0===e||null===(e=e.$css)||void 0===e?void 0:e.classes,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},sx:function(){var t;return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?p._getOptionValue(null===(t=o.$instance)||void 0===t||null===(t=t.$css)||void 0===t?void 0:t.inlineStyles,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})):void 0}},g),o.$instance=o._$instances[n],null===(a=(s=o.$instance)[t])||void 0===a||a.call(s,o,l,r,u),p._hook(n,t,o,l,r,u)};return{created:function(t,e,n,i){o("created",t,e,n,i)},beforeMount:function(e,n,i,l){var r,u,c,a,s,v=null==n||null===(r=n.instance)||void 0===r||null===(r=r.$primevue)||void 0===r?void 0:r.config;t.loadBaseStyle(void 0,{nonce:null==v||null===(u=v.csp)||void 0===u?void 0:u.nonce}),(null===(c=e.$instance)||void 0===c||!c.isUnstyled)&&(null===(a=e.$instance)||void 0===a||null===(a=a.$css)||void 0===a||a.loadStyle(void 0,{nonce:null==v||null===(s=v.csp)||void 0===s?void 0:s.nonce})),o("beforeMount",e,n,i,l)},mounted:function(t,e,n,i){o("mounted",t,e,n,i)},beforeUpdate:function(t,e,n,i){o("beforeUpdate",t,e,n,i)},updated:function(t,e,n,i){o("updated",t,e,n,i)},beforeUnmount:function(t,e,n,i){o("beforeUnmount",t,e,n,i)},unmounted:function(t,e,n,i){o("unmounted",t,e,n,i)}}},extend:function(){var t=o(p._getMeta.apply(p,arguments),2),e=t[1];return v({extend:function(){var t=o(p._getMeta.apply(p,arguments),2),n=t[1];return p.extend(t[0],v(v(v({},e),null==e?void 0:e.methods),n))}},p._extend(t[0],e))}};return p}(primevue.base,primevue.utils,Vue);
1
+ this.primevue=this.primevue||{},this.primevue.basedirective=function(t,e,n){"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){return a(t)||c(t,e)||r(t,e)||l()}function l(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(t,e):void 0}}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function c(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,o,l,r,u=[],c=!0,a=!1;try{if(l=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=l.call(n)).done)&&(u.push(i.value),u.length!==e);c=!0);}catch(t){a=!0,o=t}finally{try{if(!c&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(a)throw o}}return u}}function a(t){if(Array.isArray(t))return t}function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function v(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return(e=f(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t){var e=g(t,"string");return"symbol"===i(e)?e:String(e)}function g(t,e){if("object"!==i(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!==i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}var p={_getMeta:function(){return[e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])||arguments.length<=0?void 0:arguments[0],e.ObjectUtils.getItemValue(e.ObjectUtils.isObject(arguments.length<=0?void 0:arguments[0])?arguments.length<=0?void 0:arguments[0]:arguments.length<=1?void 0:arguments[1])]},_getOptionValue:function(t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e.ObjectUtils.toFlatCase(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"").split("."),o=i.shift();return o?e.ObjectUtils.isObject(t)?p._getOptionValue(e.ObjectUtils.getItemValue(t[Object.keys(t).find((function(t){return e.ObjectUtils.toFlatCase(t)===o}))||""],n),i.join("."),n):void 0:e.ObjectUtils.getItemValue(t,n)},_getPTValue:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},l=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=function(){var t=p._getOptionValue.apply(p,arguments);return e.ObjectUtils.isString(t)||e.ObjectUtils.isArray(t)?{class:t}:t},u="data-pc-",c=p._usePT(p._getPT(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t.$name),r,i,o),a=l?p._useDefaultPT(t.defaultPT,r,i,o):void 0;return n.mergeProps(c,a,v(v({},"root"===i&&d({},"".concat(u,"name"),e.ObjectUtils.toFlatCase(t.$name))),{},d({},"".concat(u,"section"),e.ObjectUtils.toFlatCase(i))))},_getPT:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0,o=null==t?void 0:t._usept,l=function(t){var o,l=i?i(t):t;return null!==(o=null==l?void 0:l[e.ObjectUtils.toFlatCase(n)])&&void 0!==o?o:l};return e.ObjectUtils.isNotEmpty(o)?{_usept:o,originalValue:l(t.originalValue),value:l(t.value)}:l(t)},_usePT:function(t,i,o,l){var r=function(t){return i(t,o,l)};if(null!=t&&t.hasOwnProperty("_usept")){var u=t._usept,c=u.mergeSections,a=u.mergeProps,s=r(t.originalValue),d=r(t.value);if(void 0===s&&void 0===d)return;return e.ObjectUtils.isString(d)?d:e.ObjectUtils.isString(s)?s:c||!c&&d?a?n.mergeProps(s,d):v(v({},s),d):d}return r(t)},_useDefaultPT:function(){return p._usePT(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0,arguments.length>2?arguments[2]:void 0,arguments.length>3?arguments[3]:void 0)},_hook:function(t,n,i,o,l,r){var u,c,a,s="on".concat(e.ObjectUtils.toCapitalCase(n)),v=null==o||null===(u=o.instance)||void 0===u||null===(u=u.$primevue)||void 0===u?void 0:u.config,d=p._usePT(p._getPT(null==o||null===(c=o.value)||void 0===c?void 0:c.pt,t),p._getOptionValue,"hooks.".concat(s)),f=p._useDefaultPT(null==v||null===(a=v.pt)||void 0===a||null===(a=a.directives)||void 0===a?void 0:a[t],p._getOptionValue,"hooks.".concat(s)),g={el:i,binding:o,vnode:l,prevVnode:r};null==d||d(null==i?void 0:i.$instance,g),null==f||f(null==i?void 0:i.$instance,g)},_extend:function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=function(t,o,l,r,u){var c,a,s;o._$instances=o._$instances||{};var d=null==l||null===(c=l.instance)||void 0===c||null===(c=c.$primevue)||void 0===c?void 0:c.config,f=o._$instances[n]||{},g=e.ObjectUtils.isEmpty(f)?v(v({},i),null==i?void 0:i.methods):{};o._$instances[n]=v(v({},f),{},{$name:n,$host:o,$binding:l,$el:f.$el||void 0,$css:v({classes:void 0,inlineStyles:void 0,loadStyle:function(){}},null==i?void 0:i.css),$config:d,defaultPT:p._getPT(null==d?void 0:d.pt,void 0,(function(t){var e;return null==t||null===(e=t.directives)||void 0===e?void 0:e[n]})),isUnstyled:void 0!==o.unstyled?o.unstyled:null==d?void 0:d.unstyled,ptm:function(){var t;return p._getPTValue(o.$instance,null===(t=o.$instance)||void 0===t||null===(t=t.$binding)||void 0===t||null===(t=t.value)||void 0===t?void 0:t.pt,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},ptmo:function(){return p._getPTValue(o.$instance,arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},!1)},cx:function(){var t,e;return null!==(t=o.$instance)&&void 0!==t&&t.isUnstyled?void 0:p._getOptionValue(null===(e=o.$instance)||void 0===e||null===(e=e.$css)||void 0===e?void 0:e.classes,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))},sx:function(){var t;return!(arguments.length>1&&void 0!==arguments[1])||arguments[1]?p._getOptionValue(null===(t=o.$instance)||void 0===t||null===(t=t.$css)||void 0===t?void 0:t.inlineStyles,arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",v({},arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})):void 0}},g),o.$instance=o._$instances[n],null===(a=(s=o.$instance)[t])||void 0===a||a.call(s,o,l,r,u),p._hook(n,t,o,l,r,u)};return{created:function(t,e,n,i){o("created",t,e,n,i)},beforeMount:function(e,n,i,l){var r,u,c,a,s,v=null==n||null===(r=n.instance)||void 0===r||null===(r=r.$primevue)||void 0===r?void 0:r.config;t.loadBaseStyle(void 0,{nonce:null==v||null===(u=v.csp)||void 0===u?void 0:u.nonce}),(null===(c=e.$instance)||void 0===c||!c.isUnstyled)&&(null===(a=e.$instance)||void 0===a||null===(a=a.$css)||void 0===a||a.loadStyle(void 0,{nonce:null==v||null===(s=v.csp)||void 0===s?void 0:s.nonce})),o("beforeMount",e,n,i,l)},mounted:function(t,e,n,i){o("mounted",t,e,n,i)},beforeUpdate:function(t,e,n,i){o("beforeUpdate",t,e,n,i)},updated:function(t,e,n,i){o("updated",t,e,n,i)},beforeUnmount:function(t,e,n,i){o("beforeUnmount",t,e,n,i)},unmounted:function(t,e,n,i){o("unmounted",t,e,n,i)}}},extend:function(){var t=o(p._getMeta.apply(p,arguments),2),e=t[1];return v({extend:function(){var t=o(p._getMeta.apply(p,arguments),2),n=t[1];return p.extend(t[0],v(v(v({},e),null==e?void 0:e.methods),n))}},p._extend(t[0],e))}};return p}(primevue.base,primevue.utils,Vue);
@@ -138,6 +138,14 @@ export interface BreadcrumbSlots {
138
138
  * Menuitem instance
139
139
  */
140
140
  item: MenuItem;
141
+ /**
142
+ * Label property of the menuitem
143
+ */
144
+ label: string | ((...args: any) => string) | undefined;
145
+ /**
146
+ * Binding properties of the menuitem
147
+ */
148
+ props: (...args: any) => string;
141
149
  }): VNode[];
142
150
  /**
143
151
  * Custom separator template.
@@ -1,14 +1,14 @@
1
1
  <template>
2
2
  <nav :class="cx('root')" v-bind="ptm('root')" data-pc-name="breadcrumb">
3
3
  <ol :class="cx('menu')" v-bind="ptm('menu')">
4
- <BreadcrumbItem v-if="home" :item="home" :class="cx('home')" :templates="$slots" :exact="exact" :pt="pt" v-bind="ptm('home')" />
4
+ <BreadcrumbItem v-if="home" :item="home" :class="cx('home')" :templates="$slots" :exact="exact" :pt="pt" :unstyled="unstyled" v-bind="ptm('home')" />
5
5
  <template v-for="(item, i) of model" :key="item.label">
6
6
  <li v-if="home || i !== 0" :class="cx('separator')" v-bind="ptm('separator')">
7
7
  <slot name="separator">
8
8
  <ChevronRightIcon aria-hidden="true" v-bind="ptm('separatorIcon')" />
9
9
  </slot>
10
10
  </li>
11
- <BreadcrumbItem :item="item" :index="i" :templates="$slots" :exact="exact" :pt="pt" />
11
+ <BreadcrumbItem :item="item" :index="i" :templates="$slots" :exact="exact" :pt="pt" :unstyled="unstyled" />
12
12
  </template>
13
13
  </ol>
14
14
  </nav>
@@ -22,6 +22,11 @@ import BreadcrumbItem from './BreadcrumbItem.vue';
22
22
  export default {
23
23
  name: 'Breadcrumb',
24
24
  extends: BaseBreadcrumb,
25
+ beforeMount() {
26
+ if (!this.$slots.item) {
27
+ console.warn('In future versions, vue-router support will be removed. Item templating should be used.');
28
+ }
29
+ },
25
30
  components: {
26
31
  BreadcrumbItem: BreadcrumbItem,
27
32
  ChevronRightIcon: ChevronRightIcon
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <li v-if="visible()" :class="[cx('menuitem'), item.class]" v-bind="ptm('menuitem', ptmOptions)">
3
- <template v-if="!templates || !templates.item">
3
+ <template v-if="!templates.item">
4
4
  <router-link v-if="item.to" v-slot="{ navigate, href, isActive, isExactActive }" :to="item.to" custom>
5
5
  <a :href="href" :class="cx('action', { isActive, isExactActive })" :aria-current="isCurrentUrl()" @click="onClick($event, navigate)" v-bind="ptm('action', ptmOptions)">
6
6
  <component v-if="templates.itemicon" :is="templates.itemicon" :item="item" :class="cx('icon')" />
@@ -14,12 +14,13 @@
14
14
  <span v-if="item.label" :class="cx('label')" v-bind="ptm('label', ptmOptions)">{{ label() }}</span>
15
15
  </a>
16
16
  </template>
17
- <component v-else :is="templates.item" :item="item"></component>
17
+ <component v-else :is="templates.item" :item="item" :label="label()" :props="getMenuItemProps"></component>
18
18
  </li>
19
19
  </template>
20
20
 
21
21
  <script>
22
22
  import BaseComponent from 'primevue/basecomponent';
23
+ import { mergeProps } from 'vue';
23
24
 
24
25
  export default {
25
26
  name: 'BreadcrumbItem',
@@ -55,7 +56,7 @@ export default {
55
56
  },
56
57
  isCurrentUrl() {
57
58
  const { to, url } = this.item;
58
- let lastPath = this.$router ? this.$router.currentRoute.path : '';
59
+ const lastPath = typeof window !== 'undefined' ? window.location.pathname : '';
59
60
 
60
61
  return to === lastPath || url === lastPath ? 'page' : undefined;
61
62
  }
@@ -68,6 +69,30 @@ export default {
68
69
  index: this.index
69
70
  }
70
71
  };
72
+ },
73
+ getMenuItemProps() {
74
+ return {
75
+ action: mergeProps(
76
+ {
77
+ class: this.cx('action'),
78
+ 'aria-current': this.isCurrentUrl(),
79
+ onClick: ($event) => this.onClick($event)
80
+ },
81
+ this.ptm('action', this.ptmOptions)
82
+ ),
83
+ icon: mergeProps(
84
+ {
85
+ class: [this.cx('icon'), this.item.icon]
86
+ },
87
+ this.ptm('icon', this.ptmOptions)
88
+ ),
89
+ label: mergeProps(
90
+ {
91
+ class: this.cx('label')
92
+ },
93
+ this.ptm('label', this.ptmOptions)
94
+ )
95
+ };
71
96
  }
72
97
  }
73
98
  };