New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-angular-dropdowns

Package Overview
Dependencies
Maintainers
1
Versions
1282
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-angular-dropdowns - npm Package Compare versions

Comparing version 0.10.0 to 0.10.1

28

dist/npm/js/combobox.component.js

@@ -70,3 +70,3 @@ (function(e, a) { for(var i in a) e[i] = a[i]; }(exports, /******/ (function(modules) { // webpackBootstrap

var searchbar_component_1 = __webpack_require__(9);
var bundle_1 = __webpack_require__(10);
var kendo_dropdowns_common_1 = __webpack_require__(10);
var item_template_directive_1 = __webpack_require__(11);

@@ -233,4 +233,4 @@ var header_template_directive_1 = __webpack_require__(12);

}
this.text = bundle_1.DropDownsUtil.getter(this.data[index], this.textField);
this.selectionChange.emit(bundle_1.DropDownsUtil.getter(this.data[index], this.valueField));
this.text = kendo_dropdowns_common_1.DropDownsUtil.getter(this.data[index], this.textField);
this.selectionChange.emit(kendo_dropdowns_common_1.DropDownsUtil.getter(this.data[index], this.valueField));
this.change(this.data[index]);

@@ -243,3 +243,3 @@ };

}
this.selectionChange.emit(bundle_1.DropDownsUtil.getter(this.data[index], this.valueField));
this.selectionChange.emit(kendo_dropdowns_common_1.DropDownsUtil.getter(this.data[index], this.valueField));
if (!this.show) {

@@ -285,3 +285,3 @@ this.change(this.data[index]);

this.verifySettings();
value = bundle_1.DropDownsUtil.getter(value, this.valueField) || value;
value = kendo_dropdowns_common_1.DropDownsUtil.getter(value, this.valueField) || value;
this.text = null;

@@ -307,3 +307,3 @@ this.setState(value);

ComboBoxComponent.prototype.setState = function (value) {
var newValue = bundle_1.DropDownsUtil.getter(value, this.valueField) || value;
var newValue = kendo_dropdowns_common_1.DropDownsUtil.getter(value, this.valueField) || value;
if (!this.data.length) {

@@ -314,3 +314,3 @@ this.value = value;

//data and value available - try to resolve initial value to dataItem
var result = bundle_1.DropDownsUtil.resolveValue({
var result = kendo_dropdowns_common_1.DropDownsUtil.resolveValue({
data: this.data,

@@ -324,3 +324,3 @@ value: newValue,

this.value = newValue;
this.text = bundle_1.DropDownsUtil.getter(result.dataItem, this.textField);
this.text = kendo_dropdowns_common_1.DropDownsUtil.getter(result.dataItem, this.textField);
}

@@ -339,3 +339,3 @@ else {

//filtering AND model update
var result = bundle_1.DropDownsUtil.resolveValue({
var result = kendo_dropdowns_common_1.DropDownsUtil.resolveValue({
data: this.data,

@@ -345,3 +345,3 @@ value: value,

});
var resultText = bundle_1.DropDownsUtil.getter(result.dataItem, this.textField);
var resultText = kendo_dropdowns_common_1.DropDownsUtil.getter(result.dataItem, this.textField);
if (this.text !== resultText) {

@@ -361,3 +361,3 @@ this.selectionService.resetSelection([]);

ComboBoxComponent.prototype.navigate = function (index) {
this.text = bundle_1.DropDownsUtil.getter(this.data[index], this.textField);
this.text = kendo_dropdowns_common_1.DropDownsUtil.getter(this.data[index], this.textField);
this.selectionService.select(index);

@@ -435,3 +435,3 @@ };

var dataItem = this.data[this.selectionService.selected[0]];
if (bundle_1.DropDownsUtil.getter(dataItem, this.textField) === this.searchbar.value) {
if (kendo_dropdowns_common_1.DropDownsUtil.getter(dataItem, this.textField) === this.searchbar.value) {
this.change(dataItem || this.value);

@@ -464,3 +464,3 @@ }

this.dataItem = isCustom ? customItem : dataItem;
this.value = bundle_1.DropDownsUtil.getter(this.dataItem, this.valueField) || dataItem;
this.value = kendo_dropdowns_common_1.DropDownsUtil.getter(this.dataItem, this.valueField) || dataItem;
this._previousValue = this.value;

@@ -642,3 +642,3 @@ this.onChangeCallback(this.valuePrimitive ? this.value : dataItem);

module.exports = require("@telerik/kendo-dropdowns-common/dist/npm/js/bundle");
module.exports = require("@telerik/kendo-dropdowns-common");

@@ -645,0 +645,0 @@ /***/ },

@@ -78,3 +78,3 @@ (function(e, a) { for(var i in a) e[i] = a[i]; }(exports, /******/ (function(modules) { // webpackBootstrap

module.exports = require("@telerik/kendo-dropdowns-common/dist/npm/js/bundle");
module.exports = require("@telerik/kendo-dropdowns-common");

@@ -142,3 +142,3 @@ /***/ },

var util_1 = __webpack_require__(16);
var bundle_1 = __webpack_require__(10);
var kendo_dropdowns_common_1 = __webpack_require__(10);
var selection_service_1 = __webpack_require__(15);

@@ -336,3 +336,3 @@ var item_template_directive_1 = __webpack_require__(11);

}
this.selectionChange.emit(bundle_1.DropDownsUtil.getter(this.data[index], this.valueField));
this.selectionChange.emit(kendo_dropdowns_common_1.DropDownsUtil.getter(this.data[index], this.valueField));
this.change(this.data[index]);

@@ -347,7 +347,7 @@ };

this.dataItem = this.data[index] || this.defaultItem;
this.value = bundle_1.DropDownsUtil.getter(this.dataItem, this.valueField);
this.selectionChange.emit(bundle_1.DropDownsUtil.getter(this.data[index], this.valueField));
this.value = kendo_dropdowns_common_1.DropDownsUtil.getter(this.dataItem, this.valueField);
this.selectionChange.emit(kendo_dropdowns_common_1.DropDownsUtil.getter(this.data[index], this.valueField));
}
else {
this.selectionChange.emit(bundle_1.DropDownsUtil.getter(this.data[index], this.valueField));
this.selectionChange.emit(kendo_dropdowns_common_1.DropDownsUtil.getter(this.data[index], this.valueField));
this.change(this.data[index]);

@@ -430,9 +430,9 @@ }

DropDownListComponent.prototype.getDefaultItemText = function () {
return bundle_1.DropDownsUtil.getter(this.defaultItem, this.textField);
return kendo_dropdowns_common_1.DropDownsUtil.getter(this.defaultItem, this.textField);
};
DropDownListComponent.prototype.getValue = function () {
return bundle_1.DropDownsUtil.getter(this.dataItem, this.valueField);
return kendo_dropdowns_common_1.DropDownsUtil.getter(this.dataItem, this.valueField);
};
DropDownListComponent.prototype.getText = function () {
return bundle_1.DropDownsUtil.getter(this.dataItem, this.textField);
return kendo_dropdowns_common_1.DropDownsUtil.getter(this.dataItem, this.textField);
};

@@ -542,15 +542,15 @@ DropDownListComponent.prototype.getWidth = function () {

var dataLength = data.length + (this.defaultItem ? 1 : 0);
var isInLoop = bundle_1.DropDownsUtil.sameCharsOnly(this.word, this.last);
var isInLoop = kendo_dropdowns_common_1.DropDownsUtil.sameCharsOnly(this.word, this.last);
var startIndex = this.selectionService.selected[0] || 0 + (this.defaultItem ? 1 : 0);
var text, index;
startIndex += isInLoop ? 1 : 0;
startIndex = bundle_1.DropDownsUtil.normalizeIndex(startIndex, dataLength);
data = bundle_1.DropDownsUtil.shuffleData(data, startIndex, this.defaultItem);
startIndex = kendo_dropdowns_common_1.DropDownsUtil.normalizeIndex(startIndex, dataLength);
data = kendo_dropdowns_common_1.DropDownsUtil.shuffleData(data, startIndex, this.defaultItem);
index = 0;
for (; index < dataLength; index++) {
text = bundle_1.DropDownsUtil.getter(data[index], this.textField);
if (isInLoop && bundle_1.DropDownsUtil.matchText(text, this.last, this.ignoreCase)) {
text = kendo_dropdowns_common_1.DropDownsUtil.getter(data[index], this.textField);
if (isInLoop && kendo_dropdowns_common_1.DropDownsUtil.matchText(text, this.last, this.ignoreCase)) {
break;
}
else if (bundle_1.DropDownsUtil.matchText(text, this.word, this.ignoreCase)) {
else if (kendo_dropdowns_common_1.DropDownsUtil.matchText(text, this.word, this.ignoreCase)) {
break;

@@ -560,7 +560,7 @@ }

if (index !== dataLength) {
if (this.defaultItem && bundle_1.DropDownsUtil.getter(data[index], this.valueField) === bundle_1.DropDownsUtil.getter(this.defaultItem, this.valueField)) {
if (this.defaultItem && kendo_dropdowns_common_1.DropDownsUtil.getter(data[index], this.valueField) === kendo_dropdowns_common_1.DropDownsUtil.getter(this.defaultItem, this.valueField)) {
this.navigate(-1);
}
else {
this.navigate(bundle_1.DropDownsUtil.normalizeIndex(startIndex + index, dataLength));
this.navigate(kendo_dropdowns_common_1.DropDownsUtil.normalizeIndex(startIndex + index, dataLength));
}

@@ -576,7 +576,7 @@ }

this.show = false;
if (this._previousValue === bundle_1.DropDownsUtil.getter(dataItem, this.valueField)) {
if (this._previousValue === kendo_dropdowns_common_1.DropDownsUtil.getter(dataItem, this.valueField)) {
return;
}
this.dataItem = dataItem || this.defaultItem;
this.value = bundle_1.DropDownsUtil.getter(this.dataItem, this.valueField);
this.value = kendo_dropdowns_common_1.DropDownsUtil.getter(this.dataItem, this.valueField);
this.onChangeCallback(this.valuePrimitive ? this.value : this.dataItem);

@@ -594,3 +594,3 @@ this._previousValue = this.value;

DropDownListComponent.prototype.resolveInternalState = function (state) {
var newValue = bundle_1.DropDownsUtil.getter(state.value, this.valueField) || state.value;
var newValue = kendo_dropdowns_common_1.DropDownsUtil.getter(state.value, this.valueField) || state.value;
if (!this.data) {

@@ -600,3 +600,3 @@ this.value = newValue;

}
var result = bundle_1.DropDownsUtil.resolveValue({
var result = kendo_dropdowns_common_1.DropDownsUtil.resolveValue({
data: this.data,

@@ -613,3 +613,3 @@ defaultItem: this.defaultItem,

this.dataItem = result.dataItem;
this.value = bundle_1.DropDownsUtil.getter(this.dataItem, this.valueField);
this.value = kendo_dropdowns_common_1.DropDownsUtil.getter(this.dataItem, this.valueField);
this._previousValue = this.value;

@@ -616,0 +616,0 @@ }

@@ -73,3 +73,3 @@ (function(e, a) { for(var i in a) e[i] = a[i]; }(exports, /******/ (function(modules) { // webpackBootstrap

module.exports = require("@telerik/kendo-dropdowns-common/dist/npm/js/bundle");
module.exports = require("@telerik/kendo-dropdowns-common");

@@ -126,3 +126,3 @@ /***/ },

var core_1 = __webpack_require__(7);
var bundle_1 = __webpack_require__(10);
var kendo_dropdowns_common_1 = __webpack_require__(10);
var list_item_directive_1 = __webpack_require__(31);

@@ -165,6 +165,6 @@ var item_template_directive_1 = __webpack_require__(11);

ListComponent.prototype.getText = function (dataItem) {
return bundle_1.DropDownsUtil.getter(dataItem, this.textField);
return kendo_dropdowns_common_1.DropDownsUtil.getter(dataItem, this.textField);
};
ListComponent.prototype.getValue = function (dataItem) {
return bundle_1.DropDownsUtil.getter(dataItem, this.valueField);
return kendo_dropdowns_common_1.DropDownsUtil.getter(dataItem, this.valueField);
};

@@ -171,0 +171,0 @@ ListComponent.prototype.scrollToItem = function (index) {

{
"name": "@progress/kendo-angular-dropdowns",
"description": "Dropdowns Package for Angular 2",
"version": "0.10.0",
"version": "0.10.1",
"publishConfig": {

@@ -6,0 +6,0 @@ "registry": "https://registry.npm.telerik.com"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc