voiptime-components 1.12.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -857,6 +857,13 @@ export declare interface FieldValidation {
857
857
  $validate(): Promise<boolean>;
858
858
  }
859
859
 
860
+ export declare class FileValidator {
861
+ static validateSize(file: File, maxSize?: number): boolean;
862
+ static validateType(file: File, accept?: string): boolean;
863
+ static formatFileSize(bytes: number): string;
864
+ static generateId(): string;
865
+ }
866
+
860
867
  export declare const FORMAT_TOKENS: Record<string, FormatToken>;
861
868
 
862
869
  export declare const formatTime: (hour: number, minute: number, second?: number, format?: string, use12Hours?: boolean) => string;
package/dist/index.es.js CHANGED
@@ -8032,6 +8032,7 @@ export {
8032
8032
  C1 as DEFAULT_TIME_FORMATS,
8033
8033
  rt as DropdownContextKey,
8034
8034
  w4 as FORMAT_TOKENS,
8035
+ l1 as FileValidator,
8035
8036
  y5 as MONTH_NAMES,
8036
8037
  it as MONTH_NAMES_SHORT,
8037
8038
  Je as VButton,