@kdcloudjs/kdesign 1.0.2
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/LICENSE +555 -0
- package/README.md +91 -0
- package/dist/default-theme.js +534 -0
- package/dist/kdesign-complete.less +11901 -0
- package/dist/kdesign.css +18244 -0
- package/dist/kdesign.css.map +1 -0
- package/dist/kdesign.js +118804 -0
- package/dist/kdesign.js.map +1 -0
- package/dist/kdesign.less +2 -0
- package/dist/kdesign.min.css +19 -0
- package/dist/kdesign.min.js +203 -0
- package/dist/kdesign.min.js.map +1 -0
- package/dist/theme.js +13 -0
- package/es/_utils/arrayUtil.d.ts +10 -0
- package/es/_utils/arrayUtil.js +35 -0
- package/es/_utils/devwarning.d.ts +1 -0
- package/es/_utils/devwarning.js +10 -0
- package/es/_utils/formatUtil.d.ts +46 -0
- package/es/_utils/formatUtil.js +347 -0
- package/es/_utils/hooks.d.ts +52 -0
- package/es/_utils/hooks.js +197 -0
- package/es/_utils/index.d.ts +8 -0
- package/es/_utils/index.js +15 -0
- package/es/_utils/numberUtil.d.ts +34 -0
- package/es/_utils/numberUtil.js +184 -0
- package/es/_utils/omit.d.ts +1 -0
- package/es/_utils/omit.js +11 -0
- package/es/_utils/react-children.d.ts +2 -0
- package/es/_utils/react-children.js +8 -0
- package/es/_utils/reactNode.d.ts +7 -0
- package/es/_utils/reactNode.js +10 -0
- package/es/_utils/type.d.ts +12 -0
- package/es/_utils/type.js +15 -0
- package/es/_utils/usePopper.d.ts +28 -0
- package/es/_utils/usePopper.js +608 -0
- package/es/alert/alert.d.ts +22 -0
- package/es/alert/alert.js +208 -0
- package/es/alert/index.d.ts +3 -0
- package/es/alert/index.js +2 -0
- package/es/alert/style/css.js +2 -0
- package/es/alert/style/index.css +242 -0
- package/es/alert/style/index.d.ts +2 -0
- package/es/alert/style/index.js +2 -0
- package/es/alert/style/index.less +118 -0
- package/es/alert/style/mixin.less +16 -0
- package/es/anchor/anchor-link.d.ts +12 -0
- package/es/anchor/anchor-link.js +75 -0
- package/es/anchor/anchor.d.ts +27 -0
- package/es/anchor/anchor.js +511 -0
- package/es/anchor/context.d.ts +3 -0
- package/es/anchor/context.js +3 -0
- package/es/anchor/index.d.ts +7 -0
- package/es/anchor/index.js +5 -0
- package/es/anchor/style/css.js +2 -0
- package/es/anchor/style/index.css +278 -0
- package/es/anchor/style/index.d.ts +2 -0
- package/es/anchor/style/index.js +2 -0
- package/es/anchor/style/index.less +191 -0
- package/es/anchor/style/mixin.less +7 -0
- package/es/avatar/avatar.d.ts +23 -0
- package/es/avatar/avatar.js +156 -0
- package/es/avatar/index.d.ts +3 -0
- package/es/avatar/index.js +3 -0
- package/es/avatar/style/css.js +2 -0
- package/es/avatar/style/index.css +192 -0
- package/es/avatar/style/index.d.ts +2 -0
- package/es/avatar/style/index.js +2 -0
- package/es/avatar/style/index.less +72 -0
- package/es/avatar/style/mixin.less +5 -0
- package/es/badge/badge.d.ts +34 -0
- package/es/badge/badge.js +144 -0
- package/es/badge/index.d.ts +3 -0
- package/es/badge/index.js +3 -0
- package/es/badge/style/css.js +2 -0
- package/es/badge/style/index.css +226 -0
- package/es/badge/style/index.d.ts +2 -0
- package/es/badge/style/index.js +2 -0
- package/es/badge/style/index.less +129 -0
- package/es/badge/style/mixin.less +5 -0
- package/es/base-data/base-data.d.ts +4 -0
- package/es/base-data/base-data.js +742 -0
- package/es/base-data/index.d.ts +3 -0
- package/es/base-data/index.js +3 -0
- package/es/base-data/interface.d.ts +57 -0
- package/es/base-data/interface.js +2 -0
- package/es/base-data/style/css.js +2 -0
- package/es/base-data/style/index.css +280 -0
- package/es/base-data/style/index.d.ts +2 -0
- package/es/base-data/style/index.js +2 -0
- package/es/base-data/style/index.less +188 -0
- package/es/base-data/style/mixin.less +5 -0
- package/es/button/button.d.ts +33 -0
- package/es/button/button.js +165 -0
- package/es/button/index.d.ts +3 -0
- package/es/button/index.js +2 -0
- package/es/button/style/css.js +2 -0
- package/es/button/style/index.css +321 -0
- package/es/button/style/index.d.ts +2 -0
- package/es/button/style/index.js +2 -0
- package/es/button/style/index.less +205 -0
- package/es/button/style/mixin.less +39 -0
- package/es/card/card.d.ts +24 -0
- package/es/card/card.js +64 -0
- package/es/card/index.d.ts +3 -0
- package/es/card/index.js +3 -0
- package/es/card/style/css.js +2 -0
- package/es/card/style/index.css +182 -0
- package/es/card/style/index.d.ts +2 -0
- package/es/card/style/index.js +2 -0
- package/es/card/style/index.less +98 -0
- package/es/carousel/carousel.d.ts +23 -0
- package/es/carousel/carousel.js +257 -0
- package/es/carousel/displayList.d.ts +12 -0
- package/es/carousel/displayList.js +26 -0
- package/es/carousel/fadeList.d.ts +14 -0
- package/es/carousel/fadeList.js +33 -0
- package/es/carousel/index.d.ts +7 -0
- package/es/carousel/index.js +7 -0
- package/es/carousel/slideList.d.ts +11 -0
- package/es/carousel/slideList.js +28 -0
- package/es/carousel/slidebar.d.ts +12 -0
- package/es/carousel/slidebar.js +46 -0
- package/es/carousel/style/css.js +2 -0
- package/es/carousel/style/index.css +327 -0
- package/es/carousel/style/index.d.ts +2 -0
- package/es/carousel/style/index.js +2 -0
- package/es/carousel/style/index.less +138 -0
- package/es/carousel/style/mixin.less +5 -0
- package/es/cascader/cascader.d.ts +54 -0
- package/es/cascader/cascader.js +265 -0
- package/es/cascader/index.d.ts +3 -0
- package/es/cascader/index.js +3 -0
- package/es/cascader/style/css.js +2 -0
- package/es/cascader/style/index.css +260 -0
- package/es/cascader/style/index.d.ts +2 -0
- package/es/cascader/style/index.js +2 -0
- package/es/cascader/style/index.less +173 -0
- package/es/checkbox/checkbox.d.ts +22 -0
- package/es/checkbox/checkbox.js +125 -0
- package/es/checkbox/group.d.ts +25 -0
- package/es/checkbox/group.js +148 -0
- package/es/checkbox/index.d.ts +11 -0
- package/es/checkbox/index.js +7 -0
- package/es/checkbox/style/css.js +2 -0
- package/es/checkbox/style/index.css +376 -0
- package/es/checkbox/style/index.d.ts +2 -0
- package/es/checkbox/style/index.js +2 -0
- package/es/checkbox/style/index.less +246 -0
- package/es/city-picker/city-group.d.ts +8 -0
- package/es/city-picker/city-group.js +46 -0
- package/es/city-picker/city-list.d.ts +12 -0
- package/es/city-picker/city-list.js +60 -0
- package/es/city-picker/city-panel-item.d.ts +13 -0
- package/es/city-picker/city-panel-item.js +27 -0
- package/es/city-picker/city-panel.d.ts +17 -0
- package/es/city-picker/city-panel.js +177 -0
- package/es/city-picker/city-picker.d.ts +24 -0
- package/es/city-picker/city-picker.js +175 -0
- package/es/city-picker/city-search-panel.d.ts +9 -0
- package/es/city-picker/city-search-panel.js +51 -0
- package/es/city-picker/index.d.ts +3 -0
- package/es/city-picker/index.js +3 -0
- package/es/city-picker/no-data.d.ts +2 -0
- package/es/city-picker/no-data.js +21 -0
- package/es/city-picker/style/css.js +2 -0
- package/es/city-picker/style/index.css +410 -0
- package/es/city-picker/style/index.d.ts +2 -0
- package/es/city-picker/style/index.js +2 -0
- package/es/city-picker/style/index.less +280 -0
- package/es/city-picker/style/mixin.less +5 -0
- package/es/city-picker/utils/grouping.d.ts +7 -0
- package/es/city-picker/utils/grouping.js +28 -0
- package/es/collapse/collapse.d.ts +20 -0
- package/es/collapse/collapse.js +157 -0
- package/es/collapse/index.d.ts +10 -0
- package/es/collapse/index.js +6 -0
- package/es/collapse/panel.d.ts +19 -0
- package/es/collapse/panel.js +157 -0
- package/es/collapse/style/css.js +2 -0
- package/es/collapse/style/index.css +214 -0
- package/es/collapse/style/index.d.ts +2 -0
- package/es/collapse/style/index.js +2 -0
- package/es/collapse/style/index.less +85 -0
- package/es/collapse/style/mixin.less +5 -0
- package/es/config-provider/ConfigContext.d.ts +22 -0
- package/es/config-provider/ConfigContext.js +7 -0
- package/es/config-provider/SizeContext.d.ts +8 -0
- package/es/config-provider/SizeContext.js +12 -0
- package/es/config-provider/compDefaultProps.d.ts +396 -0
- package/es/config-provider/compDefaultProps.js +411 -0
- package/es/config-provider/configProvider.d.ts +11 -0
- package/es/config-provider/configProvider.js +45 -0
- package/es/config-provider/defaultConfig.d.ts +10 -0
- package/es/config-provider/defaultConfig.js +19 -0
- package/es/config-provider/index.d.ts +6 -0
- package/es/config-provider/index.js +6 -0
- package/es/date-picker/calendar.d.ts +12 -0
- package/es/date-picker/calendar.js +108 -0
- package/es/date-picker/context.d.ts +29 -0
- package/es/date-picker/context.js +3 -0
- package/es/date-picker/date-panel.d.ts +53 -0
- package/es/date-picker/date-panel.js +272 -0
- package/es/date-picker/date-picker.d.ts +51 -0
- package/es/date-picker/date-picker.js +444 -0
- package/es/date-picker/hooks/use-hover-value.d.ts +3 -0
- package/es/date-picker/hooks/use-hover-value.js +53 -0
- package/es/date-picker/hooks/use-picker-input.d.ts +16 -0
- package/es/date-picker/hooks/use-picker-input.js +114 -0
- package/es/date-picker/hooks/use-range-cls.d.ts +14 -0
- package/es/date-picker/hooks/use-range-cls.js +42 -0
- package/es/date-picker/hooks/use-range-disabled.d.ts +7 -0
- package/es/date-picker/hooks/use-range-disabled.js +87 -0
- package/es/date-picker/hooks/use-range-view-dates.d.ts +6 -0
- package/es/date-picker/hooks/use-range-view-dates.js +113 -0
- package/es/date-picker/hooks/use-state-memo.d.ts +1 -0
- package/es/date-picker/hooks/use-state-memo.js +11 -0
- package/es/date-picker/hooks/use-text-value-mapping.d.ts +5 -0
- package/es/date-picker/hooks/use-text-value-mapping.js +31 -0
- package/es/date-picker/hooks/use-value-texts.d.ts +5 -0
- package/es/date-picker/hooks/use-value-texts.js +15 -0
- package/es/date-picker/index.d.ts +4 -0
- package/es/date-picker/index.js +4 -0
- package/es/date-picker/interface.d.ts +135 -0
- package/es/date-picker/interface.js +0 -0
- package/es/date-picker/locale/en_GB.d.ts +1 -0
- package/es/date-picker/locale/en_GB.js +33 -0
- package/es/date-picker/locale/en_US.d.ts +1 -0
- package/es/date-picker/locale/en_US.js +33 -0
- package/es/date-picker/locale/zh_CN.d.ts +3 -0
- package/es/date-picker/locale/zh_CN.js +41 -0
- package/es/date-picker/locale/zh_TW.d.ts +1 -0
- package/es/date-picker/locale/zh_TW.js +33 -0
- package/es/date-picker/panel/date-time/date-time.d.ts +12 -0
- package/es/date-picker/panel/date-time/date-time.js +40 -0
- package/es/date-picker/panel/header/header.d.ts +15 -0
- package/es/date-picker/panel/header/header.js +56 -0
- package/es/date-picker/panel/month/month.d.ts +8 -0
- package/es/date-picker/panel/month/month.js +145 -0
- package/es/date-picker/panel/quarter/quarter.d.ts +6 -0
- package/es/date-picker/panel/quarter/quarter.js +132 -0
- package/es/date-picker/panel/time/time-column.d.ts +17 -0
- package/es/date-picker/panel/time/time-column.js +82 -0
- package/es/date-picker/panel/time/time.d.ts +20 -0
- package/es/date-picker/panel/time/time.js +252 -0
- package/es/date-picker/panel/week/week.d.ts +10 -0
- package/es/date-picker/panel/week/week.js +250 -0
- package/es/date-picker/panel/year/year.d.ts +9 -0
- package/es/date-picker/panel/year/year.js +142 -0
- package/es/date-picker/popper.d.ts +15 -0
- package/es/date-picker/popper.js +78 -0
- package/es/date-picker/range/input-range.d.ts +35 -0
- package/es/date-picker/range/input-range.js +246 -0
- package/es/date-picker/range-picker.d.ts +49 -0
- package/es/date-picker/range-picker.js +764 -0
- package/es/date-picker/single/input-date.d.ts +19 -0
- package/es/date-picker/single/input-date.js +173 -0
- package/es/date-picker/style/css.js +1 -0
- package/es/date-picker/style/index.css +880 -0
- package/es/date-picker/style/index.d.ts +1 -0
- package/es/date-picker/style/index.js +1 -0
- package/es/date-picker/style/index.less +820 -0
- package/es/date-picker/style/mixin.less +85 -0
- package/es/date-picker/utils/date-fns.d.ts +86 -0
- package/es/date-picker/utils/date-fns.js +297 -0
- package/es/date-picker/utils/get-extra-footer.d.ts +3 -0
- package/es/date-picker/utils/get-extra-footer.js +10 -0
- package/es/date-picker/utils/get-ranges.d.ts +13 -0
- package/es/date-picker/utils/get-ranges.js +64 -0
- package/es/date-picker/utils/index.d.ts +28 -0
- package/es/date-picker/utils/index.js +371 -0
- package/es/drawer/drawer.d.ts +41 -0
- package/es/drawer/drawer.js +247 -0
- package/es/drawer/index.d.ts +3 -0
- package/es/drawer/index.js +3 -0
- package/es/drawer/style/css.js +2 -0
- package/es/drawer/style/index.css +230 -0
- package/es/drawer/style/index.d.ts +2 -0
- package/es/drawer/style/index.js +2 -0
- package/es/drawer/style/index.less +105 -0
- package/es/drawer/style/mixin.less +10 -0
- package/es/dropdown/dropdown.d.ts +25 -0
- package/es/dropdown/dropdown.js +124 -0
- package/es/dropdown/index.d.ts +3 -0
- package/es/dropdown/index.js +3 -0
- package/es/dropdown/menu.d.ts +21 -0
- package/es/dropdown/menu.js +98 -0
- package/es/dropdown/style/css.js +2 -0
- package/es/dropdown/style/index.css +271 -0
- package/es/dropdown/style/index.d.ts +2 -0
- package/es/dropdown/style/index.js +2 -0
- package/es/dropdown/style/index.less +124 -0
- package/es/empty/empty.d.ts +10 -0
- package/es/empty/empty.js +78 -0
- package/es/empty/img/transfer-empty.png +0 -0
- package/es/empty/index.d.ts +3 -0
- package/es/empty/index.js +3 -0
- package/es/empty/style/css.js +2 -0
- package/es/empty/style/index.css +116 -0
- package/es/empty/style/index.d.ts +2 -0
- package/es/empty/style/index.js +2 -0
- package/es/empty/style/index.less +23 -0
- package/es/empty/style/mixin.less +5 -0
- package/es/filter/condition.d.ts +4 -0
- package/es/filter/condition.js +99 -0
- package/es/filter/filter.d.ts +4 -0
- package/es/filter/filter.js +219 -0
- package/es/filter/index.d.ts +3 -0
- package/es/filter/index.js +3 -0
- package/es/filter/interface.d.ts +79 -0
- package/es/filter/interface.js +0 -0
- package/es/filter/scheme.d.ts +4 -0
- package/es/filter/scheme.js +328 -0
- package/es/filter/style/css.js +2 -0
- package/es/filter/style/index.css +345 -0
- package/es/filter/style/index.d.ts +2 -0
- package/es/filter/style/index.js +2 -0
- package/es/filter/style/index.less +263 -0
- package/es/form/Field.d.ts +20 -0
- package/es/form/Field.js +255 -0
- package/es/form/FieldContext.d.ts +4 -0
- package/es/form/FieldContext.js +29 -0
- package/es/form/FieldLabel.d.ts +11 -0
- package/es/form/FieldLabel.js +45 -0
- package/es/form/FieldWrapper.d.ts +8 -0
- package/es/form/FieldWrapper.js +31 -0
- package/es/form/Form.d.ts +19 -0
- package/es/form/Form.js +114 -0
- package/es/form/FormContext.d.ts +12 -0
- package/es/form/FormContext.js +36 -0
- package/es/form/hooks/useForceUpdate.d.ts +2 -0
- package/es/form/hooks/useForceUpdate.js +15 -0
- package/es/form/hooks/useForm.d.ts +3 -0
- package/es/form/hooks/useForm.js +367 -0
- package/es/form/index.d.ts +21 -0
- package/es/form/index.js +13 -0
- package/es/form/interface.d.ts +105 -0
- package/es/form/interface.js +0 -0
- package/es/form/style/css.js +2 -0
- package/es/form/style/index.css +179 -0
- package/es/form/style/index.d.ts +2 -0
- package/es/form/style/index.js +2 -0
- package/es/form/style/index.less +84 -0
- package/es/form/style/mixin.less +5 -0
- package/es/grid/col.d.ts +21 -0
- package/es/grid/col.js +106 -0
- package/es/grid/index.d.ts +3 -0
- package/es/grid/index.js +3 -0
- package/es/grid/row.d.ts +21 -0
- package/es/grid/row.js +112 -0
- package/es/grid/style/css.js +2 -0
- package/es/grid/style/index.css +118 -0
- package/es/grid/style/index.d.ts +2 -0
- package/es/grid/style/index.js +2 -0
- package/es/grid/style/index.less +22 -0
- package/es/icon/icon.d.ts +16 -0
- package/es/icon/icon.js +60 -0
- package/es/icon/index.d.ts +3 -0
- package/es/icon/index.js +3 -0
- package/es/icon/interface.d.ts +3 -0
- package/es/icon/interface.js +5 -0
- package/es/icon/style/css.js +2 -0
- package/es/icon/style/index.css +104 -0
- package/es/icon/style/index.d.ts +2 -0
- package/es/icon/style/index.js +2 -0
- package/es/icon/style/index.less +14 -0
- package/es/image/image.d.ts +29 -0
- package/es/image/image.js +147 -0
- package/es/image/index.d.ts +3 -0
- package/es/image/index.js +3 -0
- package/es/image/preview-group.d.ts +11 -0
- package/es/image/preview-group.js +118 -0
- package/es/image/preview.d.ts +27 -0
- package/es/image/preview.js +180 -0
- package/es/image/style/css.js +2 -0
- package/es/image/style/index.css +322 -0
- package/es/image/style/index.d.ts +2 -0
- package/es/image/style/index.js +2 -0
- package/es/image/style/index.less +222 -0
- package/es/image-cropper/cropper.d.ts +25 -0
- package/es/image-cropper/cropper.js +122 -0
- package/es/image-cropper/image-cropper.d.ts +32 -0
- package/es/image-cropper/image-cropper.js +189 -0
- package/es/image-cropper/index.d.ts +2 -0
- package/es/image-cropper/index.js +2 -0
- package/es/image-cropper/operation-bar.d.ts +18 -0
- package/es/image-cropper/operation-bar.js +112 -0
- package/es/image-cropper/style/css.js +2 -0
- package/es/image-cropper/style/index.css +385 -0
- package/es/image-cropper/style/index.d.ts +2 -0
- package/es/image-cropper/style/index.js +2 -0
- package/es/image-cropper/style/index.less +325 -0
- package/es/index.d.ts +54 -0
- package/es/index.js +56 -0
- package/es/input/ClearableLabeledInput.d.ts +25 -0
- package/es/input/ClearableLabeledInput.js +146 -0
- package/es/input/TextArea.d.ts +22 -0
- package/es/input/TextArea.js +224 -0
- package/es/input/calculateNodeHeight.d.ts +13 -0
- package/es/input/calculateNodeHeight.js +98 -0
- package/es/input/index.d.ts +5 -0
- package/es/input/index.js +6 -0
- package/es/input/input.d.ts +26 -0
- package/es/input/input.js +160 -0
- package/es/input/style/css.js +1 -0
- package/es/input/style/index.css +499 -0
- package/es/input/style/index.d.ts +1 -0
- package/es/input/style/index.js +1 -0
- package/es/input/style/index.less +238 -0
- package/es/input/style/mixin.less +59 -0
- package/es/input-number/index.d.ts +3 -0
- package/es/input-number/index.js +2 -0
- package/es/input-number/inputNumber.d.ts +26 -0
- package/es/input-number/inputNumber.js +350 -0
- package/es/input-number/style/css.js +1 -0
- package/es/input-number/style/index.css +212 -0
- package/es/input-number/style/index.d.ts +1 -0
- package/es/input-number/style/index.js +1 -0
- package/es/input-number/style/index.less +65 -0
- package/es/input-number/style/mixin.less +15 -0
- package/es/layout/index.d.ts +13 -0
- package/es/layout/index.js +8 -0
- package/es/layout/layout.d.ts +23 -0
- package/es/layout/layout.js +153 -0
- package/es/layout/sider.d.ts +29 -0
- package/es/layout/sider.js +228 -0
- package/es/layout/style/css.js +2 -0
- package/es/layout/style/index.css +236 -0
- package/es/layout/style/index.d.ts +2 -0
- package/es/layout/style/index.js +2 -0
- package/es/layout/style/index.less +133 -0
- package/es/layout/style/light.less +11 -0
- package/es/locale/index.d.ts +3 -0
- package/es/locale/index.js +3 -0
- package/es/locale/locale.d.ts +120 -0
- package/es/locale/locale.js +256 -0
- package/es/locale/zh-CN.d.ts +78 -0
- package/es/locale/zh-CN.js +68 -0
- package/es/menu/index.d.ts +3 -0
- package/es/menu/index.js +3 -0
- package/es/menu/interface.d.ts +12 -0
- package/es/menu/interface.js +0 -0
- package/es/menu/menu.d.ts +24 -0
- package/es/menu/menu.js +160 -0
- package/es/menu/menuItem.d.ts +10 -0
- package/es/menu/menuItem.js +147 -0
- package/es/menu/style/css.js +2 -0
- package/es/menu/style/index.css +475 -0
- package/es/menu/style/index.d.ts +2 -0
- package/es/menu/style/index.js +2 -0
- package/es/menu/style/index.less +198 -0
- package/es/menu/style/mixin.less +100 -0
- package/es/menu/subMenu.d.ts +13 -0
- package/es/menu/subMenu.js +373 -0
- package/es/menu/util.d.ts +9 -0
- package/es/menu/util.js +75 -0
- package/es/message/content.d.ts +7 -0
- package/es/message/content.js +87 -0
- package/es/message/index.d.ts +21 -0
- package/es/message/index.js +123 -0
- package/es/message/style/css.js +2 -0
- package/es/message/style/index.css +190 -0
- package/es/message/style/index.d.ts +2 -0
- package/es/message/style/index.js +2 -0
- package/es/message/style/index.less +94 -0
- package/es/modal/confirm.d.ts +9 -0
- package/es/modal/confirm.js +56 -0
- package/es/modal/index.d.ts +6 -0
- package/es/modal/index.js +18 -0
- package/es/modal/modal.d.ts +45 -0
- package/es/modal/modal.js +260 -0
- package/es/modal/style/css.js +2 -0
- package/es/modal/style/index.css +244 -0
- package/es/modal/style/index.d.ts +2 -0
- package/es/modal/style/index.js +2 -0
- package/es/modal/style/index.less +144 -0
- package/es/modal/style/mixin.less +11 -0
- package/es/notification/content.d.ts +7 -0
- package/es/notification/content.js +132 -0
- package/es/notification/index.d.ts +34 -0
- package/es/notification/index.js +149 -0
- package/es/notification/style/css.js +2 -0
- package/es/notification/style/index.css +236 -0
- package/es/notification/style/index.d.ts +2 -0
- package/es/notification/style/index.js +2 -0
- package/es/notification/style/index.less +148 -0
- package/es/notification-base/index.d.ts +5 -0
- package/es/notification-base/index.js +97 -0
- package/es/notification-base/notice.d.ts +16 -0
- package/es/notification-base/notice.js +91 -0
- package/es/notification-base/notification.d.ts +7 -0
- package/es/notification-base/notification.js +85 -0
- package/es/pagination/index.d.ts +3 -0
- package/es/pagination/index.js +2 -0
- package/es/pagination/pagination.d.ts +29 -0
- package/es/pagination/pagination.js +428 -0
- package/es/pagination/style/css.js +2 -0
- package/es/pagination/style/index.css +707 -0
- package/es/pagination/style/index.d.ts +2 -0
- package/es/pagination/style/index.js +2 -0
- package/es/pagination/style/index.less +579 -0
- package/es/popconfirm/index.d.ts +3 -0
- package/es/popconfirm/index.js +3 -0
- package/es/popconfirm/popconfirm.d.ts +19 -0
- package/es/popconfirm/popconfirm.js +93 -0
- package/es/popconfirm/style/css.js +2 -0
- package/es/popconfirm/style/index.css +213 -0
- package/es/popconfirm/style/index.d.ts +2 -0
- package/es/popconfirm/style/index.js +2 -0
- package/es/popconfirm/style/index.less +59 -0
- package/es/progress/circle.d.ts +8 -0
- package/es/progress/circle.js +105 -0
- package/es/progress/index.d.ts +3 -0
- package/es/progress/index.js +2 -0
- package/es/progress/line.d.ts +8 -0
- package/es/progress/line.js +36 -0
- package/es/progress/progress.d.ts +35 -0
- package/es/progress/progress.js +171 -0
- package/es/progress/style/css.js +2 -0
- package/es/progress/style/index.css +242 -0
- package/es/progress/style/index.d.ts +2 -0
- package/es/progress/style/index.js +2 -0
- package/es/progress/style/index.less +176 -0
- package/es/progress/style/mixin.less +5 -0
- package/es/progress/utils.d.ts +6 -0
- package/es/progress/utils.js +77 -0
- package/es/radio/context.d.ts +5 -0
- package/es/radio/context.js +4 -0
- package/es/radio/group.d.ts +4 -0
- package/es/radio/group.js +108 -0
- package/es/radio/index.d.ts +12 -0
- package/es/radio/index.js +8 -0
- package/es/radio/interface.d.ts +47 -0
- package/es/radio/interface.js +0 -0
- package/es/radio/radio-button.d.ts +4 -0
- package/es/radio/radio-button.js +50 -0
- package/es/radio/radio.d.ts +4 -0
- package/es/radio/radio.js +100 -0
- package/es/radio/style/css.js +2 -0
- package/es/radio/style/index.css +398 -0
- package/es/radio/style/index.d.ts +2 -0
- package/es/radio/style/index.js +2 -0
- package/es/radio/style/index.less +315 -0
- package/es/rate/index.d.ts +3 -0
- package/es/rate/index.js +2 -0
- package/es/rate/rate.d.ts +23 -0
- package/es/rate/rate.js +278 -0
- package/es/rate/style/css.js +2 -0
- package/es/rate/style/index.css +201 -0
- package/es/rate/style/index.d.ts +2 -0
- package/es/rate/style/index.js +2 -0
- package/es/rate/style/index.less +79 -0
- package/es/search/index.d.ts +8 -0
- package/es/search/index.js +6 -0
- package/es/search/interface.d.ts +73 -0
- package/es/search/interface.js +4 -0
- package/es/search/option.d.ts +4 -0
- package/es/search/option.js +54 -0
- package/es/search/quick-search.d.ts +4 -0
- package/es/search/quick-search.js +567 -0
- package/es/search/search-panel.d.ts +29 -0
- package/es/search/search-panel.js +250 -0
- package/es/search/search.d.ts +4 -0
- package/es/search/search.js +144 -0
- package/es/search/style/css.js +2 -0
- package/es/search/style/index.css +703 -0
- package/es/search/style/index.d.ts +2 -0
- package/es/search/style/index.js +2 -0
- package/es/search/style/index.less +486 -0
- package/es/search/style/mixin.less +46 -0
- package/es/select/index.d.ts +8 -0
- package/es/select/index.js +5 -0
- package/es/select/interface.d.ts +59 -0
- package/es/select/interface.js +5 -0
- package/es/select/option.d.ts +16 -0
- package/es/select/option.js +80 -0
- package/es/select/select.d.ts +4 -0
- package/es/select/select.js +684 -0
- package/es/select/style/css.js +1 -0
- package/es/select/style/index.css +599 -0
- package/es/select/style/index.d.ts +1 -0
- package/es/select/style/index.js +1 -0
- package/es/select/style/index.less +368 -0
- package/es/select/style/mixin.less +85 -0
- package/es/slider/index.d.ts +3 -0
- package/es/slider/index.js +3 -0
- package/es/slider/marks.d.ts +17 -0
- package/es/slider/marks.js +57 -0
- package/es/slider/slider.d.ts +30 -0
- package/es/slider/slider.js +299 -0
- package/es/slider/sliderTooltip.d.ts +11 -0
- package/es/slider/sliderTooltip.js +52 -0
- package/es/slider/steps.d.ts +17 -0
- package/es/slider/steps.js +63 -0
- package/es/slider/style/css.js +2 -0
- package/es/slider/style/index.css +305 -0
- package/es/slider/style/index.d.ts +2 -0
- package/es/slider/style/index.js +2 -0
- package/es/slider/style/index.less +167 -0
- package/es/slider/style/mixin.less +40 -0
- package/es/slider/track.d.ts +10 -0
- package/es/slider/track.js +22 -0
- package/es/slider/utils.d.ts +8 -0
- package/es/slider/utils.js +60 -0
- package/es/space/index.d.ts +3 -0
- package/es/space/index.js +3 -0
- package/es/space/space.d.ts +16 -0
- package/es/space/space.js +100 -0
- package/es/space/style/css.js +2 -0
- package/es/space/style/index.css +139 -0
- package/es/space/style/index.d.ts +2 -0
- package/es/space/style/index.js +2 -0
- package/es/space/style/index.less +42 -0
- package/es/spin/index.d.ts +3 -0
- package/es/spin/index.js +3 -0
- package/es/spin/spin.d.ts +13 -0
- package/es/spin/spin.js +118 -0
- package/es/spin/style/css.js +2 -0
- package/es/spin/style/index.css +291 -0
- package/es/spin/style/index.d.ts +2 -0
- package/es/spin/style/index.js +2 -0
- package/es/spin/style/index.less +163 -0
- package/es/spin/style/mixin.less +8 -0
- package/es/split-panel/index.d.ts +3 -0
- package/es/split-panel/index.js +3 -0
- package/es/split-panel/interface.d.ts +3 -0
- package/es/split-panel/interface.js +0 -0
- package/es/split-panel/split-panel.d.ts +24 -0
- package/es/split-panel/split-panel.js +280 -0
- package/es/split-panel/style/css.js +2 -0
- package/es/split-panel/style/index.css +278 -0
- package/es/split-panel/style/index.d.ts +2 -0
- package/es/split-panel/style/index.js +2 -0
- package/es/split-panel/style/index.less +192 -0
- package/es/split-panel/trigger.d.ts +15 -0
- package/es/split-panel/trigger.js +65 -0
- package/es/stepper/index.d.ts +3 -0
- package/es/stepper/index.js +3 -0
- package/es/stepper/stepper.d.ts +11 -0
- package/es/stepper/stepper.js +221 -0
- package/es/stepper/style/css.js +2 -0
- package/es/stepper/style/index.css +224 -0
- package/es/stepper/style/index.d.ts +2 -0
- package/es/stepper/style/index.js +2 -0
- package/es/stepper/style/index.less +78 -0
- package/es/stepper/style/mixin.less +15 -0
- package/es/steps/Step.d.ts +19 -0
- package/es/steps/Step.js +101 -0
- package/es/steps/Steps.d.ts +16 -0
- package/es/steps/Steps.js +113 -0
- package/es/steps/index.d.ts +5 -0
- package/es/steps/index.js +5 -0
- package/es/steps/interface.d.ts +13 -0
- package/es/steps/interface.js +4 -0
- package/es/steps/style/css.js +2 -0
- package/es/steps/style/index.css +305 -0
- package/es/steps/style/index.d.ts +2 -0
- package/es/steps/style/index.js +2 -0
- package/es/steps/style/index.less +192 -0
- package/es/steps/style/mixin.less +41 -0
- package/es/style/color/colors.less +2 -0
- package/es/style/core/index.less +2 -0
- package/es/style/core/motion/other.less +126 -0
- package/es/style/core/motion/slide.less +120 -0
- package/es/style/core/motion/zoom.less +247 -0
- package/es/style/core/motion.less +3 -0
- package/es/style/core/reset.less +235 -0
- package/es/style/css.js +1 -0
- package/es/style/index.css +1814 -0
- package/es/style/index.d.ts +1 -0
- package/es/style/index.js +1 -0
- package/es/style/index.less +3 -0
- package/es/style/mixins/index.less +90 -0
- package/es/style/mixins/overlay.less +22 -0
- package/es/style/mixins/reset.less +13 -0
- package/es/style/themes/default.less +696 -0
- package/es/style/themes/index.less +1 -0
- package/es/switch/index.d.ts +3 -0
- package/es/switch/index.js +2 -0
- package/es/switch/style/css.js +2 -0
- package/es/switch/style/index.css +208 -0
- package/es/switch/style/index.d.ts +2 -0
- package/es/switch/style/index.js +2 -0
- package/es/switch/style/index.less +70 -0
- package/es/switch/style/mixin.less +39 -0
- package/es/switch/switch.d.ts +20 -0
- package/es/switch/switch.js +99 -0
- package/es/table/feature/autoRowSpan.d.ts +3 -0
- package/es/table/feature/autoRowSpan.js +9 -0
- package/es/table/feature/columnDrag.d.ts +4 -0
- package/es/table/feature/columnDrag.js +9 -0
- package/es/table/feature/columnResize.d.ts +4 -0
- package/es/table/feature/columnResize.js +9 -0
- package/es/table/feature/contextMenu.d.ts +3 -0
- package/es/table/feature/contextMenu.js +9 -0
- package/es/table/feature/filter.d.ts +3 -0
- package/es/table/feature/filter.js +11 -0
- package/es/table/feature/rowDetail.d.ts +3 -0
- package/es/table/feature/rowDetail.js +10 -0
- package/es/table/feature/rowSelection.d.ts +3 -0
- package/es/table/feature/rowSelection.js +59 -0
- package/es/table/feature/sort.d.ts +3 -0
- package/es/table/feature/sort.js +11 -0
- package/es/table/feature/treeMode.d.ts +3 -0
- package/es/table/feature/treeMode.js +10 -0
- package/es/table/index.d.ts +2 -0
- package/es/table/index.js +2 -0
- package/es/table/interface.d.ts +34 -0
- package/es/table/interface.js +0 -0
- package/es/table/style/css.js +2 -0
- package/es/table/style/index.css +99 -0
- package/es/table/style/index.d.ts +2 -0
- package/es/table/style/index.js +2 -0
- package/es/table/style/index.less +8 -0
- package/es/table/style/mixin.less +1 -0
- package/es/table/table.d.ts +3 -0
- package/es/table/table.js +125 -0
- package/es/tabs/active-line.d.ts +8 -0
- package/es/tabs/active-line.js +29 -0
- package/es/tabs/arrow-button.d.ts +11 -0
- package/es/tabs/arrow-button.js +35 -0
- package/es/tabs/context.d.ts +5 -0
- package/es/tabs/context.js +4 -0
- package/es/tabs/index.d.ts +8 -0
- package/es/tabs/index.js +6 -0
- package/es/tabs/style/css.js +2 -0
- package/es/tabs/style/index.css +548 -0
- package/es/tabs/style/index.d.ts +2 -0
- package/es/tabs/style/index.js +2 -0
- package/es/tabs/style/index.less +396 -0
- package/es/tabs/style/mixin.less +32 -0
- package/es/tabs/tab-pane.d.ts +23 -0
- package/es/tabs/tab-pane.js +100 -0
- package/es/tabs/tabs.d.ts +30 -0
- package/es/tabs/tabs.js +447 -0
- package/es/tag/index.d.ts +3 -0
- package/es/tag/index.js +3 -0
- package/es/tag/style/css.js +2 -0
- package/es/tag/style/index.css +641 -0
- package/es/tag/style/index.d.ts +2 -0
- package/es/tag/style/index.js +2 -0
- package/es/tag/style/index.less +144 -0
- package/es/tag/style/mixin.less +44 -0
- package/es/tag/tag.d.ts +24 -0
- package/es/tag/tag.js +127 -0
- package/es/timeline/Timeline.d.ts +18 -0
- package/es/timeline/Timeline.js +104 -0
- package/es/timeline/TimelineItem.d.ts +15 -0
- package/es/timeline/TimelineItem.js +79 -0
- package/es/timeline/index.d.ts +4 -0
- package/es/timeline/index.js +2 -0
- package/es/timeline/style/css.js +2 -0
- package/es/timeline/style/index.css +300 -0
- package/es/timeline/style/index.d.ts +2 -0
- package/es/timeline/style/index.js +2 -0
- package/es/timeline/style/index.less +259 -0
- package/es/tooltip/index.d.ts +3 -0
- package/es/tooltip/index.js +3 -0
- package/es/tooltip/style/css.js +2 -0
- package/es/tooltip/style/index.css +180 -0
- package/es/tooltip/style/index.d.ts +2 -0
- package/es/tooltip/style/index.js +2 -0
- package/es/tooltip/style/index.less +27 -0
- package/es/tooltip/tooltip.d.ts +9 -0
- package/es/tooltip/tooltip.js +32 -0
- package/es/transfer/img/transfer-empty.png +0 -0
- package/es/transfer/index.d.ts +6 -0
- package/es/transfer/index.js +2 -0
- package/es/transfer/interface.d.ts +21 -0
- package/es/transfer/interface.js +0 -0
- package/es/transfer/list-body.d.ts +14 -0
- package/es/transfer/list-body.js +110 -0
- package/es/transfer/list-item.d.ts +15 -0
- package/es/transfer/list-item.js +59 -0
- package/es/transfer/list.d.ts +35 -0
- package/es/transfer/list.js +241 -0
- package/es/transfer/operation.d.ts +16 -0
- package/es/transfer/operation.js +45 -0
- package/es/transfer/search.d.ts +11 -0
- package/es/transfer/search.js +53 -0
- package/es/transfer/style/css.js +2 -0
- package/es/transfer/style/index.css +344 -0
- package/es/transfer/style/index.d.ts +2 -0
- package/es/transfer/style/index.js +2 -0
- package/es/transfer/style/index.less +186 -0
- package/es/transfer/style/mixins.less +3 -0
- package/es/transfer/transfer.d.ts +32 -0
- package/es/transfer/transfer.js +336 -0
- package/es/tree/index.d.ts +5 -0
- package/es/tree/index.js +5 -0
- package/es/tree/style/css.js +2 -0
- package/es/tree/style/index.css +268 -0
- package/es/tree/style/index.d.ts +2 -0
- package/es/tree/style/index.js +2 -0
- package/es/tree/style/index.less +144 -0
- package/es/tree/style/mixin.less +5 -0
- package/es/tree/tree.d.ts +57 -0
- package/es/tree/tree.js +312 -0
- package/es/tree/treeHooks.d.ts +9 -0
- package/es/tree/treeHooks.js +143 -0
- package/es/tree/treeNode.d.ts +40 -0
- package/es/tree/treeNode.js +333 -0
- package/es/tree/utils/treeUtils.d.ts +46 -0
- package/es/tree/utils/treeUtils.js +499 -0
- package/es/typography/base.d.ts +21 -0
- package/es/typography/base.js +96 -0
- package/es/typography/index.d.ts +11 -0
- package/es/typography/index.js +10 -0
- package/es/typography/paragraph.d.ts +7 -0
- package/es/typography/paragraph.js +11 -0
- package/es/typography/style/css.js +2 -0
- package/es/typography/style/index.css +242 -0
- package/es/typography/style/index.d.ts +2 -0
- package/es/typography/style/index.js +2 -0
- package/es/typography/style/index.less +140 -0
- package/es/typography/style/mixin.less +83 -0
- package/es/typography/text.d.ts +7 -0
- package/es/typography/text.js +11 -0
- package/es/typography/title.d.ts +10 -0
- package/es/typography/title.js +42 -0
- package/es/typography/typography.d.ts +14 -0
- package/es/typography/typography.js +53 -0
- package/es/upload/dragger.d.ts +7 -0
- package/es/upload/dragger.js +37 -0
- package/es/upload/index.d.ts +9 -0
- package/es/upload/index.js +6 -0
- package/es/upload/interface.d.ts +144 -0
- package/es/upload/interface.js +0 -0
- package/es/upload/request.d.ts +2 -0
- package/es/upload/request.js +100 -0
- package/es/upload/scan-files.d.ts +14 -0
- package/es/upload/scan-files.js +67 -0
- package/es/upload/style/css.js +2 -0
- package/es/upload/style/index.css +362 -0
- package/es/upload/style/index.d.ts +2 -0
- package/es/upload/style/index.js +2 -0
- package/es/upload/style/index.less +223 -0
- package/es/upload/upload.d.ts +4 -0
- package/es/upload/upload.js +534 -0
- package/es/upload/utils.d.ts +2 -0
- package/es/upload/utils.js +24 -0
- package/es/upload/verify-file.d.ts +3 -0
- package/es/upload/verify-file.js +30 -0
- package/es/view-container/context.d.ts +5 -0
- package/es/view-container/context.js +4 -0
- package/es/view-container/index.d.ts +3 -0
- package/es/view-container/index.js +2 -0
- package/es/view-container/view-container.d.ts +9 -0
- package/es/view-container/view-container.js +33 -0
- package/es/view-container/view-pane.d.ts +1 -0
- package/es/view-container/view-pane.js +0 -0
- package/lib/_utils/arrayUtil.d.ts +10 -0
- package/lib/_utils/arrayUtil.js +47 -0
- package/lib/_utils/devwarning.d.ts +1 -0
- package/lib/_utils/devwarning.js +21 -0
- package/lib/_utils/formatUtil.d.ts +46 -0
- package/lib/_utils/formatUtil.js +359 -0
- package/lib/_utils/hooks.d.ts +52 -0
- package/lib/_utils/hooks.js +220 -0
- package/lib/_utils/index.d.ts +8 -0
- package/lib/_utils/index.js +28 -0
- package/lib/_utils/numberUtil.d.ts +34 -0
- package/lib/_utils/numberUtil.js +205 -0
- package/lib/_utils/omit.d.ts +1 -0
- package/lib/_utils/omit.js +21 -0
- package/lib/_utils/react-children.d.ts +2 -0
- package/lib/_utils/react-children.js +20 -0
- package/lib/_utils/reactNode.d.ts +7 -0
- package/lib/_utils/reactNode.js +32 -0
- package/lib/_utils/type.d.ts +12 -0
- package/lib/_utils/type.js +27 -0
- package/lib/_utils/usePopper.d.ts +28 -0
- package/lib/_utils/usePopper.js +645 -0
- package/lib/alert/alert.d.ts +22 -0
- package/lib/alert/alert.js +247 -0
- package/lib/alert/index.d.ts +3 -0
- package/lib/alert/index.js +13 -0
- package/lib/alert/style/css.js +5 -0
- package/lib/alert/style/index.css +242 -0
- package/lib/alert/style/index.d.ts +2 -0
- package/lib/alert/style/index.js +5 -0
- package/lib/alert/style/index.less +118 -0
- package/lib/alert/style/mixin.less +16 -0
- package/lib/anchor/anchor-link.d.ts +12 -0
- package/lib/anchor/anchor-link.js +100 -0
- package/lib/anchor/anchor.d.ts +27 -0
- package/lib/anchor/anchor.js +561 -0
- package/lib/anchor/context.d.ts +3 -0
- package/lib/anchor/context.js +22 -0
- package/lib/anchor/index.d.ts +7 -0
- package/lib/anchor/index.js +17 -0
- package/lib/anchor/style/css.js +5 -0
- package/lib/anchor/style/index.css +278 -0
- package/lib/anchor/style/index.d.ts +2 -0
- package/lib/anchor/style/index.js +5 -0
- package/lib/anchor/style/index.less +191 -0
- package/lib/anchor/style/mixin.less +7 -0
- package/lib/avatar/avatar.d.ts +23 -0
- package/lib/avatar/avatar.js +197 -0
- package/lib/avatar/index.d.ts +3 -0
- package/lib/avatar/index.js +36 -0
- package/lib/avatar/style/css.js +5 -0
- package/lib/avatar/style/index.css +192 -0
- package/lib/avatar/style/index.d.ts +2 -0
- package/lib/avatar/style/index.js +5 -0
- package/lib/avatar/style/index.less +72 -0
- package/lib/avatar/style/mixin.less +5 -0
- package/lib/badge/badge.d.ts +34 -0
- package/lib/badge/badge.js +176 -0
- package/lib/badge/index.d.ts +3 -0
- package/lib/badge/index.js +36 -0
- package/lib/badge/style/css.js +5 -0
- package/lib/badge/style/index.css +226 -0
- package/lib/badge/style/index.d.ts +2 -0
- package/lib/badge/style/index.js +5 -0
- package/lib/badge/style/index.less +129 -0
- package/lib/badge/style/mixin.less +5 -0
- package/lib/base-data/base-data.d.ts +4 -0
- package/lib/base-data/base-data.js +776 -0
- package/lib/base-data/index.d.ts +3 -0
- package/lib/base-data/index.js +36 -0
- package/lib/base-data/interface.d.ts +57 -0
- package/lib/base-data/interface.js +11 -0
- package/lib/base-data/style/css.js +5 -0
- package/lib/base-data/style/index.css +280 -0
- package/lib/base-data/style/index.d.ts +2 -0
- package/lib/base-data/style/index.js +5 -0
- package/lib/base-data/style/index.less +188 -0
- package/lib/base-data/style/mixin.less +5 -0
- package/lib/button/button.d.ts +33 -0
- package/lib/button/button.js +200 -0
- package/lib/button/index.d.ts +3 -0
- package/lib/button/index.js +13 -0
- package/lib/button/style/css.js +5 -0
- package/lib/button/style/index.css +321 -0
- package/lib/button/style/index.d.ts +2 -0
- package/lib/button/style/index.js +5 -0
- package/lib/button/style/index.less +205 -0
- package/lib/button/style/mixin.less +39 -0
- package/lib/card/card.d.ts +24 -0
- package/lib/card/card.js +89 -0
- package/lib/card/index.d.ts +3 -0
- package/lib/card/index.js +36 -0
- package/lib/card/style/css.js +5 -0
- package/lib/card/style/index.css +182 -0
- package/lib/card/style/index.d.ts +2 -0
- package/lib/card/style/index.js +5 -0
- package/lib/card/style/index.less +98 -0
- package/lib/carousel/carousel.d.ts +23 -0
- package/lib/carousel/carousel.js +315 -0
- package/lib/carousel/displayList.d.ts +12 -0
- package/lib/carousel/displayList.js +42 -0
- package/lib/carousel/fadeList.d.ts +14 -0
- package/lib/carousel/fadeList.js +49 -0
- package/lib/carousel/index.d.ts +7 -0
- package/lib/carousel/index.js +64 -0
- package/lib/carousel/slideList.d.ts +11 -0
- package/lib/carousel/slideList.js +43 -0
- package/lib/carousel/slidebar.d.ts +12 -0
- package/lib/carousel/slidebar.js +64 -0
- package/lib/carousel/style/css.js +5 -0
- package/lib/carousel/style/index.css +327 -0
- package/lib/carousel/style/index.d.ts +2 -0
- package/lib/carousel/style/index.js +5 -0
- package/lib/carousel/style/index.less +138 -0
- package/lib/carousel/style/mixin.less +5 -0
- package/lib/cascader/cascader.d.ts +54 -0
- package/lib/cascader/cascader.js +295 -0
- package/lib/cascader/index.d.ts +3 -0
- package/lib/cascader/index.js +36 -0
- package/lib/cascader/style/css.js +5 -0
- package/lib/cascader/style/index.css +260 -0
- package/lib/cascader/style/index.d.ts +2 -0
- package/lib/cascader/style/index.js +5 -0
- package/lib/cascader/style/index.less +173 -0
- package/lib/checkbox/checkbox.d.ts +22 -0
- package/lib/checkbox/checkbox.js +159 -0
- package/lib/checkbox/group.d.ts +25 -0
- package/lib/checkbox/group.js +188 -0
- package/lib/checkbox/index.d.ts +11 -0
- package/lib/checkbox/index.js +45 -0
- package/lib/checkbox/style/css.js +5 -0
- package/lib/checkbox/style/index.css +376 -0
- package/lib/checkbox/style/index.d.ts +2 -0
- package/lib/checkbox/style/index.js +5 -0
- package/lib/checkbox/style/index.less +246 -0
- package/lib/city-picker/city-group.d.ts +8 -0
- package/lib/city-picker/city-group.js +70 -0
- package/lib/city-picker/city-list.d.ts +12 -0
- package/lib/city-picker/city-list.js +85 -0
- package/lib/city-picker/city-panel-item.d.ts +13 -0
- package/lib/city-picker/city-panel-item.js +49 -0
- package/lib/city-picker/city-panel.d.ts +17 -0
- package/lib/city-picker/city-panel.js +204 -0
- package/lib/city-picker/city-picker.d.ts +24 -0
- package/lib/city-picker/city-picker.js +209 -0
- package/lib/city-picker/city-search-panel.d.ts +9 -0
- package/lib/city-picker/city-search-panel.js +76 -0
- package/lib/city-picker/index.d.ts +3 -0
- package/lib/city-picker/index.js +36 -0
- package/lib/city-picker/no-data.d.ts +2 -0
- package/lib/city-picker/no-data.js +43 -0
- package/lib/city-picker/style/css.js +5 -0
- package/lib/city-picker/style/index.css +410 -0
- package/lib/city-picker/style/index.d.ts +2 -0
- package/lib/city-picker/style/index.js +5 -0
- package/lib/city-picker/style/index.less +280 -0
- package/lib/city-picker/style/mixin.less +5 -0
- package/lib/city-picker/utils/grouping.d.ts +7 -0
- package/lib/city-picker/utils/grouping.js +35 -0
- package/lib/collapse/collapse.d.ts +20 -0
- package/lib/collapse/collapse.js +188 -0
- package/lib/collapse/index.d.ts +10 -0
- package/lib/collapse/index.js +23 -0
- package/lib/collapse/panel.d.ts +19 -0
- package/lib/collapse/panel.js +188 -0
- package/lib/collapse/style/css.js +5 -0
- package/lib/collapse/style/index.css +214 -0
- package/lib/collapse/style/index.d.ts +2 -0
- package/lib/collapse/style/index.js +5 -0
- package/lib/collapse/style/index.less +85 -0
- package/lib/collapse/style/mixin.less +5 -0
- package/lib/config-provider/ConfigContext.d.ts +22 -0
- package/lib/config-provider/ConfigContext.js +19 -0
- package/lib/config-provider/SizeContext.d.ts +8 -0
- package/lib/config-provider/SizeContext.js +26 -0
- package/lib/config-provider/compDefaultProps.d.ts +396 -0
- package/lib/config-provider/compDefaultProps.js +430 -0
- package/lib/config-provider/configProvider.d.ts +11 -0
- package/lib/config-provider/configProvider.js +69 -0
- package/lib/config-provider/defaultConfig.d.ts +10 -0
- package/lib/config-provider/defaultConfig.js +31 -0
- package/lib/config-provider/index.d.ts +6 -0
- package/lib/config-provider/index.js +37 -0
- package/lib/date-picker/calendar.d.ts +12 -0
- package/lib/date-picker/calendar.js +135 -0
- package/lib/date-picker/context.d.ts +29 -0
- package/lib/date-picker/context.js +22 -0
- package/lib/date-picker/date-panel.d.ts +53 -0
- package/lib/date-picker/date-panel.js +305 -0
- package/lib/date-picker/date-picker.d.ts +51 -0
- package/lib/date-picker/date-picker.js +487 -0
- package/lib/date-picker/hooks/use-hover-value.d.ts +3 -0
- package/lib/date-picker/hooks/use-hover-value.js +66 -0
- package/lib/date-picker/hooks/use-picker-input.d.ts +16 -0
- package/lib/date-picker/hooks/use-picker-input.js +125 -0
- package/lib/date-picker/hooks/use-range-cls.d.ts +14 -0
- package/lib/date-picker/hooks/use-range-cls.js +56 -0
- package/lib/date-picker/hooks/use-range-disabled.d.ts +7 -0
- package/lib/date-picker/hooks/use-range-disabled.js +107 -0
- package/lib/date-picker/hooks/use-range-view-dates.d.ts +6 -0
- package/lib/date-picker/hooks/use-range-view-dates.js +137 -0
- package/lib/date-picker/hooks/use-state-memo.d.ts +1 -0
- package/lib/date-picker/hooks/use-state-memo.js +21 -0
- package/lib/date-picker/hooks/use-text-value-mapping.d.ts +5 -0
- package/lib/date-picker/hooks/use-text-value-mapping.js +52 -0
- package/lib/date-picker/hooks/use-value-texts.d.ts +5 -0
- package/lib/date-picker/hooks/use-value-texts.js +26 -0
- package/lib/date-picker/index.d.ts +4 -0
- package/lib/date-picker/index.js +21 -0
- package/lib/date-picker/interface.d.ts +135 -0
- package/lib/date-picker/interface.js +0 -0
- package/lib/date-picker/locale/en_GB.d.ts +1 -0
- package/lib/date-picker/locale/en_GB.js +33 -0
- package/lib/date-picker/locale/en_US.d.ts +1 -0
- package/lib/date-picker/locale/en_US.js +33 -0
- package/lib/date-picker/locale/zh_CN.d.ts +3 -0
- package/lib/date-picker/locale/zh_CN.js +48 -0
- package/lib/date-picker/locale/zh_TW.d.ts +1 -0
- package/lib/date-picker/locale/zh_TW.js +33 -0
- package/lib/date-picker/panel/date-time/date-time.d.ts +12 -0
- package/lib/date-picker/panel/date-time/date-time.js +66 -0
- package/lib/date-picker/panel/header/header.d.ts +15 -0
- package/lib/date-picker/panel/header/header.js +79 -0
- package/lib/date-picker/panel/month/month.d.ts +8 -0
- package/lib/date-picker/panel/month/month.js +174 -0
- package/lib/date-picker/panel/quarter/quarter.d.ts +6 -0
- package/lib/date-picker/panel/quarter/quarter.js +160 -0
- package/lib/date-picker/panel/time/time-column.d.ts +17 -0
- package/lib/date-picker/panel/time/time-column.js +107 -0
- package/lib/date-picker/panel/time/time.d.ts +20 -0
- package/lib/date-picker/panel/time/time.js +285 -0
- package/lib/date-picker/panel/week/week.d.ts +10 -0
- package/lib/date-picker/panel/week/week.js +279 -0
- package/lib/date-picker/panel/year/year.d.ts +9 -0
- package/lib/date-picker/panel/year/year.js +168 -0
- package/lib/date-picker/popper.d.ts +15 -0
- package/lib/date-picker/popper.js +103 -0
- package/lib/date-picker/range/input-range.d.ts +35 -0
- package/lib/date-picker/range/input-range.js +276 -0
- package/lib/date-picker/range-picker.d.ts +49 -0
- package/lib/date-picker/range-picker.js +821 -0
- package/lib/date-picker/single/input-date.d.ts +19 -0
- package/lib/date-picker/single/input-date.js +204 -0
- package/lib/date-picker/style/css.js +3 -0
- package/lib/date-picker/style/index.css +880 -0
- package/lib/date-picker/style/index.d.ts +1 -0
- package/lib/date-picker/style/index.js +3 -0
- package/lib/date-picker/style/index.less +820 -0
- package/lib/date-picker/style/mixin.less +85 -0
- package/lib/date-picker/utils/date-fns.d.ts +86 -0
- package/lib/date-picker/utils/date-fns.js +577 -0
- package/lib/date-picker/utils/get-extra-footer.d.ts +3 -0
- package/lib/date-picker/utils/get-extra-footer.js +28 -0
- package/lib/date-picker/utils/get-ranges.d.ts +13 -0
- package/lib/date-picker/utils/get-ranges.js +76 -0
- package/lib/date-picker/utils/index.d.ts +28 -0
- package/lib/date-picker/utils/index.js +422 -0
- package/lib/drawer/drawer.d.ts +41 -0
- package/lib/drawer/drawer.js +288 -0
- package/lib/drawer/index.d.ts +3 -0
- package/lib/drawer/index.js +36 -0
- package/lib/drawer/style/css.js +5 -0
- package/lib/drawer/style/index.css +230 -0
- package/lib/drawer/style/index.d.ts +2 -0
- package/lib/drawer/style/index.js +5 -0
- package/lib/drawer/style/index.less +105 -0
- package/lib/drawer/style/mixin.less +10 -0
- package/lib/dropdown/dropdown.d.ts +25 -0
- package/lib/dropdown/dropdown.js +152 -0
- package/lib/dropdown/index.d.ts +3 -0
- package/lib/dropdown/index.js +36 -0
- package/lib/dropdown/menu.d.ts +21 -0
- package/lib/dropdown/menu.js +127 -0
- package/lib/dropdown/style/css.js +5 -0
- package/lib/dropdown/style/index.css +271 -0
- package/lib/dropdown/style/index.d.ts +2 -0
- package/lib/dropdown/style/index.js +5 -0
- package/lib/dropdown/style/index.less +124 -0
- package/lib/empty/empty.d.ts +10 -0
- package/lib/empty/empty.js +104 -0
- package/lib/empty/img/transfer-empty.png +0 -0
- package/lib/empty/index.d.ts +3 -0
- package/lib/empty/index.js +36 -0
- package/lib/empty/style/css.js +5 -0
- package/lib/empty/style/index.css +116 -0
- package/lib/empty/style/index.d.ts +2 -0
- package/lib/empty/style/index.js +5 -0
- package/lib/empty/style/index.less +23 -0
- package/lib/empty/style/mixin.less +5 -0
- package/lib/filter/condition.d.ts +4 -0
- package/lib/filter/condition.js +123 -0
- package/lib/filter/filter.d.ts +4 -0
- package/lib/filter/filter.js +251 -0
- package/lib/filter/index.d.ts +3 -0
- package/lib/filter/index.js +36 -0
- package/lib/filter/interface.d.ts +79 -0
- package/lib/filter/interface.js +0 -0
- package/lib/filter/scheme.d.ts +4 -0
- package/lib/filter/scheme.js +352 -0
- package/lib/filter/style/css.js +5 -0
- package/lib/filter/style/index.css +345 -0
- package/lib/filter/style/index.d.ts +2 -0
- package/lib/filter/style/index.js +5 -0
- package/lib/filter/style/index.less +263 -0
- package/lib/form/Field.d.ts +20 -0
- package/lib/form/Field.js +295 -0
- package/lib/form/FieldContext.d.ts +4 -0
- package/lib/form/FieldContext.js +41 -0
- package/lib/form/FieldLabel.d.ts +11 -0
- package/lib/form/FieldLabel.js +70 -0
- package/lib/form/FieldWrapper.d.ts +8 -0
- package/lib/form/FieldWrapper.js +54 -0
- package/lib/form/Form.d.ts +19 -0
- package/lib/form/Form.js +146 -0
- package/lib/form/FormContext.d.ts +12 -0
- package/lib/form/FormContext.js +51 -0
- package/lib/form/hooks/useForceUpdate.d.ts +2 -0
- package/lib/form/hooks/useForceUpdate.js +27 -0
- package/lib/form/hooks/useForm.d.ts +3 -0
- package/lib/form/hooks/useForm.js +391 -0
- package/lib/form/index.d.ts +21 -0
- package/lib/form/index.js +49 -0
- package/lib/form/interface.d.ts +105 -0
- package/lib/form/interface.js +0 -0
- package/lib/form/style/css.js +5 -0
- package/lib/form/style/index.css +179 -0
- package/lib/form/style/index.d.ts +2 -0
- package/lib/form/style/index.js +5 -0
- package/lib/form/style/index.less +84 -0
- package/lib/form/style/mixin.less +5 -0
- package/lib/grid/col.d.ts +21 -0
- package/lib/grid/col.js +130 -0
- package/lib/grid/index.d.ts +3 -0
- package/lib/grid/index.js +23 -0
- package/lib/grid/row.d.ts +21 -0
- package/lib/grid/row.js +137 -0
- package/lib/grid/style/css.js +5 -0
- package/lib/grid/style/index.css +118 -0
- package/lib/grid/style/index.d.ts +2 -0
- package/lib/grid/style/index.js +5 -0
- package/lib/grid/style/index.less +22 -0
- package/lib/icon/icon.d.ts +16 -0
- package/lib/icon/icon.js +89 -0
- package/lib/icon/index.d.ts +3 -0
- package/lib/icon/index.js +36 -0
- package/lib/icon/interface.d.ts +3 -0
- package/lib/icon/interface.js +21 -0
- package/lib/icon/style/css.js +5 -0
- package/lib/icon/style/index.css +104 -0
- package/lib/icon/style/index.d.ts +2 -0
- package/lib/icon/style/index.js +5 -0
- package/lib/icon/style/index.less +14 -0
- package/lib/image/image.d.ts +29 -0
- package/lib/image/image.js +175 -0
- package/lib/image/index.d.ts +3 -0
- package/lib/image/index.js +36 -0
- package/lib/image/preview-group.d.ts +11 -0
- package/lib/image/preview-group.js +144 -0
- package/lib/image/preview.d.ts +27 -0
- package/lib/image/preview.js +210 -0
- package/lib/image/style/css.js +5 -0
- package/lib/image/style/index.css +322 -0
- package/lib/image/style/index.d.ts +2 -0
- package/lib/image/style/index.js +5 -0
- package/lib/image/style/index.less +222 -0
- package/lib/image-cropper/cropper.d.ts +25 -0
- package/lib/image-cropper/cropper.js +148 -0
- package/lib/image-cropper/image-cropper.d.ts +32 -0
- package/lib/image-cropper/image-cropper.js +222 -0
- package/lib/image-cropper/index.d.ts +2 -0
- package/lib/image-cropper/index.js +13 -0
- package/lib/image-cropper/operation-bar.d.ts +18 -0
- package/lib/image-cropper/operation-bar.js +142 -0
- package/lib/image-cropper/style/css.js +5 -0
- package/lib/image-cropper/style/index.css +385 -0
- package/lib/image-cropper/style/index.d.ts +2 -0
- package/lib/image-cropper/style/index.js +5 -0
- package/lib/image-cropper/style/index.less +325 -0
- package/lib/index.d.ts +54 -0
- package/lib/index.js +484 -0
- package/lib/input/ClearableLabeledInput.d.ts +25 -0
- package/lib/input/ClearableLabeledInput.js +164 -0
- package/lib/input/TextArea.d.ts +22 -0
- package/lib/input/TextArea.js +259 -0
- package/lib/input/calculateNodeHeight.d.ts +13 -0
- package/lib/input/calculateNodeHeight.js +113 -0
- package/lib/input/index.d.ts +5 -0
- package/lib/input/index.js +44 -0
- package/lib/input/input.d.ts +26 -0
- package/lib/input/input.js +196 -0
- package/lib/input/style/css.js +3 -0
- package/lib/input/style/index.css +499 -0
- package/lib/input/style/index.d.ts +1 -0
- package/lib/input/style/index.js +3 -0
- package/lib/input/style/index.less +238 -0
- package/lib/input/style/mixin.less +59 -0
- package/lib/input-number/index.d.ts +3 -0
- package/lib/input-number/index.js +13 -0
- package/lib/input-number/inputNumber.d.ts +26 -0
- package/lib/input-number/inputNumber.js +382 -0
- package/lib/input-number/style/css.js +3 -0
- package/lib/input-number/style/index.css +212 -0
- package/lib/input-number/style/index.d.ts +1 -0
- package/lib/input-number/style/index.js +3 -0
- package/lib/input-number/style/index.less +65 -0
- package/lib/input-number/style/mixin.less +15 -0
- package/lib/layout/index.d.ts +13 -0
- package/lib/layout/index.js +30 -0
- package/lib/layout/layout.d.ts +23 -0
- package/lib/layout/layout.js +184 -0
- package/lib/layout/sider.d.ts +29 -0
- package/lib/layout/sider.js +257 -0
- package/lib/layout/style/css.js +5 -0
- package/lib/layout/style/index.css +236 -0
- package/lib/layout/style/index.d.ts +2 -0
- package/lib/layout/style/index.js +5 -0
- package/lib/layout/style/index.less +133 -0
- package/lib/layout/style/light.less +11 -0
- package/lib/locale/index.d.ts +3 -0
- package/lib/locale/index.js +33 -0
- package/lib/locale/locale.d.ts +120 -0
- package/lib/locale/locale.js +281 -0
- package/lib/locale/zh-CN.d.ts +78 -0
- package/lib/locale/zh-CN.js +78 -0
- package/lib/menu/index.d.ts +3 -0
- package/lib/menu/index.js +36 -0
- package/lib/menu/interface.d.ts +12 -0
- package/lib/menu/interface.js +0 -0
- package/lib/menu/menu.d.ts +24 -0
- package/lib/menu/menu.js +191 -0
- package/lib/menu/menuItem.d.ts +10 -0
- package/lib/menu/menuItem.js +174 -0
- package/lib/menu/style/css.js +5 -0
- package/lib/menu/style/index.css +475 -0
- package/lib/menu/style/index.d.ts +2 -0
- package/lib/menu/style/index.js +5 -0
- package/lib/menu/style/index.less +198 -0
- package/lib/menu/style/mixin.less +100 -0
- package/lib/menu/subMenu.d.ts +13 -0
- package/lib/menu/subMenu.js +407 -0
- package/lib/menu/util.d.ts +9 -0
- package/lib/menu/util.js +105 -0
- package/lib/message/content.d.ts +7 -0
- package/lib/message/content.js +109 -0
- package/lib/message/index.d.ts +21 -0
- package/lib/message/index.js +138 -0
- package/lib/message/style/css.js +5 -0
- package/lib/message/style/index.css +190 -0
- package/lib/message/style/index.d.ts +2 -0
- package/lib/message/style/index.js +5 -0
- package/lib/message/style/index.less +94 -0
- package/lib/modal/confirm.d.ts +9 -0
- package/lib/modal/confirm.js +75 -0
- package/lib/modal/index.d.ts +6 -0
- package/lib/modal/index.js +52 -0
- package/lib/modal/modal.d.ts +45 -0
- package/lib/modal/modal.js +298 -0
- package/lib/modal/style/css.js +5 -0
- package/lib/modal/style/index.css +244 -0
- package/lib/modal/style/index.d.ts +2 -0
- package/lib/modal/style/index.js +5 -0
- package/lib/modal/style/index.less +144 -0
- package/lib/modal/style/mixin.less +11 -0
- package/lib/notification/content.d.ts +7 -0
- package/lib/notification/content.js +156 -0
- package/lib/notification/index.d.ts +34 -0
- package/lib/notification/index.js +164 -0
- package/lib/notification/style/css.js +5 -0
- package/lib/notification/style/index.css +236 -0
- package/lib/notification/style/index.d.ts +2 -0
- package/lib/notification/style/index.js +5 -0
- package/lib/notification/style/index.less +148 -0
- package/lib/notification-base/index.d.ts +5 -0
- package/lib/notification-base/index.js +112 -0
- package/lib/notification-base/notice.d.ts +16 -0
- package/lib/notification-base/notice.js +119 -0
- package/lib/notification-base/notification.d.ts +7 -0
- package/lib/notification-base/notification.js +110 -0
- package/lib/pagination/index.d.ts +3 -0
- package/lib/pagination/index.js +13 -0
- package/lib/pagination/pagination.d.ts +29 -0
- package/lib/pagination/pagination.js +465 -0
- package/lib/pagination/style/css.js +5 -0
- package/lib/pagination/style/index.css +707 -0
- package/lib/pagination/style/index.d.ts +2 -0
- package/lib/pagination/style/index.js +5 -0
- package/lib/pagination/style/index.less +579 -0
- package/lib/popconfirm/index.d.ts +3 -0
- package/lib/popconfirm/index.js +36 -0
- package/lib/popconfirm/popconfirm.d.ts +19 -0
- package/lib/popconfirm/popconfirm.js +119 -0
- package/lib/popconfirm/style/css.js +5 -0
- package/lib/popconfirm/style/index.css +213 -0
- package/lib/popconfirm/style/index.d.ts +2 -0
- package/lib/popconfirm/style/index.js +5 -0
- package/lib/popconfirm/style/index.less +59 -0
- package/lib/progress/circle.d.ts +8 -0
- package/lib/progress/circle.js +120 -0
- package/lib/progress/index.d.ts +3 -0
- package/lib/progress/index.js +13 -0
- package/lib/progress/line.d.ts +8 -0
- package/lib/progress/line.js +46 -0
- package/lib/progress/progress.d.ts +35 -0
- package/lib/progress/progress.js +206 -0
- package/lib/progress/style/css.js +5 -0
- package/lib/progress/style/index.css +242 -0
- package/lib/progress/style/index.d.ts +2 -0
- package/lib/progress/style/index.js +5 -0
- package/lib/progress/style/index.less +176 -0
- package/lib/progress/style/mixin.less +5 -0
- package/lib/progress/utils.d.ts +6 -0
- package/lib/progress/utils.js +95 -0
- package/lib/radio/context.d.ts +5 -0
- package/lib/radio/context.js +24 -0
- package/lib/radio/group.d.ts +4 -0
- package/lib/radio/group.js +139 -0
- package/lib/radio/index.d.ts +12 -0
- package/lib/radio/index.js +32 -0
- package/lib/radio/interface.d.ts +47 -0
- package/lib/radio/interface.js +0 -0
- package/lib/radio/radio-button.d.ts +4 -0
- package/lib/radio/radio-button.js +76 -0
- package/lib/radio/radio.d.ts +4 -0
- package/lib/radio/radio.js +126 -0
- package/lib/radio/style/css.js +5 -0
- package/lib/radio/style/index.css +398 -0
- package/lib/radio/style/index.d.ts +2 -0
- package/lib/radio/style/index.js +5 -0
- package/lib/radio/style/index.less +315 -0
- package/lib/rate/index.d.ts +3 -0
- package/lib/rate/index.js +13 -0
- package/lib/rate/rate.d.ts +23 -0
- package/lib/rate/rate.js +307 -0
- package/lib/rate/style/css.js +5 -0
- package/lib/rate/style/index.css +201 -0
- package/lib/rate/style/index.d.ts +2 -0
- package/lib/rate/style/index.js +5 -0
- package/lib/rate/style/index.less +79 -0
- package/lib/search/index.d.ts +8 -0
- package/lib/search/index.js +34 -0
- package/lib/search/interface.d.ts +73 -0
- package/lib/search/interface.js +15 -0
- package/lib/search/option.d.ts +4 -0
- package/lib/search/option.js +79 -0
- package/lib/search/quick-search.d.ts +4 -0
- package/lib/search/quick-search.js +596 -0
- package/lib/search/search-panel.d.ts +29 -0
- package/lib/search/search-panel.js +280 -0
- package/lib/search/search.d.ts +4 -0
- package/lib/search/search.js +177 -0
- package/lib/search/style/css.js +5 -0
- package/lib/search/style/index.css +703 -0
- package/lib/search/style/index.d.ts +2 -0
- package/lib/search/style/index.js +5 -0
- package/lib/search/style/index.less +486 -0
- package/lib/search/style/mixin.less +46 -0
- package/lib/select/index.d.ts +8 -0
- package/lib/select/index.js +17 -0
- package/lib/select/interface.d.ts +59 -0
- package/lib/select/interface.js +16 -0
- package/lib/select/option.d.ts +16 -0
- package/lib/select/option.js +108 -0
- package/lib/select/select.d.ts +4 -0
- package/lib/select/select.js +712 -0
- package/lib/select/style/css.js +3 -0
- package/lib/select/style/index.css +599 -0
- package/lib/select/style/index.d.ts +1 -0
- package/lib/select/style/index.js +3 -0
- package/lib/select/style/index.less +368 -0
- package/lib/select/style/mixin.less +85 -0
- package/lib/slider/index.d.ts +3 -0
- package/lib/slider/index.js +36 -0
- package/lib/slider/marks.d.ts +17 -0
- package/lib/slider/marks.js +72 -0
- package/lib/slider/slider.d.ts +30 -0
- package/lib/slider/slider.js +333 -0
- package/lib/slider/sliderTooltip.d.ts +11 -0
- package/lib/slider/sliderTooltip.js +78 -0
- package/lib/slider/steps.d.ts +17 -0
- package/lib/slider/steps.js +76 -0
- package/lib/slider/style/css.js +5 -0
- package/lib/slider/style/index.css +305 -0
- package/lib/slider/style/index.d.ts +2 -0
- package/lib/slider/style/index.js +5 -0
- package/lib/slider/style/index.less +167 -0
- package/lib/slider/style/mixin.less +40 -0
- package/lib/slider/track.d.ts +10 -0
- package/lib/slider/track.js +33 -0
- package/lib/slider/utils.d.ts +8 -0
- package/lib/slider/utils.js +78 -0
- package/lib/space/index.d.ts +3 -0
- package/lib/space/index.js +36 -0
- package/lib/space/space.d.ts +16 -0
- package/lib/space/space.js +129 -0
- package/lib/space/style/css.js +5 -0
- package/lib/space/style/index.css +139 -0
- package/lib/space/style/index.d.ts +2 -0
- package/lib/space/style/index.js +5 -0
- package/lib/space/style/index.less +42 -0
- package/lib/spin/index.d.ts +3 -0
- package/lib/spin/index.js +36 -0
- package/lib/spin/spin.d.ts +13 -0
- package/lib/spin/spin.js +150 -0
- package/lib/spin/style/css.js +5 -0
- package/lib/spin/style/index.css +291 -0
- package/lib/spin/style/index.d.ts +2 -0
- package/lib/spin/style/index.js +5 -0
- package/lib/spin/style/index.less +163 -0
- package/lib/spin/style/mixin.less +8 -0
- package/lib/split-panel/index.d.ts +3 -0
- package/lib/split-panel/index.js +36 -0
- package/lib/split-panel/interface.d.ts +3 -0
- package/lib/split-panel/interface.js +0 -0
- package/lib/split-panel/split-panel.d.ts +24 -0
- package/lib/split-panel/split-panel.js +312 -0
- package/lib/split-panel/style/css.js +5 -0
- package/lib/split-panel/style/index.css +278 -0
- package/lib/split-panel/style/index.d.ts +2 -0
- package/lib/split-panel/style/index.js +5 -0
- package/lib/split-panel/style/index.less +192 -0
- package/lib/split-panel/trigger.d.ts +15 -0
- package/lib/split-panel/trigger.js +79 -0
- package/lib/stepper/index.d.ts +3 -0
- package/lib/stepper/index.js +36 -0
- package/lib/stepper/stepper.d.ts +11 -0
- package/lib/stepper/stepper.js +258 -0
- package/lib/stepper/style/css.js +5 -0
- package/lib/stepper/style/index.css +224 -0
- package/lib/stepper/style/index.d.ts +2 -0
- package/lib/stepper/style/index.js +5 -0
- package/lib/stepper/style/index.less +78 -0
- package/lib/stepper/style/mixin.less +15 -0
- package/lib/steps/Step.d.ts +19 -0
- package/lib/steps/Step.js +115 -0
- package/lib/steps/Steps.d.ts +16 -0
- package/lib/steps/Steps.js +143 -0
- package/lib/steps/index.d.ts +5 -0
- package/lib/steps/index.js +41 -0
- package/lib/steps/interface.d.ts +13 -0
- package/lib/steps/interface.js +15 -0
- package/lib/steps/style/css.js +5 -0
- package/lib/steps/style/index.css +305 -0
- package/lib/steps/style/index.d.ts +2 -0
- package/lib/steps/style/index.js +5 -0
- package/lib/steps/style/index.less +192 -0
- package/lib/steps/style/mixin.less +41 -0
- package/lib/style/color/colors.less +2 -0
- package/lib/style/components.less +52 -0
- package/lib/style/core/index.less +2 -0
- package/lib/style/core/motion/other.less +126 -0
- package/lib/style/core/motion/slide.less +120 -0
- package/lib/style/core/motion/zoom.less +247 -0
- package/lib/style/core/motion.less +3 -0
- package/lib/style/core/reset.less +235 -0
- package/lib/style/css.js +3 -0
- package/lib/style/index.css +1814 -0
- package/lib/style/index.d.ts +1 -0
- package/lib/style/index.js +3 -0
- package/lib/style/index.less +3 -0
- package/lib/style/mixins/index.less +90 -0
- package/lib/style/mixins/overlay.less +22 -0
- package/lib/style/mixins/reset.less +13 -0
- package/lib/style/themes/default.less +696 -0
- package/lib/style/themes/index.less +1 -0
- package/lib/switch/index.d.ts +3 -0
- package/lib/switch/index.js +13 -0
- package/lib/switch/style/css.js +5 -0
- package/lib/switch/style/index.css +208 -0
- package/lib/switch/style/index.d.ts +2 -0
- package/lib/switch/style/index.js +5 -0
- package/lib/switch/style/index.less +70 -0
- package/lib/switch/style/mixin.less +39 -0
- package/lib/switch/switch.d.ts +20 -0
- package/lib/switch/switch.js +131 -0
- package/lib/table/feature/autoRowSpan.d.ts +3 -0
- package/lib/table/feature/autoRowSpan.js +17 -0
- package/lib/table/feature/columnDrag.d.ts +4 -0
- package/lib/table/feature/columnDrag.js +17 -0
- package/lib/table/feature/columnResize.d.ts +4 -0
- package/lib/table/feature/columnResize.js +17 -0
- package/lib/table/feature/contextMenu.d.ts +3 -0
- package/lib/table/feature/contextMenu.js +17 -0
- package/lib/table/feature/filter.d.ts +3 -0
- package/lib/table/feature/filter.js +23 -0
- package/lib/table/feature/rowDetail.d.ts +3 -0
- package/lib/table/feature/rowDetail.js +21 -0
- package/lib/table/feature/rowSelection.d.ts +3 -0
- package/lib/table/feature/rowSelection.js +70 -0
- package/lib/table/feature/sort.d.ts +3 -0
- package/lib/table/feature/sort.js +23 -0
- package/lib/table/feature/treeMode.d.ts +3 -0
- package/lib/table/feature/treeMode.js +21 -0
- package/lib/table/index.d.ts +2 -0
- package/lib/table/index.js +13 -0
- package/lib/table/interface.d.ts +34 -0
- package/lib/table/interface.js +0 -0
- package/lib/table/style/css.js +5 -0
- package/lib/table/style/index.css +99 -0
- package/lib/table/style/index.d.ts +2 -0
- package/lib/table/style/index.js +5 -0
- package/lib/table/style/index.less +8 -0
- package/lib/table/style/mixin.less +1 -0
- package/lib/table/table.d.ts +3 -0
- package/lib/table/table.js +164 -0
- package/lib/tabs/active-line.d.ts +8 -0
- package/lib/tabs/active-line.js +51 -0
- package/lib/tabs/arrow-button.d.ts +11 -0
- package/lib/tabs/arrow-button.js +61 -0
- package/lib/tabs/context.d.ts +5 -0
- package/lib/tabs/context.js +24 -0
- package/lib/tabs/index.d.ts +8 -0
- package/lib/tabs/index.js +18 -0
- package/lib/tabs/style/css.js +5 -0
- package/lib/tabs/style/index.css +548 -0
- package/lib/tabs/style/index.d.ts +2 -0
- package/lib/tabs/style/index.js +5 -0
- package/lib/tabs/style/index.less +396 -0
- package/lib/tabs/style/mixin.less +32 -0
- package/lib/tabs/tab-pane.d.ts +23 -0
- package/lib/tabs/tab-pane.js +129 -0
- package/lib/tabs/tabs.d.ts +30 -0
- package/lib/tabs/tabs.js +494 -0
- package/lib/tag/index.d.ts +3 -0
- package/lib/tag/index.js +36 -0
- package/lib/tag/style/css.js +5 -0
- package/lib/tag/style/index.css +641 -0
- package/lib/tag/style/index.d.ts +2 -0
- package/lib/tag/style/index.js +5 -0
- package/lib/tag/style/index.less +144 -0
- package/lib/tag/style/mixin.less +44 -0
- package/lib/tag/tag.d.ts +24 -0
- package/lib/tag/tag.js +161 -0
- package/lib/timeline/Timeline.d.ts +18 -0
- package/lib/timeline/Timeline.js +129 -0
- package/lib/timeline/TimelineItem.d.ts +15 -0
- package/lib/timeline/TimelineItem.js +105 -0
- package/lib/timeline/index.d.ts +4 -0
- package/lib/timeline/index.js +13 -0
- package/lib/timeline/style/css.js +5 -0
- package/lib/timeline/style/index.css +300 -0
- package/lib/timeline/style/index.d.ts +2 -0
- package/lib/timeline/style/index.js +5 -0
- package/lib/timeline/style/index.less +259 -0
- package/lib/tooltip/index.d.ts +3 -0
- package/lib/tooltip/index.js +36 -0
- package/lib/tooltip/style/css.js +5 -0
- package/lib/tooltip/style/index.css +180 -0
- package/lib/tooltip/style/index.d.ts +2 -0
- package/lib/tooltip/style/index.js +5 -0
- package/lib/tooltip/style/index.less +27 -0
- package/lib/tooltip/tooltip.d.ts +9 -0
- package/lib/tooltip/tooltip.js +55 -0
- package/lib/transfer/img/transfer-empty.png +0 -0
- package/lib/transfer/index.d.ts +6 -0
- package/lib/transfer/index.js +13 -0
- package/lib/transfer/interface.d.ts +21 -0
- package/lib/transfer/interface.js +0 -0
- package/lib/transfer/list-body.d.ts +14 -0
- package/lib/transfer/list-body.js +141 -0
- package/lib/transfer/list-item.d.ts +15 -0
- package/lib/transfer/list-item.js +76 -0
- package/lib/transfer/list.d.ts +35 -0
- package/lib/transfer/list.js +275 -0
- package/lib/transfer/operation.d.ts +16 -0
- package/lib/transfer/operation.js +57 -0
- package/lib/transfer/search.d.ts +11 -0
- package/lib/transfer/search.js +66 -0
- package/lib/transfer/style/css.js +5 -0
- package/lib/transfer/style/index.css +344 -0
- package/lib/transfer/style/index.d.ts +2 -0
- package/lib/transfer/style/index.js +5 -0
- package/lib/transfer/style/index.less +186 -0
- package/lib/transfer/style/mixins.less +3 -0
- package/lib/transfer/transfer.d.ts +32 -0
- package/lib/transfer/transfer.js +370 -0
- package/lib/tree/index.d.ts +5 -0
- package/lib/tree/index.js +48 -0
- package/lib/tree/style/css.js +5 -0
- package/lib/tree/style/index.css +268 -0
- package/lib/tree/style/index.d.ts +2 -0
- package/lib/tree/style/index.js +5 -0
- package/lib/tree/style/index.less +144 -0
- package/lib/tree/style/mixin.less +5 -0
- package/lib/tree/tree.d.ts +57 -0
- package/lib/tree/tree.js +361 -0
- package/lib/tree/treeHooks.d.ts +9 -0
- package/lib/tree/treeHooks.js +193 -0
- package/lib/tree/treeNode.d.ts +40 -0
- package/lib/tree/treeNode.js +374 -0
- package/lib/tree/utils/treeUtils.d.ts +46 -0
- package/lib/tree/utils/treeUtils.js +564 -0
- package/lib/typography/base.d.ts +21 -0
- package/lib/typography/base.js +130 -0
- package/lib/typography/index.d.ts +11 -0
- package/lib/typography/index.js +24 -0
- package/lib/typography/paragraph.d.ts +7 -0
- package/lib/typography/paragraph.js +33 -0
- package/lib/typography/style/css.js +5 -0
- package/lib/typography/style/index.css +242 -0
- package/lib/typography/style/index.d.ts +2 -0
- package/lib/typography/style/index.js +5 -0
- package/lib/typography/style/index.less +140 -0
- package/lib/typography/style/mixin.less +83 -0
- package/lib/typography/text.d.ts +7 -0
- package/lib/typography/text.js +23 -0
- package/lib/typography/title.d.ts +10 -0
- package/lib/typography/title.js +58 -0
- package/lib/typography/typography.d.ts +14 -0
- package/lib/typography/typography.js +79 -0
- package/lib/upload/dragger.d.ts +7 -0
- package/lib/upload/dragger.js +59 -0
- package/lib/upload/index.d.ts +9 -0
- package/lib/upload/index.js +42 -0
- package/lib/upload/interface.d.ts +144 -0
- package/lib/upload/interface.js +0 -0
- package/lib/upload/request.d.ts +2 -0
- package/lib/upload/request.js +108 -0
- package/lib/upload/scan-files.d.ts +14 -0
- package/lib/upload/scan-files.js +77 -0
- package/lib/upload/style/css.js +5 -0
- package/lib/upload/style/index.css +362 -0
- package/lib/upload/style/index.d.ts +2 -0
- package/lib/upload/style/index.js +5 -0
- package/lib/upload/style/index.less +223 -0
- package/lib/upload/upload.d.ts +4 -0
- package/lib/upload/upload.js +567 -0
- package/lib/upload/utils.d.ts +2 -0
- package/lib/upload/utils.js +36 -0
- package/lib/upload/verify-file.d.ts +3 -0
- package/lib/upload/verify-file.js +41 -0
- package/lib/view-container/context.d.ts +5 -0
- package/lib/view-container/context.js +24 -0
- package/lib/view-container/index.d.ts +3 -0
- package/lib/view-container/index.js +13 -0
- package/lib/view-container/view-container.d.ts +9 -0
- package/lib/view-container/view-container.js +58 -0
- package/lib/view-container/view-pane.d.ts +1 -0
- package/lib/view-container/view-pane.js +0 -0
- package/package.json +239 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 进行分组
|
|
3
|
+
* @param groups 组别
|
|
4
|
+
* @param nums 每组个数
|
|
5
|
+
* @returns 分组结果
|
|
6
|
+
*/
|
|
7
|
+
export default function grouping() {
|
|
8
|
+
var groups = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
9
|
+
var nums = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 4;
|
|
10
|
+
if (groups.length === 0 || nums <= 1) return groups;
|
|
11
|
+
var result = [];
|
|
12
|
+
var str = '';
|
|
13
|
+
|
|
14
|
+
for (var i = 0; i < groups.length; i++) {
|
|
15
|
+
if (str.length === nums) {
|
|
16
|
+
result.push(str);
|
|
17
|
+
str = '';
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
str += groups[i];
|
|
21
|
+
|
|
22
|
+
if (i === groups.length - 1) {
|
|
23
|
+
result.push(str);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
return result;
|
|
28
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PanelProps } from './panel';
|
|
3
|
+
export declare const IconPositionTypes: ["left", "right"];
|
|
4
|
+
export declare type IconPositionType = typeof IconPositionTypes[number];
|
|
5
|
+
export declare type keyType = string[] | string | number[] | number | NONE_KEY_TYPE;
|
|
6
|
+
export declare type NONE_KEY_TYPE = undefined;
|
|
7
|
+
export interface CollapseProps {
|
|
8
|
+
accordion?: boolean;
|
|
9
|
+
activeKey?: keyType;
|
|
10
|
+
bordered?: boolean;
|
|
11
|
+
defaultActiveKey?: string[] | string | number[] | number;
|
|
12
|
+
expandIcon?: React.ReactNode | ((props: PanelProps) => React.ReactNode);
|
|
13
|
+
expandIconPosition?: IconPositionType;
|
|
14
|
+
onChange?: () => void;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
className?: string;
|
|
17
|
+
children?: React.ReactNode;
|
|
18
|
+
}
|
|
19
|
+
declare const InternalCollapse: React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<unknown>>;
|
|
20
|
+
export default InternalCollapse;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
|
|
2
|
+
import _extends from "@babel/runtime-corejs3/helpers/extends";
|
|
3
|
+
import _toConsumableArray from "@babel/runtime-corejs3/helpers/toConsumableArray";
|
|
4
|
+
import _slicedToArray from "@babel/runtime-corejs3/helpers/slicedToArray";
|
|
5
|
+
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/includes";
|
|
6
|
+
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
7
|
+
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
|
8
|
+
import _mapInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/map";
|
|
9
|
+
import React from 'react';
|
|
10
|
+
import ConfigContext from '../config-provider/ConfigContext';
|
|
11
|
+
import { getCompProps } from '../_utils';
|
|
12
|
+
import classNames from 'classnames';
|
|
13
|
+
import { tuple } from '../_utils/type';
|
|
14
|
+
import isArray from 'lodash/isArray';
|
|
15
|
+
import isBoolean from 'lodash/isBoolean';
|
|
16
|
+
import devwarning from '../_utils/devwarning';
|
|
17
|
+
export var IconPositionTypes = tuple('left', 'right');
|
|
18
|
+
var NONE_KEY = undefined;
|
|
19
|
+
var InternalCollapse = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
20
|
+
var _React$useContext = React.useContext(ConfigContext),
|
|
21
|
+
getPrefixCls = _React$useContext.getPrefixCls,
|
|
22
|
+
prefixCls = _React$useContext.prefixCls,
|
|
23
|
+
userDefaultProps = _React$useContext.compDefaultProps;
|
|
24
|
+
|
|
25
|
+
var _getCompProps = getCompProps('Collapse', userDefaultProps, props),
|
|
26
|
+
accordion = _getCompProps.accordion,
|
|
27
|
+
activeKey = _getCompProps.activeKey,
|
|
28
|
+
bordered = _getCompProps.bordered,
|
|
29
|
+
defaultActiveKey = _getCompProps.defaultActiveKey,
|
|
30
|
+
expandIcon = _getCompProps.expandIcon,
|
|
31
|
+
expandIconPosition = _getCompProps.expandIconPosition,
|
|
32
|
+
onChange = _getCompProps.onChange,
|
|
33
|
+
style = _getCompProps.style,
|
|
34
|
+
className = _getCompProps.className,
|
|
35
|
+
children = _getCompProps.children,
|
|
36
|
+
customPrefixcls = _getCompProps.prefixCls;
|
|
37
|
+
|
|
38
|
+
var CollapsePrefixCls = getPrefixCls(prefixCls, 'collapse', customPrefixcls); // 样式前缀
|
|
39
|
+
|
|
40
|
+
var getDefaultActivePanelKey = function getDefaultActivePanelKey() {
|
|
41
|
+
// const _defaultActiveKey =
|
|
42
|
+
// defaultActiveKey !== NONE_KEY
|
|
43
|
+
// ? defaultActiveKey
|
|
44
|
+
// : React.Children.map(children, (item, index) => {
|
|
45
|
+
// if (index === 0) return item.props?.panelKey
|
|
46
|
+
// })
|
|
47
|
+
// return isBoolean(activeKey) ? activeKey : _defaultActiveKey
|
|
48
|
+
return isBoolean(activeKey) ? activeKey : defaultActiveKey;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
var _React$useState = React.useState(getDefaultActivePanelKey()),
|
|
52
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
53
|
+
activePanelKey = _React$useState2[0],
|
|
54
|
+
setActivePanelKey = _React$useState2[1];
|
|
55
|
+
|
|
56
|
+
var getPanelExpand = function getPanelExpand(panelKey, accordion, activeKey) {
|
|
57
|
+
var _activeKey = getActiveKey(accordion, activeKey);
|
|
58
|
+
|
|
59
|
+
return isInclude(_activeKey, panelKey);
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
var getActiveKey = function getActiveKey(accordion, activeKey) {
|
|
63
|
+
var _activeKey = activeKey;
|
|
64
|
+
|
|
65
|
+
if (accordion) {
|
|
66
|
+
if (isArray(activeKey)) {
|
|
67
|
+
_activeKey = activeKey[0]; // accordion 模式下默认第一个元素
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return _activeKey;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
var isInclude = function isInclude(activePanelKey, key) {
|
|
75
|
+
if (isArray(activePanelKey)) {
|
|
76
|
+
return _includesInstanceProperty(activePanelKey).call(activePanelKey, key) || _includesInstanceProperty(activePanelKey).call(activePanelKey, String(key));
|
|
77
|
+
} else {
|
|
78
|
+
return String(activePanelKey) === String(key);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
var getRemoveKey = function getRemoveKey(key) {
|
|
83
|
+
if (isArray(activePanelKey)) {
|
|
84
|
+
return _filterInstanceProperty(activePanelKey).call(activePanelKey, function (element) {
|
|
85
|
+
return element !== key;
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return NONE_KEY;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
var getAddKey = function getAddKey(key) {
|
|
93
|
+
if (isArray(activePanelKey)) {
|
|
94
|
+
var _context;
|
|
95
|
+
|
|
96
|
+
return _concatInstanceProperty(_context = []).call(_context, _toConsumableArray(activePanelKey), [key]);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return activePanelKey ? [activePanelKey, key] : key;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
var getNewActiveKey = function getNewActiveKey(key) {
|
|
103
|
+
if (isInclude(activePanelKey, key)) {
|
|
104
|
+
if (accordion) {
|
|
105
|
+
return NONE_KEY;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
return getRemoveKey(key);
|
|
109
|
+
} else {
|
|
110
|
+
if (accordion) {
|
|
111
|
+
return key;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return getAddKey(key);
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
var onPanelChange = React.useCallback(function (key) {
|
|
119
|
+
key = getNewActiveKey(key);
|
|
120
|
+
setActivePanelKey(key);
|
|
121
|
+
onChange && onChange();
|
|
122
|
+
}, [onChange, activePanelKey, accordion]);
|
|
123
|
+
|
|
124
|
+
var renderPanel = function renderPanel() {
|
|
125
|
+
var _context2;
|
|
126
|
+
|
|
127
|
+
return _mapInstanceProperty(_context2 = React.Children).call(_context2, children, function (item) {
|
|
128
|
+
var _a, _b, _c;
|
|
129
|
+
|
|
130
|
+
if (((_a = item === null || item === void 0 ? void 0 : item.type) === null || _a === void 0 ? void 0 : _a.displayName) !== 'Panel') {
|
|
131
|
+
devwarning(true, 'Collapse', 'children必须为Collapse.Panel');
|
|
132
|
+
return item;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
var expand = getPanelExpand((_b = item.props) === null || _b === void 0 ? void 0 : _b.panelKey, accordion, activePanelKey);
|
|
136
|
+
var defaultExpand = getPanelExpand((_c = item.props) === null || _c === void 0 ? void 0 : _c.panelKey, accordion, defaultActiveKey);
|
|
137
|
+
return /*#__PURE__*/React.cloneElement(item, _extends({
|
|
138
|
+
expandIcon: expandIcon,
|
|
139
|
+
expandIconPosition: expandIconPosition,
|
|
140
|
+
onChange: onPanelChange,
|
|
141
|
+
bordered: bordered,
|
|
142
|
+
expand: expand,
|
|
143
|
+
defaultExpand: defaultExpand
|
|
144
|
+
}, item.props));
|
|
145
|
+
});
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
var rootClassName = classNames(className, _defineProperty({}, "".concat(CollapsePrefixCls), true));
|
|
149
|
+
var collapseRef = ref || /*#__PURE__*/React.createRef();
|
|
150
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
151
|
+
className: rootClassName,
|
|
152
|
+
style: style,
|
|
153
|
+
ref: collapseRef
|
|
154
|
+
}, renderPanel());
|
|
155
|
+
});
|
|
156
|
+
InternalCollapse.displayName = 'Collapse';
|
|
157
|
+
export default InternalCollapse;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CollapseProps } from './collapse';
|
|
3
|
+
import Panel from './panel';
|
|
4
|
+
export { PanelProps } from './panel';
|
|
5
|
+
interface CompoundedComponent extends React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<HTMLElement>> {
|
|
6
|
+
Panel: typeof Panel;
|
|
7
|
+
}
|
|
8
|
+
declare const Collapse: CompoundedComponent;
|
|
9
|
+
export { Panel };
|
|
10
|
+
export default Collapse;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconPositionType, keyType } from './collapse';
|
|
3
|
+
export interface PanelProps {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
header?: React.ReactNode | ((props: PanelProps) => React.ReactNode);
|
|
6
|
+
expandIcon?: React.ReactNode | ((props: PanelProps) => React.ReactNode);
|
|
7
|
+
bordered?: boolean;
|
|
8
|
+
expandIconPosition?: IconPositionType;
|
|
9
|
+
onChange?: (key: keyType) => void;
|
|
10
|
+
extra?: React.ReactNode | ((props: PanelProps) => React.ReactNode);
|
|
11
|
+
expand?: boolean;
|
|
12
|
+
defaultExpand?: boolean;
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
panelKey?: any;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const Panel: React.ForwardRefExoticComponent<PanelProps & React.RefAttributes<unknown>>;
|
|
19
|
+
export default Panel;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/defineProperty";
|
|
2
|
+
import _slicedToArray from "@babel/runtime-corejs3/helpers/slicedToArray";
|
|
3
|
+
import React, { useRef, useState } from 'react';
|
|
4
|
+
import classNames from 'classnames';
|
|
5
|
+
import ConfigContext from '../config-provider/ConfigContext';
|
|
6
|
+
import { getCompProps } from '../_utils';
|
|
7
|
+
import Icon from '../icon';
|
|
8
|
+
import isBoolean from 'lodash/isBoolean';
|
|
9
|
+
var Panel = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
10
|
+
var _classNames5, _classNames6, _classNames7;
|
|
11
|
+
|
|
12
|
+
var _React$useContext = React.useContext(ConfigContext),
|
|
13
|
+
getPrefixCls = _React$useContext.getPrefixCls,
|
|
14
|
+
prefixCls = _React$useContext.prefixCls,
|
|
15
|
+
userDefaultProps = _React$useContext.compDefaultProps;
|
|
16
|
+
|
|
17
|
+
var _getCompProps = getCompProps('CollapsePanel', userDefaultProps, props),
|
|
18
|
+
disabled = _getCompProps.disabled,
|
|
19
|
+
extra = _getCompProps.extra,
|
|
20
|
+
header = _getCompProps.header,
|
|
21
|
+
onChange = _getCompProps.onChange,
|
|
22
|
+
panelKey = _getCompProps.panelKey,
|
|
23
|
+
defaultExpand = _getCompProps.defaultExpand,
|
|
24
|
+
expand = _getCompProps.expand,
|
|
25
|
+
bordered = _getCompProps.bordered,
|
|
26
|
+
expandIcon = _getCompProps.expandIcon,
|
|
27
|
+
expandIconPosition = _getCompProps.expandIconPosition,
|
|
28
|
+
style = _getCompProps.style,
|
|
29
|
+
className = _getCompProps.className,
|
|
30
|
+
children = _getCompProps.children,
|
|
31
|
+
customPrefixcls = _getCompProps.prefixCls;
|
|
32
|
+
|
|
33
|
+
var panelPrefixCls = getPrefixCls(prefixCls, 'collapse-panel', customPrefixcls); // 样式前缀
|
|
34
|
+
|
|
35
|
+
var childrenRef = useRef();
|
|
36
|
+
var setHeightTimerRef = useRef(null);
|
|
37
|
+
var setAutoHeightTimerRef = useRef(null);
|
|
38
|
+
|
|
39
|
+
var _useState = useState(null),
|
|
40
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
41
|
+
expandAnimation = _useState2[0],
|
|
42
|
+
setExpandAnimation = _useState2[1];
|
|
43
|
+
|
|
44
|
+
var getExpand = function getExpand() {
|
|
45
|
+
return isBoolean(expand) ? expand : defaultExpand;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
var handleClick = function handleClick() {
|
|
49
|
+
if (disabled) return;
|
|
50
|
+
setExpandAnimation(true);
|
|
51
|
+
onChange && onChange(panelKey);
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
var renderIcon = function renderIcon() {
|
|
55
|
+
var _classNames;
|
|
56
|
+
|
|
57
|
+
var iconClassName = classNames((_classNames = {}, _defineProperty(_classNames, "".concat(panelPrefixCls, "-icon"), true), _defineProperty(_classNames, "".concat(panelPrefixCls, "-animation-expand"), !getExpand()), _defineProperty(_classNames, "".concat(panelPrefixCls, "-animation-collapse"), getExpand()), _defineProperty(_classNames, "".concat(panelPrefixCls, "-disabled"), disabled), _classNames));
|
|
58
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
59
|
+
className: iconClassName,
|
|
60
|
+
onClick: handleClick
|
|
61
|
+
}, expandIcon ? renderReactNode(expandIcon) : /*#__PURE__*/React.createElement(Icon, {
|
|
62
|
+
type: "arrow-right-solid"
|
|
63
|
+
}));
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
var renderLeft = function renderLeft() {
|
|
67
|
+
var _classNames2, _classNames3;
|
|
68
|
+
|
|
69
|
+
var className = classNames((_classNames2 = {}, _defineProperty(_classNames2, "".concat(panelPrefixCls, "-left"), true), _defineProperty(_classNames2, "".concat(panelPrefixCls, "-disabled"), disabled), _classNames2));
|
|
70
|
+
var headerClassName = classNames((_classNames3 = {}, _defineProperty(_classNames3, "".concat(panelPrefixCls, "-header"), true), _defineProperty(_classNames3, "".concat(panelPrefixCls, "-disabled"), disabled), _classNames3));
|
|
71
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
72
|
+
className: className,
|
|
73
|
+
onClick: handleClick
|
|
74
|
+
}, expandIconPosition === 'left' ? renderIcon() : null, header && /*#__PURE__*/React.createElement("span", {
|
|
75
|
+
className: headerClassName
|
|
76
|
+
}, renderReactNode(header)));
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
var renderRight = function renderRight() {
|
|
80
|
+
var _classNames4;
|
|
81
|
+
|
|
82
|
+
var className = classNames((_classNames4 = {}, _defineProperty(_classNames4, "".concat(panelPrefixCls, "-right"), true), _defineProperty(_classNames4, "".concat(panelPrefixCls, "-disabled"), disabled), _classNames4));
|
|
83
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
84
|
+
className: className
|
|
85
|
+
}, extra && /*#__PURE__*/React.createElement("span", {
|
|
86
|
+
className: "".concat(panelPrefixCls, "-extra")
|
|
87
|
+
}, renderReactNode(extra)), expandIconPosition === 'right' ? renderIcon() : null);
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
var renderReactNode = function renderReactNode(reactNode) {
|
|
91
|
+
if (typeof reactNode === 'function') {
|
|
92
|
+
return reactNode();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return reactNode;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
var rootClassName = classNames(className, (_classNames5 = {}, _defineProperty(_classNames5, "".concat(panelPrefixCls), true), _defineProperty(_classNames5, "".concat(panelPrefixCls, "-border"), bordered), _defineProperty(_classNames5, "".concat(panelPrefixCls, "-opened"), expand), _classNames5));
|
|
99
|
+
var topClassName = classNames((_classNames6 = {}, _defineProperty(_classNames6, "".concat(panelPrefixCls, "-top"), true), _defineProperty(_classNames6, "".concat(panelPrefixCls, "-disabled"), disabled), _defineProperty(_classNames6, "".concat(panelPrefixCls, "-top-border"), bordered && expand), _classNames6));
|
|
100
|
+
var childrenClassName = classNames((_classNames7 = {}, _defineProperty(_classNames7, "".concat(panelPrefixCls, "-children"), expand), _defineProperty(_classNames7, "".concat(panelPrefixCls, "-children-hide"), !expand), _classNames7));
|
|
101
|
+
var childrenBorderedClassName = classNames(_defineProperty({}, "".concat(panelPrefixCls, "-children-bordered"), bordered));
|
|
102
|
+
|
|
103
|
+
var runExpandAnimation = function runExpandAnimation(element) {
|
|
104
|
+
element.style.height = '0px';
|
|
105
|
+
element.style.opacity = '0';
|
|
106
|
+
setHeightTimerRef.current && clearTimeout(setHeightTimerRef.current);
|
|
107
|
+
setHeightTimerRef.current = setTimeout(function () {
|
|
108
|
+
element.style.display = 'block';
|
|
109
|
+
element.style.opacity = '1';
|
|
110
|
+
element.style.height = "".concat(element.scrollHeight, "px");
|
|
111
|
+
}, 10);
|
|
112
|
+
setAutoHeightTimerRef.current && clearTimeout(setAutoHeightTimerRef.current);
|
|
113
|
+
setAutoHeightTimerRef.current = setTimeout(function () {
|
|
114
|
+
element.style.height = 'auto';
|
|
115
|
+
}, 350);
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
var runCollapseAnimation = function runCollapseAnimation(element) {
|
|
119
|
+
setAutoHeightTimerRef.current && clearTimeout(setAutoHeightTimerRef.current);
|
|
120
|
+
element.style.height = "".concat(element.scrollHeight, "px");
|
|
121
|
+
setAutoHeightTimerRef.current = setTimeout(function () {
|
|
122
|
+
element.style.height = '0px';
|
|
123
|
+
element.style.opacity = '0';
|
|
124
|
+
}, 0);
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
var expandWidthoutAnimation = function expandWidthoutAnimation(element) {
|
|
128
|
+
element.style.height = 'auto';
|
|
129
|
+
element.style.opacity = '1';
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
var panelPrefixClsRef = ref || /*#__PURE__*/React.createRef();
|
|
133
|
+
React.useLayoutEffect(function () {
|
|
134
|
+
if (!childrenRef.current) return;
|
|
135
|
+
|
|
136
|
+
if (expandAnimation) {
|
|
137
|
+
expand ? runExpandAnimation(childrenRef.current) : runCollapseAnimation(childrenRef.current);
|
|
138
|
+
setExpandAnimation(false);
|
|
139
|
+
} else if (!expandAnimation) {
|
|
140
|
+
expand ? expandWidthoutAnimation(childrenRef.current) : runCollapseAnimation(childrenRef.current);
|
|
141
|
+
}
|
|
142
|
+
}, [childrenRef.current, expandAnimation, expand]);
|
|
143
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
144
|
+
className: rootClassName,
|
|
145
|
+
style: style,
|
|
146
|
+
ref: panelPrefixClsRef
|
|
147
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
148
|
+
className: topClassName
|
|
149
|
+
}, renderLeft(), renderRight()), /*#__PURE__*/React.createElement("div", {
|
|
150
|
+
className: childrenClassName,
|
|
151
|
+
ref: childrenRef
|
|
152
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
153
|
+
className: childrenBorderedClassName
|
|
154
|
+
}, children)));
|
|
155
|
+
});
|
|
156
|
+
Panel.displayName = 'Panel';
|
|
157
|
+
export default Panel;
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
/* ----------- color ——————---- start */
|
|
2
|
+
/* ----------- color ——————---- end */
|
|
3
|
+
/* ----------- motion ——————---- start */
|
|
4
|
+
/* ----------- motion ——————---- end */
|
|
5
|
+
/* ----------- transition ——————---- start */
|
|
6
|
+
/* ----------- transition ——————---- end */
|
|
7
|
+
/* ----------- font ——————---- start */
|
|
8
|
+
/* ----------- font ——————---- end */
|
|
9
|
+
/* ----------- zIndex ——————---- start */
|
|
10
|
+
/*
|
|
11
|
+
普通组件内部自身层级应设置在0-100间
|
|
12
|
+
*/
|
|
13
|
+
/* ----------- zIndex ——————---- end */
|
|
14
|
+
/* ----------- Button ——————---- start */
|
|
15
|
+
/* ----------- Button ——————---- end */
|
|
16
|
+
/* ----------- Collapse ——————---- start */
|
|
17
|
+
/* ----------- Collapse ——————---- end */
|
|
18
|
+
/* ----------- Card ——————---- start */
|
|
19
|
+
/* ----------- Card ——————---- end */
|
|
20
|
+
/* ----------- Carousel ——————---- start */
|
|
21
|
+
/* ----------- Carousel ——————---- end */
|
|
22
|
+
/* ----------- Cascader ——————---- start */
|
|
23
|
+
/* ----------- Cascader ——————---- end */
|
|
24
|
+
/* ----------- Switch ——————---- start */
|
|
25
|
+
/* ----------- Switch ——————---- end */
|
|
26
|
+
/* ----------- Input ——————---- start */
|
|
27
|
+
/* ----------- Input ——————---- end */
|
|
28
|
+
/* ----------- InputNumber ——————---- start */
|
|
29
|
+
/* ----------- InputNumber ——————---- end */
|
|
30
|
+
/* ----------- checkbox ——————---- start */
|
|
31
|
+
/* ----------- checkbox ——————---- start */
|
|
32
|
+
/* ----------- checkbox ——————---- end */
|
|
33
|
+
/* ----------- Radio ——————---- start */
|
|
34
|
+
/* ----------- Radio ——————---- end */
|
|
35
|
+
/* ----------- icon ——————---- start */
|
|
36
|
+
/* ----------- icon ——————---- end */
|
|
37
|
+
/* ----------- Popconfirm ——————---- start */
|
|
38
|
+
/* ----------- Popconfirm ——————---- end */
|
|
39
|
+
/* ----------- Progress ——————---- start */
|
|
40
|
+
/* ----------- Progress ——————---- end */
|
|
41
|
+
/* ----------- Pagination ——————---- start */
|
|
42
|
+
/* ----------- Pagination ——————---- end */
|
|
43
|
+
/* ----------- Timeline ——————---- start */
|
|
44
|
+
/* ----------- Timeline ——————---- end */
|
|
45
|
+
/* ----------- Tabs ——————---- start */
|
|
46
|
+
/* ----------- Tabs ——————---- end */
|
|
47
|
+
/* ----------- Select ——————---- start */
|
|
48
|
+
/* ----------- Select ——————---- end */
|
|
49
|
+
/* ----------- Rate ——————---- start */
|
|
50
|
+
/* ----------- Rate ——————---- end */
|
|
51
|
+
/* ----------- Dropdown ——————---- start */
|
|
52
|
+
/* ----------- Dropdown ——————---- end */
|
|
53
|
+
/* ----------- Tooltip ——————---- start */
|
|
54
|
+
/* ----------- Tooltip ——————---- end */
|
|
55
|
+
/* ----------- Transfer ——————---- start */
|
|
56
|
+
/* ----------- Transfer ——————---- end */
|
|
57
|
+
/* ----------- DatePicker ——————---- start */
|
|
58
|
+
/* ----------- DatePicker ——————---- end */
|
|
59
|
+
/* ----------- Tree ——————---- start */
|
|
60
|
+
/* ----------- Tree ——————---- end */
|
|
61
|
+
/* ----------- Alert ——————---- start */
|
|
62
|
+
/* ----------- Alert ——————---- end */
|
|
63
|
+
/* ----------- Split-Panel ——————---- start */
|
|
64
|
+
/* ----------- Split-Panel ——————---- end */
|
|
65
|
+
/* ----------- Modal ——————---- start */
|
|
66
|
+
/* ----------- Modal ——————---- end */
|
|
67
|
+
/* ----------- Steps ——————---- start */
|
|
68
|
+
/* ----------- Steps ——————---- end */
|
|
69
|
+
/* ----------- Form ——————---- start */
|
|
70
|
+
/* ----------- Form ——————---- end */
|
|
71
|
+
/* ----------- Tag ——————---- start */
|
|
72
|
+
/* ----------- Tag ——————---- end */
|
|
73
|
+
/* ----------- Menu ——————---- start */
|
|
74
|
+
/* ----------- Menu ——————---- end */
|
|
75
|
+
/* ----------- notice ——————---- start */
|
|
76
|
+
/* ----------- message ——————---- end */
|
|
77
|
+
/* ----------- Spin ——————---- start */
|
|
78
|
+
/* ----------- Spin ——————---- end */
|
|
79
|
+
/* ----------- Spin ——————---- start */
|
|
80
|
+
/* ----------- Spin ——————---- end */
|
|
81
|
+
/* ----------- Layout ——————---- start */
|
|
82
|
+
/* ----------- Layout ——————---- end */
|
|
83
|
+
/* ----------- Typography ——————---- start */
|
|
84
|
+
/* ----------- Typography ——————---- start */
|
|
85
|
+
/* ----------- Search ——————---- start */
|
|
86
|
+
/* ----------- Search ——————---- start */
|
|
87
|
+
/* ----------- Badge ——————---- start */
|
|
88
|
+
/* ----------- Badge ——————---- end */
|
|
89
|
+
/* ----------- Anchor ——————---- start */
|
|
90
|
+
/* ----------- Anchor ——————---- end */
|
|
91
|
+
/* ----------- Avatar ——————---- start */
|
|
92
|
+
/* ----------- Avatar ——————---- end */
|
|
93
|
+
/* ----------- AdvancedSelector ——————---- start */
|
|
94
|
+
/* ----------- AdvancedSelector ——————---- end */
|
|
95
|
+
.kd-collapse {
|
|
96
|
+
display: -webkit-box;
|
|
97
|
+
display: -ms-flexbox;
|
|
98
|
+
display: flex;
|
|
99
|
+
-webkit-box-orient: vertical;
|
|
100
|
+
-webkit-box-direction: normal;
|
|
101
|
+
-ms-flex-direction: column;
|
|
102
|
+
flex-direction: column;
|
|
103
|
+
width: 100%;
|
|
104
|
+
}
|
|
105
|
+
.kd-collapse-panel:last-child {
|
|
106
|
+
border-top: none;
|
|
107
|
+
}
|
|
108
|
+
.kd-collapse-panel {
|
|
109
|
+
display: -webkit-inline-box;
|
|
110
|
+
display: -ms-inline-flexbox;
|
|
111
|
+
display: inline-flex;
|
|
112
|
+
-webkit-box-orient: vertical;
|
|
113
|
+
-webkit-box-direction: normal;
|
|
114
|
+
-ms-flex-direction: column;
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
}
|
|
117
|
+
.kd-collapse-panel-border {
|
|
118
|
+
border: 1px solid #d9d9d9;
|
|
119
|
+
}
|
|
120
|
+
.kd-collapse-panel-top {
|
|
121
|
+
display: -webkit-inline-box;
|
|
122
|
+
display: -ms-inline-flexbox;
|
|
123
|
+
display: inline-flex;
|
|
124
|
+
padding: 12px;
|
|
125
|
+
}
|
|
126
|
+
.kd-collapse-panel-top-border {
|
|
127
|
+
border-bottom: 1px solid #d9d9d9;
|
|
128
|
+
}
|
|
129
|
+
.kd-collapse-panel-left {
|
|
130
|
+
display: -webkit-inline-box;
|
|
131
|
+
display: -ms-inline-flexbox;
|
|
132
|
+
display: inline-flex;
|
|
133
|
+
-webkit-box-align: center;
|
|
134
|
+
-ms-flex-align: center;
|
|
135
|
+
align-items: center;
|
|
136
|
+
-webkit-box-flex: 1;
|
|
137
|
+
-ms-flex-positive: 1;
|
|
138
|
+
flex-grow: 1;
|
|
139
|
+
}
|
|
140
|
+
.kd-collapse-panel-right {
|
|
141
|
+
display: -webkit-inline-box;
|
|
142
|
+
display: -ms-inline-flexbox;
|
|
143
|
+
display: inline-flex;
|
|
144
|
+
-webkit-box-align: center;
|
|
145
|
+
-ms-flex-align: center;
|
|
146
|
+
align-items: center;
|
|
147
|
+
}
|
|
148
|
+
.kd-collapse-panel-extra,
|
|
149
|
+
.kd-collapse-panel-header {
|
|
150
|
+
display: -webkit-inline-box;
|
|
151
|
+
display: -ms-inline-flexbox;
|
|
152
|
+
display: inline-flex;
|
|
153
|
+
-webkit-box-align: center;
|
|
154
|
+
-ms-flex-align: center;
|
|
155
|
+
align-items: center;
|
|
156
|
+
color: #212121;
|
|
157
|
+
font-size: 14px;
|
|
158
|
+
}
|
|
159
|
+
.kd-collapse-panel-icon {
|
|
160
|
+
-webkit-box-align: center;
|
|
161
|
+
-ms-flex-align: center;
|
|
162
|
+
align-items: center;
|
|
163
|
+
display: -webkit-inline-box;
|
|
164
|
+
display: -ms-inline-flexbox;
|
|
165
|
+
display: inline-flex;
|
|
166
|
+
margin-right: 6px;
|
|
167
|
+
}
|
|
168
|
+
.kd-collapse-panel-icon:hover,
|
|
169
|
+
.kd-collapse-panel-left:hover {
|
|
170
|
+
cursor: pointer;
|
|
171
|
+
}
|
|
172
|
+
.kd-collapse-panel-animation-expand {
|
|
173
|
+
-webkit-transform: rotate(0deg);
|
|
174
|
+
transform: rotate(0deg);
|
|
175
|
+
-webkit-transition: -webkit-transform 0.3s;
|
|
176
|
+
transition: -webkit-transform 0.3s;
|
|
177
|
+
transition: transform 0.3s;
|
|
178
|
+
transition: transform 0.3s, -webkit-transform 0.3s;
|
|
179
|
+
}
|
|
180
|
+
.kd-collapse-panel-animation-collapse {
|
|
181
|
+
-webkit-transform: rotate(90deg);
|
|
182
|
+
transform: rotate(90deg);
|
|
183
|
+
-webkit-transition: -webkit-transform 0.3s;
|
|
184
|
+
transition: -webkit-transform 0.3s;
|
|
185
|
+
transition: transform 0.3s;
|
|
186
|
+
transition: transform 0.3s, -webkit-transform 0.3s;
|
|
187
|
+
}
|
|
188
|
+
.kd-collapse-panel-children {
|
|
189
|
+
overflow: hidden;
|
|
190
|
+
opacity: 0;
|
|
191
|
+
padding: 0 16px;
|
|
192
|
+
color: #212121;
|
|
193
|
+
font-size: 14px;
|
|
194
|
+
-webkit-transition: height 0.3s, opacity 0.3s;
|
|
195
|
+
transition: height 0.3s, opacity 0.3s;
|
|
196
|
+
}
|
|
197
|
+
.kd-collapse-panel-children-hide {
|
|
198
|
+
overflow: hidden;
|
|
199
|
+
opacity: 0;
|
|
200
|
+
height: 0;
|
|
201
|
+
padding: 0 16px;
|
|
202
|
+
color: #212121;
|
|
203
|
+
font-size: 14px;
|
|
204
|
+
-webkit-transition: height 0.3s, opacity calc(0.3s / 2);
|
|
205
|
+
transition: height 0.3s, opacity calc(0.3s / 2);
|
|
206
|
+
}
|
|
207
|
+
.kd-collapse-panel-children-bordered {
|
|
208
|
+
padding: 12px;
|
|
209
|
+
overflow: hidden;
|
|
210
|
+
}
|
|
211
|
+
.kd-collapse-panel-disabled {
|
|
212
|
+
cursor: not-allowed !important;
|
|
213
|
+
color: #b2b2b2;
|
|
214
|
+
}
|