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
|
@@ -1,73 +1,86 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
var __assign =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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);
|
|
12
18
|
};
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
try {
|
|
23
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
24
|
-
ar.push(r.value);
|
|
25
|
-
}
|
|
26
|
-
} catch (error) {
|
|
27
|
-
e = {
|
|
28
|
-
error: error
|
|
29
|
-
};
|
|
30
|
-
} finally {
|
|
19
|
+
var __read =
|
|
20
|
+
(this && this.__read) ||
|
|
21
|
+
function (o, n) {
|
|
22
|
+
var m = typeof Symbol === 'function' && o[Symbol.iterator];
|
|
23
|
+
if (!m) return o;
|
|
24
|
+
var i = m.call(o),
|
|
25
|
+
r,
|
|
26
|
+
ar = [],
|
|
27
|
+
e;
|
|
31
28
|
try {
|
|
32
|
-
|
|
29
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
30
|
+
ar.push(r.value);
|
|
31
|
+
}
|
|
32
|
+
} catch (error) {
|
|
33
|
+
e = {
|
|
34
|
+
error: error,
|
|
35
|
+
};
|
|
33
36
|
} finally {
|
|
34
|
-
|
|
37
|
+
try {
|
|
38
|
+
if (r && !r.done && (m = i['return'])) m.call(i);
|
|
39
|
+
} finally {
|
|
40
|
+
if (e) throw e.error;
|
|
41
|
+
}
|
|
35
42
|
}
|
|
36
|
-
|
|
37
|
-
return ar;
|
|
38
|
-
};
|
|
39
|
-
var __importDefault = this && this.__importDefault || function (mod) {
|
|
40
|
-
return mod && mod.__esModule ? mod : {
|
|
41
|
-
"default": mod
|
|
43
|
+
return ar;
|
|
42
44
|
};
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
45
|
+
var __importDefault =
|
|
46
|
+
(this && this.__importDefault) ||
|
|
47
|
+
function (mod) {
|
|
48
|
+
return mod && mod.__esModule
|
|
49
|
+
? mod
|
|
50
|
+
: {
|
|
51
|
+
default: mod,
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
Object.defineProperty(exports, '__esModule', {
|
|
55
|
+
value: true,
|
|
46
56
|
});
|
|
47
|
-
var react_1 = __importDefault(require(
|
|
48
|
-
var useControllableValue_1 = __importDefault(require(
|
|
49
|
-
var auto_complete_1 = __importDefault(require(
|
|
50
|
-
var classnames_1 = __importDefault(require(
|
|
51
|
-
var omit_1 = __importDefault(require(
|
|
52
|
-
var trimStart_1 = __importDefault(require(
|
|
57
|
+
var react_1 = __importDefault(require('react'));
|
|
58
|
+
var useControllableValue_1 = __importDefault(require('ahooks/lib/useControllableValue'));
|
|
59
|
+
var auto_complete_1 = __importDefault(require('antd/lib/auto-complete'));
|
|
60
|
+
var classnames_1 = __importDefault(require('classnames'));
|
|
61
|
+
var omit_1 = __importDefault(require('lodash/omit'));
|
|
62
|
+
var trimStart_1 = __importDefault(require('lodash/trimStart'));
|
|
53
63
|
var LabelAutoComplete = function LabelAutoComplete(props) {
|
|
54
64
|
var className = props.className,
|
|
55
65
|
label = props.label,
|
|
56
66
|
onChange = props.onChange,
|
|
57
67
|
options = props.options,
|
|
58
68
|
onBlur = props.onBlur;
|
|
59
|
-
var autoComplete = react_1[
|
|
60
|
-
var _a = __read(
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
69
|
+
var autoComplete = react_1['default'].useRef(null);
|
|
70
|
+
var _a = __read(
|
|
71
|
+
(0, useControllableValue_1['default'])(props, {
|
|
72
|
+
valuePropName: 'open',
|
|
73
|
+
trigger: 'setOpen',
|
|
74
|
+
}),
|
|
75
|
+
2,
|
|
76
|
+
),
|
|
64
77
|
open = _a[0],
|
|
65
78
|
setOpen = _a[1];
|
|
66
|
-
var _b = __read((0, useControllableValue_1[
|
|
79
|
+
var _b = __read((0, useControllableValue_1['default'])(props), 2),
|
|
67
80
|
value = _b[0],
|
|
68
81
|
setValue = _b[1];
|
|
69
82
|
var handleChange = function handleChange(nextValue) {
|
|
70
|
-
var finallyValue = (0, trimStart_1[
|
|
83
|
+
var finallyValue = (0, trimStart_1['default'])(nextValue);
|
|
71
84
|
setValue(finallyValue);
|
|
72
85
|
onChange && onChange(finallyValue, options || []);
|
|
73
86
|
};
|
|
@@ -86,23 +99,42 @@ var LabelAutoComplete = function LabelAutoComplete(props) {
|
|
|
86
99
|
}
|
|
87
100
|
onBlur && onBlur(event);
|
|
88
101
|
};
|
|
89
|
-
return react_1[
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
102
|
+
return react_1['default'].createElement(
|
|
103
|
+
'div',
|
|
104
|
+
{
|
|
105
|
+
className: (0, classnames_1['default'])(
|
|
106
|
+
{
|
|
107
|
+
'label-auto-complete': true,
|
|
108
|
+
'label-auto-complete-label-scale': open || value,
|
|
109
|
+
},
|
|
110
|
+
className,
|
|
111
|
+
),
|
|
112
|
+
},
|
|
113
|
+
react_1['default'].createElement(
|
|
114
|
+
auto_complete_1['default'],
|
|
115
|
+
__assign(
|
|
116
|
+
{},
|
|
117
|
+
(0, omit_1['default'])(props, ['open', 'onChange', 'className', 'label']),
|
|
118
|
+
{
|
|
119
|
+
open: open,
|
|
120
|
+
ref: autoComplete,
|
|
121
|
+
value: value,
|
|
122
|
+
onBlur: handleBlur,
|
|
123
|
+
size: 'large',
|
|
124
|
+
className: 'label-auto-complete-selector',
|
|
125
|
+
onChange: handleChange,
|
|
126
|
+
onDropdownVisibleChange: onDropdownVisibleChange,
|
|
127
|
+
},
|
|
128
|
+
),
|
|
129
|
+
),
|
|
130
|
+
react_1['default'].createElement(
|
|
131
|
+
'label',
|
|
132
|
+
{
|
|
133
|
+
className: 'label-auto-complete-text',
|
|
134
|
+
onClick: handleLabelClick,
|
|
135
|
+
},
|
|
136
|
+
label,
|
|
137
|
+
),
|
|
138
|
+
);
|
|
107
139
|
};
|
|
108
|
-
exports[
|
|
140
|
+
exports['default'] = LabelAutoComplete;
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
/* stylelint-disable no-duplicate-selectors */
|
|
4
4
|
/* stylelint-disable */
|
|
5
5
|
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
|
|
6
|
-
[class^=ant-]::-ms-clear,
|
|
7
|
-
[class*=
|
|
8
|
-
[class^=ant-] input::-ms-clear,
|
|
9
|
-
[class*=
|
|
10
|
-
[class^=ant-] input::-ms-reveal,
|
|
11
|
-
[class*=
|
|
6
|
+
[class^='ant-']::-ms-clear,
|
|
7
|
+
[class*='ant-']::-ms-clear,
|
|
8
|
+
[class^='ant-'] input::-ms-clear,
|
|
9
|
+
[class*='ant-'] input::-ms-clear,
|
|
10
|
+
[class^='ant-'] input::-ms-reveal,
|
|
11
|
+
[class*='ant-'] input::-ms-reveal {
|
|
12
12
|
display: none;
|
|
13
13
|
}
|
|
14
14
|
/* stylelint-disable property-no-vendor-prefix, at-rule-no-vendor-prefix */
|
|
@@ -38,7 +38,9 @@ body {
|
|
|
38
38
|
margin: 0;
|
|
39
39
|
color: rgba(0, 0, 0, 0.85);
|
|
40
40
|
font-size: 14px;
|
|
41
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
41
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
|
|
42
|
+
Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
|
|
43
|
+
'Segoe UI Symbol', 'Noto Color Emoji';
|
|
42
44
|
font-variant: tabular-nums;
|
|
43
45
|
line-height: 1.5715;
|
|
44
46
|
background-color: #fff;
|
|
@@ -69,9 +71,9 @@ p {
|
|
|
69
71
|
}
|
|
70
72
|
abbr[title],
|
|
71
73
|
abbr[data-original-title] {
|
|
72
|
-
text-decoration: underline;
|
|
73
74
|
-webkit-text-decoration: underline dotted;
|
|
74
|
-
|
|
75
|
+
text-decoration: underline;
|
|
76
|
+
text-decoration: underline dotted;
|
|
75
77
|
border-bottom: 0;
|
|
76
78
|
cursor: help;
|
|
77
79
|
}
|
|
@@ -219,9 +221,9 @@ select {
|
|
|
219
221
|
text-transform: none;
|
|
220
222
|
}
|
|
221
223
|
button,
|
|
222
|
-
html [type=
|
|
223
|
-
[type=
|
|
224
|
-
[type=
|
|
224
|
+
html [type='button'],
|
|
225
|
+
[type='reset'],
|
|
226
|
+
[type='submit'] {
|
|
225
227
|
-webkit-appearance: button;
|
|
226
228
|
}
|
|
227
229
|
button::-moz-focus-inner,
|
|
@@ -354,13 +356,13 @@ mark {
|
|
|
354
356
|
.ant-fade-enter,
|
|
355
357
|
.ant-fade-appear {
|
|
356
358
|
animation-duration: 0.2s;
|
|
357
|
-
animation-fill-mode: both;
|
|
358
359
|
animation-play-state: paused;
|
|
360
|
+
animation-fill-mode: both;
|
|
359
361
|
}
|
|
360
362
|
.ant-fade-leave {
|
|
361
363
|
animation-duration: 0.2s;
|
|
362
|
-
animation-fill-mode: both;
|
|
363
364
|
animation-play-state: paused;
|
|
365
|
+
animation-fill-mode: both;
|
|
364
366
|
}
|
|
365
367
|
.ant-fade-enter.ant-fade-enter-active,
|
|
366
368
|
.ant-fade-appear.ant-fade-appear-active {
|
|
@@ -399,13 +401,13 @@ mark {
|
|
|
399
401
|
.ant-move-up-enter,
|
|
400
402
|
.ant-move-up-appear {
|
|
401
403
|
animation-duration: 0.2s;
|
|
402
|
-
animation-fill-mode: both;
|
|
403
404
|
animation-play-state: paused;
|
|
405
|
+
animation-fill-mode: both;
|
|
404
406
|
}
|
|
405
407
|
.ant-move-up-leave {
|
|
406
408
|
animation-duration: 0.2s;
|
|
407
|
-
animation-fill-mode: both;
|
|
408
409
|
animation-play-state: paused;
|
|
410
|
+
animation-fill-mode: both;
|
|
409
411
|
}
|
|
410
412
|
.ant-move-up-enter.ant-move-up-enter-active,
|
|
411
413
|
.ant-move-up-appear.ant-move-up-appear-active {
|
|
@@ -428,13 +430,13 @@ mark {
|
|
|
428
430
|
.ant-move-down-enter,
|
|
429
431
|
.ant-move-down-appear {
|
|
430
432
|
animation-duration: 0.2s;
|
|
431
|
-
animation-fill-mode: both;
|
|
432
433
|
animation-play-state: paused;
|
|
434
|
+
animation-fill-mode: both;
|
|
433
435
|
}
|
|
434
436
|
.ant-move-down-leave {
|
|
435
437
|
animation-duration: 0.2s;
|
|
436
|
-
animation-fill-mode: both;
|
|
437
438
|
animation-play-state: paused;
|
|
439
|
+
animation-fill-mode: both;
|
|
438
440
|
}
|
|
439
441
|
.ant-move-down-enter.ant-move-down-enter-active,
|
|
440
442
|
.ant-move-down-appear.ant-move-down-appear-active {
|
|
@@ -457,13 +459,13 @@ mark {
|
|
|
457
459
|
.ant-move-left-enter,
|
|
458
460
|
.ant-move-left-appear {
|
|
459
461
|
animation-duration: 0.2s;
|
|
460
|
-
animation-fill-mode: both;
|
|
461
462
|
animation-play-state: paused;
|
|
463
|
+
animation-fill-mode: both;
|
|
462
464
|
}
|
|
463
465
|
.ant-move-left-leave {
|
|
464
466
|
animation-duration: 0.2s;
|
|
465
|
-
animation-fill-mode: both;
|
|
466
467
|
animation-play-state: paused;
|
|
468
|
+
animation-fill-mode: both;
|
|
467
469
|
}
|
|
468
470
|
.ant-move-left-enter.ant-move-left-enter-active,
|
|
469
471
|
.ant-move-left-appear.ant-move-left-appear-active {
|
|
@@ -486,13 +488,13 @@ mark {
|
|
|
486
488
|
.ant-move-right-enter,
|
|
487
489
|
.ant-move-right-appear {
|
|
488
490
|
animation-duration: 0.2s;
|
|
489
|
-
animation-fill-mode: both;
|
|
490
491
|
animation-play-state: paused;
|
|
492
|
+
animation-fill-mode: both;
|
|
491
493
|
}
|
|
492
494
|
.ant-move-right-leave {
|
|
493
495
|
animation-duration: 0.2s;
|
|
494
|
-
animation-fill-mode: both;
|
|
495
496
|
animation-play-state: paused;
|
|
497
|
+
animation-fill-mode: both;
|
|
496
498
|
}
|
|
497
499
|
.ant-move-right-enter.ant-move-right-enter-active,
|
|
498
500
|
.ant-move-right-appear.ant-move-right-appear-active {
|
|
@@ -633,7 +635,8 @@ html {
|
|
|
633
635
|
box-shadow: 0 0 0 0 #1890ff;
|
|
634
636
|
box-shadow: 0 0 0 0 var(--antd-wave-shadow-color);
|
|
635
637
|
opacity: 0.2;
|
|
636
|
-
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
|
|
638
|
+
animation: fadeEffect 2s cubic-bezier(0.08, 0.82, 0.17, 1),
|
|
639
|
+
waveEffect 0.4s cubic-bezier(0.08, 0.82, 0.17, 1);
|
|
637
640
|
animation-fill-mode: forwards;
|
|
638
641
|
content: '';
|
|
639
642
|
pointer-events: none;
|
|
@@ -652,13 +655,13 @@ html {
|
|
|
652
655
|
.ant-slide-up-enter,
|
|
653
656
|
.ant-slide-up-appear {
|
|
654
657
|
animation-duration: 0.2s;
|
|
655
|
-
animation-fill-mode: both;
|
|
656
658
|
animation-play-state: paused;
|
|
659
|
+
animation-fill-mode: both;
|
|
657
660
|
}
|
|
658
661
|
.ant-slide-up-leave {
|
|
659
662
|
animation-duration: 0.2s;
|
|
660
|
-
animation-fill-mode: both;
|
|
661
663
|
animation-play-state: paused;
|
|
664
|
+
animation-fill-mode: both;
|
|
662
665
|
}
|
|
663
666
|
.ant-slide-up-enter.ant-slide-up-enter-active,
|
|
664
667
|
.ant-slide-up-appear.ant-slide-up-appear-active {
|
|
@@ -681,13 +684,13 @@ html {
|
|
|
681
684
|
.ant-slide-down-enter,
|
|
682
685
|
.ant-slide-down-appear {
|
|
683
686
|
animation-duration: 0.2s;
|
|
684
|
-
animation-fill-mode: both;
|
|
685
687
|
animation-play-state: paused;
|
|
688
|
+
animation-fill-mode: both;
|
|
686
689
|
}
|
|
687
690
|
.ant-slide-down-leave {
|
|
688
691
|
animation-duration: 0.2s;
|
|
689
|
-
animation-fill-mode: both;
|
|
690
692
|
animation-play-state: paused;
|
|
693
|
+
animation-fill-mode: both;
|
|
691
694
|
}
|
|
692
695
|
.ant-slide-down-enter.ant-slide-down-enter-active,
|
|
693
696
|
.ant-slide-down-appear.ant-slide-down-appear-active {
|
|
@@ -710,13 +713,13 @@ html {
|
|
|
710
713
|
.ant-slide-left-enter,
|
|
711
714
|
.ant-slide-left-appear {
|
|
712
715
|
animation-duration: 0.2s;
|
|
713
|
-
animation-fill-mode: both;
|
|
714
716
|
animation-play-state: paused;
|
|
717
|
+
animation-fill-mode: both;
|
|
715
718
|
}
|
|
716
719
|
.ant-slide-left-leave {
|
|
717
720
|
animation-duration: 0.2s;
|
|
718
|
-
animation-fill-mode: both;
|
|
719
721
|
animation-play-state: paused;
|
|
722
|
+
animation-fill-mode: both;
|
|
720
723
|
}
|
|
721
724
|
.ant-slide-left-enter.ant-slide-left-enter-active,
|
|
722
725
|
.ant-slide-left-appear.ant-slide-left-appear-active {
|
|
@@ -739,13 +742,13 @@ html {
|
|
|
739
742
|
.ant-slide-right-enter,
|
|
740
743
|
.ant-slide-right-appear {
|
|
741
744
|
animation-duration: 0.2s;
|
|
742
|
-
animation-fill-mode: both;
|
|
743
745
|
animation-play-state: paused;
|
|
746
|
+
animation-fill-mode: both;
|
|
744
747
|
}
|
|
745
748
|
.ant-slide-right-leave {
|
|
746
749
|
animation-duration: 0.2s;
|
|
747
|
-
animation-fill-mode: both;
|
|
748
750
|
animation-play-state: paused;
|
|
751
|
+
animation-fill-mode: both;
|
|
749
752
|
}
|
|
750
753
|
.ant-slide-right-enter.ant-slide-right-enter-active,
|
|
751
754
|
.ant-slide-right-appear.ant-slide-right-appear-active {
|
|
@@ -864,13 +867,13 @@ html {
|
|
|
864
867
|
.ant-zoom-enter,
|
|
865
868
|
.ant-zoom-appear {
|
|
866
869
|
animation-duration: 0.2s;
|
|
867
|
-
animation-fill-mode: both;
|
|
868
870
|
animation-play-state: paused;
|
|
871
|
+
animation-fill-mode: both;
|
|
869
872
|
}
|
|
870
873
|
.ant-zoom-leave {
|
|
871
874
|
animation-duration: 0.2s;
|
|
872
|
-
animation-fill-mode: both;
|
|
873
875
|
animation-play-state: paused;
|
|
876
|
+
animation-fill-mode: both;
|
|
874
877
|
}
|
|
875
878
|
.ant-zoom-enter.ant-zoom-enter-active,
|
|
876
879
|
.ant-zoom-appear.ant-zoom-appear-active {
|
|
@@ -898,13 +901,13 @@ html {
|
|
|
898
901
|
.ant-zoom-big-enter,
|
|
899
902
|
.ant-zoom-big-appear {
|
|
900
903
|
animation-duration: 0.2s;
|
|
901
|
-
animation-fill-mode: both;
|
|
902
904
|
animation-play-state: paused;
|
|
905
|
+
animation-fill-mode: both;
|
|
903
906
|
}
|
|
904
907
|
.ant-zoom-big-leave {
|
|
905
908
|
animation-duration: 0.2s;
|
|
906
|
-
animation-fill-mode: both;
|
|
907
909
|
animation-play-state: paused;
|
|
910
|
+
animation-fill-mode: both;
|
|
908
911
|
}
|
|
909
912
|
.ant-zoom-big-enter.ant-zoom-big-enter-active,
|
|
910
913
|
.ant-zoom-big-appear.ant-zoom-big-appear-active {
|
|
@@ -932,13 +935,13 @@ html {
|
|
|
932
935
|
.ant-zoom-big-fast-enter,
|
|
933
936
|
.ant-zoom-big-fast-appear {
|
|
934
937
|
animation-duration: 0.1s;
|
|
935
|
-
animation-fill-mode: both;
|
|
936
938
|
animation-play-state: paused;
|
|
939
|
+
animation-fill-mode: both;
|
|
937
940
|
}
|
|
938
941
|
.ant-zoom-big-fast-leave {
|
|
939
942
|
animation-duration: 0.1s;
|
|
940
|
-
animation-fill-mode: both;
|
|
941
943
|
animation-play-state: paused;
|
|
944
|
+
animation-fill-mode: both;
|
|
942
945
|
}
|
|
943
946
|
.ant-zoom-big-fast-enter.ant-zoom-big-fast-enter-active,
|
|
944
947
|
.ant-zoom-big-fast-appear.ant-zoom-big-fast-appear-active {
|
|
@@ -966,13 +969,13 @@ html {
|
|
|
966
969
|
.ant-zoom-up-enter,
|
|
967
970
|
.ant-zoom-up-appear {
|
|
968
971
|
animation-duration: 0.2s;
|
|
969
|
-
animation-fill-mode: both;
|
|
970
972
|
animation-play-state: paused;
|
|
973
|
+
animation-fill-mode: both;
|
|
971
974
|
}
|
|
972
975
|
.ant-zoom-up-leave {
|
|
973
976
|
animation-duration: 0.2s;
|
|
974
|
-
animation-fill-mode: both;
|
|
975
977
|
animation-play-state: paused;
|
|
978
|
+
animation-fill-mode: both;
|
|
976
979
|
}
|
|
977
980
|
.ant-zoom-up-enter.ant-zoom-up-enter-active,
|
|
978
981
|
.ant-zoom-up-appear.ant-zoom-up-appear-active {
|
|
@@ -1000,13 +1003,13 @@ html {
|
|
|
1000
1003
|
.ant-zoom-down-enter,
|
|
1001
1004
|
.ant-zoom-down-appear {
|
|
1002
1005
|
animation-duration: 0.2s;
|
|
1003
|
-
animation-fill-mode: both;
|
|
1004
1006
|
animation-play-state: paused;
|
|
1007
|
+
animation-fill-mode: both;
|
|
1005
1008
|
}
|
|
1006
1009
|
.ant-zoom-down-leave {
|
|
1007
1010
|
animation-duration: 0.2s;
|
|
1008
|
-
animation-fill-mode: both;
|
|
1009
1011
|
animation-play-state: paused;
|
|
1012
|
+
animation-fill-mode: both;
|
|
1010
1013
|
}
|
|
1011
1014
|
.ant-zoom-down-enter.ant-zoom-down-enter-active,
|
|
1012
1015
|
.ant-zoom-down-appear.ant-zoom-down-appear-active {
|
|
@@ -1034,13 +1037,13 @@ html {
|
|
|
1034
1037
|
.ant-zoom-left-enter,
|
|
1035
1038
|
.ant-zoom-left-appear {
|
|
1036
1039
|
animation-duration: 0.2s;
|
|
1037
|
-
animation-fill-mode: both;
|
|
1038
1040
|
animation-play-state: paused;
|
|
1041
|
+
animation-fill-mode: both;
|
|
1039
1042
|
}
|
|
1040
1043
|
.ant-zoom-left-leave {
|
|
1041
1044
|
animation-duration: 0.2s;
|
|
1042
|
-
animation-fill-mode: both;
|
|
1043
1045
|
animation-play-state: paused;
|
|
1046
|
+
animation-fill-mode: both;
|
|
1044
1047
|
}
|
|
1045
1048
|
.ant-zoom-left-enter.ant-zoom-left-enter-active,
|
|
1046
1049
|
.ant-zoom-left-appear.ant-zoom-left-appear-active {
|
|
@@ -1068,13 +1071,13 @@ html {
|
|
|
1068
1071
|
.ant-zoom-right-enter,
|
|
1069
1072
|
.ant-zoom-right-appear {
|
|
1070
1073
|
animation-duration: 0.2s;
|
|
1071
|
-
animation-fill-mode: both;
|
|
1072
1074
|
animation-play-state: paused;
|
|
1075
|
+
animation-fill-mode: both;
|
|
1073
1076
|
}
|
|
1074
1077
|
.ant-zoom-right-leave {
|
|
1075
1078
|
animation-duration: 0.2s;
|
|
1076
|
-
animation-fill-mode: both;
|
|
1077
1079
|
animation-play-state: paused;
|
|
1080
|
+
animation-fill-mode: both;
|
|
1078
1081
|
}
|
|
1079
1082
|
.ant-zoom-right-enter.ant-zoom-right-enter-active,
|
|
1080
1083
|
.ant-zoom-right-appear.ant-zoom-right-appear-active {
|
|
@@ -1229,27 +1232,35 @@ html {
|
|
|
1229
1232
|
overflow: hidden;
|
|
1230
1233
|
}
|
|
1231
1234
|
.ant-motion-collapse-legacy-active {
|
|
1232
|
-
transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
1235
|
+
transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
1236
|
+
opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
|
|
1233
1237
|
}
|
|
1234
1238
|
.ant-motion-collapse {
|
|
1235
1239
|
overflow: hidden;
|
|
1236
|
-
transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
1240
|
+
transition: height 0.2s cubic-bezier(0.645, 0.045, 0.355, 1),
|
|
1241
|
+
opacity 0.2s cubic-bezier(0.645, 0.045, 0.355, 1) !important;
|
|
1237
1242
|
}
|
|
1238
1243
|
.label-auto-complete {
|
|
1239
1244
|
position: relative;
|
|
1240
1245
|
width: 100%;
|
|
1241
1246
|
height: 100%;
|
|
1242
1247
|
}
|
|
1243
|
-
.label-auto-complete
|
|
1248
|
+
.label-auto-complete
|
|
1249
|
+
.ant-select-single.ant-select-lg:not(.ant-select-customize-input):not(.ant-select-disabled)
|
|
1250
|
+
.ant-select-selector:hover {
|
|
1244
1251
|
border-color: #a0a0a0;
|
|
1245
1252
|
}
|
|
1246
|
-
.label-auto-complete
|
|
1253
|
+
.label-auto-complete
|
|
1254
|
+
.ant-select-single.ant-select-lg:not(.ant-select-customize-input)
|
|
1255
|
+
.ant-select-selector {
|
|
1247
1256
|
height: 45px;
|
|
1248
1257
|
border: 1px solid #e5e5e5;
|
|
1249
1258
|
border-radius: 2px;
|
|
1250
1259
|
outline: none;
|
|
1251
1260
|
}
|
|
1252
|
-
.label-auto-complete
|
|
1261
|
+
.label-auto-complete
|
|
1262
|
+
.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input)
|
|
1263
|
+
.ant-select-selector {
|
|
1253
1264
|
border-color: #000;
|
|
1254
1265
|
box-shadow: none;
|
|
1255
1266
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
Object.defineProperty(exports,
|
|
4
|
-
value: true
|
|
3
|
+
Object.defineProperty(exports, '__esModule', {
|
|
4
|
+
value: true,
|
|
5
5
|
});
|
|
6
|
-
require(
|
|
7
|
-
require(
|
|
6
|
+
require('antd/lib/select/style');
|
|
7
|
+
require('./index.less');
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ConditionInputProps } from '../condition-input';
|
|
3
|
-
export interface LabelConditionInputProps
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
export interface LabelConditionInputProps
|
|
4
|
+
extends Omit<ConditionInputProps, 'onBlur' | 'onChange'> {
|
|
5
|
+
/** label 标签的文本 */
|
|
6
|
+
label?: React.ReactNode;
|
|
7
|
+
/** 输入框内容变化时的回调 */
|
|
8
|
+
onChange?: (value: string) => void;
|
|
9
|
+
/** 输入框失去焦点的回调 */
|
|
10
|
+
onBlur?: (value: string) => void;
|
|
11
|
+
/** 输入框除去label之后的最小末尾宽度 */
|
|
12
|
+
baseMinWidth?: number;
|
|
13
|
+
/** 组件dom id */
|
|
14
|
+
id?: string;
|
|
14
15
|
}
|
|
15
16
|
declare const LabelConditionInput: (props: LabelConditionInputProps) => JSX.Element;
|
|
16
17
|
export default LabelConditionInput;
|