Commit Graph

272 Commits

Author SHA1 Message Date
tangjinzhou
dd0b0b2eb9 feat: date-picker support vshow, close #5132 2022-01-07 18:50:30 +08:00
tangjinzhou
3c0979c5e4 doc: add form demo 2021-12-28 21:46:35 +08:00
tangjinzhou
ed3740048a feat: form add noStyle 2021-12-28 21:41:07 +08:00
zkwolf
0bc1e0a620
fix(form-item): should not validate when not have name (#5081) 2021-12-27 09:41:43 +08:00
tangjinzhou
47f1bb050b test: update snap 2021-12-24 16:57:29 +08:00
tangjinzhou
7aae6f675c
doc: form add demo (#5070)
* doc: add form demo

* fix: form dynamic error

* doc: add form demo

* revert: formitem auto validate #4955

* fix: input not update when set undefined

* doc: add form demo

* fix: form validate for number tyope, close #5064

* fix: form validateMessages not work

* doc: add form demo
2021-12-23 22:00:14 +08:00
tangjinzhou
72f82771f1 feat: export formInstance type 2021-12-21 16:13:53 +08:00
tangjinzhou
5cc1bd715d refactor: input-number 2021-12-20 14:52:29 +08:00
tangjinzhou
246e1163bb refactor: input-number 2021-12-20 14:52:29 +08:00
tangjinzhou
ebd52af454 refactor: form input css 2021-12-18 17:00:55 +08:00
tangjinzhou
2c2c070663 perf: ts type, close #5044 2021-12-16 17:20:18 +08:00
tangjinzhou
296a2e549a refactor: input 2021-12-15 22:27:07 +08:00
tangjinzhou
6c28a8e40c fix: formItem error explain style #5004
close #5004
2021-12-10 15:52:13 +08:00
tangjinzhou
0a404e88b7 fix: formItem name type #4998
close #4998
2021-12-08 14:56:57 +08:00
tangjinzhou
5265440f76 feat: formate validateFields values #4964 2021-12-03 22:36:59 +08:00
tangjinzhou
79ae8006a8 fix: form change value not trigger validate #4955
close $4955
2021-11-30 22:23:44 +08:00
tangjinzhou
65fc82e105 fix: remove window 2021-11-29 17:53:09 +08:00
Candy
7df7d788f8
fix: useForm ruleRef undefined warning #4881 (#4882), close #4881
Co-authored-by: candychuang <candychuang@tencent.com>
2021-11-27 16:47:26 +08:00
tangjinzhou
61bf98e641 fix: useForm trigger watchEffect, close #4932 2021-11-27 15:17:22 +08:00
tangjinzhou
215a4d5752 doc: update form typos, close #4850 2021-11-05 09:41:56 +08:00
tangjinzhou
a5779f2d18 feat: add form onValidate, close #4817 2021-10-29 10:22:35 +08:00
tangjinzhou
7d67e0e7f2 fix: sueForm support dynamic rule, close #4799 2021-10-25 15:00:41 +08:00
tangjinzhou
f0f71787c7 doc: uddate table 2021-10-18 15:30:09 +08:00
tangjinzhou
ba560a37fe style: remove not use mixins 2021-09-25 18:17:41 +08:00
tangjinzhou
3aeeeb2aed
3.0 ready (#4523)
* refactor: transfer、tooltip (#4306)

* refactor(transfer): use composition api (#4135)

* refactor(transfer): use composition api

* fix: remove console

* refactor(tooltip): use composition api (#4059)

* refactor(tooltip): use composition api

* chore: useConfigInject

* fix: remove useless

* style: format code

* refactor: transfer

* refactor: tooltip

Co-authored-by: ajuner <106791576@qq.com>

* Refactor mentions (#4341)

* refactor(mentions): use compositionAPI (#4313)

* refactor: mentions

* refactor: mentions

Co-authored-by: ajuner <106791576@qq.com>

* Refactor progress (#4358)

* fix: timepicker error border not show #4331

* fix(UploadDragger): fix UploadDrager no export (#4334)

* refactor(switch): support customize checked value #4329 (#4332)

* refactor(switch): support customize checked value #4329

* test: add test case

* refactor: update props name

* refactor: update ts

* refactor: optimize

* style: uncheckedValue to unCheckedValue

* test: update snap

* feat: udpate switch ts

* docs: remove ie11

* fix: tree-select throw error when use slot title

* fix: TypeScript definition of Table interface for typescript 4.3.5 (#4353)

* fix type for typescript 4.3.5

* Update interface.ts

close #4296

* fix: dropdown submenu style error #4351
close #4351

* fix(notification): 完善notification类型 (#4346)

* refactor(progress): use composition API (#4355)

* refactor(progress): use composition API

* refactor(vc-progress): update

* refactor: progress

* refactor: progress

* fix: timepicker error border not show #4331

* fix(UploadDragger): fix UploadDrager no export (#4334)

* refactor(switch): support customize checked value #4329 (#4332)

* refactor(switch): support customize checked value #4329

* test: add test case

* refactor: update props name

* refactor: update ts

* refactor: optimize

* style: uncheckedValue to unCheckedValue

* test: update snap

* feat: udpate switch ts

* docs: remove ie11

* fix: tree-select throw error when use slot title

* fix: TypeScript definition of Table interface for typescript 4.3.5 (#4353)

* fix type for typescript 4.3.5

* Update interface.ts

close #4296

* fix: dropdown submenu style error #4351
close #4351

* fix(notification): 完善notification类型 (#4346)

* refactor(progress): use composition API (#4355)

* refactor(progress): use composition API

* refactor(vc-progress): update

* refactor: progress

* refactor: progress

Co-authored-by: Jarvis <35361626+fanhaoyuan@users.noreply.github.com>
Co-authored-by: John <John60676@qq.com>
Co-authored-by: 艾斯特洛 <axetroy.dev@gmail.com>
Co-authored-by: zanllp <qc@zanllp.cn>

* docs: add changelog

* refactor: tree

* refactor: tree

* style: lint

* refactor: tree

* 热factor: tree

* refactor: tree

* refactor: tree

* refactor: tree

* refactor: directory tree

* refactor: tree

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* style: lint format

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* refactor: tree-select

* fix: upload ts error

* fix: update tree title render & switchIcon

* test: update tree test

* feat: add VirtualScroll tree

* refactor: datePicker & calendar & trigger (#4522)

* style: update

* test: update calendar test

* test: update test

* test: update test

* refactor: slider

* feat: update slider css

* refactor: slider to ts

* refactor: slider to ts

* perf: update default itemHeight

* test: update

* fix: uddate ts type

* fix: update skeleton

* fix: update skeleton

* refactor: update vc-pagination

* refactor: pagination

* refactor: timeline

* refactor: steps

* refactor: collapse

* refactor: collapse

* refactor: popconfirm

* refactor: popover

* refactor: dropdown

* doc: merge doc

* chore: vite for dev (#4602)

* style: js to jsx

* doc: add site

* style: lint

* style: format ts type

* doc: update

* style: format code

* style: format site

* doc: update

* style: dmeo

* style: format scripts

* chore: remove sub-modules

* chore: update vite

* site: add site build

* test: update snap

* doc(select): add tip (#4606)

* refactor: table (#4641)

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* refactor: table

* fix: column not pass to cell

* doc: uppate table

* fix: update bodyCell headerCell

* doc: remove examples

* refactor: table

* fix: table title not work

* fix: table selection

* fix: table checkStrictly

* refactor: table

* fix: table template error

* feat: table support summary

* test: update snap

* perf: table

* docs(table): fix ajax demo (#4639)

* test: update table

* refactor: remove old table

* doc: update  table doc

* doc: update doc

* doc: update select

* doc: update summary

Co-authored-by: John <John60676@qq.com>

* doc: update doc

* fix: menu arrow not work

* test: update

* doc: add next site

* style: format

* doc: update

* doc: update site script

* fix: expand icon not fixed

* feat: use renderSlot

* test: update table snap

* feat: confirm support reactively

* feat: configProvider.config

* feat: message support configprovider.config

* feat: notification support configprovider.config

* doc: update doc

* fix: typescript compile error

* style: add import eslint

* doc: update demo

* chore: set transpileOnly true

* style: fix eslint error

* test: update snap

* doc: update

* test: mock date

* test: update snap

* chore: remove gulp-typescript (#4675)

* feat: V3 form (#4678)

* chore: update husky

* perf: update formItem

* perf: useInjectFormItemContext

* fix: table ts error

* doc: add Customized Form Controls demo

* feat: export useInjectFormItemContext

* doc: update form doc

* doc: update doc

* doc: update doc

* feat: autocomplete support option slot

* doc: update

* feat: add form item rest

* style: remove omit.js

* refactor: autocomplete

* doc: add changelog to site

* doc: update site anchor

* doc: update doc layout

* test: update table test

* doc: update

* chore: udpate gulp script

* chore: udpate gulp script

* doc: add changelog

* doc: update

* test: ignore some test wait vue-test-utils

* fix: form id error #4582
close #4582

* doc: add select Responsive demo

* doc: remove temp doc

Co-authored-by: ajuner <106791576@qq.com>
Co-authored-by: Jarvis <35361626+fanhaoyuan@users.noreply.github.com>
Co-authored-by: John <John60676@qq.com>
Co-authored-by: 艾斯特洛 <axetroy.dev@gmail.com>
Co-authored-by: zanllp <qc@zanllp.cn>
Co-authored-by: Amour1688 <lcz_1996@foxmail.com>
2021-09-25 16:51:32 +08:00
叡山电车
27b258c29b
fix(useForm): immdiate validate doesn't work (#4646) 2021-09-15 15:14:46 +08:00
叡山电车
752642afaf
fix(form): non-null predict for rulesRef (#4643) 2021-09-11 21:01:11 +08:00
tangjinzhou
c6c004ce8d fix: useForm support dynamic add rule #4498
close #4498 #4557
2021-08-24 15:22:43 +08:00
tangjinzhou
40f746e3e2 style: add warning form validateField #4536
close #4536
2021-08-18 20:57:51 +08:00
tangjinzhou
6ce295d490 fix: remove form warning in some case #4531 2021-08-18 20:26:07 +08:00
tangjinzhou
386f3d003f perf: update menu 2021-08-01 23:31:28 +08:00
tangjinzhou
5bdd6f4007 fix: filter invalid form items #4435 2021-07-31 22:41:36 +08:00
tangjinzhou
b5ab14df8d fix: formitem error when use native tag #4383
close #4383
2021-07-17 21:19:10 +08:00
tangjinzhou
2dc5bbbf43 fix: useForm type error #4372
close #4372
2021-07-15 21:20:00 +08:00
tangjinzhou
39c866eb02 feat: useForm ts type 2021-07-12 10:00:10 +08:00
tangjinzhou
cdbe8eea6b feat: add useForm 2021-06-28 16:01:47 +08:00
tangjinzhou
5f8d8a555b fix: form validateFirst not reject #4273 2021-06-28 11:21:23 +08:00
tangjinzhou
4a0fce5a0a release 2.2.0-beta.6 2021-06-26 14:27:26 +08:00
ajuner
d028cce23f
chore: use type import (#4260) 2021-06-26 09:35:40 +08:00
tangjinzhou
33c7230ee2 style: update prettier & format code 2021-06-23 23:10:07 +08:00
tangjinzhou
fdecafbbb3 feat: support vite-plugin-components 2021-06-23 21:47:53 +08:00
tangjinzhou
116c8e4cef test: update snap 2021-06-20 22:53:42 +08:00
tangjinzhou
0dcdd92ba2 release 2.2.0-beta.3 2021-06-11 22:07:59 +08:00
tanjinzhou
791ae38bf8 fix: form-item expose some method #4183 2021-06-09 11:33:08 +08:00
tanjinzhou
617e534fda fix: form-item class not work 2021-06-09 10:31:56 +08:00
tangjinzhou
b65a8672a4 fix: form class style not work 2021-06-07 22:54:58 +08:00
tangjinzhou
9e0df41a55
refactor: Anchor、Alert、Avatar、Badge、BackTop、Col、Form、Layout、Menu、Space、Spin、Switch、Row、Result、Rate (#4171)
* chore: remove  resize-observer-polyfill

* refactor: align

* refactor(v3/avatar): refactor using composition api  (#4052)

* refactor(avatar): refactor using composition api

* refactor: update props define

* fix: avatar src scale not update

* refactor: resizeObserver

* refactor: divider

* refactor: localeProvider

* refactor(v3/back-top): use composition api (#4060)

* refactor: backtop

* refactor: empty

* refactor: transButton

* feat(v3/avatar): add avatar group (#4062)

* feat(avatar): add avatar group

* refactor: update

* refactor: update

Co-authored-by: tangjinzhou <415800467@qq.com>

* refactor: avatar

* refactor: avatar

* style: rename useProvide

* refactor:  menu (#4110)

* fix: menu

* refactor: menu

* refactor: remove rc-menu

* fix: menu rtl error

* style: lint

* refactor(Anchor): use composition api (#4054)

* refactor: anchor

* refactor: anchor

* refactor: anchor

* feat: update

* fix: icon class lose

* refactor(v3/badge): use composition api (#4076)

* refactor: badge

* fix: badge inheritAttrs

* refactor: grid

* refactor: layout

* fix: menu not close

* refactor: space

* refactor: result

* refactor: affix

* refactor: comment

* refactor: form

* feat: spin add rtl

* feat: export spin type

* refactor: pageHeader

* refactor: page-header

* refactor: skeleton

* refactor: typography

* refactor(v3/rate): use composition api

* fix: add useRef hook

* refactor: form

* fix: menu not update

* refactor: form

* refactor: form

* fix: slide animate not work

* fix: menu mode error

* fix: menu icon

* refactor: rate

* perf: remove rate

* feat: add vc-overflow

* refactor: menu

* fix: remove flex check (#4165)

* fix: dist locale file lose #3684

* release 2.2.0-beta.1

* dcos: update changelog

* chore: update type

* docs: update changelog

Co-authored-by: John <John60676@qq.com>
Co-authored-by: 言肆 <18x@loacg.com>
Co-authored-by: zkwolf <chenhao5866@gmail.com>
2021-06-07 17:35:03 +08:00
tangjinzhou
a1e180da8c fix: inline-form span layout not work #3862 2021-04-17 08:42:18 +08:00
John
d8628ce66a
feat(form): scrollToFirstError supports passing in options (#3918) 2021-04-10 22:11:11 +08:00
John
c1102df3f0
refactor: update select style (#3781) 2021-03-12 14:16:58 +08:00
zkwolf
20cd96e400
fix: improve form type definition #3638 (#3669) 2021-02-07 18:32:29 +08:00
tanjinzhou
cdac96b0bc fix: add form onSubmit prop 2021-02-04 17:41:35 +08:00
zkwolf
4e4b9d6cca
chore: improve form warning (#3641) 2021-02-04 10:48:43 +08:00
John
5e92d9a7f2
fix: form-item wrong line break (#3538)
* fix: form-item wrong line break

fix #3319

* style: add commit
2021-01-14 15:41:24 +08:00
tangjinzhou
adc6afb8fd
chore: support less4 (#3449) 2020-12-27 14:50:32 +08:00
ajuner
f3063e00c0
fix: update components type (#3165) 2020-11-14 13:56:39 +08:00
ajuner
4ab7a681a7
fix: declare components type (#3145)
* fix: update alert code

* chore: declare link type

* chore: declare auto-complete type

* chore: declare Badge type

* chore: declare Breadcrumb type

* chore: declare Calendar type

* chore: declare Card type

* chore: declare Checkbox type

* chore: declare Descriptions type

* chore: declare Dropdown

* chore: declare Form type

* chore: declare Mentions type

* chore: declare Menu type

* chore: declare popconfirm type

* chore: update Radio typescript

* chore: declare Rate type

* chore: declare Transfer type

* fix: update Transfer type

* fix: update type

* fix: update type
2020-11-13 10:51:12 +08:00
Jason
e29ad47995
fix(form): form rules type error (#3150) 2020-11-12 15:21:16 +08:00
就是喜欢陈粒
343e3aa2e4
fix: add warning when validating form for non-string type (#3128)
Co-authored-by: 成仕伟 <chengsw@heywhale.com>
2020-11-07 22:54:01 +08:00
tangjinzhou
19d5e7a14a fix: lint error 2020-11-07 22:43:31 +08:00
tangjinzhou
a13dd20f58 style: format file 2020-11-07 15:37:17 +08:00
tangjinzhou
26779d6367 fix: input style issue #3089 2020-11-02 22:37:24 +08:00
undefined
9380621850 fix: layout vertical not work #3075 2020-11-01 18:06:40 +08:00
Amour1688
7651862729
fix: app.use type error (#3079) 2020-11-01 15:03:33 +08:00
undefined
ddd50fe153 fix: input style error #3073 2020-11-01 11:23:58 +08:00
undefined
5696b19081 chore: fix css error #3069 2020-10-31 14:09:09 +08:00
tanjinzhou
016c711cf1 fix: file path error 2020-10-28 17:09:25 +08:00
tanjinzhou
789647c604 test: update test & ts 2020-10-28 15:31:45 +08:00
tangjinzhou
1e1a1bd8a8 Merge remote-tracking branch 'origin/feat-vue3' into next 2020-10-27 23:47:20 +08:00
tangjinzhou
e165b1eced feat: update some less 2020-10-27 23:02:45 +08:00
tangjinzhou
40893681c5 test: update grid snap 2020-10-24 21:36:05 +08:00
tangjinzhou
86a90468ba perf: update transition 2020-10-22 22:45:21 +08:00
tanjinzhou
d2d613980a chore: update build config 2020-10-19 16:43:10 +08:00
tangjinzhou
8f581de762 refactor: input-number 2020-10-15 22:38:48 +08:00
tanjinzhou
2fdfa2b662 refactor: button date-picker drawer dropdown form by ts 2020-10-15 17:58:05 +08:00
tanjinzhou
ac863a6a11 fix: use support chain operate 2020-10-13 19:14:56 +08:00
tanjinzhou
712f2b1599 refactor: auto-complete by ts 2020-10-12 18:46:05 +08:00
tanjinzhou
61ef8e6883 chore: PropTypes.bool to PropTypes.looseBool 2020-10-10 18:16:28 +08:00
undefined
c0bbbfaa4a chore: udpate ts 2020-10-02 21:16:05 +08:00
Amour1688
28111e7f34 chore: rename ConfigConsumerProps to defaultConfigProvider 2020-09-30 10:47:18 +08:00
John60676
ca2c77e4bd
refactor(input): update input style (#2876)
* refactor(input): update input style

* refactor(form): update form style about input component

* refactor(input): update clearable icon style
Modify the clearable icon style to prevent the width of the input box from changing due to the insertion of the icon
2020-09-29 22:11:06 +08:00
tangjinzhou
f99200c966 test: update snap 2020-09-19 23:36:48 +08:00
Carter Li
fb52b36067
chore: use lodash-es to support vite (#2777)
To fix error: `Uncaught (in promise) SyntaxError: The requested module
'/@modules/lodash/isPlainObject.js' does not provide an export named
'default'`
2020-09-02 22:44:16 +08:00
tanjinzhou
1f6accba22 test: update snap 2020-08-31 17:16:16 +08:00
tanjinzhou
06b7e33cc0 chore: remove classnames 2020-08-31 16:53:19 +08:00
tanjinzhou
6fa4f9cd23 bump 2.0.0-beta.3 2020-08-25 14:17:00 +08:00
tanjinzhou
8907a9990c fix: form trigger 2020-08-14 18:11:30 +08:00
tanjinzhou
050867348e test: update test 2020-08-14 17:04:45 +08:00
tanjinzhou
0eb257b321 test: update snap 2020-08-14 15:25:17 +08:00
tanjinzhou
36ee580f72 fix: form trigger twice validate 2020-08-05 15:44:52 +08:00
tanjinzhou
6f2fc69e1e feat: change formmodel to form 2020-07-28 17:10:06 +08:00
tangjinzhou
72da2b8997 perf: remove not use module base 2020-07-25 22:00:10 +08:00
tangjinzhou
ed2a8d6cef test: update some not support props 2020-07-25 15:46:49 +08:00
undefined
6cad9c3cc0 feat: udpate formmodel 2020-07-06 22:31:07 +08:00
tanjinzhou
585bb7495b chore: update destory to unmount 2020-06-11 16:13:09 +08:00
tangjinzhou
5acc7671a3 test: update snap 2020-05-26 23:38:15 +08:00
tanjinzhou
6069a254db Merge remote-tracking branch 'origin/master' into 2.0
# Conflicts:
#	antdv-demo
#	components/auto-complete/__tests__/__snapshots__/demo.test.js.snap
#	components/avatar/__tests__/__snapshots__/demo.test.js.snap
#	components/button/__tests__/__snapshots__/demo.test.js.snap
#	components/collapse/__tests__/__snapshots__/demo.test.js.snap
#	components/date-picker/__tests__/__snapshots__/demo.test.js.snap
#	components/form/__tests__/__snapshots__/demo.test.js.snap
#	components/input/__tests__/__snapshots__/demo.test.js.snap
#	components/locale-provider/__tests__/__snapshots__/index.test.js.snap
#	components/select/__tests__/__snapshots__/demo.test.js.snap
#	components/tag/__tests__/__snapshots__/demo.test.js.snap
#	components/vc-dialog/Dialog.jsx
2020-05-26 17:49:55 +08:00
tangjinzhou
741897be67 feat: custom component support tooltip 2020-05-14 22:30:46 +08:00
tangjinzhou
e0bf26182b test: update snap 2020-04-09 22:40:06 +08:00
tangjinzhou
6925c92212 test: update snapshot 2020-04-05 14:19:12 +08:00