@titaui/pc 1.12.64 → 1.12.67
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/attachments-preview/index.css +9 -0
- package/lib/components/attachments-preview/index.js +116 -0
- package/lib/components/auto-save/img/failed.svg +17 -0
- package/lib/components/auto-save/img/success.svg +16 -0
- package/lib/components/auto-save/index.css +39 -0
- package/lib/components/auto-save/index.js +78 -0
- package/lib/components/auto-save/interface.js +5 -0
- package/lib/components/avatar/default.js +5 -2
- package/lib/components/avatar/icon-avatar/index.js +1 -1
- package/lib/components/avatar/index.css +2 -0
- package/lib/components/avatar/num-avatar/index.js +1 -1
- package/lib/components/book-demo/components/pc/components/content/index.js +1 -1
- package/lib/components/button/default-button/index.js +1 -1
- package/lib/components/button/icon-btn/index.js +1 -1
- package/lib/components/cascader/index.js +1 -1
- package/lib/components/cascader/time.js +1 -1
- package/lib/components/change-okr-modal/Filter.js +2 -2
- package/lib/components/change-okr-modal/Item.js +2 -2
- package/lib/components/change-okr-modal/filterTab.js +2 -2
- package/lib/components/change-okr-modal/index.js +4 -6
- package/lib/components/color-date-picker/index.css +69 -0
- package/lib/components/color-date-picker/index.js +129 -0
- package/lib/components/color-date-picker/interface.js +14 -0
- package/lib/components/common-share/publishMblog.js +2 -4
- package/lib/components/communication/CommunicationAttachments.js +2 -2
- package/lib/components/communication/ConvertUserName.js +2 -2
- package/lib/components/communication/index.js +2 -2
- package/lib/components/create-okr-modal/fields/okr-type-detail.js +2 -4
- package/lib/components/create-okr-modal/fields/okr-visibility-detail.js +2 -4
- package/lib/components/create-okr-modal/index.js +2 -4
- package/lib/components/create-okr-modal/objectType.js +2 -2
- package/lib/components/create-okr-modal/request-api.js +12 -16
- package/lib/components/create-okr-modal/utils/helper.js +2 -6
- package/lib/components/date-picker/BodyItem.js +6 -6
- package/lib/components/date-picker/CalendarBody.js +3 -3
- package/lib/components/date-picker/CalendarHeader.js +6 -6
- package/lib/components/date-picker/index.js +2 -2
- package/lib/components/date-range-picker/index.js +2 -2
- package/lib/components/delete-confirm-pop/ConfirmPop.js +5 -5
- package/lib/components/dialog/index.js +1 -1
- package/lib/components/dialog-confirm/index.css +1 -0
- package/lib/components/dialog-confirm/index.js +9 -5
- package/lib/components/dialog-upload/img/doc.svg +1 -0
- package/lib/components/dialog-upload/img/other.svg +1 -0
- package/lib/components/dialog-upload/img/pdf.svg +1 -0
- package/lib/components/dialog-upload/img/ppt.svg +1 -0
- package/lib/components/dialog-upload/img/radio.svg +1 -0
- package/lib/components/dialog-upload/img/video.svg +1 -0
- package/lib/components/dialog-upload/img/xls.svg +1 -0
- package/lib/components/dialog-upload/index.css +77 -0
- package/lib/components/dialog-upload/index.js +330 -0
- package/lib/components/dialog-upload/type.js +35 -0
- package/lib/components/dialog-upload/uploaded-preview.css +80 -0
- package/lib/components/dialog-upload/uploaded-preview.js +134 -0
- package/lib/components/dialog-upload/util.js +131 -0
- package/lib/components/drawer/headerDrop.js +1 -1
- package/lib/components/drawer/index.css +5 -5
- package/lib/components/drawer/index.js +8 -8
- package/lib/components/drawer-manager/drawerWrapper.js +3 -5
- package/lib/components/drawer-manager/index.js +1 -1
- package/lib/components/drop-selector/index.js +8 -5
- package/lib/components/dynamic/components/comments-dialog/api.js +27 -0
- package/lib/components/dynamic/components/comments-dialog/encourage.js +127 -0
- package/lib/components/dynamic/components/comments-dialog/img/APP-shoucang-m.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/ascore.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/curEfforts.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/curGood.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/curGreat.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/efforts.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/good.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/great.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/halfscore.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/loading.gif +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/score.png +0 -0
- package/lib/components/dynamic/components/comments-dialog/img/top.svg +14 -0
- package/lib/components/dynamic/components/comments-dialog/index.css +116 -0
- package/lib/components/dynamic/components/comments-dialog/index.js +208 -0
- package/lib/components/dynamic/components/comments-dialog/rate.js +143 -0
- package/lib/components/dynamic/constant.js +5 -1
- package/lib/components/dynamic/dynamic-item/components/header/img/evalute.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/fighting.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/happy.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/long-story.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/img/pressure.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/header/index.js +49 -47
- package/lib/components/dynamic/dynamic-item/components/okr-progress/constant.js +31 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.css +217 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +176 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/request-api.js +10 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/utils.js +27 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.css +8 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/kr-progress/index.js +26 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.css +8 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/o-progress/index.js +26 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.css +197 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.js +220 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/request-api.js +20 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/util.js +134 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.css +10 -0
- package/lib/components/dynamic/dynamic-item/components/progress/components/task-progress/index.js +60 -0
- package/lib/components/dynamic/dynamic-item/components/progress/index.css +25 -0
- package/lib/components/dynamic/dynamic-item/components/progress/index.js +71 -0
- package/lib/components/dynamic/dynamic-item/components/progress/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/index.css +36 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/index.js +31 -0
- package/lib/components/dynamic/dynamic-item/components/schedule/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/constant.js +45 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/evalute.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/fighting.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/guide-img.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/happy.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/long-story.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/img/pressure.png +0 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.css +187 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +424 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/operate-record.js +49 -0
- package/lib/components/dynamic/dynamic-item/components/summary-header/request-api.js +23 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.css +30 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.js +57 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.css +50 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/index.js +67 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-okr/interface.js +5 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/constant.js +29 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.css +310 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +193 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/interface.js +22 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/render-row.js +80 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/request-api.js +16 -0
- package/lib/components/dynamic/dynamic-item/components/task-progress/utils.js +158 -0
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +2 -2
- package/lib/components/dynamic/dynamic-item/dynamic-chart/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +4 -3
- package/lib/components/dynamic/dynamic-item/dynamic-discovery/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +4 -3
- package/lib/components/dynamic/dynamic-item/dynamic-learning/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +4 -3
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-small.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/come-on-write.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/evaluate-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-small.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/nice-write.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-big.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-small.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/img/very-good-write.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.css +115 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.js +212 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.css +43 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.js +49 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/constant.js +61 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/evalute.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/fighting.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/happy.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/long-story.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/img/pressure.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +152 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +254 -0
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/util.js +67 -0
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +4 -3
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +4 -21
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +4 -6
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +4 -3
- package/lib/components/dynamic/dynamic-item/index.css +3 -2
- package/lib/components/dynamic/dynamic-item/index.js +52 -33
- package/lib/components/dynamic/dynamic-list/index.js +8 -8
- package/lib/components/eReport/eReportListEmpty.js +2 -2
- package/lib/components/eReport/eReportLists/reportList.js +5 -5
- package/lib/components/eReport/eReportShare/index.js +2 -2
- package/lib/components/eReport/eReportShare/toast/index.js +2 -2
- package/lib/components/edit-kr-wight/EditKrWightModal.js +2 -2
- package/lib/components/edit-kr-wight/FormItemV2.js +2 -2
- package/lib/components/emotions-selector/selector-content.js +2 -2
- package/lib/components/emotions-selector/selector-pop.js +5 -5
- package/lib/components/ereport-list/index.js +5 -5
- package/lib/components/error-boundary/index.js +2 -2
- package/lib/components/firework/index.js +2 -6
- package/lib/components/form/form-fields/date/index.js +14 -13
- package/lib/components/form/form-fields/dropdown/index.js +1 -1
- package/lib/components/form/form-fields/input/index.js +1 -1
- package/lib/components/form/form-fields/input-verification-code/index.js +2 -4
- package/lib/components/form/form-fields/user/index.js +1 -1
- package/lib/components/grid-layout/util/network.js +6 -10
- package/lib/components/guide-tip/index.css +68 -0
- package/lib/components/guide-tip/index.js +115 -0
- package/lib/components/help-card/index.js +1 -1
- package/lib/components/import-modal/helper.js +170 -0
- package/lib/components/import-modal/image/loading.gif +0 -0
- package/lib/components/import-modal/import-okr-modal/index.css +18 -0
- package/lib/components/import-modal/import-okr-modal/index.js +146 -0
- package/lib/components/import-modal/import-task-modal/index.css +18 -0
- package/lib/components/import-modal/import-task-modal/index.js +251 -0
- package/lib/components/import-modal/import-task-modal/search-form.js +142 -0
- package/lib/components/import-modal/index.css +30 -0
- package/lib/components/import-modal/index.js +20 -0
- package/lib/components/import-modal/radio.js +62 -0
- package/lib/components/import-modal/request-api.js +206 -0
- package/lib/components/import-modal/search/category-select.js +74 -0
- package/lib/components/import-modal/search/okr-classify-select.js +74 -0
- package/lib/components/import-modal/search/okr-status-select.js +74 -0
- package/lib/components/import-modal/search/okr-type-select.js +87 -0
- package/lib/components/import-modal/search/principal.js +135 -0
- package/lib/components/import-modal/search/relation.js +89 -0
- package/lib/components/import-modal/search/search-dropdown/index.css +50 -0
- package/lib/components/import-modal/search/search-dropdown/index.js +32 -0
- package/lib/components/import-modal/search/task-relation.js +84 -0
- package/lib/components/import-modal/search/task-status-select.js +87 -0
- package/lib/components/import-modal/search/work-relation.js +83 -0
- package/lib/components/import-modal/search/work-status-select.js +74 -0
- package/lib/components/import-modal/tree/okr-tree/index.css +61 -0
- package/lib/components/import-modal/tree/okr-tree/index.js +267 -0
- package/lib/components/import-modal/tree/okr-tree/search-form.js +169 -0
- package/lib/components/import-modal/tree/task-work-tree/index.css +124 -0
- package/lib/components/import-modal/tree/task-work-tree/index.js +190 -0
- package/lib/components/import-modal/tree-node/index.css +0 -0
- package/lib/components/import-modal/tree-node/index.js +51 -0
- package/lib/components/import-modal/tree-node/kr-node/index.css +65 -0
- package/lib/components/import-modal/tree-node/kr-node/index.js +112 -0
- package/lib/components/import-modal/tree-node/milestone-node/index.css +61 -0
- package/lib/components/import-modal/tree-node/milestone-node/index.js +118 -0
- package/lib/components/import-modal/tree-node/o-node/index.css +53 -0
- package/lib/components/import-modal/tree-node/o-node/index.js +142 -0
- package/lib/components/import-modal/tree-node/work-node/index.css +51 -0
- package/lib/components/import-modal/tree-node/work-node/index.js +108 -0
- package/lib/components/mblog/components/ConfirmPop.js +2 -2
- package/lib/components/mblog/components/MblogAction.js +5 -5
- package/lib/components/mblog/components/MblogContent.js +2 -2
- package/lib/components/mblog/index.js +2 -2
- package/lib/components/menus/components/menu-tree/images/interview-menu/setting.svg +16 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/caidan-enjoy.svg +14 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/my-setup.svg +18 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/my-zongjie.svg +15 -0
- package/lib/components/menus/components/menu-tree/images/summary-menu/zongjie-s.svg +15 -0
- package/lib/components/menus/components/menu-tree/index.js +1 -1
- package/lib/components/menus/components/menu-tree/tree-node/index.css +148 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.js +23 -3
- package/lib/components/menus/components/menu-tree/tree-node/menu-item.js +5 -1
- package/lib/components/menus/components/menu-tree/tree-node/subordinates.js +78 -0
- package/lib/components/menus/components/menu-tree/tree-node/summary-share.js +78 -0
- package/lib/components/menus/components/search-colleague/index.js +3 -1
- package/lib/components/menus/export-modules/appraisal-menus/index.js +6 -6
- package/lib/components/menus/export-modules/appraisal-menus/menus.js +69 -69
- package/lib/components/menus/export-modules/demo-menus/menus.js +5 -4
- package/lib/components/menus/export-modules/interview-menus/constant.js +45 -34
- package/lib/components/menus/export-modules/interview-menus/handle-highlight.js +20 -0
- package/lib/components/menus/export-modules/interview-menus/index.js +29 -28
- package/lib/components/menus/export-modules/interview-menus/menus.js +164 -0
- package/lib/components/menus/export-modules/okr-menus/index.js +6 -6
- package/lib/components/menus/export-modules/okr-menus/menus.js +60 -60
- package/lib/components/menus/export-modules/okr-menus/okr-front-menus.js +2 -2
- package/lib/components/menus/export-modules/summary-menus/depart-menus/helper.js +56 -0
- package/lib/components/menus/export-modules/summary-menus/depart-menus/index.css +32 -0
- package/lib/components/menus/export-modules/summary-menus/depart-menus/index.js +243 -0
- package/lib/components/menus/export-modules/summary-menus/index.css +9 -0
- package/lib/components/menus/export-modules/summary-menus/index.js +136 -0
- package/lib/components/menus/export-modules/summary-menus/menu-highlight.js +76 -0
- package/lib/components/menus/export-modules/summary-menus/menus.js +251 -0
- package/lib/components/menus/export-modules/summary-menus/request-api.js +17 -0
- package/lib/components/menus/export-modules/summary-menus/subordinate-menus/helper.js +28 -0
- package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.css +14 -0
- package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.js +201 -0
- package/lib/components/menus/export-modules/summary-menus/summary-front-menus.js +250 -0
- package/lib/components/menus/i18n.js +8 -0
- package/lib/components/menus/index.js +6 -0
- package/lib/components/menus/request-apis.js +22 -2
- package/lib/components/nav-top/components/app-center/images/demo.png +0 -0
- package/lib/components/nav-top/components/app-center/images/new.svg +30 -0
- package/lib/components/nav-top/components/app-center/index.css +24 -1
- package/lib/components/nav-top/components/app-center/index.js +18 -10
- package/lib/components/nav-top/components/menu/index.css +11 -0
- package/lib/components/nav-top/components/menu/index.js +49 -53
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +28 -17
- package/lib/components/nav-top/components/user-message/index.js +19 -19
- package/lib/components/nav-top/index.css +5 -0
- package/lib/components/nav-top/index.js +39 -2
- package/lib/components/new-confidence/constant.js +53 -0
- package/lib/components/new-confidence/img/1.svg +40 -0
- package/lib/components/new-confidence/img/10.svg +33 -0
- package/lib/components/new-confidence/img/2.svg +40 -0
- package/lib/components/new-confidence/img/3.svg +40 -0
- package/lib/components/new-confidence/img/4.svg +40 -0
- package/lib/components/new-confidence/img/5.svg +40 -0
- package/lib/components/new-confidence/img/6.svg +40 -0
- package/lib/components/new-confidence/img/7.svg +40 -0
- package/lib/components/new-confidence/img/8.svg +40 -0
- package/lib/components/new-confidence/img/9.svg +40 -0
- package/lib/components/new-confidence/index.css +62 -0
- package/lib/components/new-confidence/index.js +120 -0
- package/lib/components/new-confidence/interface.js +5 -0
- package/lib/components/okr-detail/auth.js +2 -2
- package/lib/components/okr-detail/base-info/other-infos/principal/index.js +2 -4
- package/lib/components/okr-detail/components/ao-nice/index.js +4 -6
- package/lib/components/okr-detail/components/base-okr-type/confirm/buttonv2.js +2 -2
- package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +2 -2
- package/lib/components/okr-detail/components/base-okr-type/object-type.js +2 -2
- package/lib/components/okr-detail/components/header/edit-name.js +2 -4
- package/lib/components/okr-detail/components/header/index.js +1 -1
- package/lib/components/okr-detail/components/header/o-avatar.js +8 -10
- package/lib/components/okr-detail/components/header/o-classify.js +2 -4
- package/lib/components/okr-detail/components/header/o-score.js +1 -1
- package/lib/components/okr-detail/components/icon-text/index.js +1 -1
- package/lib/components/okr-detail/components/o-classify.js +2 -4
- package/lib/components/okr-detail/components/o-progress-update/index.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/index.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/index.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +5 -5
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +3 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/edit-child-okr-weight.js +6 -8
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +2 -4
- package/lib/components/okr-detail/detail-footer/index.js +2 -4
- package/lib/components/okr-detail/detail-header/index.js +10 -12
- package/lib/components/okr-detail/okr-list/index.js +2 -4
- package/lib/components/okr-detail/request-apis.js +2 -6
- package/lib/components/okr-flow/child-node/fields/creator.js +2 -4
- package/lib/components/okr-flow/child-node/work-node.js +2 -4
- package/lib/components/okr-flow/export-modal/index.css +3 -3
- package/lib/components/okr-flow/export-modal/index.js +5 -7
- package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +8 -10
- package/lib/components/okr-flow/okr-map/index.js +3 -1
- package/lib/components/okr-flow/request-apis.js +2 -6
- package/lib/components/okr-flow/root-node/index.js +2 -4
- package/lib/components/okr-progress/components/o-progress-update/index.js +2 -4
- package/lib/components/okr-progress-modal/index.js +2 -4
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +4 -6
- package/lib/components/okr-review/ReviewPop/components/Toast/index.js +2 -2
- package/lib/components/okr-review/ReviewPop/index.js +2 -2
- package/lib/components/okr-review/components/ReviewItem/index.js +5 -5
- package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +5 -5
- package/lib/components/okr-review/index.js +2 -2
- package/lib/components/okr-share/common-painter/darwAvatar.js +4 -8
- package/lib/components/okr-share/common-painter/openDataPainter.js +2 -6
- package/lib/components/okr-share/common-painter/utils.js +4 -8
- package/lib/components/okr-share/pink-card/drawDepartmentName.js +2 -6
- package/lib/components/okr-share/pink-card/drawKrs.js +2 -6
- package/lib/components/okr-share/pink-card/drawQuote.js +2 -6
- package/lib/components/okr-share/pink-card/drawUserName.js +2 -6
- package/lib/components/okr-share/pink-card/index.js +2 -6
- package/lib/components/okr-share/publishMblog.js +2 -4
- package/lib/components/okr-share/shareCardSelector.js +4 -6
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +2 -4
- package/lib/components/okrcase-library/server/network.js +20 -24
- package/lib/components/open-data-painter/index.js +2 -6
- package/lib/components/operation-records/OperationRecordItem.js +2 -2
- package/lib/components/operation-records/index.js +2 -2
- package/lib/components/order-have-award/index.js +6 -6
- package/lib/components/pagination/pagination.js +1 -1
- package/lib/components/period-selector/components/button/index.js +1 -1
- package/lib/components/period-selector/components/button/style.js +5 -5
- package/lib/components/period-selector/helper/index.js +2 -6
- package/lib/components/picker/components/cross.svg +17 -0
- package/lib/components/picker/components/panels/date-panel/date-body.js +31 -19
- package/lib/components/picker/components/panels/date-panel/date-head.js +8 -8
- package/lib/components/picker/components/panels/date-panel/index.js +2 -2
- package/lib/components/picker/components/panels/month-panel/index.css +5 -0
- package/lib/components/picker/components/panels/month-panel/index.js +36 -5
- package/lib/components/picker/components/panels/month-panel/month-body.js +4 -5
- package/lib/components/picker/components/panels/month-panel/month-head.js +2 -2
- package/lib/components/picker/components/panels/week-panel/index.css +51 -0
- package/lib/components/picker/components/panels/week-panel/index.js +63 -0
- package/lib/components/picker/components/panels/week-panel/utils.js +153 -0
- package/lib/components/picker/components/panels/week-panel/week-body.js +79 -0
- package/lib/components/picker/components/panels/week-panel/week-head.js +80 -0
- package/lib/components/picker/components/panels/year-panel/index.css +5 -0
- package/lib/components/picker/components/panels/year-panel/index.js +2 -2
- package/lib/components/picker/components/panels/year-panel/year-body.js +10 -3
- package/lib/components/picker/components/panels/year-panel/year-head.js +1 -1
- package/lib/components/picker/components/picker-trigger/index.css +6 -1
- package/lib/components/picker/components/picker-trigger/index.js +16 -11
- package/lib/components/picker/context.js +17 -2
- package/lib/components/picker/index.css +29 -1
- package/lib/components/picker/index.js +3 -0
- package/lib/components/picker/picker-panels.js +106 -60
- package/lib/components/picker/picker.js +45 -31
- package/lib/components/picker/range-picker/components/picker-trigger/index.css +96 -0
- package/lib/components/picker/range-picker/components/picker-trigger/index.js +109 -0
- package/lib/components/picker/range-picker/components/placeholder/index.js +91 -0
- package/lib/components/picker/range-picker/components/select-input/index.js +79 -0
- package/lib/components/picker/range-picker/components/shortcuts/index.js +45 -0
- package/lib/components/picker/range-picker/index.css +158 -0
- package/lib/components/picker/range-picker/index.js +273 -0
- package/lib/components/picker/utils.js +175 -11
- package/lib/components/point-demo/drop-down-box/index.js +1 -1
- package/lib/components/point-demo/input/index.js +3 -3
- package/lib/components/point-demo/popup/index.js +1 -1
- package/lib/components/popup/index.js +1 -1
- package/lib/components/praise-record/PraiseRecordItem.js +2 -2
- package/lib/components/praise-record/index.js +2 -2
- package/lib/components/promise-confirm/index.css +0 -0
- package/lib/components/promise-confirm/index.js +117 -0
- package/lib/components/promise-confirm/interface.js +5 -0
- package/lib/components/range-picker-pop/index.js +3 -3
- package/lib/components/range-selector-pop/RangeList.js +2 -2
- package/lib/components/range-selector-pop/RangeSelectorPop.js +5 -5
- package/lib/components/rate/index.css +111 -0
- package/lib/components/rate/index.js +79 -0
- package/lib/components/regulation-setting-item/index.css +33 -0
- package/lib/components/regulation-setting-item/index.js +37 -0
- package/lib/components/rich-editor/models/schema.js +8 -8
- package/lib/components/rich-editor/plugins/block/block-quote/index.js +10 -10
- package/lib/components/rich-editor/plugins/block/heading/index.js +10 -10
- package/lib/components/rich-editor/plugins/block/lists/index.js +16 -16
- package/lib/components/rich-editor/plugins/block/paragraph/index.js +7 -7
- package/lib/components/rich-editor/plugins/core/index.js +6 -6
- package/lib/components/rich-editor/plugins/extension/alignment/index.js +7 -7
- package/lib/components/rich-editor/plugins/extension/placeholder/index.js +6 -6
- package/lib/components/rich-editor/plugins/inline/color/index.js +13 -13
- package/lib/components/rich-editor/plugins/inline/delete-line/index.js +10 -10
- package/lib/components/rich-editor/plugins/inline/em/index.js +7 -7
- package/lib/components/rich-editor/plugins/inline/link/index.js +10 -10
- package/lib/components/rich-editor/plugins/inline/strong/index.js +10 -10
- package/lib/components/rich-editor/plugins/inline/under-line/index.js +10 -10
- package/lib/components/rich-editor/react/reactNodeView.js +4 -4
- package/lib/components/rich-editor/react/uiProvider.js +5 -5
- package/lib/components/rich-editor/schemas/list.js +0 -1
- package/lib/components/rich-editor/ui/Popup/index.js +5 -5
- package/lib/components/rich-editor/ui/editor/index.css +32 -32
- package/lib/components/rich-editor/ui/editor/index.js +1 -1
- package/lib/components/rich-editor-at/components/index.css +67 -0
- package/lib/components/rich-editor-at/components/index.js +189 -0
- package/lib/components/rich-editor-at/index.css +40 -0
- package/lib/components/rich-editor-at/index.js +113 -0
- package/lib/components/rich-editor-upload/index.css +11 -0
- package/lib/components/rich-editor-upload/index.js +87 -0
- package/lib/components/scroll-container/index.js +2 -2
- package/lib/components/scrollbar/index.js +1 -1
- package/lib/components/scrollbar/scroll-mask/index.js +1 -1
- package/lib/components/scrollbar/simplebar-react.js +1 -1
- package/lib/components/search-dropdown/index.js +1 -1
- package/lib/components/search-input/index.js +5 -0
- package/lib/components/select/Option.js +6 -6
- package/lib/components/select/index.js +3 -3
- package/lib/components/select-layer/index.js +1 -1
- package/lib/components/select-tags/index.js +13 -3
- package/lib/components/superset-charts/fetch-assets-and-append/get-assets-with-cache.js +2 -6
- package/lib/components/superset-charts/fetch-assets-and-append/index.js +4 -8
- package/lib/components/survey-model/request-api.js +2 -6
- package/lib/components/switch/index.js +1 -1
- package/lib/components/table/index.js +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/task-relation-modal/helper.js +6 -6
- package/lib/components/task-relation-modal/index.js +5 -7
- package/lib/components/task-relation-modal/okr-relation/relation-task-model/index.js +1 -1
- package/lib/components/task-relation-modal/okr-relation/relation-work-model/index.js +1 -1
- package/lib/components/task-relation-modal/request-api.js +9 -9
- package/lib/components/task-relation-modal/tree/category-tree/index.js +2 -4
- package/lib/components/task-relation-modal/tree/okr-tree/index.js +2 -4
- package/lib/components/task-relation-modal/tree/work-tree/index.js +2 -4
- package/lib/components/task-relation-modal/tree/work-tree/search-form.js +4 -4
- package/lib/components/task-relation-modal/tree-node/index.js +1 -1
- package/lib/components/task-relation-modal/tree-node/work-node/index.js +5 -5
- package/lib/components/task-relation-modal/work-relation/index.js +5 -7
- package/lib/components/task-tree/task-item-node/e-project.js +2 -4
- package/lib/components/task-tree/task-item-node/e-task.js +2 -4
- package/lib/components/task-tree/task-item-node/task-node-render.js +1 -1
- package/lib/components/task-tree/task-tree.js +1 -1
- package/lib/components/textarea/index.css +61 -66
- package/lib/components/textarea/index.js +24 -19
- package/lib/components/time-picker/time-picker-selector.js +1 -1
- package/lib/components/time-picker/time-picker.js +1 -1
- package/lib/components/time-picker/timer-picker-input.js +1 -1
- package/lib/components/tita-chart/charts/liquid-ball.js +1 -1
- package/lib/components/tita-chart/charts/pie.js +1 -1
- package/lib/components/tita-chart/errorBoundary/index.js +5 -5
- package/lib/components/toast/index.js +9 -13
- package/lib/components/tooltip/error-tip.js +1 -1
- package/lib/components/tooltip/tooltip.js +3 -3
- package/lib/components/tree/index.js +1 -1
- package/lib/components/upload/components/uploadedPreview.js +2 -2
- package/lib/components/upload/index.js +2 -2
- package/lib/components/upvote/index.js +15 -11
- package/lib/components/upvote/selector.js +2 -3
- package/lib/components/user-selector/category-selector-panel/depart-tree.js +1 -1
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +1 -1
- package/lib/components/user-selector/export-modules/multiple-user-selector--bak/index.css +3 -3
- package/lib/components/user-selector/export-modules/multiple-user-selector--bak/index.js +1 -1
- package/lib/components/user-selector/request-apis.js +13 -13
- package/lib/components/user-selector/select-tree/choose-tree/index.js +1 -1
- package/lib/components/user-selector/select-tree/selected-tree/index.js +1 -1
- package/lib/components/version-change-modal/index.js +4 -6
- package/lib/components/version-change-modal/request-api.js +2 -6
- package/lib/components/viewer/ImageListRender.js +2 -2
- package/lib/components/viewer/index.js +2 -2
- package/lib/components/weekly-report/card.js +2 -4
- package/lib/components/weekly-report/common-painter/darwAvatar.js +6 -10
- package/lib/components/weekly-report/common-painter/drawName.js +2 -6
- package/lib/components/weekly-report/common-painter/openDataPainter.js +2 -6
- package/lib/components/weekly-report/index.js +4 -6
- package/lib/components/write-summary-modal/constants.js +21 -0
- package/lib/components/write-summary-modal/index.css +80 -0
- package/lib/components/write-summary-modal/index.js +167 -0
- package/lib/components/write-summary-modal/interface.js +19 -0
- package/lib/components/write-summary-modal/request-api.js +18 -0
- package/lib/components/write-summary-modal/utils.js +32 -0
- package/lib/components-v1/animate/AnimateChild.js +5 -5
- package/lib/components-v1/animate/animate.js +2 -2
- package/lib/components-v1/avatar/index.js +5 -5
- package/lib/components-v1/buttonv2/ButtonOutlined.js +2 -2
- package/lib/components-v1/buttonv2/ButtonRounded.js +2 -2
- package/lib/components-v1/buttonv2/DefaultButton.js +2 -2
- package/lib/components-v1/confirm/index.js +2 -2
- package/lib/components-v1/dropDownSelector/StatelessDropdown.js +5 -5
- package/lib/components-v1/dropDownSelector/dropDownSelector.js +2 -2
- package/lib/components-v1/input/Input.js +3 -3
- package/lib/components-v1/input/InputNumber.js +2 -2
- package/lib/components-v1/placement/placement.js +2 -2
- package/lib/components-v1/placement/placementInner.js +2 -2
- package/lib/components-v1/pop/Pop.js +2 -2
- package/lib/components-v1/pop/PopInner.js +2 -2
- package/lib/components-v1/portals/Portals.js +2 -2
- package/lib/components-v1/progress/CircleProgress.js +5 -5
- package/lib/components-v1/progress/LineProgress.js +2 -2
- package/lib/components-v1/progress/index.js +2 -2
- package/lib/components-v1/radio/radio.js +2 -2
- package/lib/components-v1/radio/radioGroup.js +2 -2
- package/lib/components-v1/radio/style/index.css +1 -1
- package/lib/components-v1/search/index.js +2 -2
- package/lib/components-v1/select/Option.js +6 -6
- package/lib/components-v1/select/index.js +3 -3
- package/lib/components-v1/tabs/index.js +2 -2
- package/lib/components-v1/textarea/index.js +2 -2
- package/lib/components-v1/transition/index.js +2 -2
- package/lib/components-v1/userSelector/UserSelectorPop.js +5 -5
- package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentTree.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/index.js +5 -5
- package/lib/components-v1/userSelector/components/SearchBar.js +2 -2
- package/lib/components-v1/userSelector/components/SingleMode.js +2 -2
- package/lib/components-v1/userSelector/components/UserItem.js +5 -5
- package/lib/components-v1/userSelector/index.js +2 -2
- package/lib/index.js +64 -0
- package/lib/pages/aha2021/index.css +3 -1
- package/lib/pages/aha2021/index.js +4 -4
- package/lib/pages/aha2021/new-menu-switcher/index.js +4 -4
- package/lib/pages/aha2021/request-api.js +1 -1
- package/lib/pages/appointment-demo/drop-down-box/index.js +1 -1
- package/lib/pages/appointment-demo/input/index.js +3 -3
- package/lib/pages/appointment-demo/popup/index.js +1 -1
- package/lib/pages/group-management/components/input-form/index.js +3 -3
- package/lib/pages/group-management/components/radio/index.js +1 -1
- package/lib/pages/group-management/groupInterface.js +2 -6
- package/lib/pages/group-management/page-view/importGroupStaff/index.js +1 -1
- package/lib/pages/group-management/tree/index.js +1 -1
- package/lib/pages/new-okr-list/request-api.js +14 -18
- package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +3 -5
- package/lib/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +1 -1
- package/lib/pages/okr-map/request-apis.js +2 -6
- package/lib/pages/okr-map/share-dialog/index.js +1 -1
- package/lib/utils/auth.js +12 -2
- package/lib/utils/bs-global.js +1 -1
- package/lib/utils/constant.js +14 -2
- package/lib/utils/helpers.js +112 -12
- package/lib/utils/open-data.js +45 -48
- package/lib/utils/planDataJson.js +1 -0
- package/lib/utils/request-v1.js +2 -6
- package/lib/utils/request.js +2 -6
- package/package.json +3 -2
- package/lib/components/dynamic/img/dynamic-submit-delay.svg +0 -16
- package/lib/components/dynamic/img/dynamic-submit-normal.svg +0 -18
|
@@ -21,6 +21,10 @@ var _conditionRender = _interopRequireDefault(require("../../../../components/co
|
|
|
21
21
|
|
|
22
22
|
var _useGlobalValue3 = _interopRequireDefault(require("../../useGlobalValue"));
|
|
23
23
|
|
|
24
|
+
var _guideTip = _interopRequireDefault(require("../../../guide-tip"));
|
|
25
|
+
|
|
26
|
+
var _getLocale = require("../../../../utils/getLocale");
|
|
27
|
+
|
|
24
28
|
var _new = _interopRequireDefault(require("./img/new.svg"));
|
|
25
29
|
|
|
26
30
|
require("./index.css");
|
|
@@ -45,7 +49,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
45
49
|
|
|
46
50
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
47
51
|
|
|
48
|
-
var prefix =
|
|
52
|
+
var prefix = 'titaui-nav-top-menu';
|
|
49
53
|
var popupAlign = {
|
|
50
54
|
offset: [0, 5],
|
|
51
55
|
overflow: {
|
|
@@ -54,15 +58,7 @@ var popupAlign = {
|
|
|
54
58
|
},
|
|
55
59
|
targetOffset: [0, 0]
|
|
56
60
|
};
|
|
57
|
-
var
|
|
58
|
-
offset: [104, -5],
|
|
59
|
-
overflow: {
|
|
60
|
-
adjustX: true,
|
|
61
|
-
adjustY: true
|
|
62
|
-
},
|
|
63
|
-
targetOffset: [0, 0]
|
|
64
|
-
};
|
|
65
|
-
var NEWMENUS = "#/interview";
|
|
61
|
+
var NEWMENUS = '#summary/my';
|
|
66
62
|
|
|
67
63
|
var Menu = function Menu(_ref) {
|
|
68
64
|
var menus = _ref.menus,
|
|
@@ -70,8 +66,8 @@ var Menu = function Menu(_ref) {
|
|
|
70
66
|
|
|
71
67
|
var _useState = (0, _react.useState)(false),
|
|
72
68
|
_useState2 = _slicedToArray(_useState, 2),
|
|
73
|
-
|
|
74
|
-
|
|
69
|
+
guideVisible = _useState2[0],
|
|
70
|
+
setGuideVisible = _useState2[1];
|
|
75
71
|
|
|
76
72
|
var _useState3 = (0, _react.useState)(false),
|
|
77
73
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
@@ -83,7 +79,7 @@ var Menu = function Menu(_ref) {
|
|
|
83
79
|
feedNum = _useGlobalValue2[0];
|
|
84
80
|
|
|
85
81
|
var containerRef = (0, _react.useRef)();
|
|
86
|
-
var apiPath = (0, _bsGlobal.getBSGlobal)(
|
|
82
|
+
var apiPath = (0, _bsGlobal.getBSGlobal)('apiPath');
|
|
87
83
|
var userId = (0, _bsGlobal.getUserInfo)().Id;
|
|
88
84
|
|
|
89
85
|
var handlePopupVisibleChange = function handlePopupVisibleChange(visible) {
|
|
@@ -92,48 +88,37 @@ var Menu = function Menu(_ref) {
|
|
|
92
88
|
|
|
93
89
|
var handleTracker = function handleTracker(menu) {
|
|
94
90
|
if (window.titaTracker) {
|
|
95
|
-
window.titaTracker(
|
|
91
|
+
window.titaTracker('action').record({
|
|
96
92
|
actionName: "\u5BFC\u822A\u83DC\u5355__".concat(menu.title),
|
|
97
|
-
actionGroup:
|
|
98
|
-
productName:
|
|
93
|
+
actionGroup: '导航菜单',
|
|
94
|
+
productName: '导航菜单'
|
|
99
95
|
});
|
|
100
96
|
}
|
|
97
|
+
|
|
98
|
+
if (menu.code === 'dynamic' && feedNum > 0) {
|
|
99
|
+
window.location.reload();
|
|
100
|
+
}
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
-
var
|
|
104
|
-
|
|
105
|
-
localStorage.setItem("
|
|
103
|
+
var handleClickClose = function handleClickClose() {
|
|
104
|
+
setGuideVisible(false);
|
|
105
|
+
localStorage.setItem("isKnowNewSummary__".concat(userId), "".concat(userId));
|
|
106
106
|
};
|
|
107
107
|
|
|
108
108
|
(0, _react.useEffect)(function () {
|
|
109
|
-
var cacheIsKnow = localStorage.getItem("
|
|
109
|
+
var cacheIsKnow = localStorage.getItem("isKnowNewSummary__".concat(userId));
|
|
110
110
|
|
|
111
111
|
if (cacheIsKnow) {
|
|
112
|
-
|
|
112
|
+
setGuideVisible(false);
|
|
113
|
+
} else {
|
|
114
|
+
setGuideVisible(true);
|
|
113
115
|
}
|
|
114
116
|
}, []);
|
|
115
117
|
|
|
116
|
-
var popup = /*#__PURE__*/_react["default"].createElement("div", {
|
|
117
|
-
className: "".concat(prefix, "__tips")
|
|
118
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
|
-
className: (0, _classnames["default"])("".concat(prefix, "__tips-box"), _defineProperty({}, "".concat(prefix, "__tips-hide"), isKnow))
|
|
120
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
121
|
-
className: "".concat(prefix, "__tips-box-head")
|
|
122
|
-
}, /*#__PURE__*/_react["default"].createElement("h2", {
|
|
123
|
-
className: "".concat(prefix, "__tips-box-title")
|
|
124
|
-
}, "1 : 1 \u9762\u8C08\uFF08\u4E00\u5BF9\u4E00\u9762\u8C08\uFF09\u4E0A\u7EBF\u5566\uFF01"), /*#__PURE__*/_react["default"].createElement("p", {
|
|
125
|
-
className: "".concat(prefix, "__tips-box-content")
|
|
126
|
-
}, "\u52A9\u529B\u7ECF\u7406\u548C\u4E0B\u7EA7\u8FDB\u884C\u6301\u7EED\u6C9F\u901A\uFF0C\u4E3A\u4E0D\u540C\u573A\u666F\u63D0\u4F9B\u4E30\u5BCC\u7684\u6C9F\u901A\u6A21\u677F\uFF0C\u5373\u523B\u4E86\u89E3\uFF0CGo~")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
127
|
-
className: "".concat(prefix, "__tips-box-ok"),
|
|
128
|
-
onClick: handleClick
|
|
129
|
-
}, "\u597D\u54D2")), /*#__PURE__*/_react["default"].createElement("div", {
|
|
130
|
-
className: (0, _classnames["default"])("".concat(prefix, "__tips-triangle"), _defineProperty({}, "".concat(prefix, "__tips-hide"), isKnow))
|
|
131
|
-
}));
|
|
132
|
-
|
|
133
118
|
var renderRawItem = function renderRawItem(menu) {
|
|
134
119
|
var href = menu.href;
|
|
135
120
|
|
|
136
|
-
if (menu.title ===
|
|
121
|
+
if (menu.title === 'Learning' || menu.code === 'learning') {
|
|
137
122
|
href = "".concat(apiPath, "/").concat(href);
|
|
138
123
|
}
|
|
139
124
|
|
|
@@ -141,27 +126,38 @@ var Menu = function Menu(_ref) {
|
|
|
141
126
|
component: "span"
|
|
142
127
|
}, /*#__PURE__*/_react["default"].createElement(_conditionRender["default"], {
|
|
143
128
|
condition: menu.id
|
|
144
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
129
|
+
}, menu.href === NEWMENUS && /*#__PURE__*/_react["default"].createElement(_guideTip["default"], {
|
|
130
|
+
visible: guideVisible,
|
|
131
|
+
classnames: "".concat(prefix, "__guide"),
|
|
132
|
+
type: "button",
|
|
133
|
+
content: /*#__PURE__*/_react["default"].createElement("span", {
|
|
134
|
+
className: "".concat(prefix, "__guide-content")
|
|
135
|
+
}, (0, _getLocale.getLocale)('Rep_NewS_SuyUgraOKR')),
|
|
136
|
+
popupAlign: {
|
|
137
|
+
offset: [0, 140]
|
|
138
|
+
},
|
|
139
|
+
onClickClose: handleClickClose
|
|
140
|
+
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("a", {
|
|
152
141
|
className: (0, _classnames["default"])("".concat(prefix, "__menu-show"), _defineProperty({}, "".concat(prefix, "__menu-show--active"), activeMenuId === menu.id)),
|
|
153
142
|
href: href,
|
|
154
143
|
target: "_self",
|
|
155
144
|
onClick: function onClick() {
|
|
156
145
|
return handleTracker(menu);
|
|
157
146
|
}
|
|
158
|
-
}, menu.title,
|
|
159
|
-
className: (0, _classnames["default"])("".concat(prefix, "__menu--hasNum"), _defineProperty({}, "".concat(prefix, "__menu--hasNum-active"), activeMenuId === menu.id && menu.href === "#dynamic"))
|
|
160
|
-
}, feedNum > 100 ? "99+" : feedNum), menu.href === NEWMENUS && /*#__PURE__*/_react["default"].createElement("img", {
|
|
147
|
+
}, menu.title, /*#__PURE__*/_react["default"].createElement("img", {
|
|
161
148
|
src: _new["default"],
|
|
162
149
|
alt: "",
|
|
163
150
|
className: "".concat(prefix, "__tips-new")
|
|
164
|
-
}))))
|
|
151
|
+
})))), menu.href !== NEWMENUS && /*#__PURE__*/_react["default"].createElement("a", {
|
|
152
|
+
className: (0, _classnames["default"])("".concat(prefix, "__menu-show"), _defineProperty({}, "".concat(prefix, "__menu-show--active"), activeMenuId === menu.id)),
|
|
153
|
+
href: href,
|
|
154
|
+
target: "_self",
|
|
155
|
+
onClick: function onClick() {
|
|
156
|
+
return handleTracker(menu);
|
|
157
|
+
}
|
|
158
|
+
}, menu.title, menu.href === '#dynamic' && feedNum > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
159
|
+
className: (0, _classnames["default"])("".concat(prefix, "__menu--hasNum"), _defineProperty({}, "".concat(prefix, "__menu--hasNum-active"), activeMenuId === menu.id && menu.href === '#dynamic'))
|
|
160
|
+
}, feedNum > 100 ? '99+' : feedNum))));
|
|
165
161
|
};
|
|
166
162
|
|
|
167
163
|
var renderRest = function renderRest(items) {
|
|
@@ -175,7 +171,7 @@ var Menu = function Menu(_ref) {
|
|
|
175
171
|
}, items.map(function (menu) {
|
|
176
172
|
var href = menu.href;
|
|
177
173
|
|
|
178
|
-
if (menu.title ===
|
|
174
|
+
if (menu.title === 'Learning' || menu.code === 'learning') {
|
|
179
175
|
href = "".concat(apiPath, "/").concat(href);
|
|
180
176
|
}
|
|
181
177
|
|
|
@@ -196,7 +192,7 @@ var Menu = function Menu(_ref) {
|
|
|
196
192
|
popupPlacement: "bottomLeft",
|
|
197
193
|
popupAlign: popupAlign
|
|
198
194
|
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
199
|
-
className: (0, _classnames["default"])(
|
|
195
|
+
className: (0, _classnames["default"])('tu-icon-diot', "".concat(prefix, "__more-icon"), _defineProperty({}, "".concat(prefix, "__more-icon--active"), isActiveHideMeun))
|
|
200
196
|
}));
|
|
201
197
|
};
|
|
202
198
|
|
|
@@ -78,7 +78,18 @@ function Inform(props) {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
if (objType === _constant.EObjType.Remind) {
|
|
81
|
-
|
|
81
|
+
var reg = /href=".*?(?=")/g;
|
|
82
|
+
var url = "";
|
|
83
|
+
item.content.replace(reg, function ($0) {
|
|
84
|
+
url = $0.slice(6);
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
if (url) {
|
|
88
|
+
(0, _tools.openPage)(url);
|
|
89
|
+
return;
|
|
90
|
+
} // @ts-ignore
|
|
91
|
+
|
|
92
|
+
|
|
82
93
|
window.Talent.app.vent.trigger("global-daily-detail-pull-screen", objId);
|
|
83
94
|
return;
|
|
84
95
|
}
|
|
@@ -120,14 +131,14 @@ function Inform(props) {
|
|
|
120
131
|
if (!str) return;
|
|
121
132
|
str = str.join("");
|
|
122
133
|
|
|
123
|
-
var
|
|
134
|
+
var _url2 = str.slice(0, str.length - 1);
|
|
124
135
|
|
|
125
|
-
if (
|
|
136
|
+
if (_url2) {
|
|
126
137
|
if (item.content.indexOf("点击此处下载") !== -1) {
|
|
127
|
-
window.open(
|
|
138
|
+
window.open(_url2, "_self");
|
|
128
139
|
}
|
|
129
140
|
|
|
130
|
-
(0, _tools.openPage)(
|
|
141
|
+
(0, _tools.openPage)(_url2);
|
|
131
142
|
}
|
|
132
143
|
|
|
133
144
|
return;
|
|
@@ -139,9 +150,9 @@ function Inform(props) {
|
|
|
139
150
|
}
|
|
140
151
|
|
|
141
152
|
if (objType === _constant.informType.Okr) {
|
|
142
|
-
var
|
|
153
|
+
var _url3 = item.content.match(/(http[s]?:\/\/([\w-]+.)+([:\d+])?(\/[\w-\.\/\?%&=]*))/g);
|
|
143
154
|
|
|
144
|
-
(0, _tools.openPage)(
|
|
155
|
+
(0, _tools.openPage)(_url3);
|
|
145
156
|
return;
|
|
146
157
|
}
|
|
147
158
|
|
|
@@ -156,9 +167,9 @@ function Inform(props) {
|
|
|
156
167
|
if (!_str) return;
|
|
157
168
|
_str = _str.join("");
|
|
158
169
|
|
|
159
|
-
var
|
|
170
|
+
var _url4 = _str.slice(0, _str.length - 1);
|
|
160
171
|
|
|
161
|
-
(0, _tools.openPage)(
|
|
172
|
+
(0, _tools.openPage)(_url4);
|
|
162
173
|
return;
|
|
163
174
|
}
|
|
164
175
|
|
|
@@ -168,9 +179,9 @@ function Inform(props) {
|
|
|
168
179
|
if (!_str2) return;
|
|
169
180
|
_str2 = _str2.join("");
|
|
170
181
|
|
|
171
|
-
var
|
|
182
|
+
var _url5 = _str2.slice(0, _str2.length - 1);
|
|
172
183
|
|
|
173
|
-
(0, _tools.openPage)(
|
|
184
|
+
(0, _tools.openPage)(_url5);
|
|
174
185
|
return;
|
|
175
186
|
}
|
|
176
187
|
|
|
@@ -184,14 +195,14 @@ function Inform(props) {
|
|
|
184
195
|
return;
|
|
185
196
|
}
|
|
186
197
|
|
|
187
|
-
var
|
|
188
|
-
var
|
|
189
|
-
item.content.replace(
|
|
190
|
-
|
|
198
|
+
var _reg = /href='.*?(?=')/g;
|
|
199
|
+
var _url = "";
|
|
200
|
+
item.content.replace(_reg, function ($0) {
|
|
201
|
+
_url = $0.slice(6);
|
|
191
202
|
});
|
|
192
203
|
|
|
193
|
-
if (
|
|
194
|
-
(0, _tools.openPage)(
|
|
204
|
+
if (_url) {
|
|
205
|
+
(0, _tools.openPage)(_url);
|
|
195
206
|
return;
|
|
196
207
|
}
|
|
197
208
|
}
|
|
@@ -51,7 +51,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
51
51
|
|
|
52
52
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
53
53
|
|
|
54
|
-
var prefixCls =
|
|
54
|
+
var prefixCls = 'titaui-user-message';
|
|
55
55
|
|
|
56
56
|
function UserMessage() {
|
|
57
57
|
var _useState = (0, _react.useState)(0),
|
|
@@ -79,7 +79,7 @@ function UserMessage() {
|
|
|
79
79
|
preData = _useState10[0],
|
|
80
80
|
setPreData = _useState10[1];
|
|
81
81
|
|
|
82
|
-
var _useState11 = (0, _react.useState)(
|
|
82
|
+
var _useState11 = (0, _react.useState)('todos'),
|
|
83
83
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
84
84
|
firstTab = _useState12[0],
|
|
85
85
|
setFirstTab = _useState12[1];
|
|
@@ -96,16 +96,16 @@ function UserMessage() {
|
|
|
96
96
|
setAllData(res.Data.indicators);
|
|
97
97
|
var indicators = res.Data.indicators;
|
|
98
98
|
var todos = indicators.find(function (item) {
|
|
99
|
-
return item.type ===
|
|
99
|
+
return item.type === 'todoIndicator';
|
|
100
100
|
});
|
|
101
101
|
var informs = indicators.find(function (item) {
|
|
102
|
-
return item.type ===
|
|
102
|
+
return item.type === 'messageIndicator';
|
|
103
103
|
});
|
|
104
104
|
var replys = indicators.find(function (item) {
|
|
105
|
-
return item.type ===
|
|
105
|
+
return item.type === 'mLeaveandComment';
|
|
106
106
|
});
|
|
107
107
|
var reminds = indicators.find(function (item) {
|
|
108
|
-
return item.type ===
|
|
108
|
+
return item.type === 'Tx';
|
|
109
109
|
});
|
|
110
110
|
var total = 0; // @与回复的数量在通知里面包含了
|
|
111
111
|
|
|
@@ -125,17 +125,17 @@ function UserMessage() {
|
|
|
125
125
|
setInfosNum(total);
|
|
126
126
|
|
|
127
127
|
if (todos && todos.value) {
|
|
128
|
-
setFirstTab(
|
|
128
|
+
setFirstTab('todos');
|
|
129
129
|
} else if (informs && !replys && informs.value) {
|
|
130
|
-
setFirstTab(
|
|
130
|
+
setFirstTab('informs');
|
|
131
131
|
} else if (replys && informs.value - replys.value === 0) {
|
|
132
|
-
setFirstTab(
|
|
132
|
+
setFirstTab('replys');
|
|
133
133
|
} else if (replys && informs.value - replys.value > 0) {
|
|
134
|
-
setFirstTab(
|
|
134
|
+
setFirstTab('informs');
|
|
135
135
|
} else if (reminds && reminds.value) {
|
|
136
|
-
setFirstTab(
|
|
136
|
+
setFirstTab('reminds');
|
|
137
137
|
} else {
|
|
138
|
-
setFirstTab(
|
|
138
|
+
setFirstTab('todos');
|
|
139
139
|
} // 判断是企业勋章
|
|
140
140
|
|
|
141
141
|
|
|
@@ -148,7 +148,7 @@ function UserMessage() {
|
|
|
148
148
|
} // upaas 勋章
|
|
149
149
|
|
|
150
150
|
|
|
151
|
-
var medalDetail = (0, _bsGlobal.getBSGlobal)(
|
|
151
|
+
var medalDetail = (0, _bsGlobal.getBSGlobal)('medalDetail');
|
|
152
152
|
|
|
153
153
|
if (medalDetail) {
|
|
154
154
|
window.util.upaasMedal()(medalDetail);
|
|
@@ -156,7 +156,7 @@ function UserMessage() {
|
|
|
156
156
|
|
|
157
157
|
|
|
158
158
|
var mRedPackIndicator = indicators.filter(function (item) {
|
|
159
|
-
return item.type ===
|
|
159
|
+
return item.type === 'mRedPackIndicator';
|
|
160
160
|
});
|
|
161
161
|
|
|
162
162
|
if (mRedPackIndicator.length > 0) {
|
|
@@ -165,10 +165,10 @@ function UserMessage() {
|
|
|
165
165
|
|
|
166
166
|
|
|
167
167
|
var blessIndicator = indicators.filter(function (item) {
|
|
168
|
-
return item.type ===
|
|
168
|
+
return item.type === 'mZhufu';
|
|
169
169
|
});
|
|
170
170
|
var weeklyReportIndicator = indicators.filter(function (item) {
|
|
171
|
-
return item.type ===
|
|
171
|
+
return item.type === 'mWeekStatisticIndicator';
|
|
172
172
|
});
|
|
173
173
|
|
|
174
174
|
if (blessIndicator.length === 1) {
|
|
@@ -185,11 +185,11 @@ function UserMessage() {
|
|
|
185
185
|
if (weeklyReportIndicator.length) {
|
|
186
186
|
var _window;
|
|
187
187
|
|
|
188
|
-
(_window = window) === null || _window === void 0 ? void 0 : _window.Talent.app.vent.trigger(
|
|
188
|
+
(_window = window) === null || _window === void 0 ? void 0 : _window.Talent.app.vent.trigger('open-weekly-report-modal');
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
var feedInfo = indicators.find(function (item) {
|
|
192
|
-
return item.type ===
|
|
192
|
+
return item.type === 'feedAboutMeIndicator';
|
|
193
193
|
});
|
|
194
194
|
|
|
195
195
|
if (feedInfo) {
|
|
@@ -230,7 +230,7 @@ function UserMessage() {
|
|
|
230
230
|
condition: infosNum !== 0
|
|
231
231
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
232
232
|
className: (0, _classnames["default"])("".concat(prefixCls, "__msg-total"))
|
|
233
|
-
}, infosNum > 100 ?
|
|
233
|
+
}, infosNum > 100 ? '99+' : infosNum)), /*#__PURE__*/_react["default"].createElement("img", {
|
|
234
234
|
src: _bell["default"],
|
|
235
235
|
className: (0, _classnames["default"])(_defineProperty({}, "".concat(prefixCls, "__msg-dot"), infosNum !== preData)),
|
|
236
236
|
alt: ""
|
|
@@ -21,6 +21,8 @@ var _appCenter = _interopRequireDefault(require("./components/app-center"));
|
|
|
21
21
|
|
|
22
22
|
var _userOwnMenu = _interopRequireDefault(require("./components/user-own-menu"));
|
|
23
23
|
|
|
24
|
+
var _guideTip = _interopRequireDefault(require("../guide-tip"));
|
|
25
|
+
|
|
24
26
|
var _menu = _interopRequireDefault(require("./components/menu"));
|
|
25
27
|
|
|
26
28
|
var _userMessage = _interopRequireDefault(require("./components/user-message"));
|
|
@@ -87,6 +89,11 @@ var NavTop = function NavTop() {
|
|
|
87
89
|
appCenterVisible = _useState6[0],
|
|
88
90
|
setAppCenterVisible = _useState6[1];
|
|
89
91
|
|
|
92
|
+
var _useState7 = (0, _react.useState)(false),
|
|
93
|
+
_useState8 = _slicedToArray(_useState7, 2),
|
|
94
|
+
summaryGuideVisible = _useState8[0],
|
|
95
|
+
setSummaryGuideVisible = _useState8[1];
|
|
96
|
+
|
|
90
97
|
var ua = navigator.userAgent.toLowerCase();
|
|
91
98
|
var showWxInvite = (0, _bsGlobal.getTenantInfo)().mainCorpId && ua.indexOf("micromessenger") !== -1;
|
|
92
99
|
var openWxInvite = (0, _react.useCallback)(function () {
|
|
@@ -144,6 +151,26 @@ var NavTop = function NavTop() {
|
|
|
144
151
|
window.removeEventListener("hashchange", handleHashChange);
|
|
145
152
|
};
|
|
146
153
|
}, [menu]);
|
|
154
|
+
(0, _react.useEffect)(function () {
|
|
155
|
+
var cacheIsKonw = localStorage.getItem("NewAppCenterGuide_".concat(window.BSGlobal.loginUserInfo.Id));
|
|
156
|
+
|
|
157
|
+
if (cacheIsKonw) {
|
|
158
|
+
setSummaryGuideVisible(false);
|
|
159
|
+
} else {
|
|
160
|
+
setSummaryGuideVisible(true);
|
|
161
|
+
}
|
|
162
|
+
}, []);
|
|
163
|
+
|
|
164
|
+
var handleCloseSummaryGuide = function handleCloseSummaryGuide() {
|
|
165
|
+
setSummaryGuideVisible(false);
|
|
166
|
+
var loginUserId = BSGlobal.loginUserInfo.Id;
|
|
167
|
+
var cacheIsKonw = localStorage.getItem("NewAppCenterGuide_".concat(loginUserId));
|
|
168
|
+
|
|
169
|
+
if (!cacheIsKonw) {
|
|
170
|
+
localStorage.setItem("NewAppCenterGuide_".concat(loginUserId), "".concat(loginUserId));
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
|
|
147
174
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
148
175
|
className: (0, _classnames["default"])(preCls, _defineProperty({}, "".concat(preCls, "--position"), appCenterVisible), _defineProperty({}, "".concat(preCls, "-no-shadow"), appCenterVisible))
|
|
149
176
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
@@ -153,12 +180,22 @@ var NavTop = function NavTop() {
|
|
|
153
180
|
alt: "logo",
|
|
154
181
|
src: Logo,
|
|
155
182
|
className: "".concat(preCls, "__left-logo")
|
|
156
|
-
})), isUseNewMenu && /*#__PURE__*/_react["default"].createElement("
|
|
183
|
+
})), isUseNewMenu && /*#__PURE__*/_react["default"].createElement(_guideTip["default"], {
|
|
184
|
+
visible: summaryGuideVisible,
|
|
185
|
+
content: /*#__PURE__*/_react["default"].createElement("span", {
|
|
186
|
+
className: "".concat(preCls, "__app-guide-content")
|
|
187
|
+
}, "\uD83D\uDC46\u70B9\u51FB\u8FD9\u91CC\u53D1\u73B0\u66F4\u591A\u5E94\u7528"),
|
|
188
|
+
type: "button",
|
|
189
|
+
popupPlacement: "bottom",
|
|
190
|
+
classnames: "".concat(preCls, "__app-guide"),
|
|
191
|
+
onClickClose: handleCloseSummaryGuide,
|
|
192
|
+
width: 197
|
|
193
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
157
194
|
className: (0, _classnames["default"])("".concat(preCls, "__left-app-center"), "document-mouse-event-ignore", _defineProperty({}, "".concat(preCls, "__left-app-center--active"), appCenterVisible)),
|
|
158
195
|
onClick: function onClick() {
|
|
159
196
|
return setAppCenterVisible(!appCenterVisible);
|
|
160
197
|
}
|
|
161
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
198
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
162
199
|
className: (0, _classnames["default"])("".concat(preCls, "__line"))
|
|
163
200
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
164
201
|
className: (0, _classnames["default"])("".concat(preCls, "__middle"))
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.EConfidence = exports.ConfidencePointArr = exports.ConfidenceMapIcon = void 0;
|
|
7
|
+
|
|
8
|
+
var _ = _interopRequireDefault(require("./img/1.svg"));
|
|
9
|
+
|
|
10
|
+
var _2 = _interopRequireDefault(require("./img/2.svg"));
|
|
11
|
+
|
|
12
|
+
var _3 = _interopRequireDefault(require("./img/3.svg"));
|
|
13
|
+
|
|
14
|
+
var _4 = _interopRequireDefault(require("./img/4.svg"));
|
|
15
|
+
|
|
16
|
+
var _5 = _interopRequireDefault(require("./img/5.svg"));
|
|
17
|
+
|
|
18
|
+
var _6 = _interopRequireDefault(require("./img/6.svg"));
|
|
19
|
+
|
|
20
|
+
var _7 = _interopRequireDefault(require("./img/7.svg"));
|
|
21
|
+
|
|
22
|
+
var _8 = _interopRequireDefault(require("./img/8.svg"));
|
|
23
|
+
|
|
24
|
+
var _9 = _interopRequireDefault(require("./img/9.svg"));
|
|
25
|
+
|
|
26
|
+
var _10 = _interopRequireDefault(require("./img/10.svg"));
|
|
27
|
+
|
|
28
|
+
var _ConfidenceMapIcon;
|
|
29
|
+
|
|
30
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
31
|
+
|
|
32
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
33
|
+
|
|
34
|
+
var ConfidencePointArr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
|
|
35
|
+
exports.ConfidencePointArr = ConfidencePointArr;
|
|
36
|
+
var EConfidence;
|
|
37
|
+
exports.EConfidence = EConfidence;
|
|
38
|
+
|
|
39
|
+
(function (EConfidence) {
|
|
40
|
+
EConfidence[EConfidence["OnePoint"] = 1] = "OnePoint";
|
|
41
|
+
EConfidence[EConfidence["TwoPoint"] = 2] = "TwoPoint";
|
|
42
|
+
EConfidence[EConfidence["ThreePoint"] = 3] = "ThreePoint";
|
|
43
|
+
EConfidence[EConfidence["FourPoint"] = 4] = "FourPoint";
|
|
44
|
+
EConfidence[EConfidence["FivePoint"] = 5] = "FivePoint";
|
|
45
|
+
EConfidence[EConfidence["SixPoint"] = 6] = "SixPoint";
|
|
46
|
+
EConfidence[EConfidence["SevenPoint"] = 7] = "SevenPoint";
|
|
47
|
+
EConfidence[EConfidence["EightPoint"] = 8] = "EightPoint";
|
|
48
|
+
EConfidence[EConfidence["NinePoint"] = 9] = "NinePoint";
|
|
49
|
+
EConfidence[EConfidence["TenPoint"] = 10] = "TenPoint";
|
|
50
|
+
})(EConfidence || (exports.EConfidence = EConfidence = {}));
|
|
51
|
+
|
|
52
|
+
var ConfidenceMapIcon = (_ConfidenceMapIcon = {}, _defineProperty(_ConfidenceMapIcon, EConfidence.OnePoint, _["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.TwoPoint, _2["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.ThreePoint, _3["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.FourPoint, _4["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.FivePoint, _5["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.SixPoint, _6["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.SevenPoint, _7["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.EightPoint, _8["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.NinePoint, _9["default"]), _defineProperty(_ConfidenceMapIcon, EConfidence.TenPoint, _10["default"]), _ConfidenceMapIcon);
|
|
53
|
+
exports.ConfidenceMapIcon = ConfidenceMapIcon;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>1</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient x1="97.5204612%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
|
|
6
|
+
<stop stop-color="#FF5555" offset="0%"></stop>
|
|
7
|
+
<stop stop-color="#FFA5A5" offset="100%"></stop>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<path d="M6.38000728,0 C2.8873946,0 0,2.79020658 0,6.26612077 C0,7.06403507 0.17652194,7.99659741 0.448870077,8.69726591 C1.51052346,12.2130758 6.44305083,18.2198744 11.3427955,19.7832878 C18.2246295,15.544368 20.4941973,11.8739622 21.4575027,8.78453779 C21.7071552,7.98662348 21.7802857,7.24107231 21.7802857,6.33344478 C21.7802857,2.8575306 18.7592388,0 15.2666261,0 C13.5341893,0 11.9656658,0.693188051 10.8233167,1.81525504 C9.68096756,0.693188051 8.11244403,0 6.38000728,0 Z" id="path-2"></path>
|
|
10
|
+
<linearGradient x1="35.6067299%" y1="-7.3874199%" x2="39.8232883%" y2="80.1176065%" id="linearGradient-4">
|
|
11
|
+
<stop stop-color="#FFFFFF" stop-opacity="0.300000012" offset="5.24306633%"></stop>
|
|
12
|
+
<stop stop-color="#FFFFFF" stop-opacity="0" offset="81.7708313%"></stop>
|
|
13
|
+
</linearGradient>
|
|
14
|
+
<linearGradient x1="109.201964%" y1="-32.6093597%" x2="-34.6017883%" y2="143.225568%" id="linearGradient-5">
|
|
15
|
+
<stop stop-color="#FFFFFF" offset="7.84609392%"></stop>
|
|
16
|
+
<stop stop-color="#FFFFFF" stop-opacity="0" offset="100%"></stop>
|
|
17
|
+
</linearGradient>
|
|
18
|
+
</defs>
|
|
19
|
+
<g id="信心指数" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
20
|
+
<g transform="translate(-466.000000, -40.000000)" id="1">
|
|
21
|
+
<g transform="translate(466.000000, 40.000000)">
|
|
22
|
+
<rect id="矩形" x="0" y="0" width="24" height="24"></rect>
|
|
23
|
+
<g id="编组" transform="translate(1.000000, 2.000000)">
|
|
24
|
+
<g id="Union" transform="translate(0.219714, 0.216712)">
|
|
25
|
+
<g id="路径-3">
|
|
26
|
+
<mask id="mask-3" fill="white">
|
|
27
|
+
<use xlink:href="#path-2"></use>
|
|
28
|
+
</mask>
|
|
29
|
+
<use id="蒙版" fill="url(#linearGradient-1)" xlink:href="#path-2"></use>
|
|
30
|
+
<path d="M-0.226151355,18.4200861 C3.33323438,15.6910419 7.44985819,15.2359812 12.1237201,17.0549038 C16.797582,18.8738264 20.6277271,17.641334 23.6141555,13.3574264 L23.6141555,-0.664737388 L-0.226151355,-0.664737388 L-0.226151355,18.4200861 Z" fill="#FFD3D3" mask="url(#mask-3)"></path>
|
|
31
|
+
</g>
|
|
32
|
+
<path d="M6.38000728,0 C2.8873946,0 0,2.79020658 0,6.26612077 C0,7.06403507 0.17652194,7.99659741 0.448870077,8.69726591 C1.51052346,12.2130758 6.44305083,18.2198744 11.3427955,19.7832878 C18.2246295,15.544368 20.4941973,11.8739622 21.4575027,8.78453779 C21.7071552,7.98662348 21.7802857,7.24107231 21.7802857,6.33344478 C21.7802857,2.8575306 18.7592388,0 15.2666261,0 C13.5341893,0 11.9656658,0.693188051 10.8233167,1.81525504 C9.68096756,0.693188051 8.11244403,0 6.38000728,0 Z" stroke-opacity="0.3" stroke="#FFFFFF" stroke-width="0.5" stroke-dasharray="0"></path>
|
|
33
|
+
</g>
|
|
34
|
+
<path d="M6.8869768,1.71651047 C4.04105067,1.70395203 1.74386871,3.9927455 1.75648263,6.83153261 C1.76918964,9.66782078 4.08688702,11.9770628 6.93281315,11.9897248 C9.77622299,12.0022722 12.0734049,9.71347873 12.0608021,6.87719056 C12.048084,4.03840345 9.73038664,1.72916147 6.8869768,1.71651047 Z" id="Ellipse-170" fill="url(#linearGradient-4)" transform="translate(6.908642, 6.853118) rotate(-26.050000) translate(-6.908642, -6.853118) "></path>
|
|
35
|
+
<path d="M6.71275953,3.87516411 C5.4467279,4.12903387 4.758381,5.77118001 4.58781188,6.81893961" id="Vector-120" stroke="url(#linearGradient-5)" stroke-width="2.52174201" stroke-dasharray="0" transform="translate(5.650286, 5.347052) rotate(8.070000) translate(-5.650286, -5.347052) "></path>
|
|
36
|
+
</g>
|
|
37
|
+
</g>
|
|
38
|
+
</g>
|
|
39
|
+
</g>
|
|
40
|
+
</svg>
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>10</title>
|
|
4
|
+
<defs>
|
|
5
|
+
<linearGradient x1="97.5204612%" y1="50%" x2="0%" y2="50%" id="linearGradient-1">
|
|
6
|
+
<stop stop-color="#FF5555" offset="0%"></stop>
|
|
7
|
+
<stop stop-color="#FFA5A5" offset="100%"></stop>
|
|
8
|
+
</linearGradient>
|
|
9
|
+
<linearGradient x1="35.6067299%" y1="-7.3874199%" x2="39.8232883%" y2="80.1176065%" id="linearGradient-2">
|
|
10
|
+
<stop stop-color="#FFFFFF" stop-opacity="0.300000012" offset="5.24306633%"></stop>
|
|
11
|
+
<stop stop-color="#FFFFFF" stop-opacity="0" offset="81.7708313%"></stop>
|
|
12
|
+
</linearGradient>
|
|
13
|
+
<linearGradient x1="109.201964%" y1="-32.6093597%" x2="-34.6017883%" y2="143.225568%" id="linearGradient-3">
|
|
14
|
+
<stop stop-color="#FFFFFF" offset="7.84609392%"></stop>
|
|
15
|
+
<stop stop-color="#FFFFFF" stop-opacity="0" offset="100%"></stop>
|
|
16
|
+
</linearGradient>
|
|
17
|
+
</defs>
|
|
18
|
+
<g id="信心指数" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
19
|
+
<g transform="translate(-466.000000, -364.000000)" id="10">
|
|
20
|
+
<g transform="translate(466.000000, 364.000000)">
|
|
21
|
+
<rect id="矩形" x="0" y="0" width="24" height="24"></rect>
|
|
22
|
+
<g id="编组" transform="translate(1.000000, 2.000000)">
|
|
23
|
+
<g id="Union" transform="translate(0.219714, 0.216712)">
|
|
24
|
+
<path d="M6.38000728,0 C2.8873946,0 0,2.79020658 0,6.26612077 C0,7.06403507 0.17652194,7.99659741 0.448870077,8.69726591 C1.51052346,12.2130758 6.44305083,18.2198744 11.3427955,19.7832878 C18.2246295,15.544368 20.4941973,11.8739622 21.4575027,8.78453779 C21.7071552,7.98662348 21.7802857,7.24107231 21.7802857,6.33344478 C21.7802857,2.8575306 18.7592388,0 15.2666261,0 C13.5341893,0 11.9656658,0.693188051 10.8233167,1.81525504 C9.68096756,0.693188051 8.11244403,0 6.38000728,0 Z" fill="url(#linearGradient-1)"></path>
|
|
25
|
+
<path d="M6.38000728,0 C2.8873946,0 0,2.79020658 0,6.26612077 C0,7.06403507 0.17652194,7.99659741 0.448870077,8.69726591 C1.51052346,12.2130758 6.44305083,18.2198744 11.3427955,19.7832878 C18.2246295,15.544368 20.4941973,11.8739622 21.4575027,8.78453779 C21.7071552,7.98662348 21.7802857,7.24107231 21.7802857,6.33344478 C21.7802857,2.8575306 18.7592388,0 15.2666261,0 C13.5341893,0 11.9656658,0.693188051 10.8233167,1.81525504 C9.68096756,0.693188051 8.11244403,0 6.38000728,0 Z" stroke-opacity="0.3" stroke="#FFFFFF" stroke-width="0.5" stroke-dasharray="0"></path>
|
|
26
|
+
</g>
|
|
27
|
+
<path d="M6.8869768,1.71651047 C4.04105067,1.70395203 1.74386871,3.9927455 1.75648263,6.83153261 C1.76918964,9.66782078 4.08688702,11.9770628 6.93281315,11.9897248 C9.77622299,12.0022722 12.0734049,9.71347873 12.0608021,6.87719056 C12.048084,4.03840345 9.73038664,1.72916147 6.8869768,1.71651047 Z" id="Ellipse-170" fill="url(#linearGradient-2)" transform="translate(6.908642, 6.853118) rotate(-26.050000) translate(-6.908642, -6.853118) "></path>
|
|
28
|
+
<path d="M6.71275953,3.87516411 C5.4467279,4.12903387 4.758381,5.77118001 4.58781188,6.81893961" id="Vector-120" stroke="url(#linearGradient-3)" stroke-width="2.52174201" stroke-dasharray="0" transform="translate(5.650286, 5.347052) rotate(8.070000) translate(-5.650286, -5.347052) "></path>
|
|
29
|
+
</g>
|
|
30
|
+
</g>
|
|
31
|
+
</g>
|
|
32
|
+
</g>
|
|
33
|
+
</svg>
|