primevue 4.3.1 → 4.3.3

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 (254) hide show
  1. package/accordionheader/AccordionHeader.vue +8 -2
  2. package/accordionheader/index.mjs +8 -1
  3. package/accordionheader/index.mjs.map +1 -1
  4. package/autocomplete/AutoComplete.vue +72 -16
  5. package/autocomplete/index.d.ts +3 -3
  6. package/autocomplete/index.mjs +84 -37
  7. package/autocomplete/index.mjs.map +1 -1
  8. package/avatar/Avatar.vue +13 -4
  9. package/avatar/index.d.ts +3 -3
  10. package/avatar/index.mjs +26 -6
  11. package/avatar/index.mjs.map +1 -1
  12. package/badge/Badge.vue +13 -2
  13. package/badge/index.d.ts +1 -1
  14. package/badge/index.mjs +18 -3
  15. package/badge/index.mjs.map +1 -1
  16. package/blockui/BlockUI.vue +15 -4
  17. package/blockui/index.mjs +13 -4
  18. package/blockui/index.mjs.map +1 -1
  19. package/button/Button.vue +30 -3
  20. package/button/index.d.ts +3 -7
  21. package/button/index.mjs +28 -9
  22. package/button/index.mjs.map +1 -1
  23. package/cascadeselect/CascadeSelect.vue +1 -1
  24. package/cascadeselect/index.d.ts +2 -2
  25. package/cascadeselect/index.mjs +1 -2
  26. package/cascadeselect/index.mjs.map +1 -1
  27. package/checkbox/Checkbox.vue +15 -5
  28. package/checkbox/index.d.ts +2 -2
  29. package/checkbox/index.mjs +29 -7
  30. package/checkbox/index.mjs.map +1 -1
  31. package/chip/BaseChip.vue +1 -1
  32. package/chip/Chip.vue +9 -1
  33. package/chip/index.d.ts +1 -1
  34. package/chip/index.mjs +13 -3
  35. package/chip/index.mjs.map +1 -1
  36. package/colorpicker/ColorPicker.vue +10 -2
  37. package/colorpicker/index.d.ts +1 -1
  38. package/colorpicker/index.mjs +9 -2
  39. package/colorpicker/index.mjs.map +1 -1
  40. package/column/index.d.ts +3 -3
  41. package/columngroup/index.d.ts +2 -2
  42. package/confirmationoptions/index.d.ts +1 -1
  43. package/datatable/BodyCell.vue +4 -1
  44. package/datatable/BodyRow.vue +2 -0
  45. package/datatable/ColumnFilter.vue +1 -1
  46. package/datatable/DataTable.vue +103 -44
  47. package/datatable/HeaderCheckbox.vue +2 -2
  48. package/datatable/RowCheckbox.vue +1 -1
  49. package/datatable/TableBody.vue +12 -1
  50. package/datatable/TableFooter.vue +9 -1
  51. package/datatable/TableHeader.vue +9 -2
  52. package/datatable/index.d.ts +45 -37
  53. package/datatable/index.mjs +170 -101
  54. package/datatable/index.mjs.map +1 -1
  55. package/dataview/DataView.vue +4 -0
  56. package/dataview/index.d.ts +61 -4
  57. package/dataview/index.mjs +6 -2
  58. package/dataview/index.mjs.map +1 -1
  59. package/datepicker/DatePicker.vue +370 -234
  60. package/datepicker/index.d.ts +162 -6
  61. package/datepicker/index.mjs +644 -384
  62. package/datepicker/index.mjs.map +1 -1
  63. package/dialog/Dialog.vue +48 -39
  64. package/dialog/index.d.ts +26 -1
  65. package/dialog/index.mjs +73 -50
  66. package/dialog/index.mjs.map +1 -1
  67. package/divider/Divider.vue +13 -3
  68. package/divider/index.d.ts +4 -4
  69. package/divider/index.mjs +18 -5
  70. package/divider/index.mjs.map +1 -1
  71. package/dock/index.d.ts +4 -4
  72. package/drawer/Drawer.vue +30 -20
  73. package/drawer/index.d.ts +12 -2
  74. package/drawer/index.mjs +42 -25
  75. package/drawer/index.mjs.map +1 -1
  76. package/fieldset/Fieldset.vue +8 -2
  77. package/fieldset/index.mjs +20 -10
  78. package/fieldset/index.mjs.map +1 -1
  79. package/fileupload/FileUpload.vue +1 -1
  80. package/fileupload/index.d.ts +2 -2
  81. package/fileupload/index.mjs +2 -2
  82. package/fileupload/index.mjs.map +1 -1
  83. package/floatlabel/index.d.ts +2 -2
  84. package/galleria/Galleria.vue +39 -3
  85. package/galleria/GalleriaItem.vue +8 -9
  86. package/galleria/index.d.ts +3 -3
  87. package/galleria/index.mjs +48 -11
  88. package/galleria/index.mjs.map +1 -1
  89. package/inplace/Inplace.vue +1 -1
  90. package/inplace/index.mjs +3 -2
  91. package/inplace/index.mjs.map +1 -1
  92. package/inputchips/index.d.ts +2 -2
  93. package/inputmask/InputMask.vue +15 -1
  94. package/inputmask/index.d.ts +3 -3
  95. package/inputmask/index.mjs +12 -1
  96. package/inputmask/index.mjs.map +1 -1
  97. package/inputnumber/BaseInputNumber.vue +4 -0
  98. package/inputnumber/InputNumber.vue +29 -14
  99. package/inputnumber/index.d.ts +6 -6
  100. package/inputnumber/index.mjs +47 -25
  101. package/inputnumber/index.mjs.map +1 -1
  102. package/inputotp/index.d.ts +3 -3
  103. package/inputtext/InputText.vue +10 -1
  104. package/inputtext/index.d.ts +4 -5
  105. package/inputtext/index.mjs +14 -1
  106. package/inputtext/index.mjs.map +1 -1
  107. package/keyfilter/index.mjs +12 -19
  108. package/keyfilter/index.mjs.map +1 -1
  109. package/knob/Knob.vue +1 -1
  110. package/knob/index.mjs +1 -1
  111. package/knob/index.mjs.map +1 -1
  112. package/listbox/Listbox.vue +9 -2
  113. package/listbox/index.mjs +11 -3
  114. package/listbox/index.mjs.map +1 -1
  115. package/megamenu/index.d.ts +2 -2
  116. package/menu/Menu.vue +8 -2
  117. package/menu/Menuitem.vue +14 -4
  118. package/menu/index.mjs +36 -16
  119. package/menu/index.mjs.map +1 -1
  120. package/message/Message.vue +16 -7
  121. package/message/index.d.ts +2 -2
  122. package/message/index.mjs +35 -13
  123. package/message/index.mjs.map +1 -1
  124. package/metergroup/MeterGroup.vue +9 -3
  125. package/metergroup/MeterGroupLabel.vue +10 -1
  126. package/metergroup/index.mjs +32 -7
  127. package/metergroup/index.mjs.map +1 -1
  128. package/multiselect/MultiSelect.vue +41 -6
  129. package/multiselect/index.d.ts +3 -3
  130. package/multiselect/index.mjs +53 -21
  131. package/multiselect/index.mjs.map +1 -1
  132. package/organizationchart/index.d.ts +2 -2
  133. package/overlaybadge/index.d.ts +1 -1
  134. package/package.json +3 -3
  135. package/paginator/Paginator.vue +2 -0
  136. package/paginator/index.d.ts +8 -0
  137. package/paginator/index.mjs +3 -1
  138. package/paginator/index.mjs.map +1 -1
  139. package/panel/Panel.vue +29 -22
  140. package/panel/index.d.ts +22 -2
  141. package/panel/index.mjs +55 -31
  142. package/panel/index.mjs.map +1 -1
  143. package/panelmenu/PanelMenuList.vue +1 -1
  144. package/panelmenu/index.mjs +1 -1
  145. package/panelmenu/index.mjs.map +1 -1
  146. package/password/Password.vue +21 -3
  147. package/password/index.d.ts +3 -3
  148. package/password/index.mjs +32 -10
  149. package/password/index.mjs.map +1 -1
  150. package/popover/Popover.vue +3 -3
  151. package/popover/index.mjs +3 -4
  152. package/popover/index.mjs.map +1 -1
  153. package/progressbar/ProgressBar.vue +11 -4
  154. package/progressbar/index.mjs +21 -7
  155. package/progressbar/index.mjs.map +1 -1
  156. package/radiobutton/RadioButton.vue +13 -3
  157. package/radiobutton/index.d.ts +3 -3
  158. package/radiobutton/index.mjs +24 -4
  159. package/radiobutton/index.mjs.map +1 -1
  160. package/rating/Rating.vue +19 -2
  161. package/rating/index.mjs +28 -7
  162. package/rating/index.mjs.map +1 -1
  163. package/scrolltop/ScrollTop.vue +2 -2
  164. package/scrolltop/index.d.ts +2 -2
  165. package/scrolltop/index.mjs +4 -2
  166. package/scrolltop/index.mjs.map +1 -1
  167. package/select/Select.vue +56 -16
  168. package/select/index.d.ts +2 -2
  169. package/select/index.mjs +111 -74
  170. package/select/index.mjs.map +1 -1
  171. package/selectbutton/SelectButton.vue +26 -9
  172. package/selectbutton/index.d.ts +2 -2
  173. package/selectbutton/index.mjs +30 -10
  174. package/selectbutton/index.mjs.map +1 -1
  175. package/skeleton/Skeleton.vue +7 -1
  176. package/skeleton/index.d.ts +3 -3
  177. package/skeleton/index.mjs +12 -1
  178. package/skeleton/index.mjs.map +1 -1
  179. package/slider/Slider.vue +11 -2
  180. package/slider/index.d.ts +2 -2
  181. package/slider/index.mjs +27 -8
  182. package/slider/index.mjs.map +1 -1
  183. package/speeddial/index.d.ts +5 -5
  184. package/splitbutton/index.d.ts +1 -1
  185. package/splitter/Splitter.vue +10 -2
  186. package/splitter/index.d.ts +3 -3
  187. package/splitter/index.mjs +19 -6
  188. package/splitter/index.mjs.map +1 -1
  189. package/step/Step.vue +25 -7
  190. package/step/index.mjs +44 -14
  191. package/step/index.mjs.map +1 -1
  192. package/steppanel/StepPanel.vue +9 -3
  193. package/steppanel/index.d.ts +8 -0
  194. package/steppanel/index.mjs +23 -8
  195. package/steppanel/index.mjs.map +1 -1
  196. package/stepper/StepperSeparator.vue +5 -2
  197. package/stepper/index.d.ts +4 -0
  198. package/tab/Tab.vue +12 -6
  199. package/tab/index.mjs +13 -5
  200. package/tab/index.mjs.map +1 -1
  201. package/tablist/TabList.vue +13 -2
  202. package/tablist/index.mjs +21 -8
  203. package/tablist/index.mjs.map +1 -1
  204. package/tabpanel/TabPanel.vue +2 -2
  205. package/tabpanel/index.mjs +2 -2
  206. package/tabpanel/index.mjs.map +1 -1
  207. package/tag/Tag.vue +11 -2
  208. package/tag/index.mjs +17 -3
  209. package/tag/index.mjs.map +1 -1
  210. package/textarea/Textarea.vue +10 -1
  211. package/textarea/index.d.ts +4 -5
  212. package/textarea/index.mjs +14 -1
  213. package/textarea/index.mjs.map +1 -1
  214. package/tieredmenu/TieredMenu.vue +1 -1
  215. package/tieredmenu/index.mjs +1 -2
  216. package/tieredmenu/index.mjs.map +1 -1
  217. package/timeline/Timeline.vue +16 -7
  218. package/timeline/index.d.ts +3 -3
  219. package/timeline/index.mjs +42 -11
  220. package/timeline/index.mjs.map +1 -1
  221. package/toast/Toast.vue +10 -1
  222. package/toast/ToastMessage.vue +29 -19
  223. package/toast/index.d.ts +2 -2
  224. package/toast/index.mjs +77 -38
  225. package/toast/index.mjs.map +1 -1
  226. package/togglebutton/ToggleButton.vue +10 -1
  227. package/togglebutton/index.d.ts +3 -3
  228. package/togglebutton/index.mjs +19 -4
  229. package/togglebutton/index.mjs.map +1 -1
  230. package/toggleswitch/ToggleSwitch.vue +11 -3
  231. package/toggleswitch/index.mjs +20 -5
  232. package/toggleswitch/index.mjs.map +1 -1
  233. package/tooltip/index.mjs +22 -22
  234. package/tooltip/index.mjs.map +1 -1
  235. package/tree/Tree.vue +14 -2
  236. package/tree/TreeNode.vue +2 -2
  237. package/tree/index.d.ts +3 -3
  238. package/tree/index.mjs +28 -10
  239. package/tree/index.mjs.map +1 -1
  240. package/treeselect/TreeSelect.vue +1 -1
  241. package/treeselect/index.d.ts +6 -6
  242. package/treeselect/index.mjs +1 -2
  243. package/treeselect/index.mjs.map +1 -1
  244. package/treetable/index.d.ts +7 -7
  245. package/treetable/style/index.mjs +2 -3
  246. package/treetable/style/index.mjs.map +1 -1
  247. package/umd/primevue.min.js +1 -1
  248. package/virtualscroller/VirtualScroller.vue +13 -2
  249. package/virtualscroller/index.d.ts +2 -2
  250. package/virtualscroller/index.mjs +14 -4
  251. package/virtualscroller/index.mjs.map +1 -1
  252. package/virtualscroller/style/index.mjs +1 -1
  253. package/virtualscroller/style/index.mjs.map +1 -1
  254. package/web-types.json +1 -1
