Commit Graph

51 Commits

Author SHA1 Message Date
jeffersyuan1976
73168930c1
fix(module: upload): add ShowUploadList, showDownloadIcon, showRemoveIcon, showPreviewIcon (#3788)
* Fix ShowUploadList, showDownloadIcon, showRemoveIcon, showPreviewIcon

* Fix ShowUploadList, showDownloadIcon, showRemoveIcon, showPreviewIcon

* fix: split ShowUploadList Parameter type to ShowPreviewIcon, ShowDownloadIcon, ShowRemoveIcon

* fix: Modify test for Upload

* remove useless changes

---------

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2024-05-07 12:46:34 +08:00
James Yeung
14f710011f
fix(module: upload): style with no button (#3734) 2024-03-19 01:29:50 +08:00
Noah Potash
dade3d08e1
fix(module: upload): Use System.IO.Path.GetExtension instead of Substring to support filenames without extensions (#3553) (#3554)
Co-authored-by: Noah Potash <noah.potash@outbreaklabs.com>
2023-12-07 08:33:12 +08:00
James Yeung
ba60651b16
chore: sync ant-design v4.24.2 (#2877) 2022-11-24 23:11:02 +08:00
James Yeung
3ac7701da4 merge master to feature 2022-08-21 22:53:33 +08:00
Aigio L
5c8b0e4f40
fix(module: upload): add webp ext and custom image extension (#2626) 2022-08-19 19:05:17 +08:00
James Yeung
1659aef02d
chore: sync ant-design v4.20.7 (#2497)
* chore: sync ant-design v4.20.7

* fix style build

* clean the style

* fix dropdown overlay

* remove cdk styles

* fix dropdown overwrite styles

* fix doc styles
2022-06-04 00:44:34 +08:00
James Yeung
03b3dabcf5 feat(module: upload): support build-in inputfilie (#2443) 2022-05-29 19:34:51 +08:00
James Yeung
1e96f26091 fix(module: upload): wrong drag area (#2360)
* fix(module: upload): wrong drag area

* fix test
2022-03-25 16:06:21 +08:00
scugzbc
186381a366 fix(module: upload): match more image file suffixes (#2321) 2022-03-04 23:53:21 +08:00
oemil
a4a90d20b6 fix(module: upload): Fix center layout of upload (#2267)
* fix the layout of upload for drag'n'drop scenarios to center the icon and text across the whole element
* Rework test to reflect changes in upload component.

Closes #1969
2022-01-25 18:13:59 +08:00
berkerdong
61a653579f fix(module: upload): IsPicture bug (#2049)
* fix #1987 IsPicture bug

* Optimize image judgment method

* Optimize picture type Judgment method

* Optimize imagetypes comparison method
2021-10-27 12:11:19 +08:00
Noah Potash
9925cf288b feat(module: upload): add method parameter (#1853)
* add method parameter to upload component
* update documentation
* add test

Co-authored-by: Noah Potash <noah.potash@outbreaklabs.com>
2021-08-21 01:25:38 +08:00
James Yeung
11bfaef22e feat(module: upload): support drag (#1765)
* feat(module: upload): support drag

* fix button text

* add tests

* delete useless field
2021-07-24 21:29:31 +08:00
BeiYinZhiNian
fb4a80ab14 fix(module: upload): UploadFileItem Provide default configuration: ignore case (#1717) 2021-07-08 01:01:44 +08:00
anranruye
e4e1289529 fix(module: locale-provider): add missing nodes default values (#1710) 2021-07-06 01:10:16 +08:00
ElderJames
aaff88adf7 merge master into feature 2021-04-08 22:32:48 +08:00
Andrzej Bakun
f5216bed80 feat(module: upload): missing and new event (#1302)
* feat(module:upload): missing and new event

* docs(module:upload): new events (missing Chinese)

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-03 00:45:55 +08:00
Andrzej Bakun
19e0f61961 fix(module: upload): Upload list update fix (#1301)
* 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:upload): file list update

* fix(module:upload): typed args for file upload

* fix(module:upload): delete button remove from picture-card

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2021-04-02 16:23:00 +00:00
James Yeung
d2e9c4b247 feat(module: config-provider): support RTL (#1238)
* feat(module: config-provider): support RTL

* add rtl for each component

* fix rtl for pagination

* add rtl for overlay
2021-03-31 19:23:26 +08:00
Andrzej Bakun
87c8db905e fix(module: upload): Disable and delete button fix (#1219) 2021-03-08 19:37:19 +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
James Yeung
ddb09a9aa8 fix(module: upload): style of file list and picture card (#1001)
* fix(module: upload): file list style

* refactor upload button to fix ref conflict
2021-01-19 21:18:50 +08:00
James Yeung
56dfae7f62 chore: sync ant-design v4.10.0 (#943) 2021-01-09 09:07:02 +08:00
张鹏
47961f6c54 fix(module: upload): change to use responseCode not a "error" string when upload failed. (#905) 2020-12-20 13:42:20 +08:00
James Yeung
df99bad7e5 chore: sync ant-design v4.9.0 (#842) 2020-12-01 11:02:28 +08:00
James Yeung
428255086e chore: sync ant-design v4.7.3 (#719) 2020-10-25 23:07:27 +08:00
James Yeung
3fb5998d19 chore: sync ant-design v4.7.0 (#675) 2020-10-14 13:31:22 +08:00
zxyao
0c90ef19d7 fix: await with null propagation system null referenceexception (#663)
Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-10-09 11:32:32 +08:00
James Yeung
19bfe1bfff chore: sync ant-design v4.6.3 (#577) 2020-09-11 15:44:34 +08:00
James Yeung
360fe0d3c0 fix(hosting): server prerendering issue (#583)
* refactor: rename JSInterop constants

* docs: fix typo

* fix: server prerendering issue
2020-09-09 00:52:14 +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
James Yeung
716785b6b2 fix(module: upload): fileList can't be refreshed while it was changed (#561) 2020-09-02 15:15:59 +08:00
James Yeung
af781d51c6 fix(module: upload): files that aren't pictures can't be downloaded (#560) 2020-09-02 10:31:21 +08:00
Meeleem
8829a233be feat(module: upload): support picture card (#438)
* feat(module: upload): Picture card demo

* fix: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-31 00:46:46 +08:00
James Yeung
0fa6c5eea9 fix(module: upload): add OnRemove delegate (#434) 2020-07-29 11:26:20 +08:00
Meeleem
914f9eff1f fix(module: upload): Upload with other form parameters (#398) 2020-07-21 15:50:38 +08:00
Meeleem
32794af9a0 fix(module: upload): fix event listener (#395)
* fix(module: upload): fix event listener

* fix(module: upload): add dispose method

* Update components/upload/Upload.razor.cs

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-21 12:53:56 +08:00
Meeleem
93045f5162 feat(module: upload): add support for fileList, pictureStyle and avatar (#391)
* feat (module: upload): FileList, PictureStyle, Avatar

* fix: adding eventlistener

Co-authored-by: James Yeung <shunjiey@hotmail.com>
2020-07-21 00:16:02 +08:00
Meeleem
bd9d06b7be fix(module: upload) : upload crush in firefox (#296)
* fix (module: upload): firefox upload

* fix (module: upload): firefox upload

* fix(module: upload): button ref

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-02 14:08:51 +08:00
Meeleem
1c90ee0333 feat: add upload component (#276)
* fix: fix invalid parameter "StrokeWidth"

* feat(module: upload): Classic file upload
经典模式文件上传功能

* fix( module: upload): fix Ext attribute, delete 'done' file function

* docs(module: upload): Demo and doc

* fix (file: interop.ts):  Indent changed to 2 characters

* fix: menu

* fix: delete md files

* fix: docs

* feat (module: upload): DefaultFileList

* refactor: clean code

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-07-01 06:49:51 +08:00
James Yeung
ace89c9f4a chore: sync ant-design v4.3.1 (#174) 2020-06-02 19:17:27 +08:00
James Yeung
e13544c244 chore: sync ant-design v4.2.4 (#125) 2020-05-18 14:49:23 +08:00
James Yeung
f87e39aca0 chore: sync ant-design v4.2.0 (#89) 2020-04-30 10:55:54 +08:00
James Yeung
374929d16d chore: sync ant-design v4.1.5 (#84) 2020-04-26 10:41:53 +08:00
James Yeung
9c3eb1e8cd chore: sync ant-design v4.1.2 (#70) 2020-04-10 17:44:53 +08:00
James Yeung
e4253622bd chore: sync ant-design v4.1.0 (#58) 2020-03-30 09:53:10 +08:00
James Yeung
d347e2028e chore: sync ant-design v4.0.4 (#35) 2020-03-23 13:51:37 +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