tntd 2.7.30 → 2.7.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/ellipsis/index.js +2 -0
- package/es/ellipsis/index.js.map +1 -1
- package/lib/ellipsis/index.d.ts.map +1 -1
- package/lib/ellipsis/index.js +2 -0
- package/lib/ellipsis/index.js.map +1 -1
- package/package.json +1 -1
- package/themes/common/index.less +3 -3
- package/es/affix/style/index.less +0 -6
- package/es/alert/style/index.less +0 -188
- package/es/anchor/style/index.less +0 -82
- package/es/auto-complete/style/index.less +0 -92
- package/es/avatar/style/index.less +0 -59
- package/es/back-top/style/index.less +0 -42
- package/es/back-top/style/responsive.less +0 -11
- package/es/badge/style/index.less +0 -190
- package/es/breadcrumb/style/index.less +0 -51
- package/es/button/style/index.less +0 -224
- package/es/button/style/mixin.less +0 -357
- package/es/calendar/style/index.less +0 -278
- package/es/card/style/index.less +0 -263
- package/es/card/style/size.less +0 -25
- package/es/carousel/style/index.less +0 -238
- package/es/cascader/style/index.less +0 -227
- package/es/checkbox/style/index.less +0 -4
- package/es/checkbox/style/mixin.less +0 -220
- package/es/collapse/style/index.less +0 -134
- package/es/comment/style/index.less +0 -93
- package/es/config-provider/style/index.less +0 -2
- package/es/date-picker/style/Calendar.less +0 -402
- package/es/date-picker/style/DecadePanel.less +0 -81
- package/es/date-picker/style/MonthPanel.less +0 -86
- package/es/date-picker/style/MonthPicker.less +0 -11
- package/es/date-picker/style/Picker.less +0 -113
- package/es/date-picker/style/RangePicker.less +0 -248
- package/es/date-picker/style/TimePicker.less +0 -151
- package/es/date-picker/style/WeekPicker.less +0 -21
- package/es/date-picker/style/YearPanel.less +0 -85
- package/es/date-picker/style/index.less +0 -17
- package/es/descriptions/style/index.less +0 -144
- package/es/divider/style/index.less +0 -109
- package/es/drawer/style/drawer.less +0 -230
- package/es/drawer/style/index.less +0 -3
- package/es/dropdown/style/index.less +0 -282
- package/es/empty/style/index.less +0 -52
- package/es/form/style/index.less +0 -653
- package/es/form/style/mixin.less +0 -126
- package/es/grid-v4/style/index.less +0 -124
- package/es/grid-v4/style/mixin.less +0 -57
- package/es/grid-v4/style/rtl.less +0 -69
- package/es/handle/handle.js +0 -138
- package/es/handle/handle.js.map +0 -1
- package/es/icon/style/index.less +0 -4
- package/es/input/style/index.less +0 -57
- package/es/input/style/mixin.less +0 -449
- package/es/input/style/search-input.less +0 -34
- package/es/input-number/style/index.less +0 -179
- package/es/layout/style/index.less +0 -124
- package/es/layout/style/light.less +0 -15
- package/es/list/style/bordered.less +0 -41
- package/es/list/style/index.less +0 -234
- package/es/list/style/responsive.less +0 -40
- package/es/locale-provider/style/index.less +0 -2
- package/es/mention/index.js +0 -4
- package/es/mention/index.js.map +0 -1
- package/es/mentions/style/index.less +0 -164
- package/es/menu/style/dark.less +0 -139
- package/es/menu/style/index.less +0 -515
- package/es/message/style/index.less +0 -75
- package/es/modal/style/confirm.less +0 -78
- package/es/modal/style/index.less +0 -4
- package/es/modal/style/modal.less +0 -165
- package/es/notification/style/index.less +0 -199
- package/es/page-header/style/index.less +0 -119
- package/es/pagination/style/index.less +0 -400
- package/es/popover/style/index.less +0 -205
- package/es/progress/style/index.less +0 -182
- package/es/radio/style/index.less +0 -327
- package/es/rate/style/index.less +0 -85
- package/es/result/style/index.less +0 -71
- package/es/select/style/index.less +0 -604
- package/es/skeleton/style/index.less +0 -130
- package/es/slider/style/index.less +0 -197
- package/es/spin/style/index.less +0 -214
- package/es/statistic/style/index.less +0 -40
- package/es/steps/style/compatibility.less +0 -50
- package/es/steps/style/custom-icon.less +0 -31
- package/es/steps/style/label-placement.less +0 -38
- package/es/steps/style/progress-dot.less +0 -80
- package/es/steps/style/vertical.less +0 -74
- package/es/style/color/bezierEasing.less +0 -110
- package/es/style/color/colorPalette.less +0 -75
- package/es/style/color/colors.less +0 -149
- package/es/style/color/tinyColor.less +0 -1184
- package/es/style/core/base.less +0 -510
- package/es/style/core/iconfont.less +0 -19
- package/es/style/core/index.less +0 -4
- package/es/style/core/motion/fade.less +0 -31
- package/es/style/core/motion/move.less +0 -120
- package/es/style/core/motion/other.less +0 -40
- package/es/style/core/motion/slide.less +0 -120
- package/es/style/core/motion/swing.less +0 -34
- package/es/style/core/motion/zoom.less +0 -162
- package/es/style/core/motion.less +0 -20
- package/es/style/index.less +0 -2
- package/es/style/mixins/clearfix.less +0 -13
- package/es/style/mixins/compatibility.less +0 -22
- package/es/style/mixins/iconfont.less +0 -43
- package/es/style/mixins/index.less +0 -10
- package/es/style/mixins/motion.less +0 -35
- package/es/style/mixins/operation-unit.less +0 -18
- package/es/style/mixins/reset.less +0 -13
- package/es/style/mixins/size.less +0 -10
- package/es/style/mixins/typography.less +0 -49
- package/es/style/themes/default.less +0 -699
- package/es/style/themes/index.less +0 -1
- package/es/style/v2-compatible-reset.less +0 -51
- package/es/switch/style/index.less +0 -178
- package/es/table/style/index.less +0 -800
- package/es/table/style/size.less +0 -179
- package/es/tabs/style/card-style.less +0 -186
- package/es/tabs/style/index.less +0 -436
- package/es/tag/style/index.less +0 -106
- package/es/time-picker/style/index.less +0 -246
- package/es/timeline/style/index.less +0 -167
- package/es/tntd-form/TntdForm/components/Item.js +0 -55
- package/es/tntd-form/TntdForm/components/Item.js.map +0 -1
- package/es/tntd-form/TntdForm/components/ItemComp.js +0 -186
- package/es/tntd-form/TntdForm/components/ItemComp.js.map +0 -1
- package/es/tntd-form/TntdForm/components/List.js +0 -102
- package/es/tntd-form/TntdForm/components/List.js.map +0 -1
- package/es/tntd-form/TntdForm/index.js +0 -55
- package/es/tntd-form/TntdForm/index.js.map +0 -1
- package/es/tntd-form/TntdForm/interface.js +0 -1
- package/es/tntd-form/TntdForm/interface.js.map +0 -1
- package/es/tntd-form/TntdForm/store.js +0 -2
- package/es/tntd-form/TntdForm/store.js.map +0 -1
- package/es/tntd-form/TntdForm/utils.js +0 -219
- package/es/tntd-form/TntdForm/utils.js.map +0 -1
- package/es/tntd-form/_util/motion.js +0 -47
- package/es/tntd-form/_util/motion.js.map +0 -1
- package/es/tntd-form/_util/reactNode.js +0 -16
- package/es/tntd-form/_util/reactNode.js.map +0 -1
- package/es/tntd-form/_util/scrollTo.js +0 -35
- package/es/tntd-form/_util/scrollTo.js.map +0 -1
- package/es/tntd-form/_util/type.js +0 -3
- package/es/tntd-form/_util/type.js.map +0 -1
- package/es/tntd-form/_util/warning.js +0 -5
- package/es/tntd-form/_util/warning.js.map +0 -1
- package/es/tntd-form/_util/wave.js +0 -168
- package/es/tntd-form/_util/wave.js.map +0 -1
- package/es/tntd-form/tntd-form.stories.js +0 -836
- package/es/tntd-form/tntd-form.stories.js.map +0 -1
- package/es/tntd-select/_util/DisabledContext.js +0 -12
- package/es/tntd-select/_util/DisabledContext.js.map +0 -1
- package/es/tntd-select/_util/FormItemInputContext.js +0 -2
- package/es/tntd-select/_util/FormItemInputContext.js.map +0 -1
- package/es/tntd-select/_util/PurePanel.js +0 -66
- package/es/tntd-select/_util/PurePanel.js.map +0 -1
- package/es/tntd-select/_util/SizeContext.js +0 -2
- package/es/tntd-select/_util/SizeContext.js.map +0 -1
- package/es/tntd-select/_util/context.js +0 -12
- package/es/tntd-select/_util/context.js.map +0 -1
- package/es/tntd-select/_util/defaultRenderEmpty.js +0 -31
- package/es/tntd-select/_util/defaultRenderEmpty.js.map +0 -1
- package/es/tntd-select/_util/getIcons.js +0 -74
- package/es/tntd-select/_util/getIcons.js.map +0 -1
- package/es/tntd-select/_util/interface.js +0 -4
- package/es/tntd-select/_util/interface.js.map +0 -1
- package/es/tntd-select/_util/motion.js +0 -47
- package/es/tntd-select/_util/motion.js.map +0 -1
- package/es/tntd-select/_util/type.js +0 -3
- package/es/tntd-select/_util/type.js.map +0 -1
- package/es/tntd-select/_util/useCompactItemContext.js +0 -26
- package/es/tntd-select/_util/useCompactItemContext.js.map +0 -1
- package/es/tntd-select/_util/warning.js +0 -14
- package/es/tntd-select/_util/warning.js.map +0 -1
- package/es/tntd-select/rc-select/BaseSelect.js +0 -524
- package/es/tntd-select/rc-select/BaseSelect.js.map +0 -1
- package/es/tntd-select/rc-select/OptGroup.js +0 -4
- package/es/tntd-select/rc-select/OptGroup.js.map +0 -1
- package/es/tntd-select/rc-select/Option.js +0 -4
- package/es/tntd-select/rc-select/Option.js.map +0 -1
- package/es/tntd-select/rc-select/OptionList.js +0 -346
- package/es/tntd-select/rc-select/OptionList.js.map +0 -1
- package/es/tntd-select/rc-select/Select.js +0 -440
- package/es/tntd-select/rc-select/Select.js.map +0 -1
- package/es/tntd-select/rc-select/SelectContext.js +0 -3
- package/es/tntd-select/rc-select/SelectContext.js.map +0 -1
- package/es/tntd-select/rc-select/SelectTrigger.js +0 -130
- package/es/tntd-select/rc-select/SelectTrigger.js.map +0 -1
- package/es/tntd-select/rc-select/Selector/Input.js +0 -103
- package/es/tntd-select/rc-select/Selector/Input.js.map +0 -1
- package/es/tntd-select/rc-select/Selector/MultipleSelector.js +0 -171
- package/es/tntd-select/rc-select/Selector/MultipleSelector.js.map +0 -1
- package/es/tntd-select/rc-select/Selector/SingleSelector.js +0 -98
- package/es/tntd-select/rc-select/Selector/SingleSelector.js.map +0 -1
- package/es/tntd-select/rc-select/Selector/index.js +0 -158
- package/es/tntd-select/rc-select/Selector/index.js.map +0 -1
- package/es/tntd-select/rc-select/TransBtn.js +0 -36
- package/es/tntd-select/rc-select/TransBtn.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useAllowClear.js +0 -24
- package/es/tntd-select/rc-select/hooks/useAllowClear.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useBaseProps.js +0 -9
- package/es/tntd-select/rc-select/hooks/useBaseProps.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useCache.js +0 -38
- package/es/tntd-select/rc-select/hooks/useCache.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useDelayReset.js +0 -23
- package/es/tntd-select/rc-select/hooks/useDelayReset.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useFilterOptions.js +0 -55
- package/es/tntd-select/rc-select/hooks/useFilterOptions.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useId.js +0 -26
- package/es/tntd-select/rc-select/hooks/useId.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useLayoutEffect.js +0 -16
- package/es/tntd-select/rc-select/hooks/useLayoutEffect.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useLock.js +0 -25
- package/es/tntd-select/rc-select/hooks/useLock.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useOptions.js +0 -43
- package/es/tntd-select/rc-select/hooks/useOptions.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useRefFunc.js +0 -13
- package/es/tntd-select/rc-select/hooks/useRefFunc.js.map +0 -1
- package/es/tntd-select/rc-select/hooks/useSelectTriggerControl.js +0 -28
- package/es/tntd-select/rc-select/hooks/useSelectTriggerControl.js.map +0 -1
- package/es/tntd-select/rc-select/index.js +0 -7
- package/es/tntd-select/rc-select/index.js.map +0 -1
- package/es/tntd-select/rc-select/interface.js +0 -1
- package/es/tntd-select/rc-select/interface.js.map +0 -1
- package/es/tntd-select/rc-select/utils/commonUtil.js +0 -30
- package/es/tntd-select/rc-select/utils/commonUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/keyUtil.js +0 -9
- package/es/tntd-select/rc-select/utils/keyUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/legacyUtil.js +0 -55
- package/es/tntd-select/rc-select/utils/legacyUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/platformUtil.js +0 -4
- package/es/tntd-select/rc-select/utils/platformUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/valueUtil.js +0 -112
- package/es/tntd-select/rc-select/utils/valueUtil.js.map +0 -1
- package/es/tntd-select/rc-select/utils/warningPropsUtil.js +0 -112
- package/es/tntd-select/rc-select/utils/warningPropsUtil.js.map +0 -1
- package/es/tooltip/style/index.less +0 -187
- package/es/transfer/style/customize.less +0 -62
- package/es/transfer/style/index.less +0 -191
- package/es/tree/style/directory.less +0 -95
- package/es/tree/style/index.less +0 -280
- package/es/tree/style/mixin.less +0 -29
- package/es/tree-select/style/index.less +0 -191
- package/es/typography/style/index.less +0 -204
- package/es/upload/style/index.less +0 -542
- package/lib/affix/style/index.less +0 -6
- package/lib/alert/style/index.less +0 -188
- package/lib/anchor/style/index.less +0 -82
- package/lib/auto-complete/style/index.less +0 -92
- package/lib/avatar/style/index.less +0 -59
- package/lib/back-top/style/index.less +0 -42
- package/lib/back-top/style/responsive.less +0 -11
- package/lib/badge/style/index.less +0 -190
- package/lib/breadcrumb/style/index.less +0 -51
- package/lib/button/style/index.less +0 -224
- package/lib/button/style/mixin.less +0 -357
- package/lib/calendar/style/index.less +0 -278
- package/lib/card/style/index.less +0 -263
- package/lib/card/style/size.less +0 -25
- package/lib/carousel/style/index.less +0 -238
- package/lib/cascader/style/index.less +0 -227
- package/lib/checkbox/style/index.less +0 -4
- package/lib/checkbox/style/mixin.less +0 -220
- package/lib/collapse/style/index.less +0 -134
- package/lib/comment/style/index.less +0 -93
- package/lib/config-provider/style/index.less +0 -2
- package/lib/date-picker/style/Calendar.less +0 -402
- package/lib/date-picker/style/DecadePanel.less +0 -81
- package/lib/date-picker/style/MonthPanel.less +0 -86
- package/lib/date-picker/style/MonthPicker.less +0 -11
- package/lib/date-picker/style/Picker.less +0 -113
- package/lib/date-picker/style/RangePicker.less +0 -248
- package/lib/date-picker/style/TimePicker.less +0 -151
- package/lib/date-picker/style/WeekPicker.less +0 -21
- package/lib/date-picker/style/YearPanel.less +0 -85
- package/lib/date-picker/style/index.less +0 -17
- package/lib/descriptions/style/index.less +0 -144
- package/lib/divider/style/index.less +0 -109
- package/lib/drawer/style/drawer.less +0 -230
- package/lib/drawer/style/index.less +0 -3
- package/lib/dropdown/style/index.less +0 -282
- package/lib/empty/style/index.less +0 -52
- package/lib/form/style/index.less +0 -653
- package/lib/form/style/mixin.less +0 -126
- package/lib/grid-v4/style/index.less +0 -124
- package/lib/grid-v4/style/mixin.less +0 -57
- package/lib/grid-v4/style/rtl.less +0 -69
- package/lib/handle/handle.d.ts +0 -3
- package/lib/handle/handle.d.ts.map +0 -1
- package/lib/handle/handle.js +0 -181
- package/lib/handle/handle.js.map +0 -1
- package/lib/icon/style/index.less +0 -4
- package/lib/input/style/index.less +0 -57
- package/lib/input/style/mixin.less +0 -449
- package/lib/input/style/search-input.less +0 -34
- package/lib/input-number/style/index.less +0 -179
- package/lib/layout/style/index.less +0 -124
- package/lib/layout/style/light.less +0 -15
- package/lib/list/style/bordered.less +0 -41
- package/lib/list/style/index.less +0 -234
- package/lib/list/style/responsive.less +0 -40
- package/lib/locale-provider/style/index.less +0 -2
- package/lib/mention/index.js +0 -25
- package/lib/mentions/style/index.less +0 -164
- package/lib/menu/style/dark.less +0 -139
- package/lib/menu/style/index.less +0 -515
- package/lib/message/style/index.less +0 -75
- package/lib/modal/style/confirm.less +0 -78
- package/lib/modal/style/index.less +0 -4
- package/lib/modal/style/modal.less +0 -165
- package/lib/notification/style/index.less +0 -199
- package/lib/page-header/style/index.less +0 -119
- package/lib/pagination/style/index.less +0 -400
- package/lib/popover/style/index.less +0 -205
- package/lib/progress/style/index.less +0 -182
- package/lib/radio/style/index.less +0 -327
- package/lib/rate/style/index.less +0 -85
- package/lib/result/style/index.less +0 -71
- package/lib/select/style/index.less +0 -604
- package/lib/skeleton/style/index.less +0 -130
- package/lib/slider/style/index.less +0 -197
- package/lib/spin/style/index.less +0 -214
- package/lib/statistic/style/index.less +0 -40
- package/lib/steps/style/compatibility.less +0 -50
- package/lib/steps/style/custom-icon.less +0 -31
- package/lib/steps/style/label-placement.less +0 -38
- package/lib/steps/style/progress-dot.less +0 -80
- package/lib/steps/style/vertical.less +0 -74
- package/lib/style/color/bezierEasing.less +0 -110
- package/lib/style/color/colorPalette.less +0 -75
- package/lib/style/color/colors.less +0 -149
- package/lib/style/color/tinyColor.less +0 -1184
- package/lib/style/core/base.less +0 -510
- package/lib/style/core/iconfont.less +0 -19
- package/lib/style/core/index.less +0 -4
- package/lib/style/core/motion/fade.less +0 -31
- package/lib/style/core/motion/move.less +0 -120
- package/lib/style/core/motion/other.less +0 -40
- package/lib/style/core/motion/slide.less +0 -120
- package/lib/style/core/motion/swing.less +0 -34
- package/lib/style/core/motion/zoom.less +0 -162
- package/lib/style/core/motion.less +0 -20
- package/lib/style/index.less +0 -2
- package/lib/style/mixins/clearfix.less +0 -13
- package/lib/style/mixins/compatibility.less +0 -22
- package/lib/style/mixins/iconfont.less +0 -43
- package/lib/style/mixins/index.less +0 -10
- package/lib/style/mixins/motion.less +0 -35
- package/lib/style/mixins/operation-unit.less +0 -18
- package/lib/style/mixins/reset.less +0 -13
- package/lib/style/mixins/size.less +0 -10
- package/lib/style/mixins/typography.less +0 -49
- package/lib/style/themes/default.less +0 -699
- package/lib/style/themes/index.less +0 -1
- package/lib/style/v2-compatible-reset.less +0 -51
- package/lib/switch/style/index.less +0 -178
- package/lib/table/style/index.less +0 -800
- package/lib/table/style/size.less +0 -179
- package/lib/tabs/style/card-style.less +0 -186
- package/lib/tabs/style/index.less +0 -436
- package/lib/tag/style/index.less +0 -106
- package/lib/time-picker/style/index.less +0 -246
- package/lib/timeline/style/index.less +0 -167
- package/lib/tntd-form/TntdForm/components/Item.js +0 -65
- package/lib/tntd-form/TntdForm/components/ItemComp.js +0 -215
- package/lib/tntd-form/TntdForm/components/List.js +0 -123
- package/lib/tntd-form/TntdForm/index.js +0 -72
- package/lib/tntd-form/TntdForm/interface.js +0 -5
- package/lib/tntd-form/TntdForm/store.js +0 -10
- package/lib/tntd-form/TntdForm/utils.js +0 -239
- package/lib/tntd-form/_util/motion.d.ts +0 -9
- package/lib/tntd-form/_util/motion.d.ts.map +0 -1
- package/lib/tntd-form/_util/motion.js +0 -59
- package/lib/tntd-form/_util/motion.js.map +0 -1
- package/lib/tntd-form/_util/reactNode.d.ts +0 -9
- package/lib/tntd-form/_util/reactNode.d.ts.map +0 -1
- package/lib/tntd-form/_util/reactNode.js +0 -27
- package/lib/tntd-form/_util/reactNode.js.map +0 -1
- package/lib/tntd-form/_util/scrollTo.d.ts +0 -1
- package/lib/tntd-form/_util/scrollTo.d.ts.map +0 -1
- package/lib/tntd-form/_util/scrollTo.js +0 -35
- package/lib/tntd-form/_util/scrollTo.js.map +0 -1
- package/lib/tntd-form/_util/type.d.ts +0 -4
- package/lib/tntd-form/_util/type.d.ts.map +0 -1
- package/lib/tntd-form/_util/type.js +0 -21
- package/lib/tntd-form/_util/type.js.map +0 -1
- package/lib/tntd-form/_util/warning.d.ts +0 -5
- package/lib/tntd-form/_util/warning.d.ts.map +0 -1
- package/lib/tntd-form/_util/warning.js +0 -20
- package/lib/tntd-form/_util/warning.js.map +0 -1
- package/lib/tntd-form/_util/wave.d.ts +0 -1
- package/lib/tntd-form/_util/wave.d.ts.map +0 -1
- package/lib/tntd-form/_util/wave.js +0 -168
- package/lib/tntd-form/_util/wave.js.map +0 -1
- package/lib/tntd-form/tntd-form.stories.d.ts +0 -33
- package/lib/tntd-form/tntd-form.stories.d.ts.map +0 -1
- package/lib/tntd-form/tntd-form.stories.js +0 -943
- package/lib/tntd-form/tntd-form.stories.js.map +0 -1
- package/lib/tntd-select/_util/DisabledContext.d.ts +0 -10
- package/lib/tntd-select/_util/DisabledContext.d.ts.map +0 -1
- package/lib/tntd-select/_util/DisabledContext.js +0 -22
- package/lib/tntd-select/_util/DisabledContext.js.map +0 -1
- package/lib/tntd-select/_util/FormItemInputContext.d.ts +0 -4
- package/lib/tntd-select/_util/FormItemInputContext.d.ts.map +0 -1
- package/lib/tntd-select/_util/FormItemInputContext.js +0 -12
- package/lib/tntd-select/_util/FormItemInputContext.js.map +0 -1
- package/lib/tntd-select/_util/PurePanel.d.ts +0 -9
- package/lib/tntd-select/_util/PurePanel.d.ts.map +0 -1
- package/lib/tntd-select/_util/PurePanel.js +0 -90
- package/lib/tntd-select/_util/PurePanel.js.map +0 -1
- package/lib/tntd-select/_util/SizeContext.d.ts +0 -4
- package/lib/tntd-select/_util/SizeContext.d.ts.map +0 -1
- package/lib/tntd-select/_util/SizeContext.js +0 -12
- package/lib/tntd-select/_util/SizeContext.js.map +0 -1
- package/lib/tntd-select/_util/context.d.ts +0 -42
- package/lib/tntd-select/_util/context.d.ts.map +0 -1
- package/lib/tntd-select/_util/context.js +0 -22
- package/lib/tntd-select/_util/context.js.map +0 -1
- package/lib/tntd-select/_util/defaultRenderEmpty.d.ts +0 -5
- package/lib/tntd-select/_util/defaultRenderEmpty.d.ts.map +0 -1
- package/lib/tntd-select/_util/defaultRenderEmpty.js +0 -44
- package/lib/tntd-select/_util/defaultRenderEmpty.js.map +0 -1
- package/lib/tntd-select/_util/getIcons.d.ts +0 -25
- package/lib/tntd-select/_util/getIcons.d.ts.map +0 -1
- package/lib/tntd-select/_util/getIcons.js +0 -84
- package/lib/tntd-select/_util/getIcons.js.map +0 -1
- package/lib/tntd-select/_util/interface.d.ts +0 -25
- package/lib/tntd-select/_util/interface.d.ts.map +0 -1
- package/lib/tntd-select/_util/interface.js +0 -16
- package/lib/tntd-select/_util/interface.js.map +0 -1
- package/lib/tntd-select/_util/motion.d.ts +0 -9
- package/lib/tntd-select/_util/motion.d.ts.map +0 -1
- package/lib/tntd-select/_util/motion.js +0 -59
- package/lib/tntd-select/_util/motion.js.map +0 -1
- package/lib/tntd-select/_util/type.d.ts +0 -10
- package/lib/tntd-select/_util/type.d.ts.map +0 -1
- package/lib/tntd-select/_util/type.js +0 -21
- package/lib/tntd-select/_util/type.js.map +0 -1
- package/lib/tntd-select/_util/useCompactItemContext.d.ts +0 -9
- package/lib/tntd-select/_util/useCompactItemContext.d.ts.map +0 -1
- package/lib/tntd-select/_util/useCompactItemContext.js +0 -35
- package/lib/tntd-select/_util/useCompactItemContext.js.map +0 -1
- package/lib/tntd-select/_util/warning.d.ts +0 -4
- package/lib/tntd-select/_util/warning.d.ts.map +0 -1
- package/lib/tntd-select/_util/warning.js +0 -24
- package/lib/tntd-select/_util/warning.js.map +0 -1
- package/lib/tntd-select/rc-select/BaseSelect.d.ts +0 -114
- package/lib/tntd-select/rc-select/BaseSelect.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/BaseSelect.js +0 -566
- package/lib/tntd-select/rc-select/BaseSelect.js.map +0 -1
- package/lib/tntd-select/rc-select/OptGroup.d.ts +0 -13
- package/lib/tntd-select/rc-select/OptGroup.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/OptGroup.js +0 -13
- package/lib/tntd-select/rc-select/OptGroup.js.map +0 -1
- package/lib/tntd-select/rc-select/Option.d.ts +0 -15
- package/lib/tntd-select/rc-select/Option.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Option.js +0 -13
- package/lib/tntd-select/rc-select/Option.js.map +0 -1
- package/lib/tntd-select/rc-select/OptionList.d.ts +0 -11
- package/lib/tntd-select/rc-select/OptionList.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/OptionList.js +0 -372
- package/lib/tntd-select/rc-select/OptionList.js.map +0 -1
- package/lib/tntd-select/rc-select/Select.d.ts +0 -115
- package/lib/tntd-select/rc-select/Select.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Select.js +0 -509
- package/lib/tntd-select/rc-select/Select.js.map +0 -1
- package/lib/tntd-select/rc-select/SelectContext.d.ts +0 -23
- package/lib/tntd-select/rc-select/SelectContext.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/SelectContext.js +0 -13
- package/lib/tntd-select/rc-select/SelectContext.js.map +0 -1
- package/lib/tntd-select/rc-select/SelectTrigger.d.ts +0 -31
- package/lib/tntd-select/rc-select/SelectTrigger.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/SelectTrigger.js +0 -149
- package/lib/tntd-select/rc-select/SelectTrigger.js.map +0 -1
- package/lib/tntd-select/rc-select/Selector/Input.d.ts +0 -27
- package/lib/tntd-select/rc-select/Selector/Input.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Selector/Input.js +0 -110
- package/lib/tntd-select/rc-select/Selector/Input.js.map +0 -1
- package/lib/tntd-select/rc-select/Selector/MultipleSelector.d.ts +0 -17
- package/lib/tntd-select/rc-select/Selector/MultipleSelector.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Selector/MultipleSelector.js +0 -193
- package/lib/tntd-select/rc-select/Selector/MultipleSelector.js.map +0 -1
- package/lib/tntd-select/rc-select/Selector/SingleSelector.d.ts +0 -9
- package/lib/tntd-select/rc-select/Selector/SingleSelector.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Selector/SingleSelector.js +0 -116
- package/lib/tntd-select/rc-select/Selector/SingleSelector.js.map +0 -1
- package/lib/tntd-select/rc-select/Selector/index.d.ts +0 -83
- package/lib/tntd-select/rc-select/Selector/index.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/Selector/index.js +0 -159
- package/lib/tntd-select/rc-select/Selector/index.js.map +0 -1
- package/lib/tntd-select/rc-select/TransBtn.d.ts +0 -13
- package/lib/tntd-select/rc-select/TransBtn.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/TransBtn.js +0 -48
- package/lib/tntd-select/rc-select/TransBtn.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useAllowClear.d.ts +0 -9
- package/lib/tntd-select/rc-select/hooks/useAllowClear.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useAllowClear.js +0 -35
- package/lib/tntd-select/rc-select/hooks/useAllowClear.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useBaseProps.d.ts +0 -14
- package/lib/tntd-select/rc-select/hooks/useBaseProps.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useBaseProps.js +0 -21
- package/lib/tntd-select/rc-select/hooks/useBaseProps.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useCache.d.ts +0 -8
- package/lib/tntd-select/rc-select/hooks/useCache.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useCache.js +0 -49
- package/lib/tntd-select/rc-select/hooks/useCache.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useDelayReset.d.ts +0 -6
- package/lib/tntd-select/rc-select/hooks/useDelayReset.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useDelayReset.js +0 -44
- package/lib/tntd-select/rc-select/hooks/useDelayReset.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useFilterOptions.d.ts +0 -4
- package/lib/tntd-select/rc-select/hooks/useFilterOptions.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useFilterOptions.js +0 -72
- package/lib/tntd-select/rc-select/hooks/useFilterOptions.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useId.d.ts +0 -6
- package/lib/tntd-select/rc-select/hooks/useId.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useId.js +0 -48
- package/lib/tntd-select/rc-select/hooks/useId.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useLayoutEffect.d.ts +0 -6
- package/lib/tntd-select/rc-select/hooks/useLayoutEffect.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useLayoutEffect.js +0 -26
- package/lib/tntd-select/rc-select/hooks/useLayoutEffect.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useLock.d.ts +0 -8
- package/lib/tntd-select/rc-select/hooks/useLock.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useLock.js +0 -39
- package/lib/tntd-select/rc-select/hooks/useLock.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useOptions.d.ts +0 -12
- package/lib/tntd-select/rc-select/hooks/useOptions.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useOptions.js +0 -53
- package/lib/tntd-select/rc-select/hooks/useOptions.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useRefFunc.d.ts +0 -6
- package/lib/tntd-select/rc-select/hooks/useRefFunc.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useRefFunc.js +0 -22
- package/lib/tntd-select/rc-select/hooks/useRefFunc.js.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useSelectTriggerControl.d.ts +0 -2
- package/lib/tntd-select/rc-select/hooks/useSelectTriggerControl.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/hooks/useSelectTriggerControl.js +0 -43
- package/lib/tntd-select/rc-select/hooks/useSelectTriggerControl.js.map +0 -1
- package/lib/tntd-select/rc-select/index.d.ts +0 -11
- package/lib/tntd-select/rc-select/index.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/index.js +0 -38
- package/lib/tntd-select/rc-select/index.js.map +0 -1
- package/lib/tntd-select/rc-select/interface.d.ts +0 -23
- package/lib/tntd-select/rc-select/interface.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/interface.js +0 -5
- package/lib/tntd-select/rc-select/interface.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/commonUtil.d.ts +0 -10
- package/lib/tntd-select/rc-select/utils/commonUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/commonUtil.js +0 -43
- package/lib/tntd-select/rc-select/utils/commonUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/keyUtil.d.ts +0 -3
- package/lib/tntd-select/rc-select/utils/keyUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/keyUtil.js +0 -16
- package/lib/tntd-select/rc-select/utils/keyUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/legacyUtil.d.ts +0 -4
- package/lib/tntd-select/rc-select/utils/legacyUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/legacyUtil.js +0 -60
- package/lib/tntd-select/rc-select/utils/legacyUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/platformUtil.d.ts +0 -2
- package/lib/tntd-select/rc-select/utils/platformUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/platformUtil.js +0 -10
- package/lib/tntd-select/rc-select/utils/platformUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/valueUtil.d.ts +0 -24
- package/lib/tntd-select/rc-select/utils/valueUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/valueUtil.js +0 -132
- package/lib/tntd-select/rc-select/utils/valueUtil.js.map +0 -1
- package/lib/tntd-select/rc-select/utils/warningPropsUtil.d.ts +0 -5
- package/lib/tntd-select/rc-select/utils/warningPropsUtil.d.ts.map +0 -1
- package/lib/tntd-select/rc-select/utils/warningPropsUtil.js +0 -127
- package/lib/tntd-select/rc-select/utils/warningPropsUtil.js.map +0 -1
- package/lib/tooltip/style/index.less +0 -187
- package/lib/transfer/style/customize.less +0 -62
- package/lib/transfer/style/index.less +0 -191
- package/lib/tree/style/directory.less +0 -95
- package/lib/tree/style/index.less +0 -280
- package/lib/tree/style/mixin.less +0 -29
- package/lib/tree-select/style/index.less +0 -191
- package/lib/typography/style/index.less +0 -204
- package/lib/upload/style/index.less +0 -542
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"warningPropsUtil.js","sourceRoot":"","sources":["../../../../src/tntd-select/rc-select/utils/warningPropsUtil.ts"],"names":[],"mappings":"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","sourcesContent":["import toNodeArray from 'rc-util/lib/Children/toArray';\nimport warning, { noteOnce } from 'rc-util/lib/warning';\nimport * as React from 'react';\nimport { isMultiple } from '../BaseSelect';\nimport type {\n BaseOptionType,\n DefaultOptionType,\n FieldNames,\n LabelInValueType,\n RawValueType,\n SelectProps,\n} from '../Select';\nimport { toArray } from './commonUtil';\nimport { convertChildrenToData } from './legacyUtil';\n\nfunction warningProps(props: SelectProps) {\n const {\n mode,\n options,\n children,\n backfill,\n allowClear,\n placeholder,\n getInputElement,\n showSearch,\n onSearch,\n defaultOpen,\n autoFocus,\n labelInValue,\n value,\n inputValue,\n optionLabelProp,\n } = props;\n\n const multiple = isMultiple(mode);\n const mergedShowSearch = showSearch !== undefined ? showSearch : multiple || mode === 'combobox';\n const mergedOptions = options || convertChildrenToData(children);\n\n // `tags` should not set option as disabled\n warning(\n mode !== 'tags' || mergedOptions.every((opt: { disabled?: boolean }) => !opt.disabled),\n 'Please avoid setting option to disabled in tags mode since user can always type text as tag.',\n );\n\n // `combobox` & `tags` should option be `string` type\n if (mode === 'tags' || mode === 'combobox') {\n const hasNumberValue = mergedOptions.some((item) => {\n if (item.options) {\n return item.options.some(\n (opt: BaseOptionType) => typeof ('value' in opt ? opt.value : opt.key) === 'number',\n );\n }\n return typeof ('value' in item ? item.value : item.key) === 'number';\n });\n\n warning(\n !hasNumberValue,\n '`value` of Option should not use number type when `mode` is `tags` or `combobox`.',\n );\n }\n\n // `combobox` should not use `optionLabelProp`\n warning(\n mode !== 'combobox' || !optionLabelProp,\n '`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly.',\n );\n\n // Only `combobox` support `backfill`\n warning(mode === 'combobox' || !backfill, '`backfill` only works with `combobox` mode.');\n\n // Only `combobox` support `getInputElement`\n warning(\n mode === 'combobox' || !getInputElement,\n '`getInputElement` only work with `combobox` mode.',\n );\n\n // Customize `getInputElement` should not use `allowClear` & `placeholder`\n noteOnce(\n mode !== 'combobox' || !getInputElement || !allowClear || !placeholder,\n 'Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`.',\n );\n\n // `onSearch` should use in `combobox` or `showSearch`\n if (onSearch && !mergedShowSearch && mode !== 'combobox' && mode !== 'tags') {\n warning(false, '`onSearch` should work with `showSearch` instead of use alone.');\n }\n\n noteOnce(\n !defaultOpen || autoFocus,\n '`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed.',\n );\n\n if (value !== undefined && value !== null) {\n const values = toArray<RawValueType | LabelInValueType>(value);\n warning(\n !labelInValue ||\n values.every((val) => typeof val === 'object' && ('key' in val || 'value' in val)),\n '`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`',\n );\n\n warning(\n !multiple || Array.isArray(value),\n '`value` should be array when `mode` is `multiple` or `tags`',\n );\n }\n\n // Syntactic sugar should use correct children type\n if (children) {\n let invalidateChildType = null;\n toNodeArray(children).some((node: React.ReactNode) => {\n if (!React.isValidElement(node) || !node.type) {\n return false;\n }\n\n const { type } = node as { type: { isSelectOption?: boolean; isSelectOptGroup?: boolean } };\n\n if (type.isSelectOption) {\n return false;\n }\n if (type.isSelectOptGroup) {\n const allChildrenValid = toNodeArray(node.props.children).every(\n (subNode: React.ReactElement) => {\n if (\n !React.isValidElement(subNode) ||\n !node.type ||\n (subNode.type as { isSelectOption?: boolean }).isSelectOption\n ) {\n return true;\n }\n invalidateChildType = subNode.type;\n return false;\n },\n );\n\n if (allChildrenValid) {\n return false;\n }\n return true;\n }\n invalidateChildType = type;\n return true;\n });\n\n if (invalidateChildType) {\n warning(\n false,\n `\\`children\\` should be \\`Select.Option\\` or \\`Select.OptGroup\\` instead of \\`${\n invalidateChildType.displayName || invalidateChildType.name || invalidateChildType\n }\\`.`,\n );\n }\n\n warning(\n inputValue === undefined,\n '`inputValue` is deprecated, please use `searchValue` instead.',\n );\n }\n}\n\n// value in Select option should not be null\n// note: OptGroup has options too\nexport function warningNullOptions(options: DefaultOptionType[], fieldNames: FieldNames) {\n if (options) {\n const recursiveOptions = (optionsList: DefaultOptionType[], inGroup: boolean = false) => {\n for (let i = 0; i < optionsList.length; i++) {\n const option = optionsList[i];\n\n if (option[fieldNames?.value] === null) {\n warning(false, '`value` in Select options should not be `null`.');\n return true;\n }\n\n if (\n !inGroup &&\n Array.isArray(option[fieldNames?.options]) &&\n recursiveOptions(option[fieldNames?.options], true)\n ) {\n break;\n }\n }\n };\n\n recursiveOptions(options);\n }\n}\n\nexport default warningProps;\n"]}
|
|
@@ -1,187 +0,0 @@
|
|
|
1
|
-
@import '../../style/themes/index';
|
|
2
|
-
@import '../../style/mixins/index';
|
|
3
|
-
|
|
4
|
-
@tooltip-prefix-cls: ~'@{ant-prefix}-tooltip';
|
|
5
|
-
|
|
6
|
-
@tooltip-arrow-shadow-width: 3px;
|
|
7
|
-
|
|
8
|
-
@tooltip-arrow-rotate-width: sqrt(@tooltip-arrow-width * @tooltip-arrow-width * 2) +
|
|
9
|
-
@tooltip-arrow-shadow-width * 2;
|
|
10
|
-
|
|
11
|
-
@tooltip-arrow-offset-vertical: 5px; // 8 - 3px
|
|
12
|
-
@tooltip-arrow-offset-horizontal: 13px; // 16 - 3px
|
|
13
|
-
|
|
14
|
-
// Base class
|
|
15
|
-
.@{tooltip-prefix-cls} {
|
|
16
|
-
.reset-component;
|
|
17
|
-
|
|
18
|
-
position: absolute;
|
|
19
|
-
z-index: @zindex-tooltip;
|
|
20
|
-
display: block;
|
|
21
|
-
max-width: @tooltip-max-width;
|
|
22
|
-
visibility: visible;
|
|
23
|
-
|
|
24
|
-
&-hidden {
|
|
25
|
-
display: none;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&-placement-top,
|
|
29
|
-
&-placement-topLeft,
|
|
30
|
-
&-placement-topRight {
|
|
31
|
-
padding-bottom: @tooltip-distance;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&-placement-right,
|
|
35
|
-
&-placement-rightTop,
|
|
36
|
-
&-placement-rightBottom {
|
|
37
|
-
padding-left: @tooltip-distance;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-placement-bottom,
|
|
41
|
-
&-placement-bottomLeft,
|
|
42
|
-
&-placement-bottomRight {
|
|
43
|
-
padding-top: @tooltip-distance;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&-placement-left,
|
|
47
|
-
&-placement-leftTop,
|
|
48
|
-
&-placement-leftBottom {
|
|
49
|
-
padding-right: @tooltip-distance;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
// Wrapper for the tooltip content
|
|
53
|
-
&-inner {
|
|
54
|
-
min-width: 30px;
|
|
55
|
-
min-height: 32px;
|
|
56
|
-
padding: 6px 8px;
|
|
57
|
-
color: @tooltip-color;
|
|
58
|
-
text-align: left;
|
|
59
|
-
text-decoration: none;
|
|
60
|
-
word-wrap: break-word;
|
|
61
|
-
background-color: @tooltip-bg;
|
|
62
|
-
border-radius: @border-radius-base;
|
|
63
|
-
box-shadow: @box-shadow-base;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// Arrows
|
|
67
|
-
&-arrow {
|
|
68
|
-
position: absolute;
|
|
69
|
-
display: block;
|
|
70
|
-
width: @tooltip-arrow-rotate-width;
|
|
71
|
-
height: @tooltip-arrow-rotate-width;
|
|
72
|
-
overflow: hidden;
|
|
73
|
-
background: transparent;
|
|
74
|
-
pointer-events: none;
|
|
75
|
-
|
|
76
|
-
&::before {
|
|
77
|
-
position: absolute;
|
|
78
|
-
top: 0;
|
|
79
|
-
right: 0;
|
|
80
|
-
bottom: 0;
|
|
81
|
-
left: 0;
|
|
82
|
-
display: block;
|
|
83
|
-
width: @tooltip-arrow-width;
|
|
84
|
-
height: @tooltip-arrow-width;
|
|
85
|
-
margin: auto;
|
|
86
|
-
background-color: @tooltip-bg;
|
|
87
|
-
content: '';
|
|
88
|
-
pointer-events: auto;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&-placement-top &-arrow,
|
|
93
|
-
&-placement-topLeft &-arrow,
|
|
94
|
-
&-placement-topRight &-arrow {
|
|
95
|
-
bottom: calc(@tooltip-distance - @tooltip-arrow-rotate-width);
|
|
96
|
-
|
|
97
|
-
&::before {
|
|
98
|
-
box-shadow: @tooltip-arrow-shadow-width @tooltip-arrow-shadow-width 7px fade(@black, 7%);
|
|
99
|
-
transform: translateY(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&-placement-top &-arrow {
|
|
104
|
-
left: 50%;
|
|
105
|
-
transform: translateX(-50%);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&-placement-topLeft &-arrow {
|
|
109
|
-
left: @tooltip-arrow-offset-horizontal;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&-placement-topRight &-arrow {
|
|
113
|
-
right: @tooltip-arrow-offset-horizontal;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
&-placement-right &-arrow,
|
|
117
|
-
&-placement-rightTop &-arrow,
|
|
118
|
-
&-placement-rightBottom &-arrow {
|
|
119
|
-
left: calc(@tooltip-distance - @tooltip-arrow-rotate-width);
|
|
120
|
-
|
|
121
|
-
&::before {
|
|
122
|
-
box-shadow: -@tooltip-arrow-shadow-width @tooltip-arrow-shadow-width 7px fade(@black, 7%);
|
|
123
|
-
transform: translateX(@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&-placement-right &-arrow {
|
|
128
|
-
top: 50%;
|
|
129
|
-
transform: translateY(-50%);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&-placement-rightTop &-arrow {
|
|
133
|
-
top: @tooltip-arrow-offset-vertical;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&-placement-rightBottom &-arrow {
|
|
137
|
-
bottom: @tooltip-arrow-offset-vertical;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&-placement-left &-arrow,
|
|
141
|
-
&-placement-leftTop &-arrow,
|
|
142
|
-
&-placement-leftBottom &-arrow {
|
|
143
|
-
right: calc(@tooltip-distance - @tooltip-arrow-rotate-width);
|
|
144
|
-
|
|
145
|
-
&::before {
|
|
146
|
-
box-shadow: @tooltip-arrow-shadow-width -@tooltip-arrow-shadow-width 7px fade(@black, 7%);
|
|
147
|
-
transform: translateX(-@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&-placement-left &-arrow {
|
|
152
|
-
top: 50%;
|
|
153
|
-
transform: translateY(-50%);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&-placement-leftTop &-arrow {
|
|
157
|
-
top: @tooltip-arrow-offset-vertical;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&-placement-leftBottom &-arrow {
|
|
161
|
-
bottom: @tooltip-arrow-offset-vertical;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&-placement-bottom &-arrow,
|
|
165
|
-
&-placement-bottomLeft &-arrow,
|
|
166
|
-
&-placement-bottomRight &-arrow {
|
|
167
|
-
top: calc(@tooltip-distance - @tooltip-arrow-rotate-width);
|
|
168
|
-
|
|
169
|
-
&::before {
|
|
170
|
-
box-shadow: -@tooltip-arrow-shadow-width -@tooltip-arrow-shadow-width 7px fade(@black, 7%);
|
|
171
|
-
transform: translateY(@tooltip-arrow-rotate-width / 2) rotate(45deg);
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
&-placement-bottom &-arrow {
|
|
176
|
-
left: 50%;
|
|
177
|
-
transform: translateX(-50%);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
&-placement-bottomLeft &-arrow {
|
|
181
|
-
left: @tooltip-arrow-offset-horizontal;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
&-placement-bottomRight &-arrow {
|
|
185
|
-
right: @tooltip-arrow-offset-horizontal;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
@import './index.less';
|
|
2
|
-
|
|
3
|
-
@table-prefix-cls: ~'@{ant-prefix}-table';
|
|
4
|
-
|
|
5
|
-
.@{transfer-prefix-cls}-customize-list {
|
|
6
|
-
display: flex;
|
|
7
|
-
|
|
8
|
-
.@{transfer-prefix-cls}-operation {
|
|
9
|
-
flex: none;
|
|
10
|
-
align-self: center;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.@{transfer-prefix-cls}-list {
|
|
14
|
-
flex: auto;
|
|
15
|
-
width: auto;
|
|
16
|
-
height: auto;
|
|
17
|
-
min-height: @transfer-list-height;
|
|
18
|
-
|
|
19
|
-
&-body {
|
|
20
|
-
&-with-search {
|
|
21
|
-
padding-top: 0;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Search box in customize mode do not need fix top
|
|
25
|
-
&-search-wrapper {
|
|
26
|
-
position: relative;
|
|
27
|
-
padding-bottom: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
&-customize-wrapper {
|
|
31
|
-
padding: 12px;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// =================== Hook Components ===================
|
|
37
|
-
.@{table-prefix-cls}-wrapper {
|
|
38
|
-
.@{table-prefix-cls}-small {
|
|
39
|
-
border: 0;
|
|
40
|
-
border-radius: 0;
|
|
41
|
-
|
|
42
|
-
> .@{table-prefix-cls}-content {
|
|
43
|
-
// Header background color
|
|
44
|
-
> .@{table-prefix-cls}-body > table > .@{table-prefix-cls}-thead > tr > th {
|
|
45
|
-
background: @table-header-bg;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.@{table-prefix-cls}-row:last-child td {
|
|
49
|
-
border-bottom: @border-width-base @border-style-base @border-color-split;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.@{table-prefix-cls}-body {
|
|
54
|
-
margin: 0;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.@{table-prefix-cls}-pagination.@{ant-prefix}-pagination {
|
|
59
|
-
margin: 16px 0 4px;
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1,191 +0,0 @@
|
|
|
1
|
-
@import '../../style/themes/index';
|
|
2
|
-
@import '../../style/mixins/index';
|
|
3
|
-
@import '../../checkbox/style/mixin';
|
|
4
|
-
@import './customize.less';
|
|
5
|
-
|
|
6
|
-
@transfer-prefix-cls: ~'@{ant-prefix}-transfer';
|
|
7
|
-
|
|
8
|
-
@transfer-header-vertical-padding: (
|
|
9
|
-
@transfer-header-height - 1px - @font-size-base * @line-height-base
|
|
10
|
-
) / 2;
|
|
11
|
-
|
|
12
|
-
.@{transfer-prefix-cls} {
|
|
13
|
-
.reset-component;
|
|
14
|
-
|
|
15
|
-
position: relative;
|
|
16
|
-
|
|
17
|
-
&-disabled {
|
|
18
|
-
.@{transfer-prefix-cls}-list {
|
|
19
|
-
background: @transfer-disabled-bg;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&-list {
|
|
24
|
-
position: relative;
|
|
25
|
-
display: inline-block;
|
|
26
|
-
width: 180px;
|
|
27
|
-
height: @transfer-list-height;
|
|
28
|
-
padding-top: @transfer-header-height;
|
|
29
|
-
vertical-align: middle;
|
|
30
|
-
border: @border-width-base @border-style-base @border-color-base;
|
|
31
|
-
border-radius: @border-radius-base;
|
|
32
|
-
|
|
33
|
-
&-with-footer {
|
|
34
|
-
padding-bottom: 34px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&-search {
|
|
38
|
-
padding: 0 24px 0 @control-padding-horizontal-sm;
|
|
39
|
-
&-action {
|
|
40
|
-
position: absolute;
|
|
41
|
-
top: 12px;
|
|
42
|
-
right: 12px;
|
|
43
|
-
bottom: 12px;
|
|
44
|
-
width: 28px;
|
|
45
|
-
color: @disabled-color;
|
|
46
|
-
line-height: @input-height-base;
|
|
47
|
-
text-align: center;
|
|
48
|
-
.@{iconfont-css-prefix} {
|
|
49
|
-
color: @disabled-color;
|
|
50
|
-
transition: all 0.3s;
|
|
51
|
-
&:hover {
|
|
52
|
-
color: @text-color-secondary;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
span& {
|
|
56
|
-
pointer-events: none;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&-header {
|
|
62
|
-
position: absolute;
|
|
63
|
-
top: 0;
|
|
64
|
-
left: 0;
|
|
65
|
-
width: 100%;
|
|
66
|
-
// border-top is on the transfer dom. We should minus 1px for this
|
|
67
|
-
padding: calc((@transfer-header-vertical-padding - 1px)) @control-padding-horizontal
|
|
68
|
-
@transfer-header-vertical-padding;
|
|
69
|
-
overflow: hidden;
|
|
70
|
-
color: @text-color;
|
|
71
|
-
background: @component-background;
|
|
72
|
-
border-bottom: @border-width-base @border-style-base @border-color-split;
|
|
73
|
-
border-radius: @border-radius-base @border-radius-base 0 0;
|
|
74
|
-
|
|
75
|
-
&-title {
|
|
76
|
-
position: absolute;
|
|
77
|
-
right: 12px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.@{ant-prefix}-checkbox-wrapper + span {
|
|
81
|
-
padding-left: 8px;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&-body {
|
|
86
|
-
position: relative;
|
|
87
|
-
height: 100%;
|
|
88
|
-
font-size: @font-size-base;
|
|
89
|
-
|
|
90
|
-
&-search-wrapper {
|
|
91
|
-
position: absolute;
|
|
92
|
-
top: 0;
|
|
93
|
-
left: 0;
|
|
94
|
-
width: 100%;
|
|
95
|
-
padding: 12px;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-body-with-search {
|
|
100
|
-
padding-top: calc(@input-height-base + 24px);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&-content {
|
|
104
|
-
height: 100%;
|
|
105
|
-
margin: 0;
|
|
106
|
-
padding: 0;
|
|
107
|
-
overflow: auto;
|
|
108
|
-
list-style: none;
|
|
109
|
-
> .LazyLoad {
|
|
110
|
-
animation: transferHighlightIn 1s;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&-item {
|
|
114
|
-
min-height: 32px;
|
|
115
|
-
padding: 6px @control-padding-horizontal;
|
|
116
|
-
overflow: hidden;
|
|
117
|
-
white-space: nowrap;
|
|
118
|
-
text-overflow: ellipsis;
|
|
119
|
-
transition: all 0.3s;
|
|
120
|
-
> span {
|
|
121
|
-
padding-right: 0;
|
|
122
|
-
}
|
|
123
|
-
&-text {
|
|
124
|
-
padding-left: 8px;
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&-item:not(&-item-disabled):hover {
|
|
129
|
-
background-color: @item-hover-bg;
|
|
130
|
-
cursor: pointer;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
&-item-disabled {
|
|
134
|
-
color: @btn-disable-color;
|
|
135
|
-
cursor: not-allowed;
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&-body-not-found {
|
|
140
|
-
position: absolute;
|
|
141
|
-
top: 50%;
|
|
142
|
-
width: 100%;
|
|
143
|
-
padding-top: 0;
|
|
144
|
-
color: @disabled-color;
|
|
145
|
-
text-align: center;
|
|
146
|
-
transform: translateY(-50%);
|
|
147
|
-
|
|
148
|
-
// with filter should offset the search box height
|
|
149
|
-
.@{transfer-prefix-cls}-list-body-with-search & {
|
|
150
|
-
margin-top: calc(@input-height-base / 2);
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
&-footer {
|
|
155
|
-
position: absolute;
|
|
156
|
-
bottom: 0;
|
|
157
|
-
left: 0;
|
|
158
|
-
width: 100%;
|
|
159
|
-
border-top: @border-width-base @border-style-base @border-color-split;
|
|
160
|
-
border-radius: 0 0 @border-radius-base @border-radius-base;
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&-operation {
|
|
165
|
-
display: inline-block;
|
|
166
|
-
margin: 0 8px;
|
|
167
|
-
overflow: hidden;
|
|
168
|
-
vertical-align: middle;
|
|
169
|
-
|
|
170
|
-
.@{ant-prefix}-btn {
|
|
171
|
-
display: block;
|
|
172
|
-
|
|
173
|
-
&:first-child {
|
|
174
|
-
margin-bottom: 4px;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.@{iconfont-css-prefix} {
|
|
178
|
-
font-size: 12px;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
@keyframes transferHighlightIn {
|
|
185
|
-
0% {
|
|
186
|
-
background: @primary-2;
|
|
187
|
-
}
|
|
188
|
-
100% {
|
|
189
|
-
background: transparent;
|
|
190
|
-
}
|
|
191
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
@import '../../style/themes/index';
|
|
2
|
-
|
|
3
|
-
@tree-prefix-cls: ~'@{ant-prefix}-tree';
|
|
4
|
-
|
|
5
|
-
.@{tree-prefix-cls} {
|
|
6
|
-
&.@{tree-prefix-cls}-directory {
|
|
7
|
-
position: relative;
|
|
8
|
-
|
|
9
|
-
// Stretch selector width
|
|
10
|
-
> li,
|
|
11
|
-
.@{tree-prefix-cls}-child-tree > li {
|
|
12
|
-
span {
|
|
13
|
-
&.@{tree-prefix-cls}-switcher {
|
|
14
|
-
position: relative;
|
|
15
|
-
z-index: 1;
|
|
16
|
-
|
|
17
|
-
&.@{tree-prefix-cls}-switcher-noop {
|
|
18
|
-
pointer-events: none;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&.@{tree-prefix-cls}-checkbox {
|
|
23
|
-
position: relative;
|
|
24
|
-
z-index: 1;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.@{tree-prefix-cls}-node-content-wrapper {
|
|
28
|
-
border-radius: 0;
|
|
29
|
-
user-select: none;
|
|
30
|
-
|
|
31
|
-
&:hover {
|
|
32
|
-
background: transparent;
|
|
33
|
-
|
|
34
|
-
&::before {
|
|
35
|
-
background: @item-hover-bg;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.@{tree-prefix-cls}-node-selected {
|
|
40
|
-
color: @tree-directory-selected-color;
|
|
41
|
-
background: transparent;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&::before {
|
|
45
|
-
position: absolute;
|
|
46
|
-
right: 0;
|
|
47
|
-
left: 0;
|
|
48
|
-
height: @tree-title-height;
|
|
49
|
-
transition: all 0.3s;
|
|
50
|
-
content: '';
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
> span {
|
|
54
|
-
position: relative;
|
|
55
|
-
z-index: 1;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.@{tree-prefix-cls}-treenode-selected {
|
|
61
|
-
> span {
|
|
62
|
-
&.@{tree-prefix-cls}-switcher {
|
|
63
|
-
color: @tree-directory-selected-color;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.@{tree-prefix-cls}-checkbox {
|
|
67
|
-
.@{tree-prefix-cls}-checkbox-inner {
|
|
68
|
-
border-color: @primary-color;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&.@{tree-prefix-cls}-checkbox-checked {
|
|
72
|
-
&::after {
|
|
73
|
-
border-color: @checkbox-check-color;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.@{tree-prefix-cls}-checkbox-inner {
|
|
77
|
-
background: @checkbox-check-color;
|
|
78
|
-
|
|
79
|
-
&::after {
|
|
80
|
-
border-color: @primary-color;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
&.@{tree-prefix-cls}-node-content-wrapper {
|
|
87
|
-
&::before {
|
|
88
|
-
background: @tree-directory-selected-bg;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|