Andrzej Bakun
de69cc5dd5
fix(module: select): value no longer reset on datasource set ( #1906 )
...
* fix(module:select): value no longer reset on datasource set
* fix(module:select): dataSource change detection
* fix: improve datasource detection
add item & set value in SelectOption
* tests: scenario from issue #1207
* fix: DataSourceEqualityComparer default
2021-09-05 18:13:38 +08:00
Andrzej Bakun
1ac305a41e
fix(module: select): MaxTagCount behaves properly for non-responsive scenarios ( #1776 )
...
* fix(module:select) MaxTagCount behaves property for non-responsive scenarios
docs: added XML comments
fixed order in English docs
redid Chinese docs (missing translations)
test: add scenario for MaxTagCount when non-responsive
* merge with changes coming from feature branch
* docs: example of MaxTagCount change
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-07-28 14:40:37 +00:00
James Yeung
64f8061a0b
Merge feature into master ( #1775 )
...
* refactor: replace PropertyAccessHelper to PathHelper (#1386 )
* feat(module: core): add member path helper
* refactor(module: table): replace PropertyAccessHelper to PathHelper
* docs: replace path-based-property-access to member-path-helper
* refactor(module: select): replace SelectItemPropertyHelper to PathHelper
* feat(module: table): add pagination template (#1409 )
* feat(module: table): add Hidden for columns (#1410 )
* feat(module: form): expose EditContext (#1464 )
* feat(module:form): allow access to validation messages
* feat(module:form): expose EditContext as readonly property
* feat(module: table): add built-in filter for enum types, support null value for List filter type (#1439 )
* 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: form): expose LabelStyle property (#1503 )
* feat:(module: form): edit context dynamic change (#1504 )
* tests: project up to standards
* fix(module:form): allow EditContext change
* feat(module: notification): add NotificationRef support (#1498 )
* feat: add NotificationRef support
* docs: update docs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: tag): Add custom colors and Enum of Preset Colors (#1514 )
* 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>
* chore: sync ant-design v4.16.0 (#1569 )
* feat(i18n): Add French short week days (#1521 )
* feat(module: form): support set validation rules on FormItem (#1516 )
* feat(module: form): support set validation rules on FormItem(not complete yet)
* refactor(module: form): optimized code
* feat(module: form): support Whitespace rule
* feat(module: form): support [message、pattern、transform、validator、whitespace] rules
* feat(module: form): support type rule
* feat(module: form): support [defaultField、oneOf、fields、type] rules
* feat(module: form): support custome validate messages(without test)
* test(module: form): complete RuleValidate_ValidateMessages test
* feat(module: form): complete DynamicRule demo, refactor code, fix bugs
* feat(module: form): support ValidateMessages param
* doc(module: form): add "Rules" and "ValidateMessages" docs
* fix: Rule.Max's errorMessage is wrong
* refactor: rename Rule to FormValidationRule
* test: rename Rule to FormValidationRule
* chore: refactor code and rename classes
* Update ValidateMode.razor
* Update FormValidateErrorMessages.cs
* Update FormValidateHelper.cs
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: table): filter enhancement (#1563 )
* 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
* refactor(module: table): optimize render fragments (#1597 )
* refactor(module: table): restore Table.Filters to IEnumerable<TableFilter<TData>> type (#1608 )
* feat(module: select): support simple data source (#1541 )
* feat(module: select): support simple data source
* remove judgement for type of item and value
* Update Select.razor.cs
* fix(module: table): add RemoteDataSource (#1558 )
* feat(module:table): add PaginationMode parameter
* fix(module:table): fix pagination
* docs(module:table): add doc for PaginationMode attribute
* add a demo file
* docs(module:table): add demo for pagination mode
* feat(module:table): add RemoteDataSource property
* delete the demo for PaginationMode
* Update Table.razor.cs
* add `ajax` demo
* Update ajax.md
* Update Ajax.razor
* fix demo
* clear demo
* fotmat demo
* delete StateHasChanged
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* add Visible back to Tag.razor.cs
* Update SearchLoading.razor and idnex.en-US.md
* Update index.zh-CN.md
* feat(module: DatePicker): support disable one of range-picker inputs (#1648 )
* feat(module: rangepicker): support disable one of inputs
* doc: update doc
* feat(module: dropdown): each button customization (#1659 )
* feat(module:dropdownbutton): each button customization
* fix: Tag tests
* feat(module: tabs): add OnClose event and TabTemplate (#1698 )
* feat(module: tab): add onclose event and tabtemplate
* add tests
* feat(module: tabs): add reuse tabs routeview (#1704 )
* fix(module: tabs): Exception caused by cascade assignment to TabTemplate (#1708 )
* feat(module: tree): support check all from code (#1722 )
Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>
* refactor(module: tree): add draggable, fix default value binding (#1517 )
* delete demo docs
* fix tree default value and dnd
* fix tree line and keys
* fix switcher icon and line
* fix line demo
* fix switcher
* add DirectoryTree demo
* fix draggable demo
* clean code
* clean code
* clean up the classmapper call
* update docs
* fix the docs
* fix comment
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* fix(module: dialog): click dialog cause the mask click event triggered (#1727 )
* docs: update recommend (#1755 )
* docs: update recommend
* fix test
* refactor(module: table): remove the breaking change for pagination mode (#1754 )
* docs: fix encoding error (#1760 )
* fixed. Fix network error when requesting contributor list in local development environment
* fixed. Fix Chinese garbled code
* Update Dynamic.razor
Co-authored-by: Gmij <chenb@teleware.cn>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: upload): support drag (#1765 )
* feat(module: upload): support drag
* fix button text
* add tests
* delete useless field
* feat(module: select): add EnumSelect for select componet with enum (#1759 )
* feat(module: select): add EnumSelect for select componet with enum
* refactor: extract EnumLabelValue to the core directory
* feat: add enum select demo
* refactor: extracts the GetLabelValueList method to EnumHelper
* refactor: refactor EnumSelect with simple data source
* feat: add enum DisplayName support
* fix: modify the reflection of the enum get attribute with field
* add test
Co-authored-by: wangjun <wangjun@chemical.ai>
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: button): add colors (#1774 )
* add color property for button
* separate the color
* fix tests
* fix typo
Co-authored-by: James Yeung <shunjiey@hotmail.com>
* feat(module: table): add guid built-in filter (#1756 )
Co-authored-by: James Yeung <shunjiey@hotmail.com>
Co-authored-by: Zonciu Liang <zonciu@zonciu.com>
Co-authored-by: ldsenow <ldsenow@gmail.com>
Co-authored-by: Andrzej Bakun <andrzej@neelyc.com.cy>
Co-authored-by: anranruye <54608128+anranruye@users.noreply.github.com>
Co-authored-by: 令远 孔 <lingyuan.kong@outlook.com>
Co-authored-by: zxyao <zxyao145@gmail.com>
Co-authored-by: MihailsKuzmins <47413092+MihailsKuzmins@users.noreply.github.com>
Co-authored-by: mihails.kuzmins <mihails.kuzmins@daytongroup.lv>
Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: Maksim <maksalmak@gmail.com>
Co-authored-by: Ivan Ocoka <ocokanet@gmail.com>
Co-authored-by: Ocoka <somewhere@network>
Co-authored-by: Patrick <42546986+MutatePat@users.noreply.github.com>
Co-authored-by: Patryk Grzelak <pgrzelak@mutate.app>
Co-authored-by: Romain J <dust63@hotmail.fr>
Co-authored-by: anranruye <hehewewe@hotmail.com>
Co-authored-by: Magehernan <magehernan@gmail.com>
Co-authored-by: black-snake <black-snake@users.noreply.github.com>
Co-authored-by: Gregory Loones <40325447+gregloones@users.noreply.github.com>
Co-authored-by: Razvan Predescu <rzvdaniel@gmail.com>
Co-authored-by: lukblazewicz <39852149+lukblazewicz@users.noreply.github.com>
Co-authored-by: Łukasz Błażewicz <lukasz.blazewicz@homebook.pl>
Co-authored-by: 琢磨先生 <308360781@qq.com>
Co-authored-by: gmij <gmij@qq.com>
Co-authored-by: Gmij <chenb@teleware.cn>
Co-authored-by: 王俊 <wang_j90@hotmail.com>
Co-authored-by: wangjun <wangjun@chemical.ai>
Co-authored-by: boukenka <mbogais@free.fr>
2021-07-26 20:54:59 +08:00
Andrzej Bakun
361054ee15
fix(module: select): duplicated tags ( #1766 )
2021-07-23 22:48:14 +08:00
zxyao
8dda4147c4
docs: update modal and drawer docs ( #1625 )
...
* docs: update modal docs
* docs: modify DropdownInDrawer
* docs: update demo for DrawerService and ModalService
2021-06-13 23:04:19 +08:00
James Yeung
bfb5e4f396
merge 0.8.1 to feature
2021-05-16 19:58:03 +08:00
Andrzej Bakun
b22f9495f4
feat: use ResizeObserver Api instead of window.resize ( #1392 )
...
* 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>
2021-04-27 06:03:39 +00:00
Zonciu Liang
d0e40fbdfd
refactor: replace PropertyAccessHelper to PathHelper ( #1386 )
...
* feat(module: core): add member path helper
* refactor(module: table): replace PropertyAccessHelper to PathHelper
* docs: replace path-based-property-access to member-path-helper
* refactor(module: select): replace SelectItemPropertyHelper to PathHelpe
2021-04-24 13:07:27 +08:00
James Yeung
d4cbc6d4e0
feat: add element component ( #1378 )
...
* refactor: rename `HtmlElement` property case
* rename the directory name for overlay
* add element component
2021-04-17 22:14:01 +08:00
Andrzej Bakun
242084e774
fix: multiple bugs originating from js ( #1342 )
...
* fix: multiple bugs originating from js
* fix(module:input): remove preventScroll from Focus method
fix: keep focus on clear
* fix(module:input): debug info clean-up
* fix(module:select): wait for browser to finish render
* fix(module:select): wait for ElementReference.Id
* fix doc assets
* fix(module:select): increase wait time for ElementRefernece.Id
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-15 14:19:26 +08:00
Andrzej Bakun
d64388c0ab
feat(module: select): Select responsive max tag count ( #1338 )
...
* feat(module:select): add MaxTagTextLength, MaxTagCount & MaxTagPlaceHolder
* feat(module:select): responsive maxTagCount using window.resize
* docs(module:select): MaxTagCount functionality
* fix docs
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2021-04-13 13:12:18 +08:00
Andrzej Bakun
70e724d630
fix(module: select): Select overlay resize & allow growing ( #1309 )
...
* 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
2021-04-08 22:17:44 +08:00
Andrzej Bakun
b8bc754f80
fix(module: select): propagation on item remove ( #1308 )
2021-04-04 14:01:38 +08:00
Andrzej Bakun
251a6e18ad
fix(module: select): load icon for multiple mode & value reload on delay ( #1307 )
...
* 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>
2021-04-03 17:53:25 +00:00
Andrzej Bakun
be836a2f4e
fix(module: select): Compiled method .ToString() was throwing AmbigiousMethod ( #1214 )
2021-03-07 00:44:13 +08:00
Andrzej Bakun
a92a9e4ffc
fix(module: select): press enter on form cause validation to fail ( #1196 )
...
* fix(module:select): enter behavior on form
* fix(module:select): add DisableSubmitFormOnEnter attribute
* fix(module:select): remove proposed DisableSubmitFormOnEnte
2021-03-04 23:16:24 +08:00
Andrzej Bakun
7bab36dea7
fix(module: select): bind value change lock, tags and labels fix, overlay reposition ( #1191 )
...
* 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
2021-03-02 22:01:57 +08:00
Zonciu Liang
0f6702b5ed
refactor(module: select): use Func to get or set value instead of reflection ( #1168 )
...
* 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>
2021-02-27 16:13:13 +00:00
Andrzej Bakun
d98c851c70
fix(module: select): new tag item label and value fix ( #1121 )
...
* fix(module:select): new tag item label and value fix
* fix: interop firefox "Permission Denied" fix
* fix(module:select): prefixIcon styling and positioning
2021-02-14 17:42:44 +08:00
Andrzej Bakun
ea061850ec
fix(module: select): multiple fixes and optimizations ( #1087 )
...
* fix(module:select): multiple select & tags & tokenization fix
performance optimizations
add PrefixIcon
keep focus on selected item
* fix(module:select): on clear button make first active
* docs(module:select): reflect changes
2021-02-04 23:40:47 +08:00
Andrzej Bakun
152a574577
feat(module: overlay): OverlayTrigger not bound to a div ( #937 )
...
* feat(module:overlay): OverlayTrigger not bound to a div
* feat(module:overlay): OverlayTrigger not bound to a div
* feat(module:overlay): Logic transfer to single Overlay
* feat(module:overlay): remove obsolete duplication
* feat(module:Tooltip): Add for unbounded oncontextmenu event handler
* feat(module:tooltip): unbound js event listeners remove
* docs(module:tooltip): unbound explanation
* fix(module:button): attach Ref to top level html element @ref
* feat(module:dropdown&tooltip&popconfirm&popover): Overlay not bound to a div
* docs(module:dropdown&tooltip&popconfirm&popover): unbound explanation
* feat(module:OverlayTrigger): common logic relocation
* feat(module:overlaytrigger): Overlay not bound to a div
* feat(module:DatePicker): Overlay not bound to a div
* feat(module:select): Overlay not boud to div
* fix(module:select): onclickarrow event relocation
* fix(module:select): rename Show to OnArrowClick
* feat(module:avatar): Overlay not bound to a div
* docs(module:avatar): demo switch to unbound version
* feat(module:autocomplete): partial OverlayTrigger not bound to a div
* feat(module:slider): tooltip
* docs(module:slider): tooltip
* fix(module:overlay): add SetVisible method
* feat: set Ref where missing, performance
components register Ref when missing
IsFixed flag for CascadeValue changed
hard-code sequence numbers when using RenderTreeBuilder
Rate component use Tooltip Unbound version
Tabs test fix
* fix: revert changes (accidental)
* feat(module:upload): tooltip with unbound usage
* feat(module:table): column use of unbound tooltip
* feat(module:autocomplete):overlay unbound from div
* fix(module:upload): missing div restore
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-01-21 17:20:10 +08:00
Zonciu Liang
d62d23257b
fix(module: select): the behavior when Overlay is disabled. Remove clear icon when Select is disabled ( #847 )
...
* fix(module: core-overlay): 'disabled' class will be removed correctly
* fix(module: select): remove the clear icon if selector is disabled
2020-12-03 12:28:02 +08:00
James Yeung
09fcbc8e3d
feat(module: select): add a simple select with string type ( #836 )
2020-11-28 10:02:35 +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
ElDiddi
7b4d258656
fix(module: select): fixed multiple issues #674 #557 #695 #588 #698 ( #718 )
...
* fix-module-select-commit3
fix-module-select-commit3
* fix: demo translation
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-10-25 14:59:10 +08:00
笨木头
143b16335b
fix(module: select): incorrect dropdown style ( #629 )
2020-09-20 10:42:42 +08:00
笨木头
edba6e5d4f
fix(dropdown, select): work incorrectly in modal ( #621 )
...
* fix(module: select): broken removing of selected tag
* fix: [dropdown、select] work incorrectly in modal
2020-09-19 09:15:16 +08:00
笨木头
ef7f557a7f
fix(module: select): broken removing of selected tag ( #613 )
...
* fix(module: select): broken removing of selected tag
* refactor: remove comment
2020-09-17 14:14:48 +08:00
笨木头
6d0d8020a3
docs(select&auto-complete): add popupContainerSelector demos ( #607 )
...
* docs: add popupContainer
* docs(module: auto-complete): add popupContainer demo
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-17 10:37:47 +08:00
wusanwa
2a8c846eb8
fix(module: select): add PopupContainerSelector parameter ( #606 )
...
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-09-16 20:07:30 +08:00
笨木头
d2c5202c51
refactor(module: select): add overlay, fix some serious bugs ( #584 )
2020-09-09 22:12:12 +08:00