@titaui/pc 1.5.78 → 1.5.82
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/index.js +1 -9
- package/lib/components/change-okr/Filter.js +65 -133
- package/lib/components/change-okr/Item.js +0 -6
- package/lib/components/change-okr/filterTab.js +0 -2
- package/lib/components/change-okr/index.js +2 -2
- package/lib/components/checkbox/index.js +3 -4
- package/lib/components/communication/CommunicationRecord.js +161 -116
- package/lib/components/communication/ConvertUserName.js +1 -1
- package/lib/components/communication/index.js +28 -53
- package/lib/components/communication/style.js +25 -21
- package/lib/components/dropdown-layer/icon-item.js +3 -5
- package/lib/components/dropdown-layer/index.css +0 -16
- package/lib/components/dropdown-layer/index.js +14 -21
- package/lib/components/emotionsSelector/style.js +1 -1
- package/lib/components/form/form-fields/input/index.css +0 -11
- package/lib/components/form/form-fields/input/index.js +1 -3
- package/lib/components/grid-page/personal-info/index.js +4 -4
- package/lib/components/mblog/components/MblogAction.js +6 -10
- package/lib/components/mblog/index.js +11 -24
- package/lib/components/mblog/style.js +8 -8
- package/lib/components/okr-detail/components/header/index.css +0 -4
- package/lib/components/okr-detail/components/header/o-cycle.js +2 -2
- package/lib/components/okr-detail/components/okr-tree/tree-node/e-kr-node/index.js +8 -15
- package/lib/components/okr-flow/child-node/work-node.js +1 -7
- package/lib/components/okr-period-selector/select-cycle.js +151 -139
- package/lib/components/okr-progress-detail/index.css +0 -1
- package/lib/components/okr-review/ReviewPop/components/ReviewBody/index.js +5 -5
- package/lib/components/okr-review/ReviewPop/index.js +4 -4
- package/lib/components/period-selector/common.js +4 -149
- package/lib/components/period-selector/components/selector/index.js +38 -103
- package/lib/components/period-selector/components/selector/style.js +9 -23
- package/lib/components/period-selector/index.js +28 -29
- package/lib/components/popup/index.js +1 -3
- package/lib/components/radio/index.css +0 -5
- package/lib/components/radio/radio.js +4 -12
- package/lib/components/table/index.css +1 -0
- package/lib/components/upload/components/uploadedPreview.js +54 -62
- package/lib/components/upload/index.js +57 -89
- package/lib/components/upload/style.js +7 -7
- package/lib/components/upload/type.js +15 -15
- package/lib/components/upvote/index.js +14 -37
- package/lib/components/user-selector/export-modules/field-tree-selector/index.css +0 -4
- package/lib/components/user-selector/export-modules/field-tree-selector/index.js +24 -50
- package/lib/components/user-selector/export-modules/field-tree-selector/single-selector/index.js +2 -11
- package/lib/components/user-selector/layout/index.css +1 -1
- package/lib/index.js +5 -49
- package/lib/pages/home-page/components/data-list/nav-selector/index.js +0 -18
- package/lib/pages/home-page/components/data-list/table/utils-function.js +3 -6
- package/lib/utils/auth.js +5 -46
- package/lib/utils/bs-global.js +2 -26
- package/lib/utils/tools.js +20 -140
- package/package.json +2 -2
- package/lib/components/avatar/icon-avatar/index.css +0 -15
- package/lib/components/avatar/icon-avatar/index.js +0 -50
- package/lib/components/avatar/num-avatar/index.css +0 -12
- package/lib/components/avatar/num-avatar/index.js +0 -34
- package/lib/components/button/admin-button/default.js +0 -35
- package/lib/components/button/admin-button/drop-down-arrow.js +0 -93
- package/lib/components/button/admin-button/index.css +0 -86
- package/lib/components/button/admin-button/index.js +0 -40
- package/lib/components/button/admin-button/primary.js +0 -33
- package/lib/components/button/admin-button/secondary.js +0 -35
- package/lib/components/button/default-button/index.css +0 -49
- package/lib/components/button/default-button/index.js +0 -51
- package/lib/components/button/export-button/index.css +0 -51
- package/lib/components/button/export-button/index.js +0 -81
- package/lib/components/button/images/daoru.svg +0 -18
- package/lib/components/button/index.js +0 -23
- package/lib/components/button/interface.js +0 -5
- package/lib/components/communication/index.css +0 -63
- package/lib/components/create-okr/animation/check-animation.js +0 -2746
- package/lib/components/create-okr/constant.js +0 -27
- package/lib/components/create-okr/createCycle.js +0 -171
- package/lib/components/create-okr/createSuccessCmp.js +0 -233
- package/lib/components/create-okr/createSuccessCmpWrapper.js +0 -20
- package/lib/components/create-okr/fields/date-cycle.js +0 -98
- package/lib/components/create-okr/fields/index.css +0 -346
- package/lib/components/create-okr/fields/index.js +0 -17
- package/lib/components/create-okr/fields/input-with-err-popup.js +0 -57
- package/lib/components/create-okr/fields/o-new-name.js +0 -197
- package/lib/components/create-okr/fields/okr-case.js +0 -98
- package/lib/components/create-okr/fields/okr-classify.js +0 -51
- package/lib/components/create-okr/fields/okr-create-suggest.js +0 -147
- package/lib/components/create-okr/fields/okr-new-user-selector.js +0 -106
- package/lib/components/create-okr/fields/okr-parent.js +0 -157
- package/lib/components/create-okr/fields/okr-type-detail.js +0 -196
- package/lib/components/create-okr/fields/okr-type.js +0 -131
- package/lib/components/create-okr/fields/okr-visibility-detail.js +0 -224
- package/lib/components/create-okr/fields/okr-visibility.js +0 -169
- package/lib/components/create-okr/img/check-normal.svg +0 -29
- package/lib/components/create-okr/img/check-right.svg +0 -16
- package/lib/components/create-okr/img/check-wrong.svg +0 -29
- package/lib/components/create-okr/img/create-success-head.png +0 -0
- package/lib/components/create-okr/img/create-success-left-quotation.svg +0 -14
- package/lib/components/create-okr/img/create-success-message.svg +0 -1
- package/lib/components/create-okr/img/create-success-right-quotation.svg +0 -14
- package/lib/components/create-okr/img/create-success-shadow.svg +0 -23
- package/lib/components/create-okr/img/example.svg +0 -11
- package/lib/components/create-okr/img/hand.svg +0 -12
- package/lib/components/create-okr/img/kr-add.svg +0 -12
- package/lib/components/create-okr/img/left-quotation.svg +0 -12
- package/lib/components/create-okr/img/light.svg +0 -1
- package/lib/components/create-okr/img/pack-up.js +0 -28
- package/lib/components/create-okr/img/qr-code.png +0 -0
- package/lib/components/create-okr/img/right-quotation.svg +0 -12
- package/lib/components/create-okr/img/shower.png +0 -0
- package/lib/components/create-okr/img/target.svg +0 -19
- package/lib/components/create-okr/img/teach-okr.svg +0 -17
- package/lib/components/create-okr/img/wave.png +0 -0
- package/lib/components/create-okr/img/weight.svg +0 -12
- package/lib/components/create-okr/index.css +0 -446
- package/lib/components/create-okr/index.js +0 -911
- package/lib/components/create-okr/interface.js +0 -5
- package/lib/components/create-okr/kr-items/index.css +0 -180
- package/lib/components/create-okr/kr-items/kr-item-weight.js +0 -194
- package/lib/components/create-okr/kr-items/krDatas.js +0 -299
- package/lib/components/create-okr/kr-items/krItem.js +0 -167
- package/lib/components/create-okr/objectType.js +0 -273
- package/lib/components/create-okr/request-api.js +0 -220
- package/lib/components/create-okr/style.js +0 -100
- package/lib/components/create-okr/utils/getCreateOkrSurpassPercent.js +0 -124
- package/lib/components/create-okr/utils/helper.js +0 -99
- package/lib/components/create-okr/utils/index.js +0 -23
- package/lib/components/dynamic/components/condition-render/index.js +0 -20
- package/lib/components/dynamic/components/dangerous-html/index.js +0 -22
- package/lib/components/dynamic/components/dynamic-search-input/index.css +0 -78
- package/lib/components/dynamic/components/dynamic-search-input/index.js +0 -192
- package/lib/components/dynamic/components/obj-status/index.css +0 -22
- package/lib/components/dynamic/components/obj-status/index.js +0 -38
- package/lib/components/dynamic/components/percent/index.css +0 -21
- package/lib/components/dynamic/components/percent/index.js +0 -38
- package/lib/components/dynamic/components/title/index.css +0 -35
- package/lib/components/dynamic/components/title/index.js +0 -59
- package/lib/components/dynamic/constant.js +0 -96
- package/lib/components/dynamic/context/index.js +0 -13
- package/lib/components/dynamic/dynamic-item/components/header/index.css +0 -101
- package/lib/components/dynamic/dynamic-item/components/header/index.js +0 -294
- package/lib/components/dynamic/dynamic-item/components/icon/index.css +0 -10
- package/lib/components/dynamic/dynamic-item/components/icon/index.js +0 -35
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-align.svg +0 -22
- package/lib/components/dynamic/dynamic-item/dynamic-align/img/dynamic-relative.svg +0 -22
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.css +0 -95
- package/lib/components/dynamic/dynamic-item/dynamic-align/index.js +0 -173
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.css +0 -54
- package/lib/components/dynamic/dynamic-item/dynamic-announcement/index.js +0 -107
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.css +0 -48
- package/lib/components/dynamic/dynamic-item/dynamic-assessment/index.js +0 -89
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.css +0 -96
- package/lib/components/dynamic/dynamic-item/dynamic-create-o/index.js +0 -171
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.css +0 -67
- package/lib/components/dynamic/dynamic-item/dynamic-kr/index.js +0 -110
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/constant.js +0 -16
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/img/milestone.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.css +0 -111
- package/lib/components/dynamic/dynamic-item/dynamic-milestone/index.js +0 -158
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.css +0 -95
- package/lib/components/dynamic/dynamic-item/dynamic-progress/index.js +0 -215
- package/lib/components/dynamic/dynamic-item/dynamic-project/constant.js +0 -16
- package/lib/components/dynamic/dynamic-item/dynamic-project/img/project.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.css +0 -91
- package/lib/components/dynamic/dynamic-item/dynamic-project/index.js +0 -125
- package/lib/components/dynamic/dynamic-item/dynamic-relative/img/dynamic-relative.svg +0 -22
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.css +0 -95
- package/lib/components/dynamic/dynamic-item/dynamic-relative/index.js +0 -192
- package/lib/components/dynamic/dynamic-item/dynamic-replay/index.css +0 -138
- package/lib/components/dynamic/dynamic-item/dynamic-replay/index.js +0 -183
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.css +0 -153
- package/lib/components/dynamic/dynamic-item/dynamic-report/index.js +0 -138
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.css +0 -97
- package/lib/components/dynamic/dynamic-item/dynamic-reward/index.js +0 -207
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.css +0 -54
- package/lib/components/dynamic/dynamic-item/dynamic-share/index.js +0 -107
- package/lib/components/dynamic/dynamic-item/dynamic-task/constant.js +0 -50
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-cancel.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-delay.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-done.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-pause.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-progress.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unaccept.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/img/task-unstart.png +0 -0
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.css +0 -111
- package/lib/components/dynamic/dynamic-item/dynamic-task/index.js +0 -164
- package/lib/components/dynamic/dynamic-item/index.css +0 -128
- package/lib/components/dynamic/dynamic-item/index.js +0 -352
- package/lib/components/dynamic/dynamic-like-ranking/image/like-ranking.svg +0 -23
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-1.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-2.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/image/ranking-3.png +0 -0
- package/lib/components/dynamic/dynamic-like-ranking/index.css +0 -126
- package/lib/components/dynamic/dynamic-like-ranking/index.js +0 -157
- package/lib/components/dynamic/dynamic-like-ranking/item.js +0 -107
- package/lib/components/dynamic/dynamic-like-ranking/mock.js +0 -84
- package/lib/components/dynamic/dynamic-liking/image/like-dynamic.svg +0 -30
- package/lib/components/dynamic/dynamic-liking/index.css +0 -81
- package/lib/components/dynamic/dynamic-liking/index.js +0 -76
- package/lib/components/dynamic/dynamic-liking/item.js +0 -90
- package/lib/components/dynamic/dynamic-liking/mock.js +0 -83
- package/lib/components/dynamic/dynamic-list/index.css +0 -36
- package/lib/components/dynamic/dynamic-list/index.js +0 -61
- package/lib/components/dynamic/dynamic-topping/image/quotationMark.svg +0 -16
- package/lib/components/dynamic/dynamic-topping/image/topIcon.svg +0 -30
- package/lib/components/dynamic/dynamic-topping/index.css +0 -130
- package/lib/components/dynamic/dynamic-topping/index.js +0 -78
- package/lib/components/dynamic/dynamic-topping/interface.js +0 -5
- package/lib/components/dynamic/dynamic-topping/item.js +0 -138
- package/lib/components/dynamic/dynamic-topping/request-api.js +0 -36
- package/lib/components/dynamic/dynamic.css +0 -204
- package/lib/components/dynamic/dynamic.js +0 -391
- package/lib/components/dynamic/export-module/index.js +0 -33
- package/lib/components/dynamic/img/dynamic-P1.svg +0 -15
- package/lib/components/dynamic/img/dynamic-P2.svg +0 -15
- package/lib/components/dynamic/img/dynamic-P3.svg +0 -15
- package/lib/components/dynamic/img/dynamic-P4.svg +0 -15
- package/lib/components/dynamic/img/dynamic-P5.svg +0 -15
- package/lib/components/dynamic/img/dynamic-delay.svg +0 -17
- package/lib/components/dynamic/img/dynamic-desire.svg +0 -61
- package/lib/components/dynamic/img/dynamic-empty.png +0 -0
- package/lib/components/dynamic/img/dynamic-end.svg +0 -17
- package/lib/components/dynamic/img/dynamic-left-quoto.svg +0 -13
- package/lib/components/dynamic/img/dynamic-loading.gif +0 -0
- package/lib/components/dynamic/img/dynamic-normal.svg +0 -17
- package/lib/components/dynamic/img/dynamic-promise.svg +0 -61
- package/lib/components/dynamic/img/dynamic-reword.svg +0 -24
- package/lib/components/dynamic/img/dynamic-right-quoto.svg +0 -13
- package/lib/components/dynamic/img/dynamic-risk.svg +0 -17
- package/lib/components/dynamic/img/dynamic-submit-delay.svg +0 -16
- package/lib/components/dynamic/img/dynamic-submit-normal.svg +0 -18
- package/lib/components/dynamic/img/dynamic-top.svg +0 -14
- package/lib/components/dynamic/index.js +0 -27
- package/lib/components/dynamic/interface.js +0 -5
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-announcement/index.js +0 -37
- package/lib/components/dynamic/quick-operation/components/create-okr/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-okr/index.js +0 -37
- package/lib/components/dynamic/quick-operation/components/create-share/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-share/index.js +0 -37
- package/lib/components/dynamic/quick-operation/components/create-task/index.css +0 -25
- package/lib/components/dynamic/quick-operation/components/create-task/index.js +0 -42
- package/lib/components/dynamic/quick-operation/img/create-announcement.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-okr.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-share.png +0 -0
- package/lib/components/dynamic/quick-operation/img/create-task.png +0 -0
- package/lib/components/dynamic/quick-operation/index.css +0 -51
- package/lib/components/dynamic/quick-operation/index.js +0 -112
- package/lib/components/dynamic/request-api.js +0 -92
- package/lib/components/dynamic/util.js +0 -140
- package/lib/components/file-list/components/single-file/index.css +0 -84
- package/lib/components/file-list/components/single-file/index.js +0 -115
- package/lib/components/file-list/img/new-file-list-doc.svg +0 -1
- package/lib/components/file-list/img/new-file-list-other.svg +0 -1
- package/lib/components/file-list/img/new-file-list-pdf.svg +0 -1
- package/lib/components/file-list/img/new-file-list-ppt.svg +0 -1
- package/lib/components/file-list/img/new-file-list-radio.svg +0 -1
- package/lib/components/file-list/img/new-file-list-video.svg +0 -1
- package/lib/components/file-list/img/new-file-list-xls.svg +0 -1
- package/lib/components/file-list/index.css +0 -5
- package/lib/components/file-list/index.js +0 -61
- package/lib/components/file-list/interface.js +0 -5
- package/lib/components/file-list/util.js +0 -78
- package/lib/components/img-viewer/icon/enlarge.js +0 -30
- package/lib/components/img-viewer/icon/left-rotate.js +0 -46
- package/lib/components/img-viewer/icon/right-rotate.js +0 -44
- package/lib/components/img-viewer/icon/shrink.js +0 -37
- package/lib/components/img-viewer/image/loading.gif +0 -0
- package/lib/components/img-viewer/index.css +0 -155
- package/lib/components/img-viewer/index.js +0 -228
- package/lib/components/img-viewer/interface.js +0 -5
- package/lib/components/img-viewer/util.js +0 -16
- package/lib/components/publish-dynamic-modal/index.js +0 -13
- package/lib/components/publish-dynamic-modal/interface.js +0 -5
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.css +0 -3
- package/lib/components/publish-dynamic-modal/publish-dynamic-modal.js +0 -191
- package/lib/components/publish-dynamic-modal/requist-api.js +0 -48
- package/lib/components/search-key-handle/index.js +0 -39
- package/lib/components/upload/img/doc.svg +0 -1
- package/lib/components/upload/img/other.svg +0 -1
- package/lib/components/upload/img/pdf.svg +0 -1
- package/lib/components/upload/img/ppt.svg +0 -1
- package/lib/components/upload/img/radio.svg +0 -1
- package/lib/components/upload/img/video.svg +0 -1
- package/lib/components/upload/img/xls.svg +0 -1
- package/lib/components/upload/index.css +0 -26
- package/lib/components/upload/util.js +0 -102
- package/lib/components-v1/buttonv2/ButtonLinked.js +0 -35
- package/lib/components-v1/buttonv2/ButtonOutlined.js +0 -64
- package/lib/components-v1/buttonv2/ButtonRounded.js +0 -101
- package/lib/components-v1/buttonv2/DefaultButton.js +0 -86
- package/lib/components-v1/buttonv2/index.js +0 -37
- package/lib/components-v1/buttonv2/style/style.js +0 -53
- package/lib/components-v1/buttonv2/style/theme.css +0 -3
- package/lib/components-v1/confirm/index.js +0 -158
- package/lib/pages/dynamic/index.css +0 -5
- package/lib/pages/dynamic/index.js +0 -25
- package/lib/pages/like-ranking/column.js +0 -141
- package/lib/pages/like-ranking/filter-buttons/department.js +0 -44
- package/lib/pages/like-ranking/filter-buttons/group.js +0 -34
- package/lib/pages/like-ranking/filter-buttons/index.css +0 -19
- package/lib/pages/like-ranking/filter-buttons/index.js +0 -44
- package/lib/pages/like-ranking/filter-buttons/modular.js +0 -110
- package/lib/pages/like-ranking/filter-buttons/name.js +0 -73
- package/lib/pages/like-ranking/filter-buttons/search-dropdown/index.css +0 -27
- package/lib/pages/like-ranking/filter-buttons/search-dropdown/index.js +0 -38
- package/lib/pages/like-ranking/filter-buttons/timer.js +0 -56
- package/lib/pages/like-ranking/image/dynamic-empty.png +0 -0
- package/lib/pages/like-ranking/image/loading.gif +0 -0
- package/lib/pages/like-ranking/image/ranking-1.png +0 -0
- package/lib/pages/like-ranking/image/ranking-2.png +0 -0
- package/lib/pages/like-ranking/image/ranking-3.png +0 -0
- package/lib/pages/like-ranking/index.css +0 -185
- package/lib/pages/like-ranking/index.js +0 -252
- package/lib/pages/like-ranking/mock.js +0 -366
- package/lib/pages/like-ranking/request-api.js +0 -15
- package/lib/utils/format-time.js +0 -161
- package/lib/utils/helpers.js +0 -41
- package/lib/utils/roundWeight.js +0 -105
- package/yarn-error.log +0 -15894
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
.titaui-dynamic-obj-status {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
width: 18px;
|
|
4
|
-
height: 18px;
|
|
5
|
-
min-width: 18px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.titaui-dynamic-obj-status--delay {
|
|
9
|
-
background: url("../../img/dynamic-delay.svg");
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.titaui-dynamic-obj-status--normal {
|
|
13
|
-
background: url("../../img/dynamic-normal.svg");
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.titaui-dynamic-obj-status--risk {
|
|
17
|
-
background: url("../../img/dynamic-risk.svg");
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.titaui-dynamic-obj-status--end {
|
|
21
|
-
background: url("../../img/dynamic-end.svg");
|
|
22
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
|
|
12
|
-
var _util = require("../../util");
|
|
13
|
-
|
|
14
|
-
require("./index.css");
|
|
15
|
-
|
|
16
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
18
|
-
var prefix = "titaui-dynamic-obj-status";
|
|
19
|
-
var StateIconMapping = {
|
|
20
|
-
delay: "".concat(prefix, "--delay"),
|
|
21
|
-
normal: "".concat(prefix, "--normal"),
|
|
22
|
-
risk: "".concat(prefix, "--risk"),
|
|
23
|
-
end: "".concat(prefix, "--end")
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
var DynamicObjStatus = function DynamicObjStatus(_ref) {
|
|
27
|
-
var _ref$oStatus = _ref.oStatus,
|
|
28
|
-
oStatus = _ref$oStatus === void 0 ? 1 : _ref$oStatus,
|
|
29
|
-
_ref$riskLevel = _ref.riskLevel,
|
|
30
|
-
riskLevel = _ref$riskLevel === void 0 ? 1 : _ref$riskLevel,
|
|
31
|
-
extraClass = _ref.extraClass;
|
|
32
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
33
|
-
className: (0, _classnames["default"])(extraClass, prefix, StateIconMapping[(0, _util.getProgressState)(oStatus, riskLevel)])
|
|
34
|
-
});
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
var _default = DynamicObjStatus;
|
|
38
|
-
exports["default"] = _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
.titaui-dynamic-percent {
|
|
2
|
-
font-size: 16px;
|
|
3
|
-
font-weight: 600;
|
|
4
|
-
color: #3f4755;
|
|
5
|
-
line-height: 24px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.titaui-dynamic-percent__grow {
|
|
9
|
-
font-size: 12px;
|
|
10
|
-
font-weight: 600;
|
|
11
|
-
line-height: 20px;
|
|
12
|
-
margin-left: 4px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.titaui-dynamic-percent__grow--increase {
|
|
16
|
-
color: #5ad8a6;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.titaui-dynamic-percent__grow--decrease {
|
|
20
|
-
color: #f05e5e;
|
|
21
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
-
|
|
12
|
-
require("./index.css");
|
|
13
|
-
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
15
|
-
|
|
16
|
-
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; }
|
|
17
|
-
|
|
18
|
-
var prefix = "titaui-dynamic-percent";
|
|
19
|
-
|
|
20
|
-
var DynamicPercent = function DynamicPercent(_ref) {
|
|
21
|
-
var _classNames;
|
|
22
|
-
|
|
23
|
-
var _ref$percent = _ref.percent,
|
|
24
|
-
percent = _ref$percent === void 0 ? 0 : _ref$percent,
|
|
25
|
-
_ref$growPercent = _ref.growPercent,
|
|
26
|
-
growPercent = _ref$growPercent === void 0 ? 0 : _ref$growPercent,
|
|
27
|
-
extraClass = _ref.extraClass;
|
|
28
|
-
return /*#__PURE__*/_react["default"].createElement("span", {
|
|
29
|
-
className: (0, _classnames["default"])(extraClass, prefix)
|
|
30
|
-
}, percent, "%", growPercent !== 0 && /*#__PURE__*/_react["default"].createElement("span", {
|
|
31
|
-
className: (0, _classnames["default"])(prefix + "__grow", (_classNames = {}, _defineProperty(_classNames, prefix + "__grow--increase", growPercent > 0), _defineProperty(_classNames, prefix + "__grow--decrease", growPercent < 0), _classNames))
|
|
32
|
-
}, /*#__PURE__*/_react["default"].createElement("i", {
|
|
33
|
-
className: growPercent > 0 ? "tu-icon-simple-sort-up" : "tu-icon-simple-sort-down"
|
|
34
|
-
}), Math.abs(growPercent), "%"));
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
var _default = DynamicPercent;
|
|
38
|
-
exports["default"] = _default;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
.titaui-dynamic-title {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
overflow: hidden;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
.titaui-dynamic-title__content {
|
|
7
|
-
display: flex;
|
|
8
|
-
height: 36px;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
background: #f6f7f9;
|
|
12
|
-
border-radius: 18px 18px 18px 1px;
|
|
13
|
-
word-break: keep-all;
|
|
14
|
-
white-space: nowrap;
|
|
15
|
-
padding: 7px 12px;
|
|
16
|
-
font-size: 14px;
|
|
17
|
-
line-height: 22px;
|
|
18
|
-
color: #3f4755;
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.titaui-dynamic-title__content-symbol {
|
|
23
|
-
color: #2879ff;
|
|
24
|
-
margin-right: 4px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.titaui-dynamic-title__content-text {
|
|
28
|
-
flex: 1;
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.titaui-dynamic-title__content-text:hover {
|
|
34
|
-
color: #2879ff !important;
|
|
35
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
4
|
-
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
|
-
var _tooltip = require("../../../tooltip");
|
|
13
|
-
|
|
14
|
-
var _searchKeyHandle = _interopRequireDefault(require("../../../search-key-handle"));
|
|
15
|
-
|
|
16
|
-
var _context = require("../../context");
|
|
17
|
-
|
|
18
|
-
require("./index.css");
|
|
19
|
-
|
|
20
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
|
-
|
|
22
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
23
|
-
|
|
24
|
-
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; }
|
|
25
|
-
|
|
26
|
-
var prefix = "titaui-dynamic-title";
|
|
27
|
-
|
|
28
|
-
var DynamicTitle = function DynamicTitle(_ref) {
|
|
29
|
-
var content = _ref.content,
|
|
30
|
-
onClickTitle = _ref.onClickTitle,
|
|
31
|
-
suffixContent = _ref.suffixContent;
|
|
32
|
-
|
|
33
|
-
var _useContext = (0, _react.useContext)(_context.SearchKeyContext),
|
|
34
|
-
searchKeyWord = _useContext.searchKeyWord;
|
|
35
|
-
|
|
36
|
-
var onTitleClick = function onTitleClick() {
|
|
37
|
-
onClickTitle && onClickTitle();
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
41
|
-
className: prefix
|
|
42
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
43
|
-
className: "".concat(prefix, "__content")
|
|
44
|
-
}, /*#__PURE__*/_react["default"].createElement("span", {
|
|
45
|
-
className: "".concat(prefix, "__content-symbol")
|
|
46
|
-
}, "#"), /*#__PURE__*/_react["default"].createElement("span", {
|
|
47
|
-
className: "".concat(prefix, "__content-text"),
|
|
48
|
-
onClick: onTitleClick
|
|
49
|
-
}, /*#__PURE__*/_react["default"].createElement(_tooltip.TooltipText, {
|
|
50
|
-
text: /*#__PURE__*/_react["default"].createElement(_searchKeyHandle["default"], {
|
|
51
|
-
str: content,
|
|
52
|
-
keyWord: searchKeyWord
|
|
53
|
-
}),
|
|
54
|
-
isPercent: true
|
|
55
|
-
})), suffixContent));
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
var _default = DynamicTitle;
|
|
59
|
-
exports["default"] = _default;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.EStatusStatus2ClassType = exports.ObjectType = exports.ObjTypeMapText = exports.EObjType = exports.EFeedType = exports.OkrRiskMapping = void 0;
|
|
7
|
-
|
|
8
|
-
var _ObjTypeMapText;
|
|
9
|
-
|
|
10
|
-
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; }
|
|
11
|
-
|
|
12
|
-
var OkrRiskMapping = {
|
|
13
|
-
0: 'normal',
|
|
14
|
-
// 正常推进
|
|
15
|
-
1: 'normal',
|
|
16
|
-
// 正常推进
|
|
17
|
-
2: 'risk',
|
|
18
|
-
// 注意风险
|
|
19
|
-
3: 'delay',
|
|
20
|
-
// 已有风险
|
|
21
|
-
4: 'end',
|
|
22
|
-
// kr及o全都完成
|
|
23
|
-
5: 'delay',
|
|
24
|
-
// 延期完成
|
|
25
|
-
6: 'normal' // 正常推进
|
|
26
|
-
|
|
27
|
-
};
|
|
28
|
-
exports.OkrRiskMapping = OkrRiskMapping;
|
|
29
|
-
var EFeedType;
|
|
30
|
-
exports.EFeedType = EFeedType;
|
|
31
|
-
|
|
32
|
-
(function (EFeedType) {
|
|
33
|
-
EFeedType[EFeedType["Unknow"] = 0] = "Unknow";
|
|
34
|
-
EFeedType[EFeedType["Share"] = 1] = "Share";
|
|
35
|
-
EFeedType[EFeedType["Plan"] = 4] = "Plan";
|
|
36
|
-
EFeedType[EFeedType["Report"] = 5] = "Report";
|
|
37
|
-
EFeedType[EFeedType["Assessment"] = 7] = "Assessment";
|
|
38
|
-
EFeedType[EFeedType["Project"] = 10] = "Project";
|
|
39
|
-
EFeedType[EFeedType["Reward"] = 11] = "Reward";
|
|
40
|
-
EFeedType[EFeedType["WorkHour"] = 13] = "WorkHour";
|
|
41
|
-
EFeedType[EFeedType["Bless"] = 14] = "Bless";
|
|
42
|
-
EFeedType[EFeedType["Kr"] = 15] = "Kr";
|
|
43
|
-
EFeedType[EFeedType["MileStone"] = 16] = "MileStone";
|
|
44
|
-
EFeedType[EFeedType["OkrEStatistics"] = 17] = "OkrEStatistics";
|
|
45
|
-
EFeedType[EFeedType["Reply"] = 18] = "Reply";
|
|
46
|
-
EFeedType[EFeedType["OkrCycle"] = 19] = "OkrCycle";
|
|
47
|
-
EFeedType[EFeedType["Task"] = 20] = "Task";
|
|
48
|
-
EFeedType[EFeedType["Progress"] = 21] = "Progress";
|
|
49
|
-
EFeedType[EFeedType["Align"] = 22] = "Align";
|
|
50
|
-
EFeedType[EFeedType["Relative"] = 23] = "Relative";
|
|
51
|
-
EFeedType[EFeedType["Announcement"] = 24] = "Announcement";
|
|
52
|
-
EFeedType[EFeedType["Signin"] = 80] = "Signin";
|
|
53
|
-
EFeedType[EFeedType["O"] = 101] = "O";
|
|
54
|
-
})(EFeedType || (exports.EFeedType = EFeedType = {}));
|
|
55
|
-
|
|
56
|
-
var EObjType;
|
|
57
|
-
exports.EObjType = EObjType;
|
|
58
|
-
|
|
59
|
-
(function (EObjType) {
|
|
60
|
-
EObjType[EObjType["Project"] = 4] = "Project";
|
|
61
|
-
EObjType[EObjType["Task"] = 7] = "Task";
|
|
62
|
-
EObjType[EObjType["O"] = 62] = "O";
|
|
63
|
-
EObjType[EObjType["Kr"] = 65] = "Kr";
|
|
64
|
-
EObjType[EObjType["Assess"] = 23] = "Assess";
|
|
65
|
-
EObjType[EObjType["MileStone"] = 27] = "MileStone";
|
|
66
|
-
})(EObjType || (exports.EObjType = EObjType = {}));
|
|
67
|
-
|
|
68
|
-
var ObjTypeMapText = (_ObjTypeMapText = {}, _defineProperty(_ObjTypeMapText, EObjType.Project, '项目'), _defineProperty(_ObjTypeMapText, EObjType.Task, '任务'), _defineProperty(_ObjTypeMapText, EObjType.O, '目标'), _defineProperty(_ObjTypeMapText, EObjType.Kr, '关键成果'), _defineProperty(_ObjTypeMapText, EObjType.MileStone, '里程碑'), _ObjTypeMapText);
|
|
69
|
-
exports.ObjTypeMapText = ObjTypeMapText;
|
|
70
|
-
var ObjectType = {
|
|
71
|
-
2: '租户',
|
|
72
|
-
3: '团队',
|
|
73
|
-
4: '项目',
|
|
74
|
-
5: '绩效考核表',
|
|
75
|
-
6: '绩效目标',
|
|
76
|
-
7: '任务',
|
|
77
|
-
8: '日报(总结)',
|
|
78
|
-
10: 'Feed',
|
|
79
|
-
11: '计划',
|
|
80
|
-
12: '计划表的操作记录',
|
|
81
|
-
62: '目标',
|
|
82
|
-
79: '关键成果进展',
|
|
83
|
-
80: '公告',
|
|
84
|
-
42: '打赏'
|
|
85
|
-
};
|
|
86
|
-
exports.ObjectType = ObjectType;
|
|
87
|
-
var EStatusStatus2ClassType = {
|
|
88
|
-
2: 'tu-icon-finished',
|
|
89
|
-
1: 'tu-icon-running',
|
|
90
|
-
4: 'tu-icon-canceled',
|
|
91
|
-
3: 'tu-icon-deferred',
|
|
92
|
-
6: 'tu-icon-paused',
|
|
93
|
-
0: 'tu-icon-notstart',
|
|
94
|
-
5: 'tu-icon-jiantou-right'
|
|
95
|
-
};
|
|
96
|
-
exports.EStatusStatus2ClassType = EStatusStatus2ClassType;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.SearchKeyContext = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = require("react");
|
|
9
|
-
|
|
10
|
-
var SearchKeyContext = /*#__PURE__*/(0, _react.createContext)({
|
|
11
|
-
searchKeyWord: ''
|
|
12
|
-
});
|
|
13
|
-
exports.SearchKeyContext = SearchKeyContext;
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
.titaui-dynamic-item-header {
|
|
2
|
-
display: flex;
|
|
3
|
-
justify-content: space-between;
|
|
4
|
-
align-items: center;
|
|
5
|
-
margin-bottom: 20px;
|
|
6
|
-
padding: 24px 0 0 20px;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.titaui-dynamic-item-header-left {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
flex: 1;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.titaui-dynamic-item-header-left .titaui-pc-avator-container {
|
|
17
|
-
display: inline-flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.titaui-dynamic-item-header-right {
|
|
22
|
-
font-size: 16px;
|
|
23
|
-
width: 24px;
|
|
24
|
-
height: 24px;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
justify-content: center;
|
|
28
|
-
transform: rotate(90deg);
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
border-radius: 4px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.titaui-dynamic-item-header-right:hover {
|
|
34
|
-
background: #f0f4fa;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.titaui-dynamic-item-header-desc {
|
|
38
|
-
flex: 1;
|
|
39
|
-
margin-left: 8px;
|
|
40
|
-
overflow: hidden;
|
|
41
|
-
display: flex;
|
|
42
|
-
flex-direction: column;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.titaui-dynamic-item-header-desc-title {
|
|
46
|
-
word-break: keep-all;
|
|
47
|
-
white-space: nowrap;
|
|
48
|
-
overflow: hidden;
|
|
49
|
-
text-overflow: ellipsis;
|
|
50
|
-
display: inline-flex;
|
|
51
|
-
align-items: center;
|
|
52
|
-
flex: 1;
|
|
53
|
-
margin-right: 60px;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.titaui-dynamic-item-header-desc-user {
|
|
57
|
-
font-size: 14px;
|
|
58
|
-
font-weight: 600;
|
|
59
|
-
color: #3f4755;
|
|
60
|
-
line-height: 22px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.titaui-dynamic-item-header-desc-user:hover {
|
|
64
|
-
cursor: pointer;
|
|
65
|
-
color: #2879ff;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.titaui-dynamic-item-header-desc-user--not-link:hover {
|
|
69
|
-
cursor: default !important;
|
|
70
|
-
color: #3f4755 !important;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.titaui-dynamic-item-header-desc-time {
|
|
74
|
-
font-size: 12px;
|
|
75
|
-
color: #89919f;
|
|
76
|
-
line-height: 18px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.titaui-dynamic-item-header-desc-avatar:hover {
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.titaui-dynamic-item-header-desc-avatar--not-link:hover {
|
|
84
|
-
cursor: default !important;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.titaui-dynamic-item-header__more-operate {
|
|
88
|
-
font-size: 14px;
|
|
89
|
-
color: #3F4755;
|
|
90
|
-
line-height: 22px;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.titaui-dynamic-item-header__more-operate-selection {
|
|
94
|
-
display: flex;
|
|
95
|
-
align-items: center;
|
|
96
|
-
height: 32px;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.titaui-dynamic-item-header__more-operate-selection-icon {
|
|
100
|
-
margin-right: 10px;
|
|
101
|
-
}
|