primevue 4.2.3 → 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.
- package/carousel/Carousel.vue +5 -2
- package/carousel/index.mjs +5 -2
- package/carousel/index.mjs.map +1 -1
- package/chip/Chip.vue +1 -1
- package/chip/index.mjs +0 -1
- package/chip/index.mjs.map +1 -1
- package/datatable/DataTable.vue +1 -1
- package/datatable/index.mjs +1 -1
- package/datatable/index.mjs.map +1 -1
- package/datepicker/DatePicker.vue +3 -2
- package/datepicker/index.mjs +4 -3
- package/datepicker/index.mjs.map +1 -1
- package/fileupload/FileUpload.vue +1 -1
- package/fileupload/index.mjs +1 -1
- package/fileupload/index.mjs.map +1 -1
- package/galleria/GalleriaItem.vue +3 -3
- package/galleria/index.d.ts +8 -0
- package/galleria/index.mjs +6 -4
- package/galleria/index.mjs.map +1 -1
- package/imagecompare/ImageCompare.vue +1 -1
- package/imagecompare/index.mjs +5 -2
- package/imagecompare/index.mjs.map +1 -1
- package/inputmask/InputMask.vue +1 -0
- package/inputmask/index.mjs +1 -0
- package/inputmask/index.mjs.map +1 -1
- package/inputnumber/InputNumber.vue +11 -2
- package/inputnumber/index.mjs +9 -2
- package/inputnumber/index.mjs.map +1 -1
- package/inputtext/index.d.ts +2 -2
- package/knob/index.d.ts +1 -1
- package/multiselect/style/index.mjs +1 -1
- package/multiselect/style/index.mjs.map +1 -1
- package/package.json +3 -3
- package/password/index.d.ts +1 -1
- package/scrolltop/ScrollTop.vue +1 -1
- package/scrolltop/index.mjs +1 -1
- package/scrolltop/index.mjs.map +1 -1
- package/select/style/index.mjs +1 -1
- package/select/style/index.mjs.map +1 -1
- package/selectbutton/SelectButton.vue +1 -0
- package/selectbutton/index.mjs +2 -1
- package/selectbutton/index.mjs.map +1 -1
- package/slider/style/index.mjs +1 -1
- package/slider/style/index.mjs.map +1 -1
- package/tablist/TabList.vue +20 -9
- package/tablist/index.mjs +20 -12
- package/tablist/index.mjs.map +1 -1
- package/textarea/index.d.ts +2 -2
- package/toggleswitch/style/index.mjs +1 -1
- package/toggleswitch/style/index.mjs.map +1 -1
- package/treetable/BodyCell.vue +1 -0
- package/treetable/TreeTableRow.vue +1 -1
- package/treetable/index.mjs +3 -2
- package/treetable/index.mjs.map +1 -1
- package/umd/primevue.min.js +1 -1
- package/virtualscroller/VirtualScroller.vue +1 -1
- package/virtualscroller/index.mjs +1 -1
- package/virtualscroller/index.mjs.map +1 -1
- 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
|
-
:
|
|
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 */
|
package/datepicker/index.mjs
CHANGED
|
@@ -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
|
-
|
|
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", "
|
|
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 () {
|