@titaui/pc 1.17.2 → 1.17.59
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
@@ -0,0 +1,174 @@
|
|
1
|
+
"use strict";
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
9
|
+
var _bookDemo = _interopRequireDefault(require("../../../book-demo"));
|
10
|
+
var _requestApi = require("../../request-api");
|
11
|
+
var _constant = require("../../constant");
|
12
|
+
var _tuyaMan = _interopRequireDefault(require("./img/tuya-man.png"));
|
13
|
+
var _xx = _interopRequireDefault(require("./img/xx.png"));
|
14
|
+
var _zs = _interopRequireDefault(require("./img/zs.png"));
|
15
|
+
var _hg = _interopRequireDefault(require("./img/hg.png"));
|
16
|
+
var _jt = _interopRequireDefault(require("./img/jt1.png"));
|
17
|
+
var _jt2 = _interopRequireDefault(require("./img/jt2.png"));
|
18
|
+
var _jt3 = _interopRequireDefault(require("./img/jt3.png"));
|
19
|
+
var _okrsE = _interopRequireDefault(require("./img/okrs-e.png"));
|
20
|
+
var _newJixiao = _interopRequireDefault(require("./img/new-jixiao.png"));
|
21
|
+
var _titaQijian = _interopRequireDefault(require("./img/tita-qijian.png"));
|
22
|
+
var _hand = _interopRequireDefault(require("./img/hand.png"));
|
23
|
+
require("./index.css");
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
25
|
+
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); }
|
26
|
+
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; }
|
27
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
28
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
29
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
30
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
31
|
+
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."); }
|
32
|
+
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); }
|
33
|
+
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; }
|
34
|
+
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; } }
|
35
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
36
|
+
var preCls = 'version-change-modal-new-more-combination';
|
37
|
+
var MoreCombination = function MoreCombination(props) {
|
38
|
+
var isSurvey360 = props.isSurvey360;
|
39
|
+
var _useState = (0, _react.useState)(function () {
|
40
|
+
if (isSurvey360) {
|
41
|
+
return 3601115;
|
42
|
+
}
|
43
|
+
return 20221116;
|
44
|
+
}),
|
45
|
+
_useState2 = _slicedToArray(_useState, 2),
|
46
|
+
source = _useState2[0],
|
47
|
+
setSource = _useState2[1];
|
48
|
+
var bookDemoRef = (0, _react.useRef)();
|
49
|
+
var hiddenHoverImg = function hiddenHoverImg() {
|
50
|
+
if (isSurvey360) {
|
51
|
+
return 'visible';
|
52
|
+
}
|
53
|
+
return 'hidden';
|
54
|
+
};
|
55
|
+
var handleToExperience = function handleToExperience(version) {
|
56
|
+
if (isSurvey360) {
|
57
|
+
handleShowBookDemo();
|
58
|
+
} else {
|
59
|
+
onVersionChange(version);
|
60
|
+
}
|
61
|
+
};
|
62
|
+
var handleShowBookDemo = function handleShowBookDemo() {
|
63
|
+
var _bookDemoRef$current;
|
64
|
+
(_bookDemoRef$current = bookDemoRef.current) === null || _bookDemoRef$current === void 0 ? void 0 : _bookDemoRef$current.show();
|
65
|
+
};
|
66
|
+
var onVersionChange = /*#__PURE__*/function () {
|
67
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(version) {
|
68
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
69
|
+
while (1) switch (_context.prev = _context.next) {
|
70
|
+
case 0:
|
71
|
+
_context.next = 2;
|
72
|
+
return (0, _requestApi.setVersion)(version);
|
73
|
+
case 2:
|
74
|
+
location.href = '/';
|
75
|
+
case 3:
|
76
|
+
case "end":
|
77
|
+
return _context.stop();
|
78
|
+
}
|
79
|
+
}, _callee);
|
80
|
+
}));
|
81
|
+
return function onVersionChange(_x2) {
|
82
|
+
return _ref.apply(this, arguments);
|
83
|
+
};
|
84
|
+
}();
|
85
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
86
|
+
className: preCls
|
87
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
88
|
+
className: "".concat(preCls, "__wrapper")
|
89
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
90
|
+
className: "".concat(preCls, "__wrapper__comb-box")
|
91
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
92
|
+
className: "".concat(preCls, "__wrapper__comb-box__one")
|
93
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
94
|
+
className: "".concat(preCls, "__wrapper__comb-box__one__wrap"),
|
95
|
+
onClick: function onClick() {
|
96
|
+
return handleToExperience(_constant.Versions.OKR);
|
97
|
+
}
|
98
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
99
|
+
src: _okrsE["default"]
|
100
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
101
|
+
className: "".concat(preCls, "__wrapper__comb-box__one__shadow")
|
102
|
+
}), /*#__PURE__*/_react["default"].createElement("img", {
|
103
|
+
src: _xx["default"]
|
104
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
105
|
+
style: {
|
106
|
+
visibility: hiddenHoverImg()
|
107
|
+
}
|
108
|
+
}, /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement("img", {
|
109
|
+
src: _jt["default"]
|
110
|
+
}), /*#__PURE__*/_react["default"].createElement("img", {
|
111
|
+
src: _hand["default"]
|
112
|
+
}))))), /*#__PURE__*/_react["default"].createElement("div", {
|
113
|
+
className: "".concat(preCls, "__wrapper__comb-box__two"),
|
114
|
+
onClick: function onClick() {
|
115
|
+
return handleToExperience(_constant.Versions.PerformanceIntegrated);
|
116
|
+
}
|
117
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
118
|
+
className: "".concat(preCls, "__wrapper__comb-box__two__wrap")
|
119
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
120
|
+
src: _newJixiao["default"]
|
121
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
122
|
+
className: "".concat(preCls, "__wrapper__comb-box__two__shadow")
|
123
|
+
}), /*#__PURE__*/_react["default"].createElement("img", {
|
124
|
+
src: _zs["default"]
|
125
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
126
|
+
style: {
|
127
|
+
visibility: hiddenHoverImg()
|
128
|
+
}
|
129
|
+
}, /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement("img", {
|
130
|
+
src: _jt2["default"]
|
131
|
+
}), /*#__PURE__*/_react["default"].createElement("img", {
|
132
|
+
src: _hand["default"]
|
133
|
+
}))))), /*#__PURE__*/_react["default"].createElement("div", {
|
134
|
+
className: "".concat(preCls, "__wrapper__comb-box__three"),
|
135
|
+
onClick: function onClick() {
|
136
|
+
return handleToExperience(_constant.Versions.SENIOR_UTIMATE);
|
137
|
+
}
|
138
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
139
|
+
className: "".concat(preCls, "__wrapper__comb-box__three__wrap")
|
140
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
141
|
+
src: _titaQijian["default"]
|
142
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
143
|
+
className: "".concat(preCls, "__wrapper__comb-box__three__shadow")
|
144
|
+
}), /*#__PURE__*/_react["default"].createElement("img", {
|
145
|
+
src: _hg["default"]
|
146
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
147
|
+
style: {
|
148
|
+
visibility: hiddenHoverImg()
|
149
|
+
}
|
150
|
+
}, /*#__PURE__*/_react["default"].createElement("span", null, /*#__PURE__*/_react["default"].createElement("img", {
|
151
|
+
src: _jt3["default"]
|
152
|
+
}), /*#__PURE__*/_react["default"].createElement("img", {
|
153
|
+
src: _hand["default"]
|
154
|
+
}))))), /*#__PURE__*/_react["default"].createElement("div", {
|
155
|
+
className: "".concat(preCls, "__wrapper__comb-box__four")
|
156
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
157
|
+
src: _tuyaMan["default"]
|
158
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
159
|
+
className: "".concat(preCls, "__wrapper__btn-box")
|
160
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
161
|
+
onClick: function onClick() {
|
162
|
+
return window.open('https://price.tita.com/#/');
|
163
|
+
}
|
164
|
+
}, "\u4E86\u89E3\u7248\u672C\u8BE6\u60C5"), /*#__PURE__*/_react["default"].createElement("span", {
|
165
|
+
onClick: handleShowBookDemo
|
166
|
+
}, "\u9884\u7EA6\u987E\u95EE\u5F00\u542F"))), /*#__PURE__*/_react["default"].createElement(_bookDemo["default"].BookDemoPC, {
|
167
|
+
visible: false,
|
168
|
+
ref: bookDemoRef,
|
169
|
+
type: _bookDemo["default"].DemoType.UniversalBookDemo,
|
170
|
+
source: source
|
171
|
+
}));
|
172
|
+
};
|
173
|
+
var _default = /*#__PURE__*/(0, _react.memo)(MoreCombination);
|
174
|
+
exports["default"] = _default;
|
@@ -0,0 +1,53 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
4
|
+
value: true
|
5
|
+
});
|
6
|
+
exports.getVersionList = exports.Versions = void 0;
|
7
|
+
var Versions = /*#__PURE__*/function (Versions) {
|
8
|
+
Versions[Versions["OKR"] = 9] = "OKR";
|
9
|
+
Versions[Versions["PERFORMANCE"] = 8] = "PERFORMANCE";
|
10
|
+
Versions[Versions["SURVEY"] = 11] = "SURVEY";
|
11
|
+
Versions[Versions["SENIOR_PERFORMANCE"] = 12] = "SENIOR_PERFORMANCE";
|
12
|
+
Versions[Versions["UTIMATE"] = 6] = "UTIMATE";
|
13
|
+
Versions[Versions["SENIOR_UTIMATE"] = 13] = "SENIOR_UTIMATE";
|
14
|
+
Versions[Versions["PERFORMANCE_E"] = 14] = "PERFORMANCE_E";
|
15
|
+
Versions[Versions["PROJECT"] = 2] = "PROJECT";
|
16
|
+
Versions[Versions["PerformanceIntegrated"] = 15] = "PerformanceIntegrated";
|
17
|
+
return Versions;
|
18
|
+
}({});
|
19
|
+
exports.Versions = Versions;
|
20
|
+
var getVersionList = function getVersionList() {
|
21
|
+
return [{
|
22
|
+
version: Versions.OKR,
|
23
|
+
name: "OKRs-E 专业版",
|
24
|
+
key: "okr",
|
25
|
+
image: require("./images/logo-okre.png"),
|
26
|
+
itemType: 'normal',
|
27
|
+
items: ['OKR 目标地图', 'OKR 工作法', '项目与计划管理', 'OKR 运营调查', 'OKR 在线学习']
|
28
|
+
}, {
|
29
|
+
version: Versions.PerformanceIntegrated,
|
30
|
+
name: '新绩效一体化',
|
31
|
+
key: 'performance-integrated',
|
32
|
+
image: require("./images/logo-performance.png"),
|
33
|
+
itemType: 'normal',
|
34
|
+
items: ['绩效全场景管理', '360 评估', '一对一面谈', '项目与计划管理', '脉动调查(eNPS/敬业度)']
|
35
|
+
}, {
|
36
|
+
version: Versions.SENIOR_UTIMATE,
|
37
|
+
name: 'Tita 旗舰版',
|
38
|
+
key: 'senior-performance',
|
39
|
+
image: require("./images/logo-qijian.png"),
|
40
|
+
itemType: 'tag',
|
41
|
+
items: [{
|
42
|
+
title: 'OKRs-E 专业版',
|
43
|
+
image: require("./images/mini-okr.png")
|
44
|
+
}, {
|
45
|
+
title: '新绩效一体化',
|
46
|
+
image: require("./images/mini-performance.png")
|
47
|
+
}, {
|
48
|
+
title: '数据驾驶舱',
|
49
|
+
image: require("./images/data-center.svg")
|
50
|
+
}]
|
51
|
+
}];
|
52
|
+
};
|
53
|
+
exports.getVersionList = getVersionList;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
3
|
+
<title>OKR 目标</title>
|
4
|
+
<g id="首页" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
5
|
+
<g id="菜单-产品下拉" transform="translate(-726.000000, -385.000000)">
|
6
|
+
<g id="编组-2" transform="translate(320.000000, 130.998320)">
|
7
|
+
<g id="核心产品" transform="translate(44.000000, 48.001680)">
|
8
|
+
<g id="OKRs-E" transform="translate(362.000000, 202.000000)">
|
9
|
+
<g id="OKR-目标" transform="translate(0.000000, 4.000000)">
|
10
|
+
<path d="M5.60000853,1.06665387 C9.86669084,-0.355551289 14.1333092,-0.355551289 18.3999915,1.06665387 C20.1065492,1.6997406 22.3002103,3.89346421 22.9332974,5.6000208 C24.3555675,9.86663627 24.3555675,14.1333157 22.9332974,18.3999952 C22.3002103,20.1064878 20.1065492,22.3002114 18.3999915,22.9332981 C14.1333092,24.3555673 9.86669084,24.3555673 5.60000853,22.9332981 C3.89351481,22.3002114 1.69978973,20.1064878 1.06670258,18.3999952 C-0.355567526,14.1333157 -0.355567526,9.86663627 1.06670258,5.6000208 C1.69978973,3.89346421 3.89351481,1.6997406 5.60000853,1.06665387" id="background" fill-opacity="0.16" fill="#2879FF"></path>
|
11
|
+
<g id="work-data" transform="translate(3.000000, 3.000000)">
|
12
|
+
<rect id="矩形" x="0" y="0" width="18" height="18"></rect>
|
13
|
+
<g id="三维立体面积对比图" fill-rule="nonzero">
|
14
|
+
<rect id="矩形" fill="#000000" opacity="0" x="0" y="0" width="18" height="18"></rect>
|
15
|
+
<path d="M1.47540984,9 C1.47540984,13.1557164 4.8442836,16.5245902 9,16.5245902 C13.1557164,16.5245902 16.5245902,13.1557164 16.5245902,9 C16.5245902,4.8442836 13.1557164,1.47540984 9,1.47540984 C4.8442836,1.47540984 1.47540984,4.8442836 1.47540984,9 Z" id="路径" fill="#2879FF"></path>
|
16
|
+
<path d="M9.07201366,16.8196721 C8.00737395,16.8196721 6.97260037,16.6105859 5.99931588,16.1994417 C5.05941118,15.8023536 4.2161322,15.233077 3.49056091,14.5074249 C2.76498962,13.7817729 2.19753314,12.9384001 1.79873245,11.9983908 C1.38763395,11.026755 1.18032787,9.99186623 1.18032787,8.92710802 C1.18032787,7.86234982 1.38939078,6.82746107 1.80048929,5.85406826 C2.19753314,4.91405895 2.76674645,4.07068612 3.49231774,3.34503407 C4.21788903,2.61938203 5.06116801,2.05186239 6.00107271,1.65301732 C6.9743572,1.24187307 8.00737395,1.03278689 9.07377049,1.03278689 C10.1384102,1.03278689 11.1731838,1.24187307 12.1464683,1.65301732 C13.086373,2.05010537 13.929652,2.61938203 14.6552232,3.34503407 C15.3807945,4.07068612 15.948251,4.91405895 16.3470517,5.85406826 C16.7581502,6.82746107 16.9672131,7.86059279 16.9672131,8.92710802 C16.9672131,9.99362325 16.7581502,11.026755 16.3470517,12.0001478 C15.9500078,12.9401571 15.3807945,13.7835299 14.6552232,14.509182 C13.929652,15.234834 13.086373,15.8023536 12.1464683,16.2011987 C11.171427,16.612343 10.1366534,16.8196721 9.07201366,16.8196721 Z M9.07201366,1.73735461 C5.10684562,1.73735461 1.88306035,4.9632557 1.88306035,8.92710802 C1.88306035,12.8909603 5.10684562,16.1168614 9.07201366,16.1168614 C13.0371817,16.1168614 16.260967,12.8909603 16.260967,8.92710802 C16.260967,4.9632557 13.0371817,1.73735461 9.07201366,1.73735461 Z" id="形状" fill="#2879FF"></path>
|
17
|
+
<path d="M1.47540984,9.07377049 C1.47540984,10.5812362 4.8442836,11.8032787 9,11.8032787 C13.1557164,11.8032787 16.5245902,10.5812362 16.5245902,9.07377049 C16.5245902,7.56630474 13.1557164,6.3442623 9,6.3442623 C4.8442836,6.3442623 1.47540984,7.56630474 1.47540984,9.07377049 Z" id="路径" fill="#2879FF"></path>
|
18
|
+
<path d="M11.4217332,11.5490382 L6.49180328,11.680441 C6.89471332,14.5162571 7.89407099,16.5245902 9.06233418,16.5245902 C10.2552294,16.5245902 11.270422,14.4345742 11.6557377,11.5081967 L11.4217332,11.5490382 L11.4217332,11.5490382 Z" id="路径" fill="#2879FF"></path>
|
19
|
+
<path d="M10.9180328,6.3442623 L11.5686352,6.59870423 L11.5046415,7.15529597 C13.7639739,7.63590851 15.2802686,8.52822224 15.2802686,9.54775695 C15.2802686,10.1078826 14.8216472,10.6291352 14.0341695,11.0655738 C15.564685,10.5584569 16.5245902,9.82870325 16.5245902,9.01766958 C16.5245902,7.74192598 14.1497136,6.66584863 10.9180328,6.3442623 Z" id="路径" fill="#2879FF"></path>
|
20
|
+
<path d="M9.075,12.15 C7.26022702,12.15 5.54791342,11.8561687 4.25630425,11.3195308 C3.60894725,11.0520916 3.09665034,10.7353872 2.73183285,10.3782151 C2.31268084,9.9682589 2.1,9.51783493 2.1,9.0375 C2.1,8.55892453 2.31268084,8.1067411 2.73183285,7.69678491 C3.09665034,7.33961278 3.60894725,7.02290842 4.25630425,6.75546919 C5.54791342,6.22059073 7.2586746,5.925 9.075,5.925 C10.889773,5.925 12.6020866,6.21883126 13.8936957,6.75546919 C14.5410527,7.02290842 15.0533497,7.33961278 15.4181671,7.69678491 C15.8373192,8.1067411 16.05,8.55716507 16.05,9.0375 C16.05,9.51607547 15.8373192,9.9682589 15.4181671,10.3782151 C15.0533497,10.7353872 14.5410527,11.0520916 13.8936957,11.3195308 C12.6020866,11.8544093 10.889773,12.15 9.075,12.15 Z M9.075,6.675 C5.44992669,6.675 2.925,7.9192385 2.925,9.0375 C2.925,10.1540358 5.45142962,11.4 9.075,11.4 C12.6985704,11.4 15.225,10.1540358 15.225,9.0375 C15.225,7.92096421 12.7000733,6.675 9.075,6.675 Z" id="形状" fill="#FFFFFF"></path>
|
21
|
+
<path d="M6.66245659,11.2495116 L11.5081967,6.44286285 C11.1314221,3.54663849 10.1197125,1.47540984 8.93357022,1.47540984 C7.42298312,1.47540984 6.19672131,4.83482036 6.19672131,8.97727766 C6.19672131,9.86519678 6.25253977,10.7164106 6.35545506,11.5081967 L6.66245659,11.2495116 Z" id="路径" fill="#2879FF"></path>
|
22
|
+
<path d="M6.37126865,10.101019 C6.37126865,6.16656345 7.59659094,2.97884132 9.10991634,2.97884132 C10.1414911,2.97884132 11.0404099,4.46567059 11.5081967,6.65940752 C11.1241926,3.92968191 10.1170545,1.98319672 8.935369,1.98319672 C7.42378908,1.98319672 6.19672131,5.17257825 6.19672131,9.10537442 C6.19672131,9.94835352 6.25257646,10.756485 6.35555939,11.5081967 L6.4201419,11.4567551 C6.38872338,11.0170121 6.37126865,10.5639938 6.37126865,10.101019 Z" id="路径" fill="#FFFFFF"></path>
|
23
|
+
<path d="M9.0375,15.9 C8.55892453,15.9 8.1067411,15.6873192 7.69678491,15.2681671 C7.33961278,14.9033497 7.02290842,14.3910527 6.75546919,13.7436957 C6.22059073,12.4520866 5.925,10.7413254 5.925,8.925 C5.925,7.1086746 6.21883126,5.39791342 6.75546919,4.10630425 C7.02290842,3.45894725 7.33961278,2.94665034 7.69678491,2.58183285 C8.1067411,2.16268084 8.55716507,1.95 9.0375,1.95 C9.51783493,1.95 9.9682589,2.16268084 10.3782151,2.58183285 C10.7353872,2.94665034 11.0520916,3.45894725 11.3195308,4.10630425 C11.8544093,5.39791342 12.15,7.1086746 12.15,8.925 C12.15,10.7413254 11.8561687,12.4520866 11.3195308,13.7436957 C11.0520916,14.3910527 10.7353872,14.9033497 10.3782151,15.2681671 C9.9682589,15.6888716 9.51607547,15.9 9.0375,15.9 Z M9.0375,2.775 C7.92096421,2.775 6.675,5.30142962 6.675,8.925 C6.675,12.5500733 7.9192385,15.075 9.0375,15.075 C10.1557615,15.075 11.4,12.5500733 11.4,8.925 C11.4,5.29992669 10.1540358,2.775 9.0375,2.775 Z" id="形状" fill="#FFFFFF"></path>
|
24
|
+
<path d="M10.7704918,6.41803279 C10.7704918,6.94768292 11.1998581,7.37704918 11.7295082,7.37704918 C12.2591583,7.37704918 12.6885246,6.94768292 12.6885246,6.41803279 C12.6885246,5.88838266 12.2591583,5.45901639 11.7295082,5.45901639 C11.1998581,5.45901639 10.7704918,5.88838266 10.7704918,6.41803279 Z" id="路径" fill="#2879FF"></path>
|
25
|
+
<path d="M11.6557377,7.67213115 C10.9237301,7.67213115 10.3278689,7.07626989 10.3278689,6.3442623 C10.3278689,5.6122547 10.9237301,5.01639344 11.6557377,5.01639344 C12.3877453,5.01639344 12.9836066,5.6122547 12.9836066,6.3442623 C12.9836066,7.07626989 12.3877453,7.67213115 11.6557377,7.67213115 L11.6557377,7.67213115 Z M11.6557377,5.72364716 C11.3144878,5.72364716 11.0351226,6.00124424 11.0351226,6.3442623 C11.0351226,6.68728035 11.3127197,6.96487743 11.6557377,6.96487743 C11.9987558,6.96487743 12.2763528,6.68728035 12.2763528,6.3442623 C12.2763528,6.00124424 11.9987558,5.72364716 11.6557377,5.72364716 Z" id="形状" fill="#FFFFFF"></path>
|
26
|
+
<path d="M5.31147541,11.7295082 C5.31147541,12.2591583 5.74084167,12.6885246 6.2704918,12.6885246 C6.80014193,12.6885246 7.2295082,12.2591583 7.2295082,11.7295082 C7.2295082,11.1998581 6.80014193,10.7704918 6.2704918,10.7704918 C5.74084167,10.7704918 5.31147541,11.1998581 5.31147541,11.7295082 L5.31147541,11.7295082 Z" id="路径" fill="#2879FF"></path>
|
27
|
+
<path d="M6.3442623,12.9836066 C5.6122547,12.9836066 5.01639344,12.3877453 5.01639344,11.6557377 C5.01639344,10.9237301 5.6122547,10.3278689 6.3442623,10.3278689 C7.07626989,10.3278689 7.67213115,10.9237301 7.67213115,11.6557377 C7.67213115,12.3877453 7.07626989,12.9836066 6.3442623,12.9836066 Z M6.3442623,11.0368907 C6.00301238,11.0368907 5.72364716,11.3144878 5.72364716,11.6575058 C5.72364716,12.0005239 6.00124424,12.278121 6.3442623,12.278121 C6.68728035,12.278121 6.96487743,12.0005239 6.96487743,11.6575058 C6.96487743,11.3144878 6.68551221,11.0368907 6.3442623,11.0368907 Z" id="形状" fill="#FFFFFF"></path>
|
28
|
+
</g>
|
29
|
+
</g>
|
30
|
+
</g>
|
31
|
+
</g>
|
32
|
+
</g>
|
33
|
+
</g>
|
34
|
+
</g>
|
35
|
+
</g>
|
36
|
+
</svg>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,165 @@
|
|
1
|
+
.version-change-modal-new {
|
2
|
+
display: flex;
|
3
|
+
flex-direction: column;
|
4
|
+
align-items: center;
|
5
|
+
min-width: 922px;
|
6
|
+
min-height: 750px;
|
7
|
+
}
|
8
|
+
|
9
|
+
.version-change-modal-new__wrapper {
|
10
|
+
position: absolute;
|
11
|
+
z-index: 10;
|
12
|
+
top: 0;
|
13
|
+
right: 0;
|
14
|
+
bottom: 0;
|
15
|
+
left: 0;
|
16
|
+
transform-origin: calc(100% - 39px) 23px;
|
17
|
+
}
|
18
|
+
|
19
|
+
.version-change-modal-new__header {
|
20
|
+
text-align: center;
|
21
|
+
}
|
22
|
+
|
23
|
+
.version-change-modal-new__title {
|
24
|
+
margin-top: 54px;
|
25
|
+
margin-bottom: 16px;
|
26
|
+
font-size: 38px;
|
27
|
+
font-weight: 500;
|
28
|
+
color: #0E69FF;
|
29
|
+
line-height: 53px;
|
30
|
+
}
|
31
|
+
|
32
|
+
.version-change-modal-new__cur-version {
|
33
|
+
color: #3f4755;
|
34
|
+
font-size: 20px;
|
35
|
+
line-height: 28px;
|
36
|
+
margin-right: 11px;
|
37
|
+
}
|
38
|
+
|
39
|
+
.version-change-modal-new__book-demo {
|
40
|
+
font-size: 20px;
|
41
|
+
line-height: 26px;
|
42
|
+
color: #0e69ff;
|
43
|
+
display: inline-flex;
|
44
|
+
align-items: center;
|
45
|
+
cursor: pointer;
|
46
|
+
}
|
47
|
+
|
48
|
+
.version-change-modal-new__book-demo .tu-icon-fanhui {
|
49
|
+
margin-left: 4px;
|
50
|
+
transform: rotate(180deg);
|
51
|
+
}
|
52
|
+
|
53
|
+
.version-change-modal-new__bg {
|
54
|
+
position: absolute;
|
55
|
+
left: 0;
|
56
|
+
right: 0;
|
57
|
+
top: 0;
|
58
|
+
bottom: 0;
|
59
|
+
background-color: #f0f4fa;
|
60
|
+
opacity: 0.9;
|
61
|
+
}
|
62
|
+
|
63
|
+
.version-change-modal-new_bg-color1 {
|
64
|
+
position: absolute;
|
65
|
+
left: 0;
|
66
|
+
bottom: 0;
|
67
|
+
width: 201px;
|
68
|
+
height: 244px;
|
69
|
+
background: linear-gradient(180deg, #ffcc00 0%, #feed7e 100%);
|
70
|
+
opacity: 0.24;
|
71
|
+
filter: blur(45px);
|
72
|
+
}
|
73
|
+
|
74
|
+
.version-change-modal-new_bg-color2 {
|
75
|
+
position: absolute;
|
76
|
+
right: 0;
|
77
|
+
bottom: 0;
|
78
|
+
width: 326px;
|
79
|
+
height: 400px;
|
80
|
+
background: linear-gradient(180deg, #e9f0ff 0%, #cbdff9 100%);
|
81
|
+
box-shadow: inset 0px 5px 26px 0px rgba(0, 113, 255, 0.26), inset 0px -5px 24px 0px #ffffff;
|
82
|
+
opacity: 0.36;
|
83
|
+
filter: blur(34px);
|
84
|
+
}
|
85
|
+
|
86
|
+
.version-change-modal-new_bg-color3 {
|
87
|
+
position: absolute;
|
88
|
+
right: 115px;
|
89
|
+
top: 0;
|
90
|
+
width: 258px;
|
91
|
+
height: 216px;
|
92
|
+
background: linear-gradient(180deg, #00ffec 0%, #7eb2fe 100%);
|
93
|
+
box-shadow: inset 0px 8px 26px 0px rgba(0, 230, 255, 0.26), inset 0px -5px 17px 0px #ffffff;
|
94
|
+
opacity: 0.14;
|
95
|
+
filter: blur(45px);
|
96
|
+
}
|
97
|
+
|
98
|
+
.version-change-modal-new__list {
|
99
|
+
padding-top: 78px;
|
100
|
+
display: flex;
|
101
|
+
align-items: center;
|
102
|
+
justify-content: center;
|
103
|
+
overflow-x: scroll;
|
104
|
+
scrollbar-width: none;
|
105
|
+
}
|
106
|
+
|
107
|
+
.version-change-modal-new__list::-webkit-scrollbar {
|
108
|
+
display: none;
|
109
|
+
}
|
110
|
+
|
111
|
+
.version-change-modal-new__list-wrapper {
|
112
|
+
position: relative;
|
113
|
+
}
|
114
|
+
|
115
|
+
.version-change-modal-new__version-tag {
|
116
|
+
font-weight: 500;
|
117
|
+
}
|
118
|
+
|
119
|
+
.version-change-modal-new__close-icon {
|
120
|
+
position: absolute;
|
121
|
+
top: 26px;
|
122
|
+
right: 30px;
|
123
|
+
background: rgba(17, 47, 92, 0.3);
|
124
|
+
border-radius: 50%;
|
125
|
+
display: flex;
|
126
|
+
align-items: center;
|
127
|
+
justify-content: center;
|
128
|
+
font-size: 18px;
|
129
|
+
width: 34px;
|
130
|
+
height: 34px;
|
131
|
+
color: #fff;
|
132
|
+
cursor: pointer;
|
133
|
+
}
|
134
|
+
|
135
|
+
.version-change-modal-new__right-lv {
|
136
|
+
transition: all 0.3s;
|
137
|
+
position: absolute;
|
138
|
+
right: 0;
|
139
|
+
top: 87px;
|
140
|
+
}
|
141
|
+
|
142
|
+
.version-change-modal-new__right-lv--hidden {
|
143
|
+
right: -108px;
|
144
|
+
}
|
145
|
+
|
146
|
+
.version-change-modal-new__btn {
|
147
|
+
background: #0e69ff;
|
148
|
+
box-shadow: 0px 10px 12px 0px rgba(178, 178, 178, 0.12), 0px 8px 18px 0px rgba(14, 105, 255, 0.21);
|
149
|
+
border-radius: 31px;
|
150
|
+
color: #fff;
|
151
|
+
font-size: 22px;
|
152
|
+
line-height: 28px;
|
153
|
+
font-weight: 500;
|
154
|
+
text-align: center;
|
155
|
+
padding: 12px 0;
|
156
|
+
box-shadow: 0px 10px 12px 0px rgba(178, 178, 178, 0.12), 0px 8px 18px 0px rgba(14, 105, 255, 0.21);
|
157
|
+
visibility: hidden;
|
158
|
+
opacity: 0;
|
159
|
+
position: absolute;
|
160
|
+
bottom: 22px;
|
161
|
+
left: 24px;
|
162
|
+
right: 24px;
|
163
|
+
cursor: pointer;
|
164
|
+
transition: all 0.4s 0.1s;
|
165
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
"use strict";
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
9
|
+
var _scrollbar = _interopRequireDefault(require("../scrollbar"));
|
10
|
+
var _bookDemo = _interopRequireDefault(require("../book-demo"));
|
11
|
+
var _moreCombination = _interopRequireDefault(require("./components/more-combination"));
|
12
|
+
var _bsGlobal = require("../../utils/bs-global");
|
13
|
+
var _rightLv = _interopRequireDefault(require("./images/right-lv.png"));
|
14
|
+
require("./index.css");
|
15
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
16
|
+
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
|
+
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; }
|
18
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
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."); }
|
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); }
|
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; } }
|
23
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
24
|
+
var prefix = 'version-change-modal-new';
|
25
|
+
var NewVersionChangeModal = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
26
|
+
var onClose = _ref.onClose;
|
27
|
+
var _useState = (0, _react.useState)(3601115),
|
28
|
+
_useState2 = _slicedToArray(_useState, 1),
|
29
|
+
source = _useState2[0];
|
30
|
+
var bookDemoRef = (0, _react.useRef)(null);
|
31
|
+
var isSurvey360 = (0, _bsGlobal.getBSGlobal)('tenantInfo').tenantType == 7;
|
32
|
+
var onShow = function onShow() {
|
33
|
+
bookDemoRef.current.show();
|
34
|
+
};
|
35
|
+
var closeVersionDialog = function closeVersionDialog() {
|
36
|
+
return onClose();
|
37
|
+
};
|
38
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
39
|
+
className: "".concat(prefix, "__wrapper")
|
40
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
41
|
+
className: "".concat(prefix, "__bg")
|
42
|
+
}), /*#__PURE__*/_react["default"].createElement(_scrollbar["default"], null, /*#__PURE__*/_react["default"].createElement("div", {
|
43
|
+
className: prefix
|
44
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
45
|
+
className: "".concat(prefix, "_bg-color1")
|
46
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
47
|
+
className: "".concat(prefix, "_bg-color2")
|
48
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
49
|
+
className: "".concat(prefix, "_bg-color3")
|
50
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
51
|
+
className: "".concat(prefix, "__close-icon"),
|
52
|
+
onClick: closeVersionDialog
|
53
|
+
}, /*#__PURE__*/_react["default"].createElement("span", {
|
54
|
+
className: "tu-icon-canceled"
|
55
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
56
|
+
className: "".concat(prefix, "__header")
|
57
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
58
|
+
className: "".concat(prefix, "__title")
|
59
|
+
}, "\u66F4\u591A\u4F01\u4E1A\u7BA1\u7406\u573A\u666F\u9009\u62E9\u66F4\u591A\u7248\u672C\u8BD5\u7528"), /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement("span", {
|
60
|
+
className: "".concat(prefix, "__cur-version")
|
61
|
+
}, "\u66F4\u591A\u5B9E\u9645\u5BA2\u6237\u6848\u4F8B\u5206\u4EAB\uFF0C\u66F4\u591A\u4FC3\u9500\u4F18\u60E0\uFF0C\u7ACB\u5373\u54A8\u8BE2"), /*#__PURE__*/_react["default"].createElement("span", {
|
62
|
+
onClick: onShow,
|
63
|
+
className: "".concat(prefix, "__book-demo")
|
64
|
+
}, "\u4EA7\u54C1\u987E\u95EE"))), /*#__PURE__*/_react["default"].createElement("div", {
|
65
|
+
className: "".concat(prefix, "__list-wrapper")
|
66
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
67
|
+
className: "".concat(prefix, "__list")
|
68
|
+
}, /*#__PURE__*/_react["default"].createElement(_moreCombination["default"], {
|
69
|
+
isSurvey360: isSurvey360
|
70
|
+
}))), /*#__PURE__*/_react["default"].createElement(_bookDemo["default"].BookDemoPC, {
|
71
|
+
visible: false,
|
72
|
+
ref: bookDemoRef,
|
73
|
+
type: _bookDemo["default"].DemoType.UniversalBookDemo,
|
74
|
+
source: source
|
75
|
+
}))), /*#__PURE__*/_react["default"].createElement("div", {
|
76
|
+
className: "".concat(prefix, "__right-lv")
|
77
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
78
|
+
src: _rightLv["default"],
|
79
|
+
width: 85
|
80
|
+
})));
|
81
|
+
});
|
82
|
+
var _default = NewVersionChangeModal;
|
83
|
+
exports["default"] = _default;
|