assui 3.2.39 → 3.2.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/a-select/index.d.ts +5 -5
- package/es/a-select/index.js +88 -59
- package/es/a-select/style/index.css +52 -47
- package/es/a-select/style/index.js +2 -2
- package/es/a-select/style/index.less +2 -1
- package/es/area-text/index.d.ts +2 -2
- package/es/area-text/index.js +9 -5
- package/es/area-text/style/index.js +1 -1
- package/es/beautiful-dnd/index.js +1 -1
- package/es/button-drawer/index.d.ts +10 -8
- package/es/button-drawer/index.js +94 -61
- package/es/button-drawer/style/index.js +1 -1
- package/es/button-modal/index.d.ts +10 -8
- package/es/button-modal/index.js +93 -60
- package/es/button-modal/style/index.js +1 -1
- package/es/client-only/index.d.ts +2 -2
- package/es/client-only/index.js +1 -1
- package/es/client-only/useClientOnly.js +24 -22
- package/es/color-select/index.d.ts +18 -18
- package/es/color-select/index.js +113 -68
- package/es/color-select/style/index.css +52 -47
- package/es/color-select/style/index.js +1 -1
- package/es/complex-val-select/index.d.ts +25 -13
- package/es/complex-val-select/index.js +71 -54
- package/es/complex-val-select/style/index.js +1 -1
- package/es/condition-input/index.d.ts +21 -13
- package/es/condition-input/index.js +67 -51
- package/es/condition-input/parse2RegexOption.d.ts +10 -7
- package/es/condition-input/parse2RegexOption.js +31 -21
- package/es/condition-input/style/index.js +1 -1
- package/es/condition-select-input/index.d.ts +29 -29
- package/es/condition-select-input/index.js +196 -106
- package/es/condition-select-input/style/index.d.ts +1 -1
- package/es/condition-select-input/style/index.js +3 -3
- package/es/config-provider/context.d.ts +1 -1
- package/es/config-provider/context.js +2 -2
- package/es/config-provider/index.d.ts +27 -3
- package/es/config-provider/index.js +9 -5
- package/es/copy-to-clipboard/index.d.ts +20 -18
- package/es/copy-to-clipboard/index.js +63 -44
- package/es/copy-to-clipboard/style/index.css +23 -14
- package/es/copy-to-clipboard/style/index.js +1 -1
- package/es/count-down/index.d.ts +3 -3
- package/es/count-down/index.js +44 -26
- package/es/count-up/index.d.ts +2 -2
- package/es/count-up/index.js +1 -1
- package/es/flex/index.d.ts +21 -18
- package/es/flex/index.js +64 -32
- package/es/flex/style/index.css +52 -47
- package/es/flex/style/index.js +1 -1
- package/es/flex/utils/gapSize.js +1 -1
- package/es/flex/utils/index.d.ts +27 -3
- package/es/flex/utils/index.js +53 -19
- package/es/highlight-textarea/HighlighedContents.d.ts +6 -3
- package/es/highlight-textarea/HighlighedContents.js +9 -5
- package/es/highlight-textarea/extractSpansOfClasses.d.ts +10 -10
- package/es/highlight-textarea/extractSpansOfClasses.js +62 -45
- package/es/highlight-textarea/getRanges.js +41 -34
- package/es/highlight-textarea/getType.js +6 -2
- package/es/highlight-textarea/index.d.ts +14 -7
- package/es/highlight-textarea/index.js +114 -70
- package/es/highlight-textarea/style/index.css +125 -55
- package/es/highlight-textarea/style/index.js +1 -1
- package/es/highlight-textarea/types.d.ts +26 -7
- package/es/highlight-textarea/types.js +1 -1
- package/es/highlight-words/index.d.ts +6 -2
- package/es/highlight-words/index.js +1 -1
- package/es/img-crop/EasyCrop.d.ts +6 -2
- package/es/img-crop/EasyCrop.js +104 -79
- package/es/img-crop/getCroppedImg.d.ts +8 -3
- package/es/img-crop/getCroppedImg.js +155 -118
- package/es/img-crop/index.d.ts +29 -29
- package/es/img-crop/index.js +490 -340
- package/es/img-crop/style/index.css +52 -47
- package/es/img-crop/style/index.d.ts +1 -1
- package/es/img-crop/style/index.js +3 -3
- package/es/index.d.ts +77 -71
- package/es/index.js +28 -28
- package/es/json-editor/index.d.ts +7 -5
- package/es/json-editor/index.js +91 -62
- package/es/json-editor/style/index.js +1 -1
- package/es/keep-tab/index.d.ts +17 -17
- package/es/keep-tab/index.js +125 -78
- package/es/keep-tab/style/index.css +72 -32
- package/es/keep-tab/style/index.js +1 -1
- package/es/label-auto-complete/index.d.ts +3 -3
- package/es/label-auto-complete/index.js +82 -58
- package/es/label-auto-complete/style/index.css +61 -50
- package/es/label-auto-complete/style/index.js +2 -2
- package/es/label-condition-input/index.d.ts +12 -11
- package/es/label-condition-input/index.js +100 -62
- package/es/label-condition-input/style/index.css +52 -47
- package/es/label-condition-input/style/index.js +1 -1
- package/es/label-condition-select-input/index.d.ts +35 -33
- package/es/label-condition-select-input/index.js +198 -109
- package/es/label-condition-select-input/style/index.css +52 -47
- package/es/label-condition-select-input/style/index.d.ts +1 -1
- package/es/label-condition-select-input/style/index.js +2 -2
- package/es/label-customize-range-picker/defaultRadioList.d.ts +34 -28
- package/es/label-customize-range-picker/defaultRadioList.js +206 -114
- package/es/label-customize-range-picker/index.d.ts +27 -24
- package/es/label-customize-range-picker/index.js +300 -141
- package/es/label-customize-range-picker/style/index.css +52 -47
- package/es/label-customize-range-picker/style/index.d.ts +2 -2
- package/es/label-customize-range-picker/style/index.js +4 -4
- package/es/label-customize-range-picker/utils/index.d.ts +9 -3
- package/es/label-customize-range-picker/utils/index.js +57 -29
- package/es/label-date-picker/index.d.ts +2 -2
- package/es/label-date-picker/index.js +81 -57
- package/es/label-date-picker/style/index.css +52 -47
- package/es/label-date-picker/style/index.js +2 -2
- package/es/label-input/index.d.ts +29 -25
- package/es/label-input/index.js +122 -80
- package/es/label-input/style/index.css +52 -47
- package/es/label-input/style/index.js +1 -1
- package/es/label-number-input/index.d.ts +6 -6
- package/es/label-number-input/index.js +101 -63
- package/es/label-number-input/style/index.css +54 -48
- package/es/label-number-input/style/index.js +1 -1
- package/es/label-range-number/index.d.ts +17 -17
- package/es/label-range-number/index.js +156 -95
- package/es/label-range-number/style/index.css +52 -47
- package/es/label-range-number/style/index.js +1 -1
- package/es/label-range-picker/index.d.ts +3 -3
- package/es/label-range-picker/index.js +103 -71
- package/es/label-range-picker/style/index.css +52 -47
- package/es/label-range-picker/style/index.js +2 -2
- package/es/label-select/index.d.ts +7 -5
- package/es/label-select/index.js +100 -69
- package/es/label-select/style/index.css +65 -51
- package/es/label-select/style/index.js +2 -2
- package/es/label-text-area/index.d.ts +21 -17
- package/es/label-text-area/index.js +97 -64
- package/es/label-text-area/style/index.css +52 -47
- package/es/label-text-area/style/index.js +1 -1
- package/es/label-tree-select/index.d.ts +8 -7
- package/es/label-tree-select/index.js +98 -61
- package/es/label-tree-select/style/index.css +55 -48
- package/es/label-tree-select/style/index.js +2 -2
- package/es/messages/ar_EG.d.ts +24 -24
- package/es/messages/ar_EG.js +5 -5
- package/es/messages/bg_BG.d.ts +24 -24
- package/es/messages/bg_BG.js +5 -5
- package/es/messages/cs_CZ.d.ts +24 -24
- package/es/messages/cs_CZ.js +5 -5
- package/es/messages/de_DE.d.ts +24 -24
- package/es/messages/de_DE.js +5 -5
- package/es/messages/en_US.d.ts +24 -24
- package/es/messages/en_US.js +5 -5
- package/es/messages/es_ES.d.ts +24 -24
- package/es/messages/es_ES.js +5 -5
- package/es/messages/fi_FI.d.ts +24 -24
- package/es/messages/fi_FI.js +5 -5
- package/es/messages/fr_FR.d.ts +24 -24
- package/es/messages/fr_FR.js +5 -5
- package/es/messages/id_ID.d.ts +24 -24
- package/es/messages/id_ID.js +5 -5
- package/es/messages/index.d.ts +27 -23
- package/es/messages/index.js +3 -3
- package/es/messages/it_IT.d.ts +24 -24
- package/es/messages/it_IT.js +5 -5
- package/es/messages/ja_JP.d.ts +24 -24
- package/es/messages/ja_JP.js +5 -5
- package/es/messages/ko_KR.d.ts +24 -24
- package/es/messages/ko_KR.js +5 -5
- package/es/messages/ms_MY.d.ts +24 -24
- package/es/messages/ms_MY.js +5 -5
- package/es/messages/nb_NO.d.ts +24 -24
- package/es/messages/nb_NO.js +5 -5
- package/es/messages/nl_NL.d.ts +24 -24
- package/es/messages/nl_NL.js +5 -5
- package/es/messages/pt_PT.d.ts +24 -24
- package/es/messages/pt_PT.js +5 -5
- package/es/messages/ro_RO.d.ts +24 -24
- package/es/messages/ro_RO.js +5 -5
- package/es/messages/ru_RU.d.ts +24 -24
- package/es/messages/ru_RU.js +5 -5
- package/es/messages/sv_SE.d.ts +24 -24
- package/es/messages/sv_SE.js +5 -5
- package/es/messages/th_TH.d.ts +24 -24
- package/es/messages/th_TH.js +5 -5
- package/es/messages/ug_UG.d.ts +24 -24
- package/es/messages/ug_UG.js +5 -5
- package/es/messages/vi_VN.d.ts +24 -24
- package/es/messages/vi_VN.js +5 -5
- package/es/messages/zh_CN.d.ts +24 -24
- package/es/messages/zh_CN.js +5 -5
- package/es/messages/zh_TW.d.ts +24 -24
- package/es/messages/zh_TW.js +5 -5
- package/es/multipart-upload/getMultipartUploadHandler.d.ts +3 -1
- package/es/multipart-upload/getMultipartUploadHandler.js +8 -6
- package/es/multipart-upload/index.d.ts +39 -33
- package/es/multipart-upload/index.js +217 -121
- package/es/multipart-upload/parse2RegexOption.d.ts +10 -7
- package/es/multipart-upload/parse2RegexOption.js +31 -21
- package/es/multipart-upload/style/index.css +52 -47
- package/es/multipart-upload/style/index.js +2 -2
- package/es/number-format-input/index.js +36 -25
- package/es/number-format-input/style/index.js +1 -1
- package/es/number-input/const/dataTypeEnum.d.ts +2 -2
- package/es/number-input/const/dataTypeEnum.js +1 -1
- package/es/number-input/const/numberType.d.ts +2 -2
- package/es/number-input/const/numberType.js +1 -1
- package/es/number-input/index.d.ts +37 -35
- package/es/number-input/index.js +94 -65
- package/es/number-input/style/index.js +1 -1
- package/es/number-input/utils.d.ts +15 -6
- package/es/number-input/utils.js +2 -2
- package/es/rc-echart/core.d.ts +13 -13
- package/es/rc-echart/core.js +28 -19
- package/es/rc-echart/index.d.ts +12 -12
- package/es/rc-echart/index.js +26 -16
- package/es/rc-motion/index.d.ts +14 -2
- package/es/rc-motion/index.js +1 -1
- package/es/rc-qrcode/index.d.ts +11 -8
- package/es/rc-qrcode/index.js +21 -17
- package/es/rc-qrcode/useQrcode.d.ts +5 -2
- package/es/rc-qrcode/useQrcode.js +38 -33
- package/es/rc-transition-group/index.js +1 -1
- package/es/resizable/index.d.ts +10 -1
- package/es/resizable/index.js +1 -1
- package/es/resizable/style/index.js +1 -1
- package/es/rich-text-editor/index.d.ts +18 -18
- package/es/rich-text-editor/index.js +78 -45
- package/es/rich-text-editor/lang/zh_CN.d.ts +404 -404
- package/es/rich-text-editor/lang/zh_CN.js +416 -393
- package/es/rich-text-editor/plugins/code/index.js +25 -20
- package/es/rich-text-editor/style/index.css +52 -47
- package/es/rich-text-editor/style/index.js +1 -1
- package/es/single-img-upload/index.d.ts +8 -8
- package/es/single-img-upload/index.js +338 -230
- package/es/single-img-upload/style/index.css +52 -47
- package/es/single-img-upload/style/index.js +4 -4
- package/es/sortable-hoc/index.js +1 -1
- package/es/split-pane/index.d.ts +53 -53
- package/es/split-pane/index.js +17 -13
- package/es/split-pane/style/index.js +1 -1
- package/es/step-number-input/const/countType.d.ts +2 -2
- package/es/step-number-input/const/countType.js +1 -1
- package/es/step-number-input/const/numberType.d.ts +2 -2
- package/es/step-number-input/const/numberType.js +1 -1
- package/es/step-number-input/index.d.ts +31 -31
- package/es/step-number-input/index.js +135 -85
- package/es/step-number-input/style/index.css +52 -47
- package/es/step-number-input/style/index.js +2 -2
- package/es/table-col/index.d.ts +3 -3
- package/es/table-col/index.js +11 -7
- package/es/table-col/style/index.js +1 -1
- package/es/text-area/index.d.ts +13 -8
- package/es/text-area/index.js +64 -48
- package/es/text-area/style/index.js +1 -1
- package/es/text-input/index.d.ts +3 -1
- package/es/text-input/index.js +76 -58
- package/es/text-input/style/index.css +123 -53
- package/es/text-input/style/index.js +1 -1
- package/lib/a-select/index.d.ts +5 -5
- package/lib/a-select/index.js +102 -69
- package/lib/a-select/style/index.css +52 -47
- package/lib/a-select/style/index.js +5 -5
- package/lib/a-select/style/index.less +2 -1
- package/lib/area-text/index.d.ts +2 -2
- package/lib/area-text/index.js +21 -13
- package/lib/area-text/style/index.js +4 -4
- package/lib/beautiful-dnd/index.js +52 -37
- package/lib/button-drawer/index.d.ts +10 -8
- package/lib/button-drawer/index.js +153 -101
- package/lib/button-drawer/style/index.js +4 -4
- package/lib/button-modal/index.d.ts +10 -8
- package/lib/button-modal/index.js +151 -99
- package/lib/button-modal/style/index.js +4 -4
- package/lib/client-only/index.d.ts +2 -2
- package/lib/client-only/index.js +5 -5
- package/lib/client-only/useClientOnly.js +28 -26
- package/lib/color-select/index.d.ts +18 -18
- package/lib/color-select/index.js +180 -112
- package/lib/color-select/style/index.css +52 -47
- package/lib/color-select/style/index.js +5 -5
- package/lib/complex-val-select/index.d.ts +25 -13
- package/lib/complex-val-select/index.js +140 -102
- package/lib/complex-val-select/style/index.js +4 -4
- package/lib/condition-input/index.d.ts +21 -13
- package/lib/condition-input/index.js +131 -96
- package/lib/condition-input/parse2RegexOption.d.ts +10 -7
- package/lib/condition-input/parse2RegexOption.js +47 -33
- package/lib/condition-input/style/index.js +4 -4
- package/lib/condition-select-input/index.d.ts +29 -29
- package/lib/condition-select-input/index.js +259 -150
- package/lib/condition-select-input/style/index.d.ts +1 -1
- package/lib/condition-select-input/style/index.js +6 -6
- package/lib/config-provider/context.d.ts +1 -1
- package/lib/config-provider/context.js +15 -11
- package/lib/config-provider/index.d.ts +27 -3
- package/lib/config-provider/index.js +69 -61
- package/lib/copy-to-clipboard/index.d.ts +20 -18
- package/lib/copy-to-clipboard/index.js +124 -86
- package/lib/copy-to-clipboard/style/index.css +23 -14
- package/lib/copy-to-clipboard/style/index.js +4 -4
- package/lib/count-down/index.d.ts +3 -3
- package/lib/count-down/index.js +58 -36
- package/lib/count-up/index.d.ts +2 -2
- package/lib/count-up/index.js +54 -39
- package/lib/flex/index.d.ts +21 -18
- package/lib/flex/index.js +78 -42
- package/lib/flex/style/index.css +52 -47
- package/lib/flex/style/index.js +4 -4
- package/lib/flex/utils/gapSize.js +4 -4
- package/lib/flex/utils/index.d.ts +27 -3
- package/lib/flex/utils/index.js +65 -27
- package/lib/highlight-textarea/HighlighedContents.d.ts +6 -3
- package/lib/highlight-textarea/HighlighedContents.js +24 -16
- package/lib/highlight-textarea/extractSpansOfClasses.d.ts +10 -10
- package/lib/highlight-textarea/extractSpansOfClasses.js +75 -54
- package/lib/highlight-textarea/getRanges.js +55 -44
- package/lib/highlight-textarea/getType.js +10 -6
- package/lib/highlight-textarea/index.d.ts +14 -7
- package/lib/highlight-textarea/index.js +176 -113
- package/lib/highlight-textarea/style/index.css +125 -55
- package/lib/highlight-textarea/style/index.js +4 -4
- package/lib/highlight-textarea/types.d.ts +26 -7
- package/lib/highlight-textarea/types.js +4 -4
- package/lib/highlight-words/index.d.ts +6 -2
- package/lib/highlight-words/index.js +13 -9
- package/lib/img-crop/EasyCrop.d.ts +6 -2
- package/lib/img-crop/EasyCrop.js +164 -120
- package/lib/img-crop/getCroppedImg.d.ts +8 -3
- package/lib/img-crop/getCroppedImg.js +158 -121
- package/lib/img-crop/index.d.ts +29 -29
- package/lib/img-crop/index.js +555 -383
- package/lib/img-crop/style/index.css +52 -47
- package/lib/img-crop/style/index.d.ts +1 -1
- package/lib/img-crop/style/index.js +6 -6
- package/lib/index.d.ts +77 -71
- package/lib/index.js +249 -198
- package/lib/json-editor/index.d.ts +7 -5
- package/lib/json-editor/index.js +156 -108
- package/lib/json-editor/style/index.js +5 -5
- package/lib/keep-tab/index.d.ts +17 -17
- package/lib/keep-tab/index.js +186 -120
- package/lib/keep-tab/style/index.css +72 -32
- package/lib/keep-tab/style/index.js +4 -4
- package/lib/label-auto-complete/index.d.ts +3 -3
- package/lib/label-auto-complete/index.js +103 -71
- package/lib/label-auto-complete/style/index.css +61 -50
- package/lib/label-auto-complete/style/index.js +5 -5
- package/lib/label-condition-input/index.d.ts +12 -11
- package/lib/label-condition-input/index.js +119 -77
- package/lib/label-condition-input/style/index.css +52 -47
- package/lib/label-condition-input/style/index.js +4 -4
- package/lib/label-condition-select-input/index.d.ts +35 -33
- package/lib/label-condition-select-input/index.js +262 -154
- package/lib/label-condition-select-input/style/index.css +52 -47
- package/lib/label-condition-select-input/style/index.d.ts +1 -1
- package/lib/label-condition-select-input/style/index.js +6 -6
- package/lib/label-customize-range-picker/defaultRadioList.d.ts +34 -28
- package/lib/label-customize-range-picker/defaultRadioList.js +297 -156
- package/lib/label-customize-range-picker/index.d.ts +27 -24
- package/lib/label-customize-range-picker/index.js +363 -186
- package/lib/label-customize-range-picker/style/index.css +52 -47
- package/lib/label-customize-range-picker/style/index.d.ts +2 -2
- package/lib/label-customize-range-picker/style/index.js +8 -8
- package/lib/label-customize-range-picker/utils/index.d.ts +9 -3
- package/lib/label-customize-range-picker/utils/index.js +75 -38
- package/lib/label-date-picker/index.d.ts +2 -2
- package/lib/label-date-picker/index.js +96 -68
- package/lib/label-date-picker/style/index.css +52 -47
- package/lib/label-date-picker/style/index.js +5 -5
- package/lib/label-input/index.d.ts +29 -25
- package/lib/label-input/index.js +142 -96
- package/lib/label-input/style/index.css +52 -47
- package/lib/label-input/style/index.js +4 -4
- package/lib/label-number-input/index.d.ts +6 -6
- package/lib/label-number-input/index.js +122 -78
- package/lib/label-number-input/style/index.css +54 -48
- package/lib/label-number-input/style/index.js +4 -4
- package/lib/label-range-number/index.d.ts +17 -17
- package/lib/label-range-number/index.js +172 -107
- package/lib/label-range-number/style/index.css +52 -47
- package/lib/label-range-number/style/index.js +4 -4
- package/lib/label-range-picker/index.d.ts +3 -3
- package/lib/label-range-picker/index.js +122 -83
- package/lib/label-range-picker/style/index.css +52 -47
- package/lib/label-range-picker/style/index.js +5 -5
- package/lib/label-select/index.d.ts +7 -5
- package/lib/label-select/index.js +130 -83
- package/lib/label-select/style/index.css +65 -51
- package/lib/label-select/style/index.js +5 -5
- package/lib/label-text-area/index.d.ts +21 -17
- package/lib/label-text-area/index.js +114 -77
- package/lib/label-text-area/style/index.css +52 -47
- package/lib/label-text-area/style/index.js +4 -4
- package/lib/label-tree-select/index.d.ts +8 -7
- package/lib/label-tree-select/index.js +113 -72
- package/lib/label-tree-select/style/index.css +55 -48
- package/lib/label-tree-select/style/index.js +5 -5
- package/lib/messages/ar_EG.d.ts +24 -24
- package/lib/messages/ar_EG.js +8 -8
- package/lib/messages/bg_BG.d.ts +24 -24
- package/lib/messages/bg_BG.js +8 -8
- package/lib/messages/cs_CZ.d.ts +24 -24
- package/lib/messages/cs_CZ.js +8 -8
- package/lib/messages/de_DE.d.ts +24 -24
- package/lib/messages/de_DE.js +8 -8
- package/lib/messages/en_US.d.ts +24 -24
- package/lib/messages/en_US.js +8 -8
- package/lib/messages/es_ES.d.ts +24 -24
- package/lib/messages/es_ES.js +8 -8
- package/lib/messages/fi_FI.d.ts +24 -24
- package/lib/messages/fi_FI.js +8 -8
- package/lib/messages/fr_FR.d.ts +24 -24
- package/lib/messages/fr_FR.js +8 -8
- package/lib/messages/id_ID.d.ts +24 -24
- package/lib/messages/id_ID.js +8 -8
- package/lib/messages/index.d.ts +27 -23
- package/lib/messages/index.js +7 -7
- package/lib/messages/it_IT.d.ts +24 -24
- package/lib/messages/it_IT.js +8 -8
- package/lib/messages/ja_JP.d.ts +24 -24
- package/lib/messages/ja_JP.js +8 -8
- package/lib/messages/ko_KR.d.ts +24 -24
- package/lib/messages/ko_KR.js +8 -8
- package/lib/messages/ms_MY.d.ts +24 -24
- package/lib/messages/ms_MY.js +8 -8
- package/lib/messages/nb_NO.d.ts +24 -24
- package/lib/messages/nb_NO.js +8 -8
- package/lib/messages/nl_NL.d.ts +24 -24
- package/lib/messages/nl_NL.js +8 -8
- package/lib/messages/pt_PT.d.ts +24 -24
- package/lib/messages/pt_PT.js +8 -8
- package/lib/messages/ro_RO.d.ts +24 -24
- package/lib/messages/ro_RO.js +8 -8
- package/lib/messages/ru_RU.d.ts +24 -24
- package/lib/messages/ru_RU.js +8 -8
- package/lib/messages/sv_SE.d.ts +24 -24
- package/lib/messages/sv_SE.js +8 -8
- package/lib/messages/th_TH.d.ts +24 -24
- package/lib/messages/th_TH.js +8 -8
- package/lib/messages/ug_UG.d.ts +24 -24
- package/lib/messages/ug_UG.js +8 -8
- package/lib/messages/vi_VN.d.ts +24 -24
- package/lib/messages/vi_VN.js +8 -8
- package/lib/messages/zh_CN.d.ts +24 -24
- package/lib/messages/zh_CN.js +8 -8
- package/lib/messages/zh_TW.d.ts +24 -24
- package/lib/messages/zh_TW.js +8 -8
- package/lib/multipart-upload/getMultipartUploadHandler.d.ts +3 -1
- package/lib/multipart-upload/getMultipartUploadHandler.js +12 -10
- package/lib/multipart-upload/index.d.ts +39 -33
- package/lib/multipart-upload/index.js +286 -165
- package/lib/multipart-upload/parse2RegexOption.d.ts +10 -7
- package/lib/multipart-upload/parse2RegexOption.js +47 -33
- package/lib/multipart-upload/style/index.css +52 -47
- package/lib/multipart-upload/style/index.js +5 -5
- package/lib/number-format-input/index.js +49 -34
- package/lib/number-format-input/style/index.js +4 -4
- package/lib/number-input/const/dataTypeEnum.d.ts +2 -2
- package/lib/number-input/const/dataTypeEnum.js +4 -4
- package/lib/number-input/const/numberType.d.ts +2 -2
- package/lib/number-input/const/numberType.js +4 -4
- package/lib/number-input/index.d.ts +37 -35
- package/lib/number-input/index.js +153 -105
- package/lib/number-input/style/index.js +4 -4
- package/lib/number-input/utils.d.ts +15 -6
- package/lib/number-input/utils.js +5 -5
- package/lib/rc-echart/core.d.ts +13 -13
- package/lib/rc-echart/core.js +88 -60
- package/lib/rc-echart/index.d.ts +12 -12
- package/lib/rc-echart/index.js +86 -57
- package/lib/rc-motion/index.d.ts +14 -2
- package/lib/rc-motion/index.js +13 -9
- package/lib/rc-qrcode/index.d.ts +11 -8
- package/lib/rc-qrcode/index.js +85 -62
- package/lib/rc-qrcode/useQrcode.d.ts +5 -2
- package/lib/rc-qrcode/useQrcode.js +51 -42
- package/lib/rc-transition-group/index.js +52 -37
- package/lib/resizable/index.d.ts +10 -1
- package/lib/resizable/index.js +9 -9
- package/lib/resizable/style/index.js +4 -4
- package/lib/rich-text-editor/index.d.ts +18 -18
- package/lib/rich-text-editor/index.js +107 -70
- package/lib/rich-text-editor/lang/zh_CN.d.ts +404 -404
- package/lib/rich-text-editor/lang/zh_CN.js +420 -397
- package/lib/rich-text-editor/plugins/code/index.js +38 -29
- package/lib/rich-text-editor/style/index.css +52 -47
- package/lib/rich-text-editor/style/index.js +4 -4
- package/lib/single-img-upload/index.d.ts +8 -8
- package/lib/single-img-upload/index.js +400 -273
- package/lib/single-img-upload/style/index.css +52 -47
- package/lib/single-img-upload/style/index.js +7 -7
- package/lib/sortable-hoc/index.js +52 -37
- package/lib/split-pane/index.d.ts +53 -53
- package/lib/split-pane/index.js +33 -22
- package/lib/split-pane/style/index.js +4 -4
- package/lib/step-number-input/const/countType.d.ts +2 -2
- package/lib/step-number-input/const/countType.js +4 -4
- package/lib/step-number-input/const/numberType.d.ts +2 -2
- package/lib/step-number-input/const/numberType.js +4 -4
- package/lib/step-number-input/index.d.ts +31 -31
- package/lib/step-number-input/index.js +204 -133
- package/lib/step-number-input/style/index.css +52 -47
- package/lib/step-number-input/style/index.js +5 -5
- package/lib/table-col/index.d.ts +3 -3
- package/lib/table-col/index.js +23 -15
- package/lib/table-col/style/index.js +4 -4
- package/lib/text-area/index.d.ts +13 -8
- package/lib/text-area/index.js +124 -89
- package/lib/text-area/style/index.js +4 -4
- package/lib/text-input/index.d.ts +3 -1
- package/lib/text-input/index.js +89 -67
- package/lib/text-input/style/index.css +123 -53
- package/lib/text-input/style/index.js +4 -4
- package/package.json +4 -4
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
.ant-input-affix-wrapper {
|
|
6
6
|
position: relative;
|
|
7
7
|
display: inline-block;
|
|
8
|
+
display: inline-flex;
|
|
8
9
|
width: 100%;
|
|
9
10
|
min-width: 0;
|
|
10
11
|
padding: 4px 11px;
|
|
@@ -16,18 +17,17 @@
|
|
|
16
17
|
border: 1px solid #d9d9d9;
|
|
17
18
|
border-radius: 2px;
|
|
18
19
|
transition: all 0.3s;
|
|
19
|
-
display: inline-flex;
|
|
20
20
|
}
|
|
21
21
|
.ant-input-affix-wrapper::-moz-placeholder {
|
|
22
22
|
color: #bfbfbf;
|
|
23
23
|
-moz-user-select: none;
|
|
24
|
-
|
|
24
|
+
user-select: none;
|
|
25
25
|
}
|
|
26
26
|
.ant-input-affix-wrapper::placeholder {
|
|
27
27
|
color: #bfbfbf;
|
|
28
28
|
-webkit-user-select: none;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
-moz-user-select: none;
|
|
30
|
+
user-select: none;
|
|
31
31
|
}
|
|
32
32
|
.ant-input-affix-wrapper:-moz-placeholder-shown {
|
|
33
33
|
text-overflow: ellipsis;
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
.ant-input-affix-wrapper:focus,
|
|
47
47
|
.ant-input-affix-wrapper-focused {
|
|
48
48
|
border-color: #40a9ff;
|
|
49
|
-
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
|
50
49
|
border-right-width: 1px;
|
|
51
50
|
outline: 0;
|
|
51
|
+
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
|
52
52
|
}
|
|
53
53
|
.ant-input-rtl .ant-input-affix-wrapper:focus,
|
|
54
54
|
.ant-input-rtl .ant-input-affix-wrapper-focused {
|
|
@@ -108,15 +108,16 @@ textarea.ant-input-affix-wrapper {
|
|
|
108
108
|
direction: rtl;
|
|
109
109
|
}
|
|
110
110
|
.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
|
111
|
+
z-index: 1;
|
|
111
112
|
border-color: #40a9ff;
|
|
112
113
|
border-right-width: 1px;
|
|
113
|
-
z-index: 1;
|
|
114
114
|
}
|
|
115
115
|
.ant-input-rtl .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
|
116
116
|
border-right-width: 0;
|
|
117
117
|
border-left-width: 1px !important;
|
|
118
118
|
}
|
|
119
|
-
.ant-input-search-with-button
|
|
119
|
+
.ant-input-search-with-button
|
|
120
|
+
.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
|
120
121
|
z-index: 0;
|
|
121
122
|
}
|
|
122
123
|
.ant-input-affix-wrapper-focused,
|
|
@@ -205,9 +206,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
205
206
|
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
|
206
207
|
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
|
207
208
|
border-color: #ff7875;
|
|
208
|
-
box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
|
|
209
209
|
border-right-width: 1px;
|
|
210
210
|
outline: 0;
|
|
211
|
+
box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
|
|
211
212
|
}
|
|
212
213
|
.ant-input-status-error .ant-input-prefix {
|
|
213
214
|
color: #ff4d4f;
|
|
@@ -220,9 +221,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
220
221
|
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
|
221
222
|
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
|
222
223
|
border-color: #ffc53d;
|
|
223
|
-
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
|
|
224
224
|
border-right-width: 1px;
|
|
225
225
|
outline: 0;
|
|
226
|
+
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
|
|
226
227
|
}
|
|
227
228
|
.ant-input-status-warning .ant-input-prefix {
|
|
228
229
|
color: #faad14;
|
|
@@ -235,9 +236,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
235
236
|
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
|
236
237
|
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
|
237
238
|
border-color: #ff7875;
|
|
238
|
-
box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
|
|
239
239
|
border-right-width: 1px;
|
|
240
240
|
outline: 0;
|
|
241
|
+
box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.2);
|
|
241
242
|
}
|
|
242
243
|
.ant-input-affix-wrapper-status-error .ant-input-prefix {
|
|
243
244
|
color: #ff4d4f;
|
|
@@ -250,9 +251,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
250
251
|
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
|
251
252
|
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
|
252
253
|
border-color: #ffc53d;
|
|
253
|
-
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
|
|
254
254
|
border-right-width: 1px;
|
|
255
255
|
outline: 0;
|
|
256
|
+
box-shadow: 0 0 0 2px rgba(250, 173, 20, 0.2);
|
|
256
257
|
}
|
|
257
258
|
.ant-input-affix-wrapper-status-warning .ant-input-prefix {
|
|
258
259
|
color: #faad14;
|
|
@@ -272,36 +273,36 @@ textarea.ant-input-affix-wrapper {
|
|
|
272
273
|
border-color: #faad14;
|
|
273
274
|
}
|
|
274
275
|
.ant-input {
|
|
275
|
-
box-sizing: border-box;
|
|
276
|
-
margin: 0;
|
|
277
|
-
padding: 0;
|
|
278
|
-
font-variant: tabular-nums;
|
|
279
|
-
list-style: none;
|
|
280
|
-
font-feature-settings: 'tnum';
|
|
281
276
|
position: relative;
|
|
282
277
|
display: inline-block;
|
|
278
|
+
box-sizing: border-box;
|
|
283
279
|
width: 100%;
|
|
284
280
|
min-width: 0;
|
|
281
|
+
margin: 0;
|
|
282
|
+
padding: 0;
|
|
285
283
|
padding: 4px 11px;
|
|
286
284
|
color: rgba(0, 0, 0, 0.85);
|
|
287
285
|
font-size: 14px;
|
|
286
|
+
font-variant: tabular-nums;
|
|
288
287
|
line-height: 1.5715;
|
|
288
|
+
list-style: none;
|
|
289
289
|
background-color: #fff;
|
|
290
290
|
background-image: none;
|
|
291
291
|
border: 1px solid #d9d9d9;
|
|
292
292
|
border-radius: 2px;
|
|
293
293
|
transition: all 0.3s;
|
|
294
|
+
font-feature-settings: 'tnum';
|
|
294
295
|
}
|
|
295
296
|
.ant-input::-moz-placeholder {
|
|
296
297
|
color: #bfbfbf;
|
|
297
298
|
-moz-user-select: none;
|
|
298
|
-
|
|
299
|
+
user-select: none;
|
|
299
300
|
}
|
|
300
301
|
.ant-input::placeholder {
|
|
301
302
|
color: #bfbfbf;
|
|
302
303
|
-webkit-user-select: none;
|
|
303
|
-
|
|
304
|
-
|
|
304
|
+
-moz-user-select: none;
|
|
305
|
+
user-select: none;
|
|
305
306
|
}
|
|
306
307
|
.ant-input:-moz-placeholder-shown {
|
|
307
308
|
text-overflow: ellipsis;
|
|
@@ -320,9 +321,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
320
321
|
.ant-input:focus,
|
|
321
322
|
.ant-input-focused {
|
|
322
323
|
border-color: #40a9ff;
|
|
323
|
-
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
|
324
324
|
border-right-width: 1px;
|
|
325
325
|
outline: 0;
|
|
326
|
+
box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
|
|
326
327
|
}
|
|
327
328
|
.ant-input-rtl .ant-input:focus,
|
|
328
329
|
.ant-input-rtl .ant-input-focused {
|
|
@@ -382,7 +383,10 @@ textarea.ant-input {
|
|
|
382
383
|
direction: rtl;
|
|
383
384
|
}
|
|
384
385
|
.ant-input-group {
|
|
386
|
+
position: relative;
|
|
387
|
+
display: table;
|
|
385
388
|
box-sizing: border-box;
|
|
389
|
+
width: 100%;
|
|
386
390
|
margin: 0;
|
|
387
391
|
padding: 0;
|
|
388
392
|
color: rgba(0, 0, 0, 0.85);
|
|
@@ -390,12 +394,9 @@ textarea.ant-input {
|
|
|
390
394
|
font-variant: tabular-nums;
|
|
391
395
|
line-height: 1.5715;
|
|
392
396
|
list-style: none;
|
|
393
|
-
font-feature-settings: 'tnum';
|
|
394
|
-
position: relative;
|
|
395
|
-
display: table;
|
|
396
|
-
width: 100%;
|
|
397
397
|
border-collapse: separate;
|
|
398
398
|
border-spacing: 0;
|
|
399
|
+
font-feature-settings: 'tnum';
|
|
399
400
|
}
|
|
400
401
|
.ant-input-group[class*='col-'] {
|
|
401
402
|
float: none;
|
|
@@ -459,7 +460,9 @@ textarea.ant-input {
|
|
|
459
460
|
.ant-input-group-addon .ant-select {
|
|
460
461
|
margin: -5px -11px;
|
|
461
462
|
}
|
|
462
|
-
.ant-input-group-addon
|
|
463
|
+
.ant-input-group-addon
|
|
464
|
+
.ant-select.ant-select-single:not(.ant-select-customize-input)
|
|
465
|
+
.ant-select-selector {
|
|
463
466
|
background-color: inherit;
|
|
464
467
|
border: 1px solid transparent;
|
|
465
468
|
box-shadow: none;
|
|
@@ -558,12 +561,14 @@ textarea.ant-input {
|
|
|
558
561
|
}
|
|
559
562
|
.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,
|
|
560
563
|
.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,
|
|
561
|
-
.ant-input-group.ant-input-group-compact
|
|
564
|
+
.ant-input-group.ant-input-group-compact
|
|
565
|
+
> .ant-input:not(:first-child):not(:last-child):hover {
|
|
562
566
|
z-index: 1;
|
|
563
567
|
}
|
|
564
568
|
.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,
|
|
565
569
|
.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,
|
|
566
|
-
.ant-input-group.ant-input-group-compact
|
|
570
|
+
.ant-input-group.ant-input-group-compact
|
|
571
|
+
> .ant-input:not(:first-child):not(:last-child):focus {
|
|
567
572
|
z-index: 1;
|
|
568
573
|
}
|
|
569
574
|
.ant-input-group.ant-input-group-compact > * {
|
|
@@ -612,7 +617,9 @@ textarea.ant-input {
|
|
|
612
617
|
}
|
|
613
618
|
.ant-input-group.ant-input-group-compact > *:first-child,
|
|
614
619
|
.ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selector,
|
|
615
|
-
.ant-input-group.ant-input-group-compact
|
|
620
|
+
.ant-input-group.ant-input-group-compact
|
|
621
|
+
> .ant-select-auto-complete:first-child
|
|
622
|
+
.ant-input,
|
|
616
623
|
.ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input {
|
|
617
624
|
border-top-left-radius: 2px;
|
|
618
625
|
border-bottom-left-radius: 2px;
|
|
@@ -620,7 +627,9 @@ textarea.ant-input {
|
|
|
620
627
|
.ant-input-group.ant-input-group-compact > *:last-child,
|
|
621
628
|
.ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selector,
|
|
622
629
|
.ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,
|
|
623
|
-
.ant-input-group.ant-input-group-compact
|
|
630
|
+
.ant-input-group.ant-input-group-compact
|
|
631
|
+
> .ant-cascader-picker-focused:last-child
|
|
632
|
+
.ant-input {
|
|
624
633
|
border-right-width: 1px;
|
|
625
634
|
border-top-right-radius: 2px;
|
|
626
635
|
border-bottom-right-radius: 2px;
|
|
@@ -628,16 +637,28 @@ textarea.ant-input {
|
|
|
628
637
|
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input {
|
|
629
638
|
vertical-align: top;
|
|
630
639
|
}
|
|
631
|
-
.ant-input-group.ant-input-group-compact
|
|
640
|
+
.ant-input-group.ant-input-group-compact
|
|
641
|
+
.ant-input-group-wrapper
|
|
642
|
+
+ .ant-input-group-wrapper {
|
|
632
643
|
margin-left: -1px;
|
|
633
644
|
}
|
|
634
|
-
.ant-input-group.ant-input-group-compact
|
|
645
|
+
.ant-input-group.ant-input-group-compact
|
|
646
|
+
.ant-input-group-wrapper
|
|
647
|
+
+ .ant-input-group-wrapper
|
|
648
|
+
.ant-input-affix-wrapper {
|
|
635
649
|
border-radius: 0;
|
|
636
650
|
}
|
|
637
|
-
.ant-input-group.ant-input-group-compact
|
|
651
|
+
.ant-input-group.ant-input-group-compact
|
|
652
|
+
.ant-input-group-wrapper:not(:last-child).ant-input-search
|
|
653
|
+
> .ant-input-group
|
|
654
|
+
> .ant-input-group-addon
|
|
655
|
+
> .ant-input-search-button {
|
|
638
656
|
border-radius: 0;
|
|
639
657
|
}
|
|
640
|
-
.ant-input-group.ant-input-group-compact
|
|
658
|
+
.ant-input-group.ant-input-group-compact
|
|
659
|
+
.ant-input-group-wrapper:not(:last-child).ant-input-search
|
|
660
|
+
> .ant-input-group
|
|
661
|
+
> .ant-input {
|
|
641
662
|
border-radius: 2px 0 0 2px;
|
|
642
663
|
}
|
|
643
664
|
.ant-input-group > .ant-input-rtl:first-child,
|
|
@@ -669,24 +690,43 @@ textarea.ant-input {
|
|
|
669
690
|
border-left-width: 1px;
|
|
670
691
|
}
|
|
671
692
|
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:first-child,
|
|
672
|
-
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
673
|
-
|
|
674
|
-
|
|
693
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
694
|
+
> .ant-select:first-child
|
|
695
|
+
> .ant-select-selector,
|
|
696
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
697
|
+
> .ant-select-auto-complete:first-child
|
|
698
|
+
.ant-input,
|
|
699
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
700
|
+
> .ant-cascader-picker:first-child
|
|
701
|
+
.ant-input {
|
|
675
702
|
border-radius: 0 2px 2px 0;
|
|
676
703
|
}
|
|
677
704
|
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:last-child,
|
|
678
|
-
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
705
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
706
|
+
> .ant-select:last-child
|
|
707
|
+
> .ant-select-selector,
|
|
708
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
709
|
+
> .ant-select-auto-complete:last-child
|
|
710
|
+
.ant-input,
|
|
711
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
712
|
+
> .ant-cascader-picker:last-child
|
|
713
|
+
.ant-input,
|
|
714
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
715
|
+
> .ant-cascader-picker-focused:last-child
|
|
716
|
+
.ant-input {
|
|
682
717
|
border-left-width: 1px;
|
|
683
718
|
border-radius: 2px 0 0 2px;
|
|
684
719
|
}
|
|
685
|
-
.ant-input-group.ant-input-group-compact
|
|
720
|
+
.ant-input-group.ant-input-group-compact
|
|
721
|
+
.ant-input-group-wrapper-rtl
|
|
722
|
+
+ .ant-input-group-wrapper-rtl {
|
|
686
723
|
margin-right: -1px;
|
|
687
724
|
margin-left: 0;
|
|
688
725
|
}
|
|
689
|
-
.ant-input-group.ant-input-group-compact
|
|
726
|
+
.ant-input-group.ant-input-group-compact
|
|
727
|
+
.ant-input-group-wrapper-rtl:not(:last-child).ant-input-search
|
|
728
|
+
> .ant-input-group
|
|
729
|
+
> .ant-input {
|
|
690
730
|
border-radius: 0 2px 2px 0;
|
|
691
731
|
}
|
|
692
732
|
.ant-input-group-wrapper {
|
|
@@ -741,8 +781,14 @@ textarea.ant-input {
|
|
|
741
781
|
.ant-input-search .ant-input:focus {
|
|
742
782
|
border-color: #40a9ff;
|
|
743
783
|
}
|
|
744
|
-
.ant-input-search
|
|
745
|
-
.ant-input
|
|
784
|
+
.ant-input-search
|
|
785
|
+
.ant-input:hover
|
|
786
|
+
+ .ant-input-group-addon
|
|
787
|
+
.ant-input-search-button:not(.ant-btn-primary),
|
|
788
|
+
.ant-input-search
|
|
789
|
+
.ant-input:focus
|
|
790
|
+
+ .ant-input-group-addon
|
|
791
|
+
.ant-input-search-button:not(.ant-btn-primary) {
|
|
746
792
|
border-left-color: #40a9ff;
|
|
747
793
|
}
|
|
748
794
|
.ant-input-search .ant-input-affix-wrapper {
|
|
@@ -756,15 +802,24 @@ textarea.ant-input {
|
|
|
756
802
|
padding: 0;
|
|
757
803
|
border: 0;
|
|
758
804
|
}
|
|
759
|
-
.ant-input-search
|
|
805
|
+
.ant-input-search
|
|
806
|
+
> .ant-input-group
|
|
807
|
+
> .ant-input-group-addon:last-child
|
|
808
|
+
.ant-input-search-button {
|
|
760
809
|
padding-top: 0;
|
|
761
810
|
padding-bottom: 0;
|
|
762
811
|
border-radius: 0 2px 2px 0;
|
|
763
812
|
}
|
|
764
|
-
.ant-input-search
|
|
813
|
+
.ant-input-search
|
|
814
|
+
> .ant-input-group
|
|
815
|
+
> .ant-input-group-addon:last-child
|
|
816
|
+
.ant-input-search-button:not(.ant-btn-primary) {
|
|
765
817
|
color: rgba(0, 0, 0, 0.45);
|
|
766
818
|
}
|
|
767
|
-
.ant-input-search
|
|
819
|
+
.ant-input-search
|
|
820
|
+
> .ant-input-group
|
|
821
|
+
> .ant-input-group-addon:last-child
|
|
822
|
+
.ant-input-search-button:not(.ant-btn-primary).ant-btn-loading::before {
|
|
768
823
|
top: 0;
|
|
769
824
|
right: 0;
|
|
770
825
|
bottom: 0;
|
|
@@ -816,12 +871,24 @@ textarea.ant-input {
|
|
|
816
871
|
.ant-input-search-rtl {
|
|
817
872
|
direction: rtl;
|
|
818
873
|
}
|
|
819
|
-
.ant-input-search-rtl
|
|
820
|
-
.ant-input
|
|
874
|
+
.ant-input-search-rtl
|
|
875
|
+
.ant-input:hover
|
|
876
|
+
+ .ant-input-group-addon
|
|
877
|
+
.ant-input-search-button:not(.ant-btn-primary),
|
|
878
|
+
.ant-input-search-rtl
|
|
879
|
+
.ant-input:focus
|
|
880
|
+
+ .ant-input-group-addon
|
|
881
|
+
.ant-input-search-button:not(.ant-btn-primary) {
|
|
821
882
|
border-left-color: #d9d9d9;
|
|
822
883
|
}
|
|
823
|
-
.ant-input-search-rtl
|
|
824
|
-
.ant-input
|
|
884
|
+
.ant-input-search-rtl
|
|
885
|
+
.ant-input:hover
|
|
886
|
+
+ .ant-input-group-addon
|
|
887
|
+
.ant-input-search-button:not(.ant-btn-primary):hover,
|
|
888
|
+
.ant-input-search-rtl
|
|
889
|
+
.ant-input:focus
|
|
890
|
+
+ .ant-input-group-addon
|
|
891
|
+
.ant-input-search-button:not(.ant-btn-primary):hover {
|
|
825
892
|
border-left-color: #40a9ff;
|
|
826
893
|
}
|
|
827
894
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper:hover,
|
|
@@ -832,7 +899,10 @@ textarea.ant-input {
|
|
|
832
899
|
right: -1px;
|
|
833
900
|
left: auto;
|
|
834
901
|
}
|
|
835
|
-
.ant-input-search-rtl
|
|
902
|
+
.ant-input-search-rtl
|
|
903
|
+
> .ant-input-group
|
|
904
|
+
> .ant-input-group-addon:last-child
|
|
905
|
+
.ant-input-search-button {
|
|
836
906
|
border-radius: 2px 0 0 2px;
|
|
837
907
|
}
|
|
838
908
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import './index.less';
|
|
1
|
+
import './index.less';
|
package/lib/a-select/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { SelectProps } from 'antd/lib/select';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
export interface ASelectProps extends SelectProps {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
className?: string;
|
|
5
|
+
valueRender?: (value: any) => React.ReactNode;
|
|
6
6
|
}
|
|
7
7
|
declare const ASelect: {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
(props: ASelectProps): JSX.Element;
|
|
9
|
+
Option: import('rc-select/lib/Option').OptionFC;
|
|
10
10
|
};
|
|
11
11
|
export default ASelect;
|
package/lib/a-select/index.js
CHANGED
|
@@ -1,86 +1,119 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
var __assign =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
var __assign =
|
|
4
|
+
(this && this.__assign) ||
|
|
5
|
+
function () {
|
|
6
|
+
__assign =
|
|
7
|
+
Object.assign ||
|
|
8
|
+
function (t) {
|
|
9
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
10
|
+
s = arguments[i];
|
|
11
|
+
for (var p in s) {
|
|
12
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
return t;
|
|
16
|
+
};
|
|
17
|
+
return __assign.apply(this, arguments);
|
|
18
|
+
};
|
|
19
|
+
var __rest =
|
|
20
|
+
(this && this.__rest) ||
|
|
21
|
+
function (s, e) {
|
|
22
|
+
var t = {};
|
|
23
|
+
for (var p in s) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
10
25
|
}
|
|
26
|
+
if (s != null && typeof Object.getOwnPropertySymbols === 'function')
|
|
27
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
28
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
29
|
+
t[p[i]] = s[p[i]];
|
|
30
|
+
}
|
|
11
31
|
return t;
|
|
12
32
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}
|
|
23
|
-
return t;
|
|
24
|
-
};
|
|
25
|
-
var __read = this && this.__read || function (o, n) {
|
|
26
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
27
|
-
if (!m) return o;
|
|
28
|
-
var i = m.call(o),
|
|
29
|
-
r,
|
|
30
|
-
ar = [],
|
|
31
|
-
e;
|
|
32
|
-
try {
|
|
33
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
34
|
-
ar.push(r.value);
|
|
35
|
-
}
|
|
36
|
-
} catch (error) {
|
|
37
|
-
e = {
|
|
38
|
-
error: error
|
|
39
|
-
};
|
|
40
|
-
} finally {
|
|
33
|
+
var __read =
|
|
34
|
+
(this && this.__read) ||
|
|
35
|
+
function (o, n) {
|
|
36
|
+
var m = typeof Symbol === 'function' && o[Symbol.iterator];
|
|
37
|
+
if (!m) return o;
|
|
38
|
+
var i = m.call(o),
|
|
39
|
+
r,
|
|
40
|
+
ar = [],
|
|
41
|
+
e;
|
|
41
42
|
try {
|
|
42
|
-
|
|
43
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
44
|
+
ar.push(r.value);
|
|
45
|
+
}
|
|
46
|
+
} catch (error) {
|
|
47
|
+
e = {
|
|
48
|
+
error: error,
|
|
49
|
+
};
|
|
43
50
|
} finally {
|
|
44
|
-
|
|
51
|
+
try {
|
|
52
|
+
if (r && !r.done && (m = i['return'])) m.call(i);
|
|
53
|
+
} finally {
|
|
54
|
+
if (e) throw e.error;
|
|
55
|
+
}
|
|
45
56
|
}
|
|
46
|
-
|
|
47
|
-
return ar;
|
|
48
|
-
};
|
|
49
|
-
var __importDefault = this && this.__importDefault || function (mod) {
|
|
50
|
-
return mod && mod.__esModule ? mod : {
|
|
51
|
-
"default": mod
|
|
57
|
+
return ar;
|
|
52
58
|
};
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
59
|
+
var __importDefault =
|
|
60
|
+
(this && this.__importDefault) ||
|
|
61
|
+
function (mod) {
|
|
62
|
+
return mod && mod.__esModule
|
|
63
|
+
? mod
|
|
64
|
+
: {
|
|
65
|
+
default: mod,
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
Object.defineProperty(exports, '__esModule', {
|
|
69
|
+
value: true,
|
|
56
70
|
});
|
|
57
|
-
var react_1 = __importDefault(require(
|
|
58
|
-
var select_1 = __importDefault(require(
|
|
59
|
-
var classnames_1 = __importDefault(require(
|
|
60
|
-
var useControllableValue_1 = __importDefault(require(
|
|
71
|
+
var react_1 = __importDefault(require('react'));
|
|
72
|
+
var select_1 = __importDefault(require('antd/lib/select'));
|
|
73
|
+
var classnames_1 = __importDefault(require('classnames'));
|
|
74
|
+
var useControllableValue_1 = __importDefault(require('ahooks/lib/useControllableValue'));
|
|
61
75
|
var ASelect = function ASelect(props) {
|
|
62
76
|
var valueRender = props.valueRender,
|
|
63
77
|
className = props.className,
|
|
64
|
-
restProps = __rest(props, [
|
|
65
|
-
var _a = __read((0, useControllableValue_1[
|
|
78
|
+
restProps = __rest(props, ['valueRender', 'className']);
|
|
79
|
+
var _a = __read((0, useControllableValue_1['default'])(props), 2),
|
|
66
80
|
value = _a[0],
|
|
67
81
|
onChange = _a[1];
|
|
68
82
|
if (!valueRender) {
|
|
69
|
-
return react_1[
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
83
|
+
return react_1['default'].createElement(
|
|
84
|
+
select_1['default'],
|
|
85
|
+
__assign(
|
|
86
|
+
{
|
|
87
|
+
className: className,
|
|
88
|
+
},
|
|
89
|
+
restProps,
|
|
90
|
+
{
|
|
91
|
+
value: value,
|
|
92
|
+
onChange: onChange,
|
|
93
|
+
},
|
|
94
|
+
),
|
|
95
|
+
);
|
|
75
96
|
}
|
|
76
|
-
return react_1[
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
97
|
+
return react_1['default'].createElement(
|
|
98
|
+
'div',
|
|
99
|
+
{
|
|
100
|
+
className: (0, classnames_1['default'])('a-select-wrap', className),
|
|
101
|
+
},
|
|
102
|
+
react_1['default'].createElement(
|
|
103
|
+
'div',
|
|
104
|
+
{
|
|
105
|
+
className: 'a-select-value-wrap',
|
|
106
|
+
},
|
|
107
|
+
valueRender(value),
|
|
108
|
+
),
|
|
109
|
+
react_1['default'].createElement(
|
|
110
|
+
select_1['default'],
|
|
111
|
+
__assign({}, restProps, {
|
|
112
|
+
value: value,
|
|
113
|
+
onChange: onChange,
|
|
114
|
+
}),
|
|
115
|
+
),
|
|
116
|
+
);
|
|
84
117
|
};
|
|
85
|
-
exports[
|
|
86
|
-
ASelect.Option = select_1[
|
|
118
|
+
exports['default'] = ASelect;
|
|
119
|
+
ASelect.Option = select_1['default'].Option;
|