* feat(module: table): allow access to filter operator and condition
* feat(module: table): allow access to filter operator and condition
* feat(module:table): allow remove the first filter
* Update Column.razor
* feat(module:table): modify closing button position
* feat(module:table): match new style
* feat(module:table): add header column divider
* fix(module:table): apply filter when close the filter panel by clicking the filter icon
* Update Column.razor
* style(module:table): trim Column.razor
* Update Column.razor
* Update Column.razor
* Update Column.razor
* Update Column.razor
* fix(module:overlaytrigger): fix overlay not close after overlay size changes
* unify muiltiple filter popup containers to one
* feat(module:datepicker): add OnClearClick eventcallback
* docs(module:datepicker): format docs has same behavior as react docs
* fix: adjust code to match net 3.1
* fix: eventcallback name fix
* Update site/AntDesign.Docs/Demos/Components/DatePicker/doc/index.zh-CN.md
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: drawer): OffsetX and offsetY do not work (#1435)
* docs: demo update
* fix: Placement is switched to the relative direction, the animation appears
* fix: the bug of closing animation missed
* fix: incorrect animation
* fix: different behaviors in WASM and Server side
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* merge
* feat(tag): add custom colors and enum presets
* Update package.json
fix: remove vscode rubbish
* feat: add global PresetColor, and new PresetColor param
* feat: add preset color to Badge
* feat: tag style calcuated on setter
* fix: user style is appended to stringbuilder
* empty commit
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
* fix(module:input): fix Input component for Guid type
* docs(module:input): add Guid generic sample code
* fix(module:input): add a comment to explain the change
* feat(module:table): add built-in filter for not composable enum types, support null value for List filter type
* feat(module:table): throw an exception for composable enum types when use built-in filter
* Revert "feat(module:table): throw an exception for composable enum types when use built-in filter"
This reverts commit 0e04ed91f58e23b93a441ac2aa00a794ae1a9b46.
* feat(module:table): add support for null value localization
* docs(module: table): update for enum build-in filter
* feat(module:table): add built-in filter for composable enum types
* docs(module: table): update for enum built-in filter
* feat(module: table): add enum built-in filter
* feat: add static constructor to EnumHelper
Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>
* fix(module:select): fix dropdown width for IE
* fix(module:select): add a comment to explain the change
* revert 'merge local branch'
* revert 'merge local branch'
* revert 'merge local branch'
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module:datepicker): validate manually entered date against format
* fix(module:datepicker): keep frozen the panel until valid date entered
* fix(module:datepicker): switch to current culture format
* fix(module:datepicker): build fix
* fix(module:datepicker): use InvariantCulture when calling ToString on date
* fix(module:datepicker): FormatAnalyzer handles also year, week, month & quarter picker
* fix(module:datepicker): FormatAnalyzer broken tests
* fix: FormatAnalyzer handles prefixes in format.
Suffix is handled for picker type = "year"
Tests include validation of not changing state
* fix: all modes go through format analyzing (inluding week&quarter)
* fix(module:datepickerbase): InternalFormat initalized properly for all modes
* fix(module:rangepicker): reset opposing date when in conflict with current
* fix(module:rangePicker): handle null in second part of range
* fix(module:datepicker): switch from BindConverter to partials
* tests(module:datepicker): FormatAnalyzer new tests to cover switch from BindConverter
* tests(module:datepicker): missed change in tests
* fix: focus, key events, reset value to original if not confirmed
* fix: bug fix on range & clean-up
* Update DatePicker.razor
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat: use ResizeObserver Api instead of window.resize
* fix(module:select): fall back to window.resize in IE11.
* fix(module:domEventService): switch from IsIE11 to IsResizeObserverSupported
* fix: Console.WriteLine removed
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module:overlayTrigger): TrigerRefernece points to OverlayTrigger.Ref.
* fix(module:overlay): Show waits for competing code to finish
* Update OverlayTrigger.razor.cs
* clean code
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module:table): column header sorter not refresh after ClearSorter is called
* add judgment condition for calling StateHasChanged in IFieldColumn.ClearSorter()
* set focus when the password button is clicked
* add methods for selection
* set selectionStart after Focus
* fix typescript
* set selectionEnd as well
* fix a stupid if-condition-bug
* remove checks for element
* add selectionStart to getDomInfo
* get selectionStart from Element
* delete unneeded js method
Co-authored-by: mihails.kuzmins <mihails.kuzmins@daytongroup.lv>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: table): Unify FieldName value
* fix(module: table): Get column name from DisplayAttribute
* fix(module: table): Filter for DataIndex
* docs(module: table): Intuitive sorterCompare for Filter demo
* fix(module: table): fix header title doesn't display when Sortable is false
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: affix): affix to the viewport (#1327)
* fix target to element
* rename to target selector
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* fix(module:result): modify status unsuccessfully after initialization(#1328)
* fix(module:result): determine whether the Icon is empty string(#1328)
* doc: add changeTheResult demo(#1328)
* delete some lines
* feat(module:select): allow overlay to match item width
* fix(module:select): resize selectbox on window resize
* docs(module:select): add new parameters
* fix(module:select): add DropdownMatchSelectWidth & DropdownMaxWidth
* fix(module:select): apply same layout as antD
apply same behavior as antD for backspace
split code to default/multiple&tags
always focus on input for search-able
handle overflow & ellipsis for to long items
rendering optimization for SelectContent
* fix(module:select): backspace functionality limit
* fix(module: dropdown): default PlacementType is incorrect in RTL mode
* fix(module: datepicker): not correct in RTL mode
* fix(module: datepicker): styles is incorrect when switch to LTR from RTL
Co-authored-by: James Yeung <shunjiey@hotmail.com>
feat(module:table): add support for Display attribute
Display attribute is widely used to specify display text for entity properties.
Table component should get column names from Display attribute instances.
Closes#1278
* refactor: support to use the same template for confirm and modal
* refactor: support to use the same template for drawer
* refactor: separate interface IOkCancelRef
* chore: modify EventUtil class summary
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* chore: add GitHub Actions for auto preview (#1205)
* chore: add github actions for auto preview
* fix setup job
* chore: add GitHub Actions for auto preview (#1205)
* fix(module:table): guard against false entries in _dataSourceCache
* fix(module:table): perf - double to single render on datasource change
* fix(module:table): perf optimization to avoid multiple renders
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* chore: add GitHub Actions for auto preview (#1205)
* chore: add github actions for auto preview
* fix setup job
* chore: add GitHub Actions for auto preview (#1205)
* fix(module:select): add loading for multiple mode
* fix(module:select): selected items duplication for multiple mode when values changed outside the component
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: datepicker): DatePicker DisabledDate works incorect
* test(module: dateHelperTests): modify test case
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat: Form lable supports left alignment
* Update and rename components/grid/Col.razor.cs to 组件/格网/Col.razor.cs
* Delete Col.razor.cs
* no message
* PR:1292
* typo LabelAlign
* add the property in Col instead FormItem
* clean code
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* chore: add GitHub Actions for auto preview (#1205)
* chore: add github actions for auto preview
* fix setup job
* chore: add GitHub Actions for auto preview (#1205)
* fix(module:rate): prevent reset to default value
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* (fix) Table ExpandableRow not working with ActionColumn #1284
* Add Tree Button Expand on Action Columm.
Check the position of Selection Column when calculate the position for expand button on tree mode and expand mode.
* feat(module: InputNumber): Add long click and keyboard event
1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key
* feat(module: InputNumber): Add long click and keyboard event
1. When hold mouse down button will always trigger the increase or decrease
2. Add event listener to "ArrowUp" and "ArrowDown" key
* fix null reference exception
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* add description to chart documentation
* translate general configuration to english.
* apply trailling color and adjust documentation a bit
* remove typo
* apply trail color for circle type aswell
* fix Chinese demo doc
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* fix: add class name prefix for zoom and slide-up animations.
* fix(module: popconfirm): fix animation
* fix(module: popover): correct animation, sync de
* Add TestDomEventService to TestBase
* chore(tests): update to net5
* feat(testdomeventservice): override eventdomservice to null
* fix(AddEventListener): make AddEventListener virtual
* feat(test): add basic overlay test
* fix(name): make name .cs
* chore: add GitHub Actions for auto preview (#1205)
* chore: add github actions for auto preview
* fix setup job
* chore: add GitHub Actions for auto preview (#1205)
* fix(module:select): reset value when changed to non-existing
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module:select) _setLabel not needed for non-tags
fix for exception when label is a property with getter only
* fix(module:select): bind-Value lock if changed outside component
* fix(module:Select): overlay reposition SelectContent resize
* fix(module: modal): sync animation class name with official
* fix(module: message): sync animation class name with official
* fix(module: notification): sync animation class name with official
* fix(module:TextArea): sizing bug for components outside viewport
* fix(module:textarea): single js method to get textarea info
* fix(module:textArea): clean up unnecessary slice
* fix(module:textarea): autosize has proper effect
* chore: adjusting the release cycle and versioning
* fix(module:textarea): resize on type fix
* fix white line
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* refactor(module: select): use Func to get or set value instead of reflection
* refactor(module: select): add delegate cache
* chore: add DelegateCacheKeyComparer
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat: add table filter
* add filter buttons
* fix filter menu
* make filter work
* support multiple filters
* delete the old files
* support single select