@types/cleave.js
Advanced tools
Comparing version 1.4.4 to 1.4.5
import { CreditCardTypeChangeHandler } from "./creditCard"; | ||
export interface CleaveOptions { | ||
creditCard?: boolean; | ||
creditCardStrictMode?: boolean; | ||
creditCardType?: string; | ||
onCreditCardTypeChanged?: CreditCardTypeChangeHandler; | ||
creditCard?: boolean | undefined; | ||
creditCardStrictMode?: boolean | undefined; | ||
creditCardType?: string | undefined; | ||
onCreditCardTypeChanged?: CreditCardTypeChangeHandler | undefined; | ||
} | ||
@@ -12,4 +12,4 @@ | ||
export interface CleaveOptions { | ||
phone?: boolean; | ||
phoneRegionCode?: string; | ||
phone?: boolean | undefined; | ||
phoneRegionCode?: string | undefined; | ||
} | ||
@@ -19,6 +19,6 @@ | ||
export interface CleaveOptions { | ||
date?: boolean; | ||
dateMin?: string; | ||
dateMax?: string; | ||
datePattern?: ReadonlyArray<string>; | ||
date?: boolean | undefined; | ||
dateMin?: string | undefined; | ||
dateMax?: string | undefined; | ||
datePattern?: ReadonlyArray<string> | undefined; | ||
} | ||
@@ -28,5 +28,5 @@ | ||
export interface CleaveOptions { | ||
time?: boolean; | ||
timePattern?: ReadonlyArray<string>; | ||
timeFormat?: string; | ||
time?: boolean | undefined; | ||
timePattern?: ReadonlyArray<string> | undefined; | ||
timeFormat?: string | undefined; | ||
} | ||
@@ -38,9 +38,9 @@ | ||
export interface CleaveOptions { | ||
numeral?: boolean; | ||
numeralDecimalMark?: string; | ||
numeralDecimalScale?: number; | ||
numeralIntegerScale?: number; | ||
numeralPositiveOnly?: boolean; | ||
numeralThousandsGroupStyle?: NumeralThousandsGroupStyleType; | ||
stripLeadingZeroes?: boolean; | ||
numeral?: boolean | undefined; | ||
numeralDecimalMark?: string | undefined; | ||
numeralDecimalScale?: number | undefined; | ||
numeralIntegerScale?: number | undefined; | ||
numeralPositiveOnly?: boolean | undefined; | ||
numeralThousandsGroupStyle?: NumeralThousandsGroupStyleType | undefined; | ||
stripLeadingZeroes?: boolean | undefined; | ||
} | ||
@@ -50,15 +50,15 @@ | ||
export interface CleaveOptions { | ||
blocks?: ReadonlyArray<number>; | ||
copyDelimiter?: boolean; | ||
delimiter?: string; | ||
delimiters?: ReadonlyArray<string>; | ||
delimiterLazyShow?: boolean; | ||
blocks?: ReadonlyArray<number> | undefined; | ||
copyDelimiter?: boolean | undefined; | ||
delimiter?: string | undefined; | ||
delimiters?: ReadonlyArray<string> | undefined; | ||
delimiterLazyShow?: boolean | undefined; | ||
initValue?: any; | ||
lowercase?: boolean; | ||
numericOnly?: boolean; | ||
prefix?: string; | ||
noImmediatePrefix?: boolean; | ||
rawValueTrimPrefix?: boolean; | ||
uppercase?: boolean; | ||
lowercase?: boolean | undefined; | ||
numericOnly?: boolean | undefined; | ||
prefix?: string | undefined; | ||
noImmediatePrefix?: boolean | undefined; | ||
rawValueTrimPrefix?: boolean | undefined; | ||
uppercase?: boolean | undefined; | ||
onValueChanged?(event: any): void; | ||
} |
{ | ||
"name": "@types/cleave.js", | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"description": "TypeScript definitions for cleave.js", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cleave.js", | ||
"license": "MIT", | ||
@@ -34,4 +35,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "923cf81cf8632be31099217d86cdf7a4e73a74fa1be99b833e3226ac74a06292", | ||
"typeScriptVersion": "3.3" | ||
"typesPublisherContentHash": "07961f34100060f703a8e387661851918a85f5ccab312b7b25a010767d46d757", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -13,6 +13,6 @@ import * as React from "react"; | ||
export interface Props extends React.InputHTMLAttributes<HTMLInputElement> { | ||
onInit?: InitHandler; | ||
onInit?: InitHandler | undefined; | ||
options: CleaveOptions; | ||
htmlRef?: (i: any) => void; | ||
onChange?: ChangeEventHandler<HTMLInputElement>; | ||
htmlRef?: ((i: any) => void) | undefined; | ||
onChange?: ChangeEventHandler<HTMLInputElement> | undefined; | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 23 Nov 2020 21:40:13 GMT | ||
* Last updated: Tue, 06 Jul 2021 18:05:52 GMT | ||
* Dependencies: [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
6744
0