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

@progress/kendo-angular-inputs

Package Overview
Dependencies
Maintainers
1
Versions
1180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.0.2 to 1.0.3

4

dist/es/numerictextbox/numerictextbox.component.d.ts

@@ -27,4 +27,5 @@ import { ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer } from '@angular/core';

* Specifies the number format used when the component is not focused.
* If `null` or `undefined` is set the default format will be used.
*/
format: string | NumberFormatOptions;
format: string | NumberFormatOptions | null | undefined;
/**

@@ -103,2 +104,3 @@ * Specifies the greatest value that is valid.

private numericRegex;
private _format;
readonly widgetClasses: boolean;

@@ -105,0 +107,0 @@ constructor(intl: IntlService, renderer: Renderer, localizationService: LocalizationService, rtl: boolean);

@@ -32,6 +32,2 @@ import { Component, EventEmitter, HostBinding, Inject, Input, Optional, Output, Renderer, ViewChild, forwardRef, isDevMode } from '@angular/core';

/**
* Specifies the number format used when the component is not focused.
*/
this.format = "n2";
/**
* Specifies the number of decimals that the user can enter when the input is focused.

@@ -91,2 +87,3 @@ */

this.maxValidateFn = noop;
this._format = "n2";
//TODO: disable tslint and move those to the constructor level

@@ -97,2 +94,17 @@ this.ngChange = function (_) { };

}
Object.defineProperty(NumericTextBoxComponent.prototype, "format", {
/**
* Specifies the number format used when the component is not focused.
* If `null` or `undefined` is set the default format will be used.
*/
get: function () {
var format = this._format;
return format !== null && format !== undefined ? format : 'n2';
},
set: function (value) {
this._format = value;
},
enumerable: true,
configurable: true
});
Object.defineProperty(NumericTextBoxComponent.prototype, "widgetClasses", {

@@ -99,0 +111,0 @@ get: function () {

@@ -27,4 +27,5 @@ import { ElementRef, EventEmitter, OnChanges, OnDestroy, Renderer } from '@angular/core';

* Specifies the number format used when the component is not focused.
* If `null` or `undefined` is set the default format will be used.
*/
format: string | NumberFormatOptions;
format: string | NumberFormatOptions | null | undefined;
/**

@@ -103,2 +104,3 @@ * Specifies the greatest value that is valid.

private numericRegex;
private _format;
readonly widgetClasses: boolean;

@@ -105,0 +107,0 @@ constructor(intl: IntlService, renderer: Renderer, localizationService: LocalizationService, rtl: boolean);

@@ -34,6 +34,2 @@ "use strict";

/**
* Specifies the number format used when the component is not focused.
*/
this.format = "n2";
/**
* Specifies the number of decimals that the user can enter when the input is focused.

@@ -93,2 +89,3 @@ */

this.maxValidateFn = utils_1.noop;
this._format = "n2";
//TODO: disable tslint and move those to the constructor level

@@ -99,2 +96,17 @@ this.ngChange = function (_) { };

}
Object.defineProperty(NumericTextBoxComponent.prototype, "format", {
/**
* Specifies the number format used when the component is not focused.
* If `null` or `undefined` is set the default format will be used.
*/
get: function () {
var format = this._format;
return format !== null && format !== undefined ? format : 'n2';
},
set: function (value) {
this._format = value;
},
enumerable: true,
configurable: true
});
Object.defineProperty(NumericTextBoxComponent.prototype, "widgetClasses", {

@@ -101,0 +113,0 @@ get: function () {

{
"name": "@progress/kendo-angular-inputs",
"description": "Inputs Package for Angular",
"version": "1.0.2",
"version": "1.0.3",
"publishConfig": {

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

Sorry, the diff of this file is too big to display

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