@titaui/pc 1.12.26-beta.1 → 1.12.26-beta.2
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/default.js +5 -2
- package/lib/components/avatar/icon-avatar/index.js +1 -1
- package/lib/components/avatar/index.css +2 -0
- package/lib/components/avatar/num-avatar/index.js +1 -1
- package/lib/components/book-demo/components/pc/components/content/index.js +1 -1
- package/lib/components/button/default-button/index.js +1 -1
- package/lib/components/button/icon-btn/index.js +1 -1
- package/lib/components/cascader/index.js +1 -1
- package/lib/components/cascader/time.js +1 -1
- package/lib/components/change-okr-modal/Filter.js +2 -2
- package/lib/components/change-okr-modal/Item.js +2 -2
- package/lib/components/change-okr-modal/filterTab.js +2 -2
- package/lib/components/change-okr-modal/index.js +6 -4
- package/lib/components/common-share/publishMblog.js +4 -2
- 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 +4 -2
- package/lib/components/create-okr-modal/fields/okr-visibility-detail.js +4 -2
- package/lib/components/create-okr-modal/index.js +4 -2
- package/lib/components/create-okr-modal/objectType.js +2 -2
- package/lib/components/create-okr-modal/request-api.js +16 -12
- package/lib/components/create-okr-modal/utils/helper.js +6 -2
- package/lib/components/date-picker/BodyItem.js +6 -6
- package/lib/components/date-picker/CalendarBody.js +3 -3
- package/lib/components/date-picker/CalendarHeader.js +6 -6
- package/lib/components/date-picker/index.js +2 -2
- package/lib/components/date-range-picker/index.js +2 -2
- package/lib/components/delete-confirm-pop/ConfirmPop.js +5 -5
- package/lib/components/dialog/index.js +1 -1
- package/lib/components/dialog-confirm/index.js +1 -1
- package/lib/components/dialog-upload/index.js +4 -2
- package/lib/components/drawer/headerDrop.js +1 -1
- package/lib/components/drawer/index.js +1 -1
- package/lib/components/drawer-manager/drawerWrapper.js +5 -3
- package/lib/components/drawer-manager/index.js +1 -1
- package/lib/components/drop-selector/index.js +8 -5
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.css +4 -0
- package/lib/components/dynamic/dynamic-item/components/okr-progress/index.js +6 -2
- package/lib/components/dynamic/dynamic-item/components/progress/components/okr-progress/index.js +4 -2
- package/lib/components/dynamic/dynamic-item/components/summary-header/index.js +7 -2
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.css +6 -0
- package/lib/components/dynamic/dynamic-item/components/table-row-o-project/index.js +16 -13
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.css +8 -4
- package/lib/components/dynamic/dynamic-item/components/task-progress/index.js +5 -7
- package/lib/components/dynamic/dynamic-item/components/task-progress/render-row.js +2 -5
- 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-new-report/components/evalute/index.css +4 -1
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/evalute/index.js +54 -81
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/components/remind-user-view/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/constant.js +12 -5
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.css +4 -56
- package/lib/components/dynamic/dynamic-item/dynamic-new-report/index.js +24 -15
- 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/dynamic/dynamic-item/index.css +1 -1
- package/lib/components/dynamic/dynamic-item/index.js +1 -1
- package/lib/components/eReport/eReportListEmpty.js +2 -2
- package/lib/components/eReport/eReportLists/reportList.js +5 -5
- package/lib/components/eReport/eReportShare/index.js +2 -2
- package/lib/components/eReport/eReportShare/toast/index.js +2 -2
- package/lib/components/edit-kr-wight/EditKrWightModal.js +2 -2
- package/lib/components/edit-kr-wight/FormItemV2.js +2 -2
- package/lib/components/emotions-selector/selector-content.js +2 -2
- package/lib/components/emotions-selector/selector-pop.js +5 -5
- package/lib/components/ereport-list/index.js +5 -5
- package/lib/components/error-boundary/index.js +2 -2
- package/lib/components/firework/index.js +6 -2
- package/lib/components/form/form-fields/date/index.js +1 -1
- 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 +4 -2
- package/lib/components/form/form-fields/user/index.js +1 -1
- package/lib/components/grid-layout/util/network.js +10 -6
- package/lib/components/guide-tip/index.css +22 -2
- package/lib/components/guide-tip/index.js +11 -4
- package/lib/components/help-card/index.js +1 -1
- package/lib/components/import-modal/helper.js +1 -1
- package/lib/components/import-modal/import-task-modal/index.js +1 -1
- package/lib/components/import-modal/tree/okr-tree/index.js +9 -17
- package/lib/components/import-modal/tree-node/index.js +1 -1
- package/lib/components/mblog/components/ConfirmPop.js +2 -2
- package/lib/components/mblog/components/MblogAction.js +5 -5
- package/lib/components/mblog/components/MblogContent.js +2 -2
- package/lib/components/mblog/index.js +2 -2
- package/lib/components/menus/components/menu-tree/index.js +1 -1
- package/lib/components/menus/components/menu-tree/tree-node/index.js +1 -1
- package/lib/components/menus/export-modules/summary-menus/depart-menus/index.js +7 -6
- package/lib/components/okr-detail/auth.js +2 -2
- package/lib/components/okr-detail/base-info/other-infos/principal/index.js +4 -2
- package/lib/components/okr-detail/components/ao-nice/index.js +6 -4
- 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 +4 -2
- package/lib/components/okr-detail/components/header/o-avatar.js +4 -2
- package/lib/components/okr-detail/components/header/o-classify.js +4 -2
- 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 +4 -2
- package/lib/components/okr-detail/components/o-progress-update/index.js +4 -2
- 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 +4 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task-level2.js +4 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-node/e-task.js +4 -2
- 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 +4 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/edit-pop.js +5 -5
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-node/kr-score-editor/kr-push-score.js +3 -3
- package/lib/components/okr-detail/components/okr-tree/tree-node/kr-parent-node/index.js +4 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-child-node/edit-child-okr-weight.js +8 -6
- package/lib/components/okr-detail/components/okr-tree/tree-node/o-parent-node/index.js +4 -2
- package/lib/components/okr-detail/detail-footer/index.js +4 -2
- package/lib/components/okr-detail/detail-header/index.js +12 -10
- package/lib/components/okr-detail/okr-list/index.js +4 -2
- package/lib/components/okr-detail/request-apis.js +6 -2
- package/lib/components/okr-flow/child-node/fields/creator.js +4 -2
- package/lib/components/okr-flow/child-node/work-node.js +4 -2
- package/lib/components/okr-flow/export-modal/index.js +4 -2
- package/lib/components/okr-flow/export-modules/okr-search-panel/index.js +10 -8
- package/lib/components/okr-flow/request-apis.js +6 -2
- package/lib/components/okr-flow/root-node/index.js +4 -2
- package/lib/components/okr-progress/components/o-progress-update/index.js +4 -2
- package/lib/components/okr-progress-modal/index.js +4 -2
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +6 -4
- package/lib/components/okr-review/ReviewPop/components/Toast/index.js +2 -2
- package/lib/components/okr-review/ReviewPop/index.js +2 -2
- package/lib/components/okr-review/components/ReviewItem/index.js +5 -5
- package/lib/components/okr-review/components/confirm-pop/ConfirmPop.js +5 -5
- package/lib/components/okr-review/index.js +2 -2
- package/lib/components/okr-share/common-painter/darwAvatar.js +8 -4
- package/lib/components/okr-share/common-painter/openDataPainter.js +6 -2
- package/lib/components/okr-share/common-painter/utils.js +8 -4
- package/lib/components/okr-share/pink-card/drawDepartmentName.js +6 -2
- package/lib/components/okr-share/pink-card/drawKrs.js +6 -2
- package/lib/components/okr-share/pink-card/drawQuote.js +6 -2
- package/lib/components/okr-share/pink-card/drawUserName.js +6 -2
- package/lib/components/okr-share/pink-card/index.js +6 -2
- package/lib/components/okr-share/publishMblog.js +4 -2
- package/lib/components/okr-share/shareCardSelector.js +6 -4
- package/lib/components/okrcase-library/okrcases-components/submitOkr-dialog.js +4 -2
- package/lib/components/okrcase-library/server/network.js +24 -20
- package/lib/components/open-data-painter/index.js +6 -2
- 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 +6 -2
- package/lib/components/picker/components/panels/date-panel/index.js +1 -1
- package/lib/components/picker/components/panels/month-panel/index.js +1 -1
- package/lib/components/picker/components/panels/month-panel/month-head.js +1 -1
- package/lib/components/picker/components/panels/week-panel/index.css +10 -1
- package/lib/components/picker/components/panels/week-panel/index.js +15 -5
- package/lib/components/picker/components/panels/week-panel/week-body.js +13 -13
- package/lib/components/picker/components/panels/week-panel/week-head.js +1 -3
- package/lib/components/picker/components/panels/year-panel/index.js +1 -1
- package/lib/components/picker/components/panels/year-panel/year-head.js +1 -1
- package/lib/components/picker/picker-panels.js +14 -5
- package/lib/components/picker/picker.js +2 -2
- package/lib/components/picker/range-picker/index.js +1 -1
- 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 +5 -5
- package/lib/components/rate/index.js +1 -1
- package/lib/components/rich-editor/models/schema.js +8 -8
- package/lib/components/rich-editor/plugins/block/block-quote/index.js +10 -10
- package/lib/components/rich-editor/plugins/block/heading/index.js +10 -10
- package/lib/components/rich-editor/plugins/block/lists/index.js +16 -16
- package/lib/components/rich-editor/plugins/block/paragraph/index.js +7 -7
- package/lib/components/rich-editor/plugins/core/index.js +6 -6
- package/lib/components/rich-editor/plugins/extension/alignment/index.js +7 -7
- package/lib/components/rich-editor/plugins/extension/placeholder/index.js +6 -6
- package/lib/components/rich-editor/plugins/inline/color/index.js +13 -13
- package/lib/components/rich-editor/plugins/inline/delete-line/index.js +10 -10
- package/lib/components/rich-editor/plugins/inline/em/index.js +7 -7
- package/lib/components/rich-editor/plugins/inline/link/index.js +10 -10
- package/lib/components/rich-editor/plugins/inline/strong/index.js +10 -10
- package/lib/components/rich-editor/plugins/inline/under-line/index.js +10 -10
- package/lib/components/rich-editor/react/reactNodeView.js +4 -4
- package/lib/components/rich-editor/react/uiProvider.js +5 -5
- package/lib/components/rich-editor/ui/Popup/index.js +5 -5
- package/lib/components/rich-editor-at/index.css +1 -1
- 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 +6 -6
- package/lib/components/select/index.js +3 -3
- package/lib/components/select-layer/index.js +1 -1
- package/lib/components/select-tags/index.js +1 -1
- package/lib/components/superset-charts/fetch-assets-and-append/get-assets-with-cache.js +6 -2
- package/lib/components/superset-charts/fetch-assets-and-append/index.js +8 -4
- package/lib/components/survey-model/request-api.js +6 -2
- 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 +7 -5
- 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 +4 -2
- package/lib/components/task-relation-modal/tree/okr-tree/index.js +4 -2
- package/lib/components/task-relation-modal/tree/work-tree/index.js +4 -2
- package/lib/components/task-relation-modal/tree-node/index.js +1 -1
- package/lib/components/task-relation-modal/work-relation/index.js +7 -5
- package/lib/components/task-tree/task-item-node/e-project.js +4 -2
- package/lib/components/task-tree/task-item-node/e-task.js +4 -2
- 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 +5 -5
- package/lib/components/toast/index.js +12 -8
- 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 +7 -5
- 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 +6 -4
- package/lib/components/version-change-modal/request-api.js +6 -2
- package/lib/components/viewer/ImageListRender.js +2 -2
- package/lib/components/viewer/index.js +2 -2
- package/lib/components/weekly-report/card.js +4 -2
- package/lib/components/weekly-report/common-painter/darwAvatar.js +10 -6
- package/lib/components/weekly-report/common-painter/drawName.js +6 -2
- package/lib/components/weekly-report/common-painter/openDataPainter.js +6 -2
- package/lib/components/weekly-report/index.js +6 -4
- package/lib/components-v1/animate/AnimateChild.js +5 -5
- package/lib/components-v1/animate/animate.js +2 -2
- package/lib/components-v1/avatar/index.js +5 -5
- package/lib/components-v1/buttonv2/ButtonOutlined.js +2 -2
- package/lib/components-v1/buttonv2/ButtonRounded.js +2 -2
- package/lib/components-v1/buttonv2/DefaultButton.js +2 -2
- package/lib/components-v1/confirm/index.js +2 -2
- package/lib/components-v1/dropDownSelector/StatelessDropdown.js +5 -5
- package/lib/components-v1/dropDownSelector/dropDownSelector.js +2 -2
- package/lib/components-v1/input/Input.js +3 -3
- package/lib/components-v1/input/InputNumber.js +2 -2
- package/lib/components-v1/placement/placement.js +2 -2
- package/lib/components-v1/placement/placementInner.js +2 -2
- package/lib/components-v1/pop/Pop.js +2 -2
- package/lib/components-v1/pop/PopInner.js +2 -2
- package/lib/components-v1/portals/Portals.js +2 -2
- package/lib/components-v1/progress/CircleProgress.js +5 -5
- package/lib/components-v1/progress/LineProgress.js +2 -2
- package/lib/components-v1/progress/index.js +2 -2
- package/lib/components-v1/radio/radio.js +2 -2
- package/lib/components-v1/radio/radioGroup.js +2 -2
- package/lib/components-v1/search/index.js +2 -2
- package/lib/components-v1/select/Option.js +6 -6
- package/lib/components-v1/select/index.js +3 -3
- package/lib/components-v1/tabs/index.js +2 -2
- package/lib/components-v1/textarea/index.js +2 -2
- package/lib/components-v1/transition/index.js +2 -2
- package/lib/components-v1/userSelector/UserSelectorPop.js +5 -5
- package/lib/components-v1/userSelector/components/MultiMode/CommonList.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentList.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/DepartmentTree.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/SubsList.js +2 -2
- package/lib/components-v1/userSelector/components/MultiMode/index.js +5 -5
- package/lib/components-v1/userSelector/components/SearchBar.js +2 -2
- package/lib/components-v1/userSelector/components/SingleMode.js +2 -2
- package/lib/components-v1/userSelector/components/UserItem.js +5 -5
- package/lib/components-v1/userSelector/index.js +2 -2
- package/lib/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 +6 -2
- 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 +18 -14
- package/lib/pages/okr-map/export-modules/okr-map/okr-map.js +5 -3
- package/lib/pages/okr-map/export-modules/share-okr-page/share-okr-map.js +1 -1
- package/lib/pages/okr-map/request-apis.js +6 -2
- package/lib/pages/okr-map/share-dialog/index.js +1 -1
- package/lib/utils/auth.js +2 -2
- package/lib/utils/open-data.js +6 -4
- package/lib/utils/request-v1.js +6 -2
- package/lib/utils/request.js +6 -2
- package/package.json +2 -2
|
@@ -9,6 +9,8 @@ exports["default"] = void 0;
|
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
|
|
12
|
+
var _classnames = _interopRequireDefault(require("classnames"));
|
|
13
|
+
|
|
12
14
|
var _avatar = _interopRequireDefault(require("../../../../../../components/avatar"));
|
|
13
15
|
|
|
14
16
|
var _rate = _interopRequireDefault(require("../../../../../rate"));
|
|
@@ -17,20 +19,12 @@ var _getLocale = require("../../../../../../utils/getLocale");
|
|
|
17
19
|
|
|
18
20
|
var _commentsDialog = _interopRequireDefault(require("../../../../components/comments-dialog"));
|
|
19
21
|
|
|
20
|
-
var _evaluateBig = _interopRequireDefault(require("./img/evaluate-big.png"));
|
|
21
|
-
|
|
22
22
|
var _niceSmall = _interopRequireDefault(require("./img/nice-small.png"));
|
|
23
23
|
|
|
24
|
-
var _niceBig = _interopRequireDefault(require("./img/nice-big.png"));
|
|
25
|
-
|
|
26
24
|
var _veryGoodSmall = _interopRequireDefault(require("./img/very-good-small.png"));
|
|
27
25
|
|
|
28
|
-
var _veryGoodBig = _interopRequireDefault(require("./img/very-good-big.png"));
|
|
29
|
-
|
|
30
26
|
var _comeOnSmall = _interopRequireDefault(require("./img/come-on-small.png"));
|
|
31
27
|
|
|
32
|
-
var _comeOnBig = _interopRequireDefault(require("./img/come-on-big.png"));
|
|
33
|
-
|
|
34
28
|
var _veryGoodWrite = _interopRequireDefault(require("./img/very-good-write.png"));
|
|
35
29
|
|
|
36
30
|
var _niceWrite = _interopRequireDefault(require("./img/nice-write.png"));
|
|
@@ -72,37 +66,34 @@ var modalType;
|
|
|
72
66
|
modalType[modalType["comeOn"] = 3] = "comeOn";
|
|
73
67
|
})(modalType || (modalType = {}));
|
|
74
68
|
|
|
75
|
-
var
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}];
|
|
101
|
-
return remarkTypeList;
|
|
102
|
-
};
|
|
69
|
+
var RemarkTypeList = [{
|
|
70
|
+
id: modalType.veryGood,
|
|
71
|
+
name: (0, _getLocale.getLocale)("Rep_NewS_Marvelous"),
|
|
72
|
+
smallImg: _veryGoodSmall["default"],
|
|
73
|
+
bgc: "rgba(240, 163, 38, 0.12)",
|
|
74
|
+
writeImg: _veryGoodWrite["default"],
|
|
75
|
+
textColor: "rgba(189, 117, 0, 1)",
|
|
76
|
+
key: "very-good"
|
|
77
|
+
}, {
|
|
78
|
+
id: modalType.nice,
|
|
79
|
+
name: "干的不错",
|
|
80
|
+
smallImg: _niceSmall["default"],
|
|
81
|
+
bgc: "rgba(255, 171, 103, 0.12)",
|
|
82
|
+
writeImg: _niceWrite["default"],
|
|
83
|
+
textColor: "rgba(204, 102, 61, 1)",
|
|
84
|
+
key: "nice-write"
|
|
85
|
+
}, {
|
|
86
|
+
id: modalType.comeOn,
|
|
87
|
+
name: (0, _getLocale.getLocale)("Rep_NewS_MakePerEffo"),
|
|
88
|
+
smallImg: _comeOnSmall["default"],
|
|
89
|
+
bgc: "rgba(240, 94, 94, 0.12)",
|
|
90
|
+
writeImg: _comeOnWrite["default"],
|
|
91
|
+
textColor: "rgba(214, 25, 0, 1)",
|
|
92
|
+
key: "come-on"
|
|
93
|
+
}];
|
|
103
94
|
|
|
104
95
|
var EvaluteCard = function EvaluteCard(props) {
|
|
105
|
-
var _user$avatar;
|
|
96
|
+
var _classNames, _user$avatar;
|
|
106
97
|
|
|
107
98
|
var evaluation = props.evaluation,
|
|
108
99
|
feedId = props.feedId,
|
|
@@ -123,8 +114,8 @@ var EvaluteCard = function EvaluteCard(props) {
|
|
|
123
114
|
bgc: "rgba(240, 163, 38, 0.12)"
|
|
124
115
|
}),
|
|
125
116
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
126
|
-
|
|
127
|
-
|
|
117
|
+
evaluateConfig = _useState4[0],
|
|
118
|
+
setEvaluateConfig = _useState4[1];
|
|
128
119
|
|
|
129
120
|
var _useState5 = (0, _react.useState)(false),
|
|
130
121
|
_useState6 = _slicedToArray(_useState5, 2),
|
|
@@ -148,25 +139,21 @@ var EvaluteCard = function EvaluteCard(props) {
|
|
|
148
139
|
setCurrentEvalute(evaluation);
|
|
149
140
|
|
|
150
141
|
if (type === 1) {
|
|
151
|
-
|
|
142
|
+
setEvaluateConfig({
|
|
152
143
|
bgc: "rgba(240, 163, 38, 0.12)"
|
|
153
144
|
});
|
|
154
145
|
} else if (type === 2) {
|
|
155
|
-
|
|
146
|
+
var curTypeConfig = RemarkTypeList.find(function (item) {
|
|
156
147
|
return item.id === Number(value);
|
|
157
|
-
});
|
|
158
|
-
|
|
159
|
-
bgc: getRemarkTypeList().filter(function (item) {
|
|
160
|
-
return item.id === Number(value);
|
|
161
|
-
})[0].bgc
|
|
162
|
-
});
|
|
148
|
+
}) || {};
|
|
149
|
+
setEvaluateConfig(curTypeConfig);
|
|
163
150
|
}
|
|
164
151
|
}
|
|
165
152
|
}, [evaluation]);
|
|
166
153
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
167
|
-
className: preCls,
|
|
154
|
+
className: (0, _classnames["default"])(preCls, (_classNames = {}, _defineProperty(_classNames, "".concat(preCls, "__score"), type === 1), _defineProperty(_classNames, "".concat(preCls, "__").concat(evaluateConfig.key), type === 2), _classNames)),
|
|
168
155
|
style: {
|
|
169
|
-
|
|
156
|
+
backgroundColor: evaluateConfig.bgc
|
|
170
157
|
}
|
|
171
158
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
172
159
|
className: "".concat(preCls, "__head")
|
|
@@ -182,27 +169,15 @@ var EvaluteCard = function EvaluteCard(props) {
|
|
|
182
169
|
disabled: true
|
|
183
170
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
184
171
|
className: "".concat(preCls, "__head-rate")
|
|
185
|
-
}, "".concat(value).concat((0, _getLocale.getLocale)("Per_Set_Form_Quantifier_Points")))), type === 2 &&
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
className: "".concat(preCls, "__head-medal-img"),
|
|
191
|
-
alt: ""
|
|
192
|
-
}), item.name);
|
|
193
|
-
})), remark && /*#__PURE__*/_react["default"].createElement("div", {
|
|
194
|
-
className: "".concat(preCls, "__remark")
|
|
195
|
-
}, remark), type === 1 && /*#__PURE__*/_react["default"].createElement("img", {
|
|
196
|
-
src: _evaluateBig["default"],
|
|
197
|
-
className: "".concat(preCls, "__bgc-img"),
|
|
172
|
+
}, "".concat(value).concat((0, _getLocale.getLocale)("Per_Set_Form_Quantifier_Points")))), type === 2 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
173
|
+
className: "".concat(preCls, "__head-medal")
|
|
174
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
175
|
+
src: evaluateConfig.smallImg,
|
|
176
|
+
className: "".concat(preCls, "__head-medal-img"),
|
|
198
177
|
alt: ""
|
|
199
|
-
}),
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
className: "".concat(preCls, "__bgc-img"),
|
|
203
|
-
alt: ""
|
|
204
|
-
});
|
|
205
|
-
}), canEvaluate && /*#__PURE__*/_react["default"].createElement("div", {
|
|
178
|
+
}), evaluateConfig.name)), remark && /*#__PURE__*/_react["default"].createElement("div", {
|
|
179
|
+
className: "".concat(preCls, "__remark")
|
|
180
|
+
}, remark), canEvaluate && /*#__PURE__*/_react["default"].createElement("div", {
|
|
206
181
|
className: "".concat(preCls, "__evalute"),
|
|
207
182
|
onClick: handleClickEvaluate
|
|
208
183
|
}, type === 1 && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("img", {
|
|
@@ -212,18 +187,16 @@ var EvaluteCard = function EvaluteCard(props) {
|
|
|
212
187
|
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
213
188
|
className: "".concat(preCls, "__evalute-text"),
|
|
214
189
|
onClick: handleClickEvaluate
|
|
215
|
-
}, "\u4FEE\u6539")), type === 2 &&
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}, "\u4FEE\u6539"));
|
|
226
|
-
})), /*#__PURE__*/_react["default"].createElement(_commentsDialog["default"], {
|
|
190
|
+
}, "\u4FEE\u6539")), type === 2 && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("img", {
|
|
191
|
+
src: evaluateConfig.writeImg,
|
|
192
|
+
className: "".concat(preCls, "__evalute-img"),
|
|
193
|
+
alt: ""
|
|
194
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
195
|
+
className: "".concat(preCls, "__evalute-text"),
|
|
196
|
+
style: {
|
|
197
|
+
color: evaluateConfig.textColor
|
|
198
|
+
}
|
|
199
|
+
}, "\u4FEE\u6539"))), /*#__PURE__*/_react["default"].createElement(_commentsDialog["default"], {
|
|
227
200
|
visible: evaluateVisible,
|
|
228
201
|
feedId: feedId,
|
|
229
202
|
toUserId: publishUser.userId,
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.dailyContentType = exports.Motion = exports.EEmotionType = void 0;
|
|
7
7
|
|
|
8
|
+
var _getLocale = require("../../../../utils/getLocale");
|
|
9
|
+
|
|
8
10
|
var _fighting = _interopRequireDefault(require("./img/fighting.png"));
|
|
9
11
|
|
|
10
12
|
var _happy = _interopRequireDefault(require("./img/happy.png"));
|
|
@@ -28,19 +30,24 @@ exports.EEmotionType = EEmotionType;
|
|
|
28
30
|
|
|
29
31
|
var Motion = [{
|
|
30
32
|
id: EEmotionType.Unset,
|
|
31
|
-
img: ""
|
|
33
|
+
img: "",
|
|
34
|
+
tips: ""
|
|
32
35
|
}, {
|
|
33
36
|
id: EEmotionType.Happy,
|
|
34
|
-
img: _happy["default"]
|
|
37
|
+
img: _happy["default"],
|
|
38
|
+
tips: (0, _getLocale.getLocale)("Rep_NewS_HappFly")
|
|
35
39
|
}, {
|
|
36
40
|
id: EEmotionType.Fighting,
|
|
37
|
-
img: _fighting["default"]
|
|
41
|
+
img: _fighting["default"],
|
|
42
|
+
tips: (0, _getLocale.getLocale)("Rep_NewS_HardWorking")
|
|
38
43
|
}, {
|
|
39
44
|
id: EEmotionType.HardToPutWords,
|
|
40
|
-
img: _longStory["default"]
|
|
45
|
+
img: _longStory["default"],
|
|
46
|
+
tips: (0, _getLocale.getLocale)("Rep_NewS_Indescribable")
|
|
41
47
|
}, {
|
|
42
48
|
id: EEmotionType.Stressful,
|
|
43
|
-
img: _pressure["default"]
|
|
49
|
+
img: _pressure["default"],
|
|
50
|
+
tips: (0, _getLocale.getLocale)("Rep_NewS_SoPressure")
|
|
44
51
|
}];
|
|
45
52
|
exports.Motion = Motion;
|
|
46
53
|
var dailyContentType;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.titaui-dynamic-new-report-item__content {
|
|
14
|
-
margin-left:
|
|
14
|
+
margin-left: 80px;
|
|
15
15
|
line-height: 24px;
|
|
16
16
|
word-wrap: break-word;
|
|
17
17
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
align-items: center;
|
|
22
22
|
justify-content: space-between;
|
|
23
23
|
width: 100%;
|
|
24
|
-
|
|
24
|
+
padding-bottom: 4px;
|
|
25
25
|
display: flex;
|
|
26
26
|
overflow: hidden;
|
|
27
27
|
}
|
|
@@ -31,60 +31,8 @@
|
|
|
31
31
|
height: 44px;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.titaui-dynamic-new-report-item__content ul {
|
|
35
|
-
list-style-type: disc;
|
|
36
|
-
padding-left: 20px;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.titaui-dynamic-new-report-item__content ol {
|
|
40
|
-
list-style-type: decimal;
|
|
41
|
-
padding-left: 20px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.titaui-dynamic-new-report-item__content li {
|
|
45
|
-
list-style-type: inherit;
|
|
46
|
-
margin: 5px 0;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.titaui-dynamic-new-report-item__content table td {
|
|
50
|
-
padding: 3px 5px;
|
|
51
|
-
min-width: 50px;
|
|
52
|
-
height: 20px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.titaui-dynamic-new-report-item__content p {
|
|
56
|
-
margin: 5px 0;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.titaui-dynamic-new-report-item__content blockquote {
|
|
60
|
-
display: block;
|
|
61
|
-
border-left: 4px solid #e3ecf1;
|
|
62
|
-
padding: 5px;
|
|
63
|
-
font-size: 12px;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.titaui-dynamic-new-report-item__content p,
|
|
67
|
-
.titaui-dynamic-new-report-item__content li {
|
|
68
|
-
line-height: 1.7;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.titaui-dynamic-new-report-item__content a {
|
|
72
|
-
word-wrap: break-word;
|
|
73
|
-
word-break: break-all;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.titaui-dynamic-new-report-item__content pre {
|
|
77
|
-
padding: 10px;
|
|
78
|
-
margin: 5px 0px;
|
|
79
|
-
font-size: 0.8em;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.titaui-dynamic-new-report-item__content pre code {
|
|
83
|
-
line-height: 1.5;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
34
|
.titaui-dynamic-new-report-item__upload {
|
|
87
|
-
margin-top:
|
|
35
|
+
margin-top: 16px;
|
|
88
36
|
}
|
|
89
37
|
|
|
90
38
|
.titaui-dynamic-new-report-item__summary {
|
|
@@ -172,7 +120,7 @@
|
|
|
172
120
|
}
|
|
173
121
|
|
|
174
122
|
.titaui-dynamic-new-report-item__work {
|
|
175
|
-
|
|
123
|
+
padding: 12px 0;
|
|
176
124
|
font-size: 18px;
|
|
177
125
|
font-weight: 600;
|
|
178
126
|
color: #141c28;
|
|
@@ -13,6 +13,8 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
13
13
|
|
|
14
14
|
var _richEditor = _interopRequireWildcard(require("@titaui/rich-editor"));
|
|
15
15
|
|
|
16
|
+
var _tooltip = _interopRequireDefault(require("../../../tooltip"));
|
|
17
|
+
|
|
16
18
|
var _context = require("../../context");
|
|
17
19
|
|
|
18
20
|
var _summaryHeader = _interopRequireDefault(require("../components/summary-header"));
|
|
@@ -47,7 +49,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
47
49
|
|
|
48
50
|
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; }
|
|
49
51
|
|
|
50
|
-
function _extends() { _extends = Object.assign
|
|
52
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
51
53
|
|
|
52
54
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
53
55
|
|
|
@@ -93,10 +95,10 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
93
95
|
canEvaluate = data.canEvaluate;
|
|
94
96
|
var files = (0, _util.formatAttachments)(attachments);
|
|
95
97
|
|
|
96
|
-
var _useState = (0, _react.useState)(
|
|
98
|
+
var _useState = (0, _react.useState)(),
|
|
97
99
|
_useState2 = _slicedToArray(_useState, 2),
|
|
98
|
-
|
|
99
|
-
|
|
100
|
+
motionValue = _useState2[0],
|
|
101
|
+
setMotionValue = _useState2[1];
|
|
100
102
|
|
|
101
103
|
var contentRichTextRef = (0, _react.useRef)();
|
|
102
104
|
var workPlanRichTextRef = (0, _react.useRef)();
|
|
@@ -143,17 +145,18 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
143
145
|
}, [data, searchKeyWord]);
|
|
144
146
|
(0, _react.useEffect)(function () {
|
|
145
147
|
if (dailyContent) {
|
|
146
|
-
var
|
|
148
|
+
var mindData = dailyContent.find(function (item) {
|
|
149
|
+
return item.contentType === 1;
|
|
150
|
+
});
|
|
151
|
+
if (!(mindData !== null && mindData !== void 0 && mindData.content)) return;
|
|
147
152
|
|
|
148
|
-
var
|
|
149
|
-
|
|
153
|
+
var motion = _constant.Motion.find(function (item) {
|
|
154
|
+
var _JSON$parse$SelectedV;
|
|
155
|
+
|
|
156
|
+
return item.id === (((_JSON$parse$SelectedV = JSON.parse(mindData.content || "{}").SelectedValues) === null || _JSON$parse$SelectedV === void 0 ? void 0 : _JSON$parse$SelectedV[0]) || 0);
|
|
150
157
|
});
|
|
151
158
|
|
|
152
|
-
|
|
153
|
-
setMindImg(_constant.Motion.filter(function (item) {
|
|
154
|
-
return item.id === JSON.parse(mindData[0].content).SelectedValues[0];
|
|
155
|
-
})[0].img);
|
|
156
|
-
}
|
|
159
|
+
setMotionValue(motion);
|
|
157
160
|
}
|
|
158
161
|
}, [dailyContent]);
|
|
159
162
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -177,11 +180,17 @@ var DynamicReply = function DynamicReply(_ref) {
|
|
|
177
180
|
typeBgColor: "rgba(92, 142, 255, 0.5)",
|
|
178
181
|
titleBgColor: "rgba(92, 142, 255, 0.1)",
|
|
179
182
|
contentColor: "#5C8EFF"
|
|
180
|
-
}),
|
|
181
|
-
|
|
183
|
+
}), motionValue && /*#__PURE__*/_react["default"].createElement(_tooltip["default"], {
|
|
184
|
+
overlay: motionValue.tips,
|
|
185
|
+
placement: "top",
|
|
186
|
+
align: {
|
|
187
|
+
offset: [0, 5]
|
|
188
|
+
}
|
|
189
|
+
}, /*#__PURE__*/_react["default"].createElement("img", {
|
|
190
|
+
src: motionValue.img,
|
|
182
191
|
className: "".concat(prefix, "__content-mind"),
|
|
183
192
|
alt: ""
|
|
184
|
-
})), dailyContent.map(function (item) {
|
|
193
|
+
}))), dailyContent.map(function (item) {
|
|
185
194
|
if (item.contentType === _constant.dailyContentType.richText) {
|
|
186
195
|
return item.richContent !== "" && typeof item.richContent === "string" && /*#__PURE__*/_react["default"].createElement("div", {
|
|
187
196
|
className: "".concat(prefix, "__work")
|
|
@@ -27,7 +27,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
27
27
|
|
|
28
28
|
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; }
|
|
29
29
|
|
|
30
|
-
function _extends() { _extends = Object.assign
|
|
30
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
31
31
|
|
|
32
32
|
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; }
|
|
33
33
|
|
|
@@ -29,7 +29,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
29
29
|
|
|
30
30
|
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; }
|
|
31
31
|
|
|
32
|
-
function _extends() { _extends = Object.assign
|
|
32
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
33
33
|
|
|
34
34
|
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; }
|
|
35
35
|
|
|
@@ -45,7 +45,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
45
45
|
|
|
46
46
|
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; }
|
|
47
47
|
|
|
48
|
-
function _extends() { _extends = Object.assign
|
|
48
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
49
49
|
|
|
50
50
|
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; }
|
|
51
51
|
|
|
@@ -37,7 +37,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
37
37
|
|
|
38
38
|
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; }
|
|
39
39
|
|
|
40
|
-
function _extends() { _extends = Object.assign
|
|
40
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
41
41
|
|
|
42
42
|
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; }
|
|
43
43
|
|
|
@@ -51,7 +51,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
51
51
|
|
|
52
52
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
53
53
|
|
|
54
|
-
function _extends() { _extends = Object.assign
|
|
54
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
55
55
|
|
|
56
56
|
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
57
57
|
|
|
@@ -41,7 +41,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
41
41
|
|
|
42
42
|
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; }
|
|
43
43
|
|
|
44
|
-
function _extends() { _extends = Object.assign
|
|
44
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
45
45
|
|
|
46
46
|
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; }
|
|
47
47
|
|
|
@@ -33,7 +33,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
33
33
|
|
|
34
34
|
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; }
|
|
35
35
|
|
|
36
|
-
function _extends() { _extends = Object.assign
|
|
36
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
37
37
|
|
|
38
38
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
39
39
|
|
|
@@ -49,7 +49,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
49
49
|
|
|
50
50
|
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; }
|
|
51
51
|
|
|
52
|
-
function _extends() { _extends = Object.assign
|
|
52
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
53
53
|
|
|
54
54
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
55
55
|
|
|
@@ -39,7 +39,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
39
39
|
|
|
40
40
|
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; }
|
|
41
41
|
|
|
42
|
-
function _extends() { _extends = Object.assign
|
|
42
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
43
43
|
|
|
44
44
|
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; }
|
|
45
45
|
|
|
@@ -41,7 +41,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
41
41
|
|
|
42
42
|
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; }
|
|
43
43
|
|
|
44
|
-
function _extends() { _extends = Object.assign
|
|
44
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
45
45
|
|
|
46
46
|
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; }
|
|
47
47
|
|
|
@@ -91,7 +91,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
91
91
|
|
|
92
92
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
93
93
|
|
|
94
|
-
function _extends() { _extends = Object.assign
|
|
94
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : 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); }
|
|
95
95
|
|
|
96
96
|
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
97
97
|
|
|
@@ -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 ? Object.setPrototypeOf.bind() : 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 : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
42
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : 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
|
|