@@ -1,3 +1,4 @@
1
+ import { cn } from '@primeuix/utils';
1
2
  import { findSingle, getFocusableElements, isTouchDevice, relativePosition, getOuterWidth, absolutePosition, addStyle, focus, getLastFocusableElement, getFirstFocusableElement } from '@primeuix/utils/dom';
2
3
  import { isNotEmpty, isEmpty, findLastIndex, equals, isPrintableCharacter, resolveFieldData } from '@primeuix/utils/object';
3
4
  import { ZIndex } from '@primeuix/utils/zindex';
@@ -659,12 +660,12 @@ var script = {
659
660
  ZIndex.set('overlay', el, this.$primevue.config.zIndex.overlay);
660
661
  addStyle(el, {
661
662
  position: 'absolute',
662
- top: '0',
663
- left: '0'
663
+ top: '0'
664
664
  });
665
665
  this.alignOverlay();
666
666
  this.scrollInView();
667
667
  this.autoFilterFocus && focus(this.$refs.filterInput.$el);
668
+ this.autoUpdateModel();
668
669
  },
669
670
  onOverlayAfterEnter: function onOverlayAfterEnter() {
670
671
  this.bindOutsideClickListener();
@@ -961,8 +962,10 @@ var script = {
961
962
  });
962
963
  },
