@cmstops/pro-compo 0.3.83 → 0.3.85
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/dist/index.css +40 -0
- package/dist/index.min.css +1 -1
- package/es/baseFilter/components/FilterGroup.js +1 -1
- package/es/baseFilter/useCalcWidth.d.ts +2 -2
- package/es/contentDetailList/components/Content/DocItem/index.js +12 -14
- package/es/contentDetailList/components/Content/LiveItem/index.js +5 -6
- package/es/contentDetailList/components/Content/courseItem/index.js +7 -8
- package/es/contentDetailList/components/Content/funhdItem/index.js +7 -8
- package/es/contentDetailList/components/Content/index.js +2 -2
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
- package/es/contentModal/component.js +53 -14
- package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/MediaFilter/index.js +128 -0
- package/es/contentModal/components/Dejin/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/index.js +236 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
- package/es/contentModal/components/storeBox/index.js +4 -4
- package/es/contentModal/script/api.d.ts +3 -0
- package/es/contentModal/script/api.js +22 -1
- package/es/dataTags/component.js +10 -10
- package/es/docHistory/component.js +2 -2
- package/es/docHistory/scripts/useDocHistory.d.ts +4 -4
- package/es/docPreview/component.js +47 -56
- package/es/docPreview/components/PreviewIframe.js +9 -10
- package/es/docPreview/scripts/hook.d.ts +16 -6
- package/es/editMetaInfo/component.js +35 -12
- package/es/editMetaInfo/components/metaInfoForm.js +4 -4
- package/es/emptyData/svg/acount.js +3 -5
- package/es/emptyData/svg/add.js +3 -5
- package/es/emptyData/svg/analize.js +3 -5
- package/es/emptyData/svg/analize_fail.js +3 -5
- package/es/emptyData/svg/empty.js +3 -5
- package/es/emptyData/svg/file.js +3 -5
- package/es/emptyData/svg/manager.js +3 -5
- package/es/emptyData/svg/message.js +14 -17
- package/es/emptyData/svg/noanalize.js +3 -5
- package/es/emptyData/svg/null.js +3 -5
- package/es/emptyData/svg/search.js +3 -5
- package/es/emptyData/svg/star.js +3 -5
- package/es/emptyData/svg/trash.js +3 -5
- package/es/emptyData/svg/user.js +3 -5
- package/es/hooks/batch.d.ts +1 -1
- package/es/hooks/dialogVisible.d.ts +1 -1
- package/es/hooks/source.d.ts +1 -1
- package/es/hooks/toggle.d.ts +1 -1
- package/es/hooks/useAttachement.d.ts +6 -6
- package/es/hooks/useMediaContext.d.ts +5 -5
- package/es/hooks/usePopper.d.ts +1 -1
- package/es/hooks/useSelection.d.ts +9 -2
- package/es/hooks/useUpload.d.ts +2 -2
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +4 -4
- package/es/importData/component.d.ts +0 -0
- package/es/importData/component.js +170 -0
- package/es/importData/index.d.ts +2 -0
- package/es/importData/index.js +7 -0
- package/es/importData/style/css.js +1 -0
- package/es/importData/style/index.css +40 -0
- package/es/importData/style/index.d.ts +1 -0
- package/es/importData/style/index.js +1 -0
- package/es/importData/style/index.less +48 -0
- package/es/index.css +40 -0
- package/es/index.d.ts +1 -0
- package/es/index.js +1 -0
- package/es/index.less +1 -0
- package/es/mediaFilter/components/DocFilter.js +1 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaView/component.js +3 -5
- package/es/messageBox/component.js +2 -2
- package/es/previousVersion/component.js +3 -4
- package/es/resourceGridList/component.js +15 -18
- package/es/resourceModal/component.js +2 -2
- package/es/resourceModal/components/MediaPreviewer/index.js +7 -10
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
- package/es/selectGategory/component.js +3 -4
- package/es/selectResourceModal/component.js +10 -10
- package/es/selectResourceModal/components/List/ListAi/index.js +7 -8
- package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -8
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
- package/es/selectResourceModal/components/List/ListSystem/index.js +1 -2
- package/es/selectResourceModal/scripts/useResourceSelect.d.ts +1 -1
- package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -1
- package/es/selectThumb/component.js +23 -28
- package/es/uploadBefore/components/UploadBefore.js +2 -2
- package/es/uploadBefore/script/uploadHooks.d.ts +42 -1
- package/es/userAvater/component.js +2 -2
- package/es/userDirector/component.js +2 -2
- package/es/utils/filter.d.ts +12 -0
- package/es/videoThumb/scripts/useVideoThumbs.d.ts +4 -4
- package/lib/baseFilter/components/FilterGroup.js +1 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +12 -14
- package/lib/contentDetailList/components/Content/LiveItem/index.js +5 -6
- package/lib/contentDetailList/components/Content/courseItem/index.js +7 -8
- package/lib/contentDetailList/components/Content/funhdItem/index.js +7 -8
- package/lib/contentDetailList/components/Content/index.js +2 -2
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
- package/lib/contentModal/component.js +53 -14
- package/lib/contentModal/components/Dejin/MediaFilter/index.js +129 -0
- package/lib/contentModal/components/Dejin/index.js +237 -0
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
- package/lib/contentModal/components/storeBox/index.js +4 -4
- package/lib/contentModal/script/api.js +24 -0
- package/lib/dataTags/component.js +10 -10
- package/lib/docHistory/component.js +2 -2
- package/lib/docPreview/component.js +47 -56
- package/lib/docPreview/components/PreviewIframe.js +9 -10
- package/lib/editMetaInfo/component.js +34 -11
- package/lib/editMetaInfo/components/metaInfoForm.js +4 -4
- package/lib/emptyData/svg/acount.js +3 -5
- package/lib/emptyData/svg/add.js +3 -5
- package/lib/emptyData/svg/analize.js +3 -5
- package/lib/emptyData/svg/analize_fail.js +3 -5
- package/lib/emptyData/svg/empty.js +3 -5
- package/lib/emptyData/svg/file.js +3 -5
- package/lib/emptyData/svg/manager.js +3 -5
- package/lib/emptyData/svg/message.js +14 -17
- package/lib/emptyData/svg/noanalize.js +3 -5
- package/lib/emptyData/svg/null.js +3 -5
- package/lib/emptyData/svg/search.js +3 -5
- package/lib/emptyData/svg/star.js +3 -5
- package/lib/emptyData/svg/trash.js +3 -5
- package/lib/emptyData/svg/user.js +3 -5
- package/lib/imageCrop/component.js +4 -4
- package/lib/importData/component.js +171 -0
- package/lib/importData/index.js +8 -0
- package/lib/importData/style/css.js +2 -0
- package/lib/importData/style/index.css +40 -0
- package/lib/importData/style/index.js +2 -0
- package/lib/importData/style/index.less +48 -0
- package/lib/index.css +40 -0
- package/lib/index.js +2 -0
- package/lib/index.less +1 -0
- package/lib/mediaFilter/components/DocFilter.js +1 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/mediaView/component.js +3 -5
- package/lib/messageBox/component.js +2 -2
- package/lib/previousVersion/component.js +3 -4
- package/lib/resourceGridList/component.js +15 -18
- package/lib/resourceModal/component.js +2 -2
- package/lib/resourceModal/components/MediaPreviewer/index.js +7 -10
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
- package/lib/selectGategory/component.js +3 -4
- package/lib/selectResourceModal/component.js +10 -10
- package/lib/selectResourceModal/components/List/ListAi/index.js +6 -7
- package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -8
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
- package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
- package/lib/selectResourceModal/components/List/ListSystem/index.js +1 -2
- package/lib/selectThumb/component.js +23 -28
- package/lib/uploadBefore/components/UploadBefore.js +2 -2
- package/lib/userAvater/component.js +2 -2
- package/lib/userDirector/component.js +2 -2
- package/package.json +1 -1
|
@@ -414,9 +414,9 @@ const _sfc_main = defineComponent({
|
|
|
414
414
|
size: "medium",
|
|
415
415
|
onClick: cancelDialog
|
|
416
416
|
}, {
|
|
417
|
-
default: withCtx(() => [
|
|
417
|
+
default: withCtx(() => _cache[5] || (_cache[5] = [
|
|
418
418
|
createTextVNode("\u53D6\u6D88")
|
|
419
|
-
]),
|
|
419
|
+
])),
|
|
420
420
|
_: 1
|
|
421
421
|
}),
|
|
422
422
|
withDirectives(createVNode(unref(Button), {
|
|
@@ -425,9 +425,9 @@ const _sfc_main = defineComponent({
|
|
|
425
425
|
loading: saveLoading.value,
|
|
426
426
|
onClick: save
|
|
427
427
|
}, {
|
|
428
|
-
default: withCtx(() => [
|
|
428
|
+
default: withCtx(() => _cache[6] || (_cache[6] = [
|
|
429
429
|
createTextVNode("\u88C1\u526A")
|
|
430
|
-
]),
|
|
430
|
+
])),
|
|
431
431
|
_: 1
|
|
432
432
|
}, 8, ["loading"]), [
|
|
433
433
|
[vShow, !croppering.value]
|
|
File without changes
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { defineComponent, computed, ref, openBlock, createBlock, unref, withCtx, createTextVNode, toDisplayString, createElementVNode, createVNode, createElementBlock, createCommentVNode } from "vue";
|
|
2
|
+
import { Modal, Link, Progress, Space, Upload, Button } from "@arco-design/web-vue";
|
|
3
|
+
const _hoisted_1 = { class: "memberImport-content" };
|
|
4
|
+
const _hoisted_2 = { style: { "margin-bottom": "24px" } };
|
|
5
|
+
const _hoisted_3 = { key: 0 };
|
|
6
|
+
const _hoisted_4 = { key: 0 };
|
|
7
|
+
const _hoisted_5 = { key: 1 };
|
|
8
|
+
const _sfc_main = defineComponent({
|
|
9
|
+
...{ name: "importData" },
|
|
10
|
+
__name: "component",
|
|
11
|
+
props: {
|
|
12
|
+
title: {},
|
|
13
|
+
visible: { type: Boolean },
|
|
14
|
+
uploadAction: {},
|
|
15
|
+
importTemplateUrl: {}
|
|
16
|
+
},
|
|
17
|
+
emits: [
|
|
18
|
+
"update:visible",
|
|
19
|
+
"uploadSuccess",
|
|
20
|
+
"uploadChange",
|
|
21
|
+
"importStart",
|
|
22
|
+
"callback"
|
|
23
|
+
],
|
|
24
|
+
setup(__props, { emit: __emit }) {
|
|
25
|
+
const props = __props;
|
|
26
|
+
const emit = __emit;
|
|
27
|
+
const diaVisible = computed({
|
|
28
|
+
get() {
|
|
29
|
+
return props.visible;
|
|
30
|
+
},
|
|
31
|
+
set(value) {
|
|
32
|
+
emit("update:visible", value);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
const importData = ref({});
|
|
36
|
+
const importErrorInfo = ref("");
|
|
37
|
+
const importStep = ref(0);
|
|
38
|
+
const fileUrl = ref("");
|
|
39
|
+
function uploadSuccess(e) {
|
|
40
|
+
const { response } = e;
|
|
41
|
+
fileUrl.value = response.message;
|
|
42
|
+
importStep.value = 1;
|
|
43
|
+
}
|
|
44
|
+
function uploadChange(e) {
|
|
45
|
+
if (!e[0]) {
|
|
46
|
+
importStep.value = 0;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
const importPercent = ref(0);
|
|
50
|
+
const importStart = async () => {
|
|
51
|
+
emit(
|
|
52
|
+
"importStart",
|
|
53
|
+
{ fileUrl: fileUrl.value },
|
|
54
|
+
(status, cbInfo) => {
|
|
55
|
+
if (status === "success") {
|
|
56
|
+
importData.value = cbInfo.message;
|
|
57
|
+
importErrorInfo.value = cbInfo.real_error;
|
|
58
|
+
importStep.value = 2;
|
|
59
|
+
importPercent.value = 0.3;
|
|
60
|
+
setTimeout(() => {
|
|
61
|
+
importPercent.value = 1;
|
|
62
|
+
}, 500);
|
|
63
|
+
} else {
|
|
64
|
+
importErrorInfo.value = cbInfo.real_error;
|
|
65
|
+
importStep.value = 2;
|
|
66
|
+
importPercent.value = 0.3;
|
|
67
|
+
setTimeout(() => {
|
|
68
|
+
importPercent.value = 1;
|
|
69
|
+
}, 500);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
};
|
|
74
|
+
function handleOk() {
|
|
75
|
+
emit("callback");
|
|
76
|
+
}
|
|
77
|
+
return (_ctx, _cache) => {
|
|
78
|
+
return openBlock(), createBlock(unref(Modal), {
|
|
79
|
+
visible: diaVisible.value,
|
|
80
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => diaVisible.value = $event),
|
|
81
|
+
"title-align": "start",
|
|
82
|
+
width: 680,
|
|
83
|
+
"modal-class": "memberImport",
|
|
84
|
+
"ok-text": "\u5B8C\u6210",
|
|
85
|
+
"hide-cancel": true,
|
|
86
|
+
footer: importPercent.value === 1 && !importErrorInfo.value,
|
|
87
|
+
onOk: handleOk
|
|
88
|
+
}, {
|
|
89
|
+
title: withCtx(() => [
|
|
90
|
+
createTextVNode(toDisplayString(_ctx.title || "\u5BFC\u5165\u6570\u636E"), 1)
|
|
91
|
+
]),
|
|
92
|
+
default: withCtx(() => {
|
|
93
|
+
var _a, _b;
|
|
94
|
+
return [
|
|
95
|
+
createElementVNode("div", _hoisted_1, [
|
|
96
|
+
_cache[5] || (_cache[5] = createElementVNode("h3", null, "\u4E0B\u8F7D\u5BFC\u5165\u6A21\u7248", -1)),
|
|
97
|
+
createElementVNode("p", _hoisted_2, [
|
|
98
|
+
_cache[2] || (_cache[2] = createTextVNode(" \u4E25\u683C\u6309\u7167\u6A21\u677F\u683C\u5F0F\u53CA\u5185\u5BB9\u51C6\u5907\u5BFC\u5165\u7684\u6570\u636E\u3002 ")),
|
|
99
|
+
createVNode(unref(Link), {
|
|
100
|
+
target: "_blank",
|
|
101
|
+
href: _ctx.importTemplateUrl
|
|
102
|
+
}, {
|
|
103
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
104
|
+
createTextVNode("\u4E0B\u8F7D\u6A21\u677F")
|
|
105
|
+
])),
|
|
106
|
+
_: 1
|
|
107
|
+
}, 8, ["href"])
|
|
108
|
+
]),
|
|
109
|
+
_cache[6] || (_cache[6] = createElementVNode("h3", null, "\u4E0A\u4F20\u6587\u4EF6", -1)),
|
|
110
|
+
_cache[7] || (_cache[7] = createElementVNode("p", null, "\u652F\u6301.xls\uFF0C.xlsx\u6587\u4EF6", -1)),
|
|
111
|
+
importStep.value === 2 ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
112
|
+
createVNode(unref(Progress), {
|
|
113
|
+
percent: importPercent.value,
|
|
114
|
+
animation: true,
|
|
115
|
+
style: { width: "100%" },
|
|
116
|
+
status: importErrorInfo.value && importPercent.value === 1 ? "danger" : importPercent.value === 1 ? "success" : "normal"
|
|
117
|
+
}, null, 8, ["percent", "status"]),
|
|
118
|
+
importPercent.value === 1 && ((_a = importData.value) == null ? void 0 : _a.success_count) !== void 0 ? (openBlock(), createElementBlock("p", _hoisted_4, [
|
|
119
|
+
createTextVNode(" \u5BFC\u5165\u5B8C\u6210\uFF0C\u6210\u529F\u5BFC\u5165 " + toDisplayString(importData.value.success_count) + " \u6761\u6570\u636E\uFF0C " + toDisplayString(importData.value.failed_count) + " \u6761\u6570\u636E\u5BFC\u5165\u5931\u8D25\u3002 ", 1),
|
|
120
|
+
createVNode(unref(Link), {
|
|
121
|
+
target: "_blank",
|
|
122
|
+
href: importData.value.result_url
|
|
123
|
+
}, {
|
|
124
|
+
default: withCtx(() => _cache[3] || (_cache[3] = [
|
|
125
|
+
createTextVNode(" \u4E0B\u8F7D\u5BFC\u5165\u7ED3\u679C ")
|
|
126
|
+
])),
|
|
127
|
+
_: 1
|
|
128
|
+
}, 8, ["href"])
|
|
129
|
+
])) : createCommentVNode("v-if", true),
|
|
130
|
+
importPercent.value === 1 && ((_b = importData.value) == null ? void 0 : _b.success_count) === void 0 ? (openBlock(), createElementBlock("p", _hoisted_5, " \u5BFC\u5165\u5931\u8D25\uFF0C" + toDisplayString(importErrorInfo.value), 1)) : createCommentVNode("v-if", true)
|
|
131
|
+
])) : createCommentVNode("v-if", true),
|
|
132
|
+
createVNode(unref(Space), {
|
|
133
|
+
size: 12,
|
|
134
|
+
direction: "vertical",
|
|
135
|
+
fill: ""
|
|
136
|
+
}, {
|
|
137
|
+
default: withCtx(() => [
|
|
138
|
+
importStep.value !== 2 ? (openBlock(), createBlock(unref(Upload), {
|
|
139
|
+
key: 0,
|
|
140
|
+
draggable: "",
|
|
141
|
+
"with-credentials": true,
|
|
142
|
+
limit: 1,
|
|
143
|
+
action: _ctx.uploadAction,
|
|
144
|
+
accept: ".xls,.xlsx",
|
|
145
|
+
onSuccess: uploadSuccess,
|
|
146
|
+
onChange: uploadChange
|
|
147
|
+
}, null, 8, ["action"])) : createCommentVNode("v-if", true),
|
|
148
|
+
importStep.value === 1 ? (openBlock(), createBlock(unref(Button), {
|
|
149
|
+
key: 1,
|
|
150
|
+
type: "primary",
|
|
151
|
+
class: "primary2",
|
|
152
|
+
onClick: importStart
|
|
153
|
+
}, {
|
|
154
|
+
default: withCtx(() => _cache[4] || (_cache[4] = [
|
|
155
|
+
createTextVNode("\u5F00\u59CB\u5BFC\u5165")
|
|
156
|
+
])),
|
|
157
|
+
_: 1
|
|
158
|
+
})) : createCommentVNode("v-if", true)
|
|
159
|
+
]),
|
|
160
|
+
_: 1
|
|
161
|
+
})
|
|
162
|
+
])
|
|
163
|
+
];
|
|
164
|
+
}),
|
|
165
|
+
_: 1
|
|
166
|
+
}, 8, ["visible", "footer"]);
|
|
167
|
+
};
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
export { _sfc_main as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.css";
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
.tooltip-button {
|
|
2
|
+
height: auto;
|
|
3
|
+
padding: 20px;
|
|
4
|
+
}
|
|
5
|
+
.memberImport .arco-transfer-view {
|
|
6
|
+
width: 265px;
|
|
7
|
+
}
|
|
8
|
+
.memberImport .arco-modal-body {
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
}
|
|
12
|
+
.memberImport .arco-modal-body .memberImport-content {
|
|
13
|
+
width: 100%;
|
|
14
|
+
min-height: 400px;
|
|
15
|
+
padding: 0 26px;
|
|
16
|
+
}
|
|
17
|
+
.memberImport .arco-modal-body .memberImport-content h3 {
|
|
18
|
+
color: var(---color-text-1, #1d2129);
|
|
19
|
+
font-weight: 500;
|
|
20
|
+
font-size: 14px;
|
|
21
|
+
/* 14/CN-Medium */
|
|
22
|
+
font-family: 'PingFang SC';
|
|
23
|
+
font-style: normal;
|
|
24
|
+
line-height: 22px;
|
|
25
|
+
/* 157.143% */
|
|
26
|
+
}
|
|
27
|
+
.memberImport .arco-modal-body .memberImport-content p {
|
|
28
|
+
color: var(---color-text-2, #4e5969);
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
/* 14/CN-Regular */
|
|
32
|
+
font-family: 'PingFang SC';
|
|
33
|
+
font-style: normal;
|
|
34
|
+
line-height: 22px;
|
|
35
|
+
/* 157.143% */
|
|
36
|
+
}
|
|
37
|
+
.memberImport .arco-modal-body .memberImport-content .primary2 {
|
|
38
|
+
color: var(---primary-6, #165dff);
|
|
39
|
+
background: var(---primary-1, #e8f3ff);
|
|
40
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './index.less';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./index.less";
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.tooltip-button {
|
|
2
|
+
height: auto;
|
|
3
|
+
padding: 20px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.memberImport {
|
|
7
|
+
.arco-transfer-view {
|
|
8
|
+
width: 265px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.arco-modal-body {
|
|
12
|
+
display: flex;
|
|
13
|
+
justify-content: center;
|
|
14
|
+
|
|
15
|
+
.memberImport-content {
|
|
16
|
+
width: 100%;
|
|
17
|
+
min-height: 400px;
|
|
18
|
+
padding: 0 26px;
|
|
19
|
+
|
|
20
|
+
h3 {
|
|
21
|
+
color: var(---color-text-1, #1d2129);
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
font-size: 14px;
|
|
24
|
+
|
|
25
|
+
/* 14/CN-Medium */
|
|
26
|
+
font-family: 'PingFang SC';
|
|
27
|
+
font-style: normal;
|
|
28
|
+
line-height: 22px; /* 157.143% */
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
p {
|
|
32
|
+
color: var(---color-text-2, #4e5969);
|
|
33
|
+
font-weight: 400;
|
|
34
|
+
font-size: 14px;
|
|
35
|
+
|
|
36
|
+
/* 14/CN-Regular */
|
|
37
|
+
font-family: 'PingFang SC';
|
|
38
|
+
font-style: normal;
|
|
39
|
+
line-height: 22px; /* 157.143% */
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.primary2 {
|
|
43
|
+
color: var(---primary-6, #165dff);
|
|
44
|
+
background: var(---primary-1, #e8f3ff);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
package/es/index.css
CHANGED
|
@@ -4987,3 +4987,43 @@
|
|
|
4987
4987
|
width: 100%;
|
|
4988
4988
|
height: 100%;
|
|
4989
4989
|
}
|
|
4990
|
+
.tooltip-button {
|
|
4991
|
+
height: auto;
|
|
4992
|
+
padding: 20px;
|
|
4993
|
+
}
|
|
4994
|
+
.memberImport .arco-transfer-view {
|
|
4995
|
+
width: 265px;
|
|
4996
|
+
}
|
|
4997
|
+
.memberImport .arco-modal-body {
|
|
4998
|
+
display: flex;
|
|
4999
|
+
justify-content: center;
|
|
5000
|
+
}
|
|
5001
|
+
.memberImport .arco-modal-body .memberImport-content {
|
|
5002
|
+
width: 100%;
|
|
5003
|
+
min-height: 400px;
|
|
5004
|
+
padding: 0 26px;
|
|
5005
|
+
}
|
|
5006
|
+
.memberImport .arco-modal-body .memberImport-content h3 {
|
|
5007
|
+
color: var(---color-text-1, #1d2129);
|
|
5008
|
+
font-weight: 500;
|
|
5009
|
+
font-size: 14px;
|
|
5010
|
+
/* 14/CN-Medium */
|
|
5011
|
+
font-family: 'PingFang SC';
|
|
5012
|
+
font-style: normal;
|
|
5013
|
+
line-height: 22px;
|
|
5014
|
+
/* 157.143% */
|
|
5015
|
+
}
|
|
5016
|
+
.memberImport .arco-modal-body .memberImport-content p {
|
|
5017
|
+
color: var(---color-text-2, #4e5969);
|
|
5018
|
+
font-weight: 400;
|
|
5019
|
+
font-size: 14px;
|
|
5020
|
+
/* 14/CN-Regular */
|
|
5021
|
+
font-family: 'PingFang SC';
|
|
5022
|
+
font-style: normal;
|
|
5023
|
+
line-height: 22px;
|
|
5024
|
+
/* 157.143% */
|
|
5025
|
+
}
|
|
5026
|
+
.memberImport .arco-modal-body .memberImport-content .primary2 {
|
|
5027
|
+
color: var(---primary-6, #165dff);
|
|
5028
|
+
background: var(---primary-1, #e8f3ff);
|
|
5029
|
+
}
|
package/es/index.d.ts
CHANGED
|
@@ -27,3 +27,4 @@ export { default as selectResourceModal } from './selectResourceModal';
|
|
|
27
27
|
export { default as docPreview } from './docPreview';
|
|
28
28
|
export { default as docHistory } from './docHistory';
|
|
29
29
|
export { default as videoThumb } from './videoThumb';
|
|
30
|
+
export { default as importData } from './importData';
|
package/es/index.js
CHANGED
|
@@ -27,3 +27,4 @@ export { default as selectResourceModal } from "./selectResourceModal/index.js";
|
|
|
27
27
|
export { default as docPreview } from "./docPreview/index.js";
|
|
28
28
|
export { default as docHistory } from "./docHistory/index.js";
|
|
29
29
|
export { default as videoThumb } from "./videoThumb/index.js";
|
|
30
|
+
export { default as importData } from "./importData/index.js";
|
package/es/index.less
CHANGED
|
@@ -182,7 +182,7 @@ const _sfc_main = defineComponent({
|
|
|
182
182
|
createVNode(unref(IconRefresh))
|
|
183
183
|
]),
|
|
184
184
|
default: withCtx(() => [
|
|
185
|
-
createTextVNode(" \u91CD\u7F6E ")
|
|
185
|
+
_cache[3] || (_cache[3] = createTextVNode(" \u91CD\u7F6E "))
|
|
186
186
|
]),
|
|
187
187
|
_: 1
|
|
188
188
|
})) : createCommentVNode("v-if", true)
|
|
@@ -146,7 +146,7 @@ const _sfc_main = defineComponent({
|
|
|
146
146
|
}, {
|
|
147
147
|
default: withCtx(() => [
|
|
148
148
|
createElementVNode("span", _hoisted_4, [
|
|
149
|
-
createTextVNode(" \u66F4\u591A\u7B5B\u9009 "),
|
|
149
|
+
_cache[0] || (_cache[0] = createTextVNode(" \u66F4\u591A\u7B5B\u9009 ")),
|
|
150
150
|
createVNode(unref(IconCaretDown))
|
|
151
151
|
])
|
|
152
152
|
]),
|
|
@@ -9,10 +9,6 @@ const _hoisted_5 = {
|
|
|
9
9
|
key: 2,
|
|
10
10
|
class: "other"
|
|
11
11
|
};
|
|
12
|
-
const _hoisted_6 = /* @__PURE__ */ createElementVNode("span", { class: "text" }, "\u6682\u4E0D\u652F\u6301\u8BE5\u7C7B\u578B\u6587\u4EF6\u9884\u89C8", -1);
|
|
13
|
-
const _hoisted_7 = [
|
|
14
|
-
_hoisted_6
|
|
15
|
-
];
|
|
16
12
|
const _sfc_main = defineComponent({
|
|
17
13
|
...{ name: "mediaView" },
|
|
18
14
|
__name: "component",
|
|
@@ -53,7 +49,9 @@ const _sfc_main = defineComponent({
|
|
|
53
49
|
class: "audio",
|
|
54
50
|
controls: "",
|
|
55
51
|
src: _ctx.url
|
|
56
|
-
}, null, 8, _hoisted_4)) : (openBlock(), createElementBlock("div", _hoisted_5,
|
|
52
|
+
}, null, 8, _hoisted_4)) : (openBlock(), createElementBlock("div", _hoisted_5, _cache[0] || (_cache[0] = [
|
|
53
|
+
createElementVNode("span", { class: "text" }, "\u6682\u4E0D\u652F\u6301\u8BE5\u7C7B\u578B\u6587\u4EF6\u9884\u89C8", -1)
|
|
54
|
+
])))
|
|
57
55
|
])
|
|
58
56
|
], 512), [
|
|
59
57
|
[vShow, _ctx.type !== "image"]
|
|
@@ -97,9 +97,9 @@ const _sfc_main = defineComponent({
|
|
|
97
97
|
createVNode(unref(Tabs), null, {
|
|
98
98
|
default: withCtx(() => [
|
|
99
99
|
withDirectives((openBlock(), createBlock(unref(TabPane), { key: "1" }, {
|
|
100
|
-
title: withCtx(() => [
|
|
100
|
+
title: withCtx(() => _cache[2] || (_cache[2] = [
|
|
101
101
|
createTextVNode("\u6D88\u606F")
|
|
102
|
-
]),
|
|
102
|
+
])),
|
|
103
103
|
default: withCtx(() => [
|
|
104
104
|
unreadMessages.value.length === 0 ? (openBlock(), createBlock(_sfc_main$1, {
|
|
105
105
|
key: 0,
|
|
@@ -24,8 +24,7 @@ const _hoisted_16 = {
|
|
|
24
24
|
key: 0,
|
|
25
25
|
class: "temp-view"
|
|
26
26
|
};
|
|
27
|
-
const _hoisted_17 =
|
|
28
|
-
const _hoisted_18 = { class: "select-ul" };
|
|
27
|
+
const _hoisted_17 = { class: "select-ul" };
|
|
29
28
|
const _sfc_main = defineComponent({
|
|
30
29
|
...{ name: "previousVersion" },
|
|
31
30
|
__name: "component",
|
|
@@ -347,8 +346,8 @@ const _sfc_main = defineComponent({
|
|
|
347
346
|
])
|
|
348
347
|
]),
|
|
349
348
|
selectList.length > 0 ? (openBlock(), createElementBlock("section", _hoisted_16, [
|
|
350
|
-
|
|
351
|
-
createElementVNode("div",
|
|
349
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "title" }, "\u5DF2\u9009\u62E9\uFF1A", -1)),
|
|
350
|
+
createElementVNode("div", _hoisted_17, [
|
|
352
351
|
(openBlock(true), createElementBlock(Fragment, null, renderList(selectList, (select) => {
|
|
353
352
|
return openBlock(), createElementBlock("div", {
|
|
354
353
|
key: select.list_id,
|
|
@@ -19,25 +19,18 @@ const _hoisted_8 = { class: "folder-more-wrap" };
|
|
|
19
19
|
const _hoisted_9 = { class: "file-list clearfix" };
|
|
20
20
|
const _hoisted_10 = ["onClick"];
|
|
21
21
|
const _hoisted_11 = { class: "menu-wrap" };
|
|
22
|
-
const _hoisted_12 =
|
|
23
|
-
/* @__PURE__ */ createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
|
|
24
|
-
], -1);
|
|
25
|
-
const _hoisted_13 = {
|
|
22
|
+
const _hoisted_12 = {
|
|
26
23
|
key: 1,
|
|
27
24
|
class: "load_more_title"
|
|
28
25
|
};
|
|
29
|
-
const
|
|
26
|
+
const _hoisted_13 = {
|
|
30
27
|
key: 1,
|
|
31
28
|
class: "nomore_tips"
|
|
32
29
|
};
|
|
33
|
-
const
|
|
30
|
+
const _hoisted_14 = {
|
|
34
31
|
key: 2,
|
|
35
32
|
class: "null-file"
|
|
36
33
|
};
|
|
37
|
-
const _hoisted_16 = /* @__PURE__ */ createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1);
|
|
38
|
-
const _hoisted_17 = [
|
|
39
|
-
_hoisted_16
|
|
40
|
-
];
|
|
41
34
|
const _sfc_main = defineComponent({
|
|
42
35
|
...{ name: "resourceGridList" },
|
|
43
36
|
__name: "component",
|
|
@@ -206,16 +199,18 @@ const _sfc_main = defineComponent({
|
|
|
206
199
|
effect: "dark",
|
|
207
200
|
placement: "bottom"
|
|
208
201
|
}, {
|
|
209
|
-
default: withCtx(() => [
|
|
210
|
-
|
|
211
|
-
|
|
202
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
203
|
+
createElementVNode("div", { class: "transcoding-in-progress grid-mode" }, [
|
|
204
|
+
createElementVNode("div", { class: "transcoding-progress" }, "\u8F6C\u7801\u4E2D\u2026")
|
|
205
|
+
], -1)
|
|
206
|
+
])),
|
|
212
207
|
_: 1
|
|
213
208
|
})) : createCommentVNode("v-if", true)
|
|
214
209
|
], 10, _hoisted_10)
|
|
215
210
|
]);
|
|
216
211
|
}), 128))
|
|
217
212
|
]),
|
|
218
|
-
_ctx.fileListCount ? (openBlock(), createElementBlock("div",
|
|
213
|
+
_ctx.fileListCount ? (openBlock(), createElementBlock("div", _hoisted_12, [
|
|
219
214
|
!_ctx.isOver ? (openBlock(), createBlock(unref(Button), {
|
|
220
215
|
key: 0,
|
|
221
216
|
class: "loadmore_tips",
|
|
@@ -223,13 +218,15 @@ const _sfc_main = defineComponent({
|
|
|
223
218
|
type: "text",
|
|
224
219
|
onClick: _loadFileMore
|
|
225
220
|
}, {
|
|
226
|
-
default: withCtx(() => [
|
|
221
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
227
222
|
createTextVNode("\u52A0\u8F7D\u66F4\u591A\u2026 ")
|
|
228
|
-
]),
|
|
223
|
+
])),
|
|
229
224
|
_: 1
|
|
230
|
-
})) : (openBlock(), createElementBlock("div",
|
|
225
|
+
})) : (openBlock(), createElementBlock("div", _hoisted_13, "\u6CA1\u6709\u66F4\u591A\u4E86\u2026"))
|
|
231
226
|
])) : createCommentVNode("v-if", true),
|
|
232
|
-
!((_d = _ctx.fileList) == null ? void 0 : _d.length) && !((_e = _ctx.folderList) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div",
|
|
227
|
+
!((_d = _ctx.fileList) == null ? void 0 : _d.length) && !((_e = _ctx.folderList) == null ? void 0 : _e.length) ? (openBlock(), createElementBlock("div", _hoisted_14, _cache[3] || (_cache[3] = [
|
|
228
|
+
createElementVNode("p", null, "\u6682\u65E0\u7D20\u6750", -1)
|
|
229
|
+
]))) : createCommentVNode("v-if", true)
|
|
233
230
|
])
|
|
234
231
|
];
|
|
235
232
|
}),
|
|
@@ -59,9 +59,9 @@ const _sfc_main = defineComponent({
|
|
|
59
59
|
onOk: handleOk,
|
|
60
60
|
onCancel: handleCancel
|
|
61
61
|
}, {
|
|
62
|
-
title: withCtx(() => [
|
|
62
|
+
title: withCtx(() => _cache[1] || (_cache[1] = [
|
|
63
63
|
createTextVNode("\u9009\u62E9\u7D20\u6750\u6765\u6E90")
|
|
64
|
-
]),
|
|
64
|
+
])),
|
|
65
65
|
default: withCtx(() => [
|
|
66
66
|
createVNode(_sfc_main$1, {
|
|
67
67
|
"selected-max": selectedMax.value,
|
|
@@ -10,15 +10,6 @@ const _hoisted_5 = {
|
|
|
10
10
|
key: 2,
|
|
11
11
|
class: "other"
|
|
12
12
|
};
|
|
13
|
-
const _hoisted_6 = /* @__PURE__ */ createElementVNode("img", {
|
|
14
|
-
src: _imports_0,
|
|
15
|
-
alt: ""
|
|
16
|
-
}, null, -1);
|
|
17
|
-
const _hoisted_7 = /* @__PURE__ */ createElementVNode("span", { class: "text" }, "\u6682\u4E0D\u652F\u6301\u8BE5\u7C7B\u578B\u6587\u4EF6\u9884\u89C8", -1);
|
|
18
|
-
const _hoisted_8 = [
|
|
19
|
-
_hoisted_6,
|
|
20
|
-
_hoisted_7
|
|
21
|
-
];
|
|
22
13
|
const _sfc_main = defineComponent({
|
|
23
14
|
__name: "index",
|
|
24
15
|
props: {
|
|
@@ -58,7 +49,13 @@ const _sfc_main = defineComponent({
|
|
|
58
49
|
class: "audio",
|
|
59
50
|
controls: "",
|
|
60
51
|
src: _ctx.url
|
|
61
|
-
}, null, 8, _hoisted_4)) : (openBlock(), createElementBlock("div", _hoisted_5,
|
|
52
|
+
}, null, 8, _hoisted_4)) : (openBlock(), createElementBlock("div", _hoisted_5, _cache[0] || (_cache[0] = [
|
|
53
|
+
createElementVNode("img", {
|
|
54
|
+
src: _imports_0,
|
|
55
|
+
alt: ""
|
|
56
|
+
}, null, -1),
|
|
57
|
+
createElementVNode("span", { class: "text" }, "\u6682\u4E0D\u652F\u6301\u8BE5\u7C7B\u578B\u6587\u4EF6\u9884\u89C8", -1)
|
|
58
|
+
])))
|
|
62
59
|
])
|
|
63
60
|
], 512), [
|
|
64
61
|
[vShow, _ctx.type !== "image"]
|
|
@@ -2,19 +2,14 @@ import { defineComponent, ref, openBlock, createElementBlock, createVNode, unref
|
|
|
2
2
|
import { Scrollbar } from "@arco-design/web-vue";
|
|
3
3
|
import _sfc_main$1 from "../MainContent/FileTypeThumb/index.js";
|
|
4
4
|
const _hoisted_1 = { class: "doc-ai-media-selected" };
|
|
5
|
-
const _hoisted_2 =
|
|
6
|
-
const _hoisted_3 = { class: "thumb-
|
|
7
|
-
const _hoisted_4 = {
|
|
8
|
-
const _hoisted_5 = {
|
|
5
|
+
const _hoisted_2 = { class: "thumb-list" };
|
|
6
|
+
const _hoisted_3 = { class: "thumb-item" };
|
|
7
|
+
const _hoisted_4 = {
|
|
9
8
|
key: 0,
|
|
10
9
|
class: "gif_covers"
|
|
11
10
|
};
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
style: { "margin-top": "0px" }
|
|
15
|
-
}, "\u5C01\u9762\u52A8\u56FE", -1);
|
|
16
|
-
const _hoisted_7 = { class: "thumb-list" };
|
|
17
|
-
const _hoisted_8 = { class: "thumb-item" };
|
|
11
|
+
const _hoisted_5 = { class: "thumb-list" };
|
|
12
|
+
const _hoisted_6 = { class: "thumb-item" };
|
|
18
13
|
const _sfc_main = defineComponent({
|
|
19
14
|
__name: "index",
|
|
20
15
|
props: {
|
|
@@ -37,14 +32,14 @@ const _sfc_main = defineComponent({
|
|
|
37
32
|
default: withCtx(() => {
|
|
38
33
|
var _a;
|
|
39
34
|
return [
|
|
40
|
-
|
|
41
|
-
createElementVNode("div",
|
|
35
|
+
_cache[1] || (_cache[1] = createElementVNode("div", { class: "thumb_type" }, "\u5C01\u9762\u56FE", -1)),
|
|
36
|
+
createElementVNode("div", _hoisted_2, [
|
|
42
37
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.ai_static_covers, (item) => {
|
|
43
38
|
return openBlock(), createElementBlock("div", {
|
|
44
39
|
key: item,
|
|
45
40
|
class: "thumb-wrap"
|
|
46
41
|
}, [
|
|
47
|
-
createElementVNode("div",
|
|
42
|
+
createElementVNode("div", _hoisted_3, [
|
|
48
43
|
createElementVNode("div", {
|
|
49
44
|
class: normalizeClass(["pic", { active: selectedUrl.value.includes(item) }])
|
|
50
45
|
}, [
|
|
@@ -64,15 +59,18 @@ const _sfc_main = defineComponent({
|
|
|
64
59
|
]);
|
|
65
60
|
}), 128))
|
|
66
61
|
]),
|
|
67
|
-
((_a = _ctx.ai_gif_covers) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div",
|
|
68
|
-
|
|
69
|
-
|
|
62
|
+
((_a = _ctx.ai_gif_covers) == null ? void 0 : _a.length) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
63
|
+
_cache[0] || (_cache[0] = createElementVNode("div", {
|
|
64
|
+
class: "thumb_type",
|
|
65
|
+
style: { "margin-top": "0px" }
|
|
66
|
+
}, "\u5C01\u9762\u52A8\u56FE", -1)),
|
|
67
|
+
createElementVNode("div", _hoisted_5, [
|
|
70
68
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.ai_gif_covers, (item) => {
|
|
71
69
|
return openBlock(), createElementBlock("div", {
|
|
72
70
|
key: item,
|
|
73
71
|
class: "thumb-wrap"
|
|
74
72
|
}, [
|
|
75
|
-
createElementVNode("div",
|
|
73
|
+
createElementVNode("div", _hoisted_6, [
|
|
76
74
|
createElementVNode("div", {
|
|
77
75
|
class: normalizeClass(["pic", { active: selectedUrl.value.includes(item) }])
|
|
78
76
|
}, [
|