Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-inputs

Package Overview
Dependencies
Maintainers
2
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-inputs - npm Package Compare versions

Comparing version 15.4.21 to 15.4.23

CHANGELOG.md

8

package.json
{
"name": "@syncfusion/ej2-inputs",
"version": "15.4.21",
"version": "15.4.23",
"description": "Essential JS 2 Input Components",
"author": "Syncfusion Inc.",
"license": "SEE LICENSE IN license",
"module": "dist/es6/index.js",
"main": "./dist/ej2-inputs.umd.min.js",
"module": "./dist/es6/ej2-inputs.es5.js",
"es2015": "./dist/es6/ej2-inputs.es2015.js",
"dependencies": {
"@syncfusion/ej2-base": "^15.4.21"
"@syncfusion/ej2-base": "^15.4.23"
},

@@ -11,0 +13,0 @@ "devDependencies": {

@@ -198,5 +198,5 @@ define(["require", "exports", "@syncfusion/ej2-base"], function (require, exports, ej2_base_1) {

container.appendChild(button);
if (!ej2_base_1.isNullOrUndefined(privateInputObj.container) &&
privateInputObj.container.classList.contains(CLASSNAMES.FLOATINPUT)) {
ej2_base_1.addClass([privateInputObj.container], CLASSNAMES.INPUTGROUP);
if (!ej2_base_1.isNullOrUndefined(container) &&
container.classList.contains(CLASSNAMES.FLOATINPUT)) {
ej2_base_1.addClass([container], CLASSNAMES.INPUTGROUP);
}

@@ -244,2 +244,3 @@ ej2_base_1.addClass([button], CLASSNAMES.CLEARICONHIDE);

}
container.classList.add('e-control-wrapper');
return container;

@@ -246,0 +247,0 @@ }

@@ -20,3 +20,3 @@ var __extends = (this && this.__extends) || (function () {

Object.defineProperty(exports, "__esModule", { value: true });
var ROOT = 'e-widget e-mask';
var ROOT = 'e-widget e-control-wrapper e-mask';
var INPUT = 'e-input';

@@ -23,0 +23,0 @@ var MaskedTextBox = (function (_super) {

@@ -1,2 +0,2 @@

import { Component, EventHandler, Property, Event, Browser, CreateBuilder, L10n, EmitType } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { createElement, attributes, addClass, removeClass, setStyleAttribute, detach } from '@syncfusion/ej2-base';import { isNullOrUndefined, getValue, formatUnit, setValue, merge } from '@syncfusion/ej2-base';import { Internationalization, NumberFormatOptions, getNumericObject } from '@syncfusion/ej2-base';import { NumericTextBoxHelper } from './numerictextbox-builder';import { Input, InputObject, FloatLabelType } from '../input/input';
import { Component, EventHandler, Property, Event, Browser, L10n, EmitType } from '@syncfusion/ej2-base';import { NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { createElement, attributes, addClass, removeClass, setStyleAttribute, detach } from '@syncfusion/ej2-base';import { isNullOrUndefined, getValue, formatUnit, setValue, merge } from '@syncfusion/ej2-base';import { Internationalization, NumberFormatOptions, getNumericObject } from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../input/input';
import {ChangeEventArgs} from "./numerictextbox";

@@ -107,2 +107,10 @@ import {ComponentModel} from '@syncfusion/ej2-base';

/**
* Specifies the currency code to use in currency formatting.
* Possible values are the ISO 4217 currency codes, such as 'USD' for the US dollar,'EUR' for the euro.
* @default null
* @private
*/
currencyCode?: string;
/**
* Specifies a value that indicates whether the NumericTextBox control allows the value for the specified range.

@@ -109,0 +117,0 @@ * * If it is true, the input value will be restricted between the min and max range.

import { Component, EmitType } from '@syncfusion/ej2-base';
import { INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';
import { NumericTextBoxModel } from './numerictextbox-model';
import { NumericTextBoxHelper } from './numerictextbox-builder';
import { FloatLabelType } from '../input/input';

@@ -121,2 +120,9 @@ /**

/**
* Specifies the currency code to use in currency formatting.
* Possible values are the ISO 4217 currency codes, such as 'USD' for the US dollar,'EUR' for the euro.
* @default null
* @private
*/
private currencyCode;
/**
* Specifies a value that indicates whether the NumericTextBox control allows the value for the specified range.

@@ -209,2 +215,3 @@ * * If it is true, the input value will be restricted between the min and max range.

private updateValue(value, event?);
private updateCurrency(prop, propVal);
private changeValue(value);

@@ -275,5 +282,1 @@ private modifyText();

}
/**
* Builder for NumericTextBox
*/
export declare let numerictextboxHelper: NumericTextBoxHelper;

@@ -20,3 +20,3 @@ var __extends = (this && this.__extends) || (function () {

Object.defineProperty(exports, "__esModule", { value: true });
var ROOT = 'e-numeric';
var ROOT = 'e-control-wrapper e-numeric';
var SPINICON = 'e-input-group-icon';

@@ -134,2 +134,3 @@ var SPINUP = 'e-spin-up';

ej2_base_4.setValue('currency', this.currency, this.cultureInfo);
this.setProperties({ currencyCode: this.currency }, true);
}

@@ -151,3 +152,3 @@ };

this.container = inputObj.container;
ej2_base_3.addClass([this.container], ROOT);
this.container.setAttribute('class', ROOT + ' ' + this.container.getAttribute('class'));
if (this.readonly) {

@@ -338,2 +339,6 @@ ej2_base_3.attributes(this.element, { 'aria-readonly': 'true' });

};
NumericTextBox.prototype.updateCurrency = function (prop, propVal) {
ej2_base_4.setValue(prop, propVal, this.cultureInfo);
this.updateValue(this.value);
};
NumericTextBox.prototype.changeValue = function (value) {

@@ -682,5 +687,11 @@ if (!(value || value === 0)) {

case 'currency':
ej2_base_4.setValue(prop, ej2_base_4.getValue(prop, newProp), this.cultureInfo);
this.updateValue(this.value);
var propVal = ej2_base_4.getValue(prop, newProp);
this.setProperties({ currencyCode: propVal }, true);
this.updateCurrency(prop, propVal);
break;
case 'currencyCode':
var propValue = ej2_base_4.getValue(prop, newProp);
this.setProperties({ currency: propValue }, true);
this.updateCurrency('currency', propValue);
break;
case 'format':

@@ -746,2 +757,5 @@ ej2_base_4.setValue(prop, ej2_base_4.getValue(prop, newProp), this);

__decorate([
ej2_base_1.Property(null)
], NumericTextBox.prototype, "currencyCode", void 0);
__decorate([
ej2_base_1.Property(true)

@@ -770,3 +784,2 @@ ], NumericTextBox.prototype, "strictMode", void 0);

exports.NumericTextBox = NumericTextBox;
exports.numerictextboxHelper = ej2_base_1.CreateBuilder(NumericTextBox);
});

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 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