@syncfusion/ej2-inputs
Advanced tools
Comparing version 16.3.17 to 16.3.21
@@ -5,2 +5,10 @@ # Changelog | ||
### ColorPicker | ||
#### Bug Fixes | ||
- ColorPicker collision issue fixed. | ||
## 16.3.17 (2018-09-12) | ||
### Uploader | ||
@@ -12,3 +20,3 @@ | ||
- Provided paste to upload support that helps to uploads any images which currently copied in the clipboard. | ||
- Provided paste to upload support that helps to uploads any images to a server on pasting images from clipboard. | ||
@@ -15,0 +23,0 @@ #### Bug Fixes |
/*! | ||
* filename: index.d.ts | ||
* version : 16.3.17 | ||
* version : 16.3.21 | ||
* Copyright Syncfusion Inc. 2001 - 2018. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"name": "@syncfusion/ej2-inputs", | ||
"version": "16.3.17", | ||
"description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, Form-validator which is used to get input from users.", | ||
"version": "16.3.21", | ||
"description": "A package of Essential JS 2 input components such as Textbox, Color-picker, Masked-textbox, Numeric-textbox, Slider, Upload, and Form-validator that is used to get input from the users.", | ||
"author": "Syncfusion Inc.", | ||
@@ -11,6 +11,6 @@ "license": "SEE LICENSE IN license", | ||
"dependencies": { | ||
"@syncfusion/ej2-base": "~16.3.17", | ||
"@syncfusion/ej2-buttons": "~16.3.17", | ||
"@syncfusion/ej2-popups": "~16.3.17", | ||
"@syncfusion/ej2-splitbuttons": "~16.3.17" | ||
"@syncfusion/ej2-base": "~16.3.21", | ||
"@syncfusion/ej2-buttons": "~16.3.21", | ||
"@syncfusion/ej2-popups": "~16.3.21", | ||
"@syncfusion/ej2-splitbuttons": "~16.3.21" | ||
}, | ||
@@ -79,3 +79,4 @@ "devDependencies": { | ||
"url": "https://github.com/syncfusion/ej2-inputs.git" | ||
} | ||
}, | ||
"sideEffects": false | ||
} |
@@ -84,2 +84,8 @@ import { BaseEventArgs, Component, EmitType, Event, INotifyPropertyChanged, NotifyPropertyChanges, Property } from '@syncfusion/ej2-base';import { Browser, closest, detach, EventHandler, getInstance, select, selectAll, formatUnit } from '@syncfusion/ej2-base';import { addClass, attributes, classList, isNullOrUndefined, L10n } from '@syncfusion/ej2-base';import { remove, removeClass, rippleEffect } from '@syncfusion/ej2-base';import { SplitButton, BeforeOpenCloseMenuEventArgs, getModel, ClickEventArgs, OpenCloseMenuEventArgs } from '@syncfusion/ej2-splitbuttons';import { Tooltip, TooltipEventArgs, getZindexPartial, Popup } from '@syncfusion/ej2-popups';import { Input } from './../input/index';import { NumericTextBox, NumericTextBoxModel, ChangeEventArgs } from './../numerictextbox/index';import { Slider, SliderChangeEventArgs } from './../slider/slider'; | ||
/** | ||
* It is used to enable / disable the opacity option of ColorPicker component. | ||
* @default true | ||
*/ | ||
enableOpacity?: boolean; | ||
/** | ||
* Triggers while selecting the color in picker / palette, when showButtons property is enabled. | ||
@@ -86,0 +92,0 @@ * @event |
@@ -98,2 +98,7 @@ import { BaseEventArgs, Component, EmitType, INotifyPropertyChanged } from '@syncfusion/ej2-base'; | ||
/** | ||
* It is used to enable / disable the opacity option of ColorPicker component. | ||
* @default true | ||
*/ | ||
enableOpacity: boolean; | ||
/** | ||
* Triggers while selecting the color in picker / palette, when showButtons property is enabled. | ||
@@ -167,2 +172,3 @@ * @event | ||
private createSlider(); | ||
private createOpacitySlider(slider); | ||
private updateOpacitySliderBg(); | ||
@@ -176,2 +182,3 @@ private hueChange(args); | ||
private createInput(); | ||
private appendOpacityValue(container); | ||
private appendValueSwitchBtn(targetEle); | ||
@@ -269,2 +276,3 @@ private createCtrlBtn(); | ||
private changePaletteProps(); | ||
private changeOpacityProps(newProp); | ||
/** | ||
@@ -271,0 +279,0 @@ * Called internally if any of the property value changed. |
@@ -434,2 +434,11 @@ /** | ||
} | ||
function autoFillMaskInputValues(isRemove, oldEventVal, event) { | ||
if (event.type === 'input') { | ||
isRemove = false; | ||
oldEventVal = this.element.value; | ||
setElementValue.call(this, this.promptMask); | ||
setMaskValue.call(this, oldEventVal); | ||
} | ||
return isRemove; | ||
} | ||
function removeMaskInputValues(event) { | ||
@@ -441,5 +450,9 @@ var isRemove = false; | ||
isRemove = true; | ||
oldEventVal = this.element.value; | ||
isRemove = autoFillMaskInputValues.call(this, isRemove, oldEventVal, event); | ||
mobileRemoveFunction.call(this); | ||
oldEventVal = this.element.value; | ||
} | ||
if (this.element.value.length >= this.promptMask.length && event.type === 'input') { | ||
isRemove = autoFillMaskInputValues.call(this, isRemove, oldEventVal, event); | ||
} | ||
var initStartIndex = this.element.selectionStart; | ||
@@ -446,0 +459,0 @@ var initEndIndex = this.element.selectionEnd; |
@@ -146,2 +146,3 @@ import { Component, EmitType } from '@syncfusion/ej2-base'; | ||
getModuleName(): string; | ||
private isBlank(str); | ||
protected preRender(): void; | ||
@@ -148,0 +149,0 @@ private checkAttributes(attrs); |
@@ -58,2 +58,8 @@ var __extends = (this && this.__extends) || (function () { | ||
case 'value': | ||
var prevOnChange = this.isProtectedOnChange; | ||
this.isProtectedOnChange = true; | ||
if (!this.isBlank(this.value)) { | ||
this.value = this.value.toString(); | ||
} | ||
this.isProtectedOnChange = prevOnChange; | ||
Input.setValue(this.value, this.element, this.floatLabelType, this.showClearButton); | ||
@@ -98,2 +104,5 @@ this.raiseChangeEvent(); | ||
}; | ||
TextBox.prototype.isBlank = function (str) { | ||
return (!str || /^\s*$/.test(str)); | ||
}; | ||
TextBox.prototype.preRender = function () { | ||
@@ -100,0 +109,0 @@ this.cloneElement = this.element.cloneNode(true); |
@@ -531,2 +531,3 @@ import { Component, EmitType } from '@syncfusion/ej2-base'; | ||
private getFilesFromFolder(event); | ||
private checkDirectoryUpload(items); | ||
traverseFileTree(item: any, event?: MouseEvent | TouchEvent | DragEvent | ClipboardEvent): void; | ||
@@ -533,0 +534,0 @@ private onSelectFiles(args); |
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 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
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
7813681
80931