@titaui/pc 1.17.3 → 1.17.60
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/attachments-preview/index.js +9 -4
- package/lib/components/auto-save/index.js +4 -2
- package/lib/components/avatar/default.js +6 -5
- package/lib/components/avatar/name-avatar/index.js +8 -5
- package/lib/components/avatar/text-avatar/index.js +5 -3
- package/lib/components/book-demo/components/pc/components/checkbox/index.js +5 -3
- package/lib/components/book-demo/components/pc/components/content/index.js +5 -3
- package/lib/components/book-demo/components/pc/components/drop-select/index.js +5 -3
- package/lib/components/book-demo/components/pc/components/input/index.js +5 -3
- package/lib/components/book-demo/components/pc/components/phone/index.js +5 -3
- package/lib/components/book-demo/components/pc/components/verify-code/index.js +5 -3
- package/lib/components/book-demo/components/pc/index.js +2 -2
- package/lib/components/book-demo/constant.js +130 -9
- package/lib/components/book-demo/interface.js +5 -4
- package/lib/components/book-demo/utils.js +4 -1
- package/lib/components/button/default-button/index.js +4 -1
- package/lib/components/button/icon-btn/index.css +8 -3
- package/lib/components/button/icon-btn/index.js +4 -1
- package/lib/components/button/rect-btn/index.css +5 -1
- package/lib/components/button/rect-btn/index.js +6 -1
- package/lib/components/button/text-btn/index.js +4 -1
- package/lib/components/card-template/index.css +74 -0
- package/lib/components/card-template/index.js +44 -0
- package/lib/components/carousel/index.css +70 -0
- package/lib/components/carousel/index.js +85 -0
- package/lib/components/cascader/index.js +2 -2
- package/lib/components/change-okr-modal/Filter.js +5 -3
- package/lib/components/change-okr-modal/Item.js +7 -3
- package/lib/components/change-okr-modal/filterTab.js +3 -1
- package/lib/components/change-okr-modal/index.js +82 -82
- package/lib/components/checkbox/index.js +10 -6
- package/lib/components/checkbox-list/index.js +1 -1
- package/lib/components/color-date-picker/index.js +5 -3
- package/lib/components/color-date-picker/interface.js +4 -4
- package/lib/components/common-share/index.js +2 -2
- package/lib/components/common-share/publishMblog.js +29 -29
- package/lib/components/communication/CommunicationAttachments.js +5 -1
- package/lib/components/communication/ConvertUserName.js +3 -1
- package/lib/components/communication/index.js +16 -4
- package/lib/components/confidence/index.js +4 -2
- package/lib/components/contact-kefu/index.js +5 -3
- package/lib/components/create-okr-modal/createCycle.js +5 -3
- package/lib/components/create-okr-modal/createSuccessCmp.js +2 -2
- package/lib/components/create-okr-modal/fields/date-cycle.js +2 -2
- package/lib/components/create-okr-modal/fields/o-new-name.js +2 -2
- package/lib/components/create-okr-modal/fields/okr-case.js +2 -2
- package/lib/components/create-okr-modal/fields/okr-create-suggest.js +4 -4
- package/lib/components/create-okr-modal/fields/okr-new-user-selector.js +3 -3
- package/lib/components/create-okr-modal/fields/okr-parent.js +2 -2
- package/lib/components/create-okr-modal/fields/okr-type-detail.js +15 -17
- package/lib/components/create-okr-modal/fields/okr-visibility-detail.js +28 -30
- package/lib/components/create-okr-modal/index.js +136 -136
- package/lib/components/create-okr-modal/kr-items/kr-item-weight.js +5 -3
- package/lib/components/create-okr-modal/kr-items/krDatas.js +5 -3
- package/lib/components/create-okr-modal/kr-items/krItem.js +4 -2
- package/lib/components/create-okr-modal/objectType.js +7 -3
- package/lib/components/create-okr-modal/request-api.js +73 -83
- package/lib/components/create-okr-modal/utils/helper.js +44 -44
- package/lib/components/date-picker/BodyItem.js +11 -4
- package/lib/components/date-picker/CalendarBody.js +9 -2
- package/lib/components/date-picker/CalendarHeader.js +11 -4
- package/lib/components/date-picker/index.js +9 -2
- package/lib/components/date-range-picker/index.js +11 -4
- package/lib/components/delete-confirm-pop/ConfirmPop.js +3 -1
- package/lib/components/dialog/index.js +4 -2
- package/lib/components/dialog-confirm/index.js +8 -3
- package/lib/components/dialog-qq-docs/index.js +109 -115
- package/lib/components/dialog-qq-docs/utils.js +32 -32
- package/lib/components/dialog-upload/index.js +34 -34
- package/lib/components/dialog-upload/util.js +4 -1
- package/lib/components/dingding-btn/index.js +5 -3
- package/lib/components/drawer/headerAction.js +5 -3
- package/lib/components/drawer/headerDrop.js +2 -2
- package/lib/components/drawer/index.js +3 -1
- package/lib/components/drawer/utils/dom.js +1 -1
- package/lib/components/drawer/utils/useForceUpdate.js +2 -2
- package/lib/components/drawer-manager/drawerWrapper.js +48 -48
- package/lib/components/drawer-manager/index.js +5 -2
- package/lib/components/drawer-manager/utils/dom.js +1 -1
- package/lib/components/drawer-manager/utils/useForceUpdate.js +2 -2
- package/lib/components/drop-selector/icon-item.js +4 -1
- package/lib/components/drop-selector/index.css +6 -4
- package/lib/components/drop-selector/index.js +5 -3
- package/lib/components/dynamic/components/comments-dialog/encourage.js +2 -2
- package/lib/components/dynamic/components/comments-dialog/index.js +29 -28
- package/lib/components/dynamic/components/comments-dialog/rate.js +2 -2
- package/lib/components/dynamic/components/percent/index.js +4 -1
- package/lib/components/dynamic/components/title/index.css +8 -0
- package/lib/components/dynamic/components/title/index.js +8 -3
- package/lib/components/dynamic/constant.js +76 -14
- package/lib/components/dynamic/dynamic-item/components/footer-left/index.js +2 -2
- package/lib/components/dynamic/dynamic-item/components/header/index.css +36 -0
- package/lib/components/dynamic/dynamic-item/components/header/index.js +112 -33
- package/lib/components/dynamic/dynamic-item/components/okr-progress/constant.js +4 -4
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +5 -3
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.js +21 -21
- package/lib/components/dynamic/dynamic-item/components/progress/index.js +4 -2
- package/lib/components/dynamic/dynamic-item/components/summary-header/constant.js +4 -4
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +43 -47
- package/lib/components/dynamic/dynamic-item/components/summary-header/operate-record.js +5 -2
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.js +4 -1
- package/lib/components/dynamic/dynamic-item/components/task-progress/constant.js +4 -4
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +5 -3
- package/lib/components/dynamic/dynamic-item/components/task-progress/interface.js +8 -8
- package/lib/components/dynamic/dynamic-item/components/task-progress/utils.js +2 -2
- package/lib/components/dynamic/dynamic-item/components/work-progress/constant.js +4 -4
- package/lib/components/dynamic/dynamic-item/components/work-progress/index.js +5 -3
- package/lib/components/dynamic/dynamic-item/components/work-progress/interface.js +8 -8
- package/lib/components/dynamic/dynamic-item/components/work-progress/utils.js +6 -3
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/dynamic-footer.js +5 -3
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-discovery/dynamic-footer.js +5 -3
- package/lib/components/dynamic/dynamic-item/dynamic-discovery/index.js +2 -2
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +2 -1
- package/lib/components/dynamic/dynamic-item/dynamic-learning/index.js +2 -2
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.js +31 -30
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/constant.js +8 -8
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +28 -12
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +5 -3
- package/lib/components/dynamic/dynamic-item/dynamic-replay/constant.js +23 -0
- package/lib/components/dynamic/dynamic-item/dynamic-replay/index.css +140 -0
- package/lib/components/dynamic/dynamic-item/dynamic-replay/index.js +310 -0
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.js +6 -5
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.js +3 -1
- package/lib/components/dynamic/dynamic-item/dynamic-reward/utils.js +4 -1
- package/lib/components/dynamic/dynamic-item/index.css +5 -0
- package/lib/components/dynamic/dynamic-item/index.js +55 -40
- package/lib/components/dynamic/request-api.js +16 -2
- package/lib/components/e-priority/index.js +2 -2
- package/lib/components/e-status-dropdown/index.js +2 -2
- package/lib/components/eReport/eReportListEmpty.js +3 -1
- package/lib/components/eReport/eReportLists/reportList.js +5 -1
- package/lib/components/eReport/eReportShare/index.js +4 -2
- package/lib/components/eReport/eReportShare/toast/index.js +3 -1
- package/lib/components/edit-kr-wight/EditKrWightModal.js +6 -2
- package/lib/components/edit-kr-wight/FormItemV2.js +10 -1
- package/lib/components/edit-kr-wight/utils.js +4 -1
- package/lib/components/emotions-selector/selector-content.js +6 -2
- package/lib/components/emotions-selector/selector-pop.js +3 -1
- package/lib/components/enps-answer/img/center-bg.jpg +0 -0
- package/lib/components/enps-answer/img/center-checked.png +0 -0
- package/lib/components/enps-answer/img/center-hover.svg +20 -0
- package/lib/components/enps-answer/img/high-bg.jpg +0 -0
- package/lib/components/enps-answer/img/high-checked.png +0 -0
- package/lib/components/enps-answer/img/high-hover.svg +20 -0
- package/lib/components/enps-answer/img/low-bg.jpg +0 -0
- package/lib/components/enps-answer/img/low-checked.png +0 -0
- package/lib/components/enps-answer/img/low-hover.svg +20 -0
- package/lib/components/enps-answer/index.css +169 -0
- package/lib/components/enps-answer/index.js +228 -0
- package/lib/components/enps-answer/request-api.js +102 -0
- package/lib/components/ereport-list/index.js +5 -1
- package/lib/components/error-boundary/index.js +3 -1
- package/lib/components/expiration-reminder/index.js +30 -7
- package/lib/components/expiration-reminder/utils.js +8 -8
- package/lib/components/file-list/components/single-file/index.js +2 -2
- package/lib/components/file-preview/index.js +4 -4
- package/lib/{pages/new-okr-list/header/filter.js → components/filter/index.js} +23 -11
- package/lib/components/filter-buttons/modular.js +5 -4
- package/lib/components/filter-buttons/name.js +2 -2
- package/lib/components/filter-buttons/search-dropdown/index.js +4 -1
- package/lib/components/firework/index.js +31 -31
- package/lib/components/focus/index.css +0 -0
- package/lib/components/focus/index.js +78 -0
- package/lib/components/follower-visitor/index.js +2 -2
- package/lib/components/form/form-fields/cycle/index.css +1 -1
- package/lib/components/form/form-fields/cycle/index.js +6 -4
- package/lib/components/form/form-fields/date/index.css +1 -0
- package/lib/components/form/form-fields/date/index.js +4 -1
- package/lib/components/form/form-fields/department/index.css +1 -0
- package/lib/components/form/form-fields/department/index.js +5 -3
- package/lib/components/form/form-fields/dropdown/index.js +2 -2
- package/lib/components/form/form-fields/duties/index.js +5 -3
- package/lib/components/form/form-fields/input/index.js +5 -3
- package/lib/components/form/form-fields/input-verification-code/index.js +35 -35
- package/lib/components/form/form-fields/password/index.js +5 -3
- package/lib/components/form/form-fields/radios/index.css +1 -0
- package/lib/components/form/form-fields/radios/index.js +11 -3
- package/lib/components/form/form-fields/textarea/index.js +5 -3
- package/lib/components/form/form-fields/user/index.js +5 -3
- package/lib/components/form/index.js +4 -2
- package/lib/components/grid-layout/commen-components/scroll-tips.js +2 -3
- package/lib/components/grid-layout/essay-component/index.js +2 -2
- package/lib/components/grid-layout/index.js +2 -0
- package/lib/components/grid-layout/near-visitors/index.js +2 -2
- package/lib/components/grid-layout/near-visitors/visitor.js +2 -2
- package/lib/components/grid-layout/okr-align/index.js +2 -2
- package/lib/components/grid-layout/okr-progress/index.js +2 -2
- package/lib/components/grid-layout/okr-target/index.js +2 -2
- package/lib/components/grid-layout/over-view/index.js +2 -2
- package/lib/components/grid-layout/personal-info/index.js +2 -2
- package/lib/components/grid-layout/sub-employee-okr/index.js +2 -2
- package/lib/components/grid-layout/sub-employee-okr/person-okr.js +2 -2
- package/lib/components/grid-layout/util/click-link.js +4 -1
- package/lib/components/grid-layout/util/network.js +47 -53
- package/lib/components/grid-layout/week-task/index.js +2 -2
- package/lib/components/grid-layout/words-cloud/index.js +2 -2
- package/lib/components/grid-page/commen-components/scroll-tips.js +2 -3
- package/lib/components/grid-page/near-visitors/visitor.js +2 -2
- package/lib/components/grid-page/personal-info/index.js +2 -2
- package/lib/components/guide-card/cover/replay/assets/cover-bg.jpg +0 -0
- package/lib/components/guide-card/cover/replay/assets/cover-cube-blue.png +0 -0
- package/lib/components/guide-card/cover/replay/assets/cover-cube-white.png +0 -0
- package/lib/components/guide-card/cover/replay/index.css +44 -0
- package/lib/components/guide-card/cover/replay/index.js +88 -0
- package/lib/components/guide-card/index.css +92 -0
- package/lib/components/guide-card/index.js +66 -0
- package/lib/components/guide-order/index.js +5 -3
- package/lib/components/guide-tip/index.js +7 -3
- package/lib/components/help-card/index.js +2 -2
- package/lib/components/help-card/interface.js +4 -4
- package/lib/components/hr-header/index.js +5 -3
- package/lib/components/icon-button-list/index.js +4 -1
- package/lib/components/img-viewer/index.js +5 -3
- package/lib/components/import-modal/helper.js +2 -2
- package/lib/components/import-modal/import-okr-modal/index.js +11 -5
- package/lib/components/import-modal/import-task-modal/index.js +5 -3
- package/lib/components/import-modal/import-task-modal/search-form.js +16 -15
- package/lib/components/import-modal/radio.js +5 -3
- package/lib/components/import-modal/request-api.js +5 -2
- package/lib/components/import-modal/search/category-select.js +2 -2
- package/lib/components/import-modal/search/okr-classify-select.js +2 -2
- package/lib/components/import-modal/search/okr-relation.js +63 -0
- package/lib/components/import-modal/search/okr-status-select.js +2 -2
- package/lib/components/import-modal/search/okr-type-select.js +3 -3
- package/lib/components/import-modal/search/principal.js +2 -2
- package/lib/components/import-modal/search/relation.js +2 -2
- package/lib/components/import-modal/search/task-relation.js +5 -2
- package/lib/components/import-modal/search/task-status-select.js +2 -2
- package/lib/components/import-modal/search/work-relation.js +2 -2
- package/lib/components/import-modal/search/work-status-select.js +2 -2
- package/lib/components/import-modal/tree/okr-tree/index.js +35 -30
- package/lib/components/import-modal/tree/okr-tree/new-search-form.js +140 -0
- package/lib/components/import-modal/tree/okr-tree/search-form.js +5 -3
- package/lib/components/import-modal/tree/task-work-tree/index.js +1 -1
- package/lib/components/import-modal/tree-node/kr-node/index.css +1 -1
- package/lib/components/import-modal/tree-node/o-node/index.css +1 -1
- package/lib/components/import-modal/tree-node/o-node/index.js +13 -5
- package/lib/components/keyword-search/index.js +5 -3
- package/lib/components/loading/index.js +5 -3
- package/lib/components/magnet/index.js +6 -9
- package/lib/components/mblog/components/ConfirmPop.js +3 -1
- package/lib/components/mblog/components/MblogAction.js +4 -2
- package/lib/components/mblog/components/MblogContent.js +31 -5
- package/lib/components/mblog/index.js +23 -3
- package/lib/components/menus/components/flip-menu-card/index.js +5 -3
- package/lib/components/menus/components/menu-card/index.js +5 -3
- package/lib/components/menus/components/menu-close-btn/index.js +4 -1
- package/lib/components/menus/components/menu-tree/images/research-menu/comment.svg +9 -0
- package/lib/components/menus/components/menu-tree/images/research-menu/eNPS.svg +12 -0
- package/lib/components/menus/components/menu-tree/images/skynet-dataset-menu/dataset-working-hours.svg +10 -0
- package/lib/components/menus/components/menu-tree/tree-node/assess-manage.js +2 -2
- package/lib/components/menus/components/menu-tree/tree-node/avatar/index.js +2 -2
- package/lib/components/menus/components/menu-tree/tree-node/depart/index.js +2 -2
- package/lib/components/menus/components/menu-tree/tree-node/index.css +112 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.js +8 -1
- package/lib/components/menus/components/menu-tree/tree-node/menu-item.js +2 -2
- package/lib/components/menus/components/menu-tree/tree-node/sub-menu-item.js +2 -2
- package/lib/components/menus/components/menu-tree/tree-node/subordinates.js +5 -3
- package/lib/components/menus/components/menu-tree/tree-node/summary-share.js +5 -3
- package/lib/components/menus/components/menu-tree/tree-node/summary-tongji.js +5 -3
- package/lib/components/menus/components/menu-tree/tree-node/user/index.css +19 -1
- package/lib/components/menus/components/menu-tree/tree-node/user/index.js +7 -2
- package/lib/components/menus/components/search-colleague/index.css +24 -0
- package/lib/components/menus/components/search-colleague/index.js +13 -4
- package/lib/components/menus/export-modules/appraisal-menus/index.js +3 -3
- package/lib/components/menus/export-modules/appraisal-menus/menu-highlight.js +47 -28
- package/lib/components/menus/export-modules/appraisal-menus/menus.js +48 -16
- package/lib/components/menus/export-modules/demo-menus/index.js +4 -3
- package/lib/components/menus/export-modules/demo-menus/menu-highlight.js +4 -1
- package/lib/components/menus/export-modules/demo-menus/menus.js +8 -5
- package/lib/components/menus/export-modules/interview-menus/handle-highlight.js +4 -1
- package/lib/components/menus/export-modules/interview-menus/index.js +2 -2
- package/lib/components/menus/export-modules/interview-menus/menus.js +4 -1
- package/lib/components/menus/export-modules/manage-menus/handle-highlight.js +4 -1
- package/lib/components/menus/export-modules/manage-menus/index.js +2 -2
- package/lib/components/menus/export-modules/okr-menus/depart-menus/helper.js +4 -1
- package/lib/components/menus/export-modules/okr-menus/depart-menus/index.js +3 -3
- package/lib/components/menus/export-modules/okr-menus/index.js +2 -2
- package/lib/components/menus/export-modules/okr-menus/menu-highlight.js +4 -1
- package/lib/components/menus/export-modules/okr-menus/menus.js +7 -2
- package/lib/components/menus/export-modules/okr-menus/okr-front-menus.js +2 -4
- package/lib/components/menus/export-modules/okr-menus/subordinate-menus/index.js +3 -3
- package/lib/components/menus/export-modules/pulse-research-menu/index.css +9 -0
- package/lib/components/menus/export-modules/pulse-research-menu/index.js +92 -0
- package/lib/components/menus/export-modules/pulse-research-menu/menu-highlight.js +55 -0
- package/lib/components/menus/export-modules/pulse-research-menu/menus.js +95 -0
- package/lib/components/menus/export-modules/pulse-research-menu/pulse-research-front-menus.js +126 -0
- package/lib/components/menus/export-modules/replay-menus/depart-menus/helper.js +51 -0
- package/lib/components/menus/export-modules/replay-menus/depart-menus/index.css +32 -0
- package/lib/components/menus/export-modules/replay-menus/depart-menus/index.js +210 -0
- package/lib/components/menus/export-modules/replay-menus/index.css +9 -0
- package/lib/components/menus/export-modules/replay-menus/index.js +129 -0
- package/lib/components/menus/export-modules/replay-menus/menu-highlight.js +93 -0
- package/lib/components/menus/export-modules/replay-menus/menus.js +358 -0
- package/lib/components/menus/export-modules/replay-menus/request-api.js +18 -0
- package/lib/components/menus/export-modules/replay-menus/review-front-menus.js +323 -0
- package/lib/components/menus/export-modules/replay-menus/subordinate-menus/helper.js +25 -0
- package/lib/components/menus/export-modules/replay-menus/subordinate-menus/index.css +14 -0
- package/lib/components/menus/export-modules/replay-menus/subordinate-menus/index.js +163 -0
- package/lib/components/menus/export-modules/research-menu/index.js +2 -2
- package/lib/components/menus/export-modules/research-menu/menu-highlight.js +4 -1
- package/lib/components/menus/export-modules/research-menu/menus.js +4 -1
- package/lib/components/menus/export-modules/research-menu/research-front-menus.js +2 -2
- package/lib/components/menus/export-modules/skynet-dashboard-menu/index.js +2 -2
- package/lib/components/menus/export-modules/skynet-dashboard-menu/menu-highlight.js +4 -1
- package/lib/components/menus/export-modules/skynet-dashboard-menu/menus.js +21 -3
- package/lib/components/menus/export-modules/skynet-dashboard-menu/survey-front-menus.js +2 -2
- package/lib/components/menus/export-modules/summary-menus/depart-menus/helper.js +4 -1
- package/lib/components/menus/export-modules/summary-menus/depart-menus/index.js +2 -2
- package/lib/components/menus/export-modules/summary-menus/index.js +2 -2
- package/lib/components/menus/export-modules/summary-menus/menu-highlight.js +4 -1
- package/lib/components/menus/export-modules/summary-menus/menus.js +5 -2
- package/lib/components/menus/export-modules/summary-menus/subordinate-menus/index.js +2 -2
- package/lib/components/menus/export-modules/summary-menus/summary-front-menus.js +2 -5
- package/lib/components/menus/export-modules/survey-menu/index.js +2 -2
- package/lib/components/menus/export-modules/survey-menu/menu-highlight.js +4 -1
- package/lib/components/menus/export-modules/survey-menu/menus.js +4 -1
- package/lib/components/menus/export-modules/survey-menu/survey-front-menus.js +2 -2
- package/lib/components/menus/i18n.js +10 -1
- package/lib/components/menus/index.js +8 -0
- package/lib/components/menus/request-apis.js +17 -1
- package/lib/components/mirroring/index.js +4 -1
- package/lib/components/modal-replay/api.js +32 -0
- package/lib/components/modal-replay/index.css +134 -0
- package/lib/components/modal-replay/index.js +369 -0
- package/lib/components/modal-replay/types.js +24 -0
- package/lib/components/modal-single-replay/index.css +9 -0
- package/lib/components/modal-single-replay/index.js +217 -0
- package/lib/components/mouse-move-block/index.css +15 -0
- package/lib/components/mouse-move-block/index.js +63 -0
- package/lib/components/mutation-observer/index.js +55 -0
- package/lib/components/nav-top/components/app-center/images/yuyue-award.png +0 -0
- package/lib/components/nav-top/components/app-center/index.js +2 -2
- package/lib/components/nav-top/components/app-center/interface.js +4 -4
- package/lib/components/nav-top/components/menu/index.js +5 -3
- package/lib/components/nav-top/components/user-message/components/inform/index.js +2 -2
- package/lib/components/nav-top/components/user-message/components/inform/inform-item.js +38 -33
- package/lib/components/nav-top/components/user-message/components/red-pack/index.js +2 -2
- package/lib/components/nav-top/components/user-message/components/remind/index.js +2 -2
- package/lib/components/nav-top/components/user-message/components/remind/remind-item.js +4 -1
- package/lib/components/nav-top/components/user-message/components/reply/index.js +2 -2
- package/lib/components/nav-top/components/user-message/components/reply/reply-item.js +4 -1
- package/lib/components/nav-top/components/user-message/components/todos/index.js +2 -2
- package/lib/components/nav-top/components/user-message/components/todos/todo-item.js +4 -1
- package/lib/components/nav-top/components/user-message/constant.js +4 -4
- package/lib/components/nav-top/components/user-message/hrMessage.js +2 -2
- package/lib/components/nav-top/components/user-message/index.js +5 -3
- package/lib/components/nav-top/components/user-message/msg/index.js +2 -2
- package/lib/components/nav-top/components/user-own-menu/components/own-menu/index.js +5 -3
- package/lib/components/nav-top/components/user-own-menu/utils.js +4 -1
- package/lib/components/nav-top/components/version/index.js +5 -4
- package/lib/components/nav-top/constant.js +5 -2
- package/lib/components/nav-top/index.js +5 -3
- package/lib/components/nav-top/request.apis.js +1 -0
- package/lib/components/new-confidence/constant.js +8 -5
- package/lib/components/new-confidence/index.js +7 -4
- package/lib/components/okr-dash-filter/index.css +78 -0
- package/lib/components/okr-dash-filter/index.js +157 -0
- package/lib/components/okr-dashboard-filter-drawer/filter-form.js +206 -0
- package/lib/components/okr-dashboard-filter-drawer/index.css +63 -0
- package/lib/components/okr-dashboard-filter-drawer/index.js +38 -0
- package/lib/components/okr-detail/auth.js +4 -2
- package/lib/components/okr-detail/base-info/base-info.js +5 -3
- package/lib/components/okr-detail/base-info/o-desc/index.js +2 -2
- package/lib/components/okr-detail/base-info/other-infos/common/border-wrapper/index.js +2 -2
- package/lib/components/okr-detail/base-info/other-infos/date-cycle/index.js +2 -2
- package/lib/components/okr-detail/base-info/other-infos/okr-type/index.js +2 -2
- package/lib/components/okr-detail/base-info/other-infos/other-infos.js +4 -2
- package/lib/components/okr-detail/base-info/other-infos/principal/index.js +16 -18
- package/lib/components/okr-detail/base-info/other-infos/visibility/index.js +2 -2
- package/lib/components/okr-detail/base-info/util.js +4 -1
- package/lib/components/okr-detail/components/ao-nice/index.js +47 -51
- package/lib/components/okr-detail/components/base-okr-type/confirm/buttonv2.js +3 -1
- package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +3 -1
- package/lib/components/okr-detail/components/base-okr-type/object-type.js +7 -3
- package/lib/components/okr-detail/components/editable-input/index.js +5 -3
- package/lib/components/okr-detail/components/header/edit-name.js +42 -42
- package/lib/components/okr-detail/components/header/index.js +3 -3
- package/lib/components/okr-detail/components/header/o-avatar.js +23 -25
- package/lib/components/okr-detail/components/header/o-classify.js +27 -29
- package/lib/components/okr-detail/components/header/o-score.js +5 -3
- package/lib/components/okr-detail/components/icon-text/index.js +5 -3
- package/lib/components/okr-detail/components/o-classify.js +31 -33
- package/lib/components/okr-detail/components/o-progress-update/index.js +28 -28
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +48 -50
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-priority-dropdown.js +2 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-project.js +2 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-status-dropdown.js +2 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +50 -50
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +50 -50
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +27 -27
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +4 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +12 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/range-picker-pop.js +2 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +24 -26
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/edit-child-okr-weight.js +82 -86
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/index.js +6 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/weight-input.js +5 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +26 -28
- package/lib/components/okr-detail/components/okr-type.js +2 -2
- package/lib/components/okr-detail/detail-footer/index.js +29 -31
- package/lib/components/okr-detail/detail-header/actions.js +4 -1
- package/lib/components/okr-detail/detail-header/confirm.js +2 -2
- package/lib/components/okr-detail/detail-header/constant.js +8 -5
- package/lib/components/okr-detail/detail-header/delete-confirm/delete-confirm.js +2 -2
- package/lib/components/okr-detail/detail-header/enums.js +8 -8
- package/lib/components/okr-detail/detail-header/index.js +128 -136
- package/lib/components/okr-detail/e-list/index.js +2 -2
- package/lib/components/okr-detail/e-list/search-form/fields/e-order.js +6 -4
- package/lib/components/okr-detail/e-list/search-form/fields/e-status.js +1 -1
- package/lib/components/okr-detail/e-list/search-form/index.js +2 -2
- package/lib/components/okr-detail/e-list/util.js +4 -1
- package/lib/components/okr-detail/helper.js +12 -12
- package/lib/components/okr-detail/index.js +5 -3
- package/lib/components/okr-detail/okr-list/create-kr-item/dom.js +1 -1
- package/lib/components/okr-detail/okr-list/create-kr-item/index.js +5 -3
- package/lib/components/okr-detail/okr-list/drag-order-kr.js +4 -1
- package/lib/components/okr-detail/okr-list/index.js +31 -31
- package/lib/components/okr-detail/request-apis.js +11 -11
- package/lib/components/okr-detail/schedule/components/o-progress/index.js +4 -3
- package/lib/components/okr-detail/schedule/schedule.js +2 -2
- package/lib/components/okr-excel/case.js +221 -0
- package/lib/components/okr-excel/hooks.js +6 -3
- package/lib/components/okr-excel/index.js +4 -2
- package/lib/components/okr-excel/renders.js +29 -32
- package/lib/components/okr-excel-create/components/kr-confidence/index.js +2 -2
- package/lib/components/okr-excel-create/components/kr-weight/index.js +2 -2
- package/lib/components/okr-excel-create/components/okr-align/index.js +5 -3
- package/lib/components/okr-excel-create/components/okr-classify/index.js +5 -3
- package/lib/components/okr-excel-create/components/okr-cycle/index.js +2 -2
- package/lib/components/okr-excel-create/components/okr-name/index.js +5 -3
- package/lib/components/okr-excel-create/components/okr-principal/index.js +5 -3
- package/lib/components/okr-excel-create/components/okr-progress/components/kr-progress/index.js +4 -1
- package/lib/components/okr-excel-create/components/okr-progress/components/o-progress/index.js +4 -1
- package/lib/components/okr-excel-create/components/okr-progress/components/okr-progress/index.js +23 -23
- package/lib/components/okr-excel-create/components/okr-progress/index.js +4 -2
- package/lib/components/okr-excel-create/components/okr-type/base-okr-type/confirm/buttonv2.js +3 -1
- package/lib/components/okr-excel-create/components/okr-type/base-okr-type/confirm/confirm.js +3 -1
- package/lib/components/okr-excel-create/components/okr-type/base-okr-type/object-type.js +7 -3
- package/lib/components/okr-excel-create/components/okr-type/index.js +2 -2
- package/lib/components/okr-excel-create/components/okr-visibility/index.js +2 -2
- package/lib/components/okr-excel-create/components-new/kr-confidence/index.js +2 -2
- package/lib/components/okr-excel-create/components-new/kr-weight/index.js +5 -3
- package/lib/components/okr-excel-create/components-new/okr-align/index.js +6 -4
- package/lib/components/okr-excel-create/components-new/okr-classify/index.js +5 -3
- package/lib/components/okr-excel-create/components-new/okr-cycle/index.js +5 -3
- package/lib/components/okr-excel-create/components-new/okr-name/index.js +5 -3
- package/lib/components/okr-excel-create/components-new/okr-principal/index.js +5 -3
- package/lib/components/okr-excel-create/components-new/okr-progress/components/kr-progress/index.js +4 -1
- package/lib/components/okr-excel-create/components-new/okr-progress/components/o-progress/index.js +4 -1
- package/lib/components/okr-excel-create/components-new/okr-progress/components/okr-progress/index.js +23 -23
- package/lib/components/okr-excel-create/components-new/okr-progress/index.js +4 -2
- package/lib/components/okr-excel-create/components-new/okr-type/base-okr-type/confirm/buttonv2.js +3 -1
- package/lib/components/okr-excel-create/components-new/okr-type/base-okr-type/confirm/confirm.js +3 -1
- package/lib/components/okr-excel-create/components-new/okr-type/base-okr-type/object-type.js +7 -3
- package/lib/components/okr-excel-create/components-new/okr-type/index.js +5 -3
- package/lib/components/okr-excel-create/components-new/okr-visibility/index.js +2 -2
- package/lib/components/okr-excel-create/hooks.js +6 -3
- package/lib/components/okr-excel-create/index-old.js +6 -4
- package/lib/components/okr-excel-create/index.js +5 -3
- package/lib/components/okr-excel-create/utils.js +5 -2
- package/lib/components/okr-filter-drawer/filter-form.js +65 -9
- package/lib/components/okr-filter-drawer/index.css +5 -1
- package/lib/components/okr-flow/child-node/fields/creator.js +24 -26
- package/lib/components/okr-flow/child-node/fields/okrClassify.js +4 -1
- package/lib/components/okr-flow/child-node/index.js +4 -2
- package/lib/components/okr-flow/child-node/work-node.js +53 -29
- package/lib/components/okr-flow/export-modal/index.js +135 -137
- package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +145 -151
- package/lib/components/okr-flow/mini-map/index.js +5 -3
- package/lib/components/okr-flow/mini-map/map.js +2 -2
- package/lib/components/okr-flow/mini-map/utils.js +9 -6
- package/lib/components/okr-flow/okr-map/index.js +5 -3
- package/lib/components/okr-flow/open-data/index.js +4 -2
- package/lib/components/okr-flow/request-apis.js +14 -14
- package/lib/components/okr-flow/root-node/index.js +24 -26
- package/lib/components/okr-flow/utils/index.js +4 -1
- package/lib/components/okr-flow/utils/tree-handler.js +1 -1
- package/lib/components/okr-guide/index.js +5 -3
- package/lib/components/okr-period-selector/select-cycle.js +5 -3
- package/lib/components/okr-progress/components/o-progress/index.js +4 -3
- package/lib/components/okr-progress/components/o-progress-update/index.js +26 -26
- package/lib/components/okr-progress/okr-progress/index.js +2 -2
- package/lib/components/okr-progress/request-apis.js +4 -1
- package/lib/components/okr-progress-detail/index.js +8 -3
- package/lib/components/okr-progress-modal/index.js +20 -22
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +51 -34
- package/lib/components/okr-review/ReviewPop/components/Toast/index.js +3 -1
- package/lib/components/okr-review/ReviewPop/index.js +17 -2
- package/lib/components/okr-review/components/ReviewItem/index.js +9 -3
- package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +3 -1
- package/lib/components/okr-review/index.js +50 -23
- package/lib/components/okr-share/common-painter/darwAvatar.js +56 -60
- package/lib/components/okr-share/common-painter/openDataPainter.js +32 -34
- package/lib/components/okr-share/common-painter/utils.js +113 -117
- package/lib/components/okr-share/index.js +2 -2
- package/lib/components/okr-share/pink-card/drawDepartmentName.js +19 -21
- package/lib/components/okr-share/pink-card/drawKrs.js +53 -55
- package/lib/components/okr-share/pink-card/drawQuote.js +10 -12
- package/lib/components/okr-share/pink-card/drawUserName.js +24 -26
- package/lib/components/okr-share/pink-card/index.js +67 -69
- package/lib/components/okr-share/publishMblog.js +29 -29
- package/lib/components/okr-share/shareCardSelector.js +28 -32
- package/lib/components/okrcase-library/index.js +2 -2
- package/lib/components/okrcase-library/okrcases-components/caseLibrary-cardList/okrcase-card.js +2 -2
- package/lib/components/okrcase-library/okrcases-components/caseLibrary-nav.js +2 -2
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +14 -14
- package/lib/components/okrcase-library/server/network.js +122 -140
- package/lib/components/okrcase-library-card/index.js +2 -2
- package/lib/components/open-data-painter/index.js +32 -34
- package/lib/components/operation-records/OperationRecordItem.js +3 -1
- package/lib/components/operation-records/index.js +6 -2
- package/lib/components/order-have-award/img/award.png +0 -0
- package/lib/components/order-have-award/index.css +0 -2
- package/lib/components/order-have-award/index.js +2 -1
- package/lib/components/order-have-award/interface.js +4 -4
- package/lib/components/pagination/pagination.js +4 -1
- package/lib/components/part-notice/index.js +2 -2
- package/lib/components/password-input/index.js +4 -3
- package/lib/components/period-selector/common.js +4 -1
- package/lib/components/period-selector/components/selector/index.js +5 -3
- package/lib/components/period-selector/helper/index.js +49 -49
- package/lib/components/period-selector/index.js +4 -2
- package/lib/components/photo-card/components/card/index.js +5 -3
- package/lib/components/photo-card/index.js +2 -2
- package/lib/components/picker/components/panels/date-panel/date-rows.js +4 -2
- package/lib/components/picker/components/panels/date-panel/index.js +2 -2
- package/lib/components/picker/components/panels/date-panel/useRowsData.js +2 -2
- package/lib/components/picker/components/panels/month-panel/index.js +2 -2
- package/lib/components/picker/components/panels/month-panel/month-body.js +4 -1
- package/lib/components/picker/components/panels/month-panel/useRowsData.js +2 -2
- package/lib/components/picker/components/panels/panel-body/index.js +4 -2
- package/lib/components/picker/components/panels/week-panel/week-body.js +4 -1
- package/lib/components/picker/components/panels/year-panel/index.js +4 -1
- package/lib/components/picker/components/panels/year-panel/useRowsData.js +2 -2
- package/lib/components/picker/components/panels/year-panel/year-body.js +4 -2
- package/lib/components/picker/components/picker-trigger/index.js +4 -2
- package/lib/components/picker/context.js +4 -1
- package/lib/components/picker/picker-panels.js +2 -2
- package/lib/components/picker/picker.js +2 -2
- package/lib/components/picker/range-picker/components/picker-trigger/index.js +4 -2
- package/lib/components/picker/range-picker/components/select-input/index.js +4 -2
- package/lib/components/picker/range-picker/index.js +2 -2
- package/lib/components/picker/utils.js +8 -8
- package/lib/components/point-demo/drop-down-box/index.js +2 -2
- package/lib/components/point-demo/index.js +3 -3
- package/lib/components/point-demo/input/index.js +3 -1
- package/lib/components/point-demo/point-demo.js +2 -2
- package/lib/components/point-demo/popup/index.js +2 -2
- package/lib/components/point-demo/popup/placement.js +4 -1
- package/lib/components/popup/index.js +2 -2
- package/lib/components/popup/placement.js +4 -1
- package/lib/components/popup-btn/index.css +64 -0
- package/lib/components/popup-btn/index.js +100 -0
- package/lib/components/popup-select/index.css +28 -6
- package/lib/components/popup-select/index.js +16 -9
- package/lib/components/praise-record/PraiseRecordItem.js +3 -1
- package/lib/components/praise-record/index.js +7 -3
- package/lib/components/progress/okr-progress/index.css +13 -5
- package/lib/components/progress/okr-progress/index.js +37 -6
- package/lib/components/progress/utils.js +14 -2
- package/lib/components/promise-confirm/index.js +2 -2
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +2 -2
- package/lib/components/publish-dynamic-modal/requist-api.js +4 -1
- package/lib/components/quick-entrance/index.js +2 -2
- package/lib/components/radio/radio.js +2 -2
- package/lib/components/radio/radioGroup.js +4 -1
- package/lib/components/range-picker-pop/index.js +12 -3
- package/lib/components/range-selector-pop/RangeList.js +3 -1
- package/lib/components/range-selector-pop/RangeSelectorPop.js +3 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/regulation-setting-item/index.js +4 -1
- package/lib/components/rich-editor/enums.js +8 -8
- package/lib/components/rich-editor/index.js +2 -2
- package/lib/components/rich-editor/keymap.js +3 -5
- package/lib/components/rich-editor/models/controller.js +4 -1
- package/lib/components/rich-editor/models/editor.js +4 -1
- package/lib/components/rich-editor/models/plugin.js +4 -1
- package/lib/components/rich-editor/models/schema.js +4 -2
- package/lib/components/rich-editor/plugins/block/block-quote/index.js +3 -1
- package/lib/components/rich-editor/plugins/block/heading/commonds.js +4 -1
- package/lib/components/rich-editor/plugins/block/heading/index.js +3 -1
- package/lib/components/rich-editor/plugins/block/lists/actions/indent-list-items-selected.js +2 -2
- package/lib/components/rich-editor/plugins/block/lists/baseCommand.js +5 -15
- package/lib/components/rich-editor/plugins/block/lists/commond/index.js +12 -4
- package/lib/components/rich-editor/plugins/block/lists/commond/listBackspace.js +7 -5
- package/lib/components/rich-editor/plugins/block/lists/index.js +5 -3
- package/lib/components/rich-editor/plugins/block/lists/pm-plugins/input-rule.js +1 -1
- package/lib/components/rich-editor/plugins/block/lists/pm-plugins/main.js +4 -1
- package/lib/components/rich-editor/plugins/block/lists/transforms.js +2 -2
- package/lib/components/rich-editor/plugins/block/lists/utils/node.js +4 -4
- package/lib/components/rich-editor/plugins/block/paragraph/index.js +3 -1
- package/lib/components/rich-editor/plugins/core/index.js +3 -1
- package/lib/components/rich-editor/plugins/core/pm-plugins/reactNodeView.js +4 -1
- package/lib/components/rich-editor/plugins/extension/alignment/commond.js +4 -1
- package/lib/components/rich-editor/plugins/extension/alignment/index.js +3 -1
- package/lib/components/rich-editor/plugins/extension/placeholder/index.js +3 -1
- package/lib/components/rich-editor/plugins/inline/color/commond.js +2 -2
- package/lib/components/rich-editor/plugins/inline/color/consts.js +8 -8
- package/lib/components/rich-editor/plugins/inline/color/index.js +3 -1
- package/lib/components/rich-editor/plugins/inline/color/selector.js +10 -8
- package/lib/components/rich-editor/plugins/inline/delete-line/index.js +3 -1
- package/lib/components/rich-editor/plugins/inline/em/index.js +3 -1
- package/lib/components/rich-editor/plugins/inline/link/commands.js +4 -1
- package/lib/components/rich-editor/plugins/inline/link/index.js +3 -1
- package/lib/components/rich-editor/plugins/inline/link/pm-plugins/main.js +20 -17
- package/lib/components/rich-editor/plugins/inline/link/ui/linkEditor.js +5 -3
- package/lib/components/rich-editor/plugins/inline/link/ui/linkToolbar.js +2 -2
- package/lib/components/rich-editor/plugins/inline/link/ui/toolbarBtn.js +2 -2
- package/lib/components/rich-editor/plugins/inline/strong/index.js +3 -1
- package/lib/components/rich-editor/plugins/inline/under-line/index.js +3 -1
- package/lib/components/rich-editor/plugins/util.js +1 -1
- package/lib/components/rich-editor/react/reactNodeView.js +4 -2
- package/lib/components/rich-editor/react/uiProvider.js +5 -3
- package/lib/components/rich-editor/schemas/list.js +5 -15
- package/lib/components/rich-editor/ui/Popup/index.js +4 -2
- package/lib/components/rich-editor/ui/Popup/utils.js +6 -3
- package/lib/components/rich-editor/ui/editor/index.js +4 -2
- package/lib/components/rich-editor/ui/normal-toolbar/index.js +5 -3
- package/lib/components/rich-editor/utils/commands.js +6 -3
- package/lib/components/rich-editor/utils/event.js +4 -1
- package/lib/components/rich-editor/utils/mark.js +2 -2
- package/lib/components/rich-editor/utils/slice.js +1 -1
- package/lib/components/rich-editor/utils/toolbar.js +2 -0
- package/lib/components/rich-editor-at/components/index.js +2 -2
- package/lib/components/rich-editor-at/index.js +2 -2
- package/lib/components/rich-editor-upload/index.js +8 -3
- package/lib/components/schedule/index.css +75 -0
- package/lib/components/schedule/index.js +223 -0
- package/lib/components/schedule/interface.js +5 -0
- package/lib/components/scroll-container/index.js +4 -2
- package/lib/components/scrollbar/index.js +7 -3
- package/lib/components/scrollbar/scroll-mask/index.js +5 -3
- package/lib/components/scrollbar/simplebar/simplebar.js +13 -2
- package/lib/components/scrollbar/simplebar-react.js +3 -1
- package/lib/components/search-input/index.js +5 -3
- package/lib/components/select/Option.js +11 -4
- package/lib/components/select/index.js +10 -3
- package/lib/components/select-layer/index.js +2 -2
- package/lib/components/select-tags/index.js +5 -3
- package/lib/components/selector-input/index.js +2 -2
- package/lib/components/slider-input/index.js +2 -2
- package/lib/components/status-time/index.js +2 -2
- package/lib/components/stop-taking-modal/index.js +2 -2
- package/lib/components/super-table/box/index.css +35 -0
- package/lib/components/super-table/box/index.js +62 -0
- package/lib/components/super-table/columnOptions/components/principal-user/index.css +17 -0
- package/lib/components/super-table/columnOptions/components/principal-user/index.js +37 -0
- package/lib/components/super-table/columnOptions/components/progress/index.css +33 -0
- package/lib/components/super-table/columnOptions/components/progress/index.js +36 -0
- package/lib/components/super-table/columnOptions/components/task-progress/index.css +33 -0
- package/lib/components/super-table/columnOptions/components/task-progress/index.js +37 -0
- package/lib/components/super-table/columnOptions/okr/index.js +95 -0
- package/lib/components/super-table/columnOptions/okr/renderer/okr-type/base-okr-type/confirm/buttonv2.js +80 -0
- package/lib/components/super-table/columnOptions/okr/renderer/okr-type/base-okr-type/confirm/confirm.js +129 -0
- package/lib/components/super-table/columnOptions/okr/renderer/okr-type/base-okr-type/index.css +20 -0
- package/lib/components/super-table/columnOptions/okr/renderer/okr-type/base-okr-type/index.js +63 -0
- package/lib/components/super-table/columnOptions/okr/renderer/okr-type/base-okr-type/object-type.js +230 -0
- package/lib/components/super-table/columnOptions/okr/renderer/okr-type/index.css +21 -0
- package/lib/components/super-table/columnOptions/okr/renderer/okr-type/index.js +159 -0
- package/lib/components/super-table/columnOptions/okr/renderer.css +202 -0
- package/lib/components/super-table/columnOptions/okr/renderer.js +323 -0
- package/lib/components/super-table/columnOptions/okr/type.js +5 -0
- package/lib/components/super-table/columnOptions/project/index.js +110 -0
- package/lib/components/super-table/columnOptions/project/renderer/project-name/index.css +44 -0
- package/lib/components/super-table/columnOptions/project/renderer/project-name/index.js +36 -0
- package/lib/components/super-table/columnOptions/project/renderer/table-row-o-project/index.css +34 -0
- package/lib/components/super-table/columnOptions/project/renderer/table-row-o-project/index.js +62 -0
- package/lib/components/super-table/columnOptions/project/renderer/table-row-o-project/interface.js +5 -0
- package/lib/components/super-table/columnOptions/task/index.js +110 -0
- package/lib/components/super-table/columnOptions/task/renderer/table-row-task/index.css +34 -0
- package/lib/components/super-table/columnOptions/task/renderer/table-row-task/index.js +62 -0
- package/lib/components/super-table/columnOptions/task/renderer/table-row-task/interface.js +5 -0
- package/lib/components/super-table/edit/index.css +161 -0
- package/lib/components/super-table/edit/index.js +189 -0
- package/lib/components/super-table/edit/tr.js +21 -0
- package/lib/components/super-table/index.css +25 -0
- package/lib/components/super-table/index.js +23 -0
- package/lib/components/super-table/resize/index.css +122 -0
- package/lib/components/super-table/resize/index.js +142 -0
- package/lib/components/super-table/super-cache-table.js +234 -0
- package/lib/components/super-table/table/index.css +127 -0
- package/lib/components/super-table/table/index.js +417 -0
- package/lib/components/super-table/title-input/index.css +16 -0
- package/lib/components/super-table/title-input/index.js +47 -0
- package/lib/components/superset-charts/fetch-assets-and-append/append-assets.js +4 -1
- package/lib/components/superset-charts/fetch-assets-and-append/get-assets-with-cache.js +29 -31
- package/lib/components/superset-charts/fetch-assets-and-append/index.js +22 -26
- package/lib/components/superset-charts/utils/axios.js +4 -1
- package/lib/components/survey-model/contact.js +2 -2
- package/lib/components/survey-model/index.js +5 -3
- package/lib/components/survey-model/request-api.js +9 -11
- package/lib/components/table/index.js +5 -3
- package/lib/components/table-excel-v2/index.js +6 -4
- package/lib/components/tabs/index.css +1 -0
- package/lib/components/tabs/index.js +3 -1
- package/lib/components/tabs/tabBtns.js +5 -3
- package/lib/components/tag/index.js +4 -1
- package/lib/components/task-relation-modal/index.js +56 -57
- package/lib/components/task-relation-modal/okr-relation/relation-task-model/index.js +5 -3
- package/lib/components/task-relation-modal/okr-relation/relation-task-model/search-form.js +5 -3
- package/lib/components/task-relation-modal/okr-relation/relation-work-model/index.js +17 -7
- package/lib/components/task-relation-modal/okr-relation/tree/task-tree/index.js +1 -1
- package/lib/components/task-relation-modal/radio.js +5 -3
- package/lib/components/task-relation-modal/relation-single-okr/index.js +5 -3
- package/lib/components/task-relation-modal/request-api.js +4 -1
- package/lib/components/task-relation-modal/search/category-select.js +2 -2
- package/lib/components/task-relation-modal/search/okr-status-select.js +2 -2
- package/lib/components/task-relation-modal/search/okr-type-select.js +3 -3
- package/lib/components/task-relation-modal/search/principal.js +2 -2
- package/lib/components/task-relation-modal/search/relation.js +2 -2
- package/lib/components/task-relation-modal/search/task-relation.js +2 -2
- package/lib/components/task-relation-modal/search/task-status-select.js +2 -2
- package/lib/components/task-relation-modal/search/work-relation.js +2 -2
- package/lib/components/task-relation-modal/search/work-status-select.js +2 -2
- package/lib/components/task-relation-modal/tree/category-tree/index.js +24 -24
- package/lib/components/task-relation-modal/tree/category-tree/search-form.js +2 -2
- package/lib/components/task-relation-modal/tree/okr-tree/index.js +23 -23
- package/lib/components/task-relation-modal/tree/okr-tree/search-form.js +5 -3
- package/lib/components/task-relation-modal/tree/work-list/index.js +10 -4
- package/lib/components/task-relation-modal/tree/work-list/search-form.js +2 -2
- package/lib/components/task-relation-modal/tree/work-tree/index.js +20 -20
- package/lib/components/task-relation-modal/tree/work-tree/search-form.js +2 -2
- package/lib/components/task-relation-modal/tree-node/kr-node/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/milestone-node/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/o-node/index.css +1 -1
- package/lib/components/task-relation-modal/tree-node/o-node/index.js +13 -5
- package/lib/components/task-relation-modal/tree-node/work-node/index.css +1 -1
- package/lib/components/task-relation-modal/work-relation/index.js +52 -56
- package/lib/components/task-tree/helper.js +4 -1
- package/lib/components/task-tree/task-item-node/constant.js +4 -4
- package/lib/components/task-tree/task-item-node/e-project.js +17 -19
- package/lib/components/task-tree/task-item-node/e-status-dropdown.js +2 -2
- package/lib/components/task-tree/task-item-node/e-task.js +51 -51
- package/lib/components/template-modules/annex/index.js +145 -0
- package/lib/components/template-modules/apis.js +98 -0
- package/lib/components/template-modules/at/index.js +107 -0
- package/lib/components/template-modules/components/input-column-renderer/index.css +18 -0
- package/lib/components/template-modules/components/input-column-renderer/index.js +50 -0
- package/lib/components/template-modules/components/rich-editor/hooks.js +39 -0
- package/lib/components/template-modules/components/rich-editor/index.css +64 -0
- package/lib/components/template-modules/components/rich-editor/index.js +176 -0
- package/lib/components/template-modules/components/rich-editor/interface.js +5 -0
- package/lib/components/template-modules/constant.js +44 -0
- package/lib/components/template-modules/index.css +82 -0
- package/lib/components/template-modules/index.js +113 -0
- package/lib/components/template-modules/interface.js +52 -0
- package/lib/components/template-modules/okr/index.css +93 -0
- package/lib/components/template-modules/okr/index.js +363 -0
- package/lib/components/template-modules/okr/types.js +5 -0
- package/lib/components/template-modules/project/index.css +58 -0
- package/lib/components/template-modules/project/index.js +259 -0
- package/lib/components/template-modules/project/renderer/project-name/index.css +49 -0
- package/lib/components/template-modules/project/renderer/project-name/index.js +35 -0
- package/lib/components/template-modules/project/renderer/table-row-o-project/index.css +34 -0
- package/lib/components/template-modules/project/renderer/table-row-o-project/index.js +62 -0
- package/lib/components/template-modules/project/renderer/table-row-o-project/interface.js +5 -0
- package/lib/components/template-modules/richtext/index.js +127 -0
- package/lib/components/template-modules/task/index.css +58 -0
- package/lib/components/template-modules/task/index.js +228 -0
- package/lib/components/template-modules/task/interface.js +19 -0
- package/lib/components/template-modules/task/renderer/table-row-task/index.css +34 -0
- package/lib/components/template-modules/task/renderer/table-row-task/index.js +62 -0
- package/lib/components/template-modules/task/renderer/table-row-task/interface.js +5 -0
- package/lib/components/template-modules/task/renderer/task-name/index.css +49 -0
- package/lib/components/template-modules/task/renderer/task-name/index.js +50 -0
- package/lib/components/template-modules/utils.js +57 -0
- package/lib/components/textarea/index.js +5 -3
- package/lib/components/time-picker/time-picker-selector.js +3 -1
- package/lib/components/time-picker/time-picker.js +5 -3
- package/lib/components/time-picker/utils.js +4 -4
- package/lib/components/tita-chart/charts/liquid-ball.js +4 -2
- package/lib/components/tita-chart/charts/pie.js +4 -1
- package/lib/components/tita-chart/charts/words-cloud.js +5 -2
- package/lib/components/tita-chart/errorBoundary/index.js +3 -1
- package/lib/components/tita-chart/hooks/useChart.js +4 -2
- package/lib/components/toast/index.js +97 -103
- package/lib/components/tooltip/tooltip-rows/index.js +2 -2
- package/lib/components/tooltip/tooltip-text/index.js +2 -2
- package/lib/components/tree/index.css +94 -9
- package/lib/components/tree/index.js +7 -4
- package/lib/components/try-version-modal/index.js +2 -2
- package/lib/components/unchain-okr-modal/index.js +7 -6
- package/lib/components/update-modal/index.js +2 -2
- package/lib/components/upload/components/uploadedPreview.js +5 -1
- package/lib/components/upload/index.js +46 -26
- package/lib/components/upload/index2.js +24 -24
- package/lib/components/upload-modal/index.js +2 -2
- package/lib/components/upload-photo-modal/index.js +5 -3
- package/lib/components/upvote/index.js +77 -79
- package/lib/components/upvote/selector.js +2 -2
- package/lib/components/upvote/upvoteListModal.js +2 -2
- package/lib/components/user-selector/category-selector-panel/index.js +2 -2
- package/lib/components/user-selector/enum.js +4 -4
- package/lib/components/user-selector/export-modules/depart-search-selector/index.js +2 -2
- package/lib/components/user-selector/export-modules/duties-selector/index.js +6 -3
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +92 -63
- package/lib/components/user-selector/export-modules/field-tree-selector/multiple-selector/index.js +2 -2
- package/lib/components/user-selector/export-modules/field-tree-selector/selector-generater.js +4 -1
- package/lib/components/user-selector/export-modules/field-tree-selector/single-selector/index.js +5 -3
- package/lib/components/user-selector/export-modules/group-selector/index.js +2 -2
- package/lib/components/user-selector/export-modules/group-selector/searched-panel.js +2 -2
- package/lib/components/user-selector/export-modules/multiple-user-selector--bak/index.js +2 -2
- package/lib/components/user-selector/export-modules/single-selector/index.js +2 -2
- package/lib/components/user-selector/request-apis.js +2 -2
- package/lib/components/user-selector/searched-panel/index.js +2 -2
- package/lib/components/user-selector/select-tree/choose-tree/index.js +2 -2
- package/lib/components/user-selector/select-tree/selected-tree/index.js +2 -2
- package/lib/components/user-selector/select-tree/tree-nodes/tree-person-node/index.js +1 -1
- package/lib/components/user-selector/selected-panel/index.js +9 -3
- package/lib/components/user-selector/utils.js +4 -1
- package/lib/components/version-change-modal/constant.js +18 -69
- package/lib/components/version-change-modal/images/data-center.svg +36 -0
- package/lib/components/version-change-modal/images/logo-okre.png +0 -0
- package/lib/components/version-change-modal/images/logo-performance.png +0 -0
- package/lib/components/version-change-modal/images/logo-qijian.png +0 -0
- package/lib/components/version-change-modal/images/qijian.png +0 -0
- package/lib/components/version-change-modal/index.css +10 -14
- package/lib/components/version-change-modal/index.js +14 -16
- package/lib/components/version-change-modal/request-api.js +7 -9
- package/lib/components/version-change-modal-new/components/more-combination/img/hand.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/hg.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/jt1.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/jt2.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/jt3.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/left.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/new-jixiao.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/okrs-e.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/orange-sign.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/qj.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/qjzq.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/right.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/tita-people.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/tita-qijian.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/tuya-bg1.jpg +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/tuya-bg2.jpg +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/tuya-bg3.jpg +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/tuya-bg4.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/tuya-man.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/tuya-pc-bg2.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/xx.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/yellow-sign.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/img/zs.png +0 -0
- package/lib/components/version-change-modal-new/components/more-combination/index.css +256 -0
- package/lib/components/version-change-modal-new/components/more-combination/index.js +174 -0
- package/lib/components/version-change-modal-new/constant.js +53 -0
- package/lib/components/version-change-modal-new/images/data-center.svg +36 -0
- package/lib/components/version-change-modal-new/images/left-lv.png +0 -0
- package/lib/components/version-change-modal-new/images/logo-okre.png +0 -0
- package/lib/components/version-change-modal-new/images/logo-performance.png +0 -0
- package/lib/components/version-change-modal-new/images/logo-qijian.png +0 -0
- package/lib/components/version-change-modal-new/images/mini-okr.png +0 -0
- package/lib/components/version-change-modal-new/images/mini-performance.png +0 -0
- package/lib/components/version-change-modal-new/images/mini-project.png +0 -0
- package/lib/components/version-change-modal-new/images/mini-survey.png +0 -0
- package/lib/components/version-change-modal-new/images/okr.png +0 -0
- package/lib/components/version-change-modal-new/images/performance-e.png +0 -0
- package/lib/components/version-change-modal-new/images/performance.png +0 -0
- package/lib/components/version-change-modal-new/images/qijian.png +0 -0
- package/lib/components/version-change-modal-new/images/right-lv.png +0 -0
- package/lib/components/version-change-modal-new/images/senior-performance.png +0 -0
- package/lib/components/version-change-modal-new/images/senior-utimate.png +0 -0
- package/lib/components/version-change-modal-new/images/survey.png +0 -0
- package/lib/components/version-change-modal-new/images/title.png +0 -0
- package/lib/components/version-change-modal-new/images/utimate.png +0 -0
- package/lib/components/version-change-modal-new/index.css +165 -0
- package/lib/components/version-change-modal-new/index.js +83 -0
- package/lib/components/version-change-modal-new/request-api.js +32 -0
- package/lib/components/video-modal/components/video-box/index.js +5 -3
- package/lib/components/video-modal/index.js +2 -2
- package/lib/components/viewer/ImageListRender.js +4 -2
- package/lib/components/viewer/index.js +4 -2
- package/lib/components/wechat-btn/index.js +98 -50
- package/lib/components/wechat-project-btn/index.css +18 -0
- package/lib/components/wechat-project-btn/index.js +342 -0
- package/lib/components/weekly-report/card.js +39 -41
- package/lib/components/weekly-report/common-painter/darwAvatar.js +74 -80
- package/lib/components/weekly-report/common-painter/drawName.js +26 -28
- package/lib/components/weekly-report/common-painter/openDataPainter.js +32 -34
- package/lib/components/weekly-report/index.js +30 -34
- package/lib/components/word-cloud/index.js +2 -2
- package/lib/components/write-summary-modal/index.js +2 -2
- package/lib/components/write-summary-modal/interface.js +4 -4
- package/lib/components/write-summary-modal/utils.js +4 -1
- package/lib/components-v1/animate/AnimateChild.js +9 -2
- package/lib/components-v1/animate/animate.js +9 -2
- package/lib/components-v1/avatar/index.js +3 -1
- package/lib/components-v1/buttonv2/ButtonOutlined.js +3 -1
- package/lib/components-v1/buttonv2/ButtonRounded.js +3 -1
- package/lib/components-v1/buttonv2/DefaultButton.js +3 -1
- package/lib/components-v1/confirm/index.js +3 -1
- package/lib/components-v1/dropDownSelector/StatelessDropdown.js +3 -1
- package/lib/components-v1/dropDownSelector/dropDownSelector.js +3 -1
- package/lib/components-v1/input/Enums.js +4 -4
- package/lib/components-v1/input/Input.js +4 -2
- package/lib/components-v1/input/InputNumber.js +6 -2
- package/lib/components-v1/placement/placement.js +9 -2
- package/lib/components-v1/placement/placementInner.js +10 -3
- package/lib/components-v1/pop/Pop.js +4 -2
- package/lib/components-v1/pop/PopInner.js +4 -2
- package/lib/components-v1/popConfirm/index.js +2 -2
- package/lib/components-v1/portals/Portals.js +3 -1
- package/lib/components-v1/progress/CircleProgress.js +3 -1
- package/lib/components-v1/progress/LineProgress.js +9 -2
- package/lib/components-v1/progress/index.js +9 -2
- package/lib/components-v1/radio/radio.js +4 -2
- package/lib/components-v1/radio/radioGroup.js +3 -1
- package/lib/components-v1/search/cache.js +5 -2
- package/lib/components-v1/search/index.js +3 -1
- package/lib/components-v1/select/Option.js +11 -4
- package/lib/components-v1/select/index.js +10 -3
- package/lib/components-v1/tabs/index.js +3 -1
- package/lib/components-v1/textarea/index.js +13 -1
- package/lib/components-v1/transition/index.js +8 -2
- package/lib/components-v1/userSelector/UserSelectorPop.js +5 -2
- package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +3 -1
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +5 -3
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentTree.js +3 -1
- package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +3 -1
- package/lib/components-v1/userSelector/components/MultiMode/index.js +3 -1
- package/lib/components-v1/userSelector/components/SearchBar.js +3 -1
- package/lib/components-v1/userSelector/components/SingleMode.js +3 -1
- package/lib/components-v1/userSelector/components/UserItem.js +3 -1
- package/lib/components-v1/userSelector/index.js +4 -2
- package/lib/components-v1/utils/animate/animate.js +6 -1
- package/lib/hooks/useGlobalState.js +2 -2
- package/lib/hooks/useLocalStorage.js +2 -2
- package/lib/hooks/useTouch.js +2 -2
- package/lib/index.js +77 -0
- package/lib/pages/aha2021/index.css +24 -0
- package/lib/pages/aha2021/index.js +3 -3
- package/lib/pages/aha2021/new-menu-switcher/index.js +5 -3
- package/lib/pages/appointment-demo/drop-down-box/index.js +2 -2
- package/lib/pages/appointment-demo/index.js +3 -3
- package/lib/pages/appointment-demo/input/index.js +3 -1
- package/lib/pages/appointment-demo/popup/index.js +2 -2
- package/lib/pages/appointment-demo/popup/placement.js +4 -1
- package/lib/pages/group-management/components/input-form/index.js +3 -1
- package/lib/pages/group-management/components/openData/index.js +9 -2
- package/lib/pages/group-management/components/table/index.js +3 -3
- package/lib/pages/group-management/groupInterface.js +39 -39
- package/lib/pages/group-management/page-view/empty.js +2 -2
- package/lib/pages/group-management/page-view/group-empty.js +2 -2
- package/lib/pages/group-management/page-view/importGroupStaff/index.js +2 -2
- package/lib/pages/group-management/page-view/index.js +2 -2
- package/lib/pages/group-management/tree/add-group-dialog/index.js +2 -2
- package/lib/pages/group-management/tree/edit-group-dialog/index.js +2 -2
- package/lib/pages/group-management/tree/group-form/index.js +2 -2
- package/lib/pages/group-management/tree/index.js +2 -2
- package/lib/pages/group-management/tree/trigger-render.js +2 -2
- package/lib/pages/home/components/data-list/index.js +3 -3
- package/lib/pages/home/components/data-list/table/columns/progressAndRisk.js +2 -2
- package/lib/pages/home/components/data-list/table/index.js +2 -2
- package/lib/pages/home/components/data-list/table/utils-function.js +1 -1
- package/lib/pages/home/components/guide/index.js +2 -2
- package/lib/pages/home-page-data-list/index.js +3 -3
- package/lib/pages/like-ranking/index.js +5 -3
- package/lib/pages/new-okr-list/header/create-okr.js +2 -2
- package/lib/pages/new-okr-list/header/index.js +14 -12
- package/lib/pages/new-okr-list/header/okr-import.js +3 -3
- package/lib/pages/new-okr-list/header/operate-record.js +2 -2
- package/lib/pages/new-okr-list/index.js +8 -5
- package/lib/pages/new-okr-list/init-cycle-setting.js +2 -2
- package/lib/pages/new-okr-list/keyword-search/index.js +5 -3
- package/lib/pages/new-okr-list/list/index.js +1 -1
- package/lib/pages/new-okr-list/request-api.js +82 -94
- package/lib/pages/okr-map/export-modules/okr-map/header/index.js +5 -3
- package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +19 -19
- package/lib/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +5 -3
- package/lib/pages/okr-map/hooks/useStorage.js +2 -2
- package/lib/pages/okr-map/level2-search/group.js +4 -2
- package/lib/pages/okr-map/number-select/index.js +6 -3
- package/lib/pages/okr-map/open-data/index.js +4 -2
- package/lib/pages/okr-map/request-apis.js +11 -13
- package/lib/pages/okr-map/share-dialog/index.js +2 -2
- package/lib/pages/okr-map/unsupport-ie/index.js +2 -2
- package/lib/pages/personal-info/components/base-info/index.js +5 -3
- package/lib/pages/personal-info/components/edit-base-info/index.js +5 -3
- package/lib/pages/personal-info/components/person-photo/index.js +2 -2
- package/lib/utils/auth.js +11 -2
- package/lib/utils/bs-global.js +1 -0
- package/lib/utils/editor.js +9 -5
- package/lib/utils/error-level.js +3 -3
- package/lib/utils/fetch.js +41 -0
- package/lib/utils/helpers.js +46 -15
- package/lib/utils/hooks.js +24 -3
- package/lib/utils/local-storage.js +4 -1
- package/lib/utils/open-data.js +89 -91
- package/lib/utils/request-v1.js +44 -44
- package/lib/utils/request.js +12 -14
- package/lib/utils/roundWeight.js +4 -1
- package/lib/utils/tools.js +87 -52
- package/package.json +5 -2
@@ -66,6 +66,10 @@
|
|
66
66
|
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
67
67
|
}
|
68
68
|
|
69
|
+
.titaui-menus-tree__sub-menu-item-node-icon.carbon_copy {
|
70
|
+
background-image: url("../images/survey-menu/involved.svg");
|
71
|
+
}
|
72
|
+
|
69
73
|
.titaui-menus-tree__sub-menu-item-node-icon.okr {
|
70
74
|
background-image: url("../images/okr-menu/okr.svg");
|
71
75
|
}
|
@@ -202,10 +206,22 @@
|
|
202
206
|
background-image: url("../images/survey-menu/share-mine.png");
|
203
207
|
}
|
204
208
|
|
209
|
+
.titaui-menus-tree__sub-menu-item-node-icon.dataset-working-hours {
|
210
|
+
background-image: url("../images/skynet-dataset-menu/dataset-working-hours.svg");
|
211
|
+
}
|
212
|
+
|
205
213
|
.titaui-menus-tree__sub-menu-item-node-icon.survey-templated {
|
206
214
|
background-image: url("../images/survey-menu/template.svg");
|
207
215
|
}
|
208
216
|
|
217
|
+
.titaui-menus-tree__sub-menu-item-node-icon.pulse-comment {
|
218
|
+
background-image: url("../images/research-menu/comment.svg");
|
219
|
+
}
|
220
|
+
|
221
|
+
.titaui-menus-tree__sub-menu-item-node-icon.pulse-enps {
|
222
|
+
background-image: url("../images/research-menu/eNPS.svg");
|
223
|
+
}
|
224
|
+
|
209
225
|
.titaui-menus-tree__menu-item-node {
|
210
226
|
display: flex;
|
211
227
|
align-items: center;
|
@@ -242,6 +258,10 @@
|
|
242
258
|
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
243
259
|
}
|
244
260
|
|
261
|
+
.titaui-menus-tree__menu-item-node-icon.carbon_copy {
|
262
|
+
background-image: url("../images/survey-menu/involved.svg");
|
263
|
+
}
|
264
|
+
|
245
265
|
.titaui-menus-tree__menu-item-node-icon.okr {
|
246
266
|
background-image: url("../images/okr-menu/okr.svg");
|
247
267
|
}
|
@@ -378,10 +398,22 @@
|
|
378
398
|
background-image: url("../images/survey-menu/share-mine.png");
|
379
399
|
}
|
380
400
|
|
401
|
+
.titaui-menus-tree__menu-item-node-icon.dataset-working-hours {
|
402
|
+
background-image: url("../images/skynet-dataset-menu/dataset-working-hours.svg");
|
403
|
+
}
|
404
|
+
|
381
405
|
.titaui-menus-tree__menu-item-node-icon.survey-templated {
|
382
406
|
background-image: url("../images/survey-menu/template.svg");
|
383
407
|
}
|
384
408
|
|
409
|
+
.titaui-menus-tree__menu-item-node-icon.pulse-comment {
|
410
|
+
background-image: url("../images/research-menu/comment.svg");
|
411
|
+
}
|
412
|
+
|
413
|
+
.titaui-menus-tree__menu-item-node-icon.pulse-enps {
|
414
|
+
background-image: url("../images/research-menu/eNPS.svg");
|
415
|
+
}
|
416
|
+
|
385
417
|
.titaui-menus-tree__parent-menu-node {
|
386
418
|
display: flex;
|
387
419
|
align-items: center;
|
@@ -418,6 +450,10 @@
|
|
418
450
|
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
419
451
|
}
|
420
452
|
|
453
|
+
.titaui-menus-tree__parent-menu-node-icon.carbon_copy {
|
454
|
+
background-image: url("../images/survey-menu/involved.svg");
|
455
|
+
}
|
456
|
+
|
421
457
|
.titaui-menus-tree__parent-menu-node-icon.okr {
|
422
458
|
background-image: url("../images/okr-menu/okr.svg");
|
423
459
|
}
|
@@ -554,10 +590,22 @@
|
|
554
590
|
background-image: url("../images/survey-menu/share-mine.png");
|
555
591
|
}
|
556
592
|
|
593
|
+
.titaui-menus-tree__parent-menu-node-icon.dataset-working-hours {
|
594
|
+
background-image: url("../images/skynet-dataset-menu/dataset-working-hours.svg");
|
595
|
+
}
|
596
|
+
|
557
597
|
.titaui-menus-tree__parent-menu-node-icon.survey-templated {
|
558
598
|
background-image: url("../images/survey-menu/template.svg");
|
559
599
|
}
|
560
600
|
|
601
|
+
.titaui-menus-tree__parent-menu-node-icon.pulse-comment {
|
602
|
+
background-image: url("../images/research-menu/comment.svg");
|
603
|
+
}
|
604
|
+
|
605
|
+
.titaui-menus-tree__parent-menu-node-icon.pulse-enps {
|
606
|
+
background-image: url("../images/research-menu/eNPS.svg");
|
607
|
+
}
|
608
|
+
|
561
609
|
.titaui-menus-tree__no-follower-node, .titaui-menus-tree__no-subordinates-node {
|
562
610
|
display: flex;
|
563
611
|
align-items: center;
|
@@ -666,6 +714,10 @@
|
|
666
714
|
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
667
715
|
}
|
668
716
|
|
717
|
+
.titaui-menus-tree__company-all-node-icon.carbon_copy {
|
718
|
+
background-image: url("../images/survey-menu/involved.svg");
|
719
|
+
}
|
720
|
+
|
669
721
|
.titaui-menus-tree__company-all-node-icon.okr {
|
670
722
|
background-image: url("../images/okr-menu/okr.svg");
|
671
723
|
}
|
@@ -802,10 +854,22 @@
|
|
802
854
|
background-image: url("../images/survey-menu/share-mine.png");
|
803
855
|
}
|
804
856
|
|
857
|
+
.titaui-menus-tree__company-all-node-icon.dataset-working-hours {
|
858
|
+
background-image: url("../images/skynet-dataset-menu/dataset-working-hours.svg");
|
859
|
+
}
|
860
|
+
|
805
861
|
.titaui-menus-tree__company-all-node-icon.survey-templated {
|
806
862
|
background-image: url("../images/survey-menu/template.svg");
|
807
863
|
}
|
808
864
|
|
865
|
+
.titaui-menus-tree__company-all-node-icon.pulse-comment {
|
866
|
+
background-image: url("../images/research-menu/comment.svg");
|
867
|
+
}
|
868
|
+
|
869
|
+
.titaui-menus-tree__company-all-node-icon.pulse-enps {
|
870
|
+
background-image: url("../images/research-menu/eNPS.svg");
|
871
|
+
}
|
872
|
+
|
809
873
|
.titaui-menus-tree__ass-template-node {
|
810
874
|
display: flex;
|
811
875
|
align-items: center;
|
@@ -842,6 +906,10 @@
|
|
842
906
|
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
843
907
|
}
|
844
908
|
|
909
|
+
.titaui-menus-tree__ass-template-node-icon.carbon_copy {
|
910
|
+
background-image: url("../images/survey-menu/involved.svg");
|
911
|
+
}
|
912
|
+
|
845
913
|
.titaui-menus-tree__ass-template-node-icon.okr {
|
846
914
|
background-image: url("../images/okr-menu/okr.svg");
|
847
915
|
}
|
@@ -978,10 +1046,22 @@
|
|
978
1046
|
background-image: url("../images/survey-menu/share-mine.png");
|
979
1047
|
}
|
980
1048
|
|
1049
|
+
.titaui-menus-tree__ass-template-node-icon.dataset-working-hours {
|
1050
|
+
background-image: url("../images/skynet-dataset-menu/dataset-working-hours.svg");
|
1051
|
+
}
|
1052
|
+
|
981
1053
|
.titaui-menus-tree__ass-template-node-icon.survey-templated {
|
982
1054
|
background-image: url("../images/survey-menu/template.svg");
|
983
1055
|
}
|
984
1056
|
|
1057
|
+
.titaui-menus-tree__ass-template-node-icon.pulse-comment {
|
1058
|
+
background-image: url("../images/research-menu/comment.svg");
|
1059
|
+
}
|
1060
|
+
|
1061
|
+
.titaui-menus-tree__ass-template-node-icon.pulse-enps {
|
1062
|
+
background-image: url("../images/research-menu/eNPS.svg");
|
1063
|
+
}
|
1064
|
+
|
985
1065
|
.titaui-menus-tree__ass-template-node-suffix {
|
986
1066
|
display: inline-block;
|
987
1067
|
height: 18px;
|
@@ -1028,6 +1108,10 @@
|
|
1028
1108
|
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
1029
1109
|
}
|
1030
1110
|
|
1111
|
+
.titaui-menus-tree__ass-manage-node-icon.carbon_copy {
|
1112
|
+
background-image: url("../images/survey-menu/involved.svg");
|
1113
|
+
}
|
1114
|
+
|
1031
1115
|
.titaui-menus-tree__ass-manage-node-icon.okr {
|
1032
1116
|
background-image: url("../images/okr-menu/okr.svg");
|
1033
1117
|
}
|
@@ -1164,10 +1248,22 @@
|
|
1164
1248
|
background-image: url("../images/survey-menu/share-mine.png");
|
1165
1249
|
}
|
1166
1250
|
|
1251
|
+
.titaui-menus-tree__ass-manage-node-icon.dataset-working-hours {
|
1252
|
+
background-image: url("../images/skynet-dataset-menu/dataset-working-hours.svg");
|
1253
|
+
}
|
1254
|
+
|
1167
1255
|
.titaui-menus-tree__ass-manage-node-icon.survey-templated {
|
1168
1256
|
background-image: url("../images/survey-menu/template.svg");
|
1169
1257
|
}
|
1170
1258
|
|
1259
|
+
.titaui-menus-tree__ass-manage-node-icon.pulse-comment {
|
1260
|
+
background-image: url("../images/research-menu/comment.svg");
|
1261
|
+
}
|
1262
|
+
|
1263
|
+
.titaui-menus-tree__ass-manage-node-icon.pulse-enps {
|
1264
|
+
background-image: url("../images/research-menu/eNPS.svg");
|
1265
|
+
}
|
1266
|
+
|
1171
1267
|
.titaui-menus-tree__ass-manage-node-suffix {
|
1172
1268
|
display: inline-block;
|
1173
1269
|
height: 18px;
|
@@ -1215,6 +1311,10 @@
|
|
1215
1311
|
background-image: url("../images/appraisal-menu/mypingjia.svg");
|
1216
1312
|
}
|
1217
1313
|
|
1314
|
+
.titaui-menus-tree__user-concern-node-icon.carbon_copy {
|
1315
|
+
background-image: url("../images/survey-menu/involved.svg");
|
1316
|
+
}
|
1317
|
+
|
1218
1318
|
.titaui-menus-tree__user-concern-node-icon.okr {
|
1219
1319
|
background-image: url("../images/okr-menu/okr.svg");
|
1220
1320
|
}
|
@@ -1351,10 +1451,22 @@
|
|
1351
1451
|
background-image: url("../images/survey-menu/share-mine.png");
|
1352
1452
|
}
|
1353
1453
|
|
1454
|
+
.titaui-menus-tree__user-concern-node-icon.dataset-working-hours {
|
1455
|
+
background-image: url("../images/skynet-dataset-menu/dataset-working-hours.svg");
|
1456
|
+
}
|
1457
|
+
|
1354
1458
|
.titaui-menus-tree__user-concern-node-icon.survey-templated {
|
1355
1459
|
background-image: url("../images/survey-menu/template.svg");
|
1356
1460
|
}
|
1357
1461
|
|
1462
|
+
.titaui-menus-tree__user-concern-node-icon.pulse-comment {
|
1463
|
+
background-image: url("../images/research-menu/comment.svg");
|
1464
|
+
}
|
1465
|
+
|
1466
|
+
.titaui-menus-tree__user-concern-node-icon.pulse-enps {
|
1467
|
+
background-image: url("../images/research-menu/eNPS.svg");
|
1468
|
+
}
|
1469
|
+
|
1358
1470
|
.titaui-menus-tree__user-concern-node-add {
|
1359
1471
|
display: inline-block;
|
1360
1472
|
position: absolute;
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.USER_NODE = exports.USER_CONCERN_NODE = exports.TONGJI_NODE = exports.SUMMARY_USER_CONCERN_NODE = exports.SUMMARY_FOLLOWER_NODE = exports.SUB_MENU_ITEM_NOE = exports.SUBORDINATES_NODE = exports.SHARE_NODE = exports.SAME_LEVEL_USER_NODE = exports.PARENT_MENU_NODE = exports.NO_SUBORDINATES_NODE = exports.NO_FOLLOWER_NODE = exports.MENU_ITEM_NOE = exports.MENU_ASSESS_TEMPLATE = exports.MENU_ASSESS_MANAGE = exports.LOADING_NODE = exports.GROUP_NAME_NODE = exports.FOLLOWER_NODE = exports.DEPART_NODE = exports.COMPANY_NODE = exports.COMPANY_ALL_NODE = void 0;
|
6
|
+
exports.USER_NODE = exports.USER_CONCERN_NODE = exports.TONGJI_NODE = exports.SUMMARY_USER_CONCERN_NODE = exports.SUMMARY_FOLLOWER_NODE = exports.SUB_MENU_ITEM_NOE = exports.SUBORDINATES_NODE = exports.SHARE_NODE = exports.SAME_LEVEL_USER_NODE = exports.PARENT_MENU_NODE = exports.NO_SUBORDINATES_NODE = exports.NO_FOLLOWER_NODE = exports.MYOKR = exports.MENU_ITEM_NOE = exports.MENU_ASSESS_TEMPLATE = exports.MENU_ASSESS_MANAGE = exports.LOADING_NODE = exports.GROUP_NAME_NODE = exports.FOLLOWER_NODE = exports.DEPART_NODE = exports.COMPANY_NODE = exports.COMPANY_ALL_NODE = void 0;
|
7
7
|
exports["default"] = _default;
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
9
9
|
var _subMenuItem = _interopRequireDefault(require("./sub-menu-item"));
|
@@ -114,6 +114,11 @@ function _default(node, level, _ref) {
|
|
114
114
|
level: level,
|
115
115
|
onExpand: onExpand
|
116
116
|
}));
|
117
|
+
case MYOKR:
|
118
|
+
return /*#__PURE__*/_react["default"].createElement(_summaryTongji["default"], _extends({}, node, {
|
119
|
+
level: level,
|
120
|
+
onExpand: onExpand
|
121
|
+
}));
|
117
122
|
case SUMMARY_USER_CONCERN_NODE:
|
118
123
|
return /*#__PURE__*/_react["default"].createElement(_summaryUserConcern["default"], _extends({}, node, {
|
119
124
|
level: level,
|
@@ -124,6 +129,8 @@ function _default(node, level, _ref) {
|
|
124
129
|
}
|
125
130
|
var USER_NODE = "user";
|
126
131
|
exports.USER_NODE = USER_NODE;
|
132
|
+
var MYOKR = 'myokr';
|
133
|
+
exports.MYOKR = MYOKR;
|
127
134
|
var LOADING_NODE = "loading";
|
128
135
|
exports.LOADING_NODE = LOADING_NODE;
|
129
136
|
var FOLLOWER_NODE = "follower";
|
@@ -15,8 +15,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
15
15
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
16
16
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
17
17
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
18
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
19
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
18
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
19
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
20
20
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
21
21
|
function _default(props) {
|
22
22
|
var data = props.data,
|
@@ -17,8 +17,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
17
17
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
18
18
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
19
19
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
20
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
21
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
20
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
21
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
22
22
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
23
23
|
function _default(props) {
|
24
24
|
var data = props.data,
|
@@ -12,12 +12,14 @@ require("./index.css");
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
15
|
-
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; }
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
16
18
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
17
19
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
18
20
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
19
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
20
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
21
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
22
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
21
23
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
22
24
|
var Subordinates = function Subordinates(props) {
|
23
25
|
var onExpand = props.onExpand,
|
@@ -12,12 +12,14 @@ require("./index.css");
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
15
|
-
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; }
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
16
18
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
17
19
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
18
20
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
19
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
20
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
21
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
22
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
21
23
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
22
24
|
var SummaryShare = function SummaryShare(props) {
|
23
25
|
var onExpand = props.onExpand,
|
@@ -12,12 +12,14 @@ require("./index.css");
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
13
13
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
14
14
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
15
|
-
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; }
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
16
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
17
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
16
18
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
17
19
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
18
20
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
19
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
20
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
21
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
22
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
21
23
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
22
24
|
var SummaryTongji = function SummaryTongji(props) {
|
23
25
|
var onExpand = props.onExpand,
|
@@ -12,6 +12,19 @@
|
|
12
12
|
color: #2879ff;
|
13
13
|
}
|
14
14
|
|
15
|
+
.titaui-menus-tree__user-node-newavatar {
|
16
|
+
margin-right: 8px;
|
17
|
+
display: flex;
|
18
|
+
}
|
19
|
+
|
20
|
+
.titaui-menus-tree__user-node-newavatar .titaui-menus-tree__avatar-img {
|
21
|
+
margin-right: unset;
|
22
|
+
}
|
23
|
+
|
24
|
+
.titaui-menus-tree__user-node-newavatar .titaui-menus-tree__avatar-name {
|
25
|
+
margin-right: unset;
|
26
|
+
}
|
27
|
+
|
15
28
|
.titaui-menus-tree__user-node-avatar {
|
16
29
|
display: inline-block;
|
17
30
|
line-height: 24px;
|
@@ -20,7 +33,12 @@
|
|
20
33
|
font-size: 12px;
|
21
34
|
border-radius: 50%;
|
22
35
|
color: white;
|
23
|
-
|
36
|
+
}
|
37
|
+
|
38
|
+
.titaui-menus-tree__user-node-avatar--dashed {
|
39
|
+
border: 1px dashed #BFC7D5;
|
40
|
+
padding: 1px;
|
41
|
+
border-radius: 50%;
|
24
42
|
}
|
25
43
|
|
26
44
|
.titaui-menus-tree__user-node-avatar-slice {
|
@@ -1,6 +1,5 @@
|
|
1
1
|
"use strict";
|
2
2
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
4
3
|
Object.defineProperty(exports, "__esModule", {
|
5
4
|
value: true
|
6
5
|
});
|
@@ -15,6 +14,10 @@ require("./index.css");
|
|
15
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
16
15
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
17
16
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
17
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
18
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
19
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
20
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
18
21
|
function _default(props) {
|
19
22
|
var user = props.data,
|
20
23
|
_props$level = props.level,
|
@@ -44,9 +47,11 @@ function _default(props) {
|
|
44
47
|
style: {
|
45
48
|
paddingLeft: 12 + level * 10
|
46
49
|
}
|
50
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
51
|
+
className: (0, _classnames["default"])("".concat(_precls["default"], "__user-node-newavatar"), _defineProperty({}, "".concat(_precls["default"], "__user-node-avatar--dashed"), user.type === 'dottedSubordinate'))
|
47
52
|
}, /*#__PURE__*/_react["default"].createElement(_avatar["default"], {
|
48
53
|
user: user
|
49
|
-
}), /*#__PURE__*/_react["default"].createElement("span", {
|
54
|
+
})), /*#__PURE__*/_react["default"].createElement("span", {
|
50
55
|
style: {
|
51
56
|
width: "calc(100% - ".concat(12 + 13 + 16 + level * 10, "px)")
|
52
57
|
},
|
@@ -65,6 +65,7 @@
|
|
65
65
|
height: 22px;
|
66
66
|
line-height: 24px;
|
67
67
|
text-align: left;
|
68
|
+
position: relative;
|
68
69
|
}
|
69
70
|
|
70
71
|
.titaui-menus__search-user > span {
|
@@ -72,8 +73,31 @@
|
|
72
73
|
overflow: hidden;
|
73
74
|
}
|
74
75
|
|
76
|
+
.titaui-menus__search-user-name {
|
77
|
+
display: inline-block;
|
78
|
+
width: calc(100% - 16px);
|
79
|
+
}
|
80
|
+
|
75
81
|
.titaui-menus__search-user-tips {
|
76
82
|
display: inline-block;
|
77
83
|
width: 100%;
|
78
84
|
color: #bfc7d5;
|
79
85
|
}
|
86
|
+
|
87
|
+
.titaui-menus__search-user:hover .titaui-menus__clear-icon {
|
88
|
+
display: inline-block;
|
89
|
+
}
|
90
|
+
|
91
|
+
.titaui-menus__clear-icon {
|
92
|
+
display: none;
|
93
|
+
color: #bfc7d5;
|
94
|
+
cursor: pointer;
|
95
|
+
position: absolute;
|
96
|
+
right: 0;
|
97
|
+
top: 50%;
|
98
|
+
transform: translateY(-7px);
|
99
|
+
}
|
100
|
+
|
101
|
+
.titaui-menus__clear-icon:hover {
|
102
|
+
color: #f05e5e;
|
103
|
+
}
|
@@ -19,8 +19,8 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
19
19
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
20
20
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
21
21
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
22
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
23
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
22
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
23
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
24
24
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
25
25
|
function _default(props) {
|
26
26
|
var _props$placeholder = props.placeholder,
|
@@ -55,6 +55,10 @@ function _default(props) {
|
|
55
55
|
setSelectUser(user.data);
|
56
56
|
onSelect(user);
|
57
57
|
};
|
58
|
+
var onClearSelectUser = function onClearSelectUser(e) {
|
59
|
+
e.stopPropagation();
|
60
|
+
setSelectUser();
|
61
|
+
};
|
58
62
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
59
63
|
className: (0, _classnames["default"])("".concat(_precls["default"], "__search-input"), 'noselect')
|
60
64
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
@@ -77,10 +81,15 @@ function _default(props) {
|
|
77
81
|
depart: false,
|
78
82
|
group: false
|
79
83
|
},
|
80
|
-
trigger: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, selectUser && /*#__PURE__*/_react["default"].createElement(
|
84
|
+
trigger: /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, selectUser && /*#__PURE__*/_react["default"].createElement("span", {
|
85
|
+
className: "".concat(_precls["default"], "__search-user-name")
|
86
|
+
}, /*#__PURE__*/_react["default"].createElement(_openData.OpenUserName, {
|
81
87
|
name: selectUser.name,
|
82
88
|
id: selectUser.userId
|
83
|
-
}),
|
89
|
+
}), /*#__PURE__*/_react["default"].createElement("i", {
|
90
|
+
className: "tu-icon-circle ".concat(_precls["default"], "__clear-icon"),
|
91
|
+
onClick: onClearSelectUser
|
92
|
+
})), !selectUser && /*#__PURE__*/_react["default"].createElement("span", {
|
84
93
|
className: "".concat(_precls["default"], "__search-user-tips")
|
85
94
|
}, placeholder)),
|
86
95
|
popupAlign: {
|
@@ -26,9 +26,9 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol
|
|
26
26
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
27
27
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
28
28
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
29
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
30
|
-
function _iterableToArrayLimit(arr, i) { var _i =
|
31
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
29
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
30
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
31
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; } /* eslint-disable react/jsx-no-useless-fragment */
|
32
32
|
function AppraisalMenus(props) {
|
33
33
|
var _props$onSelect = props.onSelect,
|
34
34
|
onSelect = _props$onSelect === void 0 ? function () {} : _props$onSelect,
|