963
964
  autoUpdateModel: function autoUpdateModel() {
964
- if (this.selectOnFocus && this.autoOptionFocus && !this.$filled) {
965
+ if (this.autoOptionFocus) {
965
966
  this.focusedOptionIndex = this.findFirstFocusedOptionIndex();
967
+ }
968
+ if (this.selectOnFocus && this.autoOptionFocus && !this.$filled) {
966
969
  var value = this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);
967
970
  this.updateModel(null, [value]);
968
971
  }
@@ -1108,6 +1111,28 @@ var script = {
1108
1111
  },
1109
1112
  isClearIconVisible: function isClearIconVisible() {
1110
1113
  return this.showClear && this.d_value && this.d_value.length && this.d_value != null && isNotEmpty(this.options);
1114
+ },
1115
+ containerDataP: function containerDataP() {
1116
+ return cn(_defineProperty$1({
1117
+ invalid: this.$invalid,
1118
+ disabled: this.disabled,
1119
+ focus: this.focused,
1120
+ fluid: this.$fluid,
1121
+ filled: this.$variant === 'filled'
1122
+ }, this.size, this.size));
1123
+ },
1124
+ labelDataP: function labelDataP() {
1125
+ return cn(_defineProperty$1(_defineProperty$1(_defineProperty$1({
1126
+ placeholder: this.label === this.placeholder,
1127
+ clearable: this.showClear,
1128
+ disabled: this.disabled
1129
+ }, this.size, this.size), 'has-chip', this.display === 'chip' && this.d_value && this.d_value.length && (this.maxSelectedLabels ? this.d_value.length <= this.maxSelectedLabels : true)), "empty", !this.placeholder && !this.$filled));
1130
+ },
1131
+ dropdownIconDataP: function dropdownIconDataP() {
1132
+ return cn(_defineProperty$1({}, this.size, this.size));
1133
+ },
1134
+ overlayDataP: function overlayDataP() {
1135
+ return cn(_defineProperty$1({}, 'portal-' + this.appendTo, 'portal-' + this.appendTo));
1111
1136
  }
1112
1137
  },
