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,138 +1,108 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
2
|
|
|
3
|
-
var __assign =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
10
|
-
s = arguments[i];
|
|
11
|
-
for (var p in s) {
|
|
12
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
return t;
|
|
16
|
-
};
|
|
17
|
-
return __assign.apply(this, arguments);
|
|
18
|
-
};
|
|
19
|
-
var __createBinding =
|
|
20
|
-
(this && this.__createBinding) ||
|
|
21
|
-
(Object.create
|
|
22
|
-
? function (o, m, k, k2) {
|
|
23
|
-
if (k2 === undefined) k2 = k;
|
|
24
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
25
|
-
if (
|
|
26
|
-
!desc ||
|
|
27
|
-
('get' in desc ? !m.__esModule : desc.writable || desc.configurable)
|
|
28
|
-
) {
|
|
29
|
-
desc = {
|
|
30
|
-
enumerable: true,
|
|
31
|
-
get: function get() {
|
|
32
|
-
return m[k];
|
|
33
|
-
},
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
Object.defineProperty(o, k2, desc);
|
|
37
|
-
}
|
|
38
|
-
: function (o, m, k, k2) {
|
|
39
|
-
if (k2 === undefined) k2 = k;
|
|
40
|
-
o[k2] = m[k];
|
|
41
|
-
});
|
|
42
|
-
var __setModuleDefault =
|
|
43
|
-
(this && this.__setModuleDefault) ||
|
|
44
|
-
(Object.create
|
|
45
|
-
? function (o, v) {
|
|
46
|
-
Object.defineProperty(o, 'default', {
|
|
47
|
-
enumerable: true,
|
|
48
|
-
value: v,
|
|
49
|
-
});
|
|
3
|
+
var __assign = this && this.__assign || function () {
|
|
4
|
+
__assign = Object.assign || function (t) {
|
|
5
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
6
|
+
s = arguments[i];
|
|
7
|
+
for (var p in s) {
|
|
8
|
+
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
50
9
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
});
|
|
54
|
-
var __importStar =
|
|
55
|
-
(this && this.__importStar) ||
|
|
56
|
-
function (mod) {
|
|
57
|
-
if (mod && mod.__esModule) return mod;
|
|
58
|
-
var result = {};
|
|
59
|
-
if (mod != null)
|
|
60
|
-
for (var k in mod) {
|
|
61
|
-
if (k !== 'default' && Object.prototype.hasOwnProperty.call(mod, k))
|
|
62
|
-
__createBinding(result, mod, k);
|
|
63
|
-
}
|
|
64
|
-
__setModuleDefault(result, mod);
|
|
65
|
-
return result;
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
66
12
|
};
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
78
|
-
ar.push(r.value);
|
|
13
|
+
return __assign.apply(this, arguments);
|
|
14
|
+
};
|
|
15
|
+
var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function get() {
|
|
22
|
+
return m[k];
|
|
79
23
|
}
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
Object.defineProperty(o, k2, desc);
|
|
27
|
+
} : function (o, m, k, k2) {
|
|
28
|
+
if (k2 === undefined) k2 = k;
|
|
29
|
+
o[k2] = m[k];
|
|
30
|
+
});
|
|
31
|
+
var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {
|
|
32
|
+
Object.defineProperty(o, "default", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
value: v
|
|
35
|
+
});
|
|
36
|
+
} : function (o, v) {
|
|
37
|
+
o["default"] = v;
|
|
38
|
+
});
|
|
39
|
+
var __importStar = this && this.__importStar || function (mod) {
|
|
40
|
+
if (mod && mod.__esModule) return mod;
|
|
41
|
+
var result = {};
|
|
42
|
+
if (mod != null) for (var k in mod) {
|
|
43
|
+
if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
44
|
+
}
|
|
45
|
+
__setModuleDefault(result, mod);
|
|
46
|
+
return result;
|
|
47
|
+
};
|
|
48
|
+
var __read = this && this.__read || function (o, n) {
|
|
49
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
50
|
+
if (!m) return o;
|
|
51
|
+
var i = m.call(o),
|
|
52
|
+
r,
|
|
53
|
+
ar = [],
|
|
54
|
+
e;
|
|
55
|
+
try {
|
|
56
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) {
|
|
57
|
+
ar.push(r.value);
|
|
58
|
+
}
|
|
59
|
+
} catch (error) {
|
|
60
|
+
e = {
|
|
61
|
+
error: error
|
|
62
|
+
};
|
|
63
|
+
} finally {
|
|
64
|
+
try {
|
|
65
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
84
66
|
} finally {
|
|
85
|
-
|
|
86
|
-
if (r && !r.done && (m = i['return'])) m.call(i);
|
|
87
|
-
} finally {
|
|
88
|
-
if (e) throw e.error;
|
|
89
|
-
}
|
|
67
|
+
if (e) throw e.error;
|
|
90
68
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
? mod
|
|
98
|
-
: {
|
|
99
|
-
default: mod,
|
|
100
|
-
};
|
|
69
|
+
}
|
|
70
|
+
return ar;
|
|
71
|
+
};
|
|
72
|
+
var __importDefault = this && this.__importDefault || function (mod) {
|
|
73
|
+
return mod && mod.__esModule ? mod : {
|
|
74
|
+
"default": mod
|
|
101
75
|
};
|
|
102
|
-
|
|
103
|
-
|
|
76
|
+
};
|
|
77
|
+
Object.defineProperty(exports, "__esModule", {
|
|
78
|
+
value: true
|
|
104
79
|
});
|
|
105
80
|
exports.EntryTypeEnum = exports.InputTypeEnum = void 0;
|
|
106
|
-
var isNil_1 = __importDefault(require(
|
|
107
|
-
var isEmpty_1 = __importDefault(require(
|
|
108
|
-
var classnames_1 = __importDefault(require(
|
|
109
|
-
var react_1 = __importStar(require(
|
|
110
|
-
var useControllableValue_1 = __importDefault(require(
|
|
111
|
-
var label_condition_input_1 = __importDefault(require(
|
|
112
|
-
var label_select_1 = __importDefault(require(
|
|
81
|
+
var isNil_1 = __importDefault(require("lodash/isNil"));
|
|
82
|
+
var isEmpty_1 = __importDefault(require("lodash/isEmpty"));
|
|
83
|
+
var classnames_1 = __importDefault(require("classnames"));
|
|
84
|
+
var react_1 = __importStar(require("react"));
|
|
85
|
+
var useControllableValue_1 = __importDefault(require("ahooks/lib/useControllableValue"));
|
|
86
|
+
var label_condition_input_1 = __importDefault(require("../label-condition-input"));
|
|
87
|
+
var label_select_1 = __importDefault(require("../label-select"));
|
|
113
88
|
var InputTypeEnum;
|
|
114
89
|
(function (InputTypeEnum) {
|
|
115
|
-
InputTypeEnum[
|
|
116
|
-
InputTypeEnum[
|
|
90
|
+
InputTypeEnum["CONDITION_INPUT"] = "conditionInput";
|
|
91
|
+
InputTypeEnum["SELECT"] = "select";
|
|
117
92
|
})(InputTypeEnum || (exports.InputTypeEnum = InputTypeEnum = {}));
|
|
118
93
|
var EntryTypeEnum;
|
|
119
94
|
(function (EntryTypeEnum) {
|
|
120
|
-
EntryTypeEnum[
|
|
121
|
-
EntryTypeEnum[
|
|
95
|
+
EntryTypeEnum["FIRST_ENTRY"] = "firstEntry";
|
|
96
|
+
EntryTypeEnum["SECOND_ENTRY"] = "secondEntry";
|
|
122
97
|
})(EntryTypeEnum || (exports.EntryTypeEnum = EntryTypeEnum = {}));
|
|
123
98
|
/** 找所有的子代选项 */
|
|
124
99
|
var findAllSubSelectItems = function findAllSubSelectItems(dataSource, key) {
|
|
125
100
|
var _a, _b;
|
|
126
|
-
return (_b =
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
: _a.children) === null || _b === void 0
|
|
132
|
-
? void 0
|
|
133
|
-
: _b.map(function (subItem) {
|
|
134
|
-
return subItem.value;
|
|
135
|
-
});
|
|
101
|
+
return (_b = (_a = dataSource.find(function (item) {
|
|
102
|
+
return item.value === key;
|
|
103
|
+
})) === null || _a === void 0 ? void 0 : _a.children) === null || _b === void 0 ? void 0 : _b.map(function (subItem) {
|
|
104
|
+
return subItem.value;
|
|
105
|
+
});
|
|
136
106
|
};
|
|
137
107
|
var LabelConditionSelectInput = function LabelConditionSelectInput(props) {
|
|
138
108
|
var value = props.value,
|
|
@@ -149,7 +119,7 @@ var LabelConditionSelectInput = function LabelConditionSelectInput(props) {
|
|
|
149
119
|
className = props.className,
|
|
150
120
|
onBlur = props.onBlur;
|
|
151
121
|
var isInput = inputType === InputTypeEnum.CONDITION_INPUT;
|
|
152
|
-
var _d = __read((0, useControllableValue_1[
|
|
122
|
+
var _d = __read((0, useControllableValue_1["default"])(props), 2),
|
|
153
123
|
selectInputValue = _d[0],
|
|
154
124
|
setSelectInputValue = _d[1];
|
|
155
125
|
var _e = __read((0, react_1.useState)([]), 2),
|
|
@@ -157,52 +127,38 @@ var LabelConditionSelectInput = function LabelConditionSelectInput(props) {
|
|
|
157
127
|
setSubSelectOptions = _e[1];
|
|
158
128
|
var subSelectRef = (0, react_1.useRef)();
|
|
159
129
|
/** 子选择器是否多选 */
|
|
160
|
-
var isSubSelectMultiple =
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
return item.value === value.selectValue;
|
|
170
|
-
}),
|
|
171
|
-
1,
|
|
172
|
-
),
|
|
173
|
-
selectValueItem = _a[0];
|
|
174
|
-
if (selectValueItem && selectValueItem.children) {
|
|
175
|
-
setSubSelectOptions(selectValueItem.children);
|
|
176
|
-
}
|
|
130
|
+
var isSubSelectMultiple = (conditionSelectProps === null || conditionSelectProps === void 0 ? void 0 : conditionSelectProps.mode) === 'multiple';
|
|
131
|
+
(0, react_1.useEffect)(function () {
|
|
132
|
+
if (value && !(0, isNil_1["default"])(value.selectValue) && optionsList.length) {
|
|
133
|
+
var _a = __read(optionsList.filter(function (item) {
|
|
134
|
+
return item.value === value.selectValue;
|
|
135
|
+
}), 1),
|
|
136
|
+
selectValueItem = _a[0];
|
|
137
|
+
if (selectValueItem && selectValueItem.children) {
|
|
138
|
+
setSubSelectOptions(selectValueItem.children);
|
|
177
139
|
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
);
|
|
140
|
+
}
|
|
141
|
+
}, [value, optionsList]);
|
|
181
142
|
var onSelectChange = function onSelectChange(selectValue) {
|
|
182
143
|
var inputValue = isInput ? '' : undefined;
|
|
183
144
|
var finalSelectInputValue = {
|
|
184
145
|
selectValue: selectValue,
|
|
185
146
|
inputValue: inputValue,
|
|
186
|
-
changedEntryType: EntryTypeEnum.FIRST_ENTRY
|
|
147
|
+
changedEntryType: EntryTypeEnum.FIRST_ENTRY
|
|
187
148
|
};
|
|
188
149
|
if (isSubSelectMultiple) {
|
|
189
150
|
finalSelectInputValue = __assign(__assign({}, finalSelectInputValue), {
|
|
190
|
-
finalSelectValue: !(0, isNil_1[
|
|
191
|
-
? findAllSubSelectItems(optionsList, selectValue)
|
|
192
|
-
: undefined,
|
|
151
|
+
finalSelectValue: !(0, isNil_1["default"])(selectValue) ? findAllSubSelectItems(optionsList, selectValue) : undefined
|
|
193
152
|
});
|
|
194
153
|
}
|
|
195
154
|
setSelectInputValue(finalSelectInputValue);
|
|
196
|
-
if (isInput || (0, isNil_1[
|
|
155
|
+
if (isInput || (0, isNil_1["default"])(selectValue)) {
|
|
197
156
|
setSubSelectOptions([]);
|
|
198
157
|
return;
|
|
199
158
|
}
|
|
200
|
-
var _a = __read(
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
}),
|
|
204
|
-
1,
|
|
205
|
-
),
|
|
159
|
+
var _a = __read(optionsList.filter(function (item) {
|
|
160
|
+
return item.value === selectValue;
|
|
161
|
+
}), 1),
|
|
206
162
|
selectValueItem = _a[0];
|
|
207
163
|
if (selectValueItem.children) {
|
|
208
164
|
setSubSelectOptions(selectValueItem.children);
|
|
@@ -210,49 +166,30 @@ var LabelConditionSelectInput = function LabelConditionSelectInput(props) {
|
|
|
210
166
|
};
|
|
211
167
|
var onInputChange = function onInputChange(inputValue) {
|
|
212
168
|
var finalValue = {
|
|
213
|
-
selectValue:
|
|
214
|
-
selectInputValue === null || selectInputValue === void 0
|
|
215
|
-
? void 0
|
|
216
|
-
: selectInputValue.selectValue,
|
|
169
|
+
selectValue: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue,
|
|
217
170
|
inputValue: inputValue,
|
|
218
|
-
changedEntryType: EntryTypeEnum.SECOND_ENTRY
|
|
171
|
+
changedEntryType: EntryTypeEnum.SECOND_ENTRY
|
|
219
172
|
};
|
|
220
173
|
setSelectInputValue(finalValue);
|
|
221
174
|
};
|
|
222
175
|
var onTypeSelectChange = function onTypeSelectChange(inputValue) {
|
|
223
176
|
var finalSelectInputValue = {
|
|
224
|
-
selectValue:
|
|
225
|
-
selectInputValue === null || selectInputValue === void 0
|
|
226
|
-
? void 0
|
|
227
|
-
: selectInputValue.selectValue,
|
|
177
|
+
selectValue: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue,
|
|
228
178
|
inputValue: inputValue,
|
|
229
|
-
changedEntryType: EntryTypeEnum.SECOND_ENTRY
|
|
179
|
+
changedEntryType: EntryTypeEnum.SECOND_ENTRY
|
|
230
180
|
};
|
|
231
181
|
if (isSubSelectMultiple) {
|
|
232
182
|
finalSelectInputValue = __assign(__assign({}, finalSelectInputValue), {
|
|
233
|
-
finalSelectValue: (0, isEmpty_1[
|
|
234
|
-
? findAllSubSelectItems(
|
|
235
|
-
optionsList,
|
|
236
|
-
selectInputValue === null || selectInputValue === void 0
|
|
237
|
-
? void 0
|
|
238
|
-
: selectInputValue.selectValue,
|
|
239
|
-
)
|
|
240
|
-
: inputValue,
|
|
183
|
+
finalSelectValue: (0, isEmpty_1["default"])(inputValue) ? findAllSubSelectItems(optionsList, selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue) : inputValue
|
|
241
184
|
});
|
|
242
185
|
}
|
|
243
186
|
setSelectInputValue(finalSelectInputValue);
|
|
244
187
|
};
|
|
245
188
|
/** 联级选择框失去焦点 */
|
|
246
|
-
var onLabelConditionSelectInputBlur = function onLabelConditionSelectInputBlur(
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
? void 0
|
|
251
|
-
: onBlur(
|
|
252
|
-
__assign(__assign({}, selectInputValue), {
|
|
253
|
-
changedEntryType: blurEntryType,
|
|
254
|
-
}),
|
|
255
|
-
);
|
|
189
|
+
var onLabelConditionSelectInputBlur = function onLabelConditionSelectInputBlur(blurEntryType) {
|
|
190
|
+
onBlur === null || onBlur === void 0 ? void 0 : onBlur(__assign(__assign({}, selectInputValue), {
|
|
191
|
+
changedEntryType: blurEntryType
|
|
192
|
+
}));
|
|
256
193
|
};
|
|
257
194
|
// /** 二级下拉框清空 */
|
|
258
195
|
// const onTypeSelectClear = () => {
|
|
@@ -273,90 +210,45 @@ var LabelConditionSelectInput = function LabelConditionSelectInput(props) {
|
|
|
273
210
|
// onBlur?.(finalSelectInputValue);
|
|
274
211
|
// };
|
|
275
212
|
// 是否展示输入框
|
|
276
|
-
var isShowInput =
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
: selectInputValue.inputValue,
|
|
295
|
-
onBlur: function onBlur() {
|
|
296
|
-
return onLabelConditionSelectInputBlur(EntryTypeEnum.SECOND_ENTRY);
|
|
297
|
-
},
|
|
298
|
-
}),
|
|
299
|
-
)
|
|
300
|
-
: react_1['default'].createElement(
|
|
301
|
-
'div',
|
|
302
|
-
{
|
|
303
|
-
className: 'label-condition-select-second-select',
|
|
304
|
-
},
|
|
305
|
-
react_1['default'].createElement(
|
|
306
|
-
label_select_1['default'],
|
|
307
|
-
__assign({}, conditionSelectProps, {
|
|
308
|
-
ref: subSelectRef,
|
|
309
|
-
onChange: onTypeSelectChange,
|
|
310
|
-
value:
|
|
311
|
-
selectInputValue === null || selectInputValue === void 0
|
|
312
|
-
? void 0
|
|
313
|
-
: selectInputValue.inputValue,
|
|
314
|
-
options: subSelectOptions,
|
|
315
|
-
onDeselect: function onDeselect() {
|
|
316
|
-
var _a;
|
|
317
|
-
(_a = subSelectRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
318
|
-
},
|
|
319
|
-
onBlur: function onBlur() {
|
|
320
|
-
return onLabelConditionSelectInputBlur(EntryTypeEnum.SECOND_ENTRY);
|
|
321
|
-
},
|
|
322
|
-
}),
|
|
323
|
-
),
|
|
324
|
-
);
|
|
325
|
-
return react_1['default'].createElement(
|
|
326
|
-
'div',
|
|
327
|
-
{
|
|
328
|
-
className: (0, classnames_1['default'])('label-condition-select', className),
|
|
213
|
+
var isShowInput = !(0, isNil_1["default"])(selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue) && !(hiddenInputKeys === null || hiddenInputKeys === void 0 ? void 0 : hiddenInputKeys.includes(selectInputValue.selectValue));
|
|
214
|
+
var typeInput = isInput ? react_1["default"].createElement(label_condition_input_1["default"], __assign({}, conditionInputProps, {
|
|
215
|
+
onChange: onInputChange,
|
|
216
|
+
className: "label-condition-select-second-input",
|
|
217
|
+
value: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.inputValue,
|
|
218
|
+
onBlur: function onBlur() {
|
|
219
|
+
return onLabelConditionSelectInputBlur(EntryTypeEnum.SECOND_ENTRY);
|
|
220
|
+
}
|
|
221
|
+
})) : react_1["default"].createElement("div", {
|
|
222
|
+
className: "label-condition-select-second-select"
|
|
223
|
+
}, react_1["default"].createElement(label_select_1["default"], __assign({}, conditionSelectProps, {
|
|
224
|
+
ref: subSelectRef,
|
|
225
|
+
onChange: onTypeSelectChange,
|
|
226
|
+
value: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.inputValue,
|
|
227
|
+
options: subSelectOptions,
|
|
228
|
+
onDeselect: function onDeselect() {
|
|
229
|
+
var _a;
|
|
230
|
+
(_a = subSelectRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
329
231
|
},
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
options: optionsList,
|
|
352
|
-
onBlur: function onBlur() {
|
|
353
|
-
return onLabelConditionSelectInputBlur(EntryTypeEnum.FIRST_ENTRY);
|
|
354
|
-
},
|
|
355
|
-
},
|
|
356
|
-
),
|
|
357
|
-
),
|
|
358
|
-
),
|
|
359
|
-
isShowInput && typeInput,
|
|
360
|
-
);
|
|
232
|
+
onBlur: function onBlur() {
|
|
233
|
+
return onLabelConditionSelectInputBlur(EntryTypeEnum.SECOND_ENTRY);
|
|
234
|
+
}
|
|
235
|
+
})));
|
|
236
|
+
return react_1["default"].createElement("div", {
|
|
237
|
+
className: (0, classnames_1["default"])('label-condition-select', className)
|
|
238
|
+
}, react_1["default"].createElement("div", {
|
|
239
|
+
className: (0, classnames_1["default"])('label-condition-select-selector', {
|
|
240
|
+
'label-condition-select-two-select-selector': !isInput,
|
|
241
|
+
'label-condition-select-only-selector': !isShowInput
|
|
242
|
+
})
|
|
243
|
+
}, react_1["default"].createElement(label_select_1["default"], __assign({
|
|
244
|
+
label: label
|
|
245
|
+
}, selectProps, {
|
|
246
|
+
onChange: onSelectChange,
|
|
247
|
+
value: selectInputValue === null || selectInputValue === void 0 ? void 0 : selectInputValue.selectValue,
|
|
248
|
+
options: optionsList,
|
|
249
|
+
onBlur: function onBlur() {
|
|
250
|
+
return onLabelConditionSelectInputBlur(EntryTypeEnum.FIRST_ENTRY);
|
|
251
|
+
}
|
|
252
|
+
}))), isShowInput && typeInput);
|
|
361
253
|
};
|
|
362
|
-
exports[
|
|
254
|
+
exports["default"] = LabelConditionSelectInput;
|