* 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
* fix(module:datepicker):date typing, enter behavior, overlay toggle, key navigation
* fix(module:datetime): picker value set to previous on key actions
* fix(module:select): new tag item label and value fix
* fix: interop firefox "Permission Denied" fix
* fix(module:select): prefixIcon styling and positioning
* feat: Add a pull-down effect to Cascader (integrated Overlay components)
* switch trigger to unbound div
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* fix(module:datepicker): incorrect date format strings fix
culture set takes effect
fallback to default local when locale json does not exist
* fix(module:datepicker): do not replace Locale if is set in attribute
* Update Step.razor.cs
I believe that we should be invoking a State Change here. Currently the navigation is not working otherwise.
* Update Step.razor.cs
Resolved error from Disposal
* fix(module:overlay): remove obsolete js call
check for Ref.Id before any js operation on it
* fix(module:table): js interop exceptions on dispose
* docs(module:slider): typo fix
* docs(module:spider): typ
* fix(module:form): form.reset() will make new editContext
fixes 947
* fix(module:form): validation is reset when model changes
fixes 851
fixes 982
fixes 991
* feat(module:form): validation reset method
* Added Static class IconType for intellisense
* Added: Static Class Generator
* move the generator file to cli
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* 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>
* 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>
* Issue#915,and fix the issue that can not render correctly when change carousel DotPosition
* Resolve exception exception of server side when refresh the browser.
* Fix Fade style.
* refactor(module: modal): refactor the code of Modal, Confirm and Dialog
refactor details:
- Add DialogWrapper compontent to control the logic of dialog removal from DOM
- Add the appropriate folders for Dialog, Modal, and Confirm
- Remove methods with the same logic but different names in ConfirmService
- Split Title into Title (string) and Titletemplate (renderfragment)
- Add comments to code
- Rename ConfirmDialog to Confirm
- Specification of method name in ConfirmService
- Adjust the time of throttle function for draggabe modal
- Extract the common part of ModalOptions, ConfirmOptions and DialogOptions as DialogOptionsBase
* refactor: move DefaultCloseIcon etc. static members to DialogOptionsBase
* docs(module: modal): update docs
* fix: dialog incorrect waiting
* fix: pickup missing pr/7
* Expose SubMenu's Placement
The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.
* Try fix#922
I'm not sure if it will bring new problems, but it solved my problem. I hope someone can help me review it to make sure it doesn't break other things.
* Just optimize code style
* fix(module:slider): drag lag and reposition fix
remove unnecessary check from OnMouseMove
change position calculation - remove handle size
* fix(module:slider): text select issue while slider drag fix
* fix: remove the style
* clean value
* fix(module:slider): text select while slider drag fix
Co-authored-by: ElderJames <shunjiey@hotmail.com>
* Implement optional key debouncing
* Fixes & refactor
* Force update value on blur
* Only change value on blur if debounce is disabled
* fix: default to enable debounce and change value on blur directly
Co-authored-by: Luke Parker <10430890+TheRealHona@users.noreply.github.com>
Co-authored-by: ElderJames <shunjiey@hotmail.com>