1113
1138
  directives: {
@@ -1133,13 +1158,16 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
1133
1158
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
1134
1159
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
1135
1160
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1136
- var _hoisted_1 = ["id", "disabled", "placeholder", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
1137
- var _hoisted_2 = {
1161
+ var _hoisted_1 = ["data-p"];
1162
+ var _hoisted_2 = ["id", "disabled", "placeholder", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-invalid"];
1163
+ var _hoisted_3 = ["data-p"];
1164
+ var _hoisted_4 = {
1138
1165
  key: 0
1139
1166
  };
1140
- var _hoisted_3 = ["id", "aria-label"];
1141
- var _hoisted_4 = ["id"];
1142
- var _hoisted_5 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-selected", "data-p-focused", "data-p-disabled"];
1167
+ var _hoisted_5 = ["data-p"];
1168
+ var _hoisted_6 = ["id", "aria-label"];
1169
+ var _hoisted_7 = ["id"];
1170
+ var _hoisted_8 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove", "data-p-selected", "data-p-focused", "data-p-disabled"];
1143
1171
  function render(_ctx, _cache, $props, $setup, $data, $options) {
1144
1172
  var _component_Chip = resolveComponent("Chip");
1145
1173
  var _component_SpinnerIcon = resolveComponent("SpinnerIcon");
@@ -1157,7 +1185,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1157
1185
  style: _ctx.sx('root'),
1158
1186
  onClick: _cache[7] || (_cache[7] = function () {
1159
1187
  return $options.onContainerClick && $options.onContainerClick.apply($options, arguments);
1160
- })
1188
+ }),
1189
+ "data-p": $options.containerDataP
1161
1190
  }, _ctx.ptmi('root')), [createElementVNode("div", mergeProps({
1162
1191
  "class": "p-hidden-accessible"
1163
1192
  }, _ctx.ptm('hiddenInputContainer'), {
@@ -1187,10 +1216,11 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1187
1216
  onKeydown: _cache[2] || (_cache[2] = function () {
1188
1217
  return $options.onKeyDown && $options.onKeyDown.apply($options, arguments);
1189
1218
  })
1190
- }, _ctx.ptm('hiddenInput')), null, 16, _hoisted_1)], 16), createElementVNode("div", mergeProps({
1219
+ }, _ctx.ptm('hiddenInput')), null, 16, _hoisted_2)], 16), createElementVNode("div", mergeProps({
1191
1220
  "class": _ctx.cx('labelContainer')
1192
1221
  }, _ctx.ptm('labelContainer')), [createElementVNode("div", mergeProps({
1193
- "class": _ctx.cx('label')
1222
+ "class": _ctx.cx('label'),
1223
+ "data-p": $options.labelDataP
1194
1224
  }, _ctx.ptm('label')), [renderSlot(_ctx.$slots, "value", {
1195
1225
  value: _ctx.d_value,
1196
1226
  placeholder: _ctx.placeholder
@@ -1199,7 +1229,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1199
1229
  key: 0
1200
1230
  }, [createTextVNode(toDisplayString($options.label || 'empty'), 1)], 64)) : _ctx.display === 'chip' ? (openBlock(), createElementBlock(Fragment, {
1201
1231
  key: 1
1202
- }, [$options.chipSelectedItems ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString($options.label), 1)) : (openBlock(true), createElementBlock(Fragment, {
1232
+ }, [$options.chipSelectedItems ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString($options.label), 1)) : (openBlock(true), createElementBlock(Fragment, {
1203
1233
  key: 1
1204
1234
  }, renderList(_ctx.d_value, function (item) {
1205
1235
  return openBlock(), createElementBlock("span", mergeProps({
@@ -1238,7 +1268,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1238
1268
  }), 128)), !_ctx.d_value || _ctx.d_value.length === 0 ? (openBlock(), createElementBlock(Fragment, {
1239
1269
  key: 2
1240
1270
  }, [createTextVNode(toDisplayString(_ctx.placeholder || 'empty'), 1)], 64)) : createCommentVNode("", true)], 64)) : createCommentVNode("", true)];
1241
- })], 16)], 16), $options.isClearIconVisible ? renderSlot(_ctx.$slots, "clearicon", {
1271
+ })], 16, _hoisted_3)], 16), $options.isClearIconVisible ? renderSlot(_ctx.$slots, "clearicon", {
1242
1272
  key: 0,
1243
1273
  "class": normalizeClass(_ctx.cx('clearIcon')),
1244
1274
  clearCallback: $options.onClearClick
@@ -1272,8 +1302,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1272
1302
  }, function () {
1273
1303
  return [(openBlock(), createBlock(resolveDynamicComponent(_ctx.dropdownIcon ? 'span' : 'ChevronDownIcon'), mergeProps({
1274
1304
  "class": [_ctx.cx('dropdownIcon'), _ctx.dropdownIcon],
1275
- "aria-hidden": "true"
1276
- }, _ctx.ptm('dropdownIcon')), null, 16, ["class"]))];
1305
+ "aria-hidden": "true",
1306
+ "data-p": $options.dropdownIconDataP
1307
+ }, _ctx.ptm('dropdownIcon')), null, 16, ["class", "data-p"]))];
1277
1308
  })], 16), createVNode(_component_Portal, {
1278
1309
  appendTo: _ctx.appendTo
1279
1310
  }, {
@@ -1296,7 +1327,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1296
1327
  }),
