@progress/kendo-vue-dropdowns 4.3.1-dev.202402011147 → 4.3.1-dev.202402201046
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/dist/cdn/js/kendo-vue-dropdowns.js +1 -1
- package/dist/es/AutoComplete/AutoComplete.js +3 -3
- package/dist/es/ComboBox/ComboBox.js +3 -3
- package/dist/es/DropDownList/DropDownList.js +3 -3
- package/dist/es/MultiSelect/MultiSelect.js +3 -3
- package/dist/es/common/DropDownBase.d.ts +1 -0
- package/dist/es/common/DropDownBase.js +6 -2
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/AutoComplete/AutoComplete.js +3 -3
- package/dist/esm/ComboBox/ComboBox.js +3 -3
- package/dist/esm/DropDownList/DropDownList.js +3 -3
- package/dist/esm/MultiSelect/MultiSelect.js +3 -3
- package/dist/esm/common/DropDownBase.d.ts +1 -0
- package/dist/esm/common/DropDownBase.js +6 -2
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/AutoComplete/AutoComplete.js +3 -3
- package/dist/npm/ComboBox/ComboBox.js +3 -3
- package/dist/npm/DropDownList/DropDownList.js +3 -3
- package/dist/npm/MultiSelect/MultiSelect.js +3 -3
- package/dist/npm/common/DropDownBase.d.ts +1 -0
- package/dist/npm/common/DropDownBase.js +6 -2
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +11 -11
|
@@ -155,6 +155,7 @@ var AutoCompleteVue2 = {
|
|
|
155
155
|
suggested: '',
|
|
156
156
|
group: undefined,
|
|
157
157
|
isScrolling: false,
|
|
158
|
+
popupWidth: undefined,
|
|
158
159
|
itemHeight: 0
|
|
159
160
|
};
|
|
160
161
|
},
|
|
@@ -718,7 +719,6 @@ var AutoCompleteVue2 = {
|
|
|
718
719
|
template: footerTemplate
|
|
719
720
|
});
|
|
720
721
|
var opened = this.$props.opened !== undefined ? this.$props.opened : this.currentOpened;
|
|
721
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
722
722
|
var dataItems = this.$props.dataItems || [];
|
|
723
723
|
if (this.group === undefined && this.$props.groupField !== undefined) {
|
|
724
724
|
this.group = getItemValue(dataItems[0], this.$props.groupField);
|
|
@@ -734,9 +734,9 @@ var AutoCompleteVue2 = {
|
|
|
734
734
|
return e.preventDefault();
|
|
735
735
|
}
|
|
736
736
|
},
|
|
737
|
-
width: popupWidth,
|
|
737
|
+
width: this.popupWidth,
|
|
738
738
|
attrs: this.v3 ? undefined : {
|
|
739
|
-
width: popupWidth,
|
|
739
|
+
width: this.popupWidth,
|
|
740
740
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
741
741
|
anchor: this.anchor,
|
|
742
742
|
show: opened,
|
|
@@ -215,6 +215,7 @@ var ComboBoxVue2 = {
|
|
|
215
215
|
isScrolling: false,
|
|
216
216
|
itemHeight: 0,
|
|
217
217
|
state: undefined,
|
|
218
|
+
popupWidth: undefined,
|
|
218
219
|
windowWidth: 0
|
|
219
220
|
};
|
|
220
221
|
},
|
|
@@ -1091,7 +1092,6 @@ var ComboBoxVue2 = {
|
|
|
1091
1092
|
var groupStickyHeaderTemplate = templateRendering.call(this, this.$props.groupStickyHeaderItemRender, getListeners.call(this));
|
|
1092
1093
|
var headerListContainer = base.getTemplateDef.call(this, header);
|
|
1093
1094
|
var footerListContainer = base.getTemplateDef.call(this, footer);
|
|
1094
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
1095
1095
|
var dataItems = this.$props.dataItems || [];
|
|
1096
1096
|
if (this.group === undefined && this.$props.groupField !== undefined) {
|
|
1097
1097
|
this.group = getItemValue(dataItems[0], this.$props.groupField);
|
|
@@ -1108,9 +1108,9 @@ var ComboBoxVue2 = {
|
|
|
1108
1108
|
return e.preventDefault();
|
|
1109
1109
|
}
|
|
1110
1110
|
},
|
|
1111
|
-
width: popupWidth,
|
|
1111
|
+
width: this.popupWidth,
|
|
1112
1112
|
attrs: this.v3 ? undefined : {
|
|
1113
|
-
width: popupWidth,
|
|
1113
|
+
width: this.popupWidth,
|
|
1114
1114
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1115
1115
|
anchor: this.anchor,
|
|
1116
1116
|
show: opened,
|
|
@@ -204,6 +204,7 @@ var DropDownListVue2 = {
|
|
|
204
204
|
isScrolling: false,
|
|
205
205
|
itemHeight: 0,
|
|
206
206
|
state: undefined,
|
|
207
|
+
popupWidth: undefined,
|
|
207
208
|
windowWidth: 0
|
|
208
209
|
};
|
|
209
210
|
},
|
|
@@ -1123,7 +1124,6 @@ var DropDownListVue2 = {
|
|
|
1123
1124
|
var groupStickyHeaderTemplate = templateRendering.call(this, this.$props.groupStickyHeaderItemRender, getListeners.call(this));
|
|
1124
1125
|
var headerListContainer = base.getTemplateDef.call(this, header);
|
|
1125
1126
|
var footerListContainer = base.getTemplateDef.call(this, footer);
|
|
1126
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
1127
1127
|
return (
|
|
1128
1128
|
// @ts-ignore function children
|
|
1129
1129
|
h(ListContainer, {
|
|
@@ -1138,7 +1138,7 @@ var DropDownListVue2 = {
|
|
|
1138
1138
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1139
1139
|
attrs: this.v3 ? undefined : {
|
|
1140
1140
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1141
|
-
width: popupWidth
|
|
1141
|
+
width: this.popupWidth
|
|
1142
1142
|
// @ts-ignore
|
|
1143
1143
|
,
|
|
1144
1144
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
@@ -1148,7 +1148,7 @@ var DropDownListVue2 = {
|
|
|
1148
1148
|
show: opened
|
|
1149
1149
|
})
|
|
1150
1150
|
},
|
|
1151
|
-
width: popupWidth,
|
|
1151
|
+
width: this.popupWidth,
|
|
1152
1152
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1153
1153
|
popupClass: classNames(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-".concat(sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
|
|
1154
1154
|
className: classNames('k-list-container', popupSettings.className),
|
|
@@ -294,6 +294,7 @@ var MultiSelectVue2 = {
|
|
|
294
294
|
isScrolling: false,
|
|
295
295
|
itemHeight: 0,
|
|
296
296
|
windowWidth: 0,
|
|
297
|
+
popupWidth: undefined,
|
|
297
298
|
initialAdaptiveRenderingValues: undefined
|
|
298
299
|
};
|
|
299
300
|
},
|
|
@@ -1180,7 +1181,6 @@ var MultiSelectVue2 = {
|
|
|
1180
1181
|
var headerListContainer = base.getTemplateDef.call(this, header);
|
|
1181
1182
|
var footerListContainer = base.getTemplateDef.call(this, footer);
|
|
1182
1183
|
var currentText = this.$props.filter !== undefined ? this.$props.filter : this.currentText;
|
|
1183
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
1184
1184
|
var focusedType = this.getFocusedState().focusedType;
|
|
1185
1185
|
var customItem = allowCustom && currentText && h("div", {
|
|
1186
1186
|
"class": "k-list",
|
|
@@ -1219,7 +1219,7 @@ var MultiSelectVue2 = {
|
|
|
1219
1219
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1220
1220
|
attrs: this.v3 ? undefined : {
|
|
1221
1221
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1222
|
-
width: popupWidth,
|
|
1222
|
+
width: this.popupWidth,
|
|
1223
1223
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1224
1224
|
anchor: this.anchor,
|
|
1225
1225
|
show: opened,
|
|
@@ -1231,7 +1231,7 @@ var MultiSelectVue2 = {
|
|
|
1231
1231
|
itemsCount: dataItems.length
|
|
1232
1232
|
},
|
|
1233
1233
|
onBlur: this.handleBlur,
|
|
1234
|
-
width: popupWidth,
|
|
1234
|
+
width: this.popupWidth,
|
|
1235
1235
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1236
1236
|
anchor: this.anchor,
|
|
1237
1237
|
show: opened,
|
|
@@ -165,8 +165,12 @@ var DropDownBase = /** @class */function () {
|
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
DropDownBase.prototype.calculatePopupWidth = function () {
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
// @ts-ignore
|
|
169
|
+
var props = this.component.$props;
|
|
170
|
+
var popupSettings = props.popupSettings || {};
|
|
171
|
+
var popupWidth = popupSettings.width;
|
|
172
|
+
if (this.wrapper && !popupWidth) {
|
|
173
|
+
this.component.popupWidth = props.popupSettings.width !== undefined ? props.popupSettings.width : this.wrapper.offsetWidth + 'px';
|
|
170
174
|
}
|
|
171
175
|
};
|
|
172
176
|
DropDownBase.prototype.scrollToItem = function (itemIndex, vsEnabled) {
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-dropdowns',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1708425453,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -155,6 +155,7 @@ var AutoCompleteVue2 = {
|
|
|
155
155
|
suggested: '',
|
|
156
156
|
group: undefined,
|
|
157
157
|
isScrolling: false,
|
|
158
|
+
popupWidth: undefined,
|
|
158
159
|
itemHeight: 0
|
|
159
160
|
};
|
|
160
161
|
},
|
|
@@ -718,7 +719,6 @@ var AutoCompleteVue2 = {
|
|
|
718
719
|
template: footerTemplate
|
|
719
720
|
});
|
|
720
721
|
var opened = this.$props.opened !== undefined ? this.$props.opened : this.currentOpened;
|
|
721
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
722
722
|
var dataItems = this.$props.dataItems || [];
|
|
723
723
|
if (this.group === undefined && this.$props.groupField !== undefined) {
|
|
724
724
|
this.group = getItemValue(dataItems[0], this.$props.groupField);
|
|
@@ -734,9 +734,9 @@ var AutoCompleteVue2 = {
|
|
|
734
734
|
return e.preventDefault();
|
|
735
735
|
}
|
|
736
736
|
},
|
|
737
|
-
width: popupWidth,
|
|
737
|
+
width: this.popupWidth,
|
|
738
738
|
attrs: this.v3 ? undefined : {
|
|
739
|
-
width: popupWidth,
|
|
739
|
+
width: this.popupWidth,
|
|
740
740
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
741
741
|
anchor: this.anchor,
|
|
742
742
|
show: opened,
|
|
@@ -215,6 +215,7 @@ var ComboBoxVue2 = {
|
|
|
215
215
|
isScrolling: false,
|
|
216
216
|
itemHeight: 0,
|
|
217
217
|
state: undefined,
|
|
218
|
+
popupWidth: undefined,
|
|
218
219
|
windowWidth: 0
|
|
219
220
|
};
|
|
220
221
|
},
|
|
@@ -1091,7 +1092,6 @@ var ComboBoxVue2 = {
|
|
|
1091
1092
|
var groupStickyHeaderTemplate = templateRendering.call(this, this.$props.groupStickyHeaderItemRender, getListeners.call(this));
|
|
1092
1093
|
var headerListContainer = base.getTemplateDef.call(this, header);
|
|
1093
1094
|
var footerListContainer = base.getTemplateDef.call(this, footer);
|
|
1094
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
1095
1095
|
var dataItems = this.$props.dataItems || [];
|
|
1096
1096
|
if (this.group === undefined && this.$props.groupField !== undefined) {
|
|
1097
1097
|
this.group = getItemValue(dataItems[0], this.$props.groupField);
|
|
@@ -1108,9 +1108,9 @@ var ComboBoxVue2 = {
|
|
|
1108
1108
|
return e.preventDefault();
|
|
1109
1109
|
}
|
|
1110
1110
|
},
|
|
1111
|
-
width: popupWidth,
|
|
1111
|
+
width: this.popupWidth,
|
|
1112
1112
|
attrs: this.v3 ? undefined : {
|
|
1113
|
-
width: popupWidth,
|
|
1113
|
+
width: this.popupWidth,
|
|
1114
1114
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1115
1115
|
anchor: this.anchor,
|
|
1116
1116
|
show: opened,
|
|
@@ -204,6 +204,7 @@ var DropDownListVue2 = {
|
|
|
204
204
|
isScrolling: false,
|
|
205
205
|
itemHeight: 0,
|
|
206
206
|
state: undefined,
|
|
207
|
+
popupWidth: undefined,
|
|
207
208
|
windowWidth: 0
|
|
208
209
|
};
|
|
209
210
|
},
|
|
@@ -1123,7 +1124,6 @@ var DropDownListVue2 = {
|
|
|
1123
1124
|
var groupStickyHeaderTemplate = templateRendering.call(this, this.$props.groupStickyHeaderItemRender, getListeners.call(this));
|
|
1124
1125
|
var headerListContainer = base.getTemplateDef.call(this, header);
|
|
1125
1126
|
var footerListContainer = base.getTemplateDef.call(this, footer);
|
|
1126
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
1127
1127
|
return (
|
|
1128
1128
|
// @ts-ignore function children
|
|
1129
1129
|
h(ListContainer, {
|
|
@@ -1138,7 +1138,7 @@ var DropDownListVue2 = {
|
|
|
1138
1138
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1139
1139
|
attrs: this.v3 ? undefined : {
|
|
1140
1140
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1141
|
-
width: popupWidth
|
|
1141
|
+
width: this.popupWidth
|
|
1142
1142
|
// @ts-ignore
|
|
1143
1143
|
,
|
|
1144
1144
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
@@ -1148,7 +1148,7 @@ var DropDownListVue2 = {
|
|
|
1148
1148
|
show: opened
|
|
1149
1149
|
})
|
|
1150
1150
|
},
|
|
1151
|
-
width: popupWidth,
|
|
1151
|
+
width: this.popupWidth,
|
|
1152
1152
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1153
1153
|
popupClass: classNames(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-".concat(sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
|
|
1154
1154
|
className: classNames('k-list-container', popupSettings.className),
|
|
@@ -294,6 +294,7 @@ var MultiSelectVue2 = {
|
|
|
294
294
|
isScrolling: false,
|
|
295
295
|
itemHeight: 0,
|
|
296
296
|
windowWidth: 0,
|
|
297
|
+
popupWidth: undefined,
|
|
297
298
|
initialAdaptiveRenderingValues: undefined
|
|
298
299
|
};
|
|
299
300
|
},
|
|
@@ -1180,7 +1181,6 @@ var MultiSelectVue2 = {
|
|
|
1180
1181
|
var headerListContainer = base.getTemplateDef.call(this, header);
|
|
1181
1182
|
var footerListContainer = base.getTemplateDef.call(this, footer);
|
|
1182
1183
|
var currentText = this.$props.filter !== undefined ? this.$props.filter : this.currentText;
|
|
1183
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
1184
1184
|
var focusedType = this.getFocusedState().focusedType;
|
|
1185
1185
|
var customItem = allowCustom && currentText && h("div", {
|
|
1186
1186
|
"class": "k-list",
|
|
@@ -1219,7 +1219,7 @@ var MultiSelectVue2 = {
|
|
|
1219
1219
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1220
1220
|
attrs: this.v3 ? undefined : {
|
|
1221
1221
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1222
|
-
width: popupWidth,
|
|
1222
|
+
width: this.popupWidth,
|
|
1223
1223
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1224
1224
|
anchor: this.anchor,
|
|
1225
1225
|
show: opened,
|
|
@@ -1231,7 +1231,7 @@ var MultiSelectVue2 = {
|
|
|
1231
1231
|
itemsCount: dataItems.length
|
|
1232
1232
|
},
|
|
1233
1233
|
onBlur: this.handleBlur,
|
|
1234
|
-
width: popupWidth,
|
|
1234
|
+
width: this.popupWidth,
|
|
1235
1235
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1236
1236
|
anchor: this.anchor,
|
|
1237
1237
|
show: opened,
|
|
@@ -165,8 +165,12 @@ var DropDownBase = /** @class */function () {
|
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
DropDownBase.prototype.calculatePopupWidth = function () {
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
// @ts-ignore
|
|
169
|
+
var props = this.component.$props;
|
|
170
|
+
var popupSettings = props.popupSettings || {};
|
|
171
|
+
var popupWidth = popupSettings.width;
|
|
172
|
+
if (this.wrapper && !popupWidth) {
|
|
173
|
+
this.component.popupWidth = props.popupSettings.width !== undefined ? props.popupSettings.width : this.wrapper.offsetWidth + 'px';
|
|
170
174
|
}
|
|
171
175
|
};
|
|
172
176
|
DropDownBase.prototype.scrollToItem = function (itemIndex, vsEnabled) {
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-dropdowns',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1708425453,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -161,6 +161,7 @@ var AutoCompleteVue2 = {
|
|
|
161
161
|
suggested: '',
|
|
162
162
|
group: undefined,
|
|
163
163
|
isScrolling: false,
|
|
164
|
+
popupWidth: undefined,
|
|
164
165
|
itemHeight: 0
|
|
165
166
|
};
|
|
166
167
|
},
|
|
@@ -724,7 +725,6 @@ var AutoCompleteVue2 = {
|
|
|
724
725
|
template: footerTemplate
|
|
725
726
|
});
|
|
726
727
|
var opened = this.$props.opened !== undefined ? this.$props.opened : this.currentOpened;
|
|
727
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
728
728
|
var dataItems = this.$props.dataItems || [];
|
|
729
729
|
if (this.group === undefined && this.$props.groupField !== undefined) {
|
|
730
730
|
this.group = (0, utils_1.getItemValue)(dataItems[0], this.$props.groupField);
|
|
@@ -740,9 +740,9 @@ var AutoCompleteVue2 = {
|
|
|
740
740
|
return e.preventDefault();
|
|
741
741
|
}
|
|
742
742
|
},
|
|
743
|
-
width: popupWidth,
|
|
743
|
+
width: this.popupWidth,
|
|
744
744
|
attrs: this.v3 ? undefined : {
|
|
745
|
-
width: popupWidth,
|
|
745
|
+
width: this.popupWidth,
|
|
746
746
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
747
747
|
anchor: this.anchor,
|
|
748
748
|
show: opened,
|
|
@@ -221,6 +221,7 @@ var ComboBoxVue2 = {
|
|
|
221
221
|
isScrolling: false,
|
|
222
222
|
itemHeight: 0,
|
|
223
223
|
state: undefined,
|
|
224
|
+
popupWidth: undefined,
|
|
224
225
|
windowWidth: 0
|
|
225
226
|
};
|
|
226
227
|
},
|
|
@@ -1097,7 +1098,6 @@ var ComboBoxVue2 = {
|
|
|
1097
1098
|
var groupStickyHeaderTemplate = kendo_vue_common_1.templateRendering.call(this, this.$props.groupStickyHeaderItemRender, kendo_vue_common_1.getListeners.call(this));
|
|
1098
1099
|
var headerListContainer = base.getTemplateDef.call(this, header);
|
|
1099
1100
|
var footerListContainer = base.getTemplateDef.call(this, footer);
|
|
1100
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
1101
1101
|
var dataItems = this.$props.dataItems || [];
|
|
1102
1102
|
if (this.group === undefined && this.$props.groupField !== undefined) {
|
|
1103
1103
|
this.group = (0, utils_1.getItemValue)(dataItems[0], this.$props.groupField);
|
|
@@ -1114,9 +1114,9 @@ var ComboBoxVue2 = {
|
|
|
1114
1114
|
return e.preventDefault();
|
|
1115
1115
|
}
|
|
1116
1116
|
},
|
|
1117
|
-
width: popupWidth,
|
|
1117
|
+
width: this.popupWidth,
|
|
1118
1118
|
attrs: this.v3 ? undefined : {
|
|
1119
|
-
width: popupWidth,
|
|
1119
|
+
width: this.popupWidth,
|
|
1120
1120
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1121
1121
|
anchor: this.anchor,
|
|
1122
1122
|
show: opened,
|
|
@@ -210,6 +210,7 @@ var DropDownListVue2 = {
|
|
|
210
210
|
isScrolling: false,
|
|
211
211
|
itemHeight: 0,
|
|
212
212
|
state: undefined,
|
|
213
|
+
popupWidth: undefined,
|
|
213
214
|
windowWidth: 0
|
|
214
215
|
};
|
|
215
216
|
},
|
|
@@ -1129,7 +1130,6 @@ var DropDownListVue2 = {
|
|
|
1129
1130
|
var groupStickyHeaderTemplate = kendo_vue_common_1.templateRendering.call(this, this.$props.groupStickyHeaderItemRender, kendo_vue_common_1.getListeners.call(this));
|
|
1130
1131
|
var headerListContainer = base.getTemplateDef.call(this, header);
|
|
1131
1132
|
var footerListContainer = base.getTemplateDef.call(this, footer);
|
|
1132
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
1133
1133
|
return (
|
|
1134
1134
|
// @ts-ignore function children
|
|
1135
1135
|
h(ListContainer_1.ListContainer, {
|
|
@@ -1144,7 +1144,7 @@ var DropDownListVue2 = {
|
|
|
1144
1144
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1145
1145
|
attrs: this.v3 ? undefined : {
|
|
1146
1146
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1147
|
-
width: popupWidth
|
|
1147
|
+
width: this.popupWidth
|
|
1148
1148
|
// @ts-ignore
|
|
1149
1149
|
,
|
|
1150
1150
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
@@ -1154,7 +1154,7 @@ var DropDownListVue2 = {
|
|
|
1154
1154
|
show: opened
|
|
1155
1155
|
})
|
|
1156
1156
|
},
|
|
1157
|
-
width: popupWidth,
|
|
1157
|
+
width: this.popupWidth,
|
|
1158
1158
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1159
1159
|
popupClass: (0, kendo_vue_common_1.classNames)(popupSettings.popupClass, 'k-list', (_a = {}, _a["k-list-".concat(sizeMap[size] || size)] = size, _a['k-virtual-list'] = this.base.vs.enabled, _a)),
|
|
1160
1160
|
className: (0, kendo_vue_common_1.classNames)('k-list-container', popupSettings.className),
|
|
@@ -300,6 +300,7 @@ var MultiSelectVue2 = {
|
|
|
300
300
|
isScrolling: false,
|
|
301
301
|
itemHeight: 0,
|
|
302
302
|
windowWidth: 0,
|
|
303
|
+
popupWidth: undefined,
|
|
303
304
|
initialAdaptiveRenderingValues: undefined
|
|
304
305
|
};
|
|
305
306
|
},
|
|
@@ -1186,7 +1187,6 @@ var MultiSelectVue2 = {
|
|
|
1186
1187
|
var headerListContainer = base.getTemplateDef.call(this, header);
|
|
1187
1188
|
var footerListContainer = base.getTemplateDef.call(this, footer);
|
|
1188
1189
|
var currentText = this.$props.filter !== undefined ? this.$props.filter : this.currentText;
|
|
1189
|
-
var popupWidth = popupSettings.width !== undefined ? popupSettings.width : base.popupWidth;
|
|
1190
1190
|
var focusedType = this.getFocusedState().focusedType;
|
|
1191
1191
|
var customItem = allowCustom && currentText && h("div", {
|
|
1192
1192
|
"class": "k-list",
|
|
@@ -1225,7 +1225,7 @@ var MultiSelectVue2 = {
|
|
|
1225
1225
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1226
1226
|
attrs: this.v3 ? undefined : {
|
|
1227
1227
|
dir: dir !== undefined ? dir : base.dirCalculated,
|
|
1228
|
-
width: popupWidth,
|
|
1228
|
+
width: this.popupWidth,
|
|
1229
1229
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1230
1230
|
anchor: this.anchor,
|
|
1231
1231
|
show: opened,
|
|
@@ -1237,7 +1237,7 @@ var MultiSelectVue2 = {
|
|
|
1237
1237
|
itemsCount: dataItems.length
|
|
1238
1238
|
},
|
|
1239
1239
|
onBlur: this.handleBlur,
|
|
1240
|
-
width: popupWidth,
|
|
1240
|
+
width: this.popupWidth,
|
|
1241
1241
|
popupSettings: __assign(__assign({}, popupSettings), {
|
|
1242
1242
|
anchor: this.anchor,
|
|
1243
1243
|
show: opened,
|
|
@@ -170,8 +170,12 @@ var DropDownBase = /** @class */function () {
|
|
|
170
170
|
}
|
|
171
171
|
};
|
|
172
172
|
DropDownBase.prototype.calculatePopupWidth = function () {
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
// @ts-ignore
|
|
174
|
+
var props = this.component.$props;
|
|
175
|
+
var popupSettings = props.popupSettings || {};
|
|
176
|
+
var popupWidth = popupSettings.width;
|
|
177
|
+
if (this.wrapper && !popupWidth) {
|
|
178
|
+
this.component.popupWidth = props.popupSettings.width !== undefined ? props.popupSettings.width : this.wrapper.offsetWidth + 'px';
|
|
175
179
|
}
|
|
176
180
|
};
|
|
177
181
|
DropDownBase.prototype.scrollToItem = function (itemIndex, vsEnabled) {
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-dropdowns',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1708425453,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-dropdowns",
|
|
3
3
|
"description": "Kendo UI for Vue Dropdowns package",
|
|
4
|
-
"version": "4.3.1-dev.
|
|
4
|
+
"version": "4.3.1-dev.202402201046",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -54,21 +54,21 @@
|
|
|
54
54
|
"vue": "^2.6.12 || ^3.0.2"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@progress/kendo-vue-buttons": "4.3.1-dev.
|
|
58
|
-
"@progress/kendo-vue-common": "4.3.1-dev.
|
|
59
|
-
"@progress/kendo-vue-layout": "4.3.1-dev.
|
|
60
|
-
"@progress/kendo-vue-popup": "4.3.1-dev.
|
|
57
|
+
"@progress/kendo-vue-buttons": "4.3.1-dev.202402201046",
|
|
58
|
+
"@progress/kendo-vue-common": "4.3.1-dev.202402201046",
|
|
59
|
+
"@progress/kendo-vue-layout": "4.3.1-dev.202402201046",
|
|
60
|
+
"@progress/kendo-vue-popup": "4.3.1-dev.202402201046"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@progress/kendo-data-query": "^1.5.4",
|
|
64
64
|
"@progress/kendo-licensing": "^1.3.0",
|
|
65
65
|
"@progress/kendo-svg-icons": "^2.0.0",
|
|
66
|
-
"@progress/kendo-vue-data-tools": "4.3.1-dev.
|
|
67
|
-
"@progress/kendo-vue-inputs": "4.3.1-dev.
|
|
68
|
-
"@progress/kendo-vue-intl": "4.3.1-dev.
|
|
69
|
-
"@progress/kendo-vue-labels": "4.3.1-dev.
|
|
70
|
-
"@progress/kendo-vue-layout": "4.3.1-dev.
|
|
71
|
-
"@progress/kendo-vue-treeview": "4.3.1-dev.
|
|
66
|
+
"@progress/kendo-vue-data-tools": "4.3.1-dev.202402201046",
|
|
67
|
+
"@progress/kendo-vue-inputs": "4.3.1-dev.202402201046",
|
|
68
|
+
"@progress/kendo-vue-intl": "4.3.1-dev.202402201046",
|
|
69
|
+
"@progress/kendo-vue-labels": "4.3.1-dev.202402201046",
|
|
70
|
+
"@progress/kendo-vue-layout": "4.3.1-dev.202402201046",
|
|
71
|
+
"@progress/kendo-vue-treeview": "4.3.1-dev.202402201046"
|
|
72
72
|
},
|
|
73
73
|
"author": "Progress",
|
|
74
74
|
"license": "SEE LICENSE IN LICENSE.md",
|