@titaui/pc 1.12.17-beta.2 → 1.12.17-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/avatar/icon-avatar/index.js +1 -1
- package/lib/components/avatar/num-avatar/index.js +1 -1
- package/lib/components/book-demo/components/pc/components/content/index.js +1 -1
- package/lib/components/button/default-button/index.js +1 -1
- package/lib/components/button/icon-btn/index.js +1 -1
- package/lib/components/cascader/index.js +1 -1
- package/lib/components/cascader/time.js +1 -1
- package/lib/components/change-okr-modal/Filter.js +2 -2
- package/lib/components/change-okr-modal/Item.js +2 -2
- package/lib/components/change-okr-modal/filterTab.js +2 -2
- package/lib/components/change-okr-modal/index.js +4 -6
- package/lib/components/common-share/publishMblog.js +2 -4
- package/lib/components/communication/CommunicationAttachments.js +2 -2
- package/lib/components/communication/ConvertUserName.js +2 -2
- package/lib/components/communication/index.js +2 -2
- package/lib/components/create-okr-modal/fields/okr-type-detail.js +2 -4
- package/lib/components/create-okr-modal/fields/okr-visibility-detail.js +2 -4
- package/lib/components/create-okr-modal/index.js +2 -4
- package/lib/components/create-okr-modal/objectType.js +2 -2
- package/lib/components/create-okr-modal/request-api.js +12 -16
- package/lib/components/create-okr-modal/utils/helper.js +2 -6
- package/lib/components/date-picker/BodyItem.js +3 -3
- package/lib/components/date-picker/CalendarBody.js +3 -3
- package/lib/components/date-picker/CalendarHeader.js +3 -3
- package/lib/components/date-picker/index.js +2 -2
- package/lib/components/date-range-picker/index.js +2 -2
- package/lib/components/delete-confirm-pop/ConfirmPop.js +2 -2
- package/lib/components/dialog/index.js +1 -1
- package/lib/components/dialog-confirm/index.js +1 -1
- package/lib/components/drawer/headerDrop.js +1 -1
- package/lib/components/drawer/index.js +1 -1
- package/lib/components/drawer-manager/drawerWrapper.js +3 -5
- package/lib/components/drawer-manager/index.js +1 -1
- package/lib/components/drop-selector/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-ai-dialy/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-chart/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-learning/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-okrs-communication/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-plan-communication/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-reply/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +1 -1
- package/lib/components/eReport/eReportListEmpty.js +2 -2
- package/lib/components/eReport/eReportLists/reportList.js +2 -2
- package/lib/components/eReport/eReportShare/index.js +2 -2
- package/lib/components/eReport/eReportShare/toast/index.js +2 -2
- package/lib/components/edit-kr-wight/EditKrWightModal.js +2 -2
- package/lib/components/edit-kr-wight/FormItemV2.js +2 -2
- package/lib/components/emotions-selector/selector-content.js +2 -2
- package/lib/components/emotions-selector/selector-pop.js +2 -2
- package/lib/components/ereport-list/index.js +2 -2
- package/lib/components/error-boundary/index.js +2 -2
- package/lib/components/firework/index.js +2 -6
- package/lib/components/form/form-fields/date/index.js +15 -14
- package/lib/components/form/form-fields/dropdown/index.js +1 -1
- package/lib/components/form/form-fields/input/index.js +1 -1
- package/lib/components/form/form-fields/input-verification-code/index.js +2 -4
- package/lib/components/form/form-fields/user/index.js +1 -1
- package/lib/components/grid-layout/util/network.js +6 -10
- package/lib/components/help-card/index.js +1 -1
- package/lib/components/mblog/components/ConfirmPop.js +2 -2
- package/lib/components/mblog/components/MblogAction.js +2 -2
- package/lib/components/mblog/components/MblogContent.js +2 -2
- package/lib/components/mblog/index.js +2 -2
- package/lib/components/menus/components/menu-tree/images/interview-menu/setting.svg +16 -0
- package/lib/components/menus/components/menu-tree/index.js +1 -1
- package/lib/components/menus/components/menu-tree/tree-node/index.css +28 -0
- package/lib/components/menus/components/menu-tree/tree-node/index.js +1 -1
- package/lib/components/menus/export-modules/interview-menus/constant.js +45 -34
- package/lib/components/menus/export-modules/interview-menus/handle-highlight.js +20 -0
- package/lib/components/menus/export-modules/interview-menus/index.js +11 -8
- package/lib/components/nav-top/components/app-center/index.css +3 -9
- package/lib/components/nav-top/components/app-center/index.js +7 -7
- package/lib/components/nav-top/components/user-message/index.css +4 -4
- package/lib/components/nav-top/index.css +4 -8
- package/lib/components/nav-top/index.js +3 -3
- package/lib/components/okr-detail/auth.js +2 -2
- package/lib/components/okr-detail/base-info/other-infos/principal/index.js +2 -4
- package/lib/components/okr-detail/components/ao-nice/index.js +4 -6
- package/lib/components/okr-detail/components/base-okr-type/confirm/buttonv2.js +2 -2
- package/lib/components/okr-detail/components/base-okr-type/confirm/confirm.js +2 -2
- package/lib/components/okr-detail/components/base-okr-type/object-type.js +2 -2
- package/lib/components/okr-detail/components/header/edit-name.js +2 -4
- package/lib/components/okr-detail/components/header/o-avatar.js +2 -4
- package/lib/components/okr-detail/components/header/o-classify.js +2 -4
- package/lib/components/okr-detail/components/header/o-score.js +1 -1
- package/lib/components/okr-detail/components/icon-text/index.js +1 -1
- package/lib/components/okr-detail/components/o-classify.js +2 -4
- package/lib/components/okr-detail/components/o-progress-update/index.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/index.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/index.js +1 -1
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/index.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +2 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +3 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +2 -4
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/edit-child-okr-weight.js +6 -8
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +2 -4
- package/lib/components/okr-detail/detail-footer/index.js +2 -4
- package/lib/components/okr-detail/detail-header/index.js +10 -12
- package/lib/components/okr-detail/okr-list/index.js +2 -4
- package/lib/components/okr-detail/request-apis.js +2 -6
- package/lib/components/okr-flow/child-node/fields/creator.js +2 -4
- package/lib/components/okr-flow/child-node/work-node.js +2 -4
- package/lib/components/okr-flow/export-modal/index.js +12 -4
- package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +8 -10
- package/lib/components/okr-flow/request-apis.js +2 -6
- package/lib/components/okr-flow/root-node/index.js +2 -4
- package/lib/components/okr-progress/components/o-progress-update/index.js +2 -4
- package/lib/components/okr-progress-modal/index.js +2 -4
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +4 -6
- package/lib/components/okr-review/ReviewPop/components/Toast/index.js +2 -2
- package/lib/components/okr-review/ReviewPop/index.js +2 -2
- package/lib/components/okr-review/components/ReviewItem/index.js +2 -2
- package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +2 -2
- package/lib/components/okr-review/index.js +2 -2
- package/lib/components/okr-share/common-painter/darwAvatar.js +4 -8
- package/lib/components/okr-share/common-painter/openDataPainter.js +2 -6
- package/lib/components/okr-share/common-painter/utils.js +4 -8
- package/lib/components/okr-share/pink-card/drawDepartmentName.js +2 -6
- package/lib/components/okr-share/pink-card/drawKrs.js +2 -6
- package/lib/components/okr-share/pink-card/drawQuote.js +2 -6
- package/lib/components/okr-share/pink-card/drawUserName.js +2 -6
- package/lib/components/okr-share/pink-card/index.js +2 -6
- package/lib/components/okr-share/publishMblog.js +2 -4
- package/lib/components/okr-share/shareCardSelector.js +4 -6
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +4 -4
- package/lib/components/okrcase-library/server/network.js +20 -24
- package/lib/components/open-data-painter/index.js +2 -6
- package/lib/components/operation-records/OperationRecordItem.js +2 -2
- package/lib/components/operation-records/index.js +2 -2
- package/lib/components/pagination/pagination.js +1 -1
- package/lib/components/period-selector/components/button/index.js +1 -1
- package/lib/components/period-selector/helper/index.js +2 -6
- package/lib/components/picker/components/cross.svg +17 -0
- package/lib/components/picker/components/panels/date-panel/date-body.js +31 -19
- package/lib/components/picker/components/panels/date-panel/date-head.js +8 -8
- package/lib/components/picker/components/panels/date-panel/index.js +2 -2
- package/lib/components/picker/components/panels/month-panel/index.css +5 -0
- package/lib/components/picker/components/panels/month-panel/index.js +3 -3
- package/lib/components/picker/components/panels/month-panel/month-body.js +4 -5
- package/lib/components/picker/components/panels/month-panel/month-head.js +2 -2
- package/lib/components/picker/components/panels/year-panel/index.css +5 -0
- package/lib/components/picker/components/panels/year-panel/index.js +2 -2
- package/lib/components/picker/components/panels/year-panel/year-body.js +10 -3
- package/lib/components/picker/components/panels/year-panel/year-head.js +1 -1
- package/lib/components/picker/components/picker-trigger/index.css +6 -1
- package/lib/components/picker/components/picker-trigger/index.js +16 -11
- package/lib/components/picker/context.js +17 -2
- package/lib/components/picker/index.css +29 -1
- package/lib/components/picker/index.js +3 -0
- package/lib/components/picker/picker-panels.js +79 -64
- package/lib/components/picker/picker.js +45 -31
- package/lib/components/picker/range-picker/components/picker-trigger/index.css +97 -0
- package/lib/components/picker/range-picker/components/picker-trigger/index.js +109 -0
- package/lib/components/picker/range-picker/components/placeholder/index.js +91 -0
- package/lib/components/picker/range-picker/components/select-input/index.js +72 -0
- package/lib/components/picker/range-picker/components/shortcuts/index.js +45 -0
- package/lib/components/picker/range-picker/index.css +158 -0
- package/lib/components/picker/range-picker/index.js +263 -0
- package/lib/components/picker/utils.js +168 -11
- package/lib/components/point-demo/drop-down-box/index.js +1 -1
- package/lib/components/point-demo/input/index.js +3 -3
- package/lib/components/point-demo/popup/index.js +1 -1
- package/lib/components/popup/index.js +1 -1
- package/lib/components/praise-record/PraiseRecordItem.js +2 -2
- package/lib/components/praise-record/index.js +2 -2
- package/lib/components/range-picker-pop/index.js +3 -3
- package/lib/components/range-selector-pop/RangeList.js +2 -2
- package/lib/components/range-selector-pop/RangeSelectorPop.js +2 -2
- package/lib/components/rich-editor/models/schema.js +2 -2
- package/lib/components/rich-editor/plugins/block/block-quote/index.js +2 -2
- package/lib/components/rich-editor/plugins/block/heading/index.js +2 -2
- package/lib/components/rich-editor/plugins/block/lists/index.js +2 -2
- package/lib/components/rich-editor/plugins/block/paragraph/index.js +2 -2
- package/lib/components/rich-editor/plugins/core/index.js +2 -2
- package/lib/components/rich-editor/plugins/extension/alignment/index.js +2 -2
- package/lib/components/rich-editor/plugins/extension/placeholder/index.js +2 -2
- package/lib/components/rich-editor/plugins/inline/color/index.js +2 -2
- package/lib/components/rich-editor/plugins/inline/delete-line/index.js +2 -2
- package/lib/components/rich-editor/plugins/inline/em/index.js +2 -2
- package/lib/components/rich-editor/plugins/inline/link/index.js +2 -2
- package/lib/components/rich-editor/plugins/inline/strong/index.js +2 -2
- package/lib/components/rich-editor/plugins/inline/under-line/index.js +2 -2
- package/lib/components/rich-editor/react/reactNodeView.js +4 -4
- package/lib/components/rich-editor/react/uiProvider.js +2 -2
- package/lib/components/rich-editor/ui/Popup/index.js +2 -2
- package/lib/components/scroll-container/index.js +2 -2
- package/lib/components/scrollbar/index.js +1 -1
- package/lib/components/scrollbar/scroll-mask/index.js +1 -1
- package/lib/components/scrollbar/simplebar-react.js +1 -1
- package/lib/components/search-dropdown/index.js +1 -1
- package/lib/components/select/Option.js +3 -3
- package/lib/components/select/index.js +3 -3
- package/lib/components/select-layer/index.js +1 -1
- package/lib/components/select-tags/index.js +1 -1
- package/lib/components/superset-charts/fetch-assets-and-append/get-assets-with-cache.js +2 -6
- package/lib/components/superset-charts/fetch-assets-and-append/index.js +4 -8
- package/lib/components/survey-model/request-api.js +2 -6
- package/lib/components/switch/index.js +1 -1
- package/lib/components/table/index.js +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/task-relation-modal/index.js +5 -7
- package/lib/components/task-relation-modal/okr-relation/relation-task-model/index.js +1 -1
- package/lib/components/task-relation-modal/okr-relation/relation-work-model/index.js +1 -1
- package/lib/components/task-relation-modal/tree/category-tree/index.js +2 -4
- package/lib/components/task-relation-modal/tree/okr-tree/index.js +2 -4
- package/lib/components/task-relation-modal/tree/work-tree/index.js +2 -4
- package/lib/components/task-relation-modal/tree-node/index.js +1 -1
- package/lib/components/task-relation-modal/work-relation/index.js +5 -7
- package/lib/components/task-tree/task-item-node/e-project.js +2 -4
- package/lib/components/task-tree/task-item-node/e-task.js +2 -4
- package/lib/components/task-tree/task-item-node/task-node-render.js +1 -1
- package/lib/components/task-tree/task-tree.js +1 -1
- package/lib/components/textarea/index.js +1 -1
- package/lib/components/time-picker/time-picker-selector.js +1 -1
- package/lib/components/time-picker/time-picker.js +1 -1
- package/lib/components/time-picker/timer-picker-input.js +1 -1
- package/lib/components/tita-chart/charts/liquid-ball.js +1 -1
- package/lib/components/tita-chart/charts/pie.js +1 -1
- package/lib/components/tita-chart/errorBoundary/index.js +2 -2
- package/lib/components/toast/index.js +8 -12
- package/lib/components/tooltip/error-tip.js +1 -1
- package/lib/components/tooltip/tooltip.js +1 -1
- package/lib/components/tree/index.js +1 -1
- package/lib/components/upload/components/uploadedPreview.js +2 -2
- package/lib/components/upload/index.js +2 -2
- package/lib/components/upvote/index.js +5 -7
- package/lib/components/user-selector/export-modules/multiple-user-selector--bak/index.js +1 -1
- package/lib/components/user-selector/select-tree/choose-tree/index.js +1 -1
- package/lib/components/user-selector/select-tree/selected-tree/index.js +1 -1
- package/lib/components/version-change-modal/index.js +4 -6
- package/lib/components/version-change-modal/request-api.js +2 -6
- package/lib/components/viewer/ImageListRender.js +2 -2
- package/lib/components/viewer/index.js +2 -2
- package/lib/components/weekly-report/card.js +12 -4
- package/lib/components/weekly-report/common-painter/darwAvatar.js +6 -10
- package/lib/components/weekly-report/common-painter/drawName.js +2 -6
- package/lib/components/weekly-report/common-painter/openDataPainter.js +2 -6
- package/lib/components/weekly-report/index.js +4 -6
- package/lib/components-v1/animate/AnimateChild.js +2 -2
- package/lib/components-v1/animate/animate.js +2 -2
- package/lib/components-v1/avatar/index.js +2 -2
- package/lib/components-v1/buttonv2/ButtonOutlined.js +2 -2
- package/lib/components-v1/buttonv2/ButtonRounded.js +2 -2
- package/lib/components-v1/buttonv2/DefaultButton.js +2 -2
- package/lib/components-v1/confirm/index.js +2 -2
- package/lib/components-v1/dropDownSelector/StatelessDropdown.js +2 -2
- package/lib/components-v1/dropDownSelector/dropDownSelector.js +2 -2
- package/lib/components-v1/input/Input.js +3 -3
- package/lib/components-v1/input/InputNumber.js +2 -2
- package/lib/components-v1/placement/placement.js +2 -2
- package/lib/components-v1/placement/placementInner.js +2 -2
- package/lib/components-v1/pop/Pop.js +2 -2
- package/lib/components-v1/pop/PopInner.js +2 -2
- package/lib/components-v1/portals/Portals.js +2 -2
- package/lib/components-v1/progress/CircleProgress.js +2 -2
- package/lib/components-v1/progress/LineProgress.js +2 -2
- package/lib/components-v1/progress/index.js +2 -2
- package/lib/components-v1/radio/radio.js +2 -2
- package/lib/components-v1/radio/radioGroup.js +2 -2
- package/lib/components-v1/search/index.js +2 -2
- package/lib/components-v1/select/Option.js +3 -3
- package/lib/components-v1/select/index.js +3 -3
- package/lib/components-v1/tabs/index.js +2 -2
- package/lib/components-v1/textarea/index.js +2 -2
- package/lib/components-v1/transition/index.js +2 -2
- package/lib/components-v1/userSelector/UserSelectorPop.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentTree.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/index.js +2 -2
- package/lib/components-v1/userSelector/components/SearchBar.js +2 -2
- package/lib/components-v1/userSelector/components/SingleMode.js +2 -2
- package/lib/components-v1/userSelector/components/UserItem.js +2 -2
- package/lib/components-v1/userSelector/index.js +2 -2
- package/lib/pages/appointment-demo/drop-down-box/index.js +1 -1
- package/lib/pages/appointment-demo/input/index.js +3 -3
- package/lib/pages/appointment-demo/popup/index.js +1 -1
- package/lib/pages/group-management/components/input-form/index.js +3 -3
- package/lib/pages/group-management/components/radio/index.js +1 -1
- package/lib/pages/group-management/groupInterface.js +2 -6
- package/lib/pages/group-management/page-view/importGroupStaff/index.js +1 -1
- package/lib/pages/group-management/tree/index.js +1 -1
- package/lib/pages/new-okr-list/request-api.js +14 -18
- package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +3 -5
- package/lib/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +1 -1
- package/lib/pages/okr-map/request-apis.js +2 -6
- package/lib/pages/okr-map/share-dialog/index.js +1 -1
- package/lib/utils/auth.js +2 -2
- package/lib/utils/open-data.js +4 -6
- package/lib/utils/request-v1.js +2 -6
- package/lib/utils/request.js +2 -6
- package/package.json +1 -1
- package/lib/components/book-demo-award/components/pc/components/checkbox/index.css +0 -54
- package/lib/components/book-demo-award/components/pc/components/checkbox/index.js +0 -126
- package/lib/components/book-demo-award/components/pc/components/content/index.css +0 -124
- package/lib/components/book-demo-award/components/pc/components/content/index.js +0 -372
- package/lib/components/book-demo-award/components/pc/components/drop-select/index.css +0 -41
- package/lib/components/book-demo-award/components/pc/components/drop-select/index.js +0 -86
- package/lib/components/book-demo-award/components/pc/components/error-info/index.css +0 -6
- package/lib/components/book-demo-award/components/pc/components/error-info/index.js +0 -24
- package/lib/components/book-demo-award/components/pc/components/input/index.css +0 -56
- package/lib/components/book-demo-award/components/pc/components/input/index.js +0 -94
- package/lib/components/book-demo-award/components/pc/components/phone/index.css +0 -68
- package/lib/components/book-demo-award/components/pc/components/phone/index.js +0 -95
- package/lib/components/book-demo-award/components/pc/components/verify-code/index.css +0 -45
- package/lib/components/book-demo-award/components/pc/components/verify-code/index.js +0 -139
- package/lib/components/book-demo-award/components/pc/index.css +0 -22
- package/lib/components/book-demo-award/components/pc/index.js +0 -174
- package/lib/components/book-demo-award/constant.js +0 -812
- package/lib/components/book-demo-award/img/demo-close.svg +0 -16
- package/lib/components/book-demo-award/img/demo-down.svg +0 -7
- package/lib/components/book-demo-award/img/demo-learning.jpg +0 -0
- package/lib/components/book-demo-award/img/demo-okr.jpg +0 -0
- package/lib/components/book-demo-award/img/demo-performance.jpg +0 -0
- package/lib/components/book-demo-award/img/demo-universal.jpg +0 -0
- package/lib/components/book-demo-award/img/order-award.png +0 -0
- package/lib/components/book-demo-award/index.js +0 -22
- package/lib/components/book-demo-award/interface.js +0 -17
- package/lib/components/book-demo-award/request.js +0 -50
- package/lib/components/book-demo-award/utils.js +0 -82
- package/lib/components/nav-top/components/app-center/images/yuyue-award.png +0 -0
- package/lib/components/nav-top/images/app-center.svg +0 -21
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
@@ -13,8 +11,6 @@ var _requestV = require("../../../utils/request-v1");
|
|
|
13
11
|
|
|
14
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
13
|
|
|
16
|
-
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, $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 generator._invoke = function (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); } }; }(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; this._invoke = function (method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); }; } function maybeInvokeDelegate(delegate, context) { var method = delegate.iterator[context.method]; if (undefined === method) { if (context.delegate = null, "throw" === context.method) { if (delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel; context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method"); } return 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, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), 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 (object) { var 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; }
|
|
17
|
-
|
|
18
14
|
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); } }
|
|
19
15
|
|
|
20
16
|
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); }); }; }
|
|
@@ -40,9 +36,9 @@ var queryParams = function queryParams() {
|
|
|
40
36
|
exports.queryParams = queryParams;
|
|
41
37
|
|
|
42
38
|
var _default = /*#__PURE__*/function () {
|
|
43
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/
|
|
39
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee(ComponentId) {
|
|
44
40
|
var componentUrl, res;
|
|
45
|
-
return
|
|
41
|
+
return regeneratorRuntime.wrap(function _callee$(_context) {
|
|
46
42
|
while (1) {
|
|
47
43
|
switch (_context.prev = _context.next) {
|
|
48
44
|
case 0:
|
|
@@ -87,12 +83,12 @@ var _default = /*#__PURE__*/function () {
|
|
|
87
83
|
exports["default"] = _default;
|
|
88
84
|
|
|
89
85
|
var getEssay = /*#__PURE__*/function () {
|
|
90
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/
|
|
86
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
|
91
87
|
var typeId,
|
|
92
88
|
EssayUrl,
|
|
93
89
|
res,
|
|
94
90
|
_args2 = arguments;
|
|
95
|
-
return
|
|
91
|
+
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
|
96
92
|
while (1) {
|
|
97
93
|
switch (_context2.prev = _context2.next) {
|
|
98
94
|
case 0:
|
|
@@ -125,9 +121,9 @@ var getEssay = /*#__PURE__*/function () {
|
|
|
125
121
|
exports.getEssay = getEssay;
|
|
126
122
|
|
|
127
123
|
var getIsCompanyOKREmpty = /*#__PURE__*/function () {
|
|
128
|
-
var _ref3 = _asyncToGenerator( /*#__PURE__*/
|
|
124
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee3() {
|
|
129
125
|
var OKREmptyUrl, res;
|
|
130
|
-
return
|
|
126
|
+
return regeneratorRuntime.wrap(function _callee3$(_context3) {
|
|
131
127
|
while (1) {
|
|
132
128
|
switch (_context3.prev = _context3.next) {
|
|
133
129
|
case 0:
|
|
@@ -67,7 +67,7 @@ function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Sy
|
|
|
67
67
|
|
|
68
68
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
69
69
|
|
|
70
|
-
function _extends() { _extends = Object.assign
|
|
70
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
71
71
|
|
|
72
72
|
var preCls = "help-card";
|
|
73
73
|
var isTry = (0, _bsGlobal.getVersion)() === 1;
|
|
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
29
29
|
|
|
30
30
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
32
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
34
34
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
35
35
|
|
|
@@ -39,7 +39,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
39
39
|
|
|
40
40
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
41
41
|
|
|
42
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
43
43
|
|
|
44
44
|
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
45
45
|
|
|
@@ -57,7 +57,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
57
57
|
|
|
58
58
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
59
59
|
|
|
60
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
60
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
61
61
|
|
|
62
62
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
63
63
|
|
|
@@ -67,7 +67,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
67
67
|
|
|
68
68
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
69
69
|
|
|
70
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
70
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
71
71
|
|
|
72
72
|
var visibilityMap = function visibilityMap() {
|
|
73
73
|
return {
|
|
@@ -23,7 +23,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
23
23
|
|
|
24
24
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
25
25
|
|
|
26
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
26
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
27
27
|
|
|
28
28
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
29
29
|
|
|
@@ -33,7 +33,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
33
33
|
|
|
34
34
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
35
35
|
|
|
36
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
36
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
37
37
|
|
|
38
38
|
var MblogContent = /*#__PURE__*/function (_PureComponent) {
|
|
39
39
|
_inherits(MblogContent, _PureComponent);
|
|
@@ -43,7 +43,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
43
43
|
|
|
44
44
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
45
45
|
|
|
46
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
46
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
47
|
|
|
48
48
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
49
49
|
|
|
@@ -53,7 +53,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
53
53
|
|
|
54
54
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
55
55
|
|
|
56
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
56
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
57
57
|
|
|
58
58
|
var prefix = 'titaui-mblog';
|
|
59
59
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<svg width="18px" height="18px" viewBox="0 0 18 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
+
<title>切片</title>
|
|
4
|
+
<g id="面谈" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
+
<g id="1-面谈管理-为空" transform="translate(-36.000000, -281.000000)" fill-rule="nonzero">
|
|
6
|
+
<g id="主菜单" transform="translate(16.000000, 74.000000)">
|
|
7
|
+
<g id="my-setup" transform="translate(20.000000, 207.000000)">
|
|
8
|
+
<g id="编组" transform="translate(1.721281, 2.294521)">
|
|
9
|
+
<path d="M5.77871871,-0.171315823 L2.07323961,1.96804353 C1.14503638,2.50394192 0.573239611,3.49432297 0.573239611,4.56611974 L0.573239611,8.84483845 C0.573239611,9.91663522 1.14503638,10.9070163 2.07323961,11.4429147 L5.77871871,13.582274 C6.70692194,14.1181724 7.85051548,14.1181724 8.77871871,13.582274 L12.4841978,11.4429147 C13.412401,10.9070163 13.9841978,9.91663522 13.9841978,8.84483845 L13.9841978,4.56611974 C13.9841978,3.49432297 13.412401,2.50394192 12.4841978,1.96804353 L8.77871871,-0.171315823 C7.85051548,-0.707214207 6.70692194,-0.707214207 5.77871871,-0.171315823 Z M8.17871871,0.867914662 L11.8841978,3.00727402 C12.4411197,3.32881305 12.7841978,3.92304168 12.7841978,4.56611974 L12.7841978,8.84483845 C12.7841978,9.48791651 12.4411197,10.0821451 11.8841978,10.4036842 L8.17871871,12.5430435 C7.62179677,12.8645826 6.93564065,12.8645826 6.37871871,12.5430435 L2.67323961,10.4036842 C2.11631767,10.0821451 1.77323961,9.48791651 1.77323961,8.84483845 L1.77323961,4.56611974 C1.77323961,3.92304168 2.11631767,3.32881305 2.67323961,3.00727402 L6.37871871,0.867914662 C6.93564065,0.546375631 7.62179677,0.546375631 8.17871871,0.867914662 Z" id="多边形" fill="#141C28" transform="translate(7.278719, 6.705479) rotate(-90.000000) translate(-7.278719, -6.705479) "></path>
|
|
10
|
+
<path d="M7.27871871,3.83651358 C5.6942328,3.83651358 4.40975319,5.12099319 4.40975319,6.7054791 C4.40975319,8.289965 5.6942328,9.57444461 7.27871871,9.57444461 C8.86320461,9.57444461 10.1476842,8.289965 10.1476842,6.7054791 C10.1476842,5.12099319 8.86320461,3.83651358 7.27871871,3.83651358 Z M7.27871871,5.03651358 C8.20046291,5.03651358 8.94768423,5.78373489 8.94768423,6.7054791 C8.94768423,7.6272233 8.20046291,8.37444461 7.27871871,8.37444461 C6.3569745,8.37444461 5.60975319,7.6272233 5.60975319,6.7054791 C5.60975319,5.78373489 6.3569745,5.03651358 7.27871871,5.03651358 Z" id="椭圆形" fill="#2879FF"></path>
|
|
11
|
+
</g>
|
|
12
|
+
</g>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
</g>
|
|
16
|
+
</svg>
|
|
@@ -23,7 +23,7 @@ var _excluded = ["data", "onSelect", "loadData", "selectedKeys", "onExpand"];
|
|
|
23
23
|
|
|
24
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
25
|
|
|
26
|
-
function _extends() { _extends = Object.assign
|
|
26
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
27
27
|
|
|
28
28
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
29
29
|
|
|
@@ -134,6 +134,10 @@
|
|
|
134
134
|
background-image: url("../images/interview-menu/template.svg");
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
+
.titaui-menus-tree__sub-menu-item-node-icon.setting {
|
|
138
|
+
background-image: url("../images/interview-menu/setting.svg");
|
|
139
|
+
}
|
|
140
|
+
|
|
137
141
|
.titaui-menus-tree__menu-item-node {
|
|
138
142
|
display: flex;
|
|
139
143
|
align-items: center;
|
|
@@ -242,6 +246,10 @@
|
|
|
242
246
|
background-image: url("../images/interview-menu/template.svg");
|
|
243
247
|
}
|
|
244
248
|
|
|
249
|
+
.titaui-menus-tree__menu-item-node-icon.setting {
|
|
250
|
+
background-image: url("../images/interview-menu/setting.svg");
|
|
251
|
+
}
|
|
252
|
+
|
|
245
253
|
.titaui-menus-tree__parent-menu-node {
|
|
246
254
|
display: flex;
|
|
247
255
|
align-items: center;
|
|
@@ -350,6 +358,10 @@
|
|
|
350
358
|
background-image: url("../images/interview-menu/template.svg");
|
|
351
359
|
}
|
|
352
360
|
|
|
361
|
+
.titaui-menus-tree__parent-menu-node-icon.setting {
|
|
362
|
+
background-image: url("../images/interview-menu/setting.svg");
|
|
363
|
+
}
|
|
364
|
+
|
|
353
365
|
.titaui-menus-tree__no-follower-node, .titaui-menus-tree__no-subordinates-node {
|
|
354
366
|
display: flex;
|
|
355
367
|
align-items: center;
|
|
@@ -530,6 +542,10 @@
|
|
|
530
542
|
background-image: url("../images/interview-menu/template.svg");
|
|
531
543
|
}
|
|
532
544
|
|
|
545
|
+
.titaui-menus-tree__company-all-node-icon.setting {
|
|
546
|
+
background-image: url("../images/interview-menu/setting.svg");
|
|
547
|
+
}
|
|
548
|
+
|
|
533
549
|
.titaui-menus-tree__ass-template-node {
|
|
534
550
|
display: flex;
|
|
535
551
|
align-items: center;
|
|
@@ -638,6 +654,10 @@
|
|
|
638
654
|
background-image: url("../images/interview-menu/template.svg");
|
|
639
655
|
}
|
|
640
656
|
|
|
657
|
+
.titaui-menus-tree__ass-template-node-icon.setting {
|
|
658
|
+
background-image: url("../images/interview-menu/setting.svg");
|
|
659
|
+
}
|
|
660
|
+
|
|
641
661
|
.titaui-menus-tree__ass-template-node-suffix {
|
|
642
662
|
display: inline-block;
|
|
643
663
|
height: 18px;
|
|
@@ -756,6 +776,10 @@
|
|
|
756
776
|
background-image: url("../images/interview-menu/template.svg");
|
|
757
777
|
}
|
|
758
778
|
|
|
779
|
+
.titaui-menus-tree__ass-manage-node-icon.setting {
|
|
780
|
+
background-image: url("../images/interview-menu/setting.svg");
|
|
781
|
+
}
|
|
782
|
+
|
|
759
783
|
.titaui-menus-tree__ass-manage-node-suffix {
|
|
760
784
|
display: inline-block;
|
|
761
785
|
height: 18px;
|
|
@@ -875,6 +899,10 @@
|
|
|
875
899
|
background-image: url("../images/interview-menu/template.svg");
|
|
876
900
|
}
|
|
877
901
|
|
|
902
|
+
.titaui-menus-tree__user-concern-node-icon.setting {
|
|
903
|
+
background-image: url("../images/interview-menu/setting.svg");
|
|
904
|
+
}
|
|
905
|
+
|
|
878
906
|
.titaui-menus-tree__user-concern-node-add {
|
|
879
907
|
display: inline-block;
|
|
880
908
|
position: absolute;
|
|
@@ -42,7 +42,7 @@ require("./index.css");
|
|
|
42
42
|
|
|
43
43
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
44
44
|
|
|
45
|
-
function _extends() { _extends = Object.assign
|
|
45
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
46
46
|
|
|
47
47
|
function _default(node, level, _ref) {
|
|
48
48
|
var onExpand = _ref.onExpand;
|
|
@@ -5,46 +5,57 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
|
|
8
|
+
var _bsGlobal = require("../../../../utils/bs-global");
|
|
9
|
+
|
|
8
10
|
var _getLocale = require("../../../../utils/getLocale");
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
var _treeNode = require("../../components/menu-tree/tree-node");
|
|
13
|
+
|
|
14
|
+
var _getUserInfo = (0, _bsGlobal.getUserInfo)(),
|
|
15
|
+
IsLeader = _getUserInfo.IsLeader,
|
|
16
|
+
IsBoss = _getUserInfo.IsBoss,
|
|
17
|
+
IsRoot = _getUserInfo.IsRoot,
|
|
18
|
+
Role = _getUserInfo.Role,
|
|
19
|
+
IsHrbp = _getUserInfo.IsHrbp;
|
|
20
|
+
|
|
21
|
+
var mamagementAuthority = IsBoss || IsRoot && Role !== 4 || IsLeader || IsHrbp;
|
|
22
|
+
|
|
11
23
|
var getMenus = function getMenus() {
|
|
12
24
|
return [{
|
|
13
|
-
icon:
|
|
14
|
-
label: (0, _getLocale.getLocale)(
|
|
15
|
-
key:
|
|
16
|
-
href:
|
|
25
|
+
icon: 'my-interview',
|
|
26
|
+
label: (0, _getLocale.getLocale)('Ooo_Mo_My1on1'),
|
|
27
|
+
key: 'myInterview',
|
|
28
|
+
href: '#/interview?reactRouterName=myInterview'
|
|
29
|
+
}, {
|
|
30
|
+
icon: 'todo',
|
|
31
|
+
label: (0, _getLocale.getLocale)('Ooo_Tas_ActionPlans'),
|
|
32
|
+
key: 'todos',
|
|
33
|
+
href: '#/interview?reactRouterName=todos'
|
|
34
|
+
}, {
|
|
35
|
+
icon: 'template',
|
|
36
|
+
label: (0, _getLocale.getLocale)('Ooo_Mo_Templates'),
|
|
37
|
+
key: 'template',
|
|
38
|
+
href: '#/interview?reactRouterName=template'
|
|
39
|
+
}, {
|
|
40
|
+
icon: '',
|
|
41
|
+
label: (0, _getLocale.getLocale)('Ooo_Mo_Administ'),
|
|
42
|
+
key: 'manage-interview-group',
|
|
43
|
+
type: _treeNode.GROUP_NAME_NODE,
|
|
44
|
+
href: '',
|
|
45
|
+
isShow: mamagementAuthority
|
|
17
46
|
}, {
|
|
18
|
-
icon:
|
|
19
|
-
label: (0, _getLocale.getLocale)(
|
|
20
|
-
key:
|
|
21
|
-
href:
|
|
47
|
+
icon: 'setting',
|
|
48
|
+
label: (0, _getLocale.getLocale)('Rep_NewS_onManage'),
|
|
49
|
+
key: 'management',
|
|
50
|
+
href: '#/interview?reactRouterName=management',
|
|
51
|
+
isShow: mamagementAuthority
|
|
22
52
|
}, {
|
|
23
|
-
icon:
|
|
24
|
-
label: (0, _getLocale.getLocale)(
|
|
25
|
-
key:
|
|
26
|
-
href:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
// label: '管理',
|
|
30
|
-
// key: 'manage-interview-group',
|
|
31
|
-
// type: GROUP_NAME_NODE,
|
|
32
|
-
// href: '',
|
|
33
|
-
// isShow: true,
|
|
34
|
-
// },
|
|
35
|
-
// {
|
|
36
|
-
// icon: 'manage',
|
|
37
|
-
// label: '面谈管理' || getLocale('Ooo_Mo_Templates'),
|
|
38
|
-
// key: 'manage',
|
|
39
|
-
// href: '#/interview?reactRouterName=manage',
|
|
40
|
-
// },
|
|
41
|
-
// {
|
|
42
|
-
// icon: 'yibiao',
|
|
43
|
-
// label: getLocale('Ooo_Ddb_Dashboard'),
|
|
44
|
-
// key: 'dashboard',
|
|
45
|
-
// href: '#/interview?reactRouterName=dashboard',
|
|
46
|
-
// },
|
|
47
|
-
];
|
|
53
|
+
icon: 'yibiao',
|
|
54
|
+
label: (0, _getLocale.getLocale)('Ooo_Ddb_Dashboard'),
|
|
55
|
+
key: 'dashboard',
|
|
56
|
+
href: '#/interview?reactRouterName=dashboard',
|
|
57
|
+
isShow: mamagementAuthority
|
|
58
|
+
}];
|
|
48
59
|
};
|
|
49
60
|
|
|
50
61
|
var _default = getMenus;
|
|
@@ -14,6 +14,8 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
14
14
|
var MY_INTERVIEW = 'myInterview';
|
|
15
15
|
var TODOS = 'todos';
|
|
16
16
|
var TEMPLATE = 'template';
|
|
17
|
+
var MANAGEMENT = 'management';
|
|
18
|
+
var DASHBOARD = 'dashboard';
|
|
17
19
|
|
|
18
20
|
var JudgeManageHighLightMenu = /*#__PURE__*/function () {
|
|
19
21
|
function JudgeManageHighLightMenu(hash) {
|
|
@@ -38,6 +40,16 @@ var JudgeManageHighLightMenu = /*#__PURE__*/function () {
|
|
|
38
40
|
value: function isTemplate() {
|
|
39
41
|
return !!this.search.match(/\?reactRouterName=template/);
|
|
40
42
|
}
|
|
43
|
+
}, {
|
|
44
|
+
key: "isManagement",
|
|
45
|
+
value: function isManagement() {
|
|
46
|
+
return !!this.search.match(/\?reactRouterName=management/);
|
|
47
|
+
}
|
|
48
|
+
}, {
|
|
49
|
+
key: "isDashboard",
|
|
50
|
+
value: function isDashboard() {
|
|
51
|
+
return !!this.search.match(/\?reactRouterName=dashboard/);
|
|
52
|
+
}
|
|
41
53
|
}, {
|
|
42
54
|
key: "getHighLightMenu",
|
|
43
55
|
value: function getHighLightMenu() {
|
|
@@ -53,6 +65,14 @@ var JudgeManageHighLightMenu = /*#__PURE__*/function () {
|
|
|
53
65
|
return TEMPLATE;
|
|
54
66
|
}
|
|
55
67
|
|
|
68
|
+
if (this.isManagement()) {
|
|
69
|
+
return MANAGEMENT;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
if (this.isDashboard()) {
|
|
73
|
+
return DASHBOARD;
|
|
74
|
+
}
|
|
75
|
+
|
|
56
76
|
return '';
|
|
57
77
|
}
|
|
58
78
|
}]);
|
|
@@ -73,14 +73,17 @@ function InterviewMenus(props) {
|
|
|
73
73
|
var isLeaf = menu.isLeaf !== undefined ? menu.isLeaf : !hasChildren;
|
|
74
74
|
var nodeType = menu.type;
|
|
75
75
|
if (!nodeType) nodeType = !isLeaf ? _index.PARENT_MENU_NODE : _index.SUB_MENU_ITEM_NOE;
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
76
|
+
|
|
77
|
+
if (menu.isShow !== false) {
|
|
78
|
+
treeNodes.push({
|
|
79
|
+
key: "".concat(menu.key),
|
|
80
|
+
title: (0, _getLocale.getLocale)(menu.label) ? (0, _getLocale.getLocale)(menu.label) : menu.label,
|
|
81
|
+
data: menu.data || menu,
|
|
82
|
+
isLeaf: isLeaf,
|
|
83
|
+
children: formateToTreeNodeData(menu.children || []),
|
|
84
|
+
nodeType: nodeType
|
|
85
|
+
});
|
|
86
|
+
}
|
|
84
87
|
}
|
|
85
88
|
|
|
86
89
|
return treeNodes;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
|
|
1
3
|
.app-center {
|
|
2
4
|
padding: 32px 120px 28px;
|
|
3
5
|
position: relative;
|
|
6
|
+
box-shadow: 0 8px 24px 0 rgb 127 145 180/20%;
|
|
4
7
|
}
|
|
5
8
|
|
|
6
9
|
.app-center__title {
|
|
@@ -148,7 +151,6 @@
|
|
|
148
151
|
.app-center__drawer .drawer-content-wrapper,
|
|
149
152
|
.app-center__drawer .drawer-content {
|
|
150
153
|
border-radius: 24px;
|
|
151
|
-
box-shadow: 0 8px 24px 0 rgba(127, 145, 180, 0.2);
|
|
152
154
|
}
|
|
153
155
|
|
|
154
156
|
.app-center__drawer .drawer-mask {
|
|
@@ -166,11 +168,3 @@
|
|
|
166
168
|
width: 120px;
|
|
167
169
|
height: 144px;
|
|
168
170
|
}
|
|
169
|
-
|
|
170
|
-
.titaui-drawer.drawer-open.drawer-top .drawer-content-wrapper {
|
|
171
|
-
box-shadow: none;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
.drawer-top.drawer-open .drawer-content-wrapper {
|
|
175
|
-
box-shadow: none;
|
|
176
|
-
}
|
|
@@ -13,7 +13,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
13
13
|
|
|
14
14
|
var _drawer = _interopRequireDefault(require("../../../drawer"));
|
|
15
15
|
|
|
16
|
-
var
|
|
16
|
+
var _bookDemo = _interopRequireDefault(require("../../../book-demo"));
|
|
17
17
|
|
|
18
18
|
var _errorBoundary = _interopRequireDefault(require("../../../error-boundary"));
|
|
19
19
|
|
|
@@ -25,7 +25,7 @@ require("./index.css");
|
|
|
25
25
|
|
|
26
26
|
var _interface = require("./interface");
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _yuyue = _interopRequireDefault(require("./images/yuyue.png"));
|
|
29
29
|
|
|
30
30
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
31
31
|
|
|
@@ -135,14 +135,14 @@ var AppCenter = function AppCenter(props) {
|
|
|
135
135
|
var menuVersion = window.BSGlobal.tenantAuthentication.MenuVersion;
|
|
136
136
|
|
|
137
137
|
if (menuVersion === _interface.ETrialVersion.OKR) {
|
|
138
|
-
return
|
|
138
|
+
return _bookDemo["default"].DemoType.TryOKR;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
if (menuVersion === _interface.ETrialVersion.Performance) {
|
|
142
|
-
return
|
|
142
|
+
return _bookDemo["default"].DemoType.TryPerformance;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
return
|
|
145
|
+
return _bookDemo["default"].DemoType.UniversalBookDemo;
|
|
146
146
|
};
|
|
147
147
|
|
|
148
148
|
var handlePoint = function handlePoint() {
|
|
@@ -194,12 +194,12 @@ var AppCenter = function AppCenter(props) {
|
|
|
194
194
|
onClick: handlePoint
|
|
195
195
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
196
196
|
className: "".concat(precls, "__app-right-img__img"),
|
|
197
|
-
src:
|
|
197
|
+
src: _yuyue["default"],
|
|
198
198
|
alt: "\u9884\u7EA6\u6709\u5956"
|
|
199
199
|
})), /*#__PURE__*/_react["default"].createElement(_errorBoundary["default"], {
|
|
200
200
|
errorLevel: _errorLevel["default"].P0,
|
|
201
201
|
errorTag: "\u7533\u8BF7\u9884\u7EA6\u6F14\u793A\u5F02\u5E38"
|
|
202
|
-
}, /*#__PURE__*/_react["default"].createElement(
|
|
202
|
+
}, /*#__PURE__*/_react["default"].createElement(_bookDemo["default"].BookDemoPC, {
|
|
203
203
|
visible: false,
|
|
204
204
|
ref: bookDemoRef,
|
|
205
205
|
type: getBookDemoVersion(),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.titaui-user-message__msg {
|
|
2
2
|
position: relative;
|
|
3
3
|
box-sizing: border-box;
|
|
4
|
-
width:
|
|
5
|
-
height:
|
|
4
|
+
width: 24px;
|
|
5
|
+
height: 24px;
|
|
6
6
|
display: flex;
|
|
7
7
|
align-items: center;
|
|
8
8
|
justify-content: center;
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.titaui-user-message__msg img {
|
|
18
|
-
width:
|
|
19
|
-
height:
|
|
18
|
+
width: 24px;
|
|
19
|
+
height: 24px;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.titaui-user-message__msg-img {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.titaui-nav-top__left-home-img {
|
|
40
|
-
width:
|
|
41
|
-
height:
|
|
40
|
+
width: 24px;
|
|
41
|
+
height: 24px;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
.titaui-nav-top__left-home--hover:hover {
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
|
|
57
57
|
.titaui-nav-top__left-dynamic, .titaui-nav-top__left-app-center {
|
|
58
58
|
display: inline-block;
|
|
59
|
-
width:
|
|
60
|
-
height:
|
|
59
|
+
width: 24px;
|
|
60
|
+
height: 24px;
|
|
61
61
|
background: url("./images/app-center.png") no-repeat;
|
|
62
62
|
background-size: contain;
|
|
63
63
|
color: #ffffff;
|
|
@@ -158,7 +158,3 @@
|
|
|
158
158
|
font-size: 20px;
|
|
159
159
|
color: #ffffff;
|
|
160
160
|
}
|
|
161
|
-
|
|
162
|
-
.titaui-nav-top-no-shadow {
|
|
163
|
-
box-shadow: none;
|
|
164
|
-
}
|
|
@@ -63,7 +63,7 @@ var hasOKRApp = newNavigation.find(function (item) {
|
|
|
63
63
|
var preCls = "titaui-nav-top";
|
|
64
64
|
|
|
65
65
|
var NavTop = function NavTop() {
|
|
66
|
-
var
|
|
66
|
+
var _classNames3;
|
|
67
67
|
|
|
68
68
|
var isUseNewMenu = window.BSGlobal.isUseNewMenu;
|
|
69
69
|
|
|
@@ -145,7 +145,7 @@ var NavTop = function NavTop() {
|
|
|
145
145
|
};
|
|
146
146
|
}, [menu]);
|
|
147
147
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
148
|
-
className: (0, _classnames["default"])(preCls, _defineProperty({}, "".concat(preCls, "--position"), appCenterVisible)
|
|
148
|
+
className: (0, _classnames["default"])(preCls, _defineProperty({}, "".concat(preCls, "--position"), appCenterVisible))
|
|
149
149
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
150
150
|
className: "".concat(preCls, "__left"),
|
|
151
151
|
href: "#dynamic"
|
|
@@ -166,7 +166,7 @@ var NavTop = function NavTop() {
|
|
|
166
166
|
menus: menu,
|
|
167
167
|
activeMenuId: activeMenuId
|
|
168
168
|
})), hasOKRApp && /*#__PURE__*/_react["default"].createElement("div", {
|
|
169
|
-
className: (0, _classnames["default"])("".concat(preCls, "__left-home"), (
|
|
169
|
+
className: (0, _classnames["default"])("".concat(preCls, "__left-home"), (_classNames3 = {}, _defineProperty(_classNames3, "".concat(preCls, "__left-home--active"), activeMenuId === 99999), _defineProperty(_classNames3, "".concat(preCls, "__left-home--hover"), hasOKRApp), _classNames3))
|
|
170
170
|
}, /*#__PURE__*/_react["default"].createElement("a", {
|
|
171
171
|
href: "#homepage"
|
|
172
172
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
@@ -11,7 +11,7 @@ var _bsGlobal = require("../../utils/bs-global");
|
|
|
11
11
|
|
|
12
12
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
13
13
|
|
|
14
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf
|
|
14
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
15
15
|
|
|
16
16
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
17
17
|
|
|
@@ -21,7 +21,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
|
|
21
21
|
|
|
22
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
23
23
|
|
|
24
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf
|
|
24
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
25
25
|
|
|
26
26
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
27
27
|
|