@syncfusion/ej2-dropdowns
Advanced tools
Comparing version 26.2.7 to 26.2.8
/*! | ||
* filename: index.d.ts | ||
* version : 26.2.7 | ||
* version : 26.2.8 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-dropdowns@*", | ||
"_id": "@syncfusion/ej2-dropdowns@26.2.4", | ||
"_id": "@syncfusion/ej2-dropdowns@26.2.7", | ||
"_inBundle": false, | ||
"_integrity": "sha512-rYtFrunryOtJIvcg6Izb0ZowqYEWuLASJHoM/wmI3KYUvkCbSlCarJKXOdgr+bybY/Y15ptJM3CW8f7LaHK6Zg==", | ||
"_integrity": "sha512-kwC+xK1MaSajrZXTbUmKfxWOqRYb4bzePPHfSkKxoQkbUTDn542o+LFnvLVG/UdZ8s/OD4P5ChDl0XjAH6sOPA==", | ||
"_location": "/@syncfusion/ej2-dropdowns", | ||
@@ -38,4 +38,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-26.2.4.tgz", | ||
"_shasum": "905bcd69a60c92c8eb1203b485d3dbb5373f8ccf", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-dropdowns/-/ej2-dropdowns-26.2.7.tgz", | ||
"_shasum": "c5edcee9ab776cb2ee557c2d36fc4f32f973aed5", | ||
"_spec": "@syncfusion/ej2-dropdowns@*", | ||
@@ -52,5 +52,5 @@ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included", | ||
"@syncfusion/ej2-lists": "~26.2.5", | ||
"@syncfusion/ej2-navigations": "~26.2.7", | ||
"@syncfusion/ej2-navigations": "~26.2.8", | ||
"@syncfusion/ej2-notifications": "~26.2.5", | ||
"@syncfusion/ej2-popups": "~26.2.5" | ||
"@syncfusion/ej2-popups": "~26.2.8" | ||
}, | ||
@@ -80,5 +80,5 @@ "deprecated": false, | ||
"typings": "index.d.ts", | ||
"version": "26.2.7", | ||
"version": "26.2.8", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -131,6 +131,37 @@ var __extends = (this && this.__extends) || (function () { | ||
Input.setValue(inputValue, this.inputElement, this.floatLabelType, this.showClearButton); | ||
var changeData = {}; | ||
if (this.allowObjectBinding) { | ||
value = this.getDataByValue(value); | ||
if (isNullOrUndefined(value)) { | ||
var fields_1 = this.fields; | ||
var isvalidTextField_1 = false; | ||
var isValidValue_1 = false; | ||
if (this.allowObjectBinding) { | ||
var keys = Object.keys(this.value); | ||
keys.forEach(function (key) { | ||
if (key === fields_1.value) { | ||
isValidValue_1 = true; | ||
return; | ||
} | ||
}); | ||
keys.forEach(function (key) { | ||
if (key === fields_1.text) { | ||
isvalidTextField_1 = true; | ||
return; | ||
} | ||
}); | ||
} | ||
changeData = { | ||
text: isValidValue_1 ? isvalidTextField_1 ? getValue(fields_1.text, this.value) : getValue(fields_1.value, this.value) : null, | ||
value: isValidValue_1 ? this.value : null, | ||
index: null | ||
}; | ||
} | ||
} | ||
this.setProperties({ value: value, text: value, index: null }, true); | ||
if (this.allowObjectBinding) { | ||
this.setProperties(changeData, true); | ||
} | ||
else { | ||
this.setProperties({ value: value, text: value, index: null }, true); | ||
} | ||
this.activeIndex = this.index; | ||
@@ -675,3 +706,3 @@ var fields = this.fields; | ||
} | ||
else if (this.allowCustom) { | ||
else if (this.allowCustom && this.isInteracted) { | ||
this.isSelectCustom = true; | ||
@@ -678,0 +709,0 @@ } |
@@ -496,3 +496,5 @@ import { createCheckBox } from '@syncfusion/ej2-buttons'; | ||
} | ||
this.selectAllSpan.textContent = unSelect ? l10n.getConstant('unSelectAllText') : l10n.getConstant('selectAllText'); | ||
if (!isNullOrUndefined(this.selectAllSpan)) { | ||
this.selectAllSpan.textContent = unSelect ? l10n.getConstant('unSelectAllText') : l10n.getConstant('selectAllText'); | ||
} | ||
} | ||
@@ -499,0 +501,0 @@ }; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19243269
222744