primevue 4.3.8 → 4.3.9
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/cascadeselect/CascadeSelect.vue +1 -1
- package/cascadeselect/index.mjs +1 -1
- package/cascadeselect/index.mjs.map +1 -1
- package/colorpicker/ColorPicker.vue +2 -2
- package/colorpicker/index.mjs +2 -2
- package/colorpicker/index.mjs.map +1 -1
- package/column/index.d.ts +2 -2
- package/datatable/BodyCell.vue +1 -1
- package/datatable/ColumnFilter.vue +1 -1
- package/datatable/DataTable.vue +4 -1
- package/datatable/index.mjs +7 -6
- package/datatable/index.mjs.map +1 -1
- package/datepicker/DatePicker.vue +1 -1
- package/datepicker/index.mjs +5 -5
- package/datepicker/index.mjs.map +1 -1
- package/dialog/Dialog.vue +1 -1
- package/dialog/index.d.ts +5 -0
- package/dialog/index.mjs +2 -1
- package/dialog/index.mjs.map +1 -1
- package/fileupload/FileUpload.vue +2 -2
- package/fileupload/index.mjs +2 -2
- package/fileupload/index.mjs.map +1 -1
- package/inputnumber/InputNumber.vue +3 -0
- package/inputnumber/index.mjs +3 -0
- package/inputnumber/index.mjs.map +1 -1
- package/keyfilter/index.mjs +14 -1
- package/keyfilter/index.mjs.map +1 -1
- package/listbox/Listbox.vue +7 -13
- package/listbox/index.mjs +12 -18
- package/listbox/index.mjs.map +1 -1
- package/multiselect/MultiSelect.vue +6 -7
- package/multiselect/index.mjs +7 -8
- package/multiselect/index.mjs.map +1 -1
- package/package.json +3 -3
- package/select/Select.vue +4 -4
- package/select/index.mjs +5 -5
- package/select/index.mjs.map +1 -1
- package/tab/Tab.vue +0 -1
- package/tab/index.mjs +0 -1
- package/tab/index.mjs.map +1 -1
- package/togglebutton/BaseToggleButton.vue +0 -4
- package/togglebutton/index.d.ts +0 -5
- package/togglebutton/index.mjs +0 -4
- package/togglebutton/index.mjs.map +1 -1
- package/tooltip/index.mjs +5 -1
- package/tooltip/index.mjs.map +1 -1
- package/treeselect/TreeSelect.vue +1 -1
- package/treeselect/index.mjs +1 -1
- package/treeselect/index.mjs.map +1 -1
- package/treetable/TreeTable.vue +15 -1
- package/treetable/index.d.ts +58 -4
- package/treetable/index.mjs +19 -6
- package/treetable/index.mjs.map +1 -1
- package/umd/primevue.min.js +1 -1
- package/vetur-attributes.json +0 -4
- package/vetur-tags.json +0 -1
- package/web-types.json +1 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "primevue",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.9",
|
|
4
4
|
"author": "PrimeTek Informatics",
|
|
5
5
|
"description": "PrimeVue is an open source UI library for Vue featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock, which has 370+ ready to use UI blocks to build spectacular applications in no time.",
|
|
6
6
|
"homepage": "https://primevue.org/",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@primeuix/styled": "^0.7.2",
|
|
61
61
|
"@primeuix/utils": "^0.6.1",
|
|
62
62
|
"@primeuix/styles": "^1.2.3",
|
|
63
|
-
"@primevue/
|
|
64
|
-
"@primevue/
|
|
63
|
+
"@primevue/icons": "4.3.9",
|
|
64
|
+
"@primevue/core": "4.3.9"
|
|
65
65
|
},
|
|
66
66
|
"engines": {
|
|
67
67
|
"node": ">=12.11.0"
|
package/select/Select.vue
CHANGED
|
@@ -497,7 +497,7 @@ export default {
|
|
|
497
497
|
focus(focusableEl);
|
|
498
498
|
},
|
|
499
499
|
onOptionSelect(event, option, isHide = true) {
|
|
500
|
-
const value = this.getOptionValue(option)
|
|
500
|
+
const value = this.getOptionValue(option);
|
|
501
501
|
this.updateModel(event, value);
|
|
502
502
|
isHide && this.hide(true);
|
|
503
503
|
},
|
|
@@ -863,7 +863,7 @@ export default {
|
|
|
863
863
|
return this.isValidOption(option) && this.isSelected(option);
|
|
864
864
|
},
|
|
865
865
|
isSelected(option) {
|
|
866
|
-
return equals(this.d_value, this.getOptionValue(option)
|
|
866
|
+
return equals(this.d_value, this.getOptionValue(option), this.equalityKey);
|
|
867
867
|
},
|
|
868
868
|
findFirstOptionIndex() {
|
|
869
869
|
return this.visibleOptions.findIndex((option) => this.isValidOption(option));
|
|
@@ -882,7 +882,7 @@ export default {
|
|
|
882
882
|
return matchedOptionIndex > -1 ? matchedOptionIndex : index;
|
|
883
883
|
},
|
|
884
884
|
findSelectedOptionIndex() {
|
|
885
|
-
return this
|
|
885
|
+
return this.visibleOptions.findIndex((option) => this.isValidSelectedOption(option));
|
|
886
886
|
},
|
|
887
887
|
findFirstFocusedOptionIndex() {
|
|
888
888
|
const selectedIndex = this.findSelectedOptionIndex();
|
|
@@ -1062,7 +1062,7 @@ export default {
|
|
|
1062
1062
|
return this.visibleOptions.filter((option) => !this.isOptionGroup(option)).length;
|
|
1063
1063
|
},
|
|
1064
1064
|
isClearIconVisible() {
|
|
1065
|
-
return this.showClear && this.d_value != null &&
|
|
1065
|
+
return this.showClear && this.d_value != null && !this.disabled && !this.loading;
|
|
1066
1066
|
},
|
|
1067
1067
|
virtualScrollerDisabled() {
|
|
1068
1068
|
return !this.virtualScrollerOptions;
|
package/select/index.mjs
CHANGED
|
@@ -460,7 +460,7 @@ var script = {
|
|
|
460
460
|
},
|
|
461
461
|
onOptionSelect: function onOptionSelect(event, option) {
|
|
462
462
|
var isHide = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
463
|
-
var value = this.getOptionValue(option)
|
|
463
|
+
var value = this.getOptionValue(option);
|
|
464
464
|
this.updateModel(event, value);
|
|
465
465
|
isHide && this.hide(true);
|
|
466
466
|
},
|
|
@@ -802,7 +802,7 @@ var script = {
|
|
|
802
802
|
return this.isValidOption(option) && this.isSelected(option);
|
|
803
803
|
},
|
|
804
804
|
isSelected: function isSelected(option) {
|
|
805
|
-
return equals(this.d_value, this.getOptionValue(option)
|
|
805
|
+
return equals(this.d_value, this.getOptionValue(option), this.equalityKey);
|
|
806
806
|
},
|
|
807
807
|
findFirstOptionIndex: function findFirstOptionIndex() {
|
|
808
808
|
var _this1 = this;
|
|
@@ -832,9 +832,9 @@ var script = {
|
|
|
832
832
|
},
|
|
833
833
|
findSelectedOptionIndex: function findSelectedOptionIndex() {
|
|
834
834
|
var _this13 = this;
|
|
835
|
-
return this
|
|
835
|
+
return this.visibleOptions.findIndex(function (option) {
|
|
836
836
|
return _this13.isValidSelectedOption(option);
|
|
837
|
-
})
|
|
837
|
+
});
|
|
838
838
|
},
|
|
839
839
|
findFirstFocusedOptionIndex: function findFirstFocusedOptionIndex() {
|
|
840
840
|
var selectedIndex = this.findSelectedOptionIndex();
|
|
@@ -1014,7 +1014,7 @@ var script = {
|
|
|
1014
1014
|
}).length;
|
|
1015
1015
|
},
|
|
1016
1016
|
isClearIconVisible: function isClearIconVisible() {
|
|
1017
|
-
return this.showClear && this.d_value != null &&
|
|
1017
|
+
return this.showClear && this.d_value != null && !this.disabled && !this.loading;
|
|
1018
1018
|
},
|
|
1019
1019
|
virtualScrollerDisabled: function virtualScrollerDisabled() {
|
|
1020
1020
|
return !this.virtualScrollerOptions;
|