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