wacomm 1.70.0 → 1.71.0

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.
@@ -1,7 +1,7 @@
1
- import { SetDateTime } from './util';
1
+ import { SetDateTimeType } from 'waujs';
2
2
  interface DatePickerProps {
3
3
  value: string;
4
- setValue: SetDateTime;
4
+ setValue: SetDateTimeType;
5
5
  disabled?: boolean;
6
6
  }
7
7
  declare function DatePicker({ value, setValue, disabled }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
- import { default as dayjs } from 'dayjs';
1
+ import { DateTime } from 'waujs';
2
2
  interface DateRangeProps {
3
- startDate: dayjs.Dayjs;
4
- endDate: dayjs.Dayjs;
3
+ startDate: DateTime;
4
+ endDate: DateTime;
5
5
  className?: string;
6
6
  }
7
7
  declare function DateRange({ startDate, endDate, className }: DateRangeProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
- import { DateTime, SetDateTime } from './util';
1
+ import { DateTime, SetDateTimeType } from 'waujs';
2
2
  interface DateTimePickerProps {
3
3
  value: DateTime;
4
- setValue: SetDateTime;
4
+ setValue: SetDateTimeType;
5
5
  disabled?: boolean;
6
6
  }
7
7
  declare function DateTimePicker({ value, setValue, disabled }: DateTimePickerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
- import { DateTime, SetDateTime } from './util';
1
+ import { DateTime, SetDateTimeType } from 'waujs';
2
2
  interface MonthPickerProps {
3
3
  value: DateTime;
4
- setValue: SetDateTime;
4
+ setValue: SetDateTimeType;
5
5
  disabled?: boolean;
6
6
  }
7
7
  declare function MonthPicker({ value, setValue, disabled }: MonthPickerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,6 +1,6 @@
1
- import { Dayjs } from 'dayjs';
2
- export declare const formatDate: (date: Dayjs) => string;
3
- export declare const formatTime: (date: Dayjs) => string;
4
- export declare const formatDateTime: (date: Dayjs) => string;
5
- export declare const isSameDate: (d1: Dayjs, d2: Dayjs) => boolean;
6
- export declare const formatDateTimeRange: (d1: Dayjs, d2: Dayjs) => string;
1
+ import { DateTime } from 'waujs';
2
+ export declare const formatDate: (date: DateTime) => string;
3
+ export declare const formatTime: (date: DateTime) => string;
4
+ export declare const formatDateTime: (date: DateTime) => string;
5
+ export declare const isSameDate: (d1: DateTime, d2: DateTime) => boolean;
6
+ export declare const formatDateTimeRange: (d1: DateTime, d2: DateTime) => string;