@titaui/pc 1.6.12 → 1.6.16
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/index.js +1 -1
- package/lib/components/button/icon-btn/index.css +2 -0
- package/lib/components/button/index.js +1 -1
- package/lib/components/button/rect-btn/index.css +21 -0
- package/lib/components/button/rect-btn/index.js +8 -8
- package/lib/components/button/text-btn/index.css +33 -0
- package/lib/components/button/text-btn/index.js +52 -2
- package/lib/components/change-okr/styledComponents.js +1 -1
- package/lib/components/communication/style.js +1 -1
- package/lib/components/create-okr/constant.js +1 -1
- package/lib/components/create-okr/createSuccessCmp.js +6 -2
- package/lib/components/create-okr/fields/index.js +1 -1
- package/lib/components/create-okr/index.js +16 -1
- package/lib/components/create-okr/request-api.js +1 -1
- package/lib/components/create-okr/style.js +1 -1
- package/lib/components/create-okr/utils/helper.js +1 -1
- package/lib/components/delete-confirm-pop/style.js +1 -1
- package/lib/components/dialog/index.css +1 -0
- package/lib/components/dropdown-layer/index.js +1 -1
- package/lib/components/dynamic/components/title/index.css +2 -2
- package/lib/components/dynamic/constant.js +3 -2
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/dynamic-milestone.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +7 -1
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +4 -21
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +4 -0
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +4 -2
- package/lib/components/dynamic/dynamic-item/dynamic-project/img/dynamic-project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +7 -1
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +4 -7
- package/lib/components/dynamic/dynamic-item/dynamic-task/constant.js +1 -35
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/dynamic-task.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +7 -1
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +17 -7
- package/lib/components/dynamic/dynamic-like-ranking/index.css +2 -3
- package/lib/components/dynamic/dynamic-like-ranking/index.js +11 -6
- package/lib/components/dynamic/dynamic-liking/index.css +1 -2
- package/lib/components/dynamic/dynamic-liking/item.js +2 -20
- package/lib/components/dynamic/dynamic-list/index.js +7 -1
- package/lib/components/dynamic/dynamic-topping/index.css +1 -1
- package/lib/components/dynamic/dynamic-topping/request-api.js +1 -1
- package/lib/components/dynamic/dynamic.js +7 -4
- package/lib/components/dynamic/export-module/index.js +1 -1
- package/lib/components/dynamic/index.js +1 -1
- package/lib/components/dynamic/new-ui.css +206 -0
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +2 -2
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +2 -2
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +2 -2
- package/lib/components/dynamic/quick-operation/components/create-task/index.js +2 -2
- package/lib/components/dynamic/quick-operation/img/okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/send-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/send-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/task.png +0 -0
- package/lib/components/dynamic/request-api.js +1 -1
- package/lib/components/dynamic/util.js +2 -2
- package/lib/components/eReport/eReportLists/style.js +1 -1
- package/lib/components/eReport/eReportShare/style.js +1 -1
- package/lib/components/eReport/eReportShare/toast/style.js +1 -1
- package/lib/components/edit-kr-wight/style/index.js +1 -1
- package/lib/components/emotionsSelector/style.js +1 -1
- package/lib/components/file-list/components/single-file/index.css +2 -2
- package/lib/components/file-list/components/single-file/index.js +1 -1
- package/lib/components/file-list/index.js +1 -1
- package/lib/components/form/form-fields/radios/index.css +5 -0
- package/lib/components/form/form-fields/radios/index.js +34 -5
- package/lib/components/form/index.js +1 -1
- package/lib/components/grid-page/commen-components/index.js +4 -4
- package/lib/components/grid-page/commen-components/scroll-tips.js +1 -1
- package/lib/components/grid-page/util/network.js +1 -1
- package/lib/components/help-card/index.css +17 -17
- package/lib/components/help-card/index.js +35 -31
- package/lib/components/help-card/request-api.js +2 -2
- package/lib/components/img-viewer/index.css +4 -0
- package/lib/components/img-viewer/index.js +2 -1
- package/lib/components/mblog/common/index.js +3 -3
- package/lib/components/mblog/style.js +1 -1
- package/lib/components/menus/components/drag-resize/index.css +4 -4
- package/lib/components/menus/components/drag-resize/index.js +35 -30
- package/lib/components/menus/components/flip-menu-card/index.css +7 -3
- package/lib/components/menus/components/flip-menu-card/index.js +42 -30
- package/lib/components/menus/components/menu-card/index.js +1 -6
- package/lib/components/menus/components/menu-close-btn/index.css +2 -1
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/KH-help.svg +10 -0
- package/lib/components/menus/components/menu-tree/images/appraisal-menu/mypingjia.svg +10 -0
- package/lib/components/menus/components/menu-tree/images/loading-node.gif +0 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/cases.svg +9 -0
- package/lib/components/menus/components/menu-tree/images/okr-menu/{rw-zx.svg → panel.svg} +0 -0
- package/lib/components/menus/components/menu-tree/index.js +5 -4
- package/lib/components/menus/components/menu-tree/tree-node/avatar/index.css +49 -0
- package/lib/components/menus/components/menu-tree/tree-node/avatar/index.js +72 -0
- package/lib/components/menus/components/menu-tree/tree-node/company-all-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/compony-node/index.js +5 -2
- package/lib/components/menus/components/menu-tree/tree-node/depart-node/index.js +9 -4
- package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.css +47 -0
- package/lib/components/menus/components/menu-tree/tree-node/follower-node/index.js +67 -0
- package/lib/components/menus/components/menu-tree/tree-node/group-name-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/index.css +126 -13
- package/lib/components/menus/components/menu-tree/tree-node/index.js +19 -0
- package/lib/components/menus/components/menu-tree/tree-node/loading-node.js +27 -0
- package/lib/components/menus/components/menu-tree/tree-node/menu-item-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/menu-node.js +2 -1
- package/lib/components/menus/components/menu-tree/tree-node/no-follower-node.js +25 -0
- package/lib/components/menus/components/menu-tree/tree-node/user-concern-node.js +9 -4
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.css +3 -1
- package/lib/components/menus/components/menu-tree/tree-node/user-node/index.js +12 -42
- package/lib/components/menus/export-modules/appraisal-menus/datas.js +58 -19
- package/lib/components/menus/export-modules/depart-menus/index.js +34 -7
- package/lib/components/menus/export-modules/okr-menus/datas.js +109 -4
- package/lib/components/menus/export-modules/okr-menus/index.css +0 -1
- package/lib/components/menus/export-modules/okr-menus/index.js +73 -20
- package/lib/components/menus/export-modules/subordinate-menus/index.js +12 -4
- package/lib/components/menus/index.js +1 -1
- package/lib/components/menus/request-apis.js +22 -5
- package/lib/components/nav-top/components/menu/index.css +1 -0
- package/lib/components/nav-top/components/menu/index.js +7 -5
- package/lib/components/nav-top/components/user-message/components/empty/index.js +1 -1
- package/lib/components/nav-top/components/user-message/components/inform/index.css +29 -6
- package/lib/components/nav-top/components/user-message/components/inform/index.js +116 -111
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +133 -0
- package/lib/components/nav-top/components/user-message/components/red-pack/index.css +40 -0
- package/lib/components/nav-top/components/user-message/components/red-pack/index.js +105 -0
- package/lib/components/nav-top/components/user-message/components/red-pack/request-api.js +14 -0
- package/lib/components/nav-top/components/user-message/components/remind/index.css +26 -8
- package/lib/components/nav-top/components/user-message/components/remind/index.js +67 -60
- package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +71 -0
- package/lib/components/nav-top/components/user-message/components/reply/index.css +28 -6
- package/lib/components/nav-top/components/user-message/components/reply/index.js +118 -63
- package/lib/components/nav-top/components/user-message/components/reply/reply-item.js +75 -0
- package/lib/components/nav-top/components/user-message/components/tab-title/index.js +5 -4
- package/lib/components/nav-top/components/user-message/components/todos/index.css +26 -12
- package/lib/components/nav-top/components/user-message/components/todos/index.js +118 -59
- package/lib/components/nav-top/components/user-message/components/todos/todo-item.js +70 -0
- package/lib/components/nav-top/components/user-message/constant.js +2 -19
- package/lib/components/nav-top/components/user-message/images/loading.gif +0 -0
- package/lib/components/nav-top/components/user-message/images/msg-reward.png +0 -0
- package/lib/components/nav-top/components/user-message/index.css +41 -4
- package/lib/components/nav-top/components/user-message/index.js +89 -100
- package/lib/components/nav-top/components/user-message/msg/index.css +5 -30
- package/lib/components/nav-top/components/user-message/msg/index.js +28 -22
- package/lib/components/nav-top/components/user-message/utils.js +31 -0
- package/lib/components/nav-top/components/user-own-menu/index.css +2 -1
- package/lib/components/nav-top/components/user-own-menu/index.js +5 -7
- package/lib/components/nav-top/components/user-own-menu/utils.js +63 -0
- package/lib/components/nav-top/constant.js +2 -10
- package/lib/components/nav-top/index.css +55 -0
- package/lib/components/nav-top/index.js +14 -13
- package/lib/components/nav-top/request.apis.js +50 -0
- package/lib/components/nav-top/utils.js +10 -70
- package/lib/components/okr-detail/auth.js +1 -1
- package/lib/components/okr-detail/base-info/util.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/constant.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/style.js +1 -1
- package/lib/components/okr-detail/context.js +1 -1
- package/lib/components/okr-detail/detail-header/actions.js +2 -2
- package/lib/components/okr-detail/detail-header/delete-confirm/style.js +1 -1
- package/lib/components/okr-detail/detail-header/enums.js +1 -1
- package/lib/components/okr-detail/e-list/constant.js +1 -1
- package/lib/components/okr-detail/e-list/util.js +1 -1
- package/lib/components/okr-detail/okr-list/create-kr-item/style.js +1 -1
- package/lib/components/okr-detail/okr-list/drag-order-kr.js +1 -1
- package/lib/components/okr-detail/okr-list/index.js +2 -1
- package/lib/components/okr-detail/request-apis.js +1 -1
- package/lib/components/okr-detail/schedule/util.js +1 -1
- package/lib/components/okr-filter-drawer/filter-button.js +1 -0
- package/lib/components/okr-filter-drawer/filter-form.js +189 -0
- package/lib/components/okr-filter-drawer/index.css +45 -0
- package/lib/components/okr-filter-drawer/index.js +54 -0
- package/lib/components/okr-flow/index.js +1 -1
- package/lib/components/okr-flow/mini-map/utils.js +1 -1
- package/lib/components/okr-flow/open-data/index.js +1 -1
- package/lib/components/okr-flow/request-apis.js +1 -1
- package/lib/components/okr-flow/utils/config.js +1 -1
- package/lib/components/okr-flow/utils/index.js +1 -1
- package/lib/components/okr-flow/utils/tree-handler.js +1 -1
- package/lib/components/okr-progress/request-apis.js +1 -1
- package/lib/components/okr-progress/util.js +1 -1
- package/lib/components/okr-progress-detail/utils.js +1 -1
- package/lib/components/okr-progress-modal/helper.js +1 -1
- package/lib/components/okr-progress-modal/style.js +1 -1
- package/lib/components/okr-progress-modal/textarea/style.js +1 -1
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/style.js +1 -1
- package/lib/components/okr-review/ReviewPop/style.js +1 -1
- package/lib/components/okr-review/components/ReviewItem/style.js +1 -1
- package/lib/components/okr-review/components/confirm-pop/style.js +1 -1
- package/lib/components/okr-review/style.js +1 -1
- package/lib/components/okr-share/common-painter/utils.js +1 -1
- package/lib/components/okr-share/pink-card/images.js +1 -1
- package/lib/components/okr-share/request-apis.js +1 -1
- package/lib/components/okrcase-library/index.css +1 -1
- package/lib/components/okrcase-library/index.js +6 -1
- package/lib/components/okrcase-library/new-ui.css +52 -0
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +1 -1
- package/lib/components/okrcase-library/server/network.js +1 -1
- package/lib/components/open-data-painter/index.js +1 -1
- package/lib/components/operation-records/style.js +1 -1
- package/lib/components/pagination/index.css +6 -12
- package/lib/components/period-selector/common.js +2 -2
- package/lib/components/period-selector/components/button/style.js +1 -1
- package/lib/components/period-selector/components/selector/style.js +1 -1
- package/lib/components/period-selector/helper/index.js +1 -1
- package/lib/components/period-selector/mockData.js +1 -1
- package/lib/components/period-selector/style.js +1 -1
- package/lib/components/photo-card/components/card/index.css +83 -100
- package/lib/components/photo-card/components/card/index.js +119 -63
- package/lib/components/photo-card/data.js +5 -5
- package/lib/components/photo-card/images/assistant.svg +40 -0
- package/lib/components/photo-card/images/back-manager.svg +40 -0
- package/lib/components/photo-card/images/boss.svg +38 -0
- package/lib/components/photo-card/images/depart-leader.svg +40 -0
- package/lib/components/photo-card/images/super-manager.svg +40 -0
- package/lib/components/photo-card/index.css +15 -14
- package/lib/components/photo-card/index.js +59 -15
- package/lib/components/pop-down-notification/components/SuccessRender.js +1 -1
- package/lib/components/pop-down-notification/style/index.js +1 -1
- package/lib/components/praise-record/style.js +1 -1
- package/lib/components/progress/index.js +1 -1
- package/lib/components/publish-dynamic-modal/requist-api.js +1 -1
- package/lib/components/radio/radio.js +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/task-relation/helper.js +1 -1
- package/lib/components/task-relation/request-api.js +1 -1
- package/lib/components/tita-chart/index.js +4 -4
- package/lib/components/tita-chart/util/index.js +12 -12
- package/lib/components/tita-chart/util/utils.js +1 -1
- package/lib/components/tooltip/index.js +1 -1
- package/lib/components/tree/index.js +1 -3
- package/lib/components/update-modal/img/background.png +0 -0
- package/lib/components/update-modal/img/rocket.png +0 -0
- package/lib/components/update-modal/index.css +80 -0
- package/lib/components/update-modal/index.js +83 -0
- package/lib/components/update-modal/request-api.js +17 -0
- package/lib/components/upload/style.js +1 -1
- package/lib/components/upload/util.js +1 -1
- package/lib/components/upvote/request-apis.js +1 -1
- package/lib/components/user-selector/index.js +1 -1
- package/lib/components/user-selector/request-apis.js +1 -1
- package/lib/components/user-selector/utils.js +1 -1
- package/lib/components/version-change-modal/request-api.js +1 -1
- package/lib/components/viewer/index.js +1 -1
- package/lib/components-v1/avatar/styles.js +1 -1
- package/lib/components-v1/buttonv2/style/style.js +1 -1
- package/lib/components-v1/input/Input.js +1 -1
- package/lib/components-v1/input/InputNumber.js +1 -1
- package/lib/components-v1/input/style/index.js +1 -1
- package/lib/components-v1/popConfirm/style.js +1 -1
- package/lib/components-v1/tabs/style.js +1 -1
- package/lib/components-v1/textarea/style.js +1 -1
- package/lib/components-v1/userSelector/UserSelectorPop.js +1 -1
- package/lib/components-v1/userSelector/style.js +1 -1
- package/lib/hooks/useLocalStorage.js +37 -0
- package/lib/index.js +18 -4
- package/lib/pages/aha2021/index.css +25 -1
- package/lib/pages/aha2021/index.js +10 -4
- package/lib/pages/group-management/components/PopDownNotification/components/SuccessRender.js +1 -1
- package/lib/pages/group-management/components/PopDownNotification/style/index.js +1 -1
- package/lib/pages/group-management/components/openData/index.js +1 -1
- package/lib/pages/group-management/groupInterface.js +10 -10
- package/lib/pages/home-page/components/data-list/table/columns/index.js +1 -1
- package/lib/pages/new-okr-list/context.js +14 -0
- package/lib/pages/new-okr-list/header/comments.js +104 -0
- package/lib/pages/new-okr-list/header/create-okr.js +61 -0
- package/lib/pages/new-okr-list/header/depart-title.js +59 -0
- package/lib/pages/new-okr-list/header/filter.js +95 -0
- package/lib/pages/new-okr-list/header/index.css +118 -0
- package/lib/pages/new-okr-list/header/index.js +133 -0
- package/lib/pages/new-okr-list/header/relation-title.js +28 -0
- package/lib/pages/new-okr-list/header/user-title.js +26 -0
- package/lib/pages/new-okr-list/index.css +10 -0
- package/lib/pages/new-okr-list/index.js +208 -0
- package/lib/pages/new-okr-list/interface.js +5 -0
- package/lib/pages/new-okr-list/keyword-search/index.css +71 -0
- package/lib/pages/new-okr-list/keyword-search/index.js +106 -0
- package/lib/pages/new-okr-list/list/index.css +0 -0
- package/lib/pages/new-okr-list/list/index.js +47 -0
- package/lib/pages/new-okr-list/precls.js +8 -0
- package/lib/pages/new-okr-list/request-api.js +158 -0
- package/lib/pages/new-okr-list/theme.css +7 -0
- package/lib/pages/okr-map/hooks/useStorage.js +1 -1
- package/lib/pages/okr-map/open-data/index.js +1 -1
- package/lib/pages/okr-map/request-apis.js +1 -1
- package/lib/pages/okr-map/utils.js +2 -1
- package/lib/utils/auth.js +1 -1
- package/lib/utils/bs-global.js +1 -1
- package/lib/utils/format-time.js +1 -1
- package/lib/utils/helpers.js +1 -1
- package/lib/utils/local-storage.js +40 -0
- package/lib/utils/mblog.js +1 -1
- package/lib/utils/open-data.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/request-v1.js +2 -2
- package/lib/utils/request.js +1 -1
- package/lib/utils/roundWeight.js +2 -2
- package/lib/utils/tools.js +4 -3
- package/package.json +3 -2
- package/lib/components/dynamic/dynamic-item/components/icon/index.css +0 -10
- package/lib/components/dynamic/dynamic-item/components/icon/index.js +0 -35
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/milestone.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/img/project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-cancel.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-delay.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-done.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-pause.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-progress.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unaccept.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unstart.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-task.png +0 -0
- package/lib/components/nav-top/mock.js +0 -36
|
@@ -13,10 +13,10 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
13
13
|
|
|
14
14
|
var _header = _interopRequireDefault(require("../components/header"));
|
|
15
15
|
|
|
16
|
-
var _icon = _interopRequireDefault(require("../components/icon"));
|
|
17
|
-
|
|
18
16
|
var _constant = require("./constant");
|
|
19
17
|
|
|
18
|
+
var _dynamicTask = _interopRequireDefault(require("./img/dynamic-task.png"));
|
|
19
|
+
|
|
20
20
|
var _constant2 = require("../../constant");
|
|
21
21
|
|
|
22
22
|
var _context = require("../../context");
|
|
@@ -57,7 +57,8 @@ var DynamicTask = function DynamicTask(_ref) {
|
|
|
57
57
|
deadline = data.deadline,
|
|
58
58
|
feedType = data.feedType,
|
|
59
59
|
obj = data.obj,
|
|
60
|
-
principalUser = data.principalUser
|
|
60
|
+
principalUser = data.principalUser,
|
|
61
|
+
workId = data.workId;
|
|
61
62
|
|
|
62
63
|
var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
|
|
63
64
|
searchKeyWord = _useContext.searchKeyWord;
|
|
@@ -89,6 +90,16 @@ var DynamicTask = function DynamicTask(_ref) {
|
|
|
89
90
|
if (objType === _constant2.EObjType.Project) {
|
|
90
91
|
window.open(window.location.href.replace(location.hash, "#work?iTalentNavCode=tita-work&work_id=" + objId));
|
|
91
92
|
}
|
|
93
|
+
|
|
94
|
+
if (objType === _constant2.EObjType.MileStone) {
|
|
95
|
+
if (workId <= 0) return;
|
|
96
|
+
window.open(window.location.href.replace(location.hash, "#work?work_id=".concat(workId, "&detail_type=milepost")));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (objType === _constant2.EObjType.KanBan) {
|
|
100
|
+
if (workId <= 0) return;
|
|
101
|
+
window.open(window.location.href.replace(location.hash, "#work?work_id=".concat(workId, "&detail_type=kanban")));
|
|
102
|
+
}
|
|
92
103
|
};
|
|
93
104
|
|
|
94
105
|
var renderName = (0, _react.useMemo)(function () {
|
|
@@ -135,10 +146,9 @@ var DynamicTask = function DynamicTask(_ref) {
|
|
|
135
146
|
user: principalUser
|
|
136
147
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
137
148
|
className: "".concat(prefix, "__content")
|
|
138
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
imgUrl: _constant.TaskStatusIconMapping[status]
|
|
149
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
150
|
+
className: "".concat(prefix, "__content-img"),
|
|
151
|
+
src: _dynamicTask["default"]
|
|
142
152
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
143
153
|
className: prefix + "__content-info"
|
|
144
154
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.danamic-like-ranking {
|
|
2
|
-
margin-top:
|
|
2
|
+
margin-top: 10px;
|
|
3
3
|
width: 278px;
|
|
4
4
|
background: #ffffff;
|
|
5
5
|
box-shadow: 0px 0px 8px 0px rgba(127, 145, 180, 0.1);
|
|
@@ -96,7 +96,6 @@
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.danamic-like-ranking__item-avatar {
|
|
99
|
-
cursor: pointer;
|
|
100
99
|
margin-left: 9px;
|
|
101
100
|
}
|
|
102
101
|
|
|
@@ -120,7 +119,7 @@
|
|
|
120
119
|
font-weight: 600;
|
|
121
120
|
color: #3F4755;
|
|
122
121
|
line-height: 22px;
|
|
123
|
-
margin-
|
|
122
|
+
margin-right: 4px;
|
|
124
123
|
}
|
|
125
124
|
|
|
126
125
|
.danamic-like-ranking__tab-bar {
|
|
@@ -19,6 +19,8 @@ var _auth = require("../../../utils/auth");
|
|
|
19
19
|
|
|
20
20
|
var _item = _interopRequireDefault(require("./item"));
|
|
21
21
|
|
|
22
|
+
var _bsGlobal = require("../../../utils/bs-global");
|
|
23
|
+
|
|
22
24
|
require("./index.css");
|
|
23
25
|
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -83,13 +85,16 @@ var DynamicLikeRanking = function DynamicLikeRanking() {
|
|
|
83
85
|
userPariseinfos = _res$Data.userPariseinfos,
|
|
84
86
|
currentUserPariseInfo = _res$Data.currentUserPariseInfo;
|
|
85
87
|
var data = userPariseinfos || [];
|
|
88
|
+
var currentUserIsInEighth = data.findIndex(function (item) {
|
|
89
|
+
return item.user.userId === (0, _bsGlobal.getUserInfo)().Id;
|
|
90
|
+
}) !== -1;
|
|
91
|
+
|
|
92
|
+
if (!currentUserIsInEighth) {
|
|
93
|
+
data = data.slice(0, 7);
|
|
86
94
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
return item.user.userId !== userId;
|
|
91
|
-
});
|
|
92
|
-
data.unshift(currentUserPariseInfo);
|
|
95
|
+
if (currentUserPariseInfo && currentUserPariseInfo.user) {
|
|
96
|
+
data.push(currentUserPariseInfo);
|
|
97
|
+
}
|
|
93
98
|
}
|
|
94
99
|
|
|
95
100
|
setRankingData(data);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.dynamic-liking {
|
|
2
|
-
margin-top:
|
|
2
|
+
margin-top: 10px;
|
|
3
3
|
width: 278px;
|
|
4
4
|
background: #ffffff;
|
|
5
5
|
box-shadow: 0px 0px 8px 0px rgba(127, 145, 180, 0.1);
|
|
@@ -48,7 +48,6 @@
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.dynamic-liking__item-avatar {
|
|
51
|
-
cursor: pointer;
|
|
52
51
|
position: relative;
|
|
53
52
|
top: 2px;
|
|
54
53
|
}
|
|
@@ -7,8 +7,6 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var _avatar = _interopRequireDefault(require("../../avatar"));
|
|
11
|
-
|
|
12
10
|
var _formatTime = require("../../../utils/format-time");
|
|
13
11
|
|
|
14
12
|
var _openData = require("../../../utils/open-data");
|
|
@@ -31,8 +29,7 @@ var Item = function Item(_ref) {
|
|
|
31
29
|
userType = userInfo.userType,
|
|
32
30
|
toPariseUser = userInfo.toPariseUser,
|
|
33
31
|
pariseObjType = userInfo.pariseObjType;
|
|
34
|
-
var
|
|
35
|
-
name = pariseUser.name,
|
|
32
|
+
var name = pariseUser.name,
|
|
36
33
|
userId = pariseUser.userId;
|
|
37
34
|
var toUserName = toPariseUser.name;
|
|
38
35
|
var toUserId = toPariseUser.userId; // 之后要用
|
|
@@ -47,18 +44,6 @@ var Item = function Item(_ref) {
|
|
|
47
44
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
48
45
|
className: "".concat(preCls)
|
|
49
46
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
50
|
-
className: "".concat(preCls, "-avatar")
|
|
51
|
-
}, /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
|
|
52
|
-
name: name,
|
|
53
|
-
src: avatar.small,
|
|
54
|
-
color: avatar.color,
|
|
55
|
-
userId: userId,
|
|
56
|
-
size: {
|
|
57
|
-
width: 32,
|
|
58
|
-
textNum: 1,
|
|
59
|
-
fontSize: 16
|
|
60
|
-
}
|
|
61
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
62
47
|
className: "".concat(preCls, "-center")
|
|
63
48
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
64
49
|
className: "".concat(preCls, "-center-name")
|
|
@@ -74,10 +59,7 @@ var Item = function Item(_ref) {
|
|
|
74
59
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
75
60
|
className: "".concat(preCls, "-dynamic")
|
|
76
61
|
}, /*#__PURE__*/_react["default"].createElement(_tooltip.TooltipText, {
|
|
77
|
-
text: /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
78
|
-
id: userId,
|
|
79
|
-
name: name
|
|
80
|
-
}), "\u70B9\u8D5E\u4E86", /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
62
|
+
text: /*#__PURE__*/_react["default"].createElement("span", null, "\u70B9\u8D5E\u4E86", /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
|
81
63
|
id: toUserId,
|
|
82
64
|
name: toUserName
|
|
83
65
|
}), "\u7684".concat(_constant.ObjectType[pariseObjType] || "feed")),
|
|
@@ -7,6 +7,8 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
+
var _rcQueueAnim = _interopRequireDefault(require("rc-queue-anim"));
|
|
11
|
+
|
|
10
12
|
var _dynamicItem = _interopRequireDefault(require("../dynamic-item"));
|
|
11
13
|
|
|
12
14
|
var _dynamicEmpty = _interopRequireDefault(require("../img/dynamic-empty.png"));
|
|
@@ -46,6 +48,10 @@ var DynamicList = function DynamicList(_ref) {
|
|
|
46
48
|
className: prefix + "__empty-text"
|
|
47
49
|
}, "\u6682\u65E0\u52A8\u6001\u4FE1\u606F"))), /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
48
50
|
condition: data.length !== 0
|
|
51
|
+
}, /*#__PURE__*/_react["default"].createElement(_rcQueueAnim["default"], {
|
|
52
|
+
type: 'bottom',
|
|
53
|
+
delay: 0,
|
|
54
|
+
duration: 500
|
|
49
55
|
}, data.map(function (item, index) {
|
|
50
56
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
51
57
|
className: prefix + "__item-wrapper",
|
|
@@ -54,7 +60,7 @@ var DynamicList = function DynamicList(_ref) {
|
|
|
54
60
|
data: item,
|
|
55
61
|
onDeleteFeed: handleDeleteFeed
|
|
56
62
|
}));
|
|
57
|
-
})));
|
|
63
|
+
}))));
|
|
58
64
|
};
|
|
59
65
|
|
|
60
66
|
var _default = DynamicList;
|
|
@@ -37,6 +37,8 @@ var _popDownNotification = require("../pop-down-notification");
|
|
|
37
37
|
|
|
38
38
|
require("./dynamic.css");
|
|
39
39
|
|
|
40
|
+
require("./new-ui.css");
|
|
41
|
+
|
|
40
42
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
41
43
|
|
|
42
44
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
@@ -65,7 +67,8 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
65
67
|
|
|
66
68
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
67
69
|
|
|
68
|
-
|
|
70
|
+
// @ts-ignore
|
|
71
|
+
var prefix = BSGlobal.tenantInfo.isNewIndex ? "titaui-new-ui-dynamic" : "titaui-dynamic";
|
|
69
72
|
var requestId = 0;
|
|
70
73
|
|
|
71
74
|
var Dynamic = function Dynamic() {
|
|
@@ -104,7 +107,7 @@ var Dynamic = function Dynamic() {
|
|
|
104
107
|
searchUser = _useState14[0],
|
|
105
108
|
setSearchUser = _useState14[1];
|
|
106
109
|
|
|
107
|
-
var _useState15 = (0, _react.useState)(
|
|
110
|
+
var _useState15 = (0, _react.useState)(true),
|
|
108
111
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
109
112
|
isLoading = _useState16[0],
|
|
110
113
|
setIsLoading = _useState16[1];
|
|
@@ -189,7 +192,6 @@ var Dynamic = function Dynamic() {
|
|
|
189
192
|
TitaHost: "",
|
|
190
193
|
RequestSource: 0
|
|
191
194
|
}).then(function (resp) {
|
|
192
|
-
setIsLoading(false);
|
|
193
195
|
setIsLoadingMore(false);
|
|
194
196
|
setIsChangeConditionLoading(false);
|
|
195
197
|
if (requestId !== reqId) return;
|
|
@@ -259,7 +261,6 @@ var Dynamic = function Dynamic() {
|
|
|
259
261
|
};
|
|
260
262
|
|
|
261
263
|
(0, _react.useEffect)(function () {
|
|
262
|
-
setIsLoading(true);
|
|
263
264
|
(0, _requestApi.getMenu)().then(function (resp) {
|
|
264
265
|
if (resp.Code === 1) {
|
|
265
266
|
var data = (0, _util.formatMenu)(resp.Data);
|
|
@@ -284,6 +285,8 @@ var Dynamic = function Dynamic() {
|
|
|
284
285
|
setActiveSecondLevelTabKey(data[0].ChildMenus[0].CodeId);
|
|
285
286
|
}
|
|
286
287
|
}
|
|
288
|
+
|
|
289
|
+
setIsLoading(false);
|
|
287
290
|
});
|
|
288
291
|
}, []);
|
|
289
292
|
(0, _react.useEffect)(function () {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports
|
|
6
|
+
exports["default"] = exports.DynamicTopping = exports.DynamicQuickOperation = exports.DynamicLiking = exports.DynamicLikeRanking = exports.DynamicItem = void 0;
|
|
7
7
|
|
|
8
8
|
var _quickOperation = _interopRequireDefault(require("../quick-operation"));
|
|
9
9
|
|
|
@@ -5,7 +5,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports
|
|
8
|
+
exports["default"] = exports.DynamicTopping = exports.DynamicQuickOperation = exports.DynamicLiking = exports.DynamicLikeRanking = exports.DynamicItem = void 0;
|
|
9
9
|
|
|
10
10
|
var _exportModule = _interopRequireWildcard(require("./export-module"));
|
|
11
11
|
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
.titaui-new-ui-dynamic {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: column;
|
|
5
|
+
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
6
|
+
min-width: 970px;
|
|
7
|
+
height: 100%;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.titaui-new-ui-dynamic__header {
|
|
11
|
+
position: absolute;
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: space-between;
|
|
14
|
+
height: 68px;
|
|
15
|
+
background: #ffffff;
|
|
16
|
+
box-shadow: 0px 0px 24px 0px rgba(127, 145, 180, 0.2);
|
|
17
|
+
padding: 0 24px;
|
|
18
|
+
width: calc(100% - 14px);
|
|
19
|
+
box-sizing: border-box;
|
|
20
|
+
z-index: 3;
|
|
21
|
+
border-radius: 12px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.titaui-new-ui-dynamic__header--content-scroll {
|
|
25
|
+
background: rgba(255, 255, 255, 0.92);
|
|
26
|
+
backdrop-filter: blur(4px);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.titaui-new-ui-dynamic__header-tab {
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
height: 100%;
|
|
33
|
+
position: relative;
|
|
34
|
+
font-size: 16px;
|
|
35
|
+
color: #141c28;
|
|
36
|
+
line-height: 24px;
|
|
37
|
+
cursor: pointer;
|
|
38
|
+
margin-right: 36px;
|
|
39
|
+
white-space: nowrap;
|
|
40
|
+
word-break: keep-all;
|
|
41
|
+
overflow: hidden;
|
|
42
|
+
text-overflow: ellipsis;
|
|
43
|
+
font-weight: 400;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.titaui-new-ui-dynamic__header-tab--active {
|
|
47
|
+
color: #2879ff;
|
|
48
|
+
font-weight: 600;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.titaui-new-ui-dynamic__header-tab--active::before {
|
|
52
|
+
content: "";
|
|
53
|
+
display: inline-block;
|
|
54
|
+
position: absolute;
|
|
55
|
+
bottom: 0;
|
|
56
|
+
left: 50%;
|
|
57
|
+
transform: translateX(-50%);
|
|
58
|
+
width: 24px;
|
|
59
|
+
height: 4px;
|
|
60
|
+
background: linear-gradient(90deg, #4e90ff 0%, #2879ff 100%);
|
|
61
|
+
border-radius: 2px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.titaui-new-ui-dynamic__header-search {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.titaui-new-ui-dynamic__content {
|
|
70
|
+
position: relative;
|
|
71
|
+
display: flex;
|
|
72
|
+
flex: 1;
|
|
73
|
+
overflow: auto;
|
|
74
|
+
overflow: overlay;
|
|
75
|
+
padding: 88px 0 0 0;
|
|
76
|
+
box-sizing: border-box;
|
|
77
|
+
background: #f0f4fa;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.titaui-new-ui-dynamic__content-left {
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
width: calc(100% - 288px);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.titaui-new-ui-dynamic__content-left-tabs {
|
|
87
|
+
display: flex;
|
|
88
|
+
align-items: center;
|
|
89
|
+
min-height: 48px;
|
|
90
|
+
max-height: 48px;
|
|
91
|
+
background: #ffffff;
|
|
92
|
+
box-shadow: 0px 0px 8px 0px rgba(127, 145, 180, 0.1);
|
|
93
|
+
border-radius: 12px;
|
|
94
|
+
padding-left: 20px;
|
|
95
|
+
margin-bottom: 10px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.titaui-new-ui-dynamic__content-left-tab {
|
|
99
|
+
display: inline-flex;
|
|
100
|
+
align-items: center;
|
|
101
|
+
height: 30px;
|
|
102
|
+
padding: 4px 12px;
|
|
103
|
+
background: #ffffff;
|
|
104
|
+
border-radius: 15px;
|
|
105
|
+
font-size: 14px;
|
|
106
|
+
color: #3f4755;
|
|
107
|
+
line-height: 22px;
|
|
108
|
+
box-sizing: border-box;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
white-space: nowrap;
|
|
111
|
+
word-break: keep-all;
|
|
112
|
+
overflow: hidden;
|
|
113
|
+
text-overflow: ellipsis;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.titaui-new-ui-dynamic__content-left-tab--active {
|
|
117
|
+
background: rgba(40, 121, 255, 0.1);
|
|
118
|
+
color: #2879ff;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.titaui-new-ui-dynamic__content-left-loading {
|
|
122
|
+
margin: 0 auto;
|
|
123
|
+
background-image: url("./img/dynamic-loading.gif");
|
|
124
|
+
background-repeat: no-repeat;
|
|
125
|
+
background-size: 100px 40px;
|
|
126
|
+
padding-bottom: 60px;
|
|
127
|
+
width: 100px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.titaui-new-ui-dynamic__content-right {
|
|
131
|
+
margin-left: 10px;
|
|
132
|
+
background: #f0f4fa;
|
|
133
|
+
margin-right: 14px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.titaui-new-ui-dynamic__loading {
|
|
137
|
+
position: absolute;
|
|
138
|
+
width: 100%;
|
|
139
|
+
height: 100%;
|
|
140
|
+
z-index: 4;
|
|
141
|
+
background: #f0f4fa;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.titaui-new-ui-dynamic__loading-img {
|
|
145
|
+
width: 100px;
|
|
146
|
+
position: relative;
|
|
147
|
+
top: 50%;
|
|
148
|
+
left: 50%;
|
|
149
|
+
transform: translate(-50%, -50%);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.titaui-new-ui-dynamic__empty-loading-block {
|
|
153
|
+
height: 160px;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.titaui-new-ui-dynamic__no-more-data {
|
|
157
|
+
display: flex;
|
|
158
|
+
justify-content: center;
|
|
159
|
+
align-items: center;
|
|
160
|
+
padding-bottom: 20px;
|
|
161
|
+
font-size: 14px;
|
|
162
|
+
color: #6f7886;
|
|
163
|
+
line-height: 22px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.titaui-new-ui-dynamic__no-more-data::before {
|
|
167
|
+
content: "";
|
|
168
|
+
display: inline-block;
|
|
169
|
+
margin-right: 12px;
|
|
170
|
+
width: 192px;
|
|
171
|
+
height: 2px;
|
|
172
|
+
background: linear-gradient(90deg, #f0f4fa 0%, #b8c3d5 100%);
|
|
173
|
+
border-radius: 1px;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.titaui-new-ui-dynamic__no-more-data::after {
|
|
177
|
+
content: "";
|
|
178
|
+
display: inline-block;
|
|
179
|
+
margin-left: 12px;
|
|
180
|
+
width: 192px;
|
|
181
|
+
height: 2px;
|
|
182
|
+
background: linear-gradient(90deg, #b8c3d5 0%, #f0f4fa 100%);
|
|
183
|
+
border-radius: 1px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.titaui-new-ui-dynamic__go-to-top {
|
|
187
|
+
position: fixed;
|
|
188
|
+
bottom: 28px;
|
|
189
|
+
right: 28px;
|
|
190
|
+
display: flex;
|
|
191
|
+
align-items: center;
|
|
192
|
+
justify-content: center;
|
|
193
|
+
width: 52px;
|
|
194
|
+
height: 52px;
|
|
195
|
+
background: rgba(255, 255, 255, 0.86);
|
|
196
|
+
box-shadow: 0px 4px 12px 0px rgba(127, 145, 180, 0.2);
|
|
197
|
+
border-radius: 50%;
|
|
198
|
+
cursor: pointer;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.titaui-new-ui-dynamic__go-to-top-img {
|
|
202
|
+
display: inline-block;
|
|
203
|
+
width: 24px;
|
|
204
|
+
height: 24px;
|
|
205
|
+
background: url("./img/dynamic-top.svg") no-repeat;
|
|
206
|
+
}
|
|
@@ -7,7 +7,7 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _sendAnnouncement = _interopRequireDefault(require("../../img/send-announcement.png"));
|
|
11
11
|
|
|
12
12
|
require("./index.css");
|
|
13
13
|
|
|
@@ -27,7 +27,7 @@ var CreateAnnouncement = function CreateAnnouncement(_ref) {
|
|
|
27
27
|
onClick: handleCreateAnnouncementClick
|
|
28
28
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
29
29
|
className: "".concat(prefix, "__img animate__rubberBand"),
|
|
30
|
-
src:
|
|
30
|
+
src: _sendAnnouncement["default"]
|
|
31
31
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
32
32
|
className: prefix + '__text'
|
|
33
33
|
}, "\u53D1\u516C\u544A"));
|
|
@@ -7,7 +7,7 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _okr = _interopRequireDefault(require("../../img/okr.png"));
|
|
11
11
|
|
|
12
12
|
require("./index.css");
|
|
13
13
|
|
|
@@ -27,7 +27,7 @@ var CreateOKr = function CreateOKr(_ref) {
|
|
|
27
27
|
onClick: handleCreateOKrClick
|
|
28
28
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
29
29
|
className: "".concat(prefix, "__img animate__rubberBand"),
|
|
30
|
-
src:
|
|
30
|
+
src: _okr["default"]
|
|
31
31
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
32
32
|
className: prefix + '__text'
|
|
33
33
|
}, "\u65B0\u5EFAOKR"));
|
|
@@ -7,7 +7,7 @@ exports["default"] = void 0;
|
|
|
7
7
|
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _sendShare = _interopRequireDefault(require("../../img/send-share.png"));
|
|
11
11
|
|
|
12
12
|
require("./index.css");
|
|
13
13
|
|
|
@@ -27,7 +27,7 @@ var CreateShare = function CreateShare(_ref) {
|
|
|
27
27
|
onClick: handleCreateShareClick
|
|
28
28
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
29
29
|
className: "".concat(prefix, "__img animate__rubberBand"),
|
|
30
|
-
src:
|
|
30
|
+
src: _sendShare["default"]
|
|
31
31
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
32
32
|
className: prefix + "__text"
|
|
33
33
|
}, "\u53D1\u5206\u4EAB"));
|
|
@@ -9,7 +9,7 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _task = _interopRequireDefault(require("../../img/task.png"));
|
|
13
13
|
|
|
14
14
|
require("./index.css");
|
|
15
15
|
|
|
@@ -33,7 +33,7 @@ var CreateTask = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
33
33
|
ref: ref
|
|
34
34
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
35
35
|
className: "".concat(prefix, "__img animate__rubberBand"),
|
|
36
|
-
src:
|
|
36
|
+
src: _task["default"]
|
|
37
37
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
38
38
|
className: prefix + '__text'
|
|
39
39
|
}, "\u65B0\u5EFA\u4EFB\u52A1"));
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.topDynamic = exports.getRanking = exports.getPraise = exports.getMenu = exports.getLeastPariseInfo = exports.getDynamicFeedList = exports.deleteDynamic = exports.collectDynamic = exports.cancelTopDynamic = exports.cancelCollectDynamic = void 0;
|
|
7
7
|
|
|
8
8
|
var _request = require("../../utils/request");
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.getProgressState = exports.getFeedTypeAndTypeColor = exports.formatMenu = exports.formatCycleData = void 0;
|
|
7
7
|
|
|
8
8
|
var _constant = require("./constant");
|
|
9
9
|
|
|
@@ -74,7 +74,7 @@ var getFeedTypeAndTypeColor = function getFeedTypeAndTypeColor(feedType) {
|
|
|
74
74
|
|
|
75
75
|
if (feedType === _constant.EFeedType.Task) {
|
|
76
76
|
feedTypeText = '任务';
|
|
77
|
-
feedTypeColor = 'linear-gradient(90deg, #
|
|
77
|
+
feedTypeColor = 'linear-gradient(90deg, #00D685 0%, #9EFFDA 100%)';
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
return {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.TimePickTextStyle = exports.TimePickStyle = exports.ListTopTimePickDivStyle = exports.ListTopLabelStyle = exports.ListTopDivStyle = exports.ListStyle = exports.ListItemStyle = exports.ItemTimeTextStyle = exports.ItemTimeDivStyle = exports.ItemTimeBackgroundStyle = exports.ItemOptionsShareTextStyle = exports.ItemOptionsShareBackgroundStyle = exports.ItemOptionsMoreInfoTextStyle = exports.ItemOptionsMoreInfoBackgroundStyle = exports.ItemOptionsChildsDivStyle = exports.ItemOptionsActionsDivStyle = void 0;
|
|
7
7
|
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.PraiseRecordClose = exports.
|
|
6
|
+
exports.PraiseRecordClose = exports.ModalWrapper = exports.ModalHead = exports.ModalContainer = void 0;
|
|
7
7
|
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.ToastWrapper = exports.ToastContainer = exports.SpanSuccess = exports.SpanError = void 0;
|
|
7
7
|
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.KrTitle = exports.KrListItem = exports.KrCounter = exports.ItemWrapper = exports.ItemLabel = exports.InvalidTextContainer = exports.FormItemWrapper = exports.FormItemLabel = exports.FormItemContainer = exports.EditWightContent = void 0;
|
|
7
7
|
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.Emotoins = exports.
|
|
6
|
+
exports.Emotoins = exports.EmotionWrapper = exports.EmotionTabItem = exports.EmotionTabContainer = exports.EmotionContent = exports.EmotionClose = exports.EmotionBox = exports.EmotionBodyscroll = exports.EmotionBodyItem = exports.EmotionBodyContainer = void 0;
|
|
7
7
|
|
|
8
8
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
9
9
|
|