Commit Graph

21 Commits

Author SHA1 Message Date
cqgis
080d4dda43 feat(module: table): add sort directions and default sort order (#778)
* feat: table  column sort add sortway support singleness or mutiple

* fix: error method name

* add sort directions

* delete useless property

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-01-24 13:52:57 +08:00
Andrzej Bakun
e24e417ae5 fix(module: calendar): critical exception for ChangePickerValue (#993) 2021-01-19 20:50:23 +08:00
James Yeung
56dfae7f62 chore: sync ant-design v4.10.0 (#943) 2021-01-09 09:07:02 +08:00
ElDiddi
41077bc2fb refactor(module: select): completely new (#800)
* select-rewritten

select-rewritten

* modul: select - update 1

* select-update2

* select-update3

* select-update 4

* feat: append label tag & auto tokenization

* fix: conflict in drpdown demo

Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-27 13:13:26 +08:00
Nino Padrutt
5809c80011 feat(module: date-picker): support localization (#803)
* 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.
2020-11-25 11:08:12 +08:00
笨木头
b5a18f5caa fix(module: calendar): method or operation is not implemented (#821) 2020-11-23 23:00:24 +08:00
James Yeung
9d6c31ccf4 chore: sync ant-design v4.8.3 (#789) 2020-11-16 10:20:32 +08:00
James Yeung
bd34858efd feat: support for globalization & localization (#578)
* 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
2020-09-07 22:46:50 +08:00
笨木头
e42aa8aeb7 feat(module: range-picker): support form (#496)
* 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>
2020-08-14 12:43:48 +08:00
笨木头
50cff77019 feat: improve range picker (#306)
* feat: improve range picker

* fix: error style when selecting two dates in the same month
2020-07-05 00:06:34 +08:00
TimChen
f537cee4b5 feat: radio supports generics (#246)
* feat: radio supports generics

* fix: code format

* feat: radio supports form

* fix: radio button style

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-29 23:19:25 +08:00
笨木头
ff24e3b143 feat(module: calendar): replace select component, support en-us (#231)
* feat(module: calendar): replace select component, support en-us

* fix(module: calendar): fix card demo style

* refactor(module: calendar): remove debug code
2020-06-17 15:37:32 +08:00
Bin Dong
d99f4f35a8 feat: add localization option to DatePicker (#206)
* feat: add localization option to DatePicker

* fix(module: datepicker): fix formatting issue

* fix: fix Week/Year panel miss matching
fix picker not update when setting CultureInfo
fix ShortWeekDays names and order

* fix: fix binding of CultureInfo in datetime demos
Add globalization demo

* fix: datetime string format

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-06-16 12:31:46 +08:00
笨木头
cf959decf9 feat: add calendar (#176)
* feat: refactor datePicker, add Calendar(basic)

* feat: add calendar and demos

* fix: timePicker format error

* fix: release comments

* refactor: replace @bind-Value with Value

* refactor: replace @bind-Value with Value

* fix: conflit
2020-06-03 10:24:16 +08:00
James Yeung
8a2fdd5e06 chore: sync ant-design v4.3.0 (#169) 2020-05-31 16:00:40 +08:00
James Yeung
f87e39aca0 chore: sync ant-design v4.2.0 (#89) 2020-04-30 10:55:54 +08:00
James Yeung
e4253622bd chore: sync ant-design v4.1.0 (#58) 2020-03-30 09:53:10 +08:00
James Yeung
7c92f8eb14 chore: sync ant-design v4.0.3 (#23) 2020-03-16 12:37:25 +08:00
James Yeung
84ca70e8b7 chore: sync ant-design v4.0.1 (#2)
fixed #1
2020-03-08 15:12:21 +08:00
ElderJames
47b2b86265 add gulp to complie less 2020-03-07 16:40:38 +08:00
ElderJames
7d15f20674 refactor: refactor the directory structure to match ant-design 2020-03-05 12:17:50 +08:00