@cmstops/pro-compo 0.1.31 → 0.1.33
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 +190 -15
- package/dist/index.min.css +1 -1
- package/es/contentModal/component.js +35 -35
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +53 -22
- package/es/contentModal/components/ViewAllColumn/columnTree/index.js +67 -18
- package/es/contentModal/components/ViewAllColumn/index.js +91 -44
- package/es/contentModal/components/storeBox/index.js +6 -6
- package/es/contentModal/images/pic-thumb.js +2 -0
- package/es/contentModal/style/MediaFilter.less +35 -5
- package/es/contentModal/style/ViewAllColumn.less +11 -0
- package/es/contentModal/style/columnTree.less +25 -5
- package/es/contentModal/style/index.css +56 -11
- package/es/contentModal/style/storeBox.less +16 -6
- package/es/editMetaInfo/components/metaInfoForm.js +84 -81
- package/es/index.css +190 -15
- package/es/resourceModal/assets/images/sys_load_more.js +2 -0
- package/es/resourceModal/component.js +9 -2
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +1 -1
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +139 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +103 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +103 -0
- package/es/resourceModal/components/MediaSelection/index.js +16 -7
- package/es/resourceModal/script/api.d.ts +17 -0
- package/es/resourceModal/script/api.js +21 -1
- package/es/resourceModal/script/mediaSelection.d.ts +4 -0
- package/es/resourceModal/script/mediaSelection.js +8 -0
- package/es/resourceModal/style/DocAiMediaSelected.less +2 -3
- package/es/resourceModal/style/MainContent.less +5 -3
- package/es/resourceModal/style/SystemResourceSelected.less +138 -0
- package/es/resourceModal/style/ToolbarSearch.less +13 -0
- package/es/resourceModal/style/index.css +135 -5
- package/es/resourceModal/style/index.less +1 -0
- package/es/selectThumb/component.js +6 -2
- package/lib/contentModal/component.js +35 -35
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +51 -20
- package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +65 -16
- package/lib/contentModal/components/ViewAllColumn/index.js +90 -43
- package/lib/contentModal/components/storeBox/index.js +6 -6
- package/lib/contentModal/images/pic-thumb.js +3 -0
- package/lib/contentModal/style/MediaFilter.less +35 -5
- package/lib/contentModal/style/ViewAllColumn.less +11 -0
- package/lib/contentModal/style/columnTree.less +25 -5
- package/lib/contentModal/style/index.css +56 -11
- package/lib/contentModal/style/storeBox.less +16 -6
- package/lib/editMetaInfo/components/metaInfoForm.js +83 -80
- package/lib/index.css +190 -15
- package/lib/resourceModal/assets/images/sys_load_more.js +3 -0
- package/lib/resourceModal/component.js +8 -1
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +2 -2
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +140 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +104 -0
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +104 -0
- package/lib/resourceModal/components/MediaSelection/index.js +15 -6
- package/lib/resourceModal/script/api.js +23 -0
- package/lib/resourceModal/script/mediaSelection.js +10 -0
- package/lib/resourceModal/style/DocAiMediaSelected.less +2 -3
- package/lib/resourceModal/style/MainContent.less +5 -3
- package/lib/resourceModal/style/SystemResourceSelected.less +138 -0
- package/lib/resourceModal/style/ToolbarSearch.less +13 -0
- package/lib/resourceModal/style/index.css +135 -5
- package/lib/resourceModal/style/index.less +1 -0
- package/lib/selectThumb/component.js +5 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, onMounted, openBlock, createBlock, unref, withCtx, createVNode, withDirectives, vShow, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString,
|
|
1
|
+
import { defineComponent, ref, computed, watch, onMounted, openBlock, createBlock, unref, withCtx, createVNode, withDirectives, vShow, createElementBlock, Fragment, renderList, createCommentVNode, createTextVNode, toDisplayString, toRaw } from "vue";
|
|
2
2
|
import { Form, FormItem, Input, InputTag, Select, Option, DatePicker, Switch, InputNumber, RadioGroup, Radio, Message } from "@arco-design/web-vue";
|
|
3
3
|
import { IconInfoCircle } from "@arco-design/web-vue/es/icon";
|
|
4
4
|
import { docSeries } from "../../utils/doc.js";
|
|
@@ -158,10 +158,10 @@ const _sfc_main = defineComponent({
|
|
|
158
158
|
data.duty_editor = data.duty_editor && data.duty_editor.join(",");
|
|
159
159
|
data.extra_attrs = data.extra_attrs && data.extra_attrs.join(",");
|
|
160
160
|
data.relation_news = data.relation_news && JSON.stringify(data.relation_news);
|
|
161
|
-
data.comment_available = data.comment_available
|
|
162
|
-
data.statement = data.statement
|
|
163
|
-
data.is_recommend = data.is_recommend
|
|
164
|
-
data.album_status = data.album_status
|
|
161
|
+
data.comment_available = !!data.comment_available;
|
|
162
|
+
data.statement = !!data.statement;
|
|
163
|
+
data.is_recommend = !!data.is_recommend;
|
|
164
|
+
data.album_status = !!data.album_status;
|
|
165
165
|
delete data.line_time;
|
|
166
166
|
delete data.ori_count;
|
|
167
167
|
delete data.aiRelated;
|
|
@@ -239,9 +239,9 @@ const _sfc_main = defineComponent({
|
|
|
239
239
|
return openBlock(), createBlock(unref(Form), {
|
|
240
240
|
ref_key: "metaInfoFormRef",
|
|
241
241
|
ref: metaInfoFormRef,
|
|
242
|
+
model: form.value,
|
|
242
243
|
rules,
|
|
243
|
-
class: "meta-info-form"
|
|
244
|
-
model: form.value
|
|
244
|
+
class: "meta-info-form"
|
|
245
245
|
}, {
|
|
246
246
|
default: withCtx(() => [
|
|
247
247
|
createVNode(unref(FormItem), {
|
|
@@ -253,27 +253,27 @@ const _sfc_main = defineComponent({
|
|
|
253
253
|
createVNode(unref(Input), {
|
|
254
254
|
modelValue: form.value.title,
|
|
255
255
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => form.value.title = $event),
|
|
256
|
+
"allow-clear": "",
|
|
256
257
|
class: "input-w",
|
|
257
|
-
placeholder: "\u4E3B\u6807\u9898",
|
|
258
258
|
"max-length": "100",
|
|
259
|
-
|
|
259
|
+
placeholder: "\u4E3B\u6807\u9898"
|
|
260
260
|
}, null, 8, ["modelValue"])
|
|
261
261
|
]),
|
|
262
262
|
_: 1
|
|
263
263
|
}),
|
|
264
264
|
withDirectives(createVNode(unref(FormItem), {
|
|
265
265
|
key: "brief",
|
|
266
|
-
|
|
267
|
-
|
|
266
|
+
label: `${docBrief.value}\u63CF\u8FF0`,
|
|
267
|
+
field: "brief"
|
|
268
268
|
}, {
|
|
269
269
|
default: withCtx(() => [
|
|
270
270
|
createVNode(unref(Input), {
|
|
271
271
|
modelValue: form.value.brief,
|
|
272
272
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => form.value.brief = $event),
|
|
273
|
-
class: "input-w",
|
|
274
273
|
placeholder: `\u586B\u5199${docBrief.value}\u63CF\u8FF0`,
|
|
275
|
-
"
|
|
276
|
-
|
|
274
|
+
"allow-clear": "",
|
|
275
|
+
class: "input-w",
|
|
276
|
+
"max-length": "300"
|
|
277
277
|
}, null, 8, ["modelValue", "placeholder"])
|
|
278
278
|
]),
|
|
279
279
|
_: 1
|
|
@@ -282,14 +282,15 @@ const _sfc_main = defineComponent({
|
|
|
282
282
|
]),
|
|
283
283
|
createVNode(unref(FormItem), {
|
|
284
284
|
key: "style",
|
|
285
|
+
"content-class": "style-form-item",
|
|
285
286
|
field: "style",
|
|
286
|
-
"hide-label": ""
|
|
287
|
-
"content-class": "style-form-item"
|
|
287
|
+
"hide-label": ""
|
|
288
288
|
}, {
|
|
289
289
|
default: withCtx(() => [
|
|
290
290
|
createVNode(_sfc_main$1, {
|
|
291
291
|
dataValue: form.value.style,
|
|
292
292
|
"onUpdate:dataValue": _cache[2] || (_cache[2] = ($event) => form.value.style = $event),
|
|
293
|
+
"media-use-type": 1,
|
|
293
294
|
series: series.value,
|
|
294
295
|
class: "select-thumb-wrap",
|
|
295
296
|
mode: "doc"
|
|
@@ -306,9 +307,9 @@ const _sfc_main = defineComponent({
|
|
|
306
307
|
createVNode(unref(Input), {
|
|
307
308
|
modelValue: form.value.sub_title,
|
|
308
309
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => form.value.sub_title = $event),
|
|
310
|
+
"allow-clear": "",
|
|
309
311
|
class: "input-w",
|
|
310
|
-
placeholder: "\u586B\u5199\u526F\u6807\u9898"
|
|
311
|
-
"allow-clear": ""
|
|
312
|
+
placeholder: "\u586B\u5199\u526F\u6807\u9898"
|
|
312
313
|
}, null, 8, ["modelValue"])
|
|
313
314
|
]),
|
|
314
315
|
_: 1
|
|
@@ -322,9 +323,9 @@ const _sfc_main = defineComponent({
|
|
|
322
323
|
createVNode(unref(Input), {
|
|
323
324
|
modelValue: form.value.head_title,
|
|
324
325
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => form.value.head_title = $event),
|
|
326
|
+
"allow-clear": "",
|
|
325
327
|
class: "input-w",
|
|
326
|
-
placeholder: "\u586B\u5199\u5F15\u6807\u9898"
|
|
327
|
-
"allow-clear": ""
|
|
328
|
+
placeholder: "\u586B\u5199\u5F15\u6807\u9898"
|
|
328
329
|
}, null, 8, ["modelValue"])
|
|
329
330
|
]),
|
|
330
331
|
_: 1
|
|
@@ -338,9 +339,9 @@ const _sfc_main = defineComponent({
|
|
|
338
339
|
createVNode(unref(Input), {
|
|
339
340
|
modelValue: form.value.summary,
|
|
340
341
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => form.value.summary = $event),
|
|
342
|
+
"allow-clear": "",
|
|
341
343
|
class: "input-w",
|
|
342
|
-
placeholder: "\u586B\u5199\u6458\u8981"
|
|
343
|
-
"allow-clear": ""
|
|
344
|
+
placeholder: "\u586B\u5199\u6458\u8981"
|
|
344
345
|
}, null, 8, ["modelValue"])
|
|
345
346
|
]),
|
|
346
347
|
_: 1
|
|
@@ -354,9 +355,9 @@ const _sfc_main = defineComponent({
|
|
|
354
355
|
createVNode(unref(Input), {
|
|
355
356
|
modelValue: form.value.guide,
|
|
356
357
|
"onUpdate:modelValue": _cache[6] || (_cache[6] = ($event) => form.value.guide = $event),
|
|
358
|
+
"allow-clear": "",
|
|
357
359
|
class: "input-w",
|
|
358
|
-
placeholder: "\u586B\u5199\u5BFC\u8BFB"
|
|
359
|
-
"allow-clear": ""
|
|
360
|
+
placeholder: "\u586B\u5199\u5BFC\u8BFB"
|
|
360
361
|
}, null, 8, ["modelValue"])
|
|
361
362
|
]),
|
|
362
363
|
_: 1
|
|
@@ -370,9 +371,9 @@ const _sfc_main = defineComponent({
|
|
|
370
371
|
createVNode(unref(InputTag), {
|
|
371
372
|
modelValue: form.value.keywords,
|
|
372
373
|
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => form.value.keywords = $event),
|
|
374
|
+
"allow-clear": "",
|
|
373
375
|
class: "input-w",
|
|
374
|
-
placeholder: "\u8BBE\u7F6E\u5173\u952E\u8BCD"
|
|
375
|
-
"allow-clear": ""
|
|
376
|
+
placeholder: "\u8BBE\u7F6E\u5173\u952E\u8BCD"
|
|
376
377
|
}, null, 8, ["modelValue"])
|
|
377
378
|
]),
|
|
378
379
|
_: 1
|
|
@@ -393,9 +394,9 @@ const _sfc_main = defineComponent({
|
|
|
393
394
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(SourceInfo), (item) => {
|
|
394
395
|
return openBlock(), createBlock(unref(Option), {
|
|
395
396
|
key: item.value,
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
}, null, 8, ["
|
|
397
|
+
label: item.value,
|
|
398
|
+
value: item.value
|
|
399
|
+
}, null, 8, ["label", "value"]);
|
|
399
400
|
}), 128))
|
|
400
401
|
]),
|
|
401
402
|
_: 1
|
|
@@ -412,9 +413,9 @@ const _sfc_main = defineComponent({
|
|
|
412
413
|
createVNode(unref(Input), {
|
|
413
414
|
modelValue: form.value.source_url,
|
|
414
415
|
"onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => form.value.source_url = $event),
|
|
416
|
+
"allow-clear": "",
|
|
415
417
|
class: "input-w",
|
|
416
|
-
placeholder: "\u586B\u5199\u6765\u6E90URL"
|
|
417
|
-
"allow-clear": ""
|
|
418
|
+
placeholder: "\u586B\u5199\u6765\u6E90URL"
|
|
418
419
|
}, null, 8, ["modelValue"])
|
|
419
420
|
]),
|
|
420
421
|
_: 1
|
|
@@ -428,9 +429,9 @@ const _sfc_main = defineComponent({
|
|
|
428
429
|
createVNode(unref(Input), {
|
|
429
430
|
modelValue: form.value.author,
|
|
430
431
|
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => form.value.author = $event),
|
|
432
|
+
"allow-clear": "",
|
|
431
433
|
class: "input-w",
|
|
432
|
-
placeholder: "\u586B\u5199\u4F5C\u8005"
|
|
433
|
-
"allow-clear": ""
|
|
434
|
+
placeholder: "\u586B\u5199\u4F5C\u8005"
|
|
434
435
|
}, null, 8, ["modelValue"])
|
|
435
436
|
]),
|
|
436
437
|
_: 1
|
|
@@ -444,17 +445,17 @@ const _sfc_main = defineComponent({
|
|
|
444
445
|
createVNode(unref(Select), {
|
|
445
446
|
modelValue: form.value.duty_editor,
|
|
446
447
|
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => form.value.duty_editor = $event),
|
|
447
|
-
multiple: "",
|
|
448
448
|
class: "input-w",
|
|
449
|
+
multiple: "",
|
|
449
450
|
placeholder: "\u8BBE\u7F6E\u7F16\u8F91"
|
|
450
451
|
}, {
|
|
451
452
|
default: withCtx(() => [
|
|
452
453
|
(openBlock(true), createElementBlock(Fragment, null, renderList(dutyEditorOptions.value, (item) => {
|
|
453
454
|
return openBlock(), createBlock(unref(Option), {
|
|
454
455
|
key: item.value,
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
}, null, 8, ["
|
|
456
|
+
label: item.label,
|
|
457
|
+
value: item.value
|
|
458
|
+
}, null, 8, ["label", "value"]);
|
|
458
459
|
}), 128))
|
|
459
460
|
]),
|
|
460
461
|
_: 1
|
|
@@ -471,9 +472,9 @@ const _sfc_main = defineComponent({
|
|
|
471
472
|
createVNode(unref(InputTag), {
|
|
472
473
|
modelValue: form.value.extra_attrs,
|
|
473
474
|
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => form.value.extra_attrs = $event),
|
|
475
|
+
"allow-clear": "",
|
|
474
476
|
class: "input-w",
|
|
475
|
-
placeholder: "\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u5C5E\u6027"
|
|
476
|
-
"allow-clear": ""
|
|
477
|
+
placeholder: "\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u5C5E\u6027"
|
|
477
478
|
}, null, 8, ["modelValue"])
|
|
478
479
|
]),
|
|
479
480
|
_: 1
|
|
@@ -488,9 +489,9 @@ const _sfc_main = defineComponent({
|
|
|
488
489
|
createVNode(unref(DatePicker), {
|
|
489
490
|
modelValue: form.value.self_publish_time,
|
|
490
491
|
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => form.value.self_publish_time = $event),
|
|
491
|
-
"show-time": "",
|
|
492
|
-
placeholder: "\u9009\u62E9\u81EA\u5B9A\u4E49\u53D1\u5E03\u65F6\u95F4",
|
|
493
492
|
"time-picker-props": { defaultValue: "12:00:00" },
|
|
493
|
+
placeholder: "\u9009\u62E9\u81EA\u5B9A\u4E49\u53D1\u5E03\u65F6\u95F4",
|
|
494
|
+
"show-time": "",
|
|
494
495
|
"value-format": "timestamp"
|
|
495
496
|
}, null, 8, ["modelValue"])
|
|
496
497
|
]),
|
|
@@ -511,44 +512,46 @@ const _sfc_main = defineComponent({
|
|
|
511
512
|
]),
|
|
512
513
|
_: 1
|
|
513
514
|
}),
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
515
|
+
form.value.line_time ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
516
|
+
createVNode(unref(FormItem), {
|
|
517
|
+
key: "online_time",
|
|
518
|
+
class: "horizontal",
|
|
519
|
+
field: "online_time",
|
|
520
|
+
label: "\u4E0A\u7EBF\u65F6\u95F4"
|
|
521
|
+
}, {
|
|
522
|
+
default: withCtx(() => [
|
|
523
|
+
createVNode(unref(DatePicker), {
|
|
524
|
+
modelValue: form.value.online_time,
|
|
525
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => form.value.online_time = $event),
|
|
526
|
+
"disabled-date": disabledStartTime,
|
|
527
|
+
"time-picker-props": { defaultValue: "12:00:00" },
|
|
528
|
+
placeholder: "\u9009\u62E9\u4E0A\u7EBF\u65F6\u95F4",
|
|
529
|
+
"show-time": "",
|
|
530
|
+
"value-format": "timestamp"
|
|
531
|
+
}, null, 8, ["modelValue"])
|
|
532
|
+
]),
|
|
533
|
+
_: 1
|
|
534
|
+
}),
|
|
535
|
+
createVNode(unref(FormItem), {
|
|
536
|
+
key: "offline_time",
|
|
537
|
+
class: "horizontal",
|
|
538
|
+
field: "offline_time",
|
|
539
|
+
label: "\u4E0B\u7EBF\u65F6\u95F4"
|
|
540
|
+
}, {
|
|
541
|
+
default: withCtx(() => [
|
|
542
|
+
createVNode(unref(DatePicker), {
|
|
543
|
+
modelValue: form.value.offline_time,
|
|
544
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => form.value.offline_time = $event),
|
|
545
|
+
"disabled-date": disabledEndTime,
|
|
546
|
+
"time-picker-props": { defaultValue: "12:00:00" },
|
|
547
|
+
placeholder: "\u9009\u62E9\u4E0B\u7EBF\u65F6\u95F4",
|
|
548
|
+
"show-time": "",
|
|
549
|
+
"value-format": "timestamp"
|
|
550
|
+
}, null, 8, ["modelValue"])
|
|
551
|
+
]),
|
|
552
|
+
_: 1
|
|
553
|
+
})
|
|
554
|
+
], 64)) : createCommentVNode("v-if", true),
|
|
552
555
|
createVNode(unref(FormItem), {
|
|
553
556
|
key: "statement",
|
|
554
557
|
class: "horizontal",
|
|
@@ -688,10 +691,10 @@ const _sfc_main = defineComponent({
|
|
|
688
691
|
}, 8, ["modelValue"]),
|
|
689
692
|
form.value.mourn_style == 1 ? (openBlock(), createElementBlock("p", _hoisted_2, [
|
|
690
693
|
createVNode(unref(IconInfoCircle)),
|
|
691
|
-
createTextVNode(toDisplayString(tips.value[0]), 1)
|
|
694
|
+
createTextVNode(" " + toDisplayString(tips.value[0]), 1)
|
|
692
695
|
])) : form.value.mourn_style == 2 ? (openBlock(), createElementBlock("p", _hoisted_3, [
|
|
693
696
|
createVNode(unref(IconInfoCircle)),
|
|
694
|
-
createTextVNode(toDisplayString(tips.value[1]), 1)
|
|
697
|
+
createTextVNode(" " + toDisplayString(tips.value[1]), 1)
|
|
695
698
|
])) : createCommentVNode("v-if", true)
|
|
696
699
|
])) : createCommentVNode("v-if", true)
|
|
697
700
|
]),
|
package/es/index.css
CHANGED
|
@@ -326,49 +326,84 @@
|
|
|
326
326
|
text-overflow: ellipsis;
|
|
327
327
|
}
|
|
328
328
|
.column-selection-container {
|
|
329
|
-
padding:
|
|
329
|
+
padding: 0 15px;
|
|
330
330
|
}
|
|
331
|
-
.column-selection-popover-content {
|
|
332
|
-
|
|
331
|
+
.column-selection-popover-content .search-column {
|
|
332
|
+
margin-bottom: 4px;
|
|
333
|
+
padding: 4px 8px;
|
|
334
|
+
}
|
|
335
|
+
.column-selection-popover-content .last-search-key {
|
|
336
|
+
height: 32px;
|
|
337
|
+
margin-left: 22px;
|
|
338
|
+
padding-left: 4px;
|
|
339
|
+
color: #165dff;
|
|
340
|
+
line-height: 32px;
|
|
341
|
+
border-radius: var(--border-radius-small);
|
|
342
|
+
}
|
|
343
|
+
.column-selection-popover-content .last-search-key:hover {
|
|
344
|
+
color: var(--color-text-1);
|
|
345
|
+
background-color: var(--color-fill-2);
|
|
346
|
+
cursor: pointer;
|
|
333
347
|
}
|
|
334
348
|
.column-selection-popover-content .column-outer-scrollbar {
|
|
335
349
|
height: 100%;
|
|
336
350
|
}
|
|
337
351
|
.media-filter-container {
|
|
338
|
-
padding: 10px 15px;
|
|
339
352
|
display: flex;
|
|
340
353
|
align-items: center;
|
|
354
|
+
justify-content: space-between;
|
|
355
|
+
padding: 10px 20px;
|
|
341
356
|
}
|
|
342
357
|
.media-filter-container .filter-item {
|
|
343
358
|
width: auto;
|
|
344
359
|
}
|
|
360
|
+
.media-filter-container .reset-button {
|
|
361
|
+
width: 74px;
|
|
362
|
+
padding: 9px 12px;
|
|
363
|
+
font-size: 14px;
|
|
364
|
+
}
|
|
365
|
+
.media-filter-container .reset-button .reset-icon {
|
|
366
|
+
margin-right: 8px;
|
|
367
|
+
}
|
|
368
|
+
.media-filter-container .sort-button {
|
|
369
|
+
color: #4e5969;
|
|
370
|
+
}
|
|
371
|
+
.media-filter-container .sort-button .filter-item {
|
|
372
|
+
width: 102px;
|
|
373
|
+
}
|
|
374
|
+
.media-filter-container .sort-button .filter-item .arco-select-view-suffix {
|
|
375
|
+
padding-left: 0;
|
|
376
|
+
}
|
|
377
|
+
.media-filter-container .sort-button:hover {
|
|
378
|
+
cursor: pointer;
|
|
379
|
+
}
|
|
345
380
|
.selected-store-box-popover-content {
|
|
346
381
|
padding: 0;
|
|
347
382
|
}
|
|
348
383
|
.selected-store-box-popover-content .batch-section-popover-main .item {
|
|
349
|
-
height: 35px;
|
|
350
384
|
display: flex;
|
|
351
385
|
align-items: center;
|
|
352
386
|
justify-content: space-between;
|
|
353
|
-
padding: 5px 10px;
|
|
354
387
|
box-sizing: border-box;
|
|
388
|
+
height: 42px;
|
|
389
|
+
padding: 5px 10px;
|
|
355
390
|
}
|
|
356
391
|
.selected-store-box-popover-content .batch-section-popover-main .item .icon {
|
|
392
|
+
display: inline-block;
|
|
357
393
|
width: 20px;
|
|
358
394
|
height: 25px;
|
|
359
395
|
margin-right: 8px;
|
|
360
396
|
font-size: 18px;
|
|
361
|
-
vertical-align: middle;
|
|
362
|
-
display: inline-block;
|
|
363
397
|
text-align: center;
|
|
398
|
+
vertical-align: middle;
|
|
364
399
|
}
|
|
365
400
|
.selected-store-box-popover-content .batch-section-popover-main .item .left {
|
|
366
|
-
width: 90%;
|
|
367
401
|
display: inline-block;
|
|
368
402
|
align-items: center;
|
|
369
|
-
|
|
403
|
+
width: 90%;
|
|
370
404
|
overflow: hidden;
|
|
371
405
|
white-space: nowrap;
|
|
406
|
+
text-overflow: ellipsis;
|
|
372
407
|
}
|
|
373
408
|
.selected-store-box-popover-content .batch-section-popover-main .item .close-btn {
|
|
374
409
|
display: none;
|
|
@@ -385,12 +420,22 @@
|
|
|
385
420
|
display: flex;
|
|
386
421
|
align-items: center;
|
|
387
422
|
justify-content: flex-end;
|
|
423
|
+
height: 42px;
|
|
424
|
+
border-top: 1px solid #f2f3f5;
|
|
388
425
|
}
|
|
389
426
|
.view-all-column-container {
|
|
390
427
|
height: 100%;
|
|
391
428
|
}
|
|
392
429
|
.view-all-column-container .content-table-view {
|
|
393
430
|
height: calc(100% - 110px);
|
|
431
|
+
padding: 0 20px;
|
|
432
|
+
}
|
|
433
|
+
.view-all-column-container .content-table-view .arco-checkbox {
|
|
434
|
+
padding: 0;
|
|
435
|
+
}
|
|
436
|
+
.view-all-column-container .content-table-view .pic-thumb-img {
|
|
437
|
+
width: 60px;
|
|
438
|
+
height: 45px;
|
|
394
439
|
}
|
|
395
440
|
.view-all-column-container .content-table-view .title-span,
|
|
396
441
|
.view-all-column-container .content-table-view .mp_title-span {
|
|
@@ -526,11 +571,11 @@
|
|
|
526
571
|
width: 100%;
|
|
527
572
|
height: 100%;
|
|
528
573
|
overflow: hidden;
|
|
529
|
-
border: solid
|
|
574
|
+
border: solid 1px transparent;
|
|
530
575
|
border-radius: 4px;
|
|
531
576
|
}
|
|
532
577
|
.doc-ai-media-selected .arco-scrollbar .doc-ai-media-selected-scrollbar .thumb-list .thumb-wrap .thumb-item .pic.active {
|
|
533
|
-
border: solid
|
|
578
|
+
border: solid 1px #4886ff;
|
|
534
579
|
border-radius: 4px;
|
|
535
580
|
}
|
|
536
581
|
.doc-ai-media-selected .arco-scrollbar .doc-ai-media-selected-scrollbar .thumb-list .thumb-wrap .thumb-item .pic img {
|
|
@@ -555,6 +600,14 @@
|
|
|
555
600
|
width: auto;
|
|
556
601
|
margin-right: 10px;
|
|
557
602
|
}
|
|
603
|
+
.toolbar-search-container .top-container .filter-content .filter-right .arco-btn-size-medium.arco-btn-only-icon {
|
|
604
|
+
width: 48px;
|
|
605
|
+
color: #2f6ffb;
|
|
606
|
+
background-color: #e8f3ff;
|
|
607
|
+
}
|
|
608
|
+
.toolbar-search-container .top-container .filter-content .filter-right .arco-btn-size-medium.arco-btn-only-icon:hover {
|
|
609
|
+
background-color: #d3e6ff;
|
|
610
|
+
}
|
|
558
611
|
.keywordsSelection {
|
|
559
612
|
display: flex;
|
|
560
613
|
justify-content: space-between;
|
|
@@ -613,7 +666,7 @@
|
|
|
613
666
|
font-size: 0;
|
|
614
667
|
background: url('../assets/selection/folder.png') no-repeat 13px center;
|
|
615
668
|
background-size: 17px auto;
|
|
616
|
-
border: solid
|
|
669
|
+
border: solid 1px transparent;
|
|
617
670
|
border-radius: 4px;
|
|
618
671
|
}
|
|
619
672
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-item .wrap h4 {
|
|
@@ -640,13 +693,14 @@
|
|
|
640
693
|
padding: 14px 16px;
|
|
641
694
|
line-height: 24px;
|
|
642
695
|
background: #f7f8fa;
|
|
643
|
-
border: 1px solid
|
|
696
|
+
border: 1px solid transparent;
|
|
644
697
|
border-radius: 4px;
|
|
645
698
|
}
|
|
646
699
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .folder-list .folder-more-button .folder-more-wrap:hover {
|
|
647
700
|
color: #165dff;
|
|
648
701
|
background: #f2f3f5;
|
|
649
|
-
|
|
702
|
+
border: 1px solid #4886ff;
|
|
703
|
+
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
650
704
|
cursor: pointer;
|
|
651
705
|
}
|
|
652
706
|
.simple-resources .arco-scrollbar .dialog-media-selection-scroll .file-wrap .file-list {
|
|
@@ -970,6 +1024,127 @@
|
|
|
970
1024
|
color: #fff;
|
|
971
1025
|
font-size: 18px;
|
|
972
1026
|
}
|
|
1027
|
+
.sys-resource-dialog {
|
|
1028
|
+
padding: 10px 20px;
|
|
1029
|
+
}
|
|
1030
|
+
.sys-resource-dialog .scen-module {
|
|
1031
|
+
margin-bottom: 20px;
|
|
1032
|
+
}
|
|
1033
|
+
.sys-resource-dialog .scen-module .title {
|
|
1034
|
+
display: flex;
|
|
1035
|
+
gap: 8px;
|
|
1036
|
+
align-items: center;
|
|
1037
|
+
margin-bottom: 12px;
|
|
1038
|
+
font-size: 14px;
|
|
1039
|
+
}
|
|
1040
|
+
.sys-resource-dialog .scen-module .title .line {
|
|
1041
|
+
width: 2px;
|
|
1042
|
+
height: 14px;
|
|
1043
|
+
background-color: #4886ff;
|
|
1044
|
+
}
|
|
1045
|
+
.sys-resource-dialog .null-file {
|
|
1046
|
+
display: flex;
|
|
1047
|
+
flex-direction: column;
|
|
1048
|
+
justify-content: center;
|
|
1049
|
+
height: 300px;
|
|
1050
|
+
}
|
|
1051
|
+
.sys-resource-dialog .null-file .null-pic {
|
|
1052
|
+
display: block;
|
|
1053
|
+
width: 10%;
|
|
1054
|
+
margin: 20px auto;
|
|
1055
|
+
}
|
|
1056
|
+
.sys-resource-dialog .null-file p {
|
|
1057
|
+
color: #a2a3a7;
|
|
1058
|
+
font-size: 14px;
|
|
1059
|
+
text-align: center;
|
|
1060
|
+
}
|
|
1061
|
+
.sysfile-filter-container {
|
|
1062
|
+
padding: 12px 0;
|
|
1063
|
+
}
|
|
1064
|
+
.sys-res-file-list {
|
|
1065
|
+
display: flex;
|
|
1066
|
+
flex-wrap: wrap;
|
|
1067
|
+
gap: 20px;
|
|
1068
|
+
}
|
|
1069
|
+
.sys-res-file-list .item-load-more {
|
|
1070
|
+
display: flex;
|
|
1071
|
+
flex-direction: column;
|
|
1072
|
+
gap: 10px;
|
|
1073
|
+
align-items: center;
|
|
1074
|
+
justify-content: center;
|
|
1075
|
+
color: #9a9a9a;
|
|
1076
|
+
font-size: 12px;
|
|
1077
|
+
cursor: pointer;
|
|
1078
|
+
}
|
|
1079
|
+
.sys-res-file-list .item-load-more img {
|
|
1080
|
+
width: 72px;
|
|
1081
|
+
}
|
|
1082
|
+
.sys-res-file-list .item {
|
|
1083
|
+
position: relative;
|
|
1084
|
+
width: calc(20% - 20px);
|
|
1085
|
+
overflow: hidden;
|
|
1086
|
+
cursor: pointer;
|
|
1087
|
+
}
|
|
1088
|
+
.sys-res-file-list .item .move-action {
|
|
1089
|
+
opacity: 0.5;
|
|
1090
|
+
}
|
|
1091
|
+
.sys-res-file-list .item .shadow-wrap {
|
|
1092
|
+
position: relative;
|
|
1093
|
+
overflow: hidden;
|
|
1094
|
+
background: #fff;
|
|
1095
|
+
border: 1px solid #ebeef5;
|
|
1096
|
+
border-radius: 4px;
|
|
1097
|
+
}
|
|
1098
|
+
.sys-res-file-list .item .shadow-wrap:hover {
|
|
1099
|
+
border: 1px solid #4886ff;
|
|
1100
|
+
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
|
|
1101
|
+
}
|
|
1102
|
+
.sys-res-file-list .item .shadow-wrap .thumb-wrap {
|
|
1103
|
+
position: relative;
|
|
1104
|
+
width: 100%;
|
|
1105
|
+
background: url('../assets/selection/picBg.png');
|
|
1106
|
+
}
|
|
1107
|
+
.sys-res-file-list .item .shadow-wrap h4,
|
|
1108
|
+
.sys-res-file-list .item .shadow-wrap p {
|
|
1109
|
+
margin-top: 4px;
|
|
1110
|
+
margin-bottom: 2px;
|
|
1111
|
+
padding: 0 10px;
|
|
1112
|
+
overflow: hidden;
|
|
1113
|
+
color: rgba(0, 0, 0, 0.85);
|
|
1114
|
+
font-size: 14px;
|
|
1115
|
+
white-space: nowrap;
|
|
1116
|
+
text-overflow: ellipsis;
|
|
1117
|
+
word-wrap: normal;
|
|
1118
|
+
}
|
|
1119
|
+
.sys-res-file-list .item .shadow-wrap h4 i,
|
|
1120
|
+
.sys-res-file-list .item .shadow-wrap p i,
|
|
1121
|
+
.sys-res-file-list .item .shadow-wrap h4 svg,
|
|
1122
|
+
.sys-res-file-list .item .shadow-wrap p svg {
|
|
1123
|
+
margin-right: 4px;
|
|
1124
|
+
color: #e75258;
|
|
1125
|
+
font-size: 16px;
|
|
1126
|
+
vertical-align: middle;
|
|
1127
|
+
}
|
|
1128
|
+
.sys-res-file-list .item .shadow-wrap h4 svg,
|
|
1129
|
+
.sys-res-file-list .item .shadow-wrap p svg {
|
|
1130
|
+
margin-right: 4px;
|
|
1131
|
+
font-size: 16px;
|
|
1132
|
+
vertical-align: middle;
|
|
1133
|
+
}
|
|
1134
|
+
.sys-res-file-list .item .shadow-wrap h4 span,
|
|
1135
|
+
.sys-res-file-list .item .shadow-wrap p span {
|
|
1136
|
+
vertical-align: middle;
|
|
1137
|
+
}
|
|
1138
|
+
.sys-res-file-list .item .shadow-wrap p {
|
|
1139
|
+
margin-bottom: 4px;
|
|
1140
|
+
font-weight: normal;
|
|
1141
|
+
font-size: 12px;
|
|
1142
|
+
line-height: 1em;
|
|
1143
|
+
opacity: 0.65;
|
|
1144
|
+
}
|
|
1145
|
+
.sys-res-file-list::after {
|
|
1146
|
+
height: 50px;
|
|
1147
|
+
}
|
|
973
1148
|
.select-resources-modal-wrapper .arco-modal-header {
|
|
974
1149
|
border-bottom: none;
|
|
975
1150
|
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAYAAADnRuK4AAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABReSURBVHgB7V1rctvGlj4ARIp62BKj2LFdd8pU1dya8f0xUVZw5RVMsoLYK7CzgtgrSLyCK68gyQqsHViZqqnM3D+ia1JxLD9IPSiSIIme8zXYEggCIECCBEj2V0WbIkECRH845zuPbhi0ZDg+rm0XClSxirRHPaqYlnlfCLHNb1X4sd3frBLy8ar813D/N8ioOj3nDVn8N7/WuqCj3d1ynZYIBi0wQJbSBn0tHNozTeNL/rF7QlyRZCowDKoLoiPHEb8Kgw5Nh47u3i1XaUGxUAQCYYrrtG8I2jcN4z8p3JLMGkeGYRx1hfOLfUmHi2Sl5p5AIM3aGj0ikwnDxKF5AFsm0RMv+dnhvFunuSSQsjSWYTyZG9KEoU8mJtIBzSHmikBv39Yq5or5LQnxdNpaJgNU2c0dsih/Pk9WaS4IxMTZNyzj+7m3NjHBRDpwDOfl3VvlQ8o5ck2gZSPOEODeDPE8z0TKJYGWnjh+uDrpcR5dW64I5Goc4wfO23xNGkOQri1nGik3BHr3/vT7BRXHqcMwjWdf3Np6TjlA5gSS7so0/kH5SfrNC6rCEQ+ztkYmZQTkcv48Of2ByfOKNHnGQYXP3bG03BkiEwsErcN1op+53PAlaaSBzKzRzC3QycnpE9MyXmvypIoKl3Je//Fn7SnNGDO1QHBZEMqkMTWYpvHj7Vtb39GMMBMCaZc1cxyxS/tmFi5t6gQCebRQzgQz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ePt2+YhSQKqj9fq/fnvElPiH/3VYnLiTA1UTGiIJq3/PLo30IBzxOGh6zrhI/XL3kgjWBL0ok7gst4q8IkPQ4oRLuS070iYPkPqMva/+48EBV3Mfq+VGJtU77koePbkYgybP+JgGeYCpjchvvx0/EqbxgxGiieJAtseuro6caakRjr5g/m4a5JHfT1PEf//zeM8QxqskJHLdnsWFwZKeEz8h0hbMgfugKYMtUYVDLkRnlbBt1Bo40DiWjsTSQpXd1sM0QvUozGSkQCLDMn5iObN3Fa6DNP3Zk5ow6QIZZiQJp00eYKYj98cfH380LesJaUwNTJ4XXJ4Yu7aVFDNdN+XevZ2nEHRGyH1aNcaHFMtCfDdL8sj9UgZ4+7ZWMUboIo34mKXL8iOTlZvwQ+98sb3LIi/W1BGNcMBltZu0nwV5gMzVq7ZGY6PaTw4eUobITfjDRHrGRPqeNCLRTwy+YOI8oxwgV/EzrBE71WdcS/uWNIaAKeaOI7PKVcoJcpmAkW7N4oKsuL6L4lJD0CHXBJ9n7a6CkOsMHhNpn4n0/dISKcfEUZiLFDCIxK7t0dK4tjkgjsJc1RA8GunvtGBRmxLH/PQgTxpnFOa2CMVkesTu7du5d29sbXqGeGFf4i445bnL0M99FVNaJaL9uSKTwLKB4pdmkw7mkTReLFQZ/Pi4tl1cp31Or39tkvGlIJpozlOKqOKWorgr5LxamjAsdB8FrJNj0h7XifZN0/iSf+yeEON3SMYBtIxw6Mghrk+ZdNRq0M+LRBg/lq4RB1aqVGLLZLEI71HFNM37whAV+aa4EuaVkI9X8Y/hLvfHz4264zhv+LuqFtFRo0HVRSZLEP4fk2v7Crb/X/wAAAAASUVORK5CYII=";
|
|
2
|
+
export { _imports_0 as default };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx, createTextVNode, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, inject, provide, ref, computed, openBlock, createBlock, unref, withCtx, createTextVNode, createVNode } from "vue";
|
|
2
2
|
import { Modal } from "@arco-design/web-vue";
|
|
3
3
|
import { DEFAULT_BASE_API } from "../config.js";
|
|
4
4
|
import _sfc_main$1 from "./components/MediaSelection/index.js";
|
|
5
|
+
import { mediaUseEnum } from "./script/mediaSelection.js";
|
|
5
6
|
const _sfc_main = defineComponent({
|
|
6
7
|
...{ name: "resourceModal" },
|
|
7
8
|
__name: "component",
|
|
@@ -11,11 +12,17 @@ const _sfc_main = defineComponent({
|
|
|
11
12
|
ai_static_covers: {},
|
|
12
13
|
ai_gif_covers: {},
|
|
13
14
|
preview: { type: Boolean },
|
|
14
|
-
base_api: {}
|
|
15
|
+
base_api: {},
|
|
16
|
+
mediaUseType: {}
|
|
15
17
|
},
|
|
16
18
|
emits: ["update:dialogVisible", "submit"],
|
|
17
19
|
setup(__props, { emit: __emit }) {
|
|
18
20
|
const props = __props;
|
|
21
|
+
const injectMediaUseType = inject("mediaUseType");
|
|
22
|
+
if (!injectMediaUseType && props.mediaUseType) {
|
|
23
|
+
provide("mediaUseType", props.mediaUseType || mediaUseEnum.THUMB);
|
|
24
|
+
}
|
|
25
|
+
provide("baseAPI", props.base_api || DEFAULT_BASE_API);
|
|
19
26
|
const BASE_API = props.base_api || DEFAULT_BASE_API;
|
|
20
27
|
const selectedMax = ref(1);
|
|
21
28
|
const emit = __emit;
|