* fix(module: date-picker): year would out of range
* prevent out of range
* add two methods
* fix(module: datepicker): out of range error
* fix: decadePanel is still out of range
Co-authored-by: 钟迪龙 <musicvs@163.com>
* fix(module:DatePicker): input OnClick has new event handler
* fix(module:DateTime): remove misleading reliance on picker index
* fix(module: DatePicker & RangePicker): DefaultValue type change
DefaultValue type change to align with Value type
* fix(module:rangepicker): add default values helper with tests
* fix(module:datepicker): ChangePickerValue action declaration fix
Picker value is served based on input index (start/end)
* fix(module:DatePicker): optimization
ViewStartDate, MaxRow & MaxCol do not cause refresh if not changed
* fix(module:DatePicker): min date fix
ArgumentOutOfRangeException fix for dates before DateTime.MinValue
* fix(module:RangePicker): sorted values
Values get ordered on set
* fix(module:DatePicker): OneOf switch to TValue
* fix(module:DatePicker): code optimization and PickerValue fix
PickerValue fix gets first panel value and evaluates second panel value
* fix(module:DatePicker): default values evaluation
* fix(module:RangePicker): default picker value fix
* docs(module:DatePicker): switch to TValue for DefaultValue
* fix(module:RangePicker): other value picker fix
* fix(module:RangePicker): on value init include DefaultValue
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* start trying to add a different first day of the week based on localization.
* add first day of week parameter and get weekday local from .net
* fix some issues
* extend demo
* remove no longed needed Locale parameter
* fix range for selection
* add german localization
* add entry for API section
* remove obsolet things from the react ant documentation
* add description to chart documentation
* translate general configuration to english.
* code cleanup
* use LocalProvider to get first day of week.
* use localeprovider instead of date picker localization
* remove no longer used parameter
* delete no longer used interface
* change from enum to string due to parsing issue.
* add missing formats and use culture info from localprovider
* correct locales
* us Sunday as a default
* remove no longer used culture info parameter
* adjust locales
* add parameter for Locale instead of directly accessing it.
* add inheritance to access locale
* typo
* readd culture info parameter
* fixes for locale jsons
* adjust demo and api
* small adjustments on docs, set monday in chinese as first day of the week.
* use locale in calendar as well.
* adjust docs
* use enum
* adjust demo
* adjust for different starting date.
* add defaults for DatePickerLocale
* add short week days to locale files
* use days from locale file
* code cleanup
use consts instead of magic numbers, add code comment and use dayOfWeek As param instead of the whole locale object. Remove no longed used method.
* not sure about the chinese translation so I remove them
* Revert "not sure about the chinese translation so I remove them"
This reverts commit 54017513c7b684494cf06184b4051a4dcfc43850.
* fix: hide footer from range time picker so no duplicate footer
* fix: invoke onopenchange for datepicker when panel state changes
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix: rangepicker parameter error
* refactor: use EventCallback instead of Action
* refactor: use EventCallback instead of Action
* fix: rename the class name
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* feat: add locale
* feat: add locale interfaces
* fix: add locale interfaces for components
* fix: use local classes instead of interfaces
* feat: implement the locale provider
* feat: make some components to support localization
* fix: default language
* fix: test
* chore: remove the useless reference
* feat(module: range-picker): support form
* fix(module: range-picker): has no default value in from
* fix: picker's close behaviour and range arrow's style is wrong
* feat(module: datepicker): change placeholder on mouse over
* style(module: datepicker): adjust range arrow
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: datepicker): support nullable type
* fix(module: cascader): displaytext did not change when bind-value change
* fix(module: form): can not change layout
* docs(module: form): add 'new model' test button
Co-authored-by: James Yeung <shunjiey@hotmail.com>