@maskito/kit
Advanced tools
Comparing version 3.0.3 to 3.1.0
{ | ||
"name": "@maskito/kit", | ||
"version": "3.0.3", | ||
"version": "3.1.0", | ||
"description": "The optional framework-agnostic Maskito's package with ready-to-use masks", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
"peerDependencies": { | ||
"@maskito/core": "^3.0.3" | ||
"@maskito/core": "^3.1.0" | ||
}, | ||
@@ -36,0 +36,0 @@ "module": "./index.esm.js", |
export * from './date-segment-max-values'; | ||
export * from './default-decimal-pseudo-separators'; | ||
export * from './default-min-max-dates'; | ||
export * from './default-time-segment-max-values'; | ||
export * from './default-time-segment-bounds'; | ||
export * from './meridiem'; | ||
export * from './time-fixed-characters'; | ||
@@ -6,0 +7,0 @@ export * from './time-segment-value-lengths'; |
import type { MaskitoPreprocessor } from '@maskito/core'; | ||
import type { MaskitoTimeMode } from '../../../types'; | ||
export declare function createValidDateTimePreprocessor({ dateModeTemplate, dateSegmentsSeparator, dateTimeSeparator, timeMode, }: { | ||
import type { MaskitoTimeMode, MaskitoTimeSegments } from '../../../types'; | ||
export declare function createValidDateTimePreprocessor({ dateModeTemplate, dateSegmentsSeparator, dateTimeSeparator, timeMode, timeSegmentMaxValues, }: { | ||
dateModeTemplate: string; | ||
@@ -8,3 +8,4 @@ dateSegmentsSeparator: string; | ||
timeMode: MaskitoTimeMode; | ||
timeSegmentMaxValues: MaskitoTimeSegments<number>; | ||
}): MaskitoPreprocessor; | ||
//# sourceMappingURL=valid-date-time-preprocessor.d.ts.map |
export { maskitoTimeOptionsGenerator } from './time-mask'; | ||
export type { MaskitoTimeParams } from './time-options'; | ||
export type { MaskitoTimeParams } from './time-params'; | ||
export { maskitoParseTime, maskitoStringifyTime } from './utils'; | ||
//# sourceMappingURL=index.d.ts.map |
import type { MaskitoOptions } from '@maskito/core'; | ||
import type { MaskitoTimeParams } from './time-options'; | ||
export declare function maskitoTimeOptionsGenerator({ mode, timeSegmentMaxValues, step, }: MaskitoTimeParams): Required<MaskitoOptions>; | ||
import type { MaskitoTimeParams } from './time-params'; | ||
export declare function maskitoTimeOptionsGenerator({ mode, timeSegmentMaxValues, timeSegmentMinValues, step, }: MaskitoTimeParams): Required<MaskitoOptions>; | ||
//# sourceMappingURL=time-mask.d.ts.map |
@@ -1,2 +0,2 @@ | ||
import type { MaskitoTimeParams } from '../time-options'; | ||
import type { MaskitoTimeParams } from '../time-params'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Converts a formatted time string to milliseconds based on the given `options.mode`. |
@@ -1,2 +0,2 @@ | ||
import type { MaskitoTimeParams } from '../time-options'; | ||
import type { MaskitoTimeParams } from '../time-params'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Converts milliseconds to a formatted time string based on the given `options.mode`. |
@@ -6,3 +6,4 @@ export { maskitoAddOnFocusPlugin } from './add-on-focus'; | ||
export { maskitoRemoveOnBlurPlugin } from './remove-on-blur'; | ||
export { createTimeSegmentsSteppingPlugin } from './time-segments-stepping'; | ||
export { createMeridiemSteppingPlugin } from './time/meridiem-stepping'; | ||
export { createTimeSegmentsSteppingPlugin } from './time/time-segments-stepping'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -5,2 +5,4 @@ export { createColonConvertPreprocessor } from './colon-convert-preprocessor'; | ||
export { createFullWidthToHalfWidthPreprocessor } from './fullwidth-to-halfwidth-preprocessor'; | ||
export { createInvalidTimeSegmentInsertionPreprocessor } from './invalid-time-segment-insertion-preprocessor'; | ||
export { createMeridiemPostprocessor, createMeridiemPreprocessor, } from './meridiem-processors'; | ||
export { createMinMaxDatePostprocessor } from './min-max-date-postprocessor'; | ||
@@ -7,0 +9,0 @@ export { normalizeDatePreprocessor } from './normalize-date-preprocessor'; |
@@ -1,2 +0,2 @@ | ||
export type MaskitoTimeMode = 'HH:MM:SS.MSS' | 'HH:MM:SS' | 'HH:MM' | 'HH' | 'MM:SS.MSS' | 'MM.SS.MSS' | 'SS.MSS'; | ||
export type MaskitoTimeMode = 'HH AA' | 'HH:MM AA' | 'HH:MM:SS AA' | 'HH:MM:SS.MSS AA' | 'HH:MM:SS.MSS' | 'HH:MM:SS' | 'HH:MM' | 'HH' | 'MM:SS.MSS' | 'MM.SS.MSS' | 'SS.MSS'; | ||
//# sourceMappingURL=time-mode.d.ts.map |
@@ -0,1 +1,3 @@ | ||
export * from './create-time-mask-expression'; | ||
export * from './enrich-time-segments-with-zeroes'; | ||
export * from './pad-end-time-segments'; | ||
@@ -5,3 +7,2 @@ export * from './pad-start-time-segments'; | ||
export * from './to-time-string'; | ||
export * from './validate-time-string'; | ||
//# sourceMappingURL=index.d.ts.map |
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
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
264532
238
4850