@titaui/pc 1.8.61 → 1.9.3
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/lib/components/avatar/icon-avatar/index.js +1 -1
- package/lib/components/button/default-button/index.js +3 -1
- package/lib/components/button/rect-btn/index.js +4 -2
- package/lib/components/button/text-btn/index.js +3 -1
- package/lib/components/cascader/index.js +3 -1
- package/lib/components/change-okr-modal/Filter.js +54 -108
- package/lib/components/change-okr-modal/Item.js +12 -14
- package/lib/components/change-okr-modal/constant.js +185 -0
- package/lib/components/change-okr-modal/filterTab.js +0 -2
- package/lib/components/change-okr-modal/index.js +9 -9
- package/lib/components/common-share/publishMblog.js +4 -2
- package/lib/components/communication/CommunicationAttachments.js +8 -6
- package/lib/components/communication/CommunicationRecord.js +7 -8
- package/lib/components/communication/index.js +6 -4
- package/lib/components/confidence/index.js +4 -2
- package/lib/components/create-okr-modal/constant.js +37 -11
- package/lib/components/create-okr-modal/createCycle.js +6 -4
- package/lib/components/create-okr-modal/createSuccessCmp.js +8 -6
- package/lib/components/create-okr-modal/fields/date-cycle.js +5 -3
- package/lib/components/create-okr-modal/fields/o-new-name.js +14 -11
- package/lib/components/create-okr-modal/fields/okr-case.js +5 -3
- package/lib/components/create-okr-modal/fields/okr-classify.js +14 -9
- package/lib/components/create-okr-modal/fields/okr-create-suggest.js +5 -3
- package/lib/components/create-okr-modal/fields/okr-parent.js +4 -2
- package/lib/components/create-okr-modal/fields/okr-type-detail.js +7 -5
- package/lib/components/create-okr-modal/fields/okr-type.js +6 -4
- package/lib/components/create-okr-modal/fields/okr-visibility-detail.js +8 -6
- package/lib/components/create-okr-modal/fields/okr-visibility.js +28 -21
- package/lib/components/create-okr-modal/index.js +32 -24
- package/lib/components/create-okr-modal/kr-items/kr-item-weight.js +3 -1
- package/lib/components/create-okr-modal/kr-items/krDatas.js +5 -4
- package/lib/components/create-okr-modal/kr-items/krItem.js +3 -1
- package/lib/components/create-okr-modal/objectType.js +22 -18
- package/lib/components/create-okr-modal/style.js +1 -1
- package/lib/components/date-picker/CalendarBody.js +3 -1
- package/lib/components/delete-confirm-pop/ConfirmPop.js +15 -16
- package/lib/components/dialog/index.css +1 -3
- package/lib/components/dialog/index.js +6 -3
- package/lib/components/dialog-confirm/index.css +8 -6
- package/lib/components/drawer/index.js +4 -2
- package/lib/components/drawer-manager/index.js +1 -1
- package/lib/components/drop-selector/index.css +2 -0
- package/lib/components/dynamic/components/dynamic-search-input/index.css +3 -1
- package/lib/components/dynamic/components/dynamic-search-input/index.js +7 -5
- package/lib/components/dynamic/constant.js +18 -16
- package/lib/components/dynamic/dynamic-item/components/header/index.js +14 -12
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +7 -5
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +6 -2
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/constant.js +7 -4
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +11 -3
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +9 -7
- package/lib/components/dynamic/dynamic-item/dynamic-project/constant.js +10 -7
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-replay/index.js +5 -3
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +5 -3
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.js +6 -4
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-task/constant.js +10 -7
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +5 -3
- package/lib/components/dynamic/dynamic-item/index.js +4 -2
- package/lib/components/dynamic/dynamic-like-ranking/index.js +8 -6
- package/lib/components/dynamic/dynamic-like-ranking/item.js +3 -1
- package/lib/components/dynamic/dynamic-liking/index.js +3 -1
- package/lib/components/dynamic/dynamic-liking/item.js +4 -2
- package/lib/components/dynamic/dynamic-list/index.js +3 -1
- package/lib/components/dynamic/dynamic-topping/index.js +3 -1
- package/lib/components/dynamic/dynamic-topping/item.js +4 -2
- package/lib/components/dynamic/dynamic.js +4 -2
- package/lib/components/dynamic/my-team/index.js +5 -3
- package/lib/components/dynamic/online-broadcast/index.js +4 -2
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +3 -1
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +3 -1
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +3 -1
- package/lib/components/dynamic/quick-operation/components/create-task/index.js +3 -1
- package/lib/components/dynamic/quick-operation/index.js +3 -1
- package/lib/components/dynamic/util.js +15 -13
- package/lib/components/e-priority/index.js +7 -5
- package/lib/components/eReport/eReportLists/reportList.js +9 -7
- package/lib/components/eReport/eReportShare/index.js +4 -2
- package/lib/components/eReport/eReportShare/toast/index.js +3 -1
- package/lib/components/edit-kr-wight/EditKrWightModal.js +6 -4
- package/lib/components/ereport-list/index.js +7 -5
- package/lib/components/file-list/components/single-file/index.js +5 -3
- package/lib/components/form/form-fields/department/department-input.js +3 -1
- package/lib/components/form/form-fields/duties/duties-input.js +3 -1
- package/lib/components/form/form-fields/input/index.js +3 -0
- package/lib/components/form/form-fields/input-verification-code/index.css +1 -0
- package/lib/components/form/form-fields/input-verification-code/index.js +71 -29
- package/lib/components/form/form-fields/password/index.css +11 -1
- package/lib/components/form/form-fields/password/index.js +24 -11
- package/lib/components/form/form-fields/password/yincang-s.svg +7 -0
- package/lib/components/form/form-fields/user/user-input.js +3 -1
- package/lib/components/grid-layout/near-visitors/index.js +4 -2
- package/lib/components/grid-layout/okr-align/index.js +8 -6
- package/lib/components/grid-layout/okr-progress/index.js +9 -7
- package/lib/components/grid-layout/okr-target/index.js +13 -11
- package/lib/components/grid-layout/over-view/index.js +5 -3
- package/lib/components/grid-layout/personal-info/index.js +5 -3
- package/lib/components/grid-layout/sub-employee-okr/index.js +5 -3
- package/lib/components/grid-layout/week-task/index.js +10 -8
- package/lib/components/grid-layout/words-cloud/index.js +5 -3
- package/lib/components/grid-page/personal-info/index.js +5 -3
- package/lib/components/img-viewer/index.js +6 -4
- package/lib/components/mblog/components/ConfirmPop.js +3 -1
- package/lib/components/mblog/components/MblogAction.js +13 -16
- package/lib/components/mblog/index.js +23 -21
- package/lib/components/mblog/style.js +4 -4
- package/lib/components/menus/components/drag-resize/index.js +4 -2
- package/lib/components/menus/components/flip-menu-card/dark.svg +15 -0
- package/lib/components/menus/components/flip-menu-card/flip-back-header.js +3 -1
- package/lib/components/menus/components/flip-menu-card/index.css +21 -0
- package/lib/components/menus/components/flip-menu-card/index.js +45 -15
- package/lib/components/menus/components/flip-menu-card/light.svg +15 -0
- package/lib/components/menus/components/menu-tree/tree-node/assess-manage.js +6 -1
- package/lib/components/menus/components/menu-tree/tree-node/assess-template.js +6 -1
- package/lib/components/menus/components/menu-tree/tree-node/index.css +2 -0
- package/lib/components/menus/components/menu-tree/tree-node/no-follower.js +3 -1
- package/lib/components/menus/components/search-colleague/index.js +1 -1
- package/lib/components/menus/export-modules/appraisal-menus/index.css +1 -1
- package/lib/components/menus/export-modules/appraisal-menus/index.js +5 -3
- package/lib/components/menus/export-modules/appraisal-menus/menus.js +4 -2
- package/lib/components/menus/export-modules/manage-menus/index.css +0 -12
- package/lib/components/menus/export-modules/manage-menus/index.js +33 -4
- package/lib/components/menus/export-modules/okr-menus/depart-menus/index.js +4 -2
- package/lib/components/menus/export-modules/okr-menus/index.js +3 -1
- package/lib/components/menus/export-modules/okr-menus/menus.js +3 -1
- package/lib/components/menus/i18n.js +36 -40
- package/lib/components/nav-top/components/user-message/components/empty/index.js +4 -2
- package/lib/components/nav-top/components/user-message/components/remind/index.js +3 -1
- package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +5 -3
- package/lib/components/nav-top/components/user-message/msg/index.css +4 -0
- package/lib/components/nav-top/components/user-message/msg/index.js +6 -4
- package/lib/components/nav-top/components/user-message/utils.js +3 -1
- package/lib/components/nav-top/components/user-own-menu/components/own-menu/index.css +22 -1
- package/lib/components/nav-top/components/user-own-menu/components/own-menu/index.js +44 -3
- package/lib/components/nav-top/components/user-own-menu/utils.js +60 -26
- package/lib/components/nav-top/components/version/index.css +11 -3
- package/lib/components/nav-top/components/version/index.js +4 -2
- package/lib/components/nav-top/constant.js +11 -5
- package/lib/components/nav-top/request.apis.js +8 -2
- package/lib/components/okr-detail/base-info/base-info.js +16 -13
- package/lib/components/okr-detail/base-info/o-desc/index.js +10 -14
- package/lib/components/okr-detail/base-info/other-infos/classify/index.js +15 -10
- package/lib/components/okr-detail/base-info/other-infos/date-cycle/index.js +3 -1
- package/lib/components/okr-detail/base-info/other-infos/okr-type/index.js +6 -4
- package/lib/components/okr-detail/base-info/other-infos/principal/index.js +3 -1
- package/lib/components/okr-detail/base-info/other-infos/visibility/index.js +12 -10
- package/lib/components/okr-detail/base-info/person/index.js +3 -1
- package/lib/components/okr-detail/components/ao-nice/index.js +2 -2
- package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +4 -2
- package/lib/components/okr-detail/components/base-okr-type/index.js +1 -1
- package/lib/components/okr-detail/components/base-okr-type/object-type.js +22 -18
- package/lib/components/okr-detail/components/header/edit-name.js +5 -3
- package/lib/components/okr-detail/components/header/index.js +3 -1
- package/lib/components/okr-detail/components/header/o-name.js +3 -1
- package/lib/components/okr-detail/components/o-classify.js +6 -4
- package/lib/components/okr-detail/components/o-progress-update/index.js +4 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +12 -10
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/constant.js +9 -6
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-empty.js +3 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +7 -5
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +5 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +8 -6
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +9 -7
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +9 -7
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +8 -6
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +4 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +15 -13
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +5 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +12 -8
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +13 -9
- package/lib/components/okr-detail/components/okr-type.js +5 -3
- package/lib/components/okr-detail/components/score/index.js +3 -1
- package/lib/components/okr-detail/detail-footer/index.js +6 -4
- package/lib/components/okr-detail/detail-header/actions.js +13 -11
- package/lib/components/okr-detail/detail-header/confirm.js +4 -2
- package/lib/components/okr-detail/detail-header/delete-confirm/delete-confirm.js +20 -16
- package/lib/components/okr-detail/detail-header/index.js +8 -6
- package/lib/components/okr-detail/e-list/search-form/fields/e-order.js +7 -5
- package/lib/components/okr-detail/e-list/search-form/fields/e-status.js +10 -8
- package/lib/components/okr-detail/e-list/search-form/fields/e-user.js +3 -1
- package/lib/components/okr-detail/e-list/search-form/index.js +6 -4
- package/lib/components/okr-detail/e-list/util.js +5 -3
- package/lib/components/okr-detail/index.js +8 -6
- package/lib/components/okr-detail/okr-list/add-parent-okr.js +3 -1
- package/lib/components/okr-detail/okr-list/create-kr-item/index.js +6 -4
- package/lib/components/okr-detail/okr-list/create-kr-item/style.js +1 -1
- package/lib/components/okr-detail/okr-list/empty/index.js +6 -4
- package/lib/components/okr-detail/okr-list/index.js +9 -5
- package/lib/components/okr-detail/okr-list/warp-parent-okr.js +3 -1
- package/lib/components/okr-detail/request-apis.js +3 -1
- package/lib/components/okr-detail/schedule/components/kr-progress/index.js +3 -1
- package/lib/components/okr-detail/schedule/components/o-progress/index.js +18 -16
- package/lib/components/okr-detail/schedule/util.js +3 -1
- package/lib/components/okr-filter-drawer/filter-form.js +68 -55
- package/lib/components/okr-filter-drawer/index.css +7 -3
- package/lib/components/okr-filter-drawer/index.js +4 -8
- package/lib/components/okr-flow/child-node/work-node.js +18 -14
- package/lib/components/okr-flow/empty/index.js +3 -1
- package/lib/components/okr-flow/export-modal/index.js +4 -2
- package/lib/components/okr-flow/mini-map/index.js +5 -3
- package/lib/components/okr-period-selector/select-cycle.js +6 -4
- package/lib/components/okr-progress/components/kr-progress/index.js +3 -1
- package/lib/components/okr-progress/components/o-progress/index.js +18 -16
- package/lib/components/okr-progress/components/o-progress-update/index.js +4 -2
- package/lib/components/okr-progress/request-apis.js +3 -1
- package/lib/components/okr-progress/util.js +3 -1
- package/lib/components/okr-progress-detail/index.js +10 -7
- package/lib/components/okr-progress-detail/utils.js +5 -3
- package/lib/components/okr-progress-modal/helper.js +126 -81
- package/lib/components/okr-progress-modal/index.js +14 -37
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +18 -16
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/style.js +1 -1
- package/lib/components/okr-review/ReviewPop/index.js +8 -6
- package/lib/components/okr-review/components/ReviewItem/index.js +5 -3
- package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +9 -7
- package/lib/components/okr-review/index.js +6 -4
- package/lib/components/okr-share/pink-card/card.js +3 -1
- package/lib/components/okr-share/publishMblog.js +4 -2
- package/lib/components/okr-share/shareCardSelector.js +4 -2
- package/lib/components/okrcase-library/index.js +4 -2
- package/lib/components/okrcase-library/okrcases-components/caseLibrary-cardList/okrcase-card.js +6 -4
- package/lib/components/okrcase-library/okrcases-components/caseLibrary-main.js +3 -1
- package/lib/components/okrcase-library/okrcases-components/caseLibray-header.js +4 -2
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +4 -2
- package/lib/components/okrcase-library-card/index.js +6 -4
- package/lib/components/operation-records/index.js +3 -1
- package/lib/components/pagination/locale/en_US.js +22 -0
- package/lib/components/pagination/locale/zh_CN.js +22 -0
- package/lib/components/pagination/pagination.js +8 -1
- package/lib/components/password-input/index.js +4 -2
- package/lib/components/period-selector/common.js +19 -9
- package/lib/components/period-selector/components/selector/index.js +45 -18
- package/lib/components/period-selector/mockData.js +97 -83
- package/lib/components/photo-card/components/card/index.js +6 -4
- package/lib/components/photo-card/index.js +4 -2
- package/lib/components/point-demo/constant.js +72 -0
- package/lib/components/point-demo/drop-down-box/index.js +1 -1
- package/lib/components/point-demo/index.js +12 -66
- package/lib/components/praise-record/index.js +4 -2
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.css +1 -1
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +9 -6
- package/lib/components/range-picker-pop/index.js +7 -6
- package/lib/components/range-selector-pop/RangeList.js +5 -3
- package/lib/components/scrollbar/simplebar/index.js +2 -0
- package/lib/components/scrollbar/simplebar/scrollbar-width.js +2 -0
- package/lib/components/select-layer/index.js +3 -1
- package/lib/components/select-tags/index.js +3 -1
- package/lib/components/selector-input/index.js +3 -1
- package/lib/components/slider-input/index.js +3 -1
- package/lib/components/status-time/index.js +5 -3
- package/lib/components/table/index.js +3 -1
- package/lib/components/task-relation-modal/index.js +8 -6
- package/lib/components/task-relation-modal/search/category-select.js +6 -4
- package/lib/components/task-relation-modal/search/okr-status-select.js +6 -4
- package/lib/components/task-relation-modal/search/okr-type-select.js +8 -6
- package/lib/components/task-relation-modal/search/principal.js +4 -2
- package/lib/components/task-relation-modal/search/relation.js +8 -6
- package/lib/components/task-relation-modal/tree/category-tree/index.js +5 -3
- package/lib/components/task-relation-modal/tree/category-tree/search-form.js +3 -1
- package/lib/components/task-relation-modal/tree/okr-tree/index.js +6 -4
- package/lib/components/task-relation-modal/tree/okr-tree/search-form.js +3 -1
- package/lib/components/task-relation-modal/tree/work-tree/index.js +7 -5
- package/lib/components/task-relation-modal/tree/work-tree/search-form.js +3 -1
- package/lib/components/task-relation-modal/tree-node/milestone-node/index.js +5 -3
- package/lib/components/task-relation-modal/tree-node/work-node/index.js +4 -2
- package/lib/components/tita-chart/charts/liquid-ball.js +3 -1
- package/lib/components/tita-chart/charts/words-cloud.js +8 -6
- package/lib/components/update-modal/index.js +3 -1
- package/lib/components/upload/components/uploadedPreview.js +8 -6
- package/lib/components/upload/index.js +5 -3
- package/lib/components/upload-photo-modal/index.css +2 -4
- package/lib/components/upvote/attitude.js +31 -25
- package/lib/components/upvote/index.js +7 -5
- package/lib/components/upvote/selector.js +1 -1
- package/lib/components/upvote/upvoteListModal.js +3 -1
- package/lib/components/user-selector/action-btns/btn-cancel.js +3 -1
- package/lib/components/user-selector/action-btns/btn-ok.js +3 -1
- package/lib/components/user-selector/category-selector-panel/depart-tree.js +3 -0
- package/lib/components/user-selector/category-selector-panel/index.js +6 -21
- package/lib/components/user-selector/constant.js +29 -0
- package/lib/components/user-selector/empty/group.js +3 -1
- package/lib/components/user-selector/empty/index.js +3 -1
- package/lib/components/user-selector/export-modules/field-tree-selector/index.css +1 -1
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +5 -1
- package/lib/components/user-selector/export-modules/multiple-user-selector--bak/index.js +3 -1
- package/lib/components/user-selector/searched-panel/index.js +5 -3
- package/lib/components/user-selector/selected-panel/index.js +8 -6
- package/lib/components/version-change-modal/constant.js +35 -29
- package/lib/components/version-change-modal/index.js +6 -4
- package/lib/components/weekly-report/index.js +4 -2
- package/lib/components/weekly-report/statistics.js +3 -1
- package/lib/components/word-cloud/index.js +1 -1
- package/lib/components-v1/confirm/index.js +4 -2
- package/lib/components-v1/popConfirm/index.js +4 -2
- package/lib/components-v1/progress/CircleProgress.js +1 -1
- package/lib/components-v1/radio/radioGroup.js +1 -1
- package/lib/components-v1/search/index.js +5 -5
- package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +4 -2
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +1 -1
- package/lib/components-v1/userSelector/components/MultiMode/index.js +8 -6
- package/lib/components-v1/userSelector/components/SearchBar.js +3 -1
- package/lib/components-v1/userSelector/components/SingleMode.js +1 -1
- package/lib/components-v1/userSelector/index.js +5 -3
- package/lib/pages/appointment-demo/drop-down-box/index.js +3 -1
- package/lib/pages/appointment-demo/index.js +18 -16
- package/lib/pages/group-management/page-view/empty.js +1 -1
- package/lib/pages/group-management/page-view/importGroupStaff/index.js +6 -4
- package/lib/pages/group-management/table/index.js +4 -2
- package/lib/pages/group-management/tree/add-group-dialog/index.js +4 -2
- package/lib/pages/group-management/tree/delete-group-dialog/index.js +4 -2
- package/lib/pages/group-management/tree/edit-group-dialog/index.js +4 -2
- package/lib/pages/group-management/tree/group-form/index.js +4 -2
- package/lib/pages/group-management/tree/operation-panel.js +4 -2
- package/lib/pages/group-management/tree/trigger-render.js +3 -1
- package/lib/pages/home/components/data-list/index.js +13 -11
- package/lib/pages/home/components/data-list/nav-selector/index.js +15 -13
- package/lib/pages/home/components/data-list/table/columns/index.js +16 -14
- package/lib/pages/home/components/data-list/table/columns/progressAndRisk.js +7 -5
- package/lib/pages/home/components/data-list/table/utils-function.js +3 -1
- package/lib/pages/home/components/guide/index.js +14 -12
- package/lib/pages/home/components/header/index.js +3 -1
- package/lib/pages/home-page-data-list/index.js +13 -11
- package/lib/pages/like-ranking/column.js +8 -6
- package/lib/pages/like-ranking/filter-buttons/department.js +3 -1
- package/lib/pages/like-ranking/filter-buttons/group.js +3 -1
- package/lib/pages/like-ranking/filter-buttons/modular.js +20 -14
- package/lib/pages/like-ranking/filter-buttons/name.js +3 -1
- package/lib/pages/like-ranking/filter-buttons/timer.js +3 -1
- package/lib/pages/like-ranking/index.js +10 -8
- package/lib/pages/new-okr-list/header/comments.js +3 -1
- package/lib/pages/new-okr-list/header/create-okr.js +3 -1
- package/lib/pages/new-okr-list/header/depart-title.js +4 -2
- package/lib/pages/new-okr-list/header/filter.js +3 -1
- package/lib/pages/new-okr-list/header/index.js +3 -1
- package/lib/pages/new-okr-list/header/relation-title.js +4 -2
- package/lib/pages/new-okr-list/index.js +4 -2
- package/lib/pages/new-okr-list/keyword-search/index.js +3 -1
- package/lib/pages/okr-map/export-modules/okr-map/header/index.js +16 -14
- package/lib/pages/okr-map/export-modules/okr-map/header/show-kr-confirm.js +6 -4
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.js +6 -4
- package/lib/pages/okr-map/level2-search/level2-input.js +3 -1
- package/lib/pages/okr-map/no-okr/index.js +3 -1
- package/lib/pages/okr-map/number-select/index.js +3 -1
- package/lib/pages/okr-map/share-dialog/index.js +8 -6
- package/lib/pages/personal-info/components/base-info/index.css +2 -2
- package/lib/pages/personal-info/components/base-info/index.js +8 -6
- package/lib/pages/personal-info/components/edit-base-info/index.js +19 -9
- package/lib/utils/date-test-change.js +5 -3
- package/lib/utils/format-time.js +5 -3
- package/lib/utils/getLocale.js +17 -0
- package/package.json +2 -1
- package/src/components/avatar/icon-avatar/index.tsx +2 -2
- package/src/components/button/default-button/index.tsx +3 -2
- package/src/components/button/rect-btn/index.tsx +2 -1
- package/src/components/button/text-btn/index.tsx +2 -1
- package/src/components/cascader/index.tsx +2 -1
- package/src/components/change-okr-modal/Filter.tsx +49 -109
- package/src/components/change-okr-modal/Item.tsx +17 -14
- package/src/components/change-okr-modal/constant.ts +156 -0
- package/src/components/change-okr-modal/filterTab.tsx +0 -2
- package/src/components/change-okr-modal/index.tsx +8 -9
- package/src/components/common-share/publishMblog.tsx +3 -2
- package/src/components/communication/CommunicationAttachments.tsx +7 -6
- package/src/components/communication/CommunicationRecord.tsx +6 -8
- package/src/components/communication/index.tsx +5 -4
- package/src/components/confidence/index.tsx +3 -2
- package/src/components/create-okr-modal/constant.ts +21 -12
- package/src/components/create-okr-modal/createCycle.tsx +5 -6
- package/src/components/create-okr-modal/createSuccessCmp.tsx +7 -6
- package/src/components/create-okr-modal/fields/date-cycle.tsx +4 -3
- package/src/components/create-okr-modal/fields/o-new-name.tsx +13 -10
- package/src/components/create-okr-modal/fields/okr-case.tsx +3 -2
- package/src/components/create-okr-modal/fields/okr-classify.tsx +11 -7
- package/src/components/create-okr-modal/fields/okr-create-suggest.tsx +5 -4
- package/src/components/create-okr-modal/fields/okr-parent.tsx +4 -3
- package/src/components/create-okr-modal/fields/okr-type-detail.tsx +6 -5
- package/src/components/create-okr-modal/fields/okr-type.tsx +6 -5
- package/src/components/create-okr-modal/fields/okr-visibility-detail.tsx +7 -6
- package/src/components/create-okr-modal/fields/okr-visibility.tsx +19 -14
- package/src/components/create-okr-modal/index.tsx +32 -27
- package/src/components/create-okr-modal/kr-items/kr-item-weight.tsx +2 -1
- package/src/components/create-okr-modal/kr-items/krDatas.tsx +4 -3
- package/src/components/create-okr-modal/kr-items/krItem.tsx +2 -1
- package/src/components/create-okr-modal/objectType.tsx +14 -11
- package/src/components/create-okr-modal/style.ts +1 -1
- package/src/components/date-picker/CalendarBody.js +8 -7
- package/src/components/delete-confirm-pop/ConfirmPop.tsx +7 -17
- package/src/components/dialog/index.js +4 -3
- package/src/components/dialog/index.scss +1 -3
- package/src/components/dialog-confirm/index.scss +8 -6
- package/src/components/drawer/index.tsx +3 -2
- package/src/components/drawer-manager/index.tsx +1 -1
- package/src/components/drop-selector/index.scss +2 -0
- package/src/components/dynamic/components/dynamic-search-input/index.scss +3 -1
- package/src/components/dynamic/components/dynamic-search-input/index.tsx +6 -5
- package/src/components/dynamic/constant.ts +23 -21
- package/src/components/dynamic/dynamic-item/components/header/index.tsx +13 -12
- package/src/components/dynamic/dynamic-item/dynamic-align/index.tsx +3 -2
- package/src/components/dynamic/dynamic-item/dynamic-announcement/index.tsx +2 -1
- package/src/components/dynamic/dynamic-item/dynamic-assessment/index.tsx +3 -2
- package/src/components/dynamic/dynamic-item/dynamic-create-o/index.tsx +6 -5
- package/src/components/dynamic/dynamic-item/dynamic-kr/index.tsx +4 -2
- package/src/components/dynamic/dynamic-item/dynamic-milestone/constant.ts +6 -4
- package/src/components/dynamic/dynamic-item/dynamic-milestone/index.tsx +16 -3
- package/src/components/dynamic/dynamic-item/dynamic-progress/index.tsx +8 -7
- package/src/components/dynamic/dynamic-item/dynamic-project/constant.ts +9 -7
- package/src/components/dynamic/dynamic-item/dynamic-project/index.tsx +2 -1
- package/src/components/dynamic/dynamic-item/dynamic-relative/index.tsx +3 -2
- package/src/components/dynamic/dynamic-item/dynamic-replay/index.tsx +4 -3
- package/src/components/dynamic/dynamic-item/dynamic-report/index.tsx +4 -3
- package/src/components/dynamic/dynamic-item/dynamic-reward/index.tsx +5 -4
- package/src/components/dynamic/dynamic-item/dynamic-share/index.tsx +2 -1
- package/src/components/dynamic/dynamic-item/dynamic-task/constant.ts +9 -7
- package/src/components/dynamic/dynamic-item/dynamic-task/index.tsx +4 -3
- package/src/components/dynamic/dynamic-item/index.tsx +3 -2
- package/src/components/dynamic/dynamic-like-ranking/index.tsx +7 -6
- package/src/components/dynamic/dynamic-like-ranking/item.tsx +2 -2
- package/src/components/dynamic/dynamic-liking/index.tsx +2 -1
- package/src/components/dynamic/dynamic-liking/item.tsx +3 -2
- package/src/components/dynamic/dynamic-list/index.tsx +2 -1
- package/src/components/dynamic/dynamic-topping/index.tsx +2 -1
- package/src/components/dynamic/dynamic-topping/item.tsx +3 -2
- package/src/components/dynamic/dynamic.tsx +3 -2
- package/src/components/dynamic/my-team/index.tsx +4 -3
- package/src/components/dynamic/online-broadcast/index.tsx +3 -2
- package/src/components/dynamic/quick-operation/components/create-announcement/index.tsx +2 -1
- package/src/components/dynamic/quick-operation/components/create-okr/index.tsx +3 -2
- package/src/components/dynamic/quick-operation/components/create-share/index.tsx +2 -1
- package/src/components/dynamic/quick-operation/components/create-task/index.tsx +2 -1
- package/src/components/dynamic/quick-operation/index.tsx +2 -1
- package/src/components/dynamic/util.ts +14 -13
- package/src/components/e-priority/index.js +6 -5
- package/src/components/eReport/eReportLists/reportList.tsx +8 -7
- package/src/components/eReport/eReportShare/index.tsx +3 -2
- package/src/components/eReport/eReportShare/toast/index.tsx +2 -1
- package/src/components/edit-kr-wight/EditKrWightModal.tsx +5 -4
- package/src/components/ereport-list/index.tsx +6 -5
- package/src/components/file-list/components/single-file/index.tsx +4 -3
- package/src/components/form/form-fields/department/department-input.tsx +2 -1
- package/src/components/form/form-fields/duties/duties-input.tsx +2 -1
- package/src/components/form/form-fields/input/index.tsx +5 -0
- package/src/components/form/form-fields/input-verification-code/index.scss +1 -0
- package/src/components/form/form-fields/input-verification-code/index.tsx +16 -11
- package/src/components/form/form-fields/password/index.scss +10 -1
- package/src/components/form/form-fields/password/index.tsx +15 -5
- package/src/components/form/form-fields/password/yincang-s.svg +7 -0
- package/src/components/form/form-fields/user/user-input.tsx +2 -1
- package/src/components/grid-layout/near-visitors/index.tsx +3 -2
- package/src/components/grid-layout/okr-align/index.tsx +7 -6
- package/src/components/grid-layout/okr-progress/index.tsx +8 -7
- package/src/components/grid-layout/okr-target/index.tsx +12 -11
- package/src/components/grid-layout/over-view/index.tsx +4 -4
- package/src/components/grid-layout/personal-info/index.tsx +4 -3
- package/src/components/grid-layout/sub-employee-okr/index.tsx +4 -3
- package/src/components/grid-layout/week-task/index.tsx +8 -7
- package/src/components/grid-layout/words-cloud/index.tsx +4 -3
- package/src/components/grid-page/personal-info/index.tsx +4 -3
- package/src/components/img-viewer/index.tsx +5 -4
- package/src/components/mblog/components/ConfirmPop.tsx +2 -1
- package/src/components/mblog/components/MblogAction.tsx +14 -15
- package/src/components/mblog/index.tsx +17 -26
- package/src/components/mblog/style.ts +5 -5
- package/src/components/menus/components/drag-resize/index.tsx +3 -2
- package/src/components/menus/components/flip-menu-card/dark.svg +15 -0
- package/src/components/menus/components/flip-menu-card/flip-back-header.tsx +2 -1
- package/src/components/menus/components/flip-menu-card/index.scss +19 -0
- package/src/components/menus/components/flip-menu-card/index.tsx +173 -125
- package/src/components/menus/components/flip-menu-card/light.svg +15 -0
- package/src/components/menus/components/menu-tree/tree-node/assess-manage.tsx +4 -1
- package/src/components/menus/components/menu-tree/tree-node/assess-template.tsx +4 -1
- package/src/components/menus/components/menu-tree/tree-node/index.scss +2 -0
- package/src/components/menus/components/menu-tree/tree-node/no-follower.tsx +2 -1
- package/src/components/menus/components/search-colleague/index.tsx +1 -1
- package/src/components/menus/export-modules/appraisal-menus/index.scss +1 -1
- package/src/components/menus/export-modules/appraisal-menus/index.tsx +4 -3
- package/src/components/menus/export-modules/appraisal-menus/menus.ts +3 -2
- package/src/components/menus/export-modules/manage-menus/index.scss +0 -13
- package/src/components/menus/export-modules/manage-menus/index.tsx +41 -10
- package/src/components/menus/export-modules/okr-menus/depart-menus/index.tsx +3 -2
- package/src/components/menus/export-modules/okr-menus/index.tsx +2 -1
- package/src/components/menus/export-modules/okr-menus/menus.ts +2 -1
- package/src/components/menus/i18n.ts +43 -46
- package/src/components/nav-top/components/user-message/components/empty/index.tsx +3 -2
- package/src/components/nav-top/components/user-message/components/remind/index.tsx +2 -1
- package/src/components/nav-top/components/user-message/components/remind/remind-item.tsx +4 -3
- package/src/components/nav-top/components/user-message/msg/index.scss +3 -0
- package/src/components/nav-top/components/user-message/msg/index.tsx +5 -4
- package/src/components/nav-top/components/user-message/utils.ts +3 -1
- package/src/components/nav-top/components/user-own-menu/components/own-menu/index.scss +21 -1
- package/src/components/nav-top/components/user-own-menu/components/own-menu/index.tsx +64 -3
- package/src/components/nav-top/components/user-own-menu/utils.ts +71 -46
- package/src/components/nav-top/components/version/index.scss +11 -3
- package/src/components/nav-top/components/version/index.tsx +4 -3
- package/src/components/nav-top/constant.ts +7 -7
- package/src/components/nav-top/interface.ts +2 -1
- package/src/components/nav-top/request.apis.ts +4 -0
- package/src/components/okr-detail/base-info/base-info.tsx +13 -14
- package/src/components/okr-detail/base-info/o-desc/index.tsx +8 -15
- package/src/components/okr-detail/base-info/other-infos/classify/index.tsx +7 -6
- package/src/components/okr-detail/base-info/other-infos/date-cycle/index.tsx +2 -1
- package/src/components/okr-detail/base-info/other-infos/okr-type/index.tsx +5 -4
- package/src/components/okr-detail/base-info/other-infos/principal/index.tsx +2 -1
- package/src/components/okr-detail/base-info/other-infos/visibility/index.tsx +11 -10
- package/src/components/okr-detail/base-info/person/index.tsx +2 -1
- package/src/components/okr-detail/components/ao-nice/index.js +3 -3
- package/src/components/okr-detail/components/base-okr-type/confirm/confirm.tsx +3 -2
- package/src/components/okr-detail/components/base-okr-type/index.tsx +1 -1
- package/src/components/okr-detail/components/base-okr-type/object-type.tsx +11 -10
- package/src/components/okr-detail/components/header/edit-name.tsx +4 -3
- package/src/components/okr-detail/components/header/index.js +2 -1
- package/src/components/okr-detail/components/header/o-name.tsx +2 -1
- package/src/components/okr-detail/components/o-classify.tsx +5 -4
- package/src/components/okr-detail/components/o-progress-update/index.tsx +3 -2
- package/src/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +11 -10
- package/src/components/okr-detail/components/okr-tree/tree-node/e-node/constant.ts +8 -6
- package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-empty.js +2 -1
- package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +6 -5
- package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +4 -3
- package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +7 -6
- package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +8 -7
- package/src/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +8 -7
- package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +7 -6
- package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.tsx +3 -2
- package/src/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.tsx +14 -13
- package/src/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +4 -3
- package/src/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +10 -7
- package/src/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +12 -9
- package/src/components/okr-detail/components/okr-type.tsx +5 -3
- package/src/components/okr-detail/components/score/index.tsx +2 -1
- package/src/components/okr-detail/detail-footer/index.tsx +5 -4
- package/src/components/okr-detail/detail-header/actions.tsx +12 -11
- package/src/components/okr-detail/detail-header/confirm.tsx +5 -6
- package/src/components/okr-detail/detail-header/delete-confirm/delete-confirm.tsx +8 -7
- package/src/components/okr-detail/detail-header/index.tsx +7 -6
- package/src/components/okr-detail/e-list/search-form/fields/e-order.js +6 -5
- package/src/components/okr-detail/e-list/search-form/fields/e-status.js +9 -8
- package/src/components/okr-detail/e-list/search-form/fields/e-user.js +2 -1
- package/src/components/okr-detail/e-list/search-form/index.js +5 -5
- package/src/components/okr-detail/e-list/util.ts +4 -3
- package/src/components/okr-detail/index.js +7 -6
- package/src/components/okr-detail/okr-list/add-parent-okr.js +2 -1
- package/src/components/okr-detail/okr-list/create-kr-item/index.tsx +6 -5
- package/src/components/okr-detail/okr-list/create-kr-item/style.ts +1 -1
- package/src/components/okr-detail/okr-list/empty/index.js +5 -4
- package/src/components/okr-detail/okr-list/index.js +6 -5
- package/src/components/okr-detail/okr-list/warp-parent-okr.js +2 -1
- package/src/components/okr-detail/request-apis.ts +2 -1
- package/src/components/okr-detail/schedule/components/kr-progress/index.tsx +2 -1
- package/src/components/okr-detail/schedule/components/o-progress/index.tsx +17 -16
- package/src/components/okr-detail/schedule/util.ts +3 -1
- package/src/components/okr-filter-drawer/filter-form.tsx +83 -79
- package/src/components/okr-filter-drawer/index.scss +6 -4
- package/src/components/okr-filter-drawer/index.tsx +4 -7
- package/src/components/okr-flow/child-node/work-node.js +11 -8
- package/src/components/okr-flow/empty/index.js +2 -1
- package/src/components/okr-flow/export-modal/index.tsx +3 -2
- package/src/components/okr-flow/mini-map/index.js +4 -3
- package/src/components/okr-period-selector/select-cycle.tsx +12 -12
- package/src/components/okr-progress/components/kr-progress/index.tsx +2 -1
- package/src/components/okr-progress/components/o-progress/index.tsx +17 -16
- package/src/components/okr-progress/components/o-progress-update/index.tsx +3 -2
- package/src/components/okr-progress/request-apis.ts +2 -1
- package/src/components/okr-progress/util.ts +2 -1
- package/src/components/okr-progress-detail/index.tsx +110 -55
- package/src/components/okr-progress-detail/utils.ts +4 -3
- package/src/components/okr-progress-modal/helper.js +104 -64
- package/src/components/okr-progress-modal/index.tsx +15 -50
- package/src/components/okr-review/ReviewPop/components/ReviewBody/index.tsx +19 -17
- package/src/components/okr-review/ReviewPop/components/ReviewBody/style.ts +1 -1
- package/src/components/okr-review/ReviewPop/index.tsx +7 -7
- package/src/components/okr-review/components/ReviewItem/index.tsx +4 -3
- package/src/components/okr-review/components/confirm-pop/ConfirmPop.tsx +4 -6
- package/src/components/okr-review/index.tsx +5 -4
- package/src/components/okr-share/pink-card/card.tsx +2 -1
- package/src/components/okr-share/publishMblog.tsx +3 -4
- package/src/components/okr-share/shareCardSelector.tsx +5 -4
- package/src/components/okrcase-library/index.tsx +4 -3
- package/src/components/okrcase-library/okrcases-components/caseLibrary-cardList/okrcase-card.tsx +5 -4
- package/src/components/okrcase-library/okrcases-components/caseLibrary-main.tsx +2 -1
- package/src/components/okrcase-library/okrcases-components/caseLibray-header.tsx +23 -17
- package/src/components/okrcase-library/okrcases-components/submitOkr-dialog.tsx +3 -2
- package/src/components/okrcase-library-card/index.tsx +5 -6
- package/src/components/operation-records/index.tsx +2 -1
- package/src/components/pagination/locale/en_US.js +16 -0
- package/src/components/pagination/locale/zh_CN.js +16 -0
- package/src/components/pagination/pagination.tsx +4 -0
- package/src/components/password-input/index.tsx +8 -11
- package/src/components/period-selector/common.ts +29 -12
- package/src/components/period-selector/components/selector/index.tsx +44 -18
- package/src/components/period-selector/mockData.ts +30 -28
- package/src/components/photo-card/components/card/index.tsx +5 -4
- package/src/components/photo-card/index.tsx +3 -2
- package/src/components/point-demo/constant.ts +27 -0
- package/src/components/point-demo/drop-down-box/index.js +1 -1
- package/src/components/point-demo/index.js +13 -33
- package/src/components/praise-record/index.tsx +3 -2
- package/src/components/publish-dynamic-modal/publish-dynamic-modal.scss +1 -1
- package/src/components/publish-dynamic-modal/publish-dynamic-modal.tsx +7 -5
- package/src/components/range-picker-pop/index.js +6 -10
- package/src/components/range-selector-pop/RangeList.tsx +5 -4
- package/src/components/scrollbar/simplebar/index.js +1 -0
- package/src/components/scrollbar/simplebar/scrollbar-width.js +1 -0
- package/src/components/select-layer/index.tsx +2 -1
- package/src/components/select-tags/index.tsx +2 -1
- package/src/components/selector-input/index.js +2 -1
- package/src/components/slider-input/index.js +2 -1
- package/src/components/status-time/index.tsx +4 -3
- package/src/components/table/index.js +3 -2
- package/src/components/task-relation-modal/index.tsx +7 -6
- package/src/components/task-relation-modal/search/category-select.tsx +5 -4
- package/src/components/task-relation-modal/search/okr-status-select.tsx +5 -4
- package/src/components/task-relation-modal/search/okr-type-select.tsx +7 -6
- package/src/components/task-relation-modal/search/principal.tsx +4 -2
- package/src/components/task-relation-modal/search/relation.tsx +7 -6
- package/src/components/task-relation-modal/tree/category-tree/index.tsx +4 -3
- package/src/components/task-relation-modal/tree/category-tree/search-form.tsx +2 -1
- package/src/components/task-relation-modal/tree/okr-tree/index.tsx +5 -4
- package/src/components/task-relation-modal/tree/okr-tree/search-form.tsx +3 -2
- package/src/components/task-relation-modal/tree/work-tree/index.tsx +6 -5
- package/src/components/task-relation-modal/tree/work-tree/search-form.tsx +2 -1
- package/src/components/task-relation-modal/tree-node/milestone-node/index.tsx +4 -3
- package/src/components/task-relation-modal/tree-node/work-node/index.tsx +3 -2
- package/src/components/tita-chart/charts/liquid-ball.tsx +2 -1
- package/src/components/tita-chart/charts/words-cloud.tsx +7 -6
- package/src/components/update-modal/index.tsx +2 -1
- package/src/components/upload/components/uploadedPreview.tsx +7 -6
- package/src/components/upload/index.tsx +3 -4
- package/src/components/upload-photo-modal/index.scss +2 -4
- package/src/components/upvote/attitude.ts +36 -32
- package/src/components/upvote/index.tsx +7 -6
- package/src/components/upvote/selector.tsx +2 -2
- package/src/components/upvote/upvoteListModal.tsx +2 -1
- package/src/components/user-selector/action-btns/btn-cancel.js +2 -1
- package/src/components/user-selector/action-btns/btn-ok.js +2 -1
- package/src/components/user-selector/category-selector-panel/depart-tree.tsx +3 -2
- package/src/components/user-selector/category-selector-panel/index.tsx +3 -13
- package/src/components/user-selector/constant.ts +16 -0
- package/src/components/user-selector/empty/group.js +2 -2
- package/src/components/user-selector/empty/index.js +2 -1
- package/src/components/user-selector/export-modules/field-tree-selector/index.scss +1 -1
- package/src/components/user-selector/export-modules/field-tree-selector/index.tsx +5 -2
- package/src/components/user-selector/export-modules/multiple-user-selector--bak/index.js +2 -1
- package/src/components/user-selector/searched-panel/index.js +4 -4
- package/src/components/user-selector/selected-panel/index.tsx +7 -6
- package/src/components/version-change-modal/constant.ts +54 -44
- package/src/components/version-change-modal/index.tsx +5 -4
- package/src/components/weekly-report/index.tsx +4 -3
- package/src/components/weekly-report/statistics.tsx +2 -1
- package/src/components/word-cloud/index.js +1 -1
- package/src/components-v1/confirm/index.tsx +3 -2
- package/src/components-v1/popConfirm/index.tsx +3 -2
- package/src/components-v1/progress/CircleProgress.js +1 -1
- package/src/components-v1/radio/radioGroup.tsx +1 -1
- package/src/components-v1/search/index.tsx +2 -4
- package/src/components-v1/userSelector/components/MultiMode/CommonList.tsx +3 -2
- package/src/components-v1/userSelector/components/MultiMode/DepartmentList.tsx +1 -1
- package/src/components-v1/userSelector/components/MultiMode/SubsList.tsx +1 -1
- package/src/components-v1/userSelector/components/MultiMode/index.tsx +7 -6
- package/src/components-v1/userSelector/components/SearchBar.tsx +2 -1
- package/src/components-v1/userSelector/components/SingleMode.tsx +1 -1
- package/src/components-v1/userSelector/index.tsx +4 -3
- package/src/index.d.ts +2 -0
- package/src/pages/appointment-demo/drop-down-box/index.js +2 -1
- package/src/pages/appointment-demo/index.js +17 -16
- package/src/pages/group-management/page-view/empty.js +1 -1
- package/src/pages/group-management/page-view/importGroupStaff/index.js +5 -4
- package/src/pages/group-management/table/index.js +3 -2
- package/src/pages/group-management/tree/add-group-dialog/index.js +3 -2
- package/src/pages/group-management/tree/delete-group-dialog/index.js +3 -2
- package/src/pages/group-management/tree/edit-group-dialog/index.js +3 -2
- package/src/pages/group-management/tree/group-form/index.js +3 -2
- package/src/pages/group-management/tree/operation-panel.js +3 -2
- package/src/pages/group-management/tree/trigger-render.js +2 -1
- package/src/pages/home/components/data-list/index.tsx +12 -11
- package/src/pages/home/components/data-list/nav-selector/index.tsx +14 -14
- package/src/pages/home/components/data-list/table/columns/index.tsx +15 -14
- package/src/pages/home/components/data-list/table/columns/progressAndRisk.tsx +6 -5
- package/src/pages/home/components/data-list/table/utils-function.ts +2 -1
- package/src/pages/home/components/guide/index.tsx +13 -12
- package/src/pages/home/components/header/index.tsx +2 -1
- package/src/pages/home-page-data-list/index.tsx +12 -11
- package/src/pages/like-ranking/column.tsx +9 -9
- package/src/pages/like-ranking/filter-buttons/department.tsx +3 -2
- package/src/pages/like-ranking/filter-buttons/group.tsx +2 -1
- package/src/pages/like-ranking/filter-buttons/modular.tsx +11 -8
- package/src/pages/like-ranking/filter-buttons/name.tsx +2 -1
- package/src/pages/like-ranking/filter-buttons/timer.tsx +2 -1
- package/src/pages/like-ranking/index.tsx +9 -8
- package/src/pages/new-okr-list/context.ts +1 -1
- package/src/pages/new-okr-list/header/comments.tsx +2 -1
- package/src/pages/new-okr-list/header/create-okr.tsx +2 -1
- package/src/pages/new-okr-list/header/depart-title.tsx +3 -2
- package/src/pages/new-okr-list/header/filter.tsx +2 -1
- package/src/pages/new-okr-list/header/index.tsx +2 -1
- package/src/pages/new-okr-list/header/relation-title.tsx +3 -2
- package/src/pages/new-okr-list/index.tsx +4 -3
- package/src/pages/new-okr-list/keyword-search/index.tsx +2 -1
- package/src/pages/okr-map/export-modules/okr-map/header/index.js +15 -14
- package/src/pages/okr-map/export-modules/okr-map/header/show-kr-confirm.js +5 -4
- package/src/pages/okr-map/export-modules/share-okr-page/header/index.js +5 -4
- package/src/pages/okr-map/level2-search/level2-input.js +2 -1
- package/src/pages/okr-map/no-okr/index.js +2 -1
- package/src/pages/okr-map/number-select/index.js +2 -1
- package/src/pages/okr-map/share-dialog/index.js +7 -6
- package/src/pages/personal-info/components/base-info/index.scss +2 -2
- package/src/pages/personal-info/components/base-info/index.tsx +6 -5
- package/src/pages/personal-info/components/edit-base-info/index.tsx +17 -15
- package/src/utils/date-test-change.ts +5 -3
- package/src/utils/format-time.ts +5 -3
- package/src/utils/getLocale.ts +9 -0
|
@@ -6,6 +6,7 @@ import postComponentForData from "../util/network"
|
|
|
6
6
|
import lvMask from '../image/lv'
|
|
7
7
|
import couldMask from '../image/could'
|
|
8
8
|
import titaMask from '../image/tita-mask'
|
|
9
|
+
import { getLocale } from "../../../utils/getLocale";
|
|
9
10
|
|
|
10
11
|
const ComponentId = 'Enterprise-Focus-Hotspots'
|
|
11
12
|
|
|
@@ -35,9 +36,9 @@ export default function WordCloudComponent() {
|
|
|
35
36
|
return (
|
|
36
37
|
<CardContainer styles={{ padding: '20px 22px 0' }}>
|
|
37
38
|
<CardTitle
|
|
38
|
-
content=
|
|
39
|
+
content={getLocale('HP_Hotcompanies')}
|
|
39
40
|
iconUrl={require('../image/Collaboration.png')}
|
|
40
|
-
tips=
|
|
41
|
+
tips={getLocale('HP_Theenterprise')}
|
|
41
42
|
>
|
|
42
43
|
{wordsData.length === 0 && (
|
|
43
44
|
<Advice
|
|
@@ -45,7 +46,7 @@ export default function WordCloudComponent() {
|
|
|
45
46
|
link="https://wpa1.qq.com/o6X4XD1n?_type=wpa&qidian=true"
|
|
46
47
|
>
|
|
47
48
|
<img src={require('../image/advise.svg')} />
|
|
48
|
-
|
|
49
|
+
{getLocale('HP_Upgradeview')}
|
|
49
50
|
</Advice>
|
|
50
51
|
)}
|
|
51
52
|
</CardTitle>
|
|
@@ -5,6 +5,7 @@ import postComponentForData from '../util/network';
|
|
|
5
5
|
import Avatar from '../../avatar';
|
|
6
6
|
import Tooltip from '../../tooltip';
|
|
7
7
|
import { OpenUserName, OpenDepartmentName } from '../../../utils/open-data';
|
|
8
|
+
import { getLocale } from '../../../utils/getLocale';
|
|
8
9
|
|
|
9
10
|
import './index.scss';
|
|
10
11
|
|
|
@@ -145,10 +146,10 @@ export default function PersonalInfoComponent() {
|
|
|
145
146
|
<div className="PersonalInfoComponent-PersonalInfo__fansinfo">
|
|
146
147
|
<span className="PersonalInfoComponent-PersonalInfo__fansinfo__attention">
|
|
147
148
|
<img src={require('../image/visit-icon.png')} /> <b>{fansNum}</b>
|
|
148
|
-
|
|
149
|
+
{getLocale('HP_peoplefollow')}
|
|
149
150
|
</span>
|
|
150
151
|
<span className="PersonalInfoComponent-PersonalInfo__fansinfo__like">
|
|
151
|
-
<img src={require('../image/liking.png')} /> <b>{likeNum}</b
|
|
152
|
+
<img src={require('../image/liking.png')} /> <b>{likeNum}</b>{getLocale('HP_Kudos')}
|
|
152
153
|
</span>
|
|
153
154
|
</div>
|
|
154
155
|
{scrollMessage.name && scrollMessage.name.length ? (
|
|
@@ -160,7 +161,7 @@ export default function PersonalInfoComponent() {
|
|
|
160
161
|
) : (
|
|
161
162
|
//@ts-ignore
|
|
162
163
|
<AvatarTips
|
|
163
|
-
content="🥰
|
|
164
|
+
content={"🥰 "+getLocale('HP_Smallwindow')}
|
|
164
165
|
styles={{ height: '28px', padding: '0 28px', lineHeight: '28px' }}
|
|
165
166
|
/>
|
|
166
167
|
)}
|
|
@@ -15,6 +15,7 @@ import LeftRotate from "./icon/left-rotate";
|
|
|
15
15
|
import RightRotate from "./icon/right-rotate";
|
|
16
16
|
import Tooltip from "../tooltip";
|
|
17
17
|
import Loading from './image/loading.gif';
|
|
18
|
+
import { getLocale } from "../../utils/getLocale";
|
|
18
19
|
import "./index.scss";
|
|
19
20
|
|
|
20
21
|
const prefix = "titaui-img-viewer";
|
|
@@ -98,7 +99,7 @@ const ImgViewer: FC<IImgViewerProps> = forwardRef(
|
|
|
98
99
|
<div className={prefix + "__header"}>
|
|
99
100
|
<span className={prefix + "__header-file-name"}>
|
|
100
101
|
<Tooltip.Text
|
|
101
|
-
text={currentImgData.fileName}
|
|
102
|
+
text={currentImgData && currentImgData.fileName || ''}
|
|
102
103
|
isPercent
|
|
103
104
|
minusWidth={60}
|
|
104
105
|
/>
|
|
@@ -115,7 +116,7 @@ const ImgViewer: FC<IImgViewerProps> = forwardRef(
|
|
|
115
116
|
prefix + "__header-download-icon"
|
|
116
117
|
)}
|
|
117
118
|
/>
|
|
118
|
-
|
|
119
|
+
{getLocale('Mod_Download')}
|
|
119
120
|
</a>
|
|
120
121
|
)}
|
|
121
122
|
<span
|
|
@@ -168,12 +169,12 @@ const ImgViewer: FC<IImgViewerProps> = forwardRef(
|
|
|
168
169
|
</div>
|
|
169
170
|
</div>
|
|
170
171
|
<div className={prefix + "__footer"}>
|
|
171
|
-
<Tooltip overlay={
|
|
172
|
+
<Tooltip overlay={getLocale('OKR_Ali_Butt_Narrow')} placement="top">
|
|
172
173
|
<span className={prefix + "__footer-btn"} onClick={handleShrink}>
|
|
173
174
|
<Shrink />
|
|
174
175
|
</span>
|
|
175
176
|
</Tooltip>
|
|
176
|
-
<Tooltip overlay={
|
|
177
|
+
<Tooltip overlay={getLocale('OKR_Ali_Butt_Enlarge')} placement="top">
|
|
177
178
|
<span className={prefix + "__footer-btn"} onClick={handleEnlarge}>
|
|
178
179
|
<Enlarge />
|
|
179
180
|
</span>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getLocale } from '../../../utils/getLocale'
|
|
1
2
|
import React, { PureComponent } from 'react'
|
|
2
3
|
import styled from 'styled-components'
|
|
3
4
|
|
|
@@ -61,7 +62,7 @@ export default class ConfirmPop extends PureComponent<Props> {
|
|
|
61
62
|
目前您企业的短信已超出许可量,请联系超管进行短信充值
|
|
62
63
|
</ConfirmMsg>
|
|
63
64
|
<BtnGroup>
|
|
64
|
-
<button onMouseDown={() => this.props.onSubmit()}
|
|
65
|
+
<button onMouseDown={() => this.props.onSubmit()}>{getLocale('OKR_MyO_Butt_Determine')}</button>
|
|
65
66
|
</BtnGroup>
|
|
66
67
|
</ConfirmContainer>
|
|
67
68
|
)
|
|
@@ -10,12 +10,13 @@ import MBlogContext from '../context'
|
|
|
10
10
|
import ConfirmPop from './ConfirmPop'
|
|
11
11
|
import Upload from '../../upload'
|
|
12
12
|
import { isLocal } from '../../../utils/helpers'
|
|
13
|
+
import { getLocale } from '../../../utils/getLocale'
|
|
13
14
|
|
|
14
|
-
const visibilityMap = {
|
|
15
|
-
1: '
|
|
16
|
-
2: '
|
|
17
|
-
3: '
|
|
18
|
-
}
|
|
15
|
+
const visibilityMap =() => {return {
|
|
16
|
+
1: getLocale('OKR_MyO_Pubiic'),
|
|
17
|
+
2: getLocale('OKR_MyO_Private'),
|
|
18
|
+
3: getLocale('OKR_MyO_E_Departmentvisible')
|
|
19
|
+
}}
|
|
19
20
|
interface UploadFilesObj {
|
|
20
21
|
name: string;
|
|
21
22
|
lastModified: number;
|
|
@@ -31,14 +32,14 @@ interface Props {
|
|
|
31
32
|
isInputAt: boolean // 是否通过输入@弹出选人组件
|
|
32
33
|
isShowAt: boolean // 是否显示 “@同事”按钮
|
|
33
34
|
atText: string // “@同事”按钮文字
|
|
34
|
-
atTipText: string // “@同事”tips内容:默认:
|
|
35
|
+
atTipText: string // “@同事”tips内容:默认:getLocale('OKR_MyO_Popup_Butt_Colleagues')
|
|
35
36
|
userSelectorPopAlign?: string // “@同事”选人组件出现位置
|
|
36
37
|
|
|
37
38
|
// @所有同事
|
|
38
39
|
isShowAtAll: boolean // 是否显示 “@所有同事”按钮
|
|
39
|
-
atAllText: string //
|
|
40
|
+
atAllText: string // getLocale('Mod_AllColleagues')按钮文字
|
|
40
41
|
atAllValue: string // 点击后输入的内容:"@[所有同事:all_members]"
|
|
41
|
-
atAllTipText: string //
|
|
42
|
+
atAllTipText: string // getLocale('Mod_AllColleagues')}`tips内容:默认:`${getLocale('OKR_MyO_Popup_Allcolleagues')
|
|
42
43
|
|
|
43
44
|
// 附件上传
|
|
44
45
|
isShowAttachment: boolean // 是否显示 “附件”按钮,默认true
|
|
@@ -51,8 +52,8 @@ interface Props {
|
|
|
51
52
|
|
|
52
53
|
// 表情组件
|
|
53
54
|
isShowEmotion: boolean // 是否显示 “表情”按钮,默认true
|
|
54
|
-
emotionText: string //
|
|
55
|
-
emotionTipText: string //
|
|
55
|
+
emotionText: string // getLocale('Mod_Expressions')按钮文字
|
|
56
|
+
emotionTipText: string // getLocale('Mod_Expressions')}`tips内容:默认:`${getLocale('Mod_Expressions')
|
|
56
57
|
emotionsSelectorPopAlign?: string // 表情组件出现位置
|
|
57
58
|
|
|
58
59
|
// 可见范围
|
|
@@ -179,7 +180,6 @@ export default class MblogAction extends PureComponent<Props> {
|
|
|
179
180
|
<LeftBtn key={this.props.atText} tips={this.props.atTipText}>
|
|
180
181
|
<UserSelectorPop ref="atSelector" stopPropagation popExtraClassName="pull-screen-ignore" align={userSelectorPopAlign} container={this.context.popContainer} onSubmit={(users, depts) => { onActionsSelectedUserChange([...users, ...depts]) }}>
|
|
181
182
|
<div>
|
|
182
|
-
<IconSpan className='tu-icon-at'></IconSpan>
|
|
183
183
|
<span className='btn-txt'>{this.props.atText}</span>
|
|
184
184
|
</div>
|
|
185
185
|
</UserSelectorPop>
|
|
@@ -191,7 +191,6 @@ export default class MblogAction extends PureComponent<Props> {
|
|
|
191
191
|
<LeftBtn key={this.props.atAllText}
|
|
192
192
|
tips={this.props.atAllTipText}
|
|
193
193
|
onMouseDown={() => onActionsTextChange(atAllValue || '')}>
|
|
194
|
-
<IconSpan className='tu-icon-at' style={{ top: 0 }}></IconSpan>
|
|
195
194
|
<span className='btn-txt'>{this.props.atAllText}</span>
|
|
196
195
|
</LeftBtn>
|
|
197
196
|
</Tooltip>
|
|
@@ -210,7 +209,7 @@ export default class MblogAction extends PureComponent<Props> {
|
|
|
210
209
|
<Tooltip container={document.body} content={this.props.sendSmsTipText}>
|
|
211
210
|
<RightBtn onMouseDown={this._sentMsgClickHandler}>
|
|
212
211
|
<span className={['checkbox-icon', isSendSms ? 'tu-icon-check-active' : 'tu-icon-xuan'].join(' ')}></span>
|
|
213
|
-
<span
|
|
212
|
+
<span>{getLocale('Mod_SMS')}</span>
|
|
214
213
|
</RightBtn>
|
|
215
214
|
</Tooltip>
|
|
216
215
|
)}
|
|
@@ -222,7 +221,7 @@ export default class MblogAction extends PureComponent<Props> {
|
|
|
222
221
|
container={this.context.popContainer}
|
|
223
222
|
onSubmit={(visibility) => onActionsTextChange(visibility)}>
|
|
224
223
|
<div className={'mblog-visiblity-range'}>
|
|
225
|
-
<span data-name="range-cont">{visibilityMap[visibility || 1]}</span>
|
|
224
|
+
<span data-name="range-cont">{visibilityMap()[visibility || 1]}</span>
|
|
226
225
|
{
|
|
227
226
|
this.props.isShowRangeDropDown && (
|
|
228
227
|
<i className="tu-icon-caret-down range-cont-icon" data-name="range-caret"></i>
|
|
@@ -235,7 +234,7 @@ export default class MblogAction extends PureComponent<Props> {
|
|
|
235
234
|
}
|
|
236
235
|
{this.props.isShowBtnCancel && (
|
|
237
236
|
<BtnCancel onMouseDown={() => onActionSubmit('cancel')}>
|
|
238
|
-
|
|
237
|
+
{getLocale('Mod_Cancel')}
|
|
239
238
|
</BtnCancel>
|
|
240
239
|
)}
|
|
241
240
|
<BtnConfirm disabled={!this.props.isAllowSubmit}
|
|
@@ -7,6 +7,7 @@ import { MBlogBox, PreviewBox, DragEffect } from './style';
|
|
|
7
7
|
import { isPlatform } from '../../utils/platform';
|
|
8
8
|
import { getUploadMaxSize } from '../../utils/bs-global';
|
|
9
9
|
import uuid from 'uuid';
|
|
10
|
+
import { getLocale } from '../../utils/getLocale';
|
|
10
11
|
|
|
11
12
|
interface UploadFilesObj {
|
|
12
13
|
name: string;
|
|
@@ -33,14 +34,14 @@ interface Props {
|
|
|
33
34
|
|
|
34
35
|
// at all
|
|
35
36
|
showAtAll?: boolean;
|
|
36
|
-
atAllText?: string; //
|
|
37
|
+
atAllText?: string; // getLocale('Mod_AllColleagues')按钮文字
|
|
37
38
|
atAllValue?: string; // 点击后输入的内容:"@[所有同事:all_members]"
|
|
38
|
-
atAllTipText?: string; //
|
|
39
|
+
atAllTipText?: string; // getLocale('Mod_AllColleagues')}`tips内容:默认:`${getLocale('OKR_MyO_Popup_Allcolleagues')
|
|
39
40
|
|
|
40
41
|
// at
|
|
41
42
|
isShowAt?: boolean; // 是否显示 “@同事”按钮,默认true
|
|
42
43
|
atText?: string; // “@同事”按钮文字
|
|
43
|
-
atTipText?: string; // “@同事”tips内容:默认:
|
|
44
|
+
atTipText?: string; // “@同事”tips内容:默认:getLocale('OKR_MyO_Popup_Butt_Colleagues')
|
|
44
45
|
userSelectorPopAlign?: string; // “@同事”选人组件出现位置
|
|
45
46
|
|
|
46
47
|
// 附件上传
|
|
@@ -53,8 +54,8 @@ interface Props {
|
|
|
53
54
|
|
|
54
55
|
// 表情组件
|
|
55
56
|
isShowEmotion?: boolean; // 是否显示 “表情”按钮,默认true
|
|
56
|
-
emotionText?: string; //
|
|
57
|
-
emotionTipText?: string; //
|
|
57
|
+
emotionText?: string; // getLocale('Mod_Expressions')按钮文字
|
|
58
|
+
emotionTipText?: string; // getLocale('Mod_Expressions')}`tips内容:默认:`${getLocale('Mod_Expressions')
|
|
58
59
|
emotionsSelectorPopAlign?: string; // 表情组件出现位置
|
|
59
60
|
|
|
60
61
|
// 可见范围
|
|
@@ -119,7 +120,6 @@ export default class MBlog extends PureComponent<Props, State> {
|
|
|
119
120
|
// 输入相关
|
|
120
121
|
defaultContent: '',
|
|
121
122
|
isHasPlaceholder: false,
|
|
122
|
-
placeholderText: '有事需要提醒ta,请@ta',
|
|
123
123
|
maxLength: 2000,
|
|
124
124
|
autoFocus: false,
|
|
125
125
|
autoResizing: true,
|
|
@@ -127,7 +127,6 @@ export default class MBlog extends PureComponent<Props, State> {
|
|
|
127
127
|
// 功能相关
|
|
128
128
|
// 附件
|
|
129
129
|
isShowAttachment: true,
|
|
130
|
-
attachmentText: '附件',
|
|
131
130
|
// attachmentTipText: `<p>支持拖拽上传</p><p>单次最多支持上传20个</p><p>每个不超过50MB</p>`,
|
|
132
131
|
attachmentTipText: '',
|
|
133
132
|
|
|
@@ -135,24 +134,16 @@ export default class MBlog extends PureComponent<Props, State> {
|
|
|
135
134
|
fileSizeLimit: 50,
|
|
136
135
|
// @同事
|
|
137
136
|
isShowAt: true,
|
|
138
|
-
atText: '同事',
|
|
139
|
-
atTipText: '想确保谁看到就@这个成员',
|
|
140
137
|
// @所有同事
|
|
141
|
-
atAllText: '所有同事',
|
|
142
|
-
atAllValue: '@[所有同事:all_members] ',
|
|
143
|
-
atAllTipText: '所有同事将收到本条消息',
|
|
144
138
|
// @表情
|
|
145
139
|
isShowEmotion: true,
|
|
146
|
-
emotionText: '表情',
|
|
147
140
|
emotionTipText: '',
|
|
148
141
|
// @按钮相关
|
|
149
142
|
isShowSendSms: true,
|
|
150
|
-
sendSmsTipText: '被@的同事将会收到通知',
|
|
151
143
|
isShowRange: true,
|
|
152
144
|
privateValue: 1, //1公开,2私密 3部门
|
|
153
145
|
isShowRangeDropDown: true,
|
|
154
146
|
isShowBtnCancel: true,
|
|
155
|
-
submitText: '发送',
|
|
156
147
|
submitStatus: 0,
|
|
157
148
|
};
|
|
158
149
|
|
|
@@ -379,42 +370,42 @@ export default class MBlog extends PureComponent<Props, State> {
|
|
|
379
370
|
submitStatus,
|
|
380
371
|
contentClassName,
|
|
381
372
|
isHasPlaceholder,
|
|
382
|
-
placeholderText,
|
|
373
|
+
placeholderText = '有事需要提醒ta,请@ta',
|
|
383
374
|
maxLength,
|
|
384
375
|
autoResizing,
|
|
385
376
|
initialTextHeight,
|
|
386
377
|
autoFocus,
|
|
387
378
|
actionClassName,
|
|
388
379
|
isShowAttachment,
|
|
389
|
-
attachmentText,
|
|
380
|
+
attachmentText = getLocale('Mod_Annexes'),
|
|
390
381
|
attachmentTipText,
|
|
391
382
|
fileNumLimit,
|
|
392
383
|
// fileSizeLimit,
|
|
393
384
|
attachmentPreviewBox,
|
|
394
|
-
atAllText,
|
|
395
|
-
atAllValue,
|
|
396
|
-
atAllTipText,
|
|
385
|
+
atAllText = getLocale('Mod_AllColleagues'),
|
|
386
|
+
atAllValue = '@[所有同事:all_members] ',
|
|
387
|
+
atAllTipText = getLocale('OKR_MyO_Popup_Allcolleagues'),
|
|
397
388
|
isShowAt,
|
|
398
389
|
showAtAll,
|
|
399
|
-
atText,
|
|
400
|
-
atTipText,
|
|
390
|
+
atText = getLocale('Mod_colleague'),
|
|
391
|
+
atTipText = getLocale('OKR_MyO_Popup_Butt_Colleagues'),
|
|
401
392
|
userSelectorPopAlign,
|
|
402
393
|
isShowEmotion,
|
|
403
|
-
emotionText,
|
|
394
|
+
emotionText = getLocale('Mod_Expressions'),
|
|
404
395
|
emotionTipText,
|
|
405
396
|
emotionsSelectorPopAlign,
|
|
406
397
|
isShowSendSms,
|
|
407
|
-
sendSmsTipText,
|
|
398
|
+
sendSmsTipText = getLocale('Tasks_Tab_MyS_Thecollenotified'),
|
|
408
399
|
isShowRange,
|
|
409
400
|
isShowRangeDropDown,
|
|
410
401
|
isShowBtnCancel,
|
|
411
|
-
submitText,
|
|
402
|
+
submitText = getLocale('Mod_Publish'),
|
|
412
403
|
setTextareaRef,
|
|
413
404
|
disableRangeSelect
|
|
414
405
|
} = this.props;
|
|
415
406
|
const { localStroageKey, visibility, isInputAt, isInputEnterSubmit, isAllowSubmit, textareaValue, dragFilesList, isShowDragMask, isAtAll } = this.state;
|
|
416
407
|
let fSize = getUploadMaxSize();
|
|
417
|
-
let fTip = attachmentTipText || '
|
|
408
|
+
let fTip = attachmentTipText || getLocale('OKR_MyO_KRP_Draganddropu').replace('50MB', `${fSize}MB`);
|
|
418
409
|
return (
|
|
419
410
|
<MBlogBox className={className} ref='mblogbox' onDrop={this._dropHandler} onDragEnter={this._dragEnterHandler} onDragLeave={this._dragLeaveHandler} onDragOver={this._dragOverHandler}>
|
|
420
411
|
<MblogContent
|
|
@@ -21,8 +21,8 @@ export const MBlogBox = styled.div`
|
|
|
21
21
|
// MblogContent
|
|
22
22
|
export const DivMblogContent = styled.div`
|
|
23
23
|
padding: 8px 10px 6px;
|
|
24
|
-
border: 1px solid #
|
|
25
|
-
border-radius:
|
|
24
|
+
border: 1px solid #DFE3EA;
|
|
25
|
+
border-radius: 8px;
|
|
26
26
|
background-color: #fff;
|
|
27
27
|
position: relative;
|
|
28
28
|
transition: all .2s ease-in-out;
|
|
@@ -81,7 +81,7 @@ export const Tips = styled.div`
|
|
|
81
81
|
// MblogAction
|
|
82
82
|
export const MblogActionWrapper = styled.div`
|
|
83
83
|
height: 30px;
|
|
84
|
-
padding:
|
|
84
|
+
padding: 28px 0 2px 0;
|
|
85
85
|
font-size: 13px;
|
|
86
86
|
line-height: 20px;
|
|
87
87
|
color: #565E66;
|
|
@@ -169,7 +169,7 @@ export const RightBtnGroupWrapper = styled.div`
|
|
|
169
169
|
min-width: 90px;
|
|
170
170
|
height: 32px;
|
|
171
171
|
box-sizing: border-box;
|
|
172
|
-
border-radius:
|
|
172
|
+
border-radius: 18px;
|
|
173
173
|
border: none;
|
|
174
174
|
}
|
|
175
175
|
`
|
|
@@ -219,7 +219,7 @@ export const BtnConfirm = styled.button`
|
|
|
219
219
|
color: #ffffff;
|
|
220
220
|
background: #2879FF;
|
|
221
221
|
white-space: nowrap;
|
|
222
|
-
border-radius:
|
|
222
|
+
border-radius: 18px;
|
|
223
223
|
|
|
224
224
|
&.disabled {
|
|
225
225
|
color: #ffffff;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useRef, useEffect } from 'react';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
|
+
import { isEn } from '../../../../utils/getLocale';
|
|
3
4
|
import './index.scss';
|
|
4
5
|
|
|
5
6
|
const preCls = 'titaui-drag-resize';
|
|
@@ -15,9 +16,9 @@ interface Props {
|
|
|
15
16
|
export default (props: Props) => {
|
|
16
17
|
const {
|
|
17
18
|
children,
|
|
18
|
-
defaultWidth = 180,
|
|
19
|
+
defaultWidth = isEn ? 210 : 180,
|
|
19
20
|
onResize = () => {},
|
|
20
|
-
minWidth = 180,
|
|
21
|
+
minWidth = isEn ? 210 : 180,
|
|
21
22
|
maxWidth = 600
|
|
22
23
|
} = props;
|
|
23
24
|
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>编组 5</title>
|
|
4
|
+
<g id="整体框架" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g transform="translate(-125.000000, -504.000000)" id="编组-5">
|
|
6
|
+
<g transform="translate(125.000000, 504.000000)">
|
|
7
|
+
<rect id="矩形" x="0" y="0" width="16" height="16" rx="1"></rect>
|
|
8
|
+
<g id="double-left" transform="translate(8.333333, 8.000000) rotate(-90.000000) translate(-8.333333, -8.000000) translate(2.333333, 1.000000)" fill="#2879FF" fill-rule="nonzero">
|
|
9
|
+
<path d="M-1.76793705,3.3938889 L-1.75125494,3.40915022 L3.65139574,8.51106147 L9.06523913,3.41309131 C9.34060773,3.15378577 9.78335553,3.14884771 10.0651005,3.39816722 L10.0818093,3.41343148 C10.0819295,3.41354477 10.0820495,3.41365807 10.0821696,3.41377143 C10.3568954,3.67320717 10.3619721,4.09038252 10.0976325,4.35565042 L10.0814489,4.37138173 L4.18879147,9.92030247 C4.05610644,10.0452476 3.88456021,10.111135 3.7108896,10.1179771 C3.50761457,10.1410503 3.29591324,10.0821891 3.13579683,9.94151673 L3.11683434,9.92424333 L-2.76746471,4.36744057 C-3.04244275,4.1077667 -3.04767927,3.69025351 -2.78329081,3.42456679 L-2.76710395,3.40881027 L-2.76674348,3.40847055 C-2.49162737,3.14940283 -2.04923783,3.1446155 -1.76793705,3.3938889 Z" id="路径" fill-opacity="0.3" transform="translate(3.657203, 6.666667) scale(-1, 1) rotate(-90.000000) translate(-3.657203, -6.666667) "></path>
|
|
10
|
+
<path d="M5.14583122,4.27441254 L5.1580251,4.28556785 L9.10712094,8.01483661 L13.0643981,4.28844864 C13.2656802,4.0989079 13.5893091,4.09529839 13.795252,4.2775398 L13.8074654,4.2886973 C13.8075532,4.2887801 13.8076409,4.28886292 13.8077287,4.28894578 C14.008541,4.47858168 14.0122519,4.78351817 13.8190315,4.97741714 L13.8072019,4.98891602 L9.49993314,9.04492868 C9.40294634,9.13625801 9.27755368,9.18441881 9.15060828,9.18942001 C9.00202328,9.20628554 8.84727914,9.16326061 8.73024121,9.06043534 L8.71638048,9.04780928 L4.41522124,4.98603523 C4.2142246,4.79622525 4.21039694,4.49104178 4.40365307,4.2968367 L4.41548494,4.28531938 L4.41574843,4.28507108 C4.61684599,4.09570415 4.94021294,4.09220485 5.14583122,4.27441254 Z" id="路径" transform="translate(9.111366, 6.666667) scale(-1, 1) rotate(-90.000000) translate(-9.111366, -6.666667) "></path>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import classNames from "classnames";
|
|
3
3
|
import preCls from "./precls";
|
|
4
|
+
import { getLocale } from "../../../../utils/getLocale";
|
|
4
5
|
|
|
5
6
|
import "./index.scss";
|
|
6
7
|
|
|
@@ -23,7 +24,7 @@ export default (props: Props) => {
|
|
|
23
24
|
"tu-icon-fanhui"
|
|
24
25
|
)}
|
|
25
26
|
/>
|
|
26
|
-
<span
|
|
27
|
+
<span>{getLocale('Mod_Back')}</span>
|
|
27
28
|
</div>
|
|
28
29
|
);
|
|
29
30
|
};
|
|
@@ -120,4 +120,23 @@
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
+
|
|
124
|
+
&__has-more {
|
|
125
|
+
position: absolute;
|
|
126
|
+
bottom: 0;
|
|
127
|
+
width: 100%;
|
|
128
|
+
height: 28px;
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
background-repeat: no-repeat;
|
|
131
|
+
background-position: 50% 4px;
|
|
132
|
+
animation: hasMoreLight 0.5s 0.2s linear infinite;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
@keyframes hasMoreLight {
|
|
136
|
+
0% {
|
|
137
|
+
background-image: url("./dark.svg");
|
|
138
|
+
}
|
|
139
|
+
100% {
|
|
140
|
+
background-image: url("./light.svg");
|
|
141
|
+
}
|
|
123
142
|
}
|