@bsol-oss/react-datatable5 13.0.1-beta.3 → 13.0.1-beta.5
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 +24 -18
- package/dist/index.js +661 -209
- package/dist/index.mjs +661 -209
- package/dist/types/components/DatePicker/DatePicker.d.ts +24 -0
- package/dist/types/components/DatePicker/DateTimePicker.d.ts +14 -1
- package/dist/types/components/DatePicker/index.d.ts +1 -1
- package/dist/types/components/Form/components/fields/FilePicker.d.ts +1 -1
- package/dist/types/components/Form/components/viewers/EnumViewer.d.ts +1 -1
- package/dist/types/components/Form/utils/useFormI18n.d.ts +2 -2
- package/dist/types/index.d.ts +0 -1
- package/package.json +1 -1
- package/dist/types/components/DatePicker/DatePickerInput.d.ts +0 -18
package/dist/index.d.ts
CHANGED
|
@@ -1041,6 +1041,9 @@ interface DatePickerProps {
|
|
|
1041
1041
|
weekdayNamesShort: string[];
|
|
1042
1042
|
backButtonLabel?: string;
|
|
1043
1043
|
forwardButtonLabel?: string;
|
|
1044
|
+
todayLabel?: string;
|
|
1045
|
+
yesterdayLabel?: string;
|
|
1046
|
+
tomorrowLabel?: string;
|
|
1044
1047
|
};
|
|
1045
1048
|
render?: (calendarData: CalendarRenderProps) => React__default.ReactNode;
|
|
1046
1049
|
}
|
|
@@ -1049,7 +1052,28 @@ interface DatePickerLabels {
|
|
|
1049
1052
|
weekdayNamesShort: string[];
|
|
1050
1053
|
backButtonLabel?: string;
|
|
1051
1054
|
forwardButtonLabel?: string;
|
|
1055
|
+
todayLabel?: string;
|
|
1056
|
+
yesterdayLabel?: string;
|
|
1057
|
+
tomorrowLabel?: string;
|
|
1052
1058
|
}
|
|
1059
|
+
interface DatePickerInputProps {
|
|
1060
|
+
value?: string | Date;
|
|
1061
|
+
onChange?: (date?: string) => void;
|
|
1062
|
+
placeholder?: string;
|
|
1063
|
+
dateFormat?: string;
|
|
1064
|
+
displayFormat?: string;
|
|
1065
|
+
labels?: DatePickerLabels;
|
|
1066
|
+
timezone?: string;
|
|
1067
|
+
minDate?: Date;
|
|
1068
|
+
maxDate?: Date;
|
|
1069
|
+
firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
1070
|
+
showOutsideDays?: boolean;
|
|
1071
|
+
monthsToDisplay?: number;
|
|
1072
|
+
insideDialog?: boolean;
|
|
1073
|
+
readOnly?: boolean;
|
|
1074
|
+
showHelperButtons?: boolean;
|
|
1075
|
+
}
|
|
1076
|
+
declare function DatePickerInput({ value, onChange, placeholder, dateFormat, displayFormat, labels, timezone, minDate, maxDate, firstDayOfWeek, showOutsideDays, monthsToDisplay, insideDialog, readOnly, showHelperButtons, }: DatePickerInputProps): react_jsx_runtime.JSX.Element;
|
|
1053
1077
|
|
|
1054
1078
|
interface GetMultiDatesProps {
|
|
1055
1079
|
selected: boolean;
|
|
@@ -1137,24 +1161,6 @@ interface RangeDatePickerProps {
|
|
|
1137
1161
|
render?: (calendarData: CalendarRenderProps) => React__default.ReactNode;
|
|
1138
1162
|
}
|
|
1139
1163
|
|
|
1140
|
-
interface DatePickerInputProps {
|
|
1141
|
-
value?: string | Date;
|
|
1142
|
-
onChange?: (date?: string) => void;
|
|
1143
|
-
placeholder?: string;
|
|
1144
|
-
dateFormat?: string;
|
|
1145
|
-
displayFormat?: string;
|
|
1146
|
-
labels?: DatePickerLabels;
|
|
1147
|
-
timezone?: string;
|
|
1148
|
-
minDate?: Date;
|
|
1149
|
-
maxDate?: Date;
|
|
1150
|
-
firstDayOfWeek?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
1151
|
-
showOutsideDays?: boolean;
|
|
1152
|
-
monthsToDisplay?: number;
|
|
1153
|
-
insideDialog?: boolean;
|
|
1154
|
-
readOnly?: boolean;
|
|
1155
|
-
}
|
|
1156
|
-
declare function DatePickerInput({ value, onChange, placeholder, dateFormat, displayFormat, labels, timezone, minDate, maxDate, firstDayOfWeek, showOutsideDays, monthsToDisplay, insideDialog, readOnly, }: DatePickerInputProps): react_jsx_runtime.JSX.Element;
|
|
1157
|
-
|
|
1158
1164
|
interface RecordDisplayProps {
|
|
1159
1165
|
object: object | null;
|
|
1160
1166
|
boxProps?: BoxProps;
|