assui 3.2.43 → 3.2.44
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 +59 -88
- package/es/a-select/style/index.css +47 -52
- package/es/a-select/style/index.js +2 -2
- package/es/a-select/style/index.less +1 -2
- package/es/area-text/index.d.ts +2 -2
- package/es/area-text/index.js +5 -9
- package/es/area-text/style/index.js +1 -1
- package/es/beautiful-dnd/index.js +1 -1
- package/es/button-drawer/index.d.ts +8 -10
- package/es/button-drawer/index.js +61 -94
- package/es/button-drawer/style/index.js +1 -1
- package/es/button-modal/index.d.ts +8 -10
- package/es/button-modal/index.js +60 -93
- 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 +22 -24
- package/es/color-select/index.d.ts +18 -18
- package/es/color-select/index.js +68 -113
- package/es/color-select/style/index.css +47 -52
- package/es/color-select/style/index.js +1 -1
- package/es/complex-val-select/index.d.ts +13 -25
- package/es/complex-val-select/index.js +54 -71
- package/es/complex-val-select/style/index.js +1 -1
- package/es/condition-input/index.d.ts +13 -21
- package/es/condition-input/index.js +51 -67
- package/es/condition-input/parse2RegexOption.d.ts +7 -10
- package/es/condition-input/parse2RegexOption.js +21 -31
- package/es/condition-input/style/index.js +1 -1
- package/es/condition-select/index.d.ts +1 -7
- package/es/condition-select/index.js +85 -141
- package/es/condition-select/style/index.js +3 -3
- package/es/condition-select/types.d.ts +14 -16
- package/es/condition-select/types.js +1 -1
- package/es/condition-select/utils/index.d.ts +2 -5
- package/es/condition-select/utils/index.js +2 -2
- package/es/condition-select-input/index.d.ts +29 -29
- package/es/condition-select-input/index.js +106 -196
- 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 +3 -27
- package/es/config-provider/index.js +5 -9
- package/es/copy-to-clipboard/index.d.ts +18 -20
- package/es/copy-to-clipboard/index.js +44 -63
- package/es/copy-to-clipboard/style/index.css +14 -23
- 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 +26 -44
- package/es/count-up/index.d.ts +2 -2
- package/es/count-up/index.js +1 -1
- package/es/flex/index.d.ts +18 -21
- package/es/flex/index.js +32 -64
- package/es/flex/style/index.css +47 -52
- package/es/flex/style/index.js +1 -1
- package/es/flex/utils/gapSize.js +1 -1
- package/es/flex/utils/index.d.ts +3 -27
- package/es/flex/utils/index.js +19 -53
- package/es/highlight-textarea/HighlighedContents.d.ts +3 -6
- package/es/highlight-textarea/HighlighedContents.js +5 -9
- package/es/highlight-textarea/extractSpansOfClasses.d.ts +10 -10
- package/es/highlight-textarea/extractSpansOfClasses.js +45 -62
- package/es/highlight-textarea/getRanges.js +34 -41
- package/es/highlight-textarea/getType.js +2 -6
- package/es/highlight-textarea/index.d.ts +7 -14
- package/es/highlight-textarea/index.js +70 -114
- package/es/highlight-textarea/style/index.css +55 -125
- package/es/highlight-textarea/style/index.js +1 -1
- package/es/highlight-textarea/types.d.ts +7 -26
- package/es/highlight-textarea/types.js +1 -1
- package/es/highlight-words/index.d.ts +2 -6
- package/es/highlight-words/index.js +1 -1
- package/es/img-crop/EasyCrop.d.ts +2 -6
- package/es/img-crop/EasyCrop.js +79 -104
- package/es/img-crop/getCroppedImg.d.ts +3 -8
- package/es/img-crop/getCroppedImg.js +118 -155
- package/es/img-crop/index.d.ts +29 -29
- package/es/img-crop/index.js +340 -490
- package/es/img-crop/style/index.css +47 -52
- package/es/img-crop/style/index.d.ts +1 -1
- package/es/img-crop/style/index.js +3 -3
- package/es/index.d.ts +56 -62
- package/es/index.js +29 -29
- package/es/json-editor/index.d.ts +5 -7
- package/es/json-editor/index.js +62 -91
- package/es/json-editor/style/index.js +1 -1
- package/es/keep-tab/index.d.ts +17 -17
- package/es/keep-tab/index.js +78 -125
- package/es/keep-tab/style/index.css +32 -72
- 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 +58 -82
- package/es/label-auto-complete/style/index.css +50 -61
- package/es/label-auto-complete/style/index.js +2 -2
- package/es/label-condition-input/index.d.ts +11 -12
- package/es/label-condition-input/index.js +62 -100
- package/es/label-condition-input/style/index.css +47 -52
- package/es/label-condition-input/style/index.js +1 -1
- package/es/label-condition-select-input/index.d.ts +33 -35
- package/es/label-condition-select-input/index.js +109 -198
- package/es/label-condition-select-input/style/index.css +47 -52
- 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 +28 -34
- package/es/label-customize-range-picker/defaultRadioList.js +114 -206
- package/es/label-customize-range-picker/index.d.ts +24 -27
- package/es/label-customize-range-picker/index.js +141 -300
- package/es/label-customize-range-picker/style/index.css +47 -52
- 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 +3 -9
- package/es/label-customize-range-picker/utils/index.js +29 -57
- package/es/label-date-picker/index.d.ts +2 -2
- package/es/label-date-picker/index.js +57 -81
- package/es/label-date-picker/style/index.css +47 -52
- package/es/label-date-picker/style/index.js +2 -2
- package/es/label-input/index.d.ts +25 -29
- package/es/label-input/index.js +80 -122
- package/es/label-input/style/index.css +47 -52
- 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 +63 -101
- package/es/label-number-input/style/index.css +48 -54
- 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 +95 -156
- package/es/label-range-number/style/index.css +47 -52
- 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 +71 -103
- package/es/label-range-picker/style/index.css +47 -52
- package/es/label-range-picker/style/index.js +2 -2
- package/es/label-select/index.d.ts +5 -7
- package/es/label-select/index.js +69 -100
- package/es/label-select/style/index.css +51 -65
- package/es/label-select/style/index.js +2 -2
- package/es/label-text-area/index.d.ts +17 -21
- package/es/label-text-area/index.js +64 -97
- package/es/label-text-area/style/index.css +47 -52
- package/es/label-text-area/style/index.js +1 -1
- package/es/label-tree-select/index.d.ts +7 -8
- package/es/label-tree-select/index.js +61 -98
- package/es/label-tree-select/style/index.css +48 -55
- 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 +23 -27
- 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 +1 -3
- package/es/multipart-upload/getMultipartUploadHandler.js +6 -8
- package/es/multipart-upload/index.d.ts +33 -39
- package/es/multipart-upload/index.js +121 -217
- package/es/multipart-upload/parse2RegexOption.d.ts +7 -10
- package/es/multipart-upload/parse2RegexOption.js +21 -31
- package/es/multipart-upload/style/index.css +47 -52
- package/es/multipart-upload/style/index.js +2 -2
- package/es/number-format-input/index.js +25 -36
- 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 +35 -37
- package/es/number-input/index.js +65 -94
- package/es/number-input/style/index.js +1 -1
- package/es/number-input/utils.d.ts +6 -15
- package/es/number-input/utils.js +2 -2
- package/es/rc-echart/core.d.ts +13 -13
- package/es/rc-echart/core.js +19 -28
- package/es/rc-echart/index.d.ts +12 -12
- package/es/rc-echart/index.js +16 -26
- package/es/rc-motion/index.d.ts +2 -14
- package/es/rc-motion/index.js +1 -1
- package/es/rc-qrcode/index.d.ts +8 -11
- package/es/rc-qrcode/index.js +17 -21
- package/es/rc-qrcode/useQrcode.d.ts +2 -5
- package/es/rc-qrcode/useQrcode.js +33 -38
- package/es/rc-transition-group/index.js +1 -1
- package/es/resizable/index.d.ts +1 -10
- 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 +45 -78
- package/es/rich-text-editor/lang/zh_CN.d.ts +404 -404
- package/es/rich-text-editor/lang/zh_CN.js +393 -416
- package/es/rich-text-editor/plugins/code/index.js +20 -25
- package/es/rich-text-editor/style/index.css +47 -52
- 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 +230 -338
- package/es/single-img-upload/style/index.css +47 -52
- 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 +13 -17
- 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 +85 -135
- package/es/step-number-input/style/index.css +47 -52
- 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 +7 -11
- package/es/table-col/style/index.js +1 -1
- package/es/text-area/index.d.ts +8 -13
- package/es/text-area/index.js +48 -64
- package/es/text-area/style/index.js +1 -1
- package/es/text-input/index.d.ts +1 -3
- package/es/text-input/index.js +58 -76
- package/es/text-input/style/index.css +53 -123
- package/es/text-input/style/index.js +1 -1
- package/lib/a-select/index.d.ts +5 -5
- package/lib/a-select/index.js +69 -102
- package/lib/a-select/style/index.css +47 -52
- package/lib/a-select/style/index.js +5 -5
- package/lib/a-select/style/index.less +1 -2
- package/lib/area-text/index.d.ts +2 -2
- package/lib/area-text/index.js +13 -21
- package/lib/area-text/style/index.js +4 -4
- package/lib/beautiful-dnd/index.js +37 -52
- package/lib/button-drawer/index.d.ts +8 -10
- package/lib/button-drawer/index.js +101 -153
- package/lib/button-drawer/style/index.js +4 -4
- package/lib/button-modal/index.d.ts +8 -10
- package/lib/button-modal/index.js +99 -151
- 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 +26 -28
- package/lib/color-select/index.d.ts +18 -18
- package/lib/color-select/index.js +112 -180
- package/lib/color-select/style/index.css +47 -52
- package/lib/color-select/style/index.js +5 -5
- package/lib/complex-val-select/index.d.ts +13 -25
- package/lib/complex-val-select/index.js +102 -140
- package/lib/complex-val-select/style/index.js +4 -4
- package/lib/condition-input/index.d.ts +13 -21
- package/lib/condition-input/index.js +96 -131
- package/lib/condition-input/parse2RegexOption.d.ts +7 -10
- package/lib/condition-input/parse2RegexOption.js +33 -47
- package/lib/condition-input/style/index.js +4 -4
- package/lib/condition-select/index.d.ts +1 -7
- package/lib/condition-select/index.js +94 -154
- package/lib/condition-select/style/index.js +6 -6
- package/lib/condition-select/types.d.ts +14 -16
- package/lib/condition-select/types.js +4 -4
- package/lib/condition-select/utils/index.d.ts +2 -5
- package/lib/condition-select/utils/index.js +5 -5
- package/lib/condition-select-input/index.d.ts +29 -29
- package/lib/condition-select-input/index.js +150 -259
- 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 +11 -15
- package/lib/config-provider/index.d.ts +3 -27
- package/lib/config-provider/index.js +61 -69
- package/lib/copy-to-clipboard/index.d.ts +18 -20
- package/lib/copy-to-clipboard/index.js +86 -124
- package/lib/copy-to-clipboard/style/index.css +14 -23
- 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 +36 -58
- package/lib/count-up/index.d.ts +2 -2
- package/lib/count-up/index.js +39 -54
- package/lib/flex/index.d.ts +18 -21
- package/lib/flex/index.js +42 -78
- package/lib/flex/style/index.css +47 -52
- package/lib/flex/style/index.js +4 -4
- package/lib/flex/utils/gapSize.js +4 -4
- package/lib/flex/utils/index.d.ts +3 -27
- package/lib/flex/utils/index.js +27 -65
- package/lib/highlight-textarea/HighlighedContents.d.ts +3 -6
- package/lib/highlight-textarea/HighlighedContents.js +16 -24
- package/lib/highlight-textarea/extractSpansOfClasses.d.ts +10 -10
- package/lib/highlight-textarea/extractSpansOfClasses.js +54 -75
- package/lib/highlight-textarea/getRanges.js +44 -55
- package/lib/highlight-textarea/getType.js +6 -10
- package/lib/highlight-textarea/index.d.ts +7 -14
- package/lib/highlight-textarea/index.js +113 -176
- package/lib/highlight-textarea/style/index.css +55 -125
- package/lib/highlight-textarea/style/index.js +4 -4
- package/lib/highlight-textarea/types.d.ts +7 -26
- package/lib/highlight-textarea/types.js +4 -4
- package/lib/highlight-words/index.d.ts +2 -6
- package/lib/highlight-words/index.js +9 -13
- package/lib/img-crop/EasyCrop.d.ts +2 -6
- package/lib/img-crop/EasyCrop.js +120 -164
- package/lib/img-crop/getCroppedImg.d.ts +3 -8
- package/lib/img-crop/getCroppedImg.js +121 -158
- package/lib/img-crop/index.d.ts +29 -29
- package/lib/img-crop/index.js +383 -555
- package/lib/img-crop/style/index.css +47 -52
- package/lib/img-crop/style/index.d.ts +1 -1
- package/lib/img-crop/style/index.js +6 -6
- package/lib/index.d.ts +56 -62
- package/lib/index.js +202 -254
- package/lib/json-editor/index.d.ts +5 -7
- package/lib/json-editor/index.js +108 -156
- package/lib/json-editor/style/index.js +5 -5
- package/lib/keep-tab/index.d.ts +17 -17
- package/lib/keep-tab/index.js +120 -186
- package/lib/keep-tab/style/index.css +32 -72
- 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 +71 -103
- package/lib/label-auto-complete/style/index.css +50 -61
- package/lib/label-auto-complete/style/index.js +5 -5
- package/lib/label-condition-input/index.d.ts +11 -12
- package/lib/label-condition-input/index.js +77 -119
- package/lib/label-condition-input/style/index.css +47 -52
- package/lib/label-condition-input/style/index.js +4 -4
- package/lib/label-condition-select-input/index.d.ts +33 -35
- package/lib/label-condition-select-input/index.js +154 -262
- package/lib/label-condition-select-input/style/index.css +47 -52
- 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 +28 -34
- package/lib/label-customize-range-picker/defaultRadioList.js +156 -297
- package/lib/label-customize-range-picker/index.d.ts +24 -27
- package/lib/label-customize-range-picker/index.js +186 -363
- package/lib/label-customize-range-picker/style/index.css +47 -52
- 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 +3 -9
- package/lib/label-customize-range-picker/utils/index.js +38 -75
- package/lib/label-date-picker/index.d.ts +2 -2
- package/lib/label-date-picker/index.js +68 -96
- package/lib/label-date-picker/style/index.css +47 -52
- package/lib/label-date-picker/style/index.js +5 -5
- package/lib/label-input/index.d.ts +25 -29
- package/lib/label-input/index.js +96 -142
- package/lib/label-input/style/index.css +47 -52
- 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 +78 -122
- package/lib/label-number-input/style/index.css +48 -54
- 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 +107 -172
- package/lib/label-range-number/style/index.css +47 -52
- 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 +83 -122
- package/lib/label-range-picker/style/index.css +47 -52
- package/lib/label-range-picker/style/index.js +5 -5
- package/lib/label-select/index.d.ts +5 -7
- package/lib/label-select/index.js +83 -130
- package/lib/label-select/style/index.css +51 -65
- package/lib/label-select/style/index.js +5 -5
- package/lib/label-text-area/index.d.ts +17 -21
- package/lib/label-text-area/index.js +77 -114
- package/lib/label-text-area/style/index.css +47 -52
- package/lib/label-text-area/style/index.js +4 -4
- package/lib/label-tree-select/index.d.ts +7 -8
- package/lib/label-tree-select/index.js +72 -113
- package/lib/label-tree-select/style/index.css +48 -55
- 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 +23 -27
- 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 +1 -3
- package/lib/multipart-upload/getMultipartUploadHandler.js +10 -12
- package/lib/multipart-upload/index.d.ts +33 -39
- package/lib/multipart-upload/index.js +165 -286
- package/lib/multipart-upload/parse2RegexOption.d.ts +7 -10
- package/lib/multipart-upload/parse2RegexOption.js +33 -47
- package/lib/multipart-upload/style/index.css +47 -52
- package/lib/multipart-upload/style/index.js +5 -5
- package/lib/number-format-input/index.js +34 -49
- 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 +35 -37
- package/lib/number-input/index.js +105 -153
- package/lib/number-input/style/index.js +4 -4
- package/lib/number-input/utils.d.ts +6 -15
- package/lib/number-input/utils.js +5 -5
- package/lib/rc-echart/core.d.ts +13 -13
- package/lib/rc-echart/core.js +60 -88
- package/lib/rc-echart/index.d.ts +12 -12
- package/lib/rc-echart/index.js +57 -86
- package/lib/rc-motion/index.d.ts +2 -14
- package/lib/rc-motion/index.js +9 -13
- package/lib/rc-qrcode/index.d.ts +8 -11
- package/lib/rc-qrcode/index.js +62 -85
- package/lib/rc-qrcode/useQrcode.d.ts +2 -5
- package/lib/rc-qrcode/useQrcode.js +42 -51
- package/lib/rc-transition-group/index.js +37 -52
- package/lib/resizable/index.d.ts +1 -10
- 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 +70 -107
- package/lib/rich-text-editor/lang/zh_CN.d.ts +404 -404
- package/lib/rich-text-editor/lang/zh_CN.js +397 -420
- package/lib/rich-text-editor/plugins/code/index.js +29 -38
- package/lib/rich-text-editor/style/index.css +47 -52
- 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 +273 -400
- package/lib/single-img-upload/style/index.css +47 -52
- package/lib/single-img-upload/style/index.js +7 -7
- package/lib/sortable-hoc/index.js +37 -52
- package/lib/split-pane/index.d.ts +53 -53
- package/lib/split-pane/index.js +22 -33
- 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 +133 -204
- package/lib/step-number-input/style/index.css +47 -52
- 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 +15 -23
- package/lib/table-col/style/index.js +4 -4
- package/lib/text-area/index.d.ts +8 -13
- package/lib/text-area/index.js +89 -124
- package/lib/text-area/style/index.js +4 -4
- package/lib/text-input/index.d.ts +1 -3
- package/lib/text-input/index.js +67 -89
- package/lib/text-input/style/index.css +53 -123
- package/lib/text-input/style/index.js +4 -4
- package/package.json +4 -4
|
@@ -1,65 +1,55 @@
|
|
|
1
|
-
var __assign =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
8
|
-
s = arguments[i];
|
|
9
|
-
for (var p in s) {
|
|
10
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
return t;
|
|
14
|
-
};
|
|
15
|
-
return __assign.apply(this, arguments);
|
|
16
|
-
};
|
|
17
|
-
var __rest =
|
|
18
|
-
(this && this.__rest) ||
|
|
19
|
-
function (s, e) {
|
|
20
|
-
var t = {};
|
|
21
|
-
for (var p in s) {
|
|
22
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
23
|
-
}
|
|
24
|
-
if (s != null && typeof Object.getOwnPropertySymbols === 'function')
|
|
25
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
26
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
27
|
-
t[p[i]] = s[p[i]];
|
|
1
|
+
var __assign = this && this.__assign || function () {
|
|
2
|
+
__assign = Object.assign || function (t) {
|
|
3
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
+
s = arguments[i];
|
|
5
|
+
for (var p in s) {
|
|
6
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
28
7
|
}
|
|
8
|
+
}
|
|
29
9
|
return t;
|
|
30
10
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
var __rest = this && this.__rest || function (s, e) {
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var p in s) {
|
|
16
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
17
|
+
}
|
|
18
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
20
|
+
}
|
|
21
|
+
return t;
|
|
22
|
+
};
|
|
23
|
+
var __read = this && this.__read || function (o, n) {
|
|
24
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
25
|
+
if (!m) return o;
|
|
26
|
+
var i = m.call(o),
|
|
27
|
+
r,
|
|
28
|
+
ar = [],
|
|
29
|
+
e;
|
|
30
|
+
try {
|
|
31
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
32
|
+
ar.push(r.value);
|
|
33
|
+
}
|
|
34
|
+
} catch (error) {
|
|
35
|
+
e = {
|
|
36
|
+
error: error
|
|
37
|
+
};
|
|
38
|
+
} finally {
|
|
40
39
|
try {
|
|
41
|
-
|
|
42
|
-
ar.push(r.value);
|
|
43
|
-
}
|
|
44
|
-
} catch (error) {
|
|
45
|
-
e = {
|
|
46
|
-
error: error,
|
|
47
|
-
};
|
|
40
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
48
41
|
} finally {
|
|
49
|
-
|
|
50
|
-
if (r && !r.done && (m = i['return'])) m.call(i);
|
|
51
|
-
} finally {
|
|
52
|
-
if (e) throw e.error;
|
|
53
|
-
}
|
|
42
|
+
if (e) throw e.error;
|
|
54
43
|
}
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
44
|
+
}
|
|
45
|
+
return ar;
|
|
46
|
+
};
|
|
47
|
+
import * as React from 'react';
|
|
58
48
|
import classNames from 'classnames';
|
|
59
49
|
import trimStart from 'lodash/trimStart';
|
|
60
|
-
import
|
|
50
|
+
import useMount from "ahooks/es/useMount";
|
|
61
51
|
import HighlighedContents from './HighlighedContents';
|
|
62
|
-
var HighlightWithinTextarea = /*#__PURE__*/
|
|
52
|
+
var HighlightWithinTextarea = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
63
53
|
var _a = props.prefixCls,
|
|
64
54
|
prefixCls = _a === void 0 ? 'ant' : _a,
|
|
65
55
|
value = props.value,
|
|
@@ -68,14 +58,7 @@ var HighlightWithinTextarea = /*#__PURE__*/ React.forwardRef(function (props, re
|
|
|
68
58
|
highlight = _b === void 0 ? '' : _b,
|
|
69
59
|
className = props.className,
|
|
70
60
|
textAreaClassName = props.textAreaClassName,
|
|
71
|
-
textareaProps = __rest(props, [
|
|
72
|
-
'prefixCls',
|
|
73
|
-
'value',
|
|
74
|
-
'onChange',
|
|
75
|
-
'highlight',
|
|
76
|
-
'className',
|
|
77
|
-
'textAreaClassName',
|
|
78
|
-
]);
|
|
61
|
+
textareaProps = __rest(props, ["prefixCls", "value", "onChange", "highlight", "className", "textAreaClassName"]);
|
|
79
62
|
var _c = __read(React.useState(''), 2),
|
|
80
63
|
textAreaValue = _c[0],
|
|
81
64
|
setTextAreaValue = _c[1];
|
|
@@ -84,17 +67,11 @@ var HighlightWithinTextarea = /*#__PURE__*/ React.forwardRef(function (props, re
|
|
|
84
67
|
var backdropRef = React.useRef();
|
|
85
68
|
var handleScroll = function handleScroll() {
|
|
86
69
|
var _a;
|
|
87
|
-
var textareaDom =
|
|
88
|
-
(_a = containerRef.current) === null || _a === void 0
|
|
89
|
-
? void 0
|
|
90
|
-
: _a.querySelector('textarea');
|
|
70
|
+
var textareaDom = (_a = containerRef.current) === null || _a === void 0 ? void 0 : _a.querySelector('textarea');
|
|
91
71
|
if (backdropRef.current && textareaDom) {
|
|
92
72
|
backdropRef.current.scrollLeft = textareaDom.scrollLeft;
|
|
93
|
-
backdropRef.current.style.height =
|
|
94
|
-
|
|
95
|
-
'px',
|
|
96
|
-
);
|
|
97
|
-
backdropRef.current.style.top = ''.concat(0 - textareaDom.scrollTop, 'px');
|
|
73
|
+
backdropRef.current.style.height = "".concat(textareaDom.clientHeight + textareaDom.scrollTop, "px");
|
|
74
|
+
backdropRef.current.style.top = "".concat(0 - textareaDom.scrollTop, "px");
|
|
98
75
|
}
|
|
99
76
|
};
|
|
100
77
|
useMount(function () {
|
|
@@ -108,48 +85,27 @@ var HighlightWithinTextarea = /*#__PURE__*/ React.forwardRef(function (props, re
|
|
|
108
85
|
setTextAreaValue(newValue);
|
|
109
86
|
}
|
|
110
87
|
};
|
|
111
|
-
var textareaCls = classNames(
|
|
112
|
-
|
|
113
|
-
'highlight-textarea
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
/*#__PURE__*/ React.createElement(HighlighedContents, {
|
|
134
|
-
value: resultValue,
|
|
135
|
-
highlight: highlight,
|
|
136
|
-
}),
|
|
137
|
-
),
|
|
138
|
-
/*#__PURE__*/ React.createElement(
|
|
139
|
-
'textarea',
|
|
140
|
-
__assign(
|
|
141
|
-
{
|
|
142
|
-
value: resultValue,
|
|
143
|
-
onChange: onTextareaChange,
|
|
144
|
-
className: textareaCls,
|
|
145
|
-
},
|
|
146
|
-
textareaProps,
|
|
147
|
-
{
|
|
148
|
-
onScroll: handleScroll,
|
|
149
|
-
ref: ref,
|
|
150
|
-
},
|
|
151
|
-
),
|
|
152
|
-
),
|
|
153
|
-
);
|
|
88
|
+
var textareaCls = classNames("".concat(prefixCls, "-input"), 'highlight-textarea-input', 'highlight-content', textAreaClassName);
|
|
89
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
90
|
+
className: classNames('highlight-textarea', className),
|
|
91
|
+
ref: function ref(node) {
|
|
92
|
+
containerRef.current = node;
|
|
93
|
+
}
|
|
94
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
95
|
+
className: "highlight-textarea-backdrop highlight-content",
|
|
96
|
+
ref: function ref(node) {
|
|
97
|
+
backdropRef.current = node;
|
|
98
|
+
}
|
|
99
|
+
}, /*#__PURE__*/React.createElement(HighlighedContents, {
|
|
100
|
+
value: resultValue,
|
|
101
|
+
highlight: highlight
|
|
102
|
+
})), /*#__PURE__*/React.createElement("textarea", __assign({
|
|
103
|
+
value: resultValue,
|
|
104
|
+
onChange: onTextareaChange,
|
|
105
|
+
className: textareaCls
|
|
106
|
+
}, textareaProps, {
|
|
107
|
+
onScroll: handleScroll,
|
|
108
|
+
ref: ref
|
|
109
|
+
})));
|
|
154
110
|
});
|
|
155
|
-
export default HighlightWithinTextarea;
|
|
111
|
+
export default HighlightWithinTextarea;
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
.ant-input-affix-wrapper {
|
|
6
6
|
position: relative;
|
|
7
7
|
display: inline-block;
|
|
8
|
-
display: inline-flex;
|
|
9
8
|
width: 100%;
|
|
10
9
|
min-width: 0;
|
|
11
10
|
padding: 4px 11px;
|
|
@@ -17,17 +16,18 @@
|
|
|
17
16
|
border: 1px solid #d9d9d9;
|
|
18
17
|
border-radius: 2px;
|
|
19
18
|
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);
|
|
49
50
|
border-right-width: 1px;
|
|
50
51
|
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,16 +108,15 @@ 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;
|
|
112
111
|
border-color: #40a9ff;
|
|
113
112
|
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
|
|
120
|
-
.ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
|
119
|
+
.ant-input-search-with-button .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover {
|
|
121
120
|
z-index: 0;
|
|
122
121
|
}
|
|
123
122
|
.ant-input-affix-wrapper-focused,
|
|
@@ -206,9 +205,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
206
205
|
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
|
207
206
|
.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
|
208
207
|
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);
|
|
212
211
|
}
|
|
213
212
|
.ant-input-status-error .ant-input-prefix {
|
|
214
213
|
color: #ff4d4f;
|
|
@@ -221,9 +220,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
221
220
|
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:focus,
|
|
222
221
|
.ant-input-status-warning:not(.ant-input-disabled):not(.ant-input-borderless).ant-input-focused {
|
|
223
222
|
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);
|
|
227
226
|
}
|
|
228
227
|
.ant-input-status-warning .ant-input-prefix {
|
|
229
228
|
color: #faad14;
|
|
@@ -236,9 +235,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
236
235
|
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
|
237
236
|
.ant-input-affix-wrapper-status-error:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
|
238
237
|
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);
|
|
242
241
|
}
|
|
243
242
|
.ant-input-affix-wrapper-status-error .ant-input-prefix {
|
|
244
243
|
color: #ff4d4f;
|
|
@@ -251,9 +250,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
251
250
|
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper:focus,
|
|
252
251
|
.ant-input-affix-wrapper-status-warning:not(.ant-input-affix-wrapper-disabled):not(.ant-input-affix-wrapper-borderless).ant-input-affix-wrapper-focused {
|
|
253
252
|
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);
|
|
257
256
|
}
|
|
258
257
|
.ant-input-affix-wrapper-status-warning .ant-input-prefix {
|
|
259
258
|
color: #faad14;
|
|
@@ -273,36 +272,36 @@ textarea.ant-input-affix-wrapper {
|
|
|
273
272
|
border-color: #faad14;
|
|
274
273
|
}
|
|
275
274
|
.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';
|
|
276
281
|
position: relative;
|
|
277
282
|
display: inline-block;
|
|
278
|
-
box-sizing: border-box;
|
|
279
283
|
width: 100%;
|
|
280
284
|
min-width: 0;
|
|
281
|
-
margin: 0;
|
|
282
|
-
padding: 0;
|
|
283
285
|
padding: 4px 11px;
|
|
284
286
|
color: rgba(0, 0, 0, 0.85);
|
|
285
287
|
font-size: 14px;
|
|
286
|
-
font-variant: tabular-nums;
|
|
287
288
|
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';
|
|
295
294
|
}
|
|
296
295
|
.ant-input::-moz-placeholder {
|
|
297
296
|
color: #bfbfbf;
|
|
298
297
|
-moz-user-select: none;
|
|
299
|
-
|
|
298
|
+
user-select: none;
|
|
300
299
|
}
|
|
301
300
|
.ant-input::placeholder {
|
|
302
301
|
color: #bfbfbf;
|
|
303
302
|
-webkit-user-select: none;
|
|
304
|
-
|
|
305
|
-
|
|
303
|
+
-moz-user-select: none;
|
|
304
|
+
user-select: none;
|
|
306
305
|
}
|
|
307
306
|
.ant-input:-moz-placeholder-shown {
|
|
308
307
|
text-overflow: ellipsis;
|
|
@@ -321,9 +320,9 @@ textarea.ant-input-affix-wrapper {
|
|
|
321
320
|
.ant-input:focus,
|
|
322
321
|
.ant-input-focused {
|
|
323
322
|
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);
|
|
327
326
|
}
|
|
328
327
|
.ant-input-rtl .ant-input:focus,
|
|
329
328
|
.ant-input-rtl .ant-input-focused {
|
|
@@ -383,10 +382,7 @@ textarea.ant-input {
|
|
|
383
382
|
direction: rtl;
|
|
384
383
|
}
|
|
385
384
|
.ant-input-group {
|
|
386
|
-
position: relative;
|
|
387
|
-
display: table;
|
|
388
385
|
box-sizing: border-box;
|
|
389
|
-
width: 100%;
|
|
390
386
|
margin: 0;
|
|
391
387
|
padding: 0;
|
|
392
388
|
color: rgba(0, 0, 0, 0.85);
|
|
@@ -394,9 +390,12 @@ textarea.ant-input {
|
|
|
394
390
|
font-variant: tabular-nums;
|
|
395
391
|
line-height: 1.5715;
|
|
396
392
|
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';
|
|
400
399
|
}
|
|
401
400
|
.ant-input-group[class*='col-'] {
|
|
402
401
|
float: none;
|
|
@@ -460,9 +459,7 @@ textarea.ant-input {
|
|
|
460
459
|
.ant-input-group-addon .ant-select {
|
|
461
460
|
margin: -5px -11px;
|
|
462
461
|
}
|
|
463
|
-
.ant-input-group-addon
|
|
464
|
-
.ant-select.ant-select-single:not(.ant-select-customize-input)
|
|
465
|
-
.ant-select-selector {
|
|
462
|
+
.ant-input-group-addon .ant-select.ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
|
|
466
463
|
background-color: inherit;
|
|
467
464
|
border: 1px solid transparent;
|
|
468
465
|
box-shadow: none;
|
|
@@ -561,14 +558,12 @@ textarea.ant-input {
|
|
|
561
558
|
}
|
|
562
559
|
.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):hover,
|
|
563
560
|
.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):hover,
|
|
564
|
-
.ant-input-group.ant-input-group-compact
|
|
565
|
-
> .ant-input:not(:first-child):not(:last-child):hover {
|
|
561
|
+
.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):hover {
|
|
566
562
|
z-index: 1;
|
|
567
563
|
}
|
|
568
564
|
.ant-input-group.ant-input-group-compact-addon:not(:first-child):not(:last-child):focus,
|
|
569
565
|
.ant-input-group.ant-input-group-compact-wrap:not(:first-child):not(:last-child):focus,
|
|
570
|
-
.ant-input-group.ant-input-group-compact
|
|
571
|
-
> .ant-input:not(:first-child):not(:last-child):focus {
|
|
566
|
+
.ant-input-group.ant-input-group-compact > .ant-input:not(:first-child):not(:last-child):focus {
|
|
572
567
|
z-index: 1;
|
|
573
568
|
}
|
|
574
569
|
.ant-input-group.ant-input-group-compact > * {
|
|
@@ -617,9 +612,7 @@ textarea.ant-input {
|
|
|
617
612
|
}
|
|
618
613
|
.ant-input-group.ant-input-group-compact > *:first-child,
|
|
619
614
|
.ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selector,
|
|
620
|
-
.ant-input-group.ant-input-group-compact
|
|
621
|
-
> .ant-select-auto-complete:first-child
|
|
622
|
-
.ant-input,
|
|
615
|
+
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,
|
|
623
616
|
.ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input {
|
|
624
617
|
border-top-left-radius: 2px;
|
|
625
618
|
border-bottom-left-radius: 2px;
|
|
@@ -627,9 +620,7 @@ textarea.ant-input {
|
|
|
627
620
|
.ant-input-group.ant-input-group-compact > *:last-child,
|
|
628
621
|
.ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selector,
|
|
629
622
|
.ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,
|
|
630
|
-
.ant-input-group.ant-input-group-compact
|
|
631
|
-
> .ant-cascader-picker-focused:last-child
|
|
632
|
-
.ant-input {
|
|
623
|
+
.ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input {
|
|
633
624
|
border-right-width: 1px;
|
|
634
625
|
border-top-right-radius: 2px;
|
|
635
626
|
border-bottom-right-radius: 2px;
|
|
@@ -637,28 +628,16 @@ textarea.ant-input {
|
|
|
637
628
|
.ant-input-group.ant-input-group-compact > .ant-select-auto-complete .ant-input {
|
|
638
629
|
vertical-align: top;
|
|
639
630
|
}
|
|
640
|
-
.ant-input-group.ant-input-group-compact
|
|
641
|
-
.ant-input-group-wrapper
|
|
642
|
-
+ .ant-input-group-wrapper {
|
|
631
|
+
.ant-input-group.ant-input-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper {
|
|
643
632
|
margin-left: -1px;
|
|
644
633
|
}
|
|
645
|
-
.ant-input-group.ant-input-group-compact
|
|
646
|
-
.ant-input-group-wrapper
|
|
647
|
-
+ .ant-input-group-wrapper
|
|
648
|
-
.ant-input-affix-wrapper {
|
|
634
|
+
.ant-input-group.ant-input-group-compact .ant-input-group-wrapper + .ant-input-group-wrapper .ant-input-affix-wrapper {
|
|
649
635
|
border-radius: 0;
|
|
650
636
|
}
|
|
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 {
|
|
637
|
+
.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input-group-addon > .ant-input-search-button {
|
|
656
638
|
border-radius: 0;
|
|
657
639
|
}
|
|
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 {
|
|
640
|
+
.ant-input-group.ant-input-group-compact .ant-input-group-wrapper:not(:last-child).ant-input-search > .ant-input-group > .ant-input {
|
|
662
641
|
border-radius: 2px 0 0 2px;
|
|
663
642
|
}
|
|
664
643
|
.ant-input-group > .ant-input-rtl:first-child,
|
|
@@ -690,43 +669,24 @@ textarea.ant-input {
|
|
|
690
669
|
border-left-width: 1px;
|
|
691
670
|
}
|
|
692
671
|
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:first-child,
|
|
693
|
-
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
694
|
-
|
|
695
|
-
|
|
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 {
|
|
672
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select:first-child > .ant-select-selector,
|
|
673
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:first-child .ant-input,
|
|
674
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-cascader-picker:first-child .ant-input {
|
|
702
675
|
border-radius: 0 2px 2px 0;
|
|
703
676
|
}
|
|
704
677
|
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > *:last-child,
|
|
705
|
-
.ant-input-group-rtl.ant-input-group.ant-input-group-compact
|
|
706
|
-
|
|
707
|
-
|
|
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 {
|
|
678
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select:last-child > .ant-select-selector,
|
|
679
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-select-auto-complete:last-child .ant-input,
|
|
680
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-cascader-picker:last-child .ant-input,
|
|
681
|
+
.ant-input-group-rtl.ant-input-group.ant-input-group-compact > .ant-cascader-picker-focused:last-child .ant-input {
|
|
717
682
|
border-left-width: 1px;
|
|
718
683
|
border-radius: 2px 0 0 2px;
|
|
719
684
|
}
|
|
720
|
-
.ant-input-group.ant-input-group-compact
|
|
721
|
-
.ant-input-group-wrapper-rtl
|
|
722
|
-
+ .ant-input-group-wrapper-rtl {
|
|
685
|
+
.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl + .ant-input-group-wrapper-rtl {
|
|
723
686
|
margin-right: -1px;
|
|
724
687
|
margin-left: 0;
|
|
725
688
|
}
|
|
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 {
|
|
689
|
+
.ant-input-group.ant-input-group-compact .ant-input-group-wrapper-rtl:not(:last-child).ant-input-search > .ant-input-group > .ant-input {
|
|
730
690
|
border-radius: 0 2px 2px 0;
|
|
731
691
|
}
|
|
732
692
|
.ant-input-group-wrapper {
|
|
@@ -781,14 +741,8 @@ textarea.ant-input {
|
|
|
781
741
|
.ant-input-search .ant-input:focus {
|
|
782
742
|
border-color: #40a9ff;
|
|
783
743
|
}
|
|
784
|
-
.ant-input-search
|
|
785
|
-
|
|
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) {
|
|
744
|
+
.ant-input-search .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),
|
|
745
|
+
.ant-input-search .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {
|
|
792
746
|
border-left-color: #40a9ff;
|
|
793
747
|
}
|
|
794
748
|
.ant-input-search .ant-input-affix-wrapper {
|
|
@@ -802,24 +756,15 @@ textarea.ant-input {
|
|
|
802
756
|
padding: 0;
|
|
803
757
|
border: 0;
|
|
804
758
|
}
|
|
805
|
-
.ant-input-search
|
|
806
|
-
> .ant-input-group
|
|
807
|
-
> .ant-input-group-addon:last-child
|
|
808
|
-
.ant-input-search-button {
|
|
759
|
+
.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button {
|
|
809
760
|
padding-top: 0;
|
|
810
761
|
padding-bottom: 0;
|
|
811
762
|
border-radius: 0 2px 2px 0;
|
|
812
763
|
}
|
|
813
|
-
.ant-input-search
|
|
814
|
-
> .ant-input-group
|
|
815
|
-
> .ant-input-group-addon:last-child
|
|
816
|
-
.ant-input-search-button:not(.ant-btn-primary) {
|
|
764
|
+
.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary) {
|
|
817
765
|
color: rgba(0, 0, 0, 0.45);
|
|
818
766
|
}
|
|
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 {
|
|
767
|
+
.ant-input-search > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button:not(.ant-btn-primary).ant-btn-loading::before {
|
|
823
768
|
top: 0;
|
|
824
769
|
right: 0;
|
|
825
770
|
bottom: 0;
|
|
@@ -871,24 +816,12 @@ textarea.ant-input {
|
|
|
871
816
|
.ant-input-search-rtl {
|
|
872
817
|
direction: rtl;
|
|
873
818
|
}
|
|
874
|
-
.ant-input-search-rtl
|
|
875
|
-
|
|
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) {
|
|
819
|
+
.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary),
|
|
820
|
+
.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary) {
|
|
882
821
|
border-left-color: #d9d9d9;
|
|
883
822
|
}
|
|
884
|
-
.ant-input-search-rtl
|
|
885
|
-
|
|
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 {
|
|
823
|
+
.ant-input-search-rtl .ant-input:hover + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover,
|
|
824
|
+
.ant-input-search-rtl .ant-input:focus + .ant-input-group-addon .ant-input-search-button:not(.ant-btn-primary):hover {
|
|
892
825
|
border-left-color: #40a9ff;
|
|
893
826
|
}
|
|
894
827
|
.ant-input-search-rtl > .ant-input-group > .ant-input-affix-wrapper:hover,
|
|
@@ -899,10 +832,7 @@ textarea.ant-input {
|
|
|
899
832
|
right: -1px;
|
|
900
833
|
left: auto;
|
|
901
834
|
}
|
|
902
|
-
.ant-input-search-rtl
|
|
903
|
-
> .ant-input-group
|
|
904
|
-
> .ant-input-group-addon:last-child
|
|
905
|
-
.ant-input-search-button {
|
|
835
|
+
.ant-input-search-rtl > .ant-input-group > .ant-input-group-addon:last-child .ant-input-search-button {
|
|
906
836
|
border-radius: 2px 0 0 2px;
|
|
907
837
|
}
|
|
908
838
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
|
@@ -926,8 +856,8 @@ textarea.ant-input {
|
|
|
926
856
|
height: 100px;
|
|
927
857
|
overflow: hidden;
|
|
928
858
|
-webkit-text-size-adjust: none;
|
|
929
|
-
|
|
930
|
-
|
|
859
|
+
-moz-text-size-adjust: none;
|
|
860
|
+
text-size-adjust: none;
|
|
931
861
|
}
|
|
932
862
|
.highlight-textarea-backdrop {
|
|
933
863
|
overflow-x: hidden;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import './index.less';
|
|
1
|
+
import './index.less';
|
|
@@ -5,31 +5,12 @@ export type FuncType = (input: string) => string;
|
|
|
5
5
|
export type HighlightInstanceType = StringType | NumberArrayType | RegExpType | FuncType;
|
|
6
6
|
export type AdmixArrayType = HighlightInstanceType[];
|
|
7
7
|
export type ObjectType = {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
highlight: HighlightInstanceType;
|
|
9
|
+
className?: string;
|
|
10
10
|
};
|
|
11
11
|
export type CustomArrayArrayType = ObjectType[];
|
|
12
|
-
export type RangesType = (
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
)[][];
|
|
18
|
-
export type HighlightType =
|
|
19
|
-
| StringType
|
|
20
|
-
| NumberArrayType
|
|
21
|
-
| RegExpType
|
|
22
|
-
| FuncType
|
|
23
|
-
| HighlightInstanceType
|
|
24
|
-
| AdmixArrayType
|
|
25
|
-
| ObjectType
|
|
26
|
-
| CustomArrayArrayType;
|
|
27
|
-
export type TypeList =
|
|
28
|
-
| 'falsely'
|
|
29
|
-
| 'range'
|
|
30
|
-
| 'array'
|
|
31
|
-
| 'regexp'
|
|
32
|
-
| 'custom'
|
|
33
|
-
| 'other'
|
|
34
|
-
| 'function'
|
|
35
|
-
| 'string';
|
|
12
|
+
export type RangesType = (number | {
|
|
13
|
+
className?: string;
|
|
14
|
+
})[][];
|
|
15
|
+
export type HighlightType = StringType | NumberArrayType | RegExpType | FuncType | HighlightInstanceType | AdmixArrayType | ObjectType | CustomArrayArrayType;
|
|
16
|
+
export type TypeList = 'falsely' | 'range' | 'array' | 'regexp' | 'custom' | 'other' | 'function' | 'string';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import HighlightWords, {
|
|
2
|
-
|
|
3
|
-
FindChunks,
|
|
4
|
-
HighlighterProps,
|
|
5
|
-
} from 'react-highlight-words';
|
|
6
|
-
export { Chunk, FindChunks, HighlighterProps };
|
|
1
|
+
import HighlightWords, { FindChunks, Chunk, HighlighterProps } from 'react-highlight-words';
|
|
2
|
+
export { FindChunks, Chunk, HighlighterProps };
|
|
7
3
|
export default HighlightWords;
|