@titaui/pc 1.11.27-beta.8 → 1.11.29
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/name-avatar/index.css +0 -1
- package/lib/components/avatar/name-avatar/index.js +13 -22
- package/lib/components/avatar/text-avatar/index.css +7 -0
- package/lib/components/avatar/text-avatar/index.js +32 -7
- package/lib/components/button/icon-btn/index.js +17 -8
- package/lib/components/button/rect-btn/index.css +11 -45
- package/lib/components/button/rect-btn/index.js +13 -19
- package/lib/components/change-okr-modal/Item.js +14 -14
- package/lib/components/change-okr-modal/index.js +1 -2
- package/lib/components/create-okr-modal/index.js +1 -3
- package/lib/components/create-okr-modal/request-api.js +1 -1
- package/lib/components/dialog-confirm/index.css +2 -2
- package/lib/components/drawer/headerAction.js +1 -5
- package/lib/components/drawer/headerDrop.js +4 -42
- package/lib/components/drawer/index.css +0 -33
- package/lib/components/drawer/index.js +3 -26
- package/lib/components/drop-selector/index.js +25 -10
- package/lib/components/dynamic/advertise/components/next-btn/index.css +27 -0
- package/lib/components/dynamic/advertise/components/next-btn/index.js +32 -0
- package/lib/components/dynamic/advertise/components/pre-btn/index.css +26 -0
- package/lib/components/dynamic/advertise/components/pre-btn/index.js +32 -0
- package/lib/components/dynamic/advertise/index.css +21 -0
- package/lib/components/dynamic/advertise/index.js +126 -0
- package/lib/components/dynamic/advertise/interface.js +5 -0
- package/lib/components/dynamic/advertise/util.js +28 -0
- package/lib/components/dynamic/components/dynamic-search-input/index.css +81 -0
- package/lib/components/dynamic/components/dynamic-search-input/index.js +203 -0
- package/lib/components/dynamic/components/first-level-tabs/index.css +101 -0
- package/lib/components/dynamic/components/first-level-tabs/index.js +131 -0
- package/lib/components/dynamic/constant.js +33 -32
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/dynamic-footer.js +9 -9
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-interview/img/wifi.svg +24 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview/index.css +51 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview/index.js +50 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview/interview-content.js +65 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/img/wifi.svg +24 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.css +61 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/index.js +61 -0
- package/lib/components/dynamic/dynamic-item/dynamic-interview-share/interview-content.js +69 -0
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +5 -5
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +6 -6
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +10 -10
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.js +13 -13
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +9 -9
- package/lib/components/dynamic/dynamic-item/index.js +50 -32
- package/lib/components/dynamic/dynamic-like-ranking/image/like-ranking.svg +23 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-1.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-2.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-3.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-empty.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/index.css +146 -0
- package/lib/components/dynamic/dynamic-like-ranking/index.js +180 -0
- package/lib/components/dynamic/dynamic-like-ranking/item.js +105 -0
- package/lib/components/dynamic/dynamic-like-ranking/mock.js +84 -0
- package/lib/components/dynamic/dynamic-liking/image/like-dynamic.svg +30 -0
- package/lib/components/dynamic/dynamic-liking/index.css +81 -0
- package/lib/{pages/new-okr-list/header/operate-record.js → components/dynamic/dynamic-liking/index.js} +39 -91
- package/lib/components/dynamic/dynamic-liking/item.js +75 -0
- package/lib/components/dynamic/dynamic-liking/mock.js +83 -0
- package/lib/components/dynamic/dynamic-list/index.js +7 -15
- package/lib/components/dynamic/dynamic-topping/image/quotation-mark.svg +16 -0
- package/lib/components/dynamic/dynamic-topping/image/top-icon.svg +30 -0
- package/lib/components/dynamic/dynamic-topping/index.css +141 -0
- package/lib/components/dynamic/dynamic-topping/index.js +82 -0
- package/lib/components/dynamic/dynamic-topping/interface.js +5 -0
- package/lib/components/dynamic/dynamic-topping/item.js +153 -0
- package/lib/components/dynamic/dynamic-topping/request-api.js +36 -0
- package/lib/components/dynamic/dynamic.css +173 -0
- package/lib/components/dynamic/dynamic.js +428 -0
- package/lib/components/dynamic/export-module/index.js +37 -0
- package/lib/components/dynamic/img/dynamic-top.svg +14 -0
- package/lib/components/dynamic/index.js +12 -9
- package/lib/components/dynamic/my-team/img/add-subordinate.png +0 -0
- package/lib/components/dynamic/my-team/img/line.png +0 -0
- package/lib/components/dynamic/my-team/img/team.png +0 -0
- package/lib/components/dynamic/my-team/index.css +184 -0
- package/lib/components/dynamic/my-team/index.js +263 -0
- package/lib/components/dynamic/my-team/request-api.js +52 -0
- package/lib/components/dynamic/my-team/util.js +20 -0
- package/lib/components/dynamic/new-ui.css +192 -0
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.css +58 -0
- package/lib/components/dynamic/online-broadcast/components/broadcast-item/index.js +68 -0
- package/lib/components/dynamic/online-broadcast/data.js +77 -0
- package/lib/components/dynamic/online-broadcast/img/broadcast.svg +14 -0
- package/lib/components/dynamic/online-broadcast/img/new.png +0 -0
- package/lib/components/dynamic/online-broadcast/img/preview.png +0 -0
- package/lib/components/dynamic/online-broadcast/index.css +46 -0
- package/lib/components/dynamic/online-broadcast/index.js +61 -0
- package/lib/components/dynamic/online-broadcast/interfact.js +5 -0
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.css +25 -0
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +39 -0
- package/lib/components/dynamic/quick-operation/components/create-okr/index.css +25 -0
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +39 -0
- package/lib/components/dynamic/quick-operation/components/create-share/index.css +25 -0
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +39 -0
- package/lib/components/dynamic/quick-operation/components/create-task/index.css +25 -0
- package/lib/components/dynamic/quick-operation/components/create-task/index.js +44 -0
- package/lib/components/dynamic/quick-operation/img/new-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/new-task.png +0 -0
- package/lib/components/dynamic/quick-operation/index.css +51 -0
- package/lib/components/dynamic/quick-operation/index.js +120 -0
- package/lib/components/dynamic/request-api.js +68 -7
- package/lib/components/e-priority/index.js +8 -8
- package/lib/components/eReport/eReportShare/index.js +11 -11
- package/lib/components/form/form-fields/date/index.css +24 -0
- package/lib/components/form/form-fields/date/index.js +102 -0
- package/lib/components/form/form-fields/input/index.js +10 -10
- package/lib/components/form/form-fields/user/index.css +23 -3
- package/lib/components/form/form-fields/user/index.js +18 -8
- package/lib/components/form/form-fields/user/user-input.js +15 -6
- package/lib/components/form/index.js +10 -3
- package/lib/components/grid-layout/sub-employee-okr/person-okr.js +5 -5
- package/lib/components/icon-button-list/index.js +3 -3
- package/lib/components/img-viewer/index.css +3 -3
- package/lib/components/img-viewer/index.js +11 -11
- package/lib/components/menus/components/menu-tree/images/interview-menu/my-interview.svg +16 -0
- package/lib/components/menus/components/menu-tree/images/interview-menu/template.svg +16 -0
- package/lib/components/menus/components/menu-tree/images/interview-menu/todo.svg +16 -0
- package/lib/components/menus/components/menu-tree/index.css +4 -2
- package/lib/components/menus/components/menu-tree/tree-node/index.css +85 -1
- package/lib/components/menus/export-modules/interview-menus/constant.js +30 -0
- package/lib/components/menus/export-modules/interview-menus/handle-highlight.js +63 -0
- package/lib/components/menus/export-modules/interview-menus/index.css +7 -0
- package/lib/components/menus/export-modules/interview-menus/index.js +128 -0
- package/lib/components/menus/index.js +11 -5
- package/lib/components/nav-top/components/menu/index.js +14 -14
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +25 -19
- package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +48 -10
- package/lib/components/nav-top/components/user-message/constant.js +1 -0
- package/lib/components/nav-top/components/user-message/hrMessage.js +22 -19
- package/lib/components/nav-top/components/user-message/index.js +23 -20
- package/lib/components/nav-top/index.js +4 -8
- package/lib/components/nav-top/request.apis.js +3 -1
- package/lib/components/okr-detail/base-info/other-infos/date-cycle/index.js +4 -20
- package/lib/components/okr-detail/base-info/other-infos/principal/index.js +1 -9
- package/lib/components/okr-detail/components/header/index.js +3 -10
- package/lib/components/okr-detail/components/header/o-name.js +3 -10
- package/lib/components/okr-detail/components/o-classify.js +1 -5
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +7 -7
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +10 -14
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +10 -0
- package/lib/components/okr-detail/detail-header/actions.js +23 -23
- package/lib/components/okr-detail/detail-header/delete-confirm/delete-confirm.js +43 -98
- package/lib/components/okr-detail/detail-header/delete-confirm/style.js +38 -0
- package/lib/components/okr-detail/detail-header/index.css +0 -11
- package/lib/components/okr-detail/detail-header/index.js +234 -228
- package/lib/components/okr-detail/index.js +21 -40
- package/lib/components/okr-detail/okr-list/index.js +8 -11
- package/lib/components/okr-detail/request-apis.js +4 -10
- package/lib/components/okr-flow/child-node/index.css +6 -6
- package/lib/components/okr-flow/child-node/work-node.js +21 -21
- package/lib/components/okr-flow/export-modal/index.js +33 -19
- package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +14 -14
- package/lib/components/okr-flow/okr-map/index.js +5 -5
- package/lib/components/okr-flow/request-apis.js +4 -4
- package/lib/components/okr-flow/root-node/index.js +25 -24
- package/lib/components/okr-flow/utils/index.js +5 -5
- package/lib/components/okr-flow/utils/tree-handler.js +17 -17
- package/lib/components/okr-period-selector/index.js +5 -9
- package/lib/components/okr-period-selector/select-cycle.js +19 -23
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +30 -30
- package/lib/components/operation-records/index.js +1 -1
- package/lib/components/operation-records/style.js +1 -1
- package/lib/components/pagination/index.css +3 -3
- package/lib/components/pagination/select.css +58 -23
- package/lib/components/period-selector/index.css +3 -3
- package/lib/components/period-selector/index.js +11 -11
- package/lib/components/picker/components/panels/date-panel/date-body.js +118 -0
- package/lib/components/picker/components/panels/date-panel/date-head.js +87 -0
- package/lib/components/picker/components/panels/date-panel/index.css +14 -0
- package/lib/components/picker/components/panels/date-panel/index.js +49 -0
- package/lib/components/picker/components/panels/month-panel/index.css +27 -0
- package/lib/components/picker/components/panels/month-panel/index.js +63 -0
- package/lib/components/picker/components/panels/month-panel/month-body.js +89 -0
- package/lib/components/picker/components/panels/month-panel/month-head.js +47 -0
- package/lib/components/picker/components/panels/panel-body/index.js +53 -0
- package/lib/components/picker/components/panels/panel-head/index.js +48 -0
- package/lib/components/picker/components/panels/year-panel/index.css +23 -0
- package/lib/components/picker/components/panels/year-panel/index.js +65 -0
- package/lib/components/picker/components/panels/year-panel/year-body.js +92 -0
- package/lib/components/picker/components/panels/year-panel/year-head.js +35 -0
- package/lib/components/picker/components/picker-trigger/index.css +57 -0
- package/lib/components/picker/components/picker-trigger/index.js +94 -0
- package/lib/components/picker/context.js +15 -0
- package/lib/components/picker/index.css +121 -0
- package/lib/components/picker/index.js +13 -0
- package/lib/components/picker/picker-panels.js +182 -0
- package/lib/components/picker/picker.js +132 -0
- package/lib/components/picker/type.js +5 -0
- package/lib/components/picker/utils.js +28 -0
- package/lib/components/popup/index.js +4 -4
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +10 -16
- package/lib/components/radio/index.css +9 -9
- package/lib/components/scrollbar/scroll-mask/index.js +1 -1
- package/lib/components/superset-charts/utils/axios.js +5 -5
- package/lib/components/survey-model/index.css +18 -18
- package/lib/components/survey-model/instance.js +1 -1
- package/lib/components/task-relation-modal/request-api.js +1 -2
- package/lib/components/task-tree/helper.js +61 -0
- package/lib/components/task-tree/images/P1.svg +15 -0
- package/lib/components/task-tree/images/P2.svg +15 -0
- package/lib/components/task-tree/images/P3.svg +15 -0
- package/lib/components/task-tree/images/P4.svg +15 -0
- package/lib/components/task-tree/images/P5.svg +15 -0
- package/lib/components/task-tree/images/arrow.svg +9 -0
- package/lib/components/task-tree/images/empty-131.png +0 -0
- package/lib/components/task-tree/images/followed.svg +33 -0
- package/lib/components/task-tree/images/nice.svg +108 -0
- package/lib/components/task-tree/images/struc12.png +0 -0
- package/lib/components/task-tree/images/struc2.png +0 -0
- package/lib/components/task-tree/images/xialat-s.svg +13 -0
- package/lib/components/task-tree/index.js +22 -0
- package/lib/components/task-tree/mock.js +944 -0
- package/lib/components/task-tree/precls.js +8 -0
- package/lib/components/task-tree/request-apis.js +88 -0
- package/lib/components/task-tree/task-item-node/constant.js +45 -0
- package/lib/components/task-tree/task-item-node/e-empty.js +29 -0
- package/lib/components/task-tree/task-item-node/e-project.js +212 -0
- package/lib/components/task-tree/task-item-node/e-status-dropdown.js +94 -0
- package/lib/components/task-tree/task-item-node/e-task.js +426 -0
- package/lib/components/task-tree/task-item-node/get-process-color.js +62 -0
- package/lib/components/task-tree/task-item-node/index.css +289 -0
- package/lib/components/task-tree/task-item-node/task-node-render.js +43 -0
- package/lib/components/task-tree/task-tree.css +16 -0
- package/lib/components/task-tree/task-tree.js +49 -0
- package/lib/components/time-picker/index.css +123 -0
- package/lib/components/time-picker/index.js +13 -0
- package/lib/components/time-picker/time-picker-selector.js +138 -0
- package/lib/components/time-picker/time-picker.js +336 -0
- package/lib/components/time-picker/timer-picker-input.js +96 -0
- package/lib/components/time-picker/utils.js +52 -0
- package/lib/components/toast/index.js +3 -5
- package/lib/components/user-selector/select-tree/tree-nodes/tree-person-node/index.css +1 -0
- package/lib/components-v1/radio/radio.js +3 -3
- package/lib/components-v1/radio/style/index.css +8 -8
- package/lib/index.js +0 -40
- package/lib/pages/aha2021/index.js +5 -1
- package/lib/pages/new-okr-list/header/index.css +0 -45
- package/lib/pages/new-okr-list/header/index.js +16 -38
- package/lib/pages/new-okr-list/index.js +1 -3
- package/lib/pages/new-okr-list/list/index.js +2 -19
- package/lib/pages/new-okr-list/request-api.js +2 -8
- package/lib/pages/okr-map/export-modules/okr-map/header/index.js +24 -24
- package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +31 -31
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.css +2 -2
- package/lib/pages/okr-map/export-modules/share-okr-page/header/index.js +11 -11
- package/lib/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +8 -8
- package/lib/pages/okr-map/number-select/index.js +2 -2
- package/lib/pages/okr-map/unsupport-ie/index.js +5 -3
- package/lib/utils/auth.js +6 -6
- package/lib/utils/bs-global.js +12 -12
- package/lib/utils/format-time.js +1 -8
- package/lib/utils/hooks.js +72 -0
- package/lib/utils/open-data.js +27 -31
- package/package.json +6 -3
- package/.eslintignore +0 -3
- package/.eslintrc.js +0 -223
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -31
- package/.prettierrc.js +0 -90
- package/.vscode/settings.json +0 -5
- package/lib/components/okr-detail/detail-header/constant.js +0 -53
- package/lib/components/okr-detail/detail-header/delete-confirm/index.css +0 -55
- package/lib/components/okr-detail/helper.js +0 -108
- package/lib/components/textarea/index.css +0 -142
- package/lib/components/textarea/index.js +0 -259
- package/lib/pages/new-okr-list/header/common.js +0 -52
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>个人关注</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<polygon id="path-1" points="0 1.00045 17.9999551 1.00045 17.9999551 16.405075 0 16.405075"></polygon>
|
|
6
|
+
<linearGradient x1="0.25764171%" y1="0%" x2="99.7423583%" y2="100%" id="linearGradient-3">
|
|
7
|
+
<stop stop-color="#FFE1A5" offset="0%"></stop>
|
|
8
|
+
<stop stop-color="#FBB221" offset="100%"></stop>
|
|
9
|
+
</linearGradient>
|
|
10
|
+
<path d="M16.9495342,8.36 C17.3095342,7.96 17.4695342,7.40000001 17.2695341,6.88 C17.1095342,6.36 16.6695342,6 16.1895341,5.96000001 L12.3095341,5.36 C12.1495341,5.31999999 12.0295341,5.23999999 11.9495341,5.08 L10.1895342,1.4 C9.94953416,0.919999992 9.46953415,0.6 8.94953416,0.6 C8.42953416,0.6 7.94953415,0.880000002 7.70953416,1.4 L5.98953416,5.08 C5.90953416,5.23999999 5.78953415,5.36 5.62953416,5.36 L1.74953416,5.96000001 C1.22953416,6.04000001 0.829534153,6.40000001 0.669534157,6.88 C0.509534161,7.39999999 0.629534149,7.96 0.989534149,8.36 L3.82953416,11.24 C3.94953416,11.36 3.98953415,11.52 3.94953415,11.72 L3.26953415,15.76 C3.18953416,16.32 3.38953416,16.84 3.86953415,17.16 C4.30953415,17.44 4.82953414,17.48 5.30953415,17.24 L8.78953416,15.32 C8.90953417,15.24 9.06953416,15.24 9.18953415,15.32 L12.6695341,17.24 C12.8695341,17.36 13.1095341,17.4 13.3095341,17.4 C13.5895341,17.4 13.8695342,17.32 14.1095341,17.16 C14.5495341,16.84 14.7895341,16.32 14.6695341,15.76 L13.9895342,11.68 C13.9495341,11.52 14.0295342,11.32 14.1495342,11.2 L16.9495342,8.36 Z" id="path-4"></path>
|
|
11
|
+
</defs>
|
|
12
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
13
|
+
<g id="推屏顶部-交互说明" transform="translate(-1172.000000, -571.000000)">
|
|
14
|
+
<g id="编组-7" transform="translate(1138.000000, 570.000000)">
|
|
15
|
+
<g id="编组-22" transform="translate(0.000000, 1.000000)">
|
|
16
|
+
<g id="个人关注" transform="translate(34.000000, 0.000000)">
|
|
17
|
+
<rect id="矩形" fill="#000000" fill-rule="nonzero" opacity="0" x="0" y="0" width="18" height="18"></rect>
|
|
18
|
+
<g id="yiguanzhu-">
|
|
19
|
+
<mask id="mask-2" fill="white">
|
|
20
|
+
<use xlink:href="#path-1"></use>
|
|
21
|
+
</mask>
|
|
22
|
+
<g id="Clip-2"></g>
|
|
23
|
+
<mask id="mask-5" fill="white">
|
|
24
|
+
<use xlink:href="#path-4"></use>
|
|
25
|
+
</mask>
|
|
26
|
+
<use id="路径" fill="url(#linearGradient-3)" fill-rule="nonzero" xlink:href="#path-4"></use>
|
|
27
|
+
</g>
|
|
28
|
+
</g>
|
|
29
|
+
</g>
|
|
30
|
+
</g>
|
|
31
|
+
</g>
|
|
32
|
+
</g>
|
|
33
|
+
</svg>
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="30px" height="30px" viewBox="0 0 30 30" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>有见地</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<path d="M11.6404987,21.4833041 C17.9523244,21.4833041 23.0690701,17.9665583 23.0690701,11.6547326 C23.0690701,5.34290692 17.9523244,0.226161206 11.6404987,0.226161206 C5.328673,0.226161206 0.21192728,5.34290692 0.21192728,11.6547326 C0.21192728,17.9665583 5.328673,21.4833041 11.6404987,21.4833041 Z" id="path-1"></path>
|
|
6
|
+
<filter x="-13.1%" y="-14.1%" width="126.2%" height="128.2%" filterUnits="objectBoundingBox" id="filter-2">
|
|
7
|
+
<feGaussianBlur stdDeviation="2" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
|
|
8
|
+
<feOffset dx="0" dy="-1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
|
|
9
|
+
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
|
|
10
|
+
<feColorMatrix values="0 0 0 0 1 0 0 0 0 0.764705882 0 0 0 0 0.0784313725 0 0 0 1 0" type="matrix" in="shadowInnerInner1" result="shadowMatrixInner1"></feColorMatrix>
|
|
11
|
+
<feGaussianBlur stdDeviation="2" in="SourceAlpha" result="shadowBlurInner2"></feGaussianBlur>
|
|
12
|
+
<feOffset dx="0" dy="2" in="shadowBlurInner2" result="shadowOffsetInner2"></feOffset>
|
|
13
|
+
<feComposite in="shadowOffsetInner2" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner2"></feComposite>
|
|
14
|
+
<feColorMatrix values="0 0 0 0 1 0 0 0 0 0.949019608 0 0 0 0 0.929411765 0 0 0 1 0" type="matrix" in="shadowInnerInner2" result="shadowMatrixInner2"></feColorMatrix>
|
|
15
|
+
<feMerge>
|
|
16
|
+
<feMergeNode in="shadowMatrixInner1"></feMergeNode>
|
|
17
|
+
<feMergeNode in="shadowMatrixInner2"></feMergeNode>
|
|
18
|
+
</feMerge>
|
|
19
|
+
</filter>
|
|
20
|
+
<linearGradient x1="105.685464%" y1="44.9653507%" x2="0%" y2="56.3969685%" id="linearGradient-3">
|
|
21
|
+
<stop stop-color="#5B0B01" offset="0%"></stop>
|
|
22
|
+
<stop stop-color="#920808" offset="100%"></stop>
|
|
23
|
+
</linearGradient>
|
|
24
|
+
<filter x="-166.7%" y="-83.3%" width="433.3%" height="266.7%" filterUnits="objectBoundingBox" id="filter-4">
|
|
25
|
+
<feGaussianBlur stdDeviation="2.66666667" in="SourceGraphic"></feGaussianBlur>
|
|
26
|
+
</filter>
|
|
27
|
+
<path d="M5.21136772,6.60932114 C6.53685112,6.60932114 7.61136772,4.96703425 7.61136772,2.94117071 C7.61136772,0.915307168 7.44641538,0.742654475 6.12093198,0.742654475 C4.79544858,0.742654475 0.674308038,0.801107122 0.674308038,2.82697066 C0.674308038,4.85283421 3.88588432,6.60932114 5.21136772,6.60932114 Z" id="path-5"></path>
|
|
28
|
+
<filter x="-14.4%" y="-17.0%" width="128.8%" height="134.1%" filterUnits="objectBoundingBox" id="filter-7">
|
|
29
|
+
<feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
|
|
30
|
+
<feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
|
|
31
|
+
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
|
|
32
|
+
<feColorMatrix values="0 0 0 0 1 0 0 0 0 0.858154076 0 0 0 0 0.808508003 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
|
|
33
|
+
</filter>
|
|
34
|
+
<path d="M14.2780344,4.47598781 C15.6035178,4.47598781 16.6780344,2.83370092 16.6780344,0.807837377 C16.6780344,-1.21802617 16.513082,-1.39067886 15.1875986,-1.39067886 C13.8621152,-1.39067886 9.7409747,-1.33222621 9.7409747,0.693637331 C9.7409747,2.71950087 12.952551,4.47598781 14.2780344,4.47598781 Z" id="path-8"></path>
|
|
35
|
+
<filter x="-14.4%" y="-17.0%" width="128.8%" height="134.1%" filterUnits="objectBoundingBox" id="filter-10">
|
|
36
|
+
<feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
|
|
37
|
+
<feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
|
|
38
|
+
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
|
|
39
|
+
<feColorMatrix values="0 0 0 0 1 0 0 0 0 0.858154076 0 0 0 0 0.808508003 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
|
|
40
|
+
</filter>
|
|
41
|
+
<path d="M11,24.6062686 C11,22.7850906 13.8818859,21.107928 18.5486531,20.2895204 C23.2154202,19.4711127 24.5716051,19 25.4086791,19 C26.2457531,19 26.2994396,20.3738879 23.9248923,21.5737406 C24.4909466,23.0761802 24.3367871,24.6289666 22.5764417,25.1863203 C21.4028781,25.5578894 20.3592668,25.1839062 19.4456077,24.0643706 C16.3161645,25.6659013 14.3470322,26.4666667 13.5382109,26.4666667 C12.3249789,26.4666667 11,26.4274465 11,24.6062686 Z" id="path-11"></path>
|
|
42
|
+
<filter x="-10.0%" y="-20.1%" width="120.1%" height="140.2%" filterUnits="objectBoundingBox" id="filter-12">
|
|
43
|
+
<feGaussianBlur stdDeviation="1" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
|
|
44
|
+
<feOffset dx="0" dy="1" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
|
|
45
|
+
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
|
|
46
|
+
<feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0" type="matrix" in="shadowInnerInner1" result="shadowMatrixInner1"></feColorMatrix>
|
|
47
|
+
<feGaussianBlur stdDeviation="1" in="SourceAlpha" result="shadowBlurInner2"></feGaussianBlur>
|
|
48
|
+
<feOffset dx="0" dy="-1" in="shadowBlurInner2" result="shadowOffsetInner2"></feOffset>
|
|
49
|
+
<feComposite in="shadowOffsetInner2" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner2"></feComposite>
|
|
50
|
+
<feColorMatrix values="0 0 0 0 1 0 0 0 0 0.744680851 0 0 0 0 0 0 0 0 1 0" type="matrix" in="shadowInnerInner2" result="shadowMatrixInner2"></feColorMatrix>
|
|
51
|
+
<feMerge>
|
|
52
|
+
<feMergeNode in="shadowMatrixInner1"></feMergeNode>
|
|
53
|
+
<feMergeNode in="shadowMatrixInner2"></feMergeNode>
|
|
54
|
+
</feMerge>
|
|
55
|
+
</filter>
|
|
56
|
+
<path d="M23.7738013,4.8064969 L23.3345465,6.47672005 C23.2505988,6.79592322 23.0236106,7.0582842 22.7197992,7.18726682 L21.6081145,7.65923065 C21.5538886,7.68225215 21.5285925,7.74487349 21.551614,7.79909934 C21.5636472,7.827443 21.5873421,7.84920372 21.6166054,7.85878582 L22.6306809,8.19083827 C22.9850426,8.30687172 23.2530902,8.59952539 23.3376355,8.96268938 L23.6461953,10.2881073 C23.6595526,10.3454834 23.7168933,10.3811677 23.7742694,10.3678104 C23.8132522,10.3587351 23.8438737,10.3286 23.853572,10.2897675 L24.1893653,8.9452242 C24.2776493,8.59172824 24.5402605,8.30774821 24.8857853,8.19213634 L25.8825998,7.85860422 C25.9384659,7.83991155 25.9686009,7.77946976 25.9499082,7.7236037 C25.9403062,7.69490644 25.9189669,7.67163821 25.8912057,7.65959471 L24.8668278,7.21519459 C24.5330457,7.07039178 24.2960937,6.76544184 24.2382477,6.40623134 L23.98227,4.81666808 C23.972904,4.75850701 23.9181625,4.71895084 23.8600014,4.72831689 C23.818331,4.73502735 23.7845364,4.76567767 23.7738013,4.8064969 Z" id="path-13"></path>
|
|
57
|
+
<filter x="-6.3%" y="-1.4%" width="112.8%" height="103.8%" filterUnits="objectBoundingBox" id="filter-14">
|
|
58
|
+
<feGaussianBlur stdDeviation="0.5" in="SourceAlpha" result="shadowBlurInner1"></feGaussianBlur>
|
|
59
|
+
<feOffset dx="0" dy="0" in="shadowBlurInner1" result="shadowOffsetInner1"></feOffset>
|
|
60
|
+
<feComposite in="shadowOffsetInner1" in2="SourceAlpha" operator="arithmetic" k2="-1" k3="1" result="shadowInnerInner1"></feComposite>
|
|
61
|
+
<feColorMatrix values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0" type="matrix" in="shadowInnerInner1"></feColorMatrix>
|
|
62
|
+
</filter>
|
|
63
|
+
</defs>
|
|
64
|
+
<g id="OKR列表" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
65
|
+
<g id="任务/项目-交互说明" transform="translate(-306.000000, -373.000000)">
|
|
66
|
+
<g id="编组" transform="translate(55.000000, 359.000000)">
|
|
67
|
+
<g id="有见地" transform="translate(251.000000, 14.000000)">
|
|
68
|
+
<g id="点赞" transform="translate(3.000000, 3.000000)">
|
|
69
|
+
<g id="椭圆形">
|
|
70
|
+
<use fill="#FFD048" fill-rule="evenodd" xlink:href="#path-1"></use>
|
|
71
|
+
<use fill="black" fill-opacity="1" filter="url(#filter-2)" xlink:href="#path-1"></use>
|
|
72
|
+
</g>
|
|
73
|
+
<path d="M6.35248602,17.1294291 C9.6820623,17.7272505 11.6663668,17.1752966 12.3053996,15.4735674" id="路径-43" stroke="url(#linearGradient-3)" stroke-width="0.533333333" stroke-linecap="round" transform="translate(9.328943, 16.418061) scale(-1, 1) translate(-9.328943, -16.418061) "></path>
|
|
74
|
+
<ellipse id="眼睛" fill="#FFFFFF" filter="url(#filter-4)" transform="translate(10.933333, 8.533333) rotate(-90.000000) translate(-10.933333, -8.533333) " cx="10.9333333" cy="8.53333333" rx="2.4" ry="4.8"></ellipse>
|
|
75
|
+
</g>
|
|
76
|
+
<g id="眼睛" transform="translate(4.550910, 10.861968)">
|
|
77
|
+
<mask id="mask-6" fill="white">
|
|
78
|
+
<use xlink:href="#path-5"></use>
|
|
79
|
+
</mask>
|
|
80
|
+
<g id="蒙版" transform="translate(4.142838, 3.675988) rotate(-4.000000) translate(-4.142838, -3.675988) ">
|
|
81
|
+
<use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-5"></use>
|
|
82
|
+
<use fill="black" fill-opacity="1" filter="url(#filter-7)" xlink:href="#path-5"></use>
|
|
83
|
+
</g>
|
|
84
|
+
<path d="M2.43983287,4.89761234 C3.15317132,4.89761234 4.25684865,3.66746822 4.25684865,2.19411291 C4.25684865,0.72075761 4.16807587,0.595192015 3.45473743,0.595192015 C2.74139898,0.595192015 -0.00188695128,0.673456689 -0.00188695128,2.14681199 C-0.00188695128,3.6201673 1.72649443,4.89761234 2.43983287,4.89761234 Z" fill="#5B1A01" mask="url(#mask-6)" transform="translate(2.127481, 2.746402) rotate(-4.000000) translate(-2.127481, -2.746402) "></path>
|
|
85
|
+
<mask id="mask-9" fill="white">
|
|
86
|
+
<use xlink:href="#path-8"></use>
|
|
87
|
+
</mask>
|
|
88
|
+
<g id="蒙版" transform="translate(13.209505, 1.542654) rotate(-4.000000) translate(-13.209505, -1.542654) ">
|
|
89
|
+
<use fill="#FFFFFF" fill-rule="evenodd" xlink:href="#path-8"></use>
|
|
90
|
+
<use fill="black" fill-opacity="1" filter="url(#filter-10)" xlink:href="#path-8"></use>
|
|
91
|
+
</g>
|
|
92
|
+
<path d="M11.5064995,2.76427901 C12.219838,2.76427901 13.3235153,1.53413488 13.3235153,0.0607795809 C13.3235153,-1.41257572 13.2347425,-1.53814132 12.5214041,-1.53814132 C11.8080656,-1.53814132 9.06477972,-1.45987664 9.06477972,0.0134786591 C9.06477972,1.48683396 10.7931611,2.76427901 11.5064995,2.76427901 Z" fill="#5B1A01" mask="url(#mask-9)" transform="translate(11.194148, 0.613069) rotate(-4.000000) translate(-11.194148, -0.613069) "></path>
|
|
93
|
+
</g>
|
|
94
|
+
<path d="M7.31902059,9.29333333 C7.04541287,7.92691732 6.5899743,7.16752998 5.95270487,7.01517131 C4.99680074,6.7866333 3.59007874,8.58218587 3.59007874,10.1821859 C4.78623589,7.31337056 6.02921651,7.01708638 7.31902059,9.29333333 Z" id="路径-25" fill="#5B1A01" transform="translate(5.454550, 8.588793) scale(-1, 1) translate(-5.454550, -8.588793) "></path>
|
|
95
|
+
<path d="M13.6842556,9.3145553 C13.9727725,8.05250432 14.6748667,7.29487619 15.7905383,7.04167093 C16.9062099,6.78846567 18.3284321,7.49957678 20.057205,9.17500426 C18.4794466,8.09377847 17.1524214,7.61935275 16.0761293,7.75172711 C14.9998372,7.88410147 14.202546,8.4050442 13.6842556,9.3145553 Z" id="路径-37" fill="#5B1A01" transform="translate(16.870730, 8.153181) rotate(-8.000000) translate(-16.870730, -8.153181) "></path>
|
|
96
|
+
<g id="路径-44">
|
|
97
|
+
<use fill="#FFD048" fill-rule="evenodd" xlink:href="#path-11"></use>
|
|
98
|
+
<use fill="black" fill-opacity="1" filter="url(#filter-12)" xlink:href="#path-11"></use>
|
|
99
|
+
</g>
|
|
100
|
+
<g id="路径-10" transform="translate(23.746443, 7.518721) rotate(-345.000000) translate(-23.746443, -7.518721) ">
|
|
101
|
+
<use fill="#2879FF" fill-rule="evenodd" xlink:href="#path-13"></use>
|
|
102
|
+
<use fill="black" fill-opacity="1" filter="url(#filter-14)" xlink:href="#path-13"></use>
|
|
103
|
+
</g>
|
|
104
|
+
</g>
|
|
105
|
+
</g>
|
|
106
|
+
</g>
|
|
107
|
+
</g>
|
|
108
|
+
</svg>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
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>形状结合</title>
|
|
4
|
+
<g id="页面-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="目标推屏--OKRs" transform="translate(-689.000000, -673.000000)" fill="#A4ACB9" fill-rule="nonzero" stroke="#A4ACB9" stroke-width="0.3">
|
|
6
|
+
<g id="编组-10" transform="translate(546.000000, 74.000000)">
|
|
7
|
+
<g id="编组-4" transform="translate(151.000000, 607.000000) scale(1, -1) rotate(-360.000000) translate(-151.000000, -607.000000) translate(143.000000, 599.000000)">
|
|
8
|
+
<path d="M7.58497473,10.8522926 L2.16051899,5.8607686 C1.94649367,5.66382542 1.94649367,5.34465057 2.16051899,5.14770739 C2.37454431,4.9507642 2.72140321,4.9507642 2.93542853,5.14770739 L7.999,9.808 L13.0645715,5.14770739 C13.2785968,4.9507642 13.6254557,4.9507642 13.839481,5.14770739 C14.0535063,5.34465058 14.0535063,5.66382542 13.839481,5.8607686 L8.41501045,10.8522926 C8.31988809,10.9398229 8.19852699,10.9884509 8.07425048,10.9981765 L7.9257347,10.9981765 C7.80145819,10.9884509 7.68009709,10.9398229 7.58497473,10.8522926 Z" id="形状结合" transform="translate(8.000000, 8.000000) rotate(-180.000000) translate(-8.000000, -8.000000) "></path>
|
|
9
|
+
</g>
|
|
10
|
+
</g>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</svg>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
var _taskTree = _interopRequireDefault(require("./task-tree"));
|
|
9
|
+
|
|
10
|
+
var _helper = _interopRequireDefault(require("./helper"));
|
|
11
|
+
|
|
12
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
+
|
|
14
|
+
// import React from "react";
|
|
15
|
+
// import mockData from "./mock";
|
|
16
|
+
_taskTree["default"].formatTasksToTreeData = _helper["default"];
|
|
17
|
+
var _default = _taskTree["default"]; // export default () => {
|
|
18
|
+
// const dataSource = formatTasksToTreeData(mockData);
|
|
19
|
+
// return <TaskTree dataSource={dataSource} />;
|
|
20
|
+
// };
|
|
21
|
+
|
|
22
|
+
exports["default"] = _default;
|