@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,61 +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.SingleFile = exports["default"] = void 0;
|
|
9
|
-
|
|
10
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
|
-
var _singleFile = _interopRequireDefault(require("./components/single-file"));
|
|
13
|
-
|
|
14
|
-
var _imgViewer = _interopRequireDefault(require("../img-viewer"));
|
|
15
|
-
|
|
16
|
-
var _util = require("./util");
|
|
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-new-file-list";
|
|
27
|
-
|
|
28
|
-
var FileList = function FileList(_ref) {
|
|
29
|
-
var data = _ref.data,
|
|
30
|
-
_ref$showDownload = _ref.showDownload,
|
|
31
|
-
showDownload = _ref$showDownload === void 0 ? true : _ref$showDownload;
|
|
32
|
-
var imgViewerRef = (0, _react.useRef)();
|
|
33
|
-
|
|
34
|
-
var handleImgPreview = function handleImgPreview(index) {
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
imgViewerRef.current && imgViewerRef.current.show(index);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
40
|
-
className: prefix
|
|
41
|
-
}, data.map(function (file, index) {
|
|
42
|
-
return /*#__PURE__*/_react["default"].createElement(_singleFile["default"], {
|
|
43
|
-
key: file.documentSource + index,
|
|
44
|
-
data: file,
|
|
45
|
-
index: index,
|
|
46
|
-
showDownload: showDownload,
|
|
47
|
-
onPreview: handleImgPreview
|
|
48
|
-
});
|
|
49
|
-
}), /*#__PURE__*/_react["default"].createElement(_imgViewer["default"], {
|
|
50
|
-
showDownload: showDownload,
|
|
51
|
-
data: data.filter(function (file) {
|
|
52
|
-
return (0, _util.isImg)(file.fileType);
|
|
53
|
-
}),
|
|
54
|
-
ref: imgViewerRef
|
|
55
|
-
}));
|
|
56
|
-
};
|
|
57
|
-
|
|
58
|
-
var _default = FileList;
|
|
59
|
-
exports["default"] = _default;
|
|
60
|
-
var SingleFile = _singleFile["default"];
|
|
61
|
-
exports.SingleFile = SingleFile;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.isImg = exports.getFileTypeMapIcon = void 0;
|
|
7
|
-
|
|
8
|
-
var _newFileListDoc = _interopRequireDefault(require("./img/new-file-list-doc.svg"));
|
|
9
|
-
|
|
10
|
-
var _newFileListOther = _interopRequireDefault(require("./img/new-file-list-other.svg"));
|
|
11
|
-
|
|
12
|
-
var _newFileListPdf = _interopRequireDefault(require("./img/new-file-list-pdf.svg"));
|
|
13
|
-
|
|
14
|
-
var _newFileListPpt = _interopRequireDefault(require("./img/new-file-list-ppt.svg"));
|
|
15
|
-
|
|
16
|
-
var _newFileListRadio = _interopRequireDefault(require("./img/new-file-list-radio.svg"));
|
|
17
|
-
|
|
18
|
-
var _newFileListVideo = _interopRequireDefault(require("./img/new-file-list-video.svg"));
|
|
19
|
-
|
|
20
|
-
var _newFileListXls = _interopRequireDefault(require("./img/new-file-list-xls.svg"));
|
|
21
|
-
|
|
22
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
23
|
-
|
|
24
|
-
var getFileTypeMapIcon = function getFileTypeMapIcon(fileType) {
|
|
25
|
-
var isImg = false;
|
|
26
|
-
var backGroundColor = '';
|
|
27
|
-
var fileImg;
|
|
28
|
-
var canPreview = false;
|
|
29
|
-
|
|
30
|
-
if (/^(jpg|png|gif|jpeg|image|JPG|PNG|GIF|JPEG)$/.test(fileType)) {
|
|
31
|
-
isImg = true;
|
|
32
|
-
canPreview = true;
|
|
33
|
-
} else if (/^(mp3|ogg|ape|flac)$/.test(fileType.toLowerCase())) {
|
|
34
|
-
fileImg = _newFileListRadio["default"];
|
|
35
|
-
backGroundColor = '#FFE6FC';
|
|
36
|
-
} else if (/^(avi|wmv|mov|mp4|rmvb)$/.test(fileType.toLowerCase())) {
|
|
37
|
-
fileImg = _newFileListVideo["default"];
|
|
38
|
-
backGroundColor = '#F5E6FF';
|
|
39
|
-
} else if (/^(pptx|ppt)$/.test(fileType.toLowerCase())) {
|
|
40
|
-
fileImg = _newFileListPpt["default"];
|
|
41
|
-
backGroundColor = '#FFF5E6';
|
|
42
|
-
canPreview = true;
|
|
43
|
-
} else if (/^(doc|docx)$/.test(fileType.toLowerCase())) {
|
|
44
|
-
fileImg = _newFileListDoc["default"];
|
|
45
|
-
backGroundColor = '#E6F0FF';
|
|
46
|
-
canPreview = true;
|
|
47
|
-
} else if (/^(xls|xlsx)$/.test(fileType.toLowerCase())) {
|
|
48
|
-
fileImg = _newFileListXls["default"];
|
|
49
|
-
backGroundColor = '#E6FFF5';
|
|
50
|
-
canPreview = true;
|
|
51
|
-
} else if (/^(pdf)$/.test(fileType.toLowerCase())) {
|
|
52
|
-
fileImg = _newFileListPdf["default"];
|
|
53
|
-
backGroundColor = '#FFE7E6';
|
|
54
|
-
canPreview = true;
|
|
55
|
-
} else {
|
|
56
|
-
fileImg = _newFileListOther["default"];
|
|
57
|
-
backGroundColor = '#E6FCFF';
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
return {
|
|
61
|
-
isImg: isImg,
|
|
62
|
-
fileImg: fileImg,
|
|
63
|
-
backGroundColor: backGroundColor,
|
|
64
|
-
canPreview: canPreview
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
exports.getFileTypeMapIcon = getFileTypeMapIcon;
|
|
69
|
-
|
|
70
|
-
var isImg = function isImg(fileType) {
|
|
71
|
-
if (/^(jpg|png|gif|jpeg|image|JPG|PNG|GIF|JPEG)$/.test(fileType)) {
|
|
72
|
-
return true;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return false;
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
exports.isImg = isImg;
|
|
@@ -1,30 +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
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
|
-
var _default = function _default() {
|
|
13
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
14
|
-
width: "18px",
|
|
15
|
-
height: "18px",
|
|
16
|
-
viewBox: "0 0 18 18"
|
|
17
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
18
|
-
id: "APPgengduo",
|
|
19
|
-
stroke: "none",
|
|
20
|
-
"stroke-width": "1",
|
|
21
|
-
fill: "none",
|
|
22
|
-
"fill-rule": "evenodd"
|
|
23
|
-
}, /*#__PURE__*/_react["default"].createElement("path", {
|
|
24
|
-
d: "M9,0 C13.9705627,0 18,4.02943725 18,9 C18,13.9705627 13.9705627,18 9,18 C4.02943725,18 0,13.9705627 0,9 C0,4.02943725 4.02943725,0 9,0 Z M9,1.4 C4.8026359,1.4 1.4,4.8026359 1.4,9 C1.4,13.1973641 4.8026359,16.6 9,16.6 C13.1973641,16.6 16.6,13.1973641 16.6,9 C16.6,4.8026359 13.1973641,1.4 9,1.4 Z M9,5 C9.38659932,5 9.7,5.31340068 9.7,5.7 L9.7,8.3 L12.3,8.3 C12.6865993,8.3 13,8.61340068 13,9 C13,9.38659932 12.6865993,9.7 12.3,9.7 L9.7,9.7 L9.7,12.3 C9.7,12.6865993 9.38659932,13 9,13 C8.61340068,13 8.3,12.6865993 8.3,12.3 L8.3,9.7 L5.7,9.7 C5.31340068,9.7 5,9.38659932 5,9 C5,8.61340068 5.31340068,8.3 5.7,8.3 L8.3,8.3 L8.3,5.7 C8.3,5.31340068 8.61340068,5 9,5 Z",
|
|
25
|
-
fill: "currentColor",
|
|
26
|
-
"fill-rule": "nonzero"
|
|
27
|
-
})));
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
exports["default"] = _default;
|
|
@@ -1,46 +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
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
|
-
var _default = function _default() {
|
|
13
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
14
|
-
width: "18px",
|
|
15
|
-
height: "18px",
|
|
16
|
-
viewBox: "0 0 18 18"
|
|
17
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
18
|
-
id: "xuanzhan-ni",
|
|
19
|
-
stroke: "none",
|
|
20
|
-
"stroke-width": "1",
|
|
21
|
-
fill: "none",
|
|
22
|
-
"fill-rule": "evenodd"
|
|
23
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
24
|
-
"fill-rule": "nonzero"
|
|
25
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
26
|
-
transform: "translate(9.000000, 9.000000) scale(-1, 1) translate(-9.000000, -9.000000) "
|
|
27
|
-
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
28
|
-
id: "\u77E9\u5F62",
|
|
29
|
-
fill: "#000000",
|
|
30
|
-
opacity: "0",
|
|
31
|
-
x: "0",
|
|
32
|
-
y: "0",
|
|
33
|
-
width: "18",
|
|
34
|
-
height: "18"
|
|
35
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
36
|
-
d: "M15.9866683,5.44069564 C17.0912378,5.44069564 17.9866683,6.33612614 17.9866683,7.44069564 L17.9866683,15.3872174 C17.9866683,16.4917869 17.0912378,17.3872174 15.9866683,17.3872174 L5.19536392,17.3872174 C4.09079442,17.3872174 3.19536392,16.4917869 3.19536392,15.3872174 L3.19536392,7.44069564 C3.19536392,6.33612614 4.09079442,5.44069564 5.19536392,5.44069564 L15.9866683,5.44069564 Z M15.9866683,6.84069564 L5.19536392,6.84069564 C4.89713016,6.84069564 4.64971717,7.05828526 4.60321691,7.34337253 L4.59536392,7.44069564 L4.59536392,15.3872174 C4.59536392,15.6854512 4.81295353,15.9328641 5.0980408,15.9793644 L5.19536392,15.9872174 L15.9866683,15.9872174 C16.284902,15.9872174 16.532315,15.7696278 16.5788153,15.4845405 L16.5866683,15.3872174 L16.5866683,7.44069564 C16.5866683,7.14246188 16.3690786,6.89504889 16.0839914,6.84854863 L15.9866683,6.84069564 Z",
|
|
37
|
-
id: "\u8DEF\u5F84",
|
|
38
|
-
fill: "currentColor"
|
|
39
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
40
|
-
d: "M9.39323348,1.18095652 C9.57194871,1.18896141 9.74286623,1.25644698 9.87884218,1.37269564 L9.91797261,1.39930436 C9.93910305,1.41886956 9.9520161,1.44 9.96101608,1.45565218 C9.98253782,1.47365218 10.020103,1.52608697 10.0549291,1.58947826 C10.0846683,1.64269564 10.1077552,1.7021739 10.1265378,1.77339131 C10.1785546,1.97564758 10.146065,2.1903618 10.0365378,2.36817392 C10.0242234,2.39020742 10.0106351,2.4115044 9.99584218,2.43195652 C9.98341528,2.45870356 9.96676797,2.48327816 9.94653782,2.50473913 L8.48066498,4.05831999 C8.19044727,4.36590239 7.70619862,4.38104544 7.3973298,4.0921972 C7.0967167,3.81106957 7.06509502,3.34518596 7.32497982,3.02602946 C7.48131917,2.83401343 7.55062013,2.71605909 7.53288269,2.67216644 C4.05222321,3.26455307 2.08014652,5.19691305 1.54992913,7.77326087 C1.46131722,8.19573767 1.04834146,8.46750123 0.625276951,8.38173913 C0.202435134,8.29387903 -0.0697751816,7.88066517 0.0164073867,7.45747826 C0.858103049,3.37304348 4.36732044,1.02834782 9.39323348,1.18095652 Z",
|
|
41
|
-
id: "\u8DEF\u5F84",
|
|
42
|
-
fill: "currentColor"
|
|
43
|
-
})))));
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
exports["default"] = _default;
|
|
@@ -1,44 +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
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
|
-
var _default = function _default() {
|
|
13
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
14
|
-
width: "18px",
|
|
15
|
-
height: "18px",
|
|
16
|
-
viewBox: "0 0 18 18"
|
|
17
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
18
|
-
id: "xuanzhan-sh",
|
|
19
|
-
stroke: "none",
|
|
20
|
-
"stroke-width": "1",
|
|
21
|
-
fill: "none",
|
|
22
|
-
"fill-rule": "evenodd"
|
|
23
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
24
|
-
"fill-rule": "nonzero"
|
|
25
|
-
}, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
26
|
-
id: "\u77E9\u5F62",
|
|
27
|
-
fill: "#000000",
|
|
28
|
-
opacity: "0",
|
|
29
|
-
x: "0",
|
|
30
|
-
y: "0",
|
|
31
|
-
width: "18",
|
|
32
|
-
height: "18"
|
|
33
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
34
|
-
d: "M15.9866683,5.44069564 C17.0912378,5.44069564 17.9866683,6.33612614 17.9866683,7.44069564 L17.9866683,15.3872174 C17.9866683,16.4917869 17.0912378,17.3872174 15.9866683,17.3872174 L5.19536392,17.3872174 C4.09079442,17.3872174 3.19536392,16.4917869 3.19536392,15.3872174 L3.19536392,7.44069564 C3.19536392,6.33612614 4.09079442,5.44069564 5.19536392,5.44069564 L15.9866683,5.44069564 Z M15.9866683,6.84069564 L5.19536392,6.84069564 C4.89713016,6.84069564 4.64971717,7.05828526 4.60321691,7.34337253 L4.59536392,7.44069564 L4.59536392,15.3872174 C4.59536392,15.6854512 4.81295353,15.9328641 5.0980408,15.9793644 L5.19536392,15.9872174 L15.9866683,15.9872174 C16.284902,15.9872174 16.532315,15.7696278 16.5788153,15.4845405 L16.5866683,15.3872174 L16.5866683,7.44069564 C16.5866683,7.14246188 16.3690786,6.89504889 16.0839914,6.84854863 L15.9866683,6.84069564 Z",
|
|
35
|
-
id: "\u8DEF\u5F84",
|
|
36
|
-
fill: "currentColor"
|
|
37
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
38
|
-
d: "M9.39323348,1.18095652 C9.57194871,1.18896141 9.74286623,1.25644698 9.87884218,1.37269564 L9.91797261,1.39930436 C9.93910305,1.41886956 9.9520161,1.44 9.96101608,1.45565218 C9.98253782,1.47365218 10.020103,1.52608697 10.0549291,1.58947826 C10.0846683,1.64269564 10.1077552,1.7021739 10.1265378,1.77339131 C10.1785546,1.97564758 10.146065,2.1903618 10.0365378,2.36817392 C10.0242234,2.39020742 10.0106351,2.4115044 9.99584218,2.43195652 C9.98341528,2.45870356 9.96676797,2.48327816 9.94653782,2.50473913 L8.48066498,4.05831999 C8.19044727,4.36590239 7.70619862,4.38104544 7.3973298,4.0921972 C7.0967167,3.81106957 7.06509502,3.34518596 7.32497982,3.02602946 C7.48131917,2.83401343 7.55062013,2.71605909 7.53288269,2.67216644 C4.05222321,3.26455307 2.08014652,5.19691305 1.54992913,7.77326087 C1.46131722,8.19573767 1.04834146,8.46750123 0.625276951,8.38173913 C0.202435134,8.29387903 -0.0697751816,7.88066517 0.0164073867,7.45747826 C0.858103049,3.37304348 4.36732044,1.02834782 9.39323348,1.18095652 Z",
|
|
39
|
-
id: "\u8DEF\u5F84",
|
|
40
|
-
fill: "currentColor"
|
|
41
|
-
}))));
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
exports["default"] = _default;
|
|
@@ -1,37 +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
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
11
|
-
|
|
12
|
-
var _default = function _default() {
|
|
13
|
-
return /*#__PURE__*/_react["default"].createElement("svg", {
|
|
14
|
-
width: "18px",
|
|
15
|
-
height: "18px",
|
|
16
|
-
viewBox: "0 0 18 18"
|
|
17
|
-
}, /*#__PURE__*/_react["default"].createElement("g", {
|
|
18
|
-
id: "weikaishi",
|
|
19
|
-
stroke: "none",
|
|
20
|
-
"stroke-width": "1",
|
|
21
|
-
fill: "none",
|
|
22
|
-
"fill-rule": "evenodd"
|
|
23
|
-
}, /*#__PURE__*/_react["default"].createElement("g", null, /*#__PURE__*/_react["default"].createElement("rect", {
|
|
24
|
-
id: "Rectangle-3",
|
|
25
|
-
x: "0",
|
|
26
|
-
y: "0",
|
|
27
|
-
width: "18",
|
|
28
|
-
height: "18"
|
|
29
|
-
}), /*#__PURE__*/_react["default"].createElement("path", {
|
|
30
|
-
d: "M9,0 C13.9705627,0 18,4.02943725 18,9 C18,13.9705627 13.9705627,18 9,18 C4.02943725,18 0,13.9705627 0,9 C0,4.02943725 4.02943725,0 9,0 Z M9,1.4 C4.8026359,1.4 1.4,4.8026359 1.4,9 C1.4,13.1973641 4.8026359,16.6 9,16.6 C13.1973641,16.6 16.6,13.1973641 16.6,9 C16.6,4.8026359 13.1973641,1.4 9,1.4 Z M12.3,8.3 C12.6865993,8.3 13,8.61340068 13,9 C13,9.38659932 12.6865993,9.7 12.3,9.7 L5.7,9.7 C5.31340068,9.7 5,9.38659932 5,9 C5,8.61340068 5.31340068,8.3 5.7,8.3 L12.3,8.3 Z",
|
|
31
|
-
id: "\u5F62\u72B6\u7ED3\u5408",
|
|
32
|
-
fill: "currentColor",
|
|
33
|
-
"fill-rule": "nonzero"
|
|
34
|
-
}))));
|
|
35
|
-
};
|
|
36
|
-
|
|
37
|
-
exports["default"] = _default;
|
|
Binary file
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
.titaui-img-viewer {
|
|
2
|
-
font-family: -apple-system, Arial, Verdana, Helvetica Neue, Helvetica, sans-serif, PingFang SC, Microsoft YaHei;
|
|
3
|
-
user-select: none;
|
|
4
|
-
position: absolute;
|
|
5
|
-
top: 0;
|
|
6
|
-
bottom: 0;
|
|
7
|
-
left: 0;
|
|
8
|
-
right: 0;
|
|
9
|
-
z-index: 1300;
|
|
10
|
-
background: #ffffff;
|
|
11
|
-
display: flex;
|
|
12
|
-
flex-direction: column;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.titaui-img-viewer__header {
|
|
16
|
-
width: 100%;
|
|
17
|
-
height: 58px;
|
|
18
|
-
box-sizing: border-box;
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
justify-content: space-between;
|
|
22
|
-
box-shadow: 0px 0px 8px 0px rgba(127, 145, 180, 0.1);
|
|
23
|
-
word-break: keep-all;
|
|
24
|
-
white-space: nowrap;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.titaui-img-viewer__header-file-name {
|
|
28
|
-
font-size: 16px;
|
|
29
|
-
font-weight: 600;
|
|
30
|
-
color: #141c28;
|
|
31
|
-
line-height: 26px;
|
|
32
|
-
margin-left: 20px;
|
|
33
|
-
flex: 1;
|
|
34
|
-
overflow: hidden;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.titaui-img-viewer__header-download {
|
|
38
|
-
display: inline-flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
color: #141c28;
|
|
41
|
-
font-size: 16px;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
.titaui-img-viewer__header-download:hover {
|
|
45
|
-
color: #2879ff;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.titaui-img-viewer__header-download::after {
|
|
49
|
-
content: "";
|
|
50
|
-
display: inline-block;
|
|
51
|
-
width: 1px;
|
|
52
|
-
height: 22px;
|
|
53
|
-
background: linear-gradient(180deg, rgba(191, 199, 213, 0) 0%, #bfc7d5 51%, rgba(191, 199, 213, 0) 100%);
|
|
54
|
-
border-radius: 1px;
|
|
55
|
-
margin-left: 20px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.titaui-img-viewer__header-download-icon {
|
|
59
|
-
margin-right: 4px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.titaui-img-viewer__header-close {
|
|
63
|
-
color: #141c28;
|
|
64
|
-
font-weight: 600;
|
|
65
|
-
font-size: 16px;
|
|
66
|
-
margin: 0 16px;
|
|
67
|
-
cursor: pointer;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.titaui-img-viewer__body {
|
|
71
|
-
width: 100%;
|
|
72
|
-
flex: 1;
|
|
73
|
-
overflow: hidden;
|
|
74
|
-
display: flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
position: relative;
|
|
78
|
-
background: #f7f9fb;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.titaui-img-viewer__body-operate-btn {
|
|
82
|
-
position: absolute;
|
|
83
|
-
width: 48px;
|
|
84
|
-
height: 48px;
|
|
85
|
-
background: #ffffff;
|
|
86
|
-
box-shadow: 0px 4px 8px 0px rgba(127, 145, 180, 0.2);
|
|
87
|
-
border-radius: 24px;
|
|
88
|
-
z-index: 3;
|
|
89
|
-
display: flex;
|
|
90
|
-
align-items: center;
|
|
91
|
-
justify-content: center;
|
|
92
|
-
color: #141c28;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.titaui-img-viewer__body-operate-btn:hover {
|
|
96
|
-
cursor: pointer;
|
|
97
|
-
color: #2879ff;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.titaui-img-viewer__body-operate-btn--left {
|
|
101
|
-
left: 60px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.titaui-img-viewer__body-operate-btn--right {
|
|
105
|
-
right: 60px;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.titaui-img-viewer__body-operate-btn--disable {
|
|
109
|
-
color: #BFC7D5;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.titaui-img-viewer__body-operate-btn--disable:hover {
|
|
113
|
-
cursor: not-allowed;
|
|
114
|
-
color: #BFC7D5;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.titaui-img-viewer__body--loading {
|
|
118
|
-
position: absolute;
|
|
119
|
-
z-index: 2;
|
|
120
|
-
width: 100%;
|
|
121
|
-
height: 100%;
|
|
122
|
-
display: flex;
|
|
123
|
-
align-items: center;
|
|
124
|
-
justify-content: center;
|
|
125
|
-
background: #f7f9fb;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.titaui-img-viewer__footer {
|
|
129
|
-
position: absolute;
|
|
130
|
-
left: 50%;
|
|
131
|
-
transform: translateX(-50%);
|
|
132
|
-
bottom: 24px;
|
|
133
|
-
width: 216px;
|
|
134
|
-
height: 48px;
|
|
135
|
-
border-radius: 8px;
|
|
136
|
-
background: #ffffff;
|
|
137
|
-
box-shadow: 0px 4px 12px 0px rgba(127, 145, 180, 0.2);
|
|
138
|
-
display: flex;
|
|
139
|
-
align-items: center;
|
|
140
|
-
justify-content: center;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
.titaui-img-viewer__footer-btn {
|
|
144
|
-
display: flex;
|
|
145
|
-
align-items: center;
|
|
146
|
-
justify-content: center;
|
|
147
|
-
width: 48px;
|
|
148
|
-
height: 48px;
|
|
149
|
-
color: #141c28;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
.titaui-img-viewer__footer-btn:hover {
|
|
153
|
-
cursor: pointer;
|
|
154
|
-
color: #2879ff;
|
|
155
|
-
}
|