1297
1328
  onKeydown: _cache[6] || (_cache[6] = function () {
1298
1329
  return $options.onOverlayKeyDown && $options.onOverlayKeyDown.apply($options, arguments);
1299
- })
1330
+ }),
1331
+ "data-p": $options.overlayDataP
1300
1332
  }, _ctx.ptm('overlay')), [createElementVNode("span", mergeProps({
1301
1333
  ref: "firstHiddenFocusableElementOnOverlay",
1302
1334
  role: "presentation",
@@ -1443,7 +1475,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1443
1475
  index: $options.getOptionIndex(i, getItemOptions)
1444
1476
  }, function () {
1445
1477
  return [createTextVNode(toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 1)];
1446
- })], 16, _hoisted_4)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
1478
+ })], 16, _hoisted_7)) : withDirectives((openBlock(), createElementBlock("li", mergeProps({
1447
1479
  key: 1,
1448
1480
  id: _ctx.$id + '_' + $options.getOptionIndex(i, getItemOptions),
1449
1481
  style: {
@@ -1502,7 +1534,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1502
1534
  return [createElementVNode("span", mergeProps({
1503
1535
  ref_for: true
1504
1536
  }, _ctx.ptm('optionLabel')), toDisplayString($options.getOptionLabel(option)), 17)];
1505
- })], 16, _hoisted_5)), [[_directive_ripple]])], 64);
1537
+ })], 16, _hoisted_8)), [[_directive_ripple]])], 64);
1506
1538
  }), 128)), $data.filterValue && (!items || items && items.length === 0) ? (openBlock(), createElementBlock("li", mergeProps({
1507
1539
  key: 0,
1508
1540
  "class": _ctx.cx('emptyMessage'),
@@ -1515,7 +1547,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1515
1547
  role: "option"
1516
1548
  }, _ctx.ptm('emptyMessage')), [renderSlot(_ctx.$slots, "empty", {}, function () {
1517
1549
  return [createTextVNode(toDisplayString($options.emptyMessageText), 1)];
1518
- })], 16)) : createCommentVNode("", true)], 16, _hoisted_3)];
1550
+ })], 16)) : createCommentVNode("", true)], 16, _hoisted_6)];
1519
1551
  }),
1520
1552
  _: 2
1521
1553
  }, [_ctx.$slots.loader ? {
@@ -1555,13 +1587,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
1555
1587
  }, _ctx.ptm('hiddenLastFocusableEl'), {
1556
1588
  "data-p-hidden-accessible": true,
1557
1589
  "data-p-hidden-focusable": true
1558
- }), null, 16)], 16)) : createCommentVNode("", true)];
1590
+ }), null, 16)], 16, _hoisted_5)) : createCommentVNode("", true)];
1559
1591
  }),
1560
1592
  _: 3
1561
1593
  }, 16, ["onEnter", "onAfterEnter", "onLeave", "onAfterLeave"])];
1562
1594
  }),
1563
1595
  _: 3
1564
- }, 8, ["appendTo"])], 16);
1596
+ }, 8, ["appendTo"])], 16, _hoisted_1);
1565
1597
  }
1566
1598
 
1567
1599
  script.render = render;