1 |
|
2 |
|
3 |
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | const ns = "[Blueprint]";
|
17 | export const DATEPICKER_DEFAULT_VALUE_INVALID = ns + ` <DatePicker> defaultValue must be within minDate and maxDate bounds.`;
|
18 | export const DATEPICKER_INITIAL_MONTH_INVALID = ns + ` <DatePicker> initialMonth must be within minDate and maxDate bounds.`;
|
19 | export const DATEPICKER_MAX_DATE_INVALID = ns + ` <DatePicker> maxDate must be later than minDate.`;
|
20 | export const DATEPICKER_VALUE_INVALID = ns + ` <DatePicker> value prop must be within minDate and maxDate bounds.`;
|
21 | export const DATERANGEPICKER_DEFAULT_VALUE_INVALID = DATEPICKER_DEFAULT_VALUE_INVALID.replace("DatePicker", "DateRangePicker");
|
22 | export const DATERANGEPICKER_INITIAL_MONTH_INVALID = DATEPICKER_INITIAL_MONTH_INVALID.replace("DatePicker", "DateRangePicker");
|
23 | export const DATERANGEPICKER_MAX_DATE_INVALID = DATEPICKER_MAX_DATE_INVALID.replace("DatePicker", "DateRangePicker");
|
24 | export const DATERANGEPICKER_VALUE_INVALID = DATEPICKER_VALUE_INVALID.replace("DatePicker", "DateRangePicker");
|
25 | export const DATERANGEPICKER_PREFERRED_BOUNDARY_TO_MODIFY_INVALID = "<DateRangePicker> preferredBoundaryToModify must be a valid Boundary if defined.";
|
26 | export const DATERANGEINPUT_NULL_VALUE = ns +
|
27 | ` <DateRangeInput> value cannot be null. Pass undefined to clear the value and operate in` +
|
28 | " uncontrolled mode, or pass [null, null] to clear the value and continue operating in controlled mode.";
|
29 |
|
\ | No newline at end of file |