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 1.0.22 to 15.4.17

7

dist/es6/form-validator/form-validator.js

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

EventHandler.add(this.element, 'submit', this.submitHandler, this);
EventHandler.add(this.element, 'reset', this.resetHandler, this);
};

@@ -277,2 +278,3 @@ FormValidator.prototype.unwireEvents = function () {

EventHandler.remove(this.element, 'submit', this.submitHandler);
EventHandler.remove(this.element, 'reset', this.resetHandler);
};

@@ -326,2 +328,5 @@ FormValidator.prototype.focusOutHandler = function (e) {

};
FormValidator.prototype.resetHandler = function () {
this.reset();
};
FormValidator.prototype.validateRules = function (name) {

@@ -419,3 +424,3 @@ if (!this.rules[name]) {

var containerId = input.getAttribute('data-msg-containerid');
var divElement = input.parentElement.querySelector('#' + containerId);
var divElement = this.element.querySelector('#' + containerId);
divElement.appendChild(errorElement);

@@ -422,0 +427,0 @@ }

@@ -664,2 +664,14 @@ var __extends = (this && this.__extends) || (function () {

this.l10n.setLocale(this.locale);
if (!isNullOrUndefined(this.spinDown)) {
attributes(this.spinDown, {
'title': this.l10n.getConstant('decrementTitle'),
'aria-label': this.l10n.getConstant('decrementTitle')
});
}
if (!isNullOrUndefined(this.spinUp)) {
attributes(this.spinUp, {
'title': this.l10n.getConstant('incrementTitle'),
'aria-label': this.l10n.getConstant('incrementTitle')
});
}
this.updatePlaceholder();

@@ -666,0 +678,0 @@ Input.setPlaceholder(this.placeholder, this.element);

4

package.json
{
"name": "@syncfusion/ej2-inputs",
"version": "1.0.22",
"version": "15.4.17",
"description": "Essential JS 2 Input Components",

@@ -9,3 +9,3 @@ "author": "Syncfusion Inc.",

"dependencies": {
"@syncfusion/ej2-base": "^1.0.22"
"@syncfusion/ej2-base": "^15.4.17"
},

@@ -12,0 +12,0 @@ "devDependencies": {

@@ -179,2 +179,3 @@ import { Base, EmitType } from '@syncfusion/ej2-base';

private submitHandler(e);
private resetHandler();
private validateRules(name);

@@ -181,0 +182,0 @@ private isValid(name, rule);

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

ej2_base_2.EventHandler.add(this.element, 'submit', this.submitHandler, this);
ej2_base_2.EventHandler.add(this.element, 'reset', this.resetHandler, this);
};

@@ -277,2 +278,3 @@ FormValidator.prototype.unwireEvents = function () {

ej2_base_2.EventHandler.remove(this.element, 'submit', this.submitHandler);
ej2_base_2.EventHandler.remove(this.element, 'reset', this.resetHandler);
};

@@ -326,2 +328,5 @@ FormValidator.prototype.focusOutHandler = function (e) {

};
FormValidator.prototype.resetHandler = function () {
this.reset();
};
FormValidator.prototype.validateRules = function (name) {

@@ -419,3 +424,3 @@ if (!this.rules[name]) {

var containerId = input.getAttribute('data-msg-containerid');
var divElement = input.parentElement.querySelector('#' + containerId);
var divElement = this.element.querySelector('#' + containerId);
divElement.appendChild(errorElement);

@@ -422,0 +427,0 @@ }

@@ -51,2 +51,3 @@ import { Component, Event, Property, EmitType, NotifyPropertyChanges, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';import { isNullOrUndefined, formatUnit, getValue, setValue, attributes, addClass, detach, createElement } from '@syncfusion/ej2-base';import { Input, InputObject, FloatLabelType } from '../../input/input';import { regularExpressions, createMask, applyMask, wireEvents, unwireEvents, unstrippedValue, strippedValue } from '../base/index';import { setMaskValue, MaskUndo, setElementValue } from '../base/index';

* Sets a value that enables or disables the persisting state of the MaskedTextBox after reloading the page.
* If enabled, the 'value' state will be persisted.
* @default false

@@ -53,0 +54,0 @@ */

@@ -69,2 +69,3 @@ import { Component, EmitType, INotifyPropertyChanged, BaseEventArgs } from '@syncfusion/ej2-base';

* Sets a value that enables or disables the persisting state of the MaskedTextBox after reloading the page.
* If enabled, the 'value' state will be persisted.
* @default false

@@ -71,0 +72,0 @@ */

@@ -39,3 +39,3 @@ import{NumericTextBox} from "./numerictextbox";

/**
* Sets a value that enables or disables the persisting state of the NumericTextBox after reloading the page.
* Enable or disable persisting NumericTextBox state between page reloads. If enabled, the `value` state will be persisted.
*/

@@ -57,5 +57,5 @@ enablePersistence(value:boolean): BuilderProperties;

Possible values are:
* Never - Never floats the label in the NumericTextBox when the placeholder is available.
* Always - The floating label always floats above the NumericTextBox.
* Auto - The floating label floats above the NumericTextBox after focusing it or when enters the value in it.
* `Never` - Never floats the label in the NumericTextBox when the placeholder is available.
* `Always` - The floating label always floats above the NumericTextBox.
* `Auto` - The floating label floats above the NumericTextBox after focusing it or when enters the value in it.
*/

@@ -62,0 +62,0 @@ floatLabelType(value:FloatLabelType): BuilderProperties;

@@ -82,3 +82,3 @@ 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';

/**
* Sets a value that enables or disables the persisting state of the NumericTextBox after reloading the page.
* Enable or disable persisting NumericTextBox state between page reloads. If enabled, the `value` state will be persisted.
* @default false

@@ -146,5 +146,5 @@ */

* Possible values are:
* * Never - Never floats the label in the NumericTextBox when the placeholder is available.
* * Always - The floating label always floats above the NumericTextBox.
* * Auto - The floating label floats above the NumericTextBox after focusing it or when enters the value in it.
* * `Never` - Never floats the label in the NumericTextBox when the placeholder is available.
* * `Always` - The floating label always floats above the NumericTextBox.
* * `Auto` - The floating label floats above the NumericTextBox after focusing it or when enters the value in it.
* @default Never

@@ -151,0 +151,0 @@ */

@@ -100,3 +100,3 @@ import { Component, EmitType } from '@syncfusion/ej2-base';

/**
* Sets a value that enables or disables the persisting state of the NumericTextBox after reloading the page.
* Enable or disable persisting NumericTextBox state between page reloads. If enabled, the `value` state will be persisted.
* @default false

@@ -158,5 +158,5 @@ */

* Possible values are:
* * Never - Never floats the label in the NumericTextBox when the placeholder is available.
* * Always - The floating label always floats above the NumericTextBox.
* * Auto - The floating label floats above the NumericTextBox after focusing it or when enters the value in it.
* * `Never` - Never floats the label in the NumericTextBox when the placeholder is available.
* * `Always` - The floating label always floats above the NumericTextBox.
* * `Auto` - The floating label floats above the NumericTextBox after focusing it or when enters the value in it.
* @default Never

@@ -163,0 +163,0 @@ */

@@ -661,2 +661,14 @@ var __extends = (this && this.__extends) || (function () {

this.l10n.setLocale(this.locale);
if (!ej2_base_4.isNullOrUndefined(this.spinDown)) {
ej2_base_3.attributes(this.spinDown, {
'title': this.l10n.getConstant('decrementTitle'),
'aria-label': this.l10n.getConstant('decrementTitle')
});
}
if (!ej2_base_4.isNullOrUndefined(this.spinUp)) {
ej2_base_3.attributes(this.spinUp, {
'title': this.l10n.getConstant('incrementTitle'),
'aria-label': this.l10n.getConstant('incrementTitle')
});
}
this.updatePlaceholder();

@@ -663,0 +675,0 @@ input_1.Input.setPlaceholder(this.placeholder, this.element);

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

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