@inntechcorp/it-design 2.0.110 → 2.0.112

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.
@@ -23,7 +23,7 @@ export type FormContextType = {
23
23
  isFormValid: () => boolean;
24
24
  isFieldsValid: (names: string[]) => boolean;
25
25
  isFieldValid: (name: string) => boolean;
26
- resetFields: (update: boolean, validation: boolean) => void;
26
+ resetFields: (update?: boolean, validation?: boolean) => void;
27
27
  removeFields: () => void;
28
28
  formId: string;
29
29
  updated: {};
@@ -0,0 +1,2 @@
1
+ import 'moment-timezone';
2
+ export default function FormatDate(date: Date, locale?: string, format?: string): string;
@@ -0,0 +1,2 @@
1
+ import 'moment-timezone';
2
+ export default function FormatDateTime(date: Date, locale?: string, format?: string): string;
@@ -0,0 +1,2 @@
1
+ import 'moment-timezone';
2
+ export default function FormatSimpleDate(date: Date, locale?: string, format?: string): string;
@@ -0,0 +1,2 @@
1
+ import 'moment-timezone';
2
+ export default function FormatSimpleDateTime(date: Date, locale?: string, format?: string): string;
@@ -0,0 +1,2 @@
1
+ import 'moment-timezone';
2
+ export default function FormatTime(time: moment.MomentInput, locale?: string, format?: string): string;
@@ -21,3 +21,8 @@ export { default as FormatBytes } from './binary/FormatBytes';
21
21
  export { default as GetTypeByFileType } from './binary/GetTypeByFileType';
22
22
  export { default as Wait } from './promise/Wait';
23
23
  export { default as SVGLoader } from './svg/SVGLoader';
24
+ export { default as FormatDate } from './datetime/FormatDate';
25
+ export { default as FormatDateTime } from './datetime/FormatDateTime';
26
+ export { default as FormatSimpleDate } from './datetime/FormatSimpleDate';
27
+ export { default as FormatSimpleDateTime } from './datetime/FormatSimpleDateTime';
28
+ export { default as FormatTime } from './datetime/FormatTime';