assui 3.2.38 → 3.2.40
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
- package/LICENSE +0 -21
|
@@ -1,59 +1,70 @@
|
|
|
1
|
-
var __assign =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
var __assign =
|
|
2
|
+
(this && this.__assign) ||
|
|
3
|
+
function () {
|
|
4
|
+
__assign =
|
|
5
|
+
Object.assign ||
|
|
6
|
+
function (t) {
|
|
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);
|
|
10
16
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
try {
|
|
21
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
22
|
-
ar.push(r.value);
|
|
23
|
-
}
|
|
24
|
-
} catch (error) {
|
|
25
|
-
e = {
|
|
26
|
-
error: error
|
|
27
|
-
};
|
|
28
|
-
} finally {
|
|
17
|
+
var __read =
|
|
18
|
+
(this && this.__read) ||
|
|
19
|
+
function (o, n) {
|
|
20
|
+
var m = typeof Symbol === 'function' && o[Symbol.iterator];
|
|
21
|
+
if (!m) return o;
|
|
22
|
+
var i = m.call(o),
|
|
23
|
+
r,
|
|
24
|
+
ar = [],
|
|
25
|
+
e;
|
|
29
26
|
try {
|
|
30
|
-
|
|
27
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
28
|
+
ar.push(r.value);
|
|
29
|
+
}
|
|
30
|
+
} catch (error) {
|
|
31
|
+
e = {
|
|
32
|
+
error: error,
|
|
33
|
+
};
|
|
31
34
|
} finally {
|
|
32
|
-
|
|
35
|
+
try {
|
|
36
|
+
if (r && !r.done && (m = i['return'])) m.call(i);
|
|
37
|
+
} finally {
|
|
38
|
+
if (e) throw e.error;
|
|
39
|
+
}
|
|
33
40
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
import
|
|
38
|
-
import omit from 'lodash/omit';
|
|
41
|
+
return ar;
|
|
42
|
+
};
|
|
43
|
+
import useControllableValue from 'ahooks/es/useControllableValue';
|
|
44
|
+
import Select from 'antd/es/select';
|
|
39
45
|
import find from 'lodash/find';
|
|
40
|
-
import some from 'lodash/some';
|
|
41
46
|
import isArray from 'lodash/isArray';
|
|
42
47
|
import isObject from 'lodash/isObject';
|
|
43
|
-
import
|
|
44
|
-
import
|
|
48
|
+
import omit from 'lodash/omit';
|
|
49
|
+
import some from 'lodash/some';
|
|
50
|
+
import * as React from 'react';
|
|
45
51
|
var Option = Select.Option;
|
|
46
52
|
export { Option };
|
|
47
53
|
var formatOptions = function formatOptions(dateSource) {
|
|
48
54
|
if (dateSource) {
|
|
49
55
|
var options = dateSource.map(function (item) {
|
|
50
|
-
var otherProps = item.options
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
56
|
+
var otherProps = item.options
|
|
57
|
+
? {
|
|
58
|
+
options: formatOptions(item.options),
|
|
59
|
+
}
|
|
60
|
+
: {};
|
|
61
|
+
return __assign(
|
|
62
|
+
__assign(__assign({}, item), {
|
|
63
|
+
label: item.label,
|
|
64
|
+
value: item.value ? JSON.stringify(item.value) : undefined,
|
|
65
|
+
}),
|
|
66
|
+
otherProps,
|
|
67
|
+
);
|
|
57
68
|
});
|
|
58
69
|
return options;
|
|
59
70
|
}
|
|
@@ -74,7 +85,7 @@ export var isReferenceTypeOption = function isReferenceTypeOption(options) {
|
|
|
74
85
|
});
|
|
75
86
|
return resultBoolean;
|
|
76
87
|
};
|
|
77
|
-
var ComplexValSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
88
|
+
var ComplexValSelect = /*#__PURE__*/ React.forwardRef(function (props, ref) {
|
|
78
89
|
var _a = __read(useControllableValue(props), 2),
|
|
79
90
|
value = _a[0],
|
|
80
91
|
setValue = _a[1];
|
|
@@ -94,16 +105,22 @@ var ComplexValSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
94
105
|
var handleSelect = function handleSelect(val) {
|
|
95
106
|
var nextVal = val && isReferenceTypeVal ? JSON.parse(val) : val;
|
|
96
107
|
var selectOption = find(finalOptions, {
|
|
97
|
-
value: val
|
|
108
|
+
value: val,
|
|
98
109
|
});
|
|
99
110
|
onSelect === null || onSelect === void 0 ? void 0 : onSelect(nextVal, selectOption);
|
|
100
111
|
};
|
|
101
|
-
return /*#__PURE__*/React.createElement(
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
112
|
+
return /*#__PURE__*/ React.createElement(
|
|
113
|
+
Select,
|
|
114
|
+
__assign(
|
|
115
|
+
{
|
|
116
|
+
ref: selectRef,
|
|
117
|
+
value: value && isReferenceTypeVal ? JSON.stringify(value) : value,
|
|
118
|
+
options: finalOptions,
|
|
119
|
+
onChange: handleChange,
|
|
120
|
+
onSelect: handleSelect,
|
|
121
|
+
},
|
|
122
|
+
omit(props, ['value', 'onChange', 'options', 'onSelect']),
|
|
123
|
+
),
|
|
124
|
+
);
|
|
108
125
|
});
|
|
109
|
-
export default ComplexValSelect;
|
|
126
|
+
export default ComplexValSelect;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import 'antd/es/select/style';
|
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import type { InputProps } from 'antd/lib/input';
|
|
2
|
+
import * as React from 'react';
|
|
3
3
|
export interface ConditionInputProps extends Omit<InputProps, 'onChange'> {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
/** 过滤的正则条件 */
|
|
5
|
+
regexp?:
|
|
6
|
+
| RegExp
|
|
7
|
+
| (
|
|
8
|
+
| RegExp
|
|
9
|
+
| string
|
|
10
|
+
| {
|
|
11
|
+
pattern: RegExp;
|
|
12
|
+
replacement?: string;
|
|
13
|
+
}
|
|
14
|
+
)[];
|
|
15
|
+
/** 指定输入框展示值的格式 */
|
|
16
|
+
formatter?: (value: string) => string;
|
|
17
|
+
/** 变化回调 */
|
|
18
|
+
onChange?: (value: string) => void;
|
|
19
|
+
/** 输入框内容 */
|
|
20
|
+
value?: string;
|
|
15
21
|
}
|
|
16
|
-
declare const ConditionInput: React.ForwardRefExoticComponent<
|
|
22
|
+
declare const ConditionInput: React.ForwardRefExoticComponent<
|
|
23
|
+
ConditionInputProps & React.RefAttributes<unknown>
|
|
24
|
+
>;
|
|
17
25
|
export default ConditionInput;
|
|
@@ -1,63 +1,73 @@
|
|
|
1
|
-
var __assign =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
var __assign =
|
|
2
|
+
(this && this.__assign) ||
|
|
3
|
+
function () {
|
|
4
|
+
__assign =
|
|
5
|
+
Object.assign ||
|
|
6
|
+
function (t) {
|
|
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];
|
|
8
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]];
|
|
28
|
+
}
|
|
9
29
|
return t;
|
|
10
30
|
};
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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 {
|
|
31
|
+
var __read =
|
|
32
|
+
(this && this.__read) ||
|
|
33
|
+
function (o, n) {
|
|
34
|
+
var m = typeof Symbol === 'function' && o[Symbol.iterator];
|
|
35
|
+
if (!m) return o;
|
|
36
|
+
var i = m.call(o),
|
|
37
|
+
r,
|
|
38
|
+
ar = [],
|
|
39
|
+
e;
|
|
39
40
|
try {
|
|
40
|
-
|
|
41
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
42
|
+
ar.push(r.value);
|
|
43
|
+
}
|
|
44
|
+
} catch (error) {
|
|
45
|
+
e = {
|
|
46
|
+
error: error,
|
|
47
|
+
};
|
|
41
48
|
} finally {
|
|
42
|
-
|
|
49
|
+
try {
|
|
50
|
+
if (r && !r.done && (m = i['return'])) m.call(i);
|
|
51
|
+
} finally {
|
|
52
|
+
if (e) throw e.error;
|
|
53
|
+
}
|
|
43
54
|
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
import
|
|
55
|
+
return ar;
|
|
56
|
+
};
|
|
57
|
+
import useControllableValue from 'ahooks/es/useControllableValue';
|
|
58
|
+
import Input from 'antd/es/input';
|
|
48
59
|
import isArray from 'lodash/isArray';
|
|
49
|
-
import Input from "antd/es/input";
|
|
50
60
|
import isFunction from 'lodash/isFunction';
|
|
51
|
-
import
|
|
61
|
+
import * as React from 'react';
|
|
52
62
|
import parse2RegexOption from './parse2RegexOption';
|
|
53
|
-
var ConditionInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
63
|
+
var ConditionInput = /*#__PURE__*/ React.forwardRef(function (props, ref) {
|
|
54
64
|
var _a = __read(useControllableValue(props), 2),
|
|
55
65
|
value = _a[0],
|
|
56
66
|
setValue = _a[1];
|
|
57
67
|
var regexp = props.regexp,
|
|
58
68
|
formatter = props.formatter,
|
|
59
69
|
onChange = props.onChange,
|
|
60
|
-
rest = __rest(props, [
|
|
70
|
+
rest = __rest(props, ['regexp', 'formatter', 'onChange']);
|
|
61
71
|
var handleChange = function handleChange(e) {
|
|
62
72
|
var originalValue = e.target.value;
|
|
63
73
|
var nextValue = originalValue;
|
|
@@ -78,10 +88,16 @@ var ConditionInput = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
78
88
|
setValue(nextValue);
|
|
79
89
|
}
|
|
80
90
|
};
|
|
81
|
-
return /*#__PURE__*/React.createElement(
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
91
|
+
return /*#__PURE__*/ React.createElement(
|
|
92
|
+
Input,
|
|
93
|
+
__assign(
|
|
94
|
+
{
|
|
95
|
+
ref: ref,
|
|
96
|
+
value: value,
|
|
97
|
+
onChange: handleChange,
|
|
98
|
+
},
|
|
99
|
+
rest,
|
|
100
|
+
),
|
|
101
|
+
);
|
|
86
102
|
});
|
|
87
|
-
export default ConditionInput;
|
|
103
|
+
export default ConditionInput;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
export interface RegexOptionType {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
isValid: boolean;
|
|
3
|
+
replacement: string;
|
|
4
4
|
}
|
|
5
|
-
type regexParamsType =
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
type regexParamsType =
|
|
6
|
+
| RegExp
|
|
7
|
+
| string
|
|
8
|
+
| {
|
|
9
|
+
pattern: RegExp;
|
|
10
|
+
replacement?: string;
|
|
11
|
+
};
|
|
9
12
|
export interface ResultType extends RegexOptionType {
|
|
10
|
-
|
|
13
|
+
pattern: RegExp;
|
|
11
14
|
}
|
|
12
15
|
declare const parse2RegexOption: (regex: regexParamsType) => ResultType;
|
|
13
16
|
export default parse2RegexOption;
|
|
@@ -1,26 +1,33 @@
|
|
|
1
|
-
var __assign =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
var __assign =
|
|
2
|
+
(this && this.__assign) ||
|
|
3
|
+
function () {
|
|
4
|
+
__assign =
|
|
5
|
+
Object.assign ||
|
|
6
|
+
function (t) {
|
|
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);
|
|
10
16
|
};
|
|
11
|
-
|
|
12
|
-
};
|
|
17
|
+
import isObject from 'lodash/isObject';
|
|
13
18
|
import isRegExp from 'lodash/isRegExp';
|
|
14
19
|
import isString from 'lodash/isString';
|
|
15
|
-
import isObject from 'lodash/isObject';
|
|
16
20
|
var defaultOptionValues = {
|
|
17
21
|
isValid: true,
|
|
18
|
-
replacement: ''
|
|
22
|
+
replacement: '',
|
|
19
23
|
};
|
|
20
24
|
var parseRegex2RegexOption = function parseRegex2RegexOption(regex, options) {
|
|
21
|
-
return __assign(
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
return __assign(
|
|
26
|
+
__assign(__assign({}, defaultOptionValues), {
|
|
27
|
+
pattern: regex,
|
|
28
|
+
}),
|
|
29
|
+
options,
|
|
30
|
+
);
|
|
24
31
|
};
|
|
25
32
|
var parseString2RegexOption = function parseString2RegexOption(regexString, options) {
|
|
26
33
|
return parseRegex2RegexOption(new RegExp(regexString), options);
|
|
@@ -33,14 +40,17 @@ var parse2RegexOption = function parse2RegexOption(regex) {
|
|
|
33
40
|
return parseString2RegexOption(regex);
|
|
34
41
|
}
|
|
35
42
|
if (isObject(regex)) {
|
|
36
|
-
return __assign(
|
|
37
|
-
|
|
38
|
-
|
|
43
|
+
return __assign(
|
|
44
|
+
__assign(__assign({}, defaultOptionValues), {
|
|
45
|
+
isValid: !!regex.pattern,
|
|
46
|
+
}),
|
|
47
|
+
regex,
|
|
48
|
+
);
|
|
39
49
|
}
|
|
40
50
|
return {
|
|
41
51
|
isValid: false,
|
|
42
52
|
replacement: '',
|
|
43
|
-
pattern:
|
|
53
|
+
pattern: /./,
|
|
44
54
|
};
|
|
45
55
|
};
|
|
46
|
-
export default parse2RegexOption;
|
|
56
|
+
export default parse2RegexOption;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import 'antd/es/input/style';
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import { ComplexValSelectProps, ComplexValSelectValueType } from '../complex-val-select';
|
|
2
1
|
import type { SelectProps } from 'antd/lib/select';
|
|
2
|
+
import { ComplexValSelectProps, ComplexValSelectValueType } from '../complex-val-select';
|
|
3
3
|
import type { ConditionInputProps } from '../condition-input';
|
|
4
4
|
export declare enum InputTypeEnum {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
CONDITION_INPUT = 'conditionInput',
|
|
6
|
+
SELECT = 'select',
|
|
7
7
|
}
|
|
8
8
|
export declare enum EntryTypeEnum {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
FIRST_ENTRY = 'firstEntry',
|
|
10
|
+
SECOND_ENTRY = 'secondEntry',
|
|
11
11
|
}
|
|
12
12
|
export type ChangedEntryType = typeof EntryTypeEnum[keyof typeof EntryTypeEnum];
|
|
13
13
|
type SelectOptionsType = {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
value: ComplexValSelectValueType;
|
|
15
|
+
label: string;
|
|
16
16
|
};
|
|
17
17
|
export interface MainSelectOptionsType extends SelectOptionsType {
|
|
18
|
-
|
|
18
|
+
children?: SelectOptionsType[];
|
|
19
19
|
}
|
|
20
20
|
export interface ValueType {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
selectValue?: ComplexValSelectValueType;
|
|
22
|
+
inputValue?: SelectProps['value'] | ConditionInputProps['value'];
|
|
23
|
+
finalSelectValue?: ComplexValSelectProps<any>['value'] | ConditionInputProps['value'][];
|
|
24
|
+
changedEntryType?: ChangedEntryType;
|
|
25
25
|
}
|
|
26
26
|
export interface ConditionSelectInputProps {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
27
|
+
value?: ValueType;
|
|
28
|
+
/** 不需要展示联动输入框的字段值 */
|
|
29
|
+
hiddenInputKeys?: ValueType['selectValue'][];
|
|
30
|
+
/** selectProps */
|
|
31
|
+
selectProps?: ComplexValSelectProps<any>;
|
|
32
|
+
/** 联动inputProps */
|
|
33
|
+
conditionInputProps?: ConditionInputProps;
|
|
34
|
+
/** 联动selectProps */
|
|
35
|
+
conditionSelectProps?: ComplexValSelectProps<any>;
|
|
36
|
+
/** onChange */
|
|
37
|
+
onChange?: (value: ValueType) => void;
|
|
38
|
+
/** onBlur */
|
|
39
|
+
onBlur?: (value: ValueType) => void;
|
|
40
|
+
/** 输入框类型 */
|
|
41
|
+
inputType?: InputTypeEnum;
|
|
42
|
+
/** select options */
|
|
43
|
+
optionsList: MainSelectOptionsType[];
|
|
44
44
|
}
|
|
45
45
|
declare const ConditionSelectInput: (props: ConditionSelectInputProps) => JSX.Element;
|
|
46
46
|
export default ConditionSelectInput;
|