primevue 4.2.4 → 4.2.5

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 (43) hide show
  1. package/carousel/Carousel.vue +5 -2
  2. package/carousel/index.mjs +5 -2
  3. package/carousel/index.mjs.map +1 -1
  4. package/datatable/DataTable.vue +1 -1
  5. package/datatable/index.mjs +1 -1
  6. package/datatable/index.mjs.map +1 -1
  7. package/datepicker/DatePicker.vue +3 -2
  8. package/datepicker/index.mjs +4 -3
  9. package/datepicker/index.mjs.map +1 -1
  10. package/fileupload/FileUpload.vue +1 -1
  11. package/fileupload/index.mjs +1 -1
  12. package/fileupload/index.mjs.map +1 -1
  13. package/galleria/GalleriaItem.vue +3 -3
  14. package/galleria/index.d.ts +8 -0
  15. package/galleria/index.mjs +6 -4
  16. package/galleria/index.mjs.map +1 -1
  17. package/imagecompare/ImageCompare.vue +1 -1
  18. package/imagecompare/index.mjs +5 -2
  19. package/imagecompare/index.mjs.map +1 -1
  20. package/inputmask/InputMask.vue +1 -0
  21. package/inputmask/index.mjs +1 -0
  22. package/inputmask/index.mjs.map +1 -1
  23. package/multiselect/style/index.mjs +1 -1
  24. package/multiselect/style/index.mjs.map +1 -1
  25. package/package.json +3 -3
  26. package/scrolltop/ScrollTop.vue +1 -1
  27. package/scrolltop/index.mjs +1 -1
  28. package/scrolltop/index.mjs.map +1 -1
  29. package/select/style/index.mjs +1 -1
  30. package/select/style/index.mjs.map +1 -1
  31. package/selectbutton/SelectButton.vue +1 -0
  32. package/selectbutton/index.mjs +2 -1
  33. package/selectbutton/index.mjs.map +1 -1
  34. package/slider/style/index.mjs +1 -1
  35. package/slider/style/index.mjs.map +1 -1
  36. package/tablist/TabList.vue +20 -9
  37. package/tablist/index.mjs +20 -12
  38. package/tablist/index.mjs.map +1 -1
  39. package/treetable/TreeTableRow.vue +1 -1
  40. package/treetable/index.mjs +1 -1
  41. package/treetable/index.mjs.map +1 -1
  42. package/umd/primevue.min.js +1 -1
  43. package/web-types.json +1 -1
@@ -7,7 +7,7 @@
7
7
  role="combobox"
8
8
  :class="[inputClass, cx('pcInputText')]"
9
9
  :style="inputStyle"
10
- :value="inputFieldValue"
10
+ :defaultValue="inputFieldValue"
11
11
  :placeholder="placeholder"
12
12
  :name="name"
13
13
  :size="size"
@@ -1251,7 +1251,7 @@ export default {
1251
1251
  },
1252
1252
  formatValue(value) {
1253
1253
  if (typeof value === 'string') {
1254
- return value;
1254
+ return this.dateFormat ? this.formatDate(new Date(value), this.dateFormat) : value;
1255
1255
  }
1256
1256
 
1257
1257
  let formattedValue = '';
@@ -2591,6 +2591,7 @@ export default {
2591
2591
  if (this.isValidSelection(value)) {
2592
2592
  this.typeUpdate = true;
2593
2593
  this.updateModel(value);
2594
+ this.updateCurrentMetaData();
2594
2595
  }
2595
2596
  } catch (err) {
2596
2597
  /* NoOp */
@@ -965,7 +965,7 @@ var script = {
965
965
  },
966
966
  formatValue: function formatValue(value) {
967
967
  if (typeof value === 'string') {
968
- return value;
968
+ return this.dateFormat ? this.formatDate(new Date(value), this.dateFormat) : value;
969
969
  }
970
970
  var formattedValue = '';
971
971
  if (value) {
@@ -2150,6 +2150,7 @@ var script = {
2150
2150
  if (this.isValidSelection(value)) {
2151
2151
  this.typeUpdate = true;
2152
2152
  this.updateModel(value);
2153
+ this.updateCurrentMetaData();
2153
2154
  }
2154
2155
  } catch (err) {
2155
2156
  /* NoOp */
@@ -2540,7 +2541,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2540
2541
  role: "combobox",
2541
2542
  "class": normalizeClass([_ctx.inputClass, _ctx.cx('pcInputText')]),
2542
2543
  style: normalizeStyle(_ctx.inputStyle),
2543
- value: $options.inputFieldValue,
2544
+ defaultValue: $options.inputFieldValue,
2544
2545
  placeholder: _ctx.placeholder,
2545
2546
  name: _ctx.name,
2546
2547
  size: _ctx.size,
@@ -2565,7 +2566,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
2565
2566
  onBlur: $options.onBlur,
2566
2567
  onKeydown: $options.onKeyDown,
2567
2568
  pt: _ctx.ptm('pcInputText')
2568
- }, null, 8, ["id", "class", "style", "value", "placeholder", "name", "size", "invalid", "variant", "fluid", "unstyled", "aria-expanded", "aria-controls", "aria-labelledby", "aria-label", "disabled", "readonly", "onInput", "onClick", "onFocus", "onBlur", "onKeydown", "pt"])) : createCommentVNode("", true), _ctx.showIcon && _ctx.iconDisplay === 'button' && !_ctx.inline ? renderSlot(_ctx.$slots, "dropdownbutton", {
2569
+ }, null, 8, ["id", "class", "style", "defaultValue", "placeholder", "name", "size", "invalid", "variant", "fluid", "unstyled", "aria-expanded", "aria-controls", "aria-labelledby", "aria-label", "disabled", "readonly", "onInput", "onClick", "onFocus", "onBlur", "onKeydown", "pt"])) : createCommentVNode("", true), _ctx.showIcon && _ctx.iconDisplay === 'button' && !_ctx.inline ? renderSlot(_ctx.$slots, "dropdownbutton", {
2569
2570
  key: 1,
2570
2571
  toggleCallback: $options.onButtonClick
2571
2572
  }, function () {