tntd 3.0.27 → 3.0.28
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/alert/index.js +1 -1
- package/es/alert/index.js.map +1 -1
- package/es/alert/style/index.less +0 -1
- package/es/array-input/index.js +12 -14
- package/es/array-input/index.js.map +1 -1
- package/es/button/button.js +3 -30
- package/es/button/button.js.map +1 -1
- package/es/button/button.less +2 -72
- package/es/cascader/index.js +6 -3
- package/es/cascader/index.js.map +1 -1
- package/es/checkbox/index.js +7 -3
- package/es/checkbox/index.js.map +1 -1
- package/es/date-picker/index.js +12 -6
- package/es/date-picker/index.js.map +1 -1
- package/es/date-picker/style/Calendar.less +1 -1
- package/es/descriptions/descriptions.less +0 -1
- package/es/descriptions/index.js +2 -2
- package/es/descriptions/index.js.map +1 -1
- package/es/drawer/drawer.js +5 -5
- package/es/drawer/drawer.js.map +1 -1
- package/es/drawer/index.less +1 -15
- package/es/drawer/style/drawer.less +3 -18
- package/es/drawer/style/index.js +1 -2
- package/es/drawer/style/index.js.map +1 -1
- package/es/form/style/index.less +0 -6
- package/es/handle/index.js +6 -9
- package/es/handle/index.js.map +1 -1
- package/es/handle/index.less +0 -16
- package/es/input/index.js +1 -1
- package/es/input/index.js.map +1 -1
- package/es/input/input.js +30 -21
- package/es/input/input.js.map +1 -1
- package/es/input/input.less +20 -123
- package/es/input-number/index.js +29 -4
- package/es/input-number/index.js.map +1 -1
- package/es/locale/en_US.js +5 -9
- package/es/locale/en_US.js.map +1 -1
- package/es/locale/zh_CN.js +3 -7
- package/es/locale/zh_CN.js.map +1 -1
- package/es/message/message.less +1 -2
- package/es/modal/index.js +3 -2
- package/es/modal/index.js.map +1 -1
- package/es/modal/modal.js +16 -103
- package/es/modal/modal.js.map +1 -1
- package/es/modal/style/index.js +1 -2
- package/es/modal/style/index.js.map +1 -1
- package/es/modal/style/modal.less +3 -15
- package/es/notification/notification.less +2 -27
- package/es/notification/style/index.less +0 -1
- package/es/page-container/index.js +1 -1
- package/es/page-container/index.js.map +1 -1
- package/es/page-container/index.less +2 -3
- package/es/page-loading/index.js +1 -1
- package/es/page-loading/index.js.map +1 -1
- package/es/popconfirm/index.js +2 -2
- package/es/popconfirm/index.js.map +1 -1
- package/es/popconfirm/style/index.js +1 -2
- package/es/popconfirm/style/index.js.map +1 -1
- package/es/popover/index.js +2 -2
- package/es/popover/index.js.map +1 -1
- package/es/popover/style/index.js +0 -1
- package/es/popover/style/index.js.map +1 -1
- package/es/preview-text/index.js.map +1 -1
- package/es/progress/index.js +2 -2
- package/es/progress/index.js.map +1 -1
- package/es/query-list-scene/List.js +1 -3
- package/es/query-list-scene/List.js.map +1 -1
- package/es/query-list-scene/QueryForm.js +3 -1
- package/es/query-list-scene/QueryForm.js.map +1 -1
- package/es/query-list-scene/index.less +7 -7
- package/es/radio/index.js +5 -3
- package/es/radio/index.js.map +1 -1
- package/es/segmented/index.less +112 -126
- package/es/select/index.js +1 -1
- package/es/select/index.js.map +1 -1
- package/es/select/select.js +6 -5
- package/es/select/select.js.map +1 -1
- package/es/select/select.less +9 -83
- package/es/select/style/index.less +4 -4
- package/es/spin/index.js +2 -3
- package/es/spin/index.js.map +1 -1
- package/es/steps/index.js +2 -9
- package/es/steps/index.js.map +1 -1
- package/es/steps/stepStyle/index.less +8 -173
- package/es/steps/stepStyle/nav.less +259 -51
- package/es/steps/steps.js +27 -53
- package/es/steps/steps.js.map +1 -1
- package/es/steps/style/index.js +0 -8
- package/es/steps/style/index.js.map +1 -1
- package/es/style/themes/default.less +5 -6
- package/es/switch/style/index.js +1 -2
- package/es/switch/style/index.js.map +1 -1
- package/es/switch/switch.js +2 -40
- package/es/switch/switch.js.map +1 -1
- package/es/table/hooks/use-expand-fixed.js.map +1 -1
- package/es/table/resizableTable/index.less +18 -0
- package/es/table/style/index.less +21 -19
- package/es/table/style/size.less +12 -11
- package/es/table/table.js +39 -65
- package/es/table/table.js.map +1 -1
- package/es/table/table.less +6 -31
- package/es/table/table.stories.js +3 -3
- package/es/table/table.stories.js.map +1 -1
- package/es/table-container/index.js +2 -5
- package/es/table-container/index.js.map +1 -1
- package/es/table-container/index.less +1 -4
- package/es/tabs/index.js +0 -1
- package/es/tabs/index.js.map +1 -1
- package/es/tabs/style/index.js.map +1 -1
- package/es/tabs/style/index.less +0 -1
- package/es/tabs/tabs.js +3 -27
- package/es/tabs/tabs.js.map +1 -1
- package/es/tabs-container/index.js +1 -1
- package/es/tabs-container/index.js.map +1 -1
- package/es/tag/tag.less +3 -4
- package/es/time-picker/index.js +2 -2
- package/es/time-picker/index.js.map +1 -1
- package/es/title/index.less +45 -47
- package/es/tntd-action/index.js +6 -69
- package/es/tntd-action/index.js.map +1 -1
- package/es/tntd-cascader/AntdCascader/index.less +29 -35
- package/es/tntd-cascader/rc-cascader/OptionList/Column.js +1 -1
- package/es/tntd-cascader/rc-cascader/OptionList/Column.js.map +1 -1
- package/es/tntd-select/index.js +4 -3
- package/es/tntd-select/index.js.map +1 -1
- package/es/tntd-virtual-tree/index.less +1 -2
- package/es/tntd-virtual-tree-select/index.less +14 -1
- package/es/tooltip/index.less +5 -4
- package/es/tooltip/style/index.js +1 -2
- package/es/tooltip/style/index.js.map +1 -1
- package/es/upload/index.js +191 -3
- package/es/upload/index.js.map +1 -1
- package/es/upload/style/index.less +1 -1
- package/es/utils/lang.js +2 -8
- package/es/utils/lang.js.map +1 -1
- package/lib/_util/context.js +1 -1
- package/lib/_util/defaultRenderEmpty.js +1 -1
- package/lib/_util/hooks/useFlexGapSupport.js +4 -4
- package/lib/_util/hooks/useForceUpdate.js +4 -4
- package/lib/_util/responsiveObserve.js +1 -1
- package/lib/_util/styleChecker.js +1 -1
- package/lib/actions/index.js +1 -1
- package/lib/alert/index.d.ts +1 -1
- package/lib/alert/index.d.ts.map +1 -1
- package/lib/alert/index.js +8 -7
- package/lib/alert/index.js.map +1 -1
- package/lib/alert/style/index.less +0 -1
- package/lib/array-input/index.d.ts.map +1 -1
- package/lib/array-input/index.js +23 -26
- package/lib/array-input/index.js.map +1 -1
- package/lib/button/button.d.ts +4 -9
- package/lib/button/button.d.ts.map +1 -1
- package/lib/button/button.js +4 -28
- package/lib/button/button.js.map +1 -1
- package/lib/button/button.less +2 -72
- package/lib/cascader/index.d.ts +7 -3
- package/lib/cascader/index.d.ts.map +1 -1
- package/lib/cascader/index.js +10 -5
- package/lib/cascader/index.js.map +1 -1
- package/lib/check-card/group.js +8 -8
- package/lib/check-card/index.js +6 -6
- package/lib/checkbox/checkbox-group.js +1 -1
- package/lib/checkbox/index.d.ts +3 -3
- package/lib/checkbox/index.d.ts.map +1 -1
- package/lib/checkbox/index.js +17 -2
- package/lib/checkbox/index.js.map +1 -1
- package/lib/color-picker/ColorPicker.js +6 -6
- package/lib/color-picker/index.js +1 -1
- package/lib/columns/index.js +1 -1
- package/lib/config-provider/config-provider.js +1 -1
- package/lib/date-picker/index.d.ts +6 -2
- package/lib/date-picker/index.d.ts.map +1 -1
- package/lib/date-picker/index.js +37 -6
- package/lib/date-picker/index.js.map +1 -1
- package/lib/date-picker/style/Calendar.less +1 -1
- package/lib/descriptions/descriptions.js +5 -5
- package/lib/descriptions/descriptions.less +0 -1
- package/lib/descriptions/index.d.ts +1 -1
- package/lib/descriptions/index.d.ts.map +1 -1
- package/lib/descriptions/index.js +7 -7
- package/lib/descriptions/index.js.map +1 -1
- package/lib/development-login/LoginModal.js +6 -6
- package/lib/development-login/index.js +4 -4
- package/lib/drawer/drawer.d.ts +3 -3
- package/lib/drawer/drawer.d.ts.map +1 -1
- package/lib/drawer/drawer.js +7 -7
- package/lib/drawer/drawer.js.map +1 -1
- package/lib/drawer/index.less +1 -15
- package/lib/drawer/style/drawer.less +3 -18
- package/lib/drawer/style/index.d.ts +0 -1
- package/lib/drawer/style/index.d.ts.map +1 -1
- package/lib/drawer/style/index.js +1 -2
- package/lib/drawer/style/index.js.map +1 -1
- package/lib/ellipsis/Svg/CopySVG.js +1 -1
- package/lib/ellipsis/Svg/TickSVG.js +1 -1
- package/lib/ellipsis/index.js +5 -5
- package/lib/empty/empty.js +2 -2
- package/lib/empty/empty.stories.js +2 -2
- package/lib/exception/exception.js +1 -1
- package/lib/form/form.js +2 -2
- package/lib/form/style/index.less +0 -6
- package/lib/grid-v4/col.js +2 -2
- package/lib/grid-v4/hooks/useBreakpoint.js +1 -1
- package/lib/grid-v4/index.js +1 -1
- package/lib/grid-v4/row.js +6 -6
- package/lib/handle/index.d.ts.map +1 -1
- package/lib/handle/index.js +11 -16
- package/lib/handle/index.js.map +1 -1
- package/lib/handle/index.less +0 -16
- package/lib/handle-icon/index.js +11 -11
- package/lib/icon/IconFont.js +1 -1
- package/lib/icon/components/Icon.js +9 -9
- package/lib/icon/components/index.js +1 -1
- package/lib/icon/components/utils.js +3 -3
- package/lib/icon/index.js +7 -7
- package/lib/icon/twoTonePrimaryColor.js +1 -1
- package/lib/icon/utils.js +1 -1
- package/lib/img/Contain.js +1 -1
- package/lib/img/Cover.js +5 -5
- package/lib/img/index.js +5 -5
- package/lib/index.js +1 -1
- package/lib/input/index.d.ts +1 -1
- package/lib/input/index.d.ts.map +1 -1
- package/lib/input/index.js +7 -7
- package/lib/input/index.js.map +1 -1
- package/lib/input/input.d.ts +5 -5
- package/lib/input/input.d.ts.map +1 -1
- package/lib/input/input.js +22 -13
- package/lib/input/input.js.map +1 -1
- package/lib/input/input.less +20 -123
- package/lib/input-number/index.d.ts +10 -4
- package/lib/input-number/index.d.ts.map +1 -1
- package/lib/input-number/index.js +32 -5
- package/lib/input-number/index.js.map +1 -1
- package/lib/label/index.js +2 -2
- package/lib/loading-button/index.js +5 -5
- package/lib/locale/default.d.ts +3 -7
- package/lib/locale/default.d.ts.map +1 -1
- package/lib/locale/default.js +1 -1
- package/lib/locale/en_US.d.ts +3 -7
- package/lib/locale/en_US.d.ts.map +1 -1
- package/lib/locale/en_US.js +6 -10
- package/lib/locale/en_US.js.map +1 -1
- package/lib/locale/zh_CN.d.ts +3 -7
- package/lib/locale/zh_CN.d.ts.map +1 -1
- package/lib/locale/zh_CN.js +4 -8
- package/lib/locale/zh_CN.js.map +1 -1
- package/lib/message/message.less +1 -2
- package/lib/modal/index.d.ts +1 -0
- package/lib/modal/index.d.ts.map +1 -1
- package/lib/modal/index.js +3 -2
- package/lib/modal/index.js.map +1 -1
- package/lib/modal/modal.d.ts.map +1 -1
- package/lib/modal/modal.js +16 -91
- package/lib/modal/modal.js.map +1 -1
- package/lib/modal/style/index.d.ts +0 -1
- package/lib/modal/style/index.d.ts.map +1 -1
- package/lib/modal/style/index.js +1 -2
- package/lib/modal/style/index.js.map +1 -1
- package/lib/modal/style/modal.less +3 -15
- package/lib/notification/assets/index.js +1 -1
- package/lib/notification/assets/svg-error-tip.d.ts +1 -1
- package/lib/notification/assets/svg-success-tip.d.ts +1 -1
- package/lib/notification/index.js +1 -1
- package/lib/notification/notification.js +1 -1
- package/lib/notification/notification.less +2 -27
- package/lib/notification/style/index.less +0 -1
- package/lib/page/Box.js +1 -1
- package/lib/page/index.js +7 -7
- package/lib/page-container/index.js +2 -2
- package/lib/page-container/index.js.map +1 -1
- package/lib/page-container/index.less +2 -3
- package/lib/page-loading/index.js +2 -2
- package/lib/page-loading/index.js.map +1 -1
- package/lib/popconfirm/index.d.ts +2 -2
- package/lib/popconfirm/index.d.ts.map +1 -1
- package/lib/popconfirm/index.js +1 -1
- package/lib/popconfirm/index.js.map +1 -1
- package/lib/popconfirm/style/index.d.ts +0 -1
- package/lib/popconfirm/style/index.d.ts.map +1 -1
- package/lib/popconfirm/style/index.js +1 -2
- package/lib/popconfirm/style/index.js.map +1 -1
- package/lib/popover/index.d.ts +2 -2
- package/lib/popover/index.d.ts.map +1 -1
- package/lib/popover/index.js +2 -2
- package/lib/popover/index.js.map +1 -1
- package/lib/popover/style/index.d.ts +0 -1
- package/lib/popover/style/index.d.ts.map +1 -1
- package/lib/popover/style/index.js +1 -2
- package/lib/popover/style/index.js.map +1 -1
- package/lib/preview-text/index.d.ts +1 -1
- package/lib/preview-text/index.d.ts.map +1 -1
- package/lib/preview-text/index.js +7 -7
- package/lib/preview-text/index.js.map +1 -1
- package/lib/progress/index.d.ts +2 -2
- package/lib/progress/index.d.ts.map +1 -1
- package/lib/progress/index.js +1 -1
- package/lib/progress/index.js.map +1 -1
- package/lib/query-form/Field/Checkbox.js +1 -1
- package/lib/query-form/Field/Select.js +6 -6
- package/lib/query-form/Field/SelectInput.js +6 -6
- package/lib/query-form/Field/fieldsMap.js +1 -1
- package/lib/query-form/Field/index.js +10 -10
- package/lib/query-form/createActions.js +1 -1
- package/lib/query-form/index.js +10 -10
- package/lib/query-form/useForm.js +1 -1
- package/lib/query-list-scene/List.d.ts.map +1 -1
- package/lib/query-list-scene/List.js +14 -16
- package/lib/query-list-scene/List.js.map +1 -1
- package/lib/query-list-scene/QueryForm.js +12 -11
- package/lib/query-list-scene/QueryForm.js.map +1 -1
- package/lib/query-list-scene/QueryListScene.js +10 -10
- package/lib/query-list-scene/Title.js +1 -1
- package/lib/query-list-scene/Toolbar.js +2 -2
- package/lib/query-list-scene/createActions.js +1 -1
- package/lib/query-list-scene/index.js +1 -1
- package/lib/query-list-scene/index.less +7 -7
- package/lib/query-list-scene/useActions.js +1 -1
- package/lib/radio/index.d.ts +2 -3
- package/lib/radio/index.d.ts.map +1 -1
- package/lib/radio/index.js +5 -2
- package/lib/radio/index.js.map +1 -1
- package/lib/radio/radio-group.js +1 -1
- package/lib/render-empty/render-empty.js +1 -1
- package/lib/segmented/index.d.ts +1 -1
- package/lib/segmented/index.js +2 -2
- package/lib/segmented/index.less +112 -126
- package/lib/select/index.d.ts +1 -1
- package/lib/select/index.d.ts.map +1 -1
- package/lib/select/index.js +6 -6
- package/lib/select/index.js.map +1 -1
- package/lib/select/select.d.ts +1 -1
- package/lib/select/select.d.ts.map +1 -1
- package/lib/select/select.js +6 -5
- package/lib/select/select.js.map +1 -1
- package/lib/select/select.less +9 -83
- package/lib/select/style/index.less +4 -4
- package/lib/spin/index.d.ts +2 -3
- package/lib/spin/index.d.ts.map +1 -1
- package/lib/spin/index.js +6 -4
- package/lib/spin/index.js.map +1 -1
- package/lib/steps/index.d.ts +2 -1
- package/lib/steps/index.d.ts.map +1 -1
- package/lib/steps/index.js +2 -9
- package/lib/steps/index.js.map +1 -1
- package/lib/steps/stepStyle/index.less +8 -173
- package/lib/steps/stepStyle/nav.less +259 -51
- package/lib/steps/steps.d.ts +2 -10
- package/lib/steps/steps.d.ts.map +1 -1
- package/lib/steps/steps.js +24 -52
- package/lib/steps/steps.js.map +1 -1
- package/lib/steps/style/index.d.ts.map +1 -1
- package/lib/steps/style/index.js.map +1 -1
- package/lib/style/themes/default.less +5 -6
- package/lib/svg-components/illustration-403.d.ts +1 -1
- package/lib/svg-components/illustration-404.d.ts +1 -1
- package/lib/svg-components/illustration-500.d.ts +1 -1
- package/lib/svg-components/illustration-empty.d.ts +1 -1
- package/lib/svg-components/illustration-failure.d.ts +1 -1
- package/lib/svg-components/illustration-no-access.d.ts +1 -1
- package/lib/svg-components/illustration-no-chart.d.ts +1 -1
- package/lib/svg-components/illustration-no-result.d.ts +1 -1
- package/lib/svg-components/illustration-offline.d.ts +1 -1
- package/lib/svg-components/illustration-success.d.ts +1 -1
- package/lib/svg-components/index.js +1 -1
- package/lib/switch/style/index.d.ts +0 -1
- package/lib/switch/style/index.d.ts.map +1 -1
- package/lib/switch/style/index.js +1 -2
- package/lib/switch/style/index.js.map +1 -1
- package/lib/switch/switch.d.ts +0 -8
- package/lib/switch/switch.d.ts.map +1 -1
- package/lib/switch/switch.js +5 -40
- package/lib/switch/switch.js.map +1 -1
- package/lib/table/assets/image-loading-background.d.ts +1 -1
- package/lib/table/assets/image-loading.d.ts +1 -1
- package/lib/table/hooks/use-column-setting.js +4 -4
- package/lib/table/hooks/use-expand-fixed.js +6 -6
- package/lib/table/hooks/use-expand-fixed.js.map +1 -1
- package/lib/table/resizableTable/index.js +6 -6
- package/lib/table/resizableTable/index.less +18 -0
- package/lib/table/style/index.less +21 -19
- package/lib/table/style/size.less +12 -11
- package/lib/table/table-hoc.js +1 -1
- package/lib/table/table.d.ts +1 -2
- package/lib/table/table.d.ts.map +1 -1
- package/lib/table/table.js +41 -61
- package/lib/table/table.js.map +1 -1
- package/lib/table/table.less +6 -31
- package/lib/table/table.stories.js +5 -5
- package/lib/table/table.stories.js.map +1 -1
- package/lib/table/total-shower.js +1 -1
- package/lib/table/utils.js +1 -1
- package/lib/table-container/index.d.ts.map +1 -1
- package/lib/table-container/index.js +3 -7
- package/lib/table-container/index.js.map +1 -1
- package/lib/table-container/index.less +1 -4
- package/lib/tabs/index.d.ts +0 -1
- package/lib/tabs/index.d.ts.map +1 -1
- package/lib/tabs/index.js +5 -6
- package/lib/tabs/index.js.map +1 -1
- package/lib/tabs/style/index.js.map +1 -1
- package/lib/tabs/style/index.less +0 -1
- package/lib/tabs/tabs.d.ts +2 -3
- package/lib/tabs/tabs.d.ts.map +1 -1
- package/lib/tabs/tabs.js +3 -30
- package/lib/tabs/tabs.js.map +1 -1
- package/lib/tabs-container/index.js +2 -2
- package/lib/tabs-container/index.js.map +1 -1
- package/lib/tag/tag.js +2 -2
- package/lib/tag/tag.less +3 -4
- package/lib/time-picker/index.d.ts +6 -7
- package/lib/time-picker/index.d.ts.map +1 -1
- package/lib/time-picker/index.js +17 -4
- package/lib/time-picker/index.js.map +1 -1
- package/lib/title/index.js +1 -1
- package/lib/title/index.less +45 -47
- package/lib/tntd-action/index.d.ts +2 -4
- package/lib/tntd-action/index.d.ts.map +1 -1
- package/lib/tntd-action/index.js +5 -79
- package/lib/tntd-action/index.js.map +1 -1
- package/lib/tntd-cascader/AntdCascader/component/context.js +1 -1
- package/lib/tntd-cascader/AntdCascader/component/defaultRenderEmpty.js +1 -1
- package/lib/tntd-cascader/AntdCascader/component/getIcons.js +1 -1
- package/lib/tntd-cascader/AntdCascader/component/useCompactItemContext.js +2 -2
- package/lib/tntd-cascader/AntdCascader/config/utils.d.ts +1 -1
- package/lib/tntd-cascader/AntdCascader/config/utils.js +2 -2
- package/lib/tntd-cascader/AntdCascader/index.js +7 -7
- package/lib/tntd-cascader/AntdCascader/index.less +29 -35
- package/lib/tntd-cascader/index.js +1 -1
- package/lib/tntd-cascader/rc-cascader/Cascader.js +8 -8
- package/lib/tntd-cascader/rc-cascader/OptionList/Checkbox.js +2 -2
- package/lib/tntd-cascader/rc-cascader/OptionList/Column.js +8 -8
- package/lib/tntd-cascader/rc-cascader/OptionList/Column.js.map +1 -1
- package/lib/tntd-cascader/rc-cascader/OptionList/index.js +9 -9
- package/lib/tntd-cascader/rc-cascader/OptionList/useActive.js +5 -5
- package/lib/tntd-cascader/rc-cascader/OptionList/useKeyboard.js +8 -8
- package/lib/tntd-cascader/rc-cascader/hooks/useDisplayValues.js +5 -5
- package/lib/tntd-cascader/rc-cascader/hooks/useSearchConfig.js +1 -1
- package/lib/tntd-cascader/rc-cascader/hooks/useSearchOptions.js +6 -6
- package/lib/tntd-cascader/rc-cascader/index.js +1 -1
- package/lib/tntd-cascader/rc-cascader/utils/warningPropsUtil.js +4 -4
- package/lib/tntd-form/ErrorList.js +7 -7
- package/lib/tntd-form/Form.js +6 -6
- package/lib/tntd-form/FormItem/ItemHolder.js +6 -6
- package/lib/tntd-form/FormItem/index.js +8 -8
- package/lib/tntd-form/FormItemInput.js +1 -1
- package/lib/tntd-form/FormItemLabel.js +2 -2
- package/lib/tntd-form/FormList.js +1 -1
- package/lib/tntd-form/context.js +1 -1
- package/lib/tntd-form/hooks/useDebounce.js +4 -4
- package/lib/tntd-form/hooks/useForm.js +5 -5
- package/lib/tntd-form/hooks/useFormItemStatus.js +1 -1
- package/lib/tntd-form/hooks/useFrameState.js +5 -5
- package/lib/tntd-form/index.js +1 -1
- package/lib/tntd-icon/index.js +1 -1
- package/lib/tntd-layout/AppList.js +6 -6
- package/lib/tntd-layout/Application.js +6 -6
- package/lib/tntd-layout/Avatar.js +2 -2
- package/lib/tntd-layout/CompatibleLanguage.js +6 -6
- package/lib/tntd-layout/EnterpriseLayout/Avatar.js +2 -2
- package/lib/tntd-layout/EnterpriseLayout/Language.js +6 -6
- package/lib/tntd-layout/EnterpriseLayout/Theme.js +6 -6
- package/lib/tntd-layout/EnterpriseLayout/index.js +1 -1
- package/lib/tntd-layout/GlobalNavigation/NavigationPopup.js +6 -6
- package/lib/tntd-layout/GlobalNavigation/index.js +9 -9
- package/lib/tntd-layout/Header.js +2 -2
- package/lib/tntd-layout/HeaderActions.js +2 -2
- package/lib/tntd-layout/HeaderNavs.js +6 -6
- package/lib/tntd-layout/HeaderTabs.js +7 -7
- package/lib/tntd-layout/Iconfont.js +1 -1
- package/lib/tntd-layout/Language.js +6 -6
- package/lib/tntd-layout/Layout.js +6 -6
- package/lib/tntd-layout/Logo.js +2 -2
- package/lib/tntd-layout/OrgAppList.js +6 -6
- package/lib/tntd-layout/SideMenu.js +6 -6
- package/lib/tntd-layout/Theme.js +6 -6
- package/lib/tntd-layout/createActions.js +1 -1
- package/lib/tntd-layout/images/index.js +1 -1
- package/lib/tntd-layout/index.js +1 -1
- package/lib/tntd-layout/paaslayout/CompactSideMenu.js +6 -6
- package/lib/tntd-layout/paaslayout/Header.js +2 -2
- package/lib/tntd-layout/paaslayout/Logo.js +2 -2
- package/lib/tntd-layout/paaslayout/SideMenu.js +6 -6
- package/lib/tntd-layout/paaslayout/index.js +6 -6
- package/lib/tntd-layout/storage.js +1 -1
- package/lib/tntd-modal/index.js +6 -6
- package/lib/tntd-rc-select/_util/PurePanel.js +5 -5
- package/lib/tntd-rc-select/_util/context.js +1 -1
- package/lib/tntd-rc-select/_util/defaultRenderEmpty.js +1 -1
- package/lib/tntd-rc-select/_util/getIcons.js +1 -1
- package/lib/tntd-rc-select/_util/useCompactItemContext.js +2 -2
- package/lib/tntd-rc-select/index.js +2 -2
- package/lib/tntd-reference/AHref/index.js +1 -1
- package/lib/tntd-reference/ReferenceBatchCheck/index.js +1 -1
- package/lib/tntd-reference/ReferenceBatchDrawer/index.js +5 -5
- package/lib/tntd-reference/ReferenceCheck/index.js +1 -1
- package/lib/tntd-reference/ReferenceDrawer/index.js +5 -5
- package/lib/tntd-reference/ReferenceInfo/index.js +1 -1
- package/lib/tntd-reference/index.js +1 -1
- package/lib/tntd-second-page/index.js +1 -1
- package/lib/tntd-select/DropDownWrap.js +8 -8
- package/lib/tntd-select/index.d.ts.map +1 -1
- package/lib/tntd-select/index.js +13 -13
- package/lib/tntd-select/index.js.map +1 -1
- package/lib/tntd-virtual-tree/index.js +8 -8
- package/lib/tntd-virtual-tree/index.less +1 -2
- package/lib/tntd-virtual-tree/utils.js +28 -28
- package/lib/tntd-virtual-tree-select/index.js +10 -10
- package/lib/tntd-virtual-tree-select/index.less +14 -1
- package/lib/tntd-virtual-tree-select/utils.js +9 -9
- package/lib/tooltip/index.less +5 -4
- package/lib/tooltip/style/index.d.ts +0 -1
- package/lib/tooltip/style/index.d.ts.map +1 -1
- package/lib/tooltip/style/index.js +1 -2
- package/lib/tooltip/style/index.js.map +1 -1
- package/lib/tooltip/tooltip.js +1 -1
- package/lib/upload/index.d.ts +1 -0
- package/lib/upload/index.d.ts.map +1 -1
- package/lib/upload/index.js +208 -4
- package/lib/upload/index.js.map +1 -1
- package/lib/upload/style/index.less +1 -1
- package/lib/upload/svg/UploadSVG.js +1 -1
- package/lib/utils/checkAuth.js +4 -4
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.d.ts.map +1 -1
- package/lib/utils/index.js +9 -9
- package/lib/utils/lang.d.ts.map +1 -1
- package/lib/utils/lang.js +4 -10
- package/lib/utils/lang.js.map +1 -1
- package/lib/water-mark/index.js +5 -5
- package/package.json +1 -1
- package/es/alert/alert.js +0 -71
- package/es/alert/alert.js.map +0 -1
- package/es/alert/alert.less +0 -128
- package/es/cascader/cascader.js +0 -30
- package/es/cascader/cascader.js.map +0 -1
- package/es/cascader/cascader.less +0 -16
- package/es/checkbox/check.png +0 -0
- package/es/checkbox/checkbox.js +0 -48
- package/es/checkbox/checkbox.js.map +0 -1
- package/es/checkbox/checkbox.less +0 -69
- package/es/date-picker/DatePicker.js +0 -101
- package/es/date-picker/DatePicker.js.map +0 -1
- package/es/date-picker/index.less +0 -294
- package/es/input-number/inputNumber.js +0 -34
- package/es/input-number/inputNumber.js.map +0 -1
- package/es/input-number/inputNumber.less +0 -12
- package/es/modal/index.less +0 -36
- package/es/popconfirm/index.less +0 -32
- package/es/popconfirm/popconfirm.js +0 -43
- package/es/popconfirm/popconfirm.js.map +0 -1
- package/es/popover/index.less +0 -57
- package/es/popover/popover.js +0 -34
- package/es/popover/popover.js.map +0 -1
- package/es/progress/progress.js +0 -132
- package/es/progress/progress.js.map +0 -1
- package/es/progress/progress.less +0 -82
- package/es/query-form-backup/Field/Composition/FieldPopover.less +0 -35
- package/es/query-form-backup/Field/Composition/index.less +0 -114
- package/es/query-form-backup/index.less +0 -90
- package/es/radio/radio.js +0 -57
- package/es/radio/radio.js.map +0 -1
- package/es/radio/radio.less +0 -43
- package/es/spin/spin.js +0 -36
- package/es/spin/spin.js.map +0 -1
- package/es/spin/spin.less +0 -9
- package/es/steps/assets/background_left.svg +0 -12
- package/es/steps/assets/background_right.svg +0 -12
- package/es/steps/assets/horizontal_line.svg +0 -3
- package/es/steps/assets/vertical_line.svg +0 -3
- package/es/steps/stepStyle/icon.less +0 -51
- package/es/steps/stepStyle/progress-dot.less +0 -10
- package/es/steps/stepStyle/variables.less +0 -8
- package/es/steps/stepStyle/vertical.less +0 -41
- package/es/switch/index.less +0 -45
- package/es/tabs/tabs.less +0 -125
- package/es/time-picker/TimePicker.js +0 -36
- package/es/time-picker/TimePicker.js.map +0 -1
- package/es/time-picker/index.less +0 -38
- package/es/tntd-action/Action.js +0 -117
- package/es/tntd-action/Action.js.map +0 -1
- package/es/tntd-action/index.less +0 -59
- package/es/tntd-select/index.less +0 -7
- package/lib/alert/alert.d.ts +0 -12
- package/lib/alert/alert.d.ts.map +0 -1
- package/lib/alert/alert.js +0 -93
- package/lib/alert/alert.js.map +0 -1
- package/lib/alert/alert.less +0 -128
- package/lib/cascader/cascader.d.ts +0 -10
- package/lib/cascader/cascader.d.ts.map +0 -1
- package/lib/cascader/cascader.js +0 -49
- package/lib/cascader/cascader.js.map +0 -1
- package/lib/cascader/cascader.less +0 -16
- package/lib/checkbox/check.png +0 -0
- package/lib/checkbox/checkbox.d.ts +0 -16
- package/lib/checkbox/checkbox.d.ts.map +0 -1
- package/lib/checkbox/checkbox.js +0 -65
- package/lib/checkbox/checkbox.js.map +0 -1
- package/lib/checkbox/checkbox.less +0 -69
- package/lib/date-picker/DatePicker.d.ts +0 -21
- package/lib/date-picker/DatePicker.d.ts.map +0 -1
- package/lib/date-picker/DatePicker.js +0 -128
- package/lib/date-picker/DatePicker.js.map +0 -1
- package/lib/date-picker/index.less +0 -294
- package/lib/input-number/inputNumber.d.ts +0 -10
- package/lib/input-number/inputNumber.d.ts.map +0 -1
- package/lib/input-number/inputNumber.js +0 -54
- package/lib/input-number/inputNumber.js.map +0 -1
- package/lib/input-number/inputNumber.less +0 -12
- package/lib/modal/index.less +0 -36
- package/lib/popconfirm/index.less +0 -32
- package/lib/popconfirm/popconfirm.d.ts +0 -8
- package/lib/popconfirm/popconfirm.d.ts.map +0 -1
- package/lib/popconfirm/popconfirm.js +0 -61
- package/lib/popconfirm/popconfirm.js.map +0 -1
- package/lib/popover/index.less +0 -57
- package/lib/popover/popover.d.ts +0 -14
- package/lib/popover/popover.d.ts.map +0 -1
- package/lib/popover/popover.js +0 -55
- package/lib/popover/popover.js.map +0 -1
- package/lib/progress/progress.d.ts +0 -12
- package/lib/progress/progress.d.ts.map +0 -1
- package/lib/progress/progress.js +0 -148
- package/lib/progress/progress.js.map +0 -1
- package/lib/progress/progress.less +0 -82
- package/lib/query-form-backup/Field/Composition/FieldPopover.less +0 -35
- package/lib/query-form-backup/Field/Composition/index.less +0 -114
- package/lib/query-form-backup/index.less +0 -90
- package/lib/radio/radio.d.ts +0 -17
- package/lib/radio/radio.d.ts.map +0 -1
- package/lib/radio/radio.js +0 -75
- package/lib/radio/radio.js.map +0 -1
- package/lib/radio/radio.less +0 -43
- package/lib/spin/spin.d.ts +0 -9
- package/lib/spin/spin.d.ts.map +0 -1
- package/lib/spin/spin.js +0 -44
- package/lib/spin/spin.js.map +0 -1
- package/lib/spin/spin.less +0 -9
- package/lib/steps/assets/background_left.svg +0 -12
- package/lib/steps/assets/background_right.svg +0 -12
- package/lib/steps/assets/horizontal_line.svg +0 -3
- package/lib/steps/assets/vertical_line.svg +0 -3
- package/lib/steps/stepStyle/icon.less +0 -51
- package/lib/steps/stepStyle/progress-dot.less +0 -10
- package/lib/steps/stepStyle/variables.less +0 -8
- package/lib/steps/stepStyle/vertical.less +0 -41
- package/lib/switch/index.less +0 -45
- package/lib/tabs/tabs.less +0 -125
- package/lib/time-picker/TimePicker.d.ts +0 -9
- package/lib/time-picker/TimePicker.d.ts.map +0 -1
- package/lib/time-picker/TimePicker.js +0 -55
- package/lib/time-picker/TimePicker.js.map +0 -1
- package/lib/time-picker/index.less +0 -38
- package/lib/tntd-action/Action.d.ts +0 -6
- package/lib/tntd-action/Action.d.ts.map +0 -1
- package/lib/tntd-action/Action.js +0 -141
- package/lib/tntd-action/Action.js.map +0 -1
- package/lib/tntd-action/index.less +0 -59
- package/lib/tntd-select/index.less +0 -7
package/es/select/select.less
CHANGED
|
@@ -1,85 +1,11 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
&-disabled {
|
|
12
|
-
.@{select-prefix-cls}-arrow {
|
|
13
|
-
color: @text-color-tertiary;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
// 线框风格
|
|
17
|
-
&-outline {
|
|
18
|
-
.@{select-prefix-cls}-selection {
|
|
19
|
-
border-top: none;
|
|
20
|
-
border-left: none;
|
|
21
|
-
border-right: none;
|
|
22
|
-
border-radius: 0;
|
|
23
|
-
box-shadow: none;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.@{select-prefix-cls}-focused &,
|
|
27
|
-
&.@{select-prefix-cls}-selection:focus,
|
|
28
|
-
&.@{select-prefix-cls}-selection:active {
|
|
29
|
-
.active;
|
|
30
|
-
box-shadow: none;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
// 填充风格
|
|
34
|
-
&-fill {
|
|
35
|
-
.@{select-prefix-cls}-selection {
|
|
36
|
-
border-color: @fill-color-quaternary;
|
|
37
|
-
background-color: @fill-color-quaternary;
|
|
38
|
-
|
|
39
|
-
&:hover {
|
|
40
|
-
.hover;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&.@{select-prefix-cls}-focused &,
|
|
44
|
-
&.@{select-prefix-cls}-selection:focus,
|
|
45
|
-
&.@{select-prefix-cls}-selection:active {
|
|
46
|
-
.active;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&.@{select-prefix-cls}-disabled {
|
|
51
|
-
.@{select-prefix-cls}-selection {
|
|
52
|
-
background-color: @input-disabled-bg !important;
|
|
53
|
-
border-color: @input-disabled-bg !important;
|
|
54
|
-
box-shadow: none !important;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
// 未选择值的时候的样式
|
|
60
|
-
.@{select-prefix-cls}-selection {
|
|
61
|
-
&__clear {
|
|
62
|
-
color: @bg-color-spotilight-tint-50;
|
|
63
|
-
}
|
|
64
|
-
&:not(:has(.ant-select-selection-selected-value, .ant-select-selection__choice)) {
|
|
65
|
-
.@{select-prefix-cls}-arrow {
|
|
66
|
-
color: @input-placeholder-color;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
&:hover {
|
|
70
|
-
.@{select-prefix-cls}-arrow {
|
|
71
|
-
color: @input-color;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.@{select-prefix-cls}-selection__choice {
|
|
78
|
-
border-radius: @border-radius-base;
|
|
79
|
-
border-color: @bg-grey-default;
|
|
80
|
-
.tntd-anticon {
|
|
81
|
-
font-size: 12px;
|
|
82
|
-
vertical-align: middle;
|
|
83
|
-
}
|
|
1
|
+
@empty-prefix-cls: ~'@{ant-prefix}-select';
|
|
2
|
+
|
|
3
|
+
.@{empty-prefix-cls}-outline {
|
|
4
|
+
.@{empty-prefix-cls}-selection {
|
|
5
|
+
border-top: none;
|
|
6
|
+
border-left: none;
|
|
7
|
+
border-right: none;
|
|
8
|
+
border-radius: 0;
|
|
9
|
+
box-shadow: none;
|
|
84
10
|
}
|
|
85
11
|
}
|
|
@@ -136,12 +136,12 @@
|
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
&-disabled &-selection--multiple &-selection__choice {
|
|
139
|
-
|
|
139
|
+
padding-right: 10px;
|
|
140
140
|
color: fade(@black, 33%);
|
|
141
141
|
background: @background-color-base;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
142
|
+
&__remove {
|
|
143
|
+
display: none;
|
|
144
|
+
}
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
&-selection--single {
|
package/es/spin/index.js
CHANGED
package/es/spin/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/spin/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/spin/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,cAAc,CAAA;AAC/B,OAAO,SAAS,CAAA;AAChB,cAAc,cAAc,CAAA;AAC5B,eAAe,IAAI,CAAA","sourcesContent":["import Spin from 'antd/es/spin'\nimport './style'\nexport * from 'antd/es/spin'\nexport default Spin\n"]}
|
package/es/steps/index.js
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Author: 周泽飞 zefei.zhou@tongdun.net
|
|
3
|
-
* @Date: 2024-03-15 11:12:18
|
|
4
|
-
* @LastEditors: 周泽飞 zefei.zhou@tongdun.net
|
|
5
|
-
* @LastEditTime: 2024-03-21 13:58:42
|
|
6
|
-
* @FilePath: /tntd/packages/tntd/src/steps/index.ts
|
|
7
|
-
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
|
8
|
-
*/
|
|
9
1
|
import './style';
|
|
10
|
-
import './stepStyle/index.less';
|
|
11
2
|
import { Steps } from './steps';
|
|
3
|
+
import './style/index.less';
|
|
4
|
+
import './stepStyle/index.less';
|
|
12
5
|
export * from './steps';
|
|
13
6
|
export default Steps;
|
package/es/steps/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/steps/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/steps/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAA;AAChB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,oBAAoB,CAAA;AAC3B,OAAO,wBAAwB,CAAA;AAE/B,cAAc,SAAS,CAAA;AAEvB,eAAe,KAAK,CAAA","sourcesContent":["import './style'\nimport { Steps } from './steps'\nimport './style/index.less'\nimport './stepStyle/index.less'\n\nexport * from './steps'\n\nexport default Steps\n"]}
|
|
@@ -1,177 +1,12 @@
|
|
|
1
|
-
@import './
|
|
1
|
+
@import './small.less';
|
|
2
|
+
@import './nav.less';
|
|
3
|
+
|
|
2
4
|
@steps-prefix-cls: ~'@{ant-prefix}-steps';
|
|
3
5
|
@step-prefix-cls: ~'@{ant-prefix}-step';
|
|
4
|
-
@tnt-steps-cls: ~'tnt-steps';
|
|
5
|
-
@tnt-step-cls: ~'tnt-step';
|
|
6
|
-
|
|
7
|
-
.ellipsis{
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
white-space: nowrap;
|
|
10
|
-
text-overflow: ellipsis;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.@{tnt-steps-cls} .@{steps-prefix-cls}{
|
|
14
|
-
&-description,
|
|
15
|
-
&-item-description {
|
|
16
|
-
font-size: @font-size-sm;
|
|
17
|
-
line-height: @td-steps-desc-height;
|
|
18
|
-
word-break: break-all;
|
|
19
|
-
color: tint(@text-color, 50%) !important;
|
|
20
|
-
}
|
|
21
|
-
&-item-title {
|
|
22
|
-
line-height: @td-steps-title-height;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// 水平 非点状步骤条 非导航模式
|
|
27
|
-
.@{tnt-steps-cls}.@{steps-prefix-cls}-horizontal:not(.@{steps-prefix-cls}-dot).@{steps-prefix-cls}{
|
|
28
|
-
.@{steps-prefix-cls}-item{
|
|
29
|
-
padding-top: 18px;
|
|
30
|
-
padding-bottom: 18px;
|
|
31
|
-
&-container{
|
|
32
|
-
position: relative;
|
|
33
|
-
display: flex;
|
|
34
|
-
align-items: flex-start;
|
|
35
|
-
justify-content: center;
|
|
36
|
-
min-height: @nav-min-height;
|
|
37
|
-
&::after{
|
|
38
|
-
content: '';
|
|
39
|
-
flex:1;
|
|
40
|
-
height:2px;
|
|
41
|
-
border-radius: 2px;
|
|
42
|
-
min-width: 8px;
|
|
43
|
-
margin-left:32px;
|
|
44
|
-
margin-top: calc(@nav-min-height / 2 - 1px);
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&-finish > .@{steps-prefix-cls}-item-container {
|
|
49
|
-
&::after {
|
|
50
|
-
border-top: 2px solid @finish-border-color;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&-wait, &-error, &-process {
|
|
55
|
-
> .@{steps-prefix-cls}-item-container {
|
|
56
|
-
&::after {
|
|
57
|
-
border: 2px solid transparent;
|
|
58
|
-
background-color: @border-color;
|
|
59
|
-
mask: url(../assets/horizontal_line.svg) repeat-x 0 0;
|
|
60
|
-
-webkit-mask:url(../assets/horizontal_line.svg) repeat-x 0 0;
|
|
61
|
-
background-size: 8px 2px;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&-content{
|
|
67
|
-
display: flex;
|
|
68
|
-
justify-content: center;
|
|
69
|
-
flex-direction: column;
|
|
70
|
-
font-family: "PingFang SC";
|
|
71
|
-
min-height: @nav-min-height;
|
|
72
|
-
// 左侧圆形图标 12的margin边距 线条至少保留8px长
|
|
73
|
-
max-width: calc(100% - @td-steps-icon-size - 12px - 32px - 8px);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&-title {
|
|
77
|
-
width: 100%;
|
|
78
|
-
padding-right:0;
|
|
79
|
-
&::after{
|
|
80
|
-
display: none;
|
|
81
|
-
}
|
|
82
|
-
>.tntd-ellipsis, >.tnt-ellipsis{
|
|
83
|
-
align-items: center;
|
|
84
|
-
}
|
|
85
|
-
.ellipsis
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.@{step-prefix-cls}-ellipsis-subtitle{
|
|
89
|
-
font-size: @font-size-sm;
|
|
90
|
-
color: tint(@text-color, 50%);
|
|
91
|
-
margin-left: 2px;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&-subtitle {
|
|
95
|
-
font-size: @font-size-sm;
|
|
96
|
-
max-width: 30%;
|
|
97
|
-
color: tint(@text-color, 50%);
|
|
98
|
-
.ellipsis;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// 最后一个处理
|
|
102
|
-
&:last-child > .@{steps-prefix-cls}-item-container {
|
|
103
|
-
&::after{
|
|
104
|
-
display: none;
|
|
105
|
-
}
|
|
106
|
-
.@{steps-prefix-cls}-item-content {
|
|
107
|
-
max-width: inherit;
|
|
108
|
-
flex:none;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&-small{
|
|
114
|
-
.@{steps-prefix-cls}-item {
|
|
115
|
-
padding-top: 10px;
|
|
116
|
-
padding-bottom: 10px;
|
|
117
|
-
&-container{
|
|
118
|
-
min-height: @nav-small-min-height;
|
|
119
|
-
&::after{
|
|
120
|
-
margin-top: calc(@nav-small-min-height / 2 - 1px);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
&-content{
|
|
124
|
-
min-height: @nav-small-min-height;
|
|
125
|
-
max-width: calc(100% - @td-steps-small-icon-size - 12px - 32px - 8px);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&:not(.@{steps-prefix-cls}-label-vertical) {
|
|
131
|
-
.@{steps-prefix-cls}-item:not(:last-child) {
|
|
132
|
-
margin-right: 32px;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
// 水平 非点状步骤条
|
|
138
|
-
.@{tnt-steps-cls}.@{steps-prefix-cls}-horizontal:not(.@{steps-prefix-cls}-dot).@{steps-prefix-cls}{
|
|
139
|
-
&.@{steps-prefix-cls}-background{
|
|
140
|
-
border-radius: @border-radius-base @border-radius-base 0px 0px;
|
|
141
|
-
background: linear-gradient(90deg, #F5F7FD 9.61%, #FBFDFF 81.1%);
|
|
142
|
-
position: relative;
|
|
143
|
-
padding-left:100px;
|
|
144
|
-
padding-right: 100px;
|
|
145
|
-
overflow: hidden;
|
|
146
6
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
-webkit-mask:url(../assets/background_left.svg) no-repeat 0 0;
|
|
152
|
-
width: 157px;
|
|
153
|
-
height: 103px;
|
|
154
|
-
position: absolute;
|
|
155
|
-
left: 0;
|
|
156
|
-
top: 0;
|
|
157
|
-
pointer-events: none;
|
|
158
|
-
}
|
|
159
|
-
&::after{
|
|
160
|
-
content: '';
|
|
161
|
-
background-color: @primary-color;
|
|
162
|
-
mask: url(../assets/background_right.svg) no-repeat 0 0;
|
|
163
|
-
-webkit-mask:url(../assets/background_right.svg) no-repeat 0 0;
|
|
164
|
-
width: 131px;
|
|
165
|
-
height: 80px;
|
|
166
|
-
position: absolute;
|
|
167
|
-
right: 0;
|
|
168
|
-
bottom: 0;
|
|
169
|
-
pointer-events: none;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
7
|
+
@steps-nav-arrow-color: fade(@black, 25%);
|
|
8
|
+
@steps-nav-finish-color: #5E9BFF;
|
|
9
|
+
@steps-nav-active-color: @primary-color;
|
|
10
|
+
@wait-icon-color: @disabled-color;
|
|
173
11
|
|
|
174
|
-
@
|
|
175
|
-
@import "./vertical.less";
|
|
176
|
-
@import "./nav.less";
|
|
177
|
-
@import "./progress-dot.less";
|
|
12
|
+
@steps-nav-content-max-width: auto;
|
|
@@ -1,73 +1,281 @@
|
|
|
1
|
+
@normal-steps-desc-height: 68px;
|
|
2
|
+
@normal-steps-height: 48px;
|
|
3
|
+
@small-steps-height: 36px;
|
|
4
|
+
@color-white: @white;
|
|
5
|
+
@container-padding-left: 40px;
|
|
1
6
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
.@{steps-prefix-cls}-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
.tnt-steps{
|
|
8
|
+
// 水平方向的步骤条
|
|
9
|
+
&.@{steps-prefix-cls}-navigation.@{steps-prefix-cls}-horizontal{
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
padding-top: 12px;
|
|
12
|
+
|
|
13
|
+
// 小尺寸
|
|
14
|
+
&.@{steps-prefix-cls}-small {
|
|
15
|
+
.@{steps-prefix-cls}-item {
|
|
16
|
+
height: @small-steps-height;
|
|
17
|
+
min-height: @small-steps-height;
|
|
18
|
+
&-container {
|
|
19
|
+
margin-left: 0;
|
|
20
|
+
padding-bottom:0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&::after {
|
|
24
|
+
content: '';
|
|
25
|
+
border-top: @small-steps-height/2 solid transparent;
|
|
26
|
+
border-bottom: @small-steps-height/2 solid transparent;
|
|
27
|
+
border-left: @small-steps-height/2 solid @border-color-split;
|
|
28
|
+
right: -@small-steps-height/2;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&::before {
|
|
32
|
+
content: '';
|
|
33
|
+
border-top: @small-steps-height/2 solid @border-color-split;
|
|
34
|
+
border-bottom: @small-steps-height/2 solid @border-color-split;
|
|
35
|
+
border-left: @small-steps-height/2 solid @color-white;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// 默认尺寸
|
|
41
|
+
.@{steps-prefix-cls}-item {
|
|
42
|
+
overflow: visible;
|
|
43
|
+
position: relative;
|
|
44
|
+
text-align: left;
|
|
45
|
+
display: flex;
|
|
46
|
+
min-height: @normal-steps-height;
|
|
47
|
+
&:not(:last-of-type){
|
|
48
|
+
margin-right: 2px !important;
|
|
49
|
+
}
|
|
50
|
+
background: @border-color-split;
|
|
51
|
+
width : 0 !important;
|
|
52
|
+
&-container {
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
width: 100%;
|
|
56
|
+
text-align: left;
|
|
57
|
+
padding-left: @container-padding-left + 24px;
|
|
58
|
+
padding-bottom: 0;
|
|
59
|
+
margin-left: 0;
|
|
60
|
+
transition: opacity 0.3s;
|
|
61
|
+
z-index: 11;
|
|
62
|
+
|
|
63
|
+
.@{steps-prefix-cls}-item-content {
|
|
64
|
+
max-width: calc(100% - @container-padding-left);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.@{steps-prefix-cls}-item-title {
|
|
68
|
+
max-width: 100%;
|
|
69
|
+
padding-right: 0;
|
|
70
|
+
overflow: hidden;
|
|
71
|
+
white-space: nowrap;
|
|
72
|
+
text-overflow: ellipsis;
|
|
73
|
+
line-height: 1.5;
|
|
74
|
+
font-size: 14px;
|
|
75
|
+
font-weight: normal;
|
|
76
|
+
color:@text-color;
|
|
77
|
+
&::after {
|
|
9
78
|
display: none;
|
|
79
|
+
}
|
|
80
|
+
.@{steps-prefix-cls}-item-subtitle{
|
|
81
|
+
color:fade(@text-color,80%);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.@{steps-prefix-cls}-item-description{
|
|
86
|
+
margin-top: 5px;
|
|
87
|
+
line-height: 14px;
|
|
88
|
+
font-size: 12px;
|
|
89
|
+
max-width: 100%;
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
white-space: nowrap;
|
|
92
|
+
text-overflow: ellipsis;
|
|
10
93
|
}
|
|
11
94
|
}
|
|
12
|
-
|
|
13
|
-
|
|
95
|
+
|
|
96
|
+
&:not(.@{steps-prefix-cls}-item-active) {
|
|
97
|
+
.@{steps-prefix-cls}-item-container[role='button'] {
|
|
98
|
+
cursor: pointer;
|
|
99
|
+
&:hover {
|
|
100
|
+
opacity: 0.85;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
14
103
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
104
|
+
|
|
105
|
+
&:last-child {
|
|
106
|
+
flex: 1;
|
|
107
|
+
&::after {
|
|
108
|
+
display: none;
|
|
19
109
|
}
|
|
20
110
|
}
|
|
21
|
-
|
|
22
|
-
|
|
111
|
+
|
|
112
|
+
&:first-child {
|
|
113
|
+
&.@{steps-prefix-cls}-item-container{
|
|
114
|
+
padding-left: @container-padding-left;
|
|
115
|
+
}
|
|
116
|
+
&:before {
|
|
117
|
+
display: none;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&::after {
|
|
23
122
|
content: '';
|
|
24
|
-
|
|
25
|
-
|
|
123
|
+
display: block;
|
|
124
|
+
border:none;
|
|
125
|
+
border-top: @normal-steps-height/2 solid transparent;
|
|
126
|
+
border-bottom: @normal-steps-height/2 solid transparent;
|
|
127
|
+
border-left: @normal-steps-height/2 solid @border-color-split;
|
|
128
|
+
position: absolute;
|
|
129
|
+
right: -@normal-steps-height/2;
|
|
130
|
+
top: 0;
|
|
131
|
+
z-index: 10;
|
|
132
|
+
transform: rotate(0deg);
|
|
133
|
+
margin-top:0;
|
|
134
|
+
margin-left: 0;
|
|
26
135
|
}
|
|
27
|
-
|
|
28
|
-
|
|
136
|
+
|
|
137
|
+
&::before {
|
|
29
138
|
content: '';
|
|
30
|
-
|
|
139
|
+
display: block;
|
|
140
|
+
background: none;;
|
|
141
|
+
border-top: @normal-steps-height/2 solid @border-color-split;
|
|
142
|
+
border-bottom: @normal-steps-height/2 solid @border-color-split;
|
|
143
|
+
border-left: @normal-steps-height/2 solid @color-white;
|
|
144
|
+
position: absolute;
|
|
145
|
+
height: 0;
|
|
146
|
+
width: 0;
|
|
147
|
+
left: 0px;
|
|
148
|
+
top: 0;
|
|
149
|
+
transition: none;
|
|
31
150
|
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
151
|
+
|
|
152
|
+
&-finish{
|
|
153
|
+
background-color: @steps-nav-finish-color !important;
|
|
154
|
+
border-color: @steps-nav-finish-color !important;
|
|
155
|
+
&::before{
|
|
156
|
+
border-top-color: @steps-nav-finish-color !important;
|
|
157
|
+
border-bottom-color: @steps-nav-finish-color !important;
|
|
158
|
+
}
|
|
39
159
|
&::after{
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
160
|
+
border-left-color: @steps-nav-finish-color !important;
|
|
161
|
+
}
|
|
162
|
+
.@{steps-prefix-cls}-item-title,
|
|
163
|
+
.@{steps-prefix-cls}-item-subtitle{
|
|
164
|
+
color:@color-white !important;
|
|
165
|
+
}
|
|
166
|
+
.@{steps-prefix-cls}-item-description{
|
|
167
|
+
color:fade(@color-white,80%) !important;
|
|
47
168
|
}
|
|
48
169
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
170
|
+
|
|
171
|
+
&-process{
|
|
172
|
+
background-color: @steps-nav-active-color !important;
|
|
173
|
+
border-color: @steps-nav-active-color !important;
|
|
174
|
+
&::before{
|
|
175
|
+
border-top-color: @steps-nav-active-color !important;
|
|
176
|
+
border-bottom-color: @steps-nav-active-color !important;
|
|
177
|
+
}
|
|
178
|
+
&::after{
|
|
179
|
+
border-left-color: @steps-nav-active-color !important;
|
|
180
|
+
}
|
|
181
|
+
.@{steps-prefix-cls}-item-title,
|
|
182
|
+
.@{steps-prefix-cls}-item-subtitle{
|
|
183
|
+
color:@color-white !important;
|
|
184
|
+
}
|
|
185
|
+
.@{steps-prefix-cls}-item-description{
|
|
186
|
+
color:fade(@color-white,80%) !important;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
// 存在描述的导航步骤
|
|
192
|
+
&.@{steps-prefix-cls}-navigation-contain-desc{
|
|
193
|
+
.@{steps-prefix-cls}-item {
|
|
194
|
+
height: @normal-steps-desc-height;
|
|
195
|
+
&::after {
|
|
196
|
+
content: '';
|
|
197
|
+
border-top: @normal-steps-desc-height/2 solid transparent;
|
|
198
|
+
border-bottom: @normal-steps-desc-height/2 solid transparent;
|
|
199
|
+
border-left: @normal-steps-desc-height/2 solid @border-color-split;
|
|
200
|
+
position: absolute;
|
|
201
|
+
right: -@normal-steps-desc-height/2;
|
|
57
202
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
203
|
+
&::before {
|
|
204
|
+
content: '';
|
|
205
|
+
border-top: @normal-steps-desc-height/2 solid @border-color-split;
|
|
206
|
+
border-bottom: @normal-steps-desc-height/2 solid @border-color-split;
|
|
207
|
+
border-left: @normal-steps-desc-height/2 solid @color-white;
|
|
208
|
+
position: absolute;
|
|
209
|
+
height: 0;
|
|
210
|
+
width: 0;
|
|
211
|
+
left: 0px;
|
|
212
|
+
top: 0;
|
|
213
|
+
transition: none;
|
|
61
214
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// icon控制
|
|
219
|
+
.@{steps-prefix-cls}-item-icon{
|
|
220
|
+
display: none;
|
|
221
|
+
}
|
|
222
|
+
.@{steps-prefix-cls}-item.@{steps-prefix-cls}-item-active{
|
|
223
|
+
.@{steps-prefix-cls}-item-container{
|
|
224
|
+
border-top:1px solid @steps-nav-active-color !important;
|
|
225
|
+
border-bottom:1px solid @steps-nav-active-color !important;
|
|
226
|
+
}
|
|
227
|
+
&.@{step-prefix-cls}-navigation-desc{
|
|
228
|
+
.@{steps-prefix-cls}-item-icon{
|
|
229
|
+
margin-top: -18px;
|
|
67
230
|
}
|
|
68
|
-
|
|
69
231
|
}
|
|
232
|
+
.@{steps-prefix-cls}-item-icon{
|
|
233
|
+
.@{steps-prefix-cls}-icon{
|
|
234
|
+
display: none;
|
|
235
|
+
}
|
|
236
|
+
display: inline-block;
|
|
237
|
+
width: 6px;
|
|
238
|
+
height:6px;
|
|
239
|
+
border-radius: 100%;
|
|
240
|
+
background: @color-white;
|
|
241
|
+
border: 1px solid @color-white;
|
|
242
|
+
margin-right: 6px;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
@media (max-width: @screen-xs) {
|
|
250
|
+
.tnt-steps.@{steps-prefix-cls}-navigation {
|
|
251
|
+
> .@{steps-prefix-cls}-item {
|
|
252
|
+
margin-right: 0 !important;
|
|
253
|
+
&::before {
|
|
254
|
+
display: none;
|
|
255
|
+
}
|
|
256
|
+
&.@{steps-prefix-cls}-item-active::before {
|
|
257
|
+
top: 0;
|
|
258
|
+
right: 0;
|
|
259
|
+
left: unset;
|
|
260
|
+
display: block;
|
|
261
|
+
width: 3px;
|
|
262
|
+
height: calc(100% - 24px);
|
|
263
|
+
}
|
|
264
|
+
&::after {
|
|
265
|
+
position: relative;
|
|
266
|
+
top: -2px;
|
|
267
|
+
left: 50%;
|
|
268
|
+
display: block;
|
|
269
|
+
width: 8px;
|
|
270
|
+
height: 8px;
|
|
271
|
+
margin-bottom: 8px;
|
|
272
|
+
text-align: center;
|
|
273
|
+
transform: rotate(135deg);
|
|
274
|
+
}
|
|
275
|
+
> .@{steps-prefix-cls}-item-container > .@{steps-prefix-cls}-item-tail {
|
|
276
|
+
visibility: hidden;
|
|
70
277
|
}
|
|
278
|
+
}
|
|
71
279
|
}
|
|
72
280
|
}
|
|
73
281